﻿:root {
  --primary-color: #1B253B;
  --accent-color: #FDE1A9;
  --text-color: #333;
  --light-bg: #f7f7f7;
   --bg-color: #1B253B;    /* Background color when hovered */
  --main-color: #FDE1A9;  /* Default button background */
  --swiper-theme-color: #ffbc00 !important;
  
  
   --swiper-theme-color: #ffbc00 !important;
    --main1:#6c2529;
    --main2:#9d382d;
    --yellowme:#e5b70d;
    --darkgray:#742134;
    --heading1:#461f1f;
    --linearcolor:#e6b794;
    --linearcolor2:#9f6358;
    
  --navy: #0a1628;
  --navy2: #162844;
  --gold: #c8963e;
  --gold2: #f0b860;
  --light: #f8f6f1;
  --white: #ffffff;
  --muted: #6b7280;
  --red: #e63946;
  --teal: #0d9488;
  --grad: linear-gradient(135deg, #0a1628 0%, #1e3a5f 100%);
  
  --gradient-color:linear-gradient(90deg, #0B1D71 20%, #1855e4 48%, #0B1D71 80%);
  --gradient-color2:linear-gradient(90deg, #0B1D71 0%, #1855e4 100%);
}

a
{
    text-decoration:none;
}

h1, h2, h3, h4, h5, h6
{
    
}

/* ===================== NEWS MARQUEE ===================== */
.news-marquee-bar {
 /* background: linear-gradient(90deg, var(--darkgray) 0%, var(--main2) 100%); */
 background:linear-gradient(90deg, #0007e4 0%, #2e6ffc 100%);
  padding: 10px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 2px solid var(--gold);
}
.news-label {
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
  padding-right: 24px;
  margin-right: 16px;
}
/*
.marquee-track {
  display: flex;
  animation: marqueeScroll 15s linear infinite;
  white-space: nowrap;
}
*/

.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-right: 25px; /* spacing between notices */
  white-space: nowrap;
}

.dot {
  width: 6px;
  height: 6px;
  background: gold;
  border-radius: 50%;
}

.marquee-item span { color: var(--gold2); font-weight: 500; }
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/*========= NEW And Notice Section Style END =========*/

/**========== Highlights Style ==========**/
.notice-board-wrapper {
    display: flex;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
   /* border-radius: 12px; */
    overflow: hidden;
    margin: 30px 0;
}

/* LEFT SIDE */
.notice-left {
    /*background: linear-gradient(135deg, #e87c20, #55aac1); */
    background:#f9fbff !important;
    color: #fff;
    padding: 30px 20px;
    /*width: 220px; */
    width:380px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.notice-icon {
    font-size: 80px;
    margin-bottom: 10px;
}

.notice-left h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.highlight-text {
    font-size: 14px;
    opacity: 0.9;
}

/* RIGHT SIDE */
.notice-right {
    flex: 1;
    padding: 20px;
    background: #f9fbff;
}

/* SCROLL AREA */
.notice-scroll {
    height: 450px;
    overflow: hidden;
    position: relative;
}

@media(max-width:768px)
{
    .notice-scroll
    {
        height: 300px !important;
    }
}

/* NOTICE ITEM */
.notice-item {
    padding: 12px 15px;
    border-bottom: 1px dashed #e5e5e5;
    transition: 0.3s;
}

.notice-item:hover {
    background: #eef4ff;
    transform: translateX(5px);
}

.notice-date {
    font-size: 13px;
    font-weight: 600;
    color: #004aad;
    margin-bottom: 5px;
}

.notice-text {
    font-size: 14px;
    color: #333;
}


@media (max-width: 768px) {
    .notice-board-wrapper {
        flex-direction: column;
    }

    .notice-left {
        width: 100%;
    }
}
/**========= Highlights Style END ===========**/


/*========= Main Header Style ==============*/
.header {
    width: 100%;
    background: transparent;
    padding:10px 0;
    box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.22);
   /* position: absolute; */
    z-index: 11;
    top: 0;
    transition: all 300ms ease-in-out;
}
.mainHeader {
    display: flex;
    justify-content: space-between;
}
.logo {
    width: 450px !important;
    position: relative;
    min-height: 1px;
    transition: all 300ms ease-in-out;
}

.navi {
    position: relative;
    right:35px;
    display: flex;
    z-index: 2;
}
.navi ul {
    margin-bottom: 0;
    display: flex;
}
@media (min-width: 992px) {
    .d-lg-flex {
        display: flex !important;
    }
}
.list-inline {
    padding-left: 0;
    list-style: none;
}
.navi ul li a {
    height: 100%;
    color: #000;
    font: 16px var(--font-bold);
    text-transform: uppercase;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: .5rem;
    transition: all 300ms ease-in-out;
}

/*========= Main Header Style END ==============*/



/* ----------------------------
   Top Bar
-----------------------------*/
.top-bar {
  background-color: var(--darkgray);
  color: #fff;
  font-size: 14px;
  padding: 6px 0;
}
.top-bar .social-icons
{
    display:none;
}
.top-bar .contact-info span {
  margin-right: 20px;
}
.top-bar .social-icons a {
  color: #fff;
  margin-left: 10px;
  transition: 0.3s;
}
.top-bar .social-icons a:hover {
  color: #1e1e60;
}

@media(max-width:768px)
{
    .top-bar .social-icons
    {
        display:block;
    }
    .header-right .header-social
    {
        display:none;
    }
}

/* ----------------------------
   Header Area
-----------------------------*/
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1000;
 /* box-shadow: 0 2px 6px rgba(0,0,0,0.1); */
}
.logoArea img {
  max-height: 70px;
}

/* ----------------------------
   Menu Bar
-----------------------------*/

/* ============================
   Header Layout with Icons Above Menu
=============================*/
.header-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 10px 0;
}

/* Right side container (icons + menu) */
.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* Social Icons above menu */
.header-social {
  display: flex;
  gap: 12px;
  margin-bottom: 5px;
}

.header-social a {
  color: #000;
  font-size: 18px;
  transition: 0.3s;
}

.header-social a:hover {
  color: #ef7f1a;
}

/* Menu styling same as before */
.menu-bar {
  position: relative;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ============================
   Responsive Adjustments
=============================*/
@media (max-width: 991px) {
  .header-main {
    flex-direction: column;
    align-items: center;
  }

  .header-right {
    align-items: center;
    width: 100%;
  }

  .header-social {
    justify-content: center;
    margin-bottom: 10px;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
  }
}

/*======== Navbar Menu Style ========*/
.menu-bar {
    border-top: 1px solid #9f6358;
    padding: 0 20px;
    position: relative;
}
.nav-links .nav_item {
    position: relative;
}

@media(max-width:768px)
{
    .menu-bar
    {
        margin:0;
    }
    
    .school-header .admd
    {
        display:none;
    }
}

.logo {
  color: white;
  font-size: 22px;
  padding: 15px 0;
}

.toggle-btn {
  color: Black;
  font-size: 24px;
  display: none;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

.nav-links li {
  position: relative;
}

.nav-links li a {
  display: block;
  padding: 12px 20px; 
  color: white;
  text-decoration: none;
  position: relative;
}



.nav-links li a:hover,
.nav-links .nav_item:hover > a {
  color: #07134c; /* Gold on hover */
}

.nav-links li a.dropdown::after,
.nav-links .nav_item:hover > a::after {
  background-color: #07134c; /* Golden hover underline */
}

.active,
.nav-links li:hover {
  background-color: #eab04e; /* Brighter blue for active item */
}

/* Submenu links hover */
.sub_menu-1 ul li a:hover {
  color: #ffd700; /* Golden text on hover */
  background-color: ; /* Lighter version of submenu bg */
}

/* Submenu indicator arrow on hover */
.hover_me:hover > a > i.fa-angle-right {
  transform: translateX(4px);
  color: #ffd700;
}

.nav-links li a i {
  margin-right: 8px;
}

.nav-links li a.dropdown::after {
  content: "";
  position: absolute;
  height: 3px;
  width: 0;
  background-color: #1c275a;
  bottom: 0px;
  left: 0;
  transition: width 0.3s ease;
}

/*  */
.sub_menu-1 ul li a
{
  color:#fff !important;
  padding:12px 9px;
  text-decoration: none;
  position: relative;
}
.sub_menu-1 ul li a:hover
{
    color:#000 !important;
}
.nav-links .nav_item a 
{
    font-size:16px !important;
  display: block;
  /*padding: 12px 15px; */
  padding:12px 9px;
  color: #000;
  text-decoration: none;
  position: relative;
}

.nav-links .nav_item a::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0%;
  width: 0;
  height: 3px;
  background-color: #1c275a;
  transition: width 0.3s ease;
}

.nav-links .nav_item:hover > a::after {
  width: 100%;
}

/*  */
@media(max-width:1000px)
{
    .menu-bar .nav-links .nav_item .contactmenu
    {
        width:150px !important;
    }
}

@media (min-width: 1200px) {
    /*.nav-links {
       padding-left: 180px;
    }*/
      /*  .nav-links {
        padding-left: 0;
        padding-right: 45px;
    } */
     .nav-links {
        padding-left: 0;
        padding-right: 71px;
    }
}

.nav-links li:hover > a.dropdown::after {
  width: 100%;
}

/* Submenu 1 */
/* dropdown */
.sub_menu-1 {
    display: block;
    position: absolute;
    top: 79%;
    left: 0;
    background: #001e74;
    max-width: 230px;
    border-radius:0px !important;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition: all 0.3s ease;
}

/* hover */
.nav-links .nav_item:hover > .sub_menu-1 {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub_menu-1::before{
    content:'';
    position:absolute;
    top:-10px;
    left:0;
    width:100%;
    height:10px;
}

.sub_menu-1 ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sub_menu-1 ul li {
  padding: 5px 0;
  border-bottom: 1px dotted #fff;
}


.sub_menu-1 ul li:last-child {
  border-bottom: none;
}

.sub_menu-1 ul li a {
  display: block;
  padding: 18px 20px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap; /* ✅ prevents text wrapping */
}
/*.sub_menu-1 ul li a {
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
*/

.sub_menu-1 ul li a:hover {
  background-color: #e3a72f;
  color: #fff;
}

/* Submenu arrow (optional) */
.sub_menu-1 ul li i.fa-angle-right {
  float: right;
  margin-top: 4px;
  font-size: 12px;
  transition: transform 0.3s ease;
}

.hover_me:hover > a > i.fa-angle-right {
  transform: translateX(4px);
}


/* Submenu 2 */
.sub_menu-2 {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background: rgb(0, 100, 0);
  min-width: 220px;
}


.sub_menu-1 ul li a
{
    padding: 1px 20px !important;
}


.hover_me:hover .sub_menu-2 {
  display: block;
}

.sub_menu-2 ul li {
  padding: 7px 15px;
  border-bottom: 1px dotted #fff;
}

.sub_menu-2 ul li:last-child {
  border-bottom: none;
}

.sub_menu-2 ul li a {
  color: white;
}

.sub_menu-2 ul li a:hover {
  color: #b2ff00;
}

/* Arrow Styling */
.sub_menu-1 ul li i.fa-angle-right {
  margin-left: 10px;
  font-size: 13px;
  transition: transform 0.3s ease;
}



/* Responsive */
@media (max-width: 768px) {
  .toggle-btn {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #efba41;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: left;
  }
  
  .sub_menu-1 {
    position: static;
    background:#db9800;
    box-shadow: none;
  }
  
   .sub_menu-1 ul li a {
    padding-left: 30px;
  }
  
  .sub_menu-1:hover
  {
      border-left:1px solid #fff;
  }

  .sub_menu-1,
  .sub_menu-2 {
    position: static;
  }

  .hover_me:hover .sub_menu-2 {
    position: static;
  }
  
  .menu-bar 
  {
      top:0;
  }
  
  .logoArea img 
  {
     max-height: 60px;
  }
  
}

@media (max-width:768px){

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #efba41;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links .nav_item {
        width: 100%;
        position: relative;
    }

    .nav-links .nav_item a 
    {
        font-size:16px !important;
        padding: 14px 18px;
        width: 100%;
        display: block;
    }

    /* MOBILE DROPDOWN FIX */
    .sub_menu-1 {

        position: static !important;

        width: 100%;

        opacity: 1 !important;
        visibility: visible !important;

        transform: none !important;

        display: none;

        background: #d89d21;

        box-shadow: none;

        min-width: 100%;
    }

    /* OPEN DROPDOWN */
    .nav-links .nav_item.active .sub_menu-1 {
        display: block;
    }

    .sub_menu-1 ul li a {
        padding-left: 35px !important;
        font-size: 15px !important;
    }

}
/*========= Navbar Menu Style END ==========*/

/*========= Home Slider Style ===========*/
 .swiper-slide img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
     /* Stylish navigation buttons */
  .swiper-button-next,
  .swiper-button-prev {
    color: #fff;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
  }

  /* Hover effect */
  .swiper-button-next:hover,
  .swiper-button-prev:hover {
    background: linear-gradient(135deg, #f2e69a,#f2e69a);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(242, 230, 154, 0.8);
    color:#000;
  }

  /* Arrow icon customization */
  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
  }
  
/*========= Home Slider Style END ============*/

/*========= Home Page School About Style ============*/
.position-relative {
    z-index: 1;
}
.padding
{
    padding: 5rem 0;
}
.overflow-hidden {
    overflow: hidden !important;
}
.HomeAbout_sec
{
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}
.HomeAbout_sec:after
{
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 540px;
    background: url(../IMAGES/SketchImg.jpg) center 0% / cover no-repeat;
    opacity: 0.2;
    z-index: -1;
}
.MKPS_Head {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    opacity: 1;
}
.headingTitle
{
    display: table;
    margin-bottom: 3rem;
}
.mKPS-5
{
    font-size:1.25rem;
}
/*========= Home Page School About Style END ============*/

/*========= Motto And Event With Youtube Style ============*/
.mottoeventyt
{
    /*background:#0C207C; */
    background: var( --gradient-color2);
    
}

/* Section Base */
.school-moto-section {
  width: 100%;
  padding: 100px 0;
  overflow: hidden;
}

.school-bg {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.school-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.school-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

/* Left Content */
.school-text {
  flex: 1;
  min-width: 300px;
  animation: slideInLeft 1s ease-in-out;
}

.school-text h1 {
  font-size: 2.6rem;
  color: #fff;
  margin: 15px 0;
}

.school-text .highlight {
  color: #fff;
}

.school-text p {
  color: #ffffff;
  line-height: 1.7;
  font-size: 1rem;
}

.stat-card {
    min-height: 170px;          /* sab box same height */
    display: flex;
    flex-direction: column;
    justify-content: center;    /* vertical center */
    align-items: center;        /* horizontal center */
    border-radius: 20px;
}


.school-features {
  display: flex;
  gap: 20px;
  margin: 30px 0;
}

.feature-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Right Side Video */
.school-video {
  flex: 1;
  min-width: 300px;
  text-align: center;
  animation: slideInRight 1s ease-in-out;
}

.video-wrapper {
  position: relative;
  display: inline-block;
}

.video-thumb {
  border-radius: 10px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Play Button with Wave Animation */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ff5091;
  color: var(--primary-color);
  font-size: 28px;
  border-radius: 50%;
  padding: 24px 24px;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Wave Animation */
.wave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  background: rgba(253, 225, 169, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  animation: wavePulse 2.5s infinite ease-out;
  z-index: 1;
}

.wave.delay1 {
  animation-delay: 0.6s;
}
.wave.delay2 {
  animation-delay: 1.2s;
}

@keyframes wavePulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.4);
    opacity: 0;
  }
}

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 70px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
}

.modal-content {
  margin: auto;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content iframe {
  border: none;
  border-radius: 10px;
  width: 90%;
  max-width: 900px;
  height: 500px;
}

.close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

/* Animations */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

.stat-card
{
    border: 1px solid #ffff;
    padding: 7px !important;
    border-radius: 28px;
}
/*========= Motto And Event With Youtube Style END ============*/



/* Infrastructure */
/* ========== Base Section Styling ========== */
.infrastructure-section {
  background: url(../images/abt-bg.png) center/cover no-repeat;
  position: relative;
  z-index: 1;
}

.infra-heading h2 {
  font-weight: 700;
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

.infra-heading h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--theme-color, #0078d7);
  margin: 12px auto 0;
  border-radius: 2px;
}

.infra-heading p {
  margin: 15px 0 25px;
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
}

.infra-btn {
  background: var(--theme-color, #0078d7);
  color: #fff;
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.infra-btn:hover {
  background: #005fa3;
}

/* ========== Cube Grid ========== */
.infra-grid {
  margin-top: 40px;
}

.infra-card {
  display: flex;
  justify-content: center;
  align-items: center;
}

.infra-cube {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.infra-cube img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures image fills cube properly */
  transition: transform 0.6s ease;
}

.infra-cube:hover img {
  transform: scale(1.1); /* zoom effect */
}

.infra-cube p {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: #fff;
  font-weight: 600;
  margin: 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  z-index: 10;
  transition: all 0.3s ease;
}

.infra-cube::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 60%, rgba(0, 0, 0, 0.5));
  z-index: 5;
}

/* Hover shadow lift */
.infra-cube:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .infra-heading h2 {
    font-size: 2rem;
  }
  .infra-cube p {
    font-size: 0.9rem;
  }
}
/* ========== Infrastructure END========== */

/* ========== Home Principal Style ========== */
.principal-section {
  width: 100%;
  padding: 60px 0;
}

.principal-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.principal-content .principal-box {
  position: relative;
  background: #fff;
  padding: 20px;
}

.principal-content .principal-box::before {
  content: "\f10d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12rem;
  color: rgba(0, 0, 0, 0.05);
  position: absolute;
  left: -10px;
  top: -40px;
  z-index: 0;
}

.principal-content h4 {
  position: relative;
  z-index: 1;
}

.principal-content p {
  position: relative;
  z-index: 1;
  color: #444;
  line-height: 1.7;
}

.btn-primary {
  background-color: #0d6efd;
  border: none;
}

.btn-primary:hover {
  background-color: #0b5ed7;
}


/* ========== Home Principal Style END========== */

/*========= Academic Section START =========*/

#gallery {
  background:#f6efd1; 
   background: linear-gradient(135deg, #fffb8245, #004080ed); 
   background:url(../IMAGES/pattern.png);
  padding: 80px 0;
  color: #fff;
  position: relative;
}

.owl-carousel .item {
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease;
}

.owl-carousel .item:hover {
  transform: scale(1.03);
}

.owl-carousel .item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  
}

.owl-prev-btn,
.owl-next-btn {
  border: 1px solid #000;
  background: rgba(255, 255, 255, 0.1);
  color: #000;
  transition: 0.3s;
}

.owl-prev-btn:hover,
.owl-next-btn:hover {
  background: #fff;
  color: #001f3f;
}

.owl-dots {
  margin-top: 20px;
}

.owl-dot span {
  width: 12px;
  height: 12px;
  background: #ddd !important;
  border-radius: 50%;
  transition: 0.3s;
}

.owl-dot.active span {
  background: #f9b208 !important;
  transform: scale(1.2);
}


/**===+++++++=== Gallery for Home Style  ===++++++===**/
.gallery-card {
    width: 100%;
    padding: 10px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.gallery-img {
    position: relative;
    overflow: hidden;
} 


.gallery-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.4s;
    border-radius: 12px;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(255,193,7,0.95), transparent);
    color: #000;
    transition: 0.4s;
}

.gallery-overlay h5 {
    margin: 0;
    font-weight: bold;
}

.gallery-overlay span {
    font-size: 13px;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-card:hover .gallery-overlay {
    background: linear-gradient(to top, rgba(255,193,7,1), transparent);
}




/* ===============================
   GALLERY SECTION STYLING
=================================*/

/* Owl Nav Buttons */
.gallery-owl .owl-nav {
    position: absolute;
    top: 40%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.gallery-owl .owl-nav button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #ffc107 !important;
    color: #000 !important;
    font-size: 22px !important;
    border: none !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: 0.3s ease;
    pointer-events: all;
}

.gallery-owl .owl-nav button:hover {
    background: #0d2c6c !important;
    color: #fff !important;
    transform: scale(1.1);
}

/* Hide default dots */
.gallery-owl .owl-dots {
    display: none;
}

/* VIEW ALL Button */
.btn-theme-warning {
    background: linear-gradient(to right, #ffc107, #ffb300);
    border: none;
    padding: 8px 25px;
    font-weight: 600;
    border-radius: 25px;
    transition: 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.btn-theme-warning:hover {
    background: #0d2c6c;
    color: #fff !important;
    transform: translateY(-3px);
}

/* Gallery Card Hover Effect */
.gallery-card {
    overflow: hidden;
    border-radius: 10px;
}

.gallery-img {
    position: relative;
    overflow: hidden;
}

.gallery-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.5s ease;
}

.gallery-img:hover img {
    transform: scale(1.1);
}

/* Overlay */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px;
    /*background: linear-gradient(to top, #ffc107, rgba(255,193,7,0.1));*/
    color: #000;
}

.gallery-overlay h5 {
    margin: 0;
    font-weight: 600;
}

.gallery-overlay span {
    font-size: 14px;
}


.gallery-owl .owl-stage {
    display: flex;
    transition-timing-function: linear !important;
}

.gallery-owl .owl-item {
    transition: transform 0s !important;
}

/**===+++++++=== Gallery for Home Style END ===++++++===**/

/*========= Academic Section END =========*/

/* Read More Button */
.read_more {
  background: #fecc00;
  color: #000;
  padding: 4px 23px 4px 20px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  line-height: 32px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  font-weight: 500;
  font-size: 15px;
  min-width: 160px;
  transition: color 0.3s ease;
}

.read_more::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  background: #015c39;
  z-index: -1;
  transition: height 0.4s ease-in-out;
  border-radius: 45px;
}

.read_more:hover::after {
  height: 100%;
}

.read_more:hover {
  color: #fff;
}

/* Icon Circle */
.mpms_btn {
  width: 33px;
  height: 33px;
  background: #d3aa00;
  border-radius: 50%;
  margin-left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Arrow Icon Animation */
.arrow-icon {
  color: #fff;
  font-size: 14px;
  animation: bounceArrow 1.2s infinite;
}

@keyframes bounceArrow {
  0% { transform: translateX(0); opacity: 1; }
  50% { transform: translateX(5px); opacity: 0.6; }
  100% { transform: translateX(0); opacity: 1; }
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
  .desk-card {
    align-items: center !important;
    text-align: center;
  }

  .desk-img {
    margin-right: 0 !important;
  }

  .desk-content {
    text-align: center;
  }
}

/**==== Director & Principal Desk Style END ====**/

/**======== Read More Button Style ===========**/
.readmore-btn {
    position: relative;
    display: inline-block;
    padding: 5px 5px;
    font-size: 17px;
    font-weight: bold;
    text-decoration: none;
   /* background: #fde1a9; */
   border:3px solid #ffca00 !important; 
   border-radius:29px;
    color: #000;
    overflow: hidden;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1;
}

.readmore-btn::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 0%;
  background: #ffca00;
  transition: 0.3s ease-in-out;
  z-index: 0;
}

.readmore-btn:hover::after {
  height: 93%;
}

.readmore-btn .description {
  position: relative;
  z-index: 2;
}

.readmore-btn:hover .description {
  animation: fadeInColor 0.4s ease-in forwards;
}

@keyframes fadeInColor {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    color: #fff;
  }
}

/* Arrow hover animation */
.readmore-btn i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.readmore-btn:hover i {
  transform: translateX(6px);
}

/**======== Read More Button Style END ===========**/

/**** Edu Category Style ****/
  .cont {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    padding: 6px;
}

.card_imtem
{
    background-color: #ffffff00;
}

.card {
  position: relative;
  width: 316px !important;
  height: 313px !important;
  border: 1px solid rgba(0, 0, 0, .125);
  border-radius:90px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.03);
}

.card .content {
  position: relative;
  width: 100%;
  height: 100%;
}

.card .front img {
  width: 100%;
  height: auto;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.card .front h2 {
  background-color: #000000aa;
  color: white !important;
  font-size: 16px;
  line-height: 2.1;
  font-weight: 500;
  height: 38px;
  margin-top: -9px;
  position: relative;
  z-index: 9;
  top: -31px;
  text-align: center;
}

.card:hover .front h2 {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}


.card .back {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color:rgba(23,83,225,0.8) !important;
  color: white;
  transition: top 0.5s ease;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.card:hover .back {
  top: 0;
}

.back.from-bottom h2 {
  padding-top: 60px;
  font-size: 22px;
  margin-bottom: 10px;
}

.back.from-bottom .des {
  font-size: 16px;
  line-height: 26px;
  padding: 10px 0;
  color:#fff;
}

.hoverbutton {
  background-color: #fff;
  color: #000;
  padding: 10px 26px;
  font-size: 16px;
  border-radius: 5px;
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.hoverbutton:hover {
  background-color: #974377;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .card {
        width: 100% !important;
        height: 319px !important;
        position: relative;
        border: 1px solid rgba(0, 0, 0, .125);
        border-radius: 90px;
  }
}

@media (max-width: 768px) {
    .cont {
        display: block !important;
    }

    .card {
        width: 100% !important;
    }
}
/**** Edu Category END ****/


/**=== Button Style ===**/
.read_more {
    background: #1e1e60;
    color: #fff;
    padding: 4px 23px 4px 20px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    line-height: 32px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-weight: 500;
    font-size: 15px;
    min-width: 160px;
    transition: color 0.3s ease;
}

.read_more::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0%;
    background: #cf3a2f;
    z-index: -1;
    transition: height 0.4s ease-in-out;
    border-radius: 45px;
}

.read_more:hover::after {
    height: 100%;
}

.read_more:hover {
    color: #fff;
}

.mpms_btn {
    width: 33px;
    height: 33px;
    background: #d3aa00;
    border-radius: 50%;
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Font Awesome Arrow Style */
.arrow-icon {
    color: #fff;
    font-size: 14px;
    animation: bounceArrow 1.2s infinite;
}

@keyframes bounceArrow {
    0% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(5px); opacity: 0.6; }
    100% { transform: translateX(0); opacity: 1; }
}
/**=== Burron Style END ===**/

/**=== Footer Section  ===**/
.footer_sec
{
    background: linear-gradient(rgb(73 172 243 / 99%), rgba(0, 39, 76, 0.8)), url(../IMAGES/HomeSlider/1.jpg);
    background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /*padding: 70px 20px 0 0;*/
}
.footer_sec .menu_cont .mnsec a:hover
{
    transform:scale(1.02);
    padding-left:10px;
    transition:0.5s ease;
}
/** Footer Social Content **/
.socialL
{
    display:flex;
    list-style:none;
}

.socialL li
{
    padding:0 15px;
}

.socialL li a i
{
    font-size:20px;
}

@media(min-width:992px)
{
    .socialL li
    {
        padding:0 30px;
    }
}

.bord_prm
{
    border-color:#ef7f1a !important;
}

/** Footer Social Content END **/

/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 8px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: #fff;
    font-size: 18px;
    border-radius: 50%;
    text-align: center;
    line-height: 45px;
    cursor: pointer;
    z-index: 9999;

    display: none; /* initially hidden */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);

    transition: all 0.3s ease;
}

/* Hover Effect */
.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Optional: Smooth fade animation */
.back-to-top.show {
    display: block;
    opacity: 1;
}

/** Back To Top Style END **/

/**=== Footer Section END ===**/

.school-text i
{
    color:#ffffff;
}
.school-text h1
{
    color:#ffffff;
}
.school-text h4
{
    color:#ffffff;
}
.school-text p
{
    color:#ffffff;
}

@media(max-width:768px)
{
    .school-text i
{
    color:#ffffff;
}
.school-text h1
{
    color:#ffffff;
}
.school-text h4
{
    color:#ffffff;
}
.school-text p
{
    color:#ffffff;
}
}

/**=== Online Admission ====**/
.floating-admission {
    position: fixed;
    right: -35px;
    bottom: 18%;
    width: 170px;
    height: 60px;
    background: #ff512f;
    color: #fff;
    text-decoration: none;
    border-radius: 30px 0 0 30px;
    display: flex;
    align-items: center;
    z-index: 9999;
    font-weight: 600;
    overflow: hidden;
    border: 2px solid #fff;
    transition: right 0.4s ease, transform 0.4s ease;
    animation: jhalarBlink 1.2s infinite;
}

/* Arrow */
.floating-admission .arrow {
    width: 40px;
    height: 100%;
    background: rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: 0.4s;
}

/* Text */
.floating-admission .text {
    padding: 0 12px;
    font-size: 14px;
    line-height: 1.1;
}

/* Hover effect */
.floating-admission:hover {
    transform: scale(1.05);
    color:#000;
}

/* Desktop hide */
.floating-admission.hide-desktop {
    right: -120px;
}

/* Mobile */
@media (max-width: 768px) {
    .floating-admission {
        bottom: 25%;
        width: 150px;
        right: 0; /* by default visible */
    }

    .floating-admission.hide-mobile {
        right: -80px;
    }

    .floating-admission .text {
        font-size: 12px;
    }
}

/* Jhalar animation */
@keyframes jhalarBlink {
    0%   { background: #ff512f; border-color: #ff512f; }
    25%  { background: #f9d423; border-color: #f9d423; }
    50%  { background: #24c6dc; border-color: #24c6dc; }
    75%  { background: #a770ef; border-color: #a770ef; }
    100% { background: #ff512f; border-color: #ff512f; }
}

/*==%%%===**/
/*=== Online Registration Menu Style ===*/
.blink-registration {
    font-weight: 800;
    animation: regBlink 1s infinite;
    text-transform: uppercase;
}

/* Keyframe animation */
@keyframes regBlink {
    0% {
        color: #ff0000;
       /* text-shadow: 0 0 5px #ff0000;*/
    }
    33% {
        color: #00c853;
        /*text-shadow: 0 0 5px #00c853;*/
    }
    66% {
        color: #2979ff;
       /* text-shadow: 0 0 5px #2979ff;*/
    }
    100% {
        color: #ff0000;
       /* text-shadow: 0 0 5px #ff0000;*/
    }
}


/**========= Facilities Pages ========**/
/* ===================================
COMMON FACILITY PAGE CSS
=================================== */

.facility-section{
    background:#f6f8fc;
    overflow:hidden;
}

.facility-heading{
    margin-bottom:60px;
}

.facility-heading span{
    color:#d89b00;
    font-size:14px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:2px;
}

.facility-heading h2{
    font-size:48px;
    font-weight:800;
    color:#102048;
    margin:12px 0;
}

.facility-heading p{
    max-width:720px;
    margin:auto;
    color:#666;
    line-height:30px;
    font-size:16px;
}

/* Wrapper */

.facility-wrapper{
    display:flex;
    align-items:center;
    background:#fff;
    border-radius:35px;
    overflow:hidden;
    box-shadow:0 20px 45px rgba(0,0,0,0.08);
}

.reverse-box{
    flex-direction:row-reverse;
}

/* Image */

.facility-image{
    width:50%;
    height:100vh;
    overflow:hidden;
    position:relative;
}

.facility-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:0.6s;
}

.facility-wrapper:hover .facility-image img{
    transform:scale(1.08);
}

/* Content */

.facility-content{
    width:50%;
    padding:60px;
}

.facility-tag{
    display:inline-block;
    background:#eef3ff;
    color:#102048;
    padding:10px 22px;
    border-radius:50px;
    font-weight:600;
    margin-bottom:25px;
}

.facility-tag i{
    margin-right:8px;
    color:#d89b00;
}

.facility-content h2{
    font-size:28px;
    font-weight:800;
    line-height:55px;
    color:#102048;
    margin-bottom:25px;
}

.facility-content p{
    color:#666;
    line-height:30px;
    text-align:justify;
    margin-bottom:20px;
    font-size:16px;
}

/* Features */

.facility-features{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    margin-top:35px;
}

.feature-item{
    background:#e8f4ff;
    padding:20px;
    border-radius:20px;
    font-weight:600;
    color:#333;
    transition:0.4s;
    border:1px solid #a3d2f3;
}

.feature-item:hover{
    transform:translateY(-8px);
    background:linear-gradient(135deg,#0f4c81,#00b4db);
    color:#fff;
}

.feature-item i{
    margin-right:10px;
    color:#d89b00;
}

.feature-item:hover i{
    color:#fff;
}

/* Responsive */

@media(max-width:991px){

    .facility-wrapper,
    .reverse-box{
        flex-direction:column;
    }

    .facility-image,
    .facility-content{
        width:100%;
    }

    .facility-image{
        height:auto;
    }

    .facility-image img{
        height:auto;
    }

    .facility-content{
        padding:40px;
    }

    .facility-content h2{
        font-size:34px;
        line-height:46px;
    }

    .facility-heading h2{
        font-size:36px;
    }
}

@media(max-width:576px){

    .facility-content{
        padding:25px;
    }

    .facility-content h2{
        font-size:28px;
        line-height:40px;
    }

    .facility-features{
        grid-template-columns:1fr;
    }

    .facility-heading h2{
        font-size:30px;
    }
}
/**========= Facilities Pages END ========**/

/**========= Birthday Topper Style ============**/
.card-section {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: nowrap;  
}

.custom-card {
   /* background: linear-gradient(135deg, #541700, #cefffe); */
    color: #fff;
    padding: 20px;
    border-radius: 20px;
    width: 320px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.custom-card h3 
{
    color:#000000 !important;
    margin-bottom: 15px;
    font-weight: 600;
}

.card-body {
    display: flex;
    overflow-x: auto;
    gap: 15px;
}

.card-item {
    min-width: 200px;
}

.card-img {
    width: 130px;
    height: 130px;
    border-radius: 15px;
    object-fit: cover;
    border: 4px solid #fff;
    margin-left: 23px;
}

.marks {
    color: #ffd700;
    font-weight: bold;
}

.wish {
    font-size: 13px;
}

.no-data {
    color: #302f2f;
    font-size: 14px;
}


.topper-wrapper {
    display: flex;
    overflow: hidden;
    gap: 20px;
    padding: 10px;
}

.card-item {
    min-width: 200px;
    background: #133572;
    color: #fff;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
}

.card-img {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid #fff;
}

.birthday-wrapper {
    display: flex;
    overflow: hidden;
    gap: 20px;
    padding: 10px;
}


@media (max-width: 768px) {
    .card-section {
        flex-wrap: wrap;  /* mobile में नीचे आना सही है */
    }
}

/**======== Toppers Style END =============**/
