:root {
    /* Main Colors */
    --primary-color: #0049ff;    /* Dark Blue (Footer/Headers) */
    --secondary-color: #c4001d;  /* School Red (Buttons/Headings) */
    --accent-color: #ffcc00;     /* Yellow (Highlights/Span) */
    --mehroon-color: #c4001d;    /* mehroon color */
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-text: #333333;
    --muted-text: #666666;
    --black: #000000;
    
    /* Spacing & Transitions */
    --main-transition: all 0.3s ease-in-out;
    --border-radius: 8px;
}
 
/* Main Stylesheet */
 

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
}

.three h1 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5em;
  padding-bottom: 15px;
  position: relative;
}
.three h1:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  width: 55px;
  background-color: #111;
}
.three h1:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  height: 1px;
  width: 95%;
  max-width: 255px;
  background-color: #333;
}

 

/* TOP BAR */
.topbar {
  background: var(--black) !important;
  color: #fff;
  font-size: 14px;
}

.topbar-flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.top-right span {
  margin-left: 20px;
}
 































.school-navbar{
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    width:90%;
    max-width:1300px;
    background:#fff;
    border-radius:60px;
    padding:15px 30px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    box-shadow:0 5px 25px rgba(0,0,0,.08);
    z-index:999;
}

.nav-left,
.nav-right{
    display:flex;
    align-items:center;
    gap:30px;
}

.nav-left a{
    text-decoration:none;
    color:#1d3557;
    font-weight:600;
    transition:.3s;
}

.nav-left a:hover{
    color:#0d6efd;
}

.nav-logo img{
    height:55px;
}

.call-btn{
    padding:12px 25px;
    border:2px solid var(--mehroon-color);
    border-radius:40px;
    text-decoration:none;
    color: var(--mehroon-color);
    font-weight:600;
    transition:.3s;
}

.call-btn:hover{
    background: var(--mehroon-color);
    color:#fff;
}

.nav-right span{
    color:#555;
    font-size:14px;
}

/* Toggle Button */

.menu-toggle{
    display:none;
    flex-direction:column;
    cursor:pointer;
    gap:6px;
}

.menu-toggle span{
    width:28px;
    height:3px;
    background:#1d3557;
    border-radius:10px;
    transition:.4s;
}

/* Hamburger Animation */

.menu-toggle.active span:nth-child(1){
    transform:translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2){
    opacity:0;
}

.menu-toggle.active span:nth-child(3){
    transform:translateY(-9px) rotate(-45deg);
}

.dropdown-menu-custom{
    position:relative;
}

.dropdown-link{
    text-decoration:none;
    color:#1d3557;
    font-weight:600;
    display:block;
}

.dropdown-content{
    position:absolute;
    top:100%;
    left:0;
    min-width:220px;
    background:#fff;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
    opacity:0;
    visibility:hidden;
    transform:translateY(10px);
    transition:.3s ease;
    z-index:9999;
    overflow:hidden;
}

.dropdown-content a{
    display:block;
    padding:12px 18px;
    text-decoration:none;
    color:#333;
    border-bottom:1px solid #f1f1f1;
    transition:.3s;
}

.dropdown-content a:hover{
    background:#f8f9fa;
    color:#0d6efd;
    padding-left:24px;
}

.dropdown-menu-custom:hover .dropdown-content{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

/* Mobile View */

@media(max-width:991px){

    .school-navbar{
        border-radius:20px;
        padding:15px 20px;
        flex-wrap:wrap;
        justify-content:space-between;
    }

    .nav-logo{
        order:1;
    }

    .menu-toggle{
        display:flex;
        order:2;
    }

    .nav-left{
        order:3;
        width:100%;
        display:none;
        flex-direction:column;
        gap:15px;
        text-align:center;
        padding-top:20px;
    }

    .nav-left.active{
        display:flex;
        animation:slideDown .4s ease;
    }

    .nav-right{
        order:4;
        width:100%;
        display:none;
        justify-content:center;
        margin-top:15px;
    }

    .nav-left.active ~ .nav-right{
        display:flex;
        animation:slideDown .4s ease;
    }

    .nav-logo img{
        height:45px;
    }
}

@keyframes slideDown{
    from{
        opacity:0;
        transform:translateY(-10px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.uper-navbar{
    position: sticky;
    top: 0;
    z-index: 999;
    background: transparent;
}

.school-navbar{
    width: 90%;
    max-width: 1300px;
    margin: 15px auto;

    background: #fff;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    box-shadow: 0 5px 25px rgba(0,0,0,.08);
}
 





























/* hero section start  */
/* HERO SLIDER SETTINGS */
/* Slider Main Container */
.hero {
    width: 100%;
    background-color: #000; /* Loading ke time ya gaps mein black dikhega */
    overflow: hidden;
}

/* Carousel Item Styling */
.carousel-item {
    width: 100%;
    /* Desktop Aspect Ratio (16:7 ya 21:9 best hota hai banner ke liye) */
    aspect-ratio: 16 / 7; 
    
    background-size: cover; /* Image ko stretch nahi hone dega */
    background-position: center top; /* Top se focus rakhega taaki faces na kutein */
    background-repeat: no-repeat;
    
    /* Smooth transition for fade effect */
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

/* --- Tablet View --- */
@media (max-width: 991px) {
    .carousel-item {
        aspect-ratio: 16 / 9; /* Tablet par thoda bada dikhega */
    }
}

/* --- Mobile View --- */
@media (max-width: 576px) {
    .carousel-item {
        /* Mobile par height fix karna better hai taaki image bahut choti na ho jaye */
        height: 300px; 
        aspect-ratio: auto;
        background-position: center center;
    }
    
    /* Mobile controls adjustment */
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 30px;
        height: 30px;
    }
}

/* Optional: Black Overlay agar tum chaho (varna ise hata dena) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Halka dark effect */
    pointer-events: none;
}
/* --- Mobile View Updated --- */
@media (max-width: 576px) {
    .carousel-item {
        /* Mobile par height fix ki jagah auto rakhein taaki aspect ratio kaam kare */
        height: auto; 
        aspect-ratio: 4 / 3; /* Mobile ke liye standard square-ish ratio */
        
        /* Image ko poora dikhane ke liye changes */
        background-size: 100% 100%; /* Image ko width aur height dono mein fit kar dega */
        background-position: center center;
    }
    
    /* Mobile controls adjustment */
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 25px;
        height: 25px;
    }
    
    a.navbar-brand.d-flex.align-items-center {
    width: 75%;
}
}

/* hero section end  */

/* about us section start  */

/* SECTION */
.about-section {
  padding: 80px 0;
  background: #f9f9f9;
}

/* FLEX */
.about-flex {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 50px;
}

/* IMAGE */
.about-img img {
  width: 100%;
  max-width: 450px;
}

/* CONTENT */
.about-content {
  max-width: 550px;
}

.small-heading {
  font-size: 12px;
  letter-spacing: 2px;
  color: #888;
  margin-bottom: 10px;
}

.about-content h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #222;
}

.about-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
}

/* BUTTON */
.read-btn {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.read-btn:hover {
  letter-spacing: 1px;
}

/* about us section end  */

/* Our journey section start */
.journey-section {
  padding: 80px 0;
  background: #f8f9fb;
}

/* TITLE */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.section-title p {
  color: #666;
}

/* FLEX */
.journey-flex {
  display: flex;
  gap: 40px;
}

/* LEFT STATS */
.stats {
  width: 35%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.stat-box {
  text-align: center;
}

.stat-box h3 {
  font-size: 32px;
  color: #1a2a44;
}

.stat-box span {
  background:  var(--accent-color);
  color: var(--dark-text);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 5px;
  display: inline-block;
  margin: 5px 0;
}

.stat-box p {
  font-size: 13px;
  color: #555;
}

/* RIGHT GRID */
.gallery-grid {
  width: 65%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* GALLERY CARD */
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.gallery-card img {
  width: 100%;
  display: block;
  transition: 0.4s;
}

/* OVERLAY */
.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  font-size: 14px;
}

/* HOVER */
.gallery-card:hover img {
  transform: scale(1.1);
}
 
/* Our journey section end   */


/* facility section start */

/* Color Palette */
.title-blue { color: #2e3192; }

/* The Icon Container */
.icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #fff;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 2px dashed transparent; /* Base for the rings */
}

/* Icons within the circles */
.icon-wrapper img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

/* Specific Border Colors with Dashed effect */
.border-orange { border: 2px dashed #f36b21; }
.border-blue   { border: 2px dashed #00aeef; }
.border-red    { border: 2px dashed #ed1c24; }
.border-darkblue { border: 2px dashed #2e3192; }
.border-green  { border: 2px dashed #8cc63f; }
.border-purple { border: 2px dashed #662d91; }

/* Center Image Styling */
.main-img-container img {
    border: 10px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 15px;
}

/* Typography */
.facility-card p {
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Responsive Fix for Mobile (Alignment) */
@media (max-width: 991px) {
    .facility-card { text-align: center !important; }
    .facility-card .d-flex { 
        justify-content: center !important; 
        flex-direction: column;
    }
    .facility-card h5 { margin: 10px 0 !important; }
}

/* facility section end  */

/* cta section start  */

.quote-section {
    position: relative;
    background: url('your-image.jpg') no-repeat center center;
    background-size: cover;
    padding: 100px 0;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Dark background effect */
.dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65); /* Photo ko dark karne ke liye */
}

.content-wrapper {
    position: relative;
    z-index: 2;
}

.quote-text {
    font-size: 1.7rem;
    line-height: 1.4;
    font-family: sans-serif;
    letter-spacing: 0.5px;
}

/* Apply Now Button Design */
.btn-apply {
    background-color: #0b4199 !important;
    border: none;
    padding: 10px 30px;
    border-radius: 6px;
    font-weight: 500;
}

/* Vertical Sticky Button (Right Side) */
.sticky-enquiry {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: right bottom;
    background-color: #0d6efd;
    color: white;
    padding: 10px 25px;
    border-radius: 10px 10px 0 0;
    font-weight: bold;
    z-index: 999;
    cursor: pointer;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
}

/* For Responsive screens */
@media (max-width: 768px) {
    .quote-text { font-size: 1.2rem; }
    .sticky-enquiry { font-size: 12px; padding: 5px 15px; }
}

/* cta section end  */

/* campus section start  */

.campus-section {
    position: relative;
    /* Background Image Settings */
    background-image: url('images/clouds.png');
}

/* --- Campus Section Styles --- */
.campus-section {
    background-color: #fcfcfc;
    overflow: hidden;
}

/* Clouds Positioning */
.cloud-wrapper {
    margin-left: -10px; /* Aligns with text start */
}

.clouds-icon {
    max-width: 130px; /* Adjust size as needed */
    opacity: 0.8;
}

/* Badge Design */
.badge-highlights {
    display: inline-block;
    background-color: #fff1f1;
    color: #ed1c24;
    padding: 7px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid #f9d6d6;
    letter-spacing: 0.3px;
}

/* Typography */
.campus-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1a1a1a;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

.campus-description {
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 90%;
}

/* Gallery Grid Styling */
.gallery-img-box img {
    width: 100%;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.gallery-img-box img:hover {
    transform: scale(1.04);
}

.object-fit-cover {
    object-fit: cover;
    min-height: 100%;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .campus-title { font-size: 2.2rem; }
    .cloud-wrapper { text-align: center; }
    .campus-description { max-width: 100%; text-align: center; }
}

/* campus section end  */


/* gallery section start   */


.vsi-gallery-section {
    width: 100%;
    overflow: hidden;
    background: #fff;
}

.vsi-slider-container {
    width: 100%;
    overflow: hidden;
    display: flex;
}

.vsi-slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px; /* Images ke beech ka gap */
}

.gallery-box {
    width: 280px; /* Image width */
    flex-shrink: 0;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 6px;
}

.gallery-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- ANIMATIONS --- */

/* Left Side Slide */
.scroll-left {
    animation: slideLeft 40s linear infinite;
}

/* Right Side Slide */
.scroll-right {
    animation: slideRight 40s linear infinite;
}

/* Hover par dono ruk jayenge */
.vsi-slider-track:hover {
    animation-play-state: paused;
}

/* Keyframes for Left */
@keyframes slideLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Aadhe track par loop reset */
}

/* Keyframes for Right */
@keyframes slideRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .gallery-box { width: 180px; }
}


/* gallery section end  */



/* faq section start  */

/* FAQ Container Background (Optional pattern match) */
.faq-section {
    background-color: #fff;
}

/* Removing default Bootstrap background and borders */
.custom-faq-item {
    border: none !important;
    border-bottom: 1px solid #dee2e6 !important; /* Only bottom line */
    padding: 10px 0;
}

.custom-faq-btn {
    background-color: transparent !important;
    color: #333 !important;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 20px 0 !important;
    box-shadow: none !important; /* Removes blue glow on click */
}

/* Changing the arrow icon color or style if needed */
.custom-faq-btn::after {
    background-size: 1.2rem;
}

/* Active state (when open) */
.custom-faq-btn:not(.collapsed) {
    color: #1b365d !important; /* Dark blue color from your theme */
}

.accordion-body {
    padding-left: 0 !important;
    padding-bottom: 20px;
}

/* faq section end     */






/* Footer section start  */
 
img.footer-company {
    width: 100px;
}
.main-footer {
    background-color: var(--mehroon-color);  
    position: relative;
    overflow: visible; /* Important: taaki white box upar nikal sake */
}

/* White Vertical Logo Card */
.footer-logo-card {
    border-radius: 0 0 10px 10px;
    z-index: 10;
    margin-top: -60px; /* Isse box upar ki taraf niklega */
}

/* Footer Links Styling */
.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--main-transition);
}

.footer-links li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-links li a::before {
    content: "";
    transition: 0.3s;
}

/* Social Icons */
.social-icons a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #fff;
    transform: translateY(-3px);
}

/* Responsive Fix */
@media (max-width: 991px) {
    .main-footer {
        background-color: #000;
        text-align: center;
    }
    .footer-logo-card {
        margin-top: 0; /* Mobile par box upar nahi jayega */
        margin-bottom: 40px;
        min-height: auto;
    }
    .social-icons {
        justify-content: center;
    }
    .text-end {
        text-align: center !important;
    }
}


.footer-links li {
    margin-bottom: 10px;
    text-align: left;
}
.tash:hover {
    color: var(--white) !important;
    padding-left: 5px;
}

/* Floating Contact Button */

.side-contact-btn{
    position:fixed;
    right:-42px;
    top:50%;
    transform:translateY(-50%) rotate(-90deg);
    background:red;
    color:#fff;
    padding:14px 30px;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    z-index:999999;
    border-radius:10px 10px 0 0;
    box-shadow:0 5px 15px rgba(0,0,0,.2);
}
 
/* footer section end  */


/* about section top banner  start */

/* .story-banner {
    width: 100%;
    
    background:url('images/top banner.png') no-repeat center bottom;
    
 
    background-size: cover;  
    height: 450px;  
    position: relative;
    overflow: hidden;
} */

/* Breadcrumb Styling (Tanvik style) */
.story-banner .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: var(--white);
    padding: 0 10px;
    font-weight: 600;
}

.story-banner .breadcrumb-item a {
    color: var(--white);
    text-decoration: none;
    transition: var(--main-transition);
}

.story-banner .breadcrumb-item a:hover {
    color: var(--accent-color); /* Yellow highlight */
}

/* 3. MOBILE RESPONSIVE FIX (Important) */
@media (max-width: 768px) {
    .story-banner {
        height: 300px; /* Mobile par height kam kar do */
        background-position: center bottom; /* Bottom logic se wave shape visible rahega */
    }
    
    .story-banner h1 {
        font-size: 2.5rem; /* Text size mobile par theek */
    }
}
.story-banner h1 {
    padding-top: 20px;
    color: var(--mehroon-color) !important;
}

.breadcrumb-item a {
    color: #000 !important;
    font-weight: 600;
}

/* about section top banner end  */


/* LOADER FULL SCREEN */
#loader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CANVAS SIZE */
#loaderCanvas {
  width: 150px;
  height: 150px;
}
/* loader section end  */

 

/* mission and vision section start  */

.vision-mission-section {
    background-color: #ffffff;
}

/* Icon Circle Styling */
.icon-circle {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color); /* Red color from root */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Image Box Styling */
.vision-img-box {
    border-radius: 20px;
    overflow: hidden;
    transition: var(--main-transition);
}

.vision-img-box:hover {
    transform: scale(1.02);
}

.vision-img-box img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* Vertical Line Adjustment */
.content-body {
    border-color: var(--secondary-color) !important; /* Custom Red border */
}

.content-body p {
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Responsive Handling */
@media (max-width: 768px) {
    .vision-img-box img {
        height: 250px;
    }
    .content-header h2 {
        font-size: 1.8rem;
    }
}

/* mission vision section end  */

/* cta section with background image start  */

.join-us-cta {
    position: relative;
    padding: 100px 0;
    background: url('images/topbanner.png') no-repeat center center;
    background-size: cover;
    overflow: hidden;
}

/* Blue Overlay to match the design */
.cta-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(46, 49, 113, 0.85); /* Deep Blue with opacity */
 
}

.z-index-2 { z-index: 2; }

/* Text Styling */
.join-text {
    color: var(--accent-color); /* Yellow color from root */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-heading {
    color: #fff;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    /* Fancy font use kar sakte ho jaise 'Fredoka' or 'Pangolin' */
}

.cta-subtext {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* --- BUTTONS --- */
.btn-enroll {
    background: linear-gradient(to bottom, #ffdb4d, #f9bc06); /* Yellow Gradient */
    color: #333 !important;
    font-weight: bold;
    padding: 12px 40px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 15px rgba(249, 188, 6, 0.3);
    transition: var(--main-transition);
}

.btn-download {
    background-color: #8e44ad; /* Purple shade from screenshot */
    color: #fff !important;
    font-weight: bold;
    padding: 12px 40px;
    border-radius: 50px;
    border: none;
    transition: var(--main-transition);
}

.btn-enroll:hover, .btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .cta-heading { font-size: 2rem; }
    .cta-subtext { font-size: 0.95rem; }
    .join-us-cta { padding: 60px 0; }
}

/* cta section with background image end  */








/* contact page start   */

.admission-card {
    background-color: #dc3545; /* Tumhara school red color */
}

.icon-box {#dc3545
    color: var(--secondary-color);
    font-size: 1.3rem;
}

/* Form Inputs Styling */
.form-control, .form-select {
    border: 1px solid #dee2e6;
    padding: 12px;
    font-size: 0.9rem;
    background-color: #fcfcfc;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--secondary-color);
}

/* Button Styling */
.btn-send {
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
    transition: 0.3s;
}

.btn-send:hover {
    background-color: #a00018; /* Thoda dark red */
    color: #fff;
    transform: translateY(-2px);
}

/* Responsive fixes */
@media (max-width: 991px) {
    .ps-lg-5 { padding-left: 12px !important; }
    .admission-card { margin-bottom: 20px; }
}


.map-section {
    position: relative;
    line-height: 0; /* Gap khatam karne ke liye */
}

.map-container {
    filter: grayscale(20%); /* Thoda sober look */
    transition: var(--main-transition);
}

.map-container:hover {
    filter: grayscale(0%); /* Hover par full color */
}

/* Floating Card positioning */
.map-overlay-card {
    position: absolute;
    top: -100px; /* Isse card thoda upar map par overlap karega */
    z-index: 10;
    border-left: 5px solid var(--secondary-color);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .map-container iframe {
        height: 350px;
    }
}

/* contact page end  */



/* Academic page start  */

/* Custom Font (Bachon wale playful look ke liye) */
.program-card h3 {
    color: #fff;
}

.program-card {
    border-radius: 30px;
    overflow: hidden;
    border: none;
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-10px);
}

.card-img-box img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* --- THEMES (Colors as per Image) --- */

/* Daycare (Blue) */
.daycare-theme .card-header-custom, 
.daycare-theme .card-body-custom { background-color: #0d47a1; }

/* Playgroup (Red) */
.playgroup-theme .card-header-custom, 
.playgroup-theme .card-body-custom { background-color: #f44336; }

/* Kindergarten (Purple) */
.kindergarten-theme .card-header-custom, 
.kindergarten-theme .card-body-custom { background-color: #7b1fa2; }

/* Yellow Button Styling */
.btn-yellow {
    background: #ffdb4d;
    color: #333;
    font-weight: bold;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.btn-yellow:hover {
    background: #f9bc06;
    transform: scale(1.05);
}

/* Header border radius fix */
.card-header-custom {
    border-radius: 30px 30px 0 0;
}

/* Body border radius fix */
.card-body-custom {
    border-radius: 0 0 30px 30px;
}

/* academic page end   */




/* pre primary section start  */

.nurturing-section {
    background-color: #fff;
}

/* Image Wrapper with Shadow */
.info-img-wrapper {
    border-radius: 20px;
    overflow: hidden;
    transition: var(--main-transition);
}

.info-img-wrapper:hover {
    transform: scale(1.01);
}

.info-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Custom Check Icons */
.check-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Icon size fix */
    font-size: 1.1rem;
}

/* Text adjustments */
.feature-list p {
    font-size: 1.05rem;
    color: #444;
}

/* Responsive Handling */
@media (max-width: 991px) {
    .ps-lg-5 {
        padding-left: 12px !important;
    }
    .nurturing-section h2 {
        font-size: 2.2rem;
    }
}

/* pre-primary section end  */


/* pre primary second section start   */

.life-at-section {
    background-color: #fff;
}

/* Feature Boxes Styling */
.feature-box {
    background-color: #f8f9fa; /* Light grey background like screenshot */
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--main-transition);
}

.feature-box:hover {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Button Styling */
.btn-apply {
    background-color: #c4001d; /* Red color */
    color: #fff;
    font-weight: bold;
    font-size: 0.85rem;
    border: none;
    transition: 0.3s;
}

.btn-apply:hover {
    background-color: #1b365d;
    color: #fff;
    transform: translateX(5px);
}

/* Slider Custom Arrows */
.custom-arrow {
    background-color: #fff;
    color: #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.carousel-control-prev, .carousel-control-next {
    opacity: 1;
    width: 10%;
}

/* Big Round Corners for Slider */
.rounded-5 {
    border-radius: 30px !important;
}

@media (max-width: 991px) {
    .life-at-section { text-align: center; }
    .feature-box { text-align: left; }
    .btn-apply { margin-bottom: 30px; }
}

/* Sirf 'lpContentSlider' ke andar wale items ki height change hogi */
#lpContentSlider .carousel-item {
    height: 400px !important;    /* Home page par 100vh rahega, yahan 400px ho jayega */
    min-height: auto !important; /* Min-height ko reset kar diya */
    transition: transform 0.6s ease-in-out !important; /* Agar transition fast karni ho */
}

/* Slider ki images ke liye fix */
#lpContentSlider .lp-slider-img {
    height: 400px !important;
    object-fit: cover;
    width: 100%;
}

/* Mobile responsive height */
@media (max-width: 768px) {
    #lpContentSlider .carousel-item,
    #lpContentSlider .lp-slider-img {
        height: 250px !important;
    }
}

/* pre-primary-second section end  */



/*leadership section css */



/* Our leasership section start */
.chairman-section {
  padding: 90px 0;
  background: #f8fafc;
}

.chairman-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 70px;
  align-items: center;
}

.chairman-image {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.chairman-image::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 0;
  width: 10px;
  height: 100%;
  background: #b00020;
  /* brand color */
}

.chairman-image img {
  width: 100%;
  display: block;
}

.chairman-content .role {
  color: var(--primary);
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 14px;
}

.chairman-content h2 {
  font-size: 34px;
  margin: 10px 0 25px;
  color: #0f172a;
}

.quote-box {
  background: #ffffff;
  border-left: 5px solid var(--primary);
  padding: 22px 26px;
  margin-bottom: 22px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.quote-icon {
  position: absolute;
  top: -18px;
  left: 20px;
  font-size: 60px;
  color: #b00020;
  opacity: 0.2;
}

.quote-box p {
  font-size: 18px;
  color: #334155;
  line-height: 1.6;
  font-style: italic;
}

.desc {
  font-size: 16px;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 25px;
}


/* Container management */
.chairman-grid {
    display: flex;
    flex-direction: row; /* Desktop par side-by-side */
    align-items: center;
    gap: 40px;
    padding: 60px 15px;
}

/* Image styling */
.chairman-image {
    flex: 1;
    max-width: 450px;
}

.chairman-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Content styling */
.chairman-content {
    flex: 1.5;
}

.chairman-content .role {
    color: #f36f21; /* Orange color */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.chairman-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1b365d;
    margin-bottom: 25px;
}

/* Quote box styling */
.quote-box {
    background: #f8faff;
    padding: 25px 35px;
    border-radius: 15px;
    position: relative;
    border-left: 5px solid #1b365d;
    margin-bottom: 25px;
}

.quote-icon {
    font-size: 50px;
    color: rgba(27, 54, 93, 0.1);
    position: absolute;
    top: 5px;
    left: 15px;
    line-height: 1;
}

.quote-box p {
    font-style: italic;
    color: #444;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 2;
}

.desc {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

/* --- Responsive Media Query (Mobile Fix) --- */

@media (max-width: 991px) {
    .chairman-grid {
        flex-direction: column; /* Mobile par image upar, text niche */
        text-align: center;
        gap: 30px;
    }

    .chairman-image {
        max-width: 350px; /* Mobile par image ka size control */
        margin: 0 auto;
    }

    .chairman-content h2 {
        font-size: 1.8rem;
    }

    .chairman-content .role {
        justify-content: center;
    }

    .quote-box {
        text-align: left; /* Quote hamesha left rahe toh better lagta hai */
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .chairman-image {
        max-width: 100%;
    }
    
    .chairman-content h2 {
        font-size: 1.5rem;
    }
}

/*leadership section css end  */


/*admission section css start */

/* Container Background */
.smart-admission-section {
    background-color: #f0f2f5;
    padding: 80px 0;
}

/* White form area ke piche abstract pattern */
.abstract-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* Light Abstract Pattern Link */
    background-image: url("https://www.transparenttextures.com/patterns/gray-floral.png"); 
    opacity: 0.05;
    z-index: 1;
    pointer-events: none;
}

.z-index-2 { z-index: 2; }

/* Form Elements */
.form-control {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.9);
}

.admission-wrapper {
    border: none;
}

/* Responsive Image Height */
@media (max-width: 991px) {
    .admission-banner-img img {
        height: auto !important;
        max-height: 400px;
    }
}



/*admission section css end */





/*Activities page css start */

/* Section Main Background */
.social-hub {
    background: #f8f9fa;
    padding: 80px 0;
}

/* Glassmorphism Card Style */
.social-hub .card {
    transition: all 0.4s ease;
    border: none !important;
    background: #ffffff;
}

.social-hub .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

/* Header Gradient Styles */
.header-fb { background: linear-gradient(135deg, #1877F2, #0056b3); }
.header-activity { background: linear-gradient(135deg, #1d976c, #11998e); }
.header-insta { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

.card-header-title {
    padding: 20px;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Custom Scrollbar for Activity & Feed */
.custom-scroll {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}

.custom-scroll::-webkit-scrollbar {
    width: 5px;
}

.custom-scroll::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

/* Activity Items Styling */
.activity-item {
    transition: 0.3s;
    border: 1px solid #eee;
    margin-bottom: 20px;
}

.activity-item:hover {
    background: #fdfdfd;
    border-color: #1d976c;
}

.activity-img {
    height: 160px;
    object-fit: cover;
    width: 100%;
    transition: 0.5s;
}

.activity-item:hover .activity-img {
    transform: scale(1.05);
}

/* Instagram Grid Zoom */
.insta-zoom {
    overflow: hidden;
    position: relative;
    border-radius: 12px;
}

.insta-zoom img {
    transition: 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.insta-zoom:hover img {
    transform: scale(1.1) rotate(2deg);
    filter: brightness(80%);
}


section.story-banner {
    height: 300px !important;
}

.qualification {
    font-size: 12px !important;
    font-weight: 600 !important;
}


/*Activities page css end */


.custom-modal {
    max-width: 50% !important;
}

@media (max-width: 768px) {
    .custom-modal {
        max-width: 100% !important;
    }
}



/* Main Stylesheet */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
 
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
}

.three h1 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5em;
  padding-bottom: 15px;
  position: relative;
}
.three h1:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  width: 55px;
  background-color: #111;
}
.three h1:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  height: 1px;
  width: 95%;
  max-width: 255px;
  background-color: #333;
}

 

/* TOP BAR */
.topbar {
  background: var(--black) !important; 
  color: #fff;
  font-size: 14px;
}

.topbar-flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.top-right span {
  margin-left: 20px;
}

/* HEADER */
.header {
  background: #fff;
  padding: 2px 0;
  border-bottom: 1px solid #ddd;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
}
.header img.me-2 {
    width: 130px;
    padding: 0px;
}
.logo img {
  width: 60px;
  margin-right: 10px;
}

.school-name h2 {
  font-size: 20px;
  color: #8b2c2c;
}

.school-name p {
  font-size: 14px;
  color: #444;
}

/* NAVBAR */
.navbar ul {
  list-style: none;
  display: flex;
}

.navbar ul li {
  position: relative;
}

.navbar ul li a {
  text-decoration: none;
  color: #000;
  padding: 10px 15px;
  display: block;
  font-weight: 500;
}

.navbar ul li a:hover {
  color: #a5302a;
}

/* MENU TOGGLE (MOBILE) */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}
  
ul.dropdown-menu {
    display: none;
}

/* Dropdown show on hover */
.navbar-nav .dropdown:hover > .dropdown-menu {
    display: block !important;
}

.navbar-nav .dropdown-toggle::after {
    display: none;
}

/* 🔥 RESPONSIVE */
@media (max-width: 992px) {

  .topbar-flex {
    flex-direction: column;
    gap: 5px;
  }

  .top-right span {
    margin-left: 0;
    display: block;
  }
}

li.nav-item {
    padding: 0px 10px;
    /* font-weight: 700 !important; */
}

a.nav-link.active {
    font-weight: 600;
}

a.nav-link {
    font-weight: 550 !important;
    letter-spacing: 1px;
}

@media(max-width:991px){

    .menu-toggle{
        display:flex !important;
    }

}



/* hero section start  */
/* HERO SLIDER SETTINGS */
/* Slider Main Container */
.hero {
    width: 100%;
    background-color: #000; /* Loading ke time ya gaps mein black dikhega */
    overflow: hidden;
}

/* Carousel Item Styling */
.carousel-item {
    width: 100%;
    /* Desktop Aspect Ratio (16:7 ya 21:9 best hota hai banner ke liye) */
    aspect-ratio: 16 / 7; 
    
    background-size: cover; /* Image ko stretch nahi hone dega */
    background-position: center top; /* Top se focus rakhega taaki faces na kutein */
    background-repeat: no-repeat;
    
    /* Smooth transition for fade effect */
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

/* --- Tablet View --- */
@media (max-width: 991px) {
    .carousel-item {
        aspect-ratio: 16 / 9; /* Tablet par thoda bada dikhega */
    }
}

/* --- Mobile View --- */
@media (max-width: 576px) {
    .carousel-item {
        /* Mobile par height fix karna better hai taaki image bahut choti na ho jaye */
        height: 300px; 
        aspect-ratio: auto;
        background-position: center center;
    }
    
    /* Mobile controls adjustment */
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 30px;
        height: 30px;
    }
}

/* Optional: Black Overlay agar tum chaho (varna ise hata dena) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Halka dark effect */
    pointer-events: none;
}
/* --- Mobile View Updated --- */
@media (max-width: 576px) {
    .carousel-item {
        /* Mobile par height fix ki jagah auto rakhein taaki aspect ratio kaam kare */
        height: auto; 
        aspect-ratio: 4 / 3; /* Mobile ke liye standard square-ish ratio */
        
        /* Image ko poora dikhane ke liye changes */
        background-size: 100% 100%; /* Image ko width aur height dono mein fit kar dega */
        background-position: center center;
    }
    
    /* Mobile controls adjustment */
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 25px;
        height: 25px;
    }
    
    a.navbar-brand.d-flex.align-items-center {
    width: 75%;
}
}

/* hero section end  */

/* about us section start  */

/* SECTION */
.about-section {
  padding: 80px 0;
  background: #f9f9f9;
}

/* FLEX */
.about-flex {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 50px;
}

/* IMAGE */
.about-img img {
  width: 100%;
  max-width: 450px;
}

/* CONTENT */
.about-content {
  max-width: 550px;
}

.small-heading {
  font-size: 12px;
  letter-spacing: 2px;
  color: #888;
  margin-bottom: 10px;
}

.about-content h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #222;
}

.about-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
}

/* BUTTON */
.read-btn {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.read-btn:hover {
  letter-spacing: 1px;
}

/* about us section end  */

/* Our journey section start */
.journey-section {
  padding: 80px 0;
  background: #f8f9fb;
}

/* TITLE */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.section-title p {
  color: #666;
}

/* FLEX */
.journey-flex {
  display: flex;
  gap: 40px;
}

/* LEFT STATS */
.stats {
  width: 35%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.stat-box {
  text-align: center;
}

.stat-box h3 {
  font-size: 32px;
  color: #1a2a44;
}

.stat-box span {
  background:  var(--accent-color);
  color: var(--dark-text);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 5px;
  display: inline-block;
  margin: 5px 0;
}

.stat-box p {
  font-size: 13px;
  color: #555;
}

/* RIGHT GRID */
.gallery-grid {
  width: 65%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* GALLERY CARD */
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.gallery-card img {
  width: 100%;
  display: block;
  transition: 0.4s;
}

/* OVERLAY */
.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  font-size: 14px;
}

/* HOVER */
.gallery-card:hover img {
  transform: scale(1.1);
}
 
/* Our journey section end   */


/* facility section start */

/* Color Palette */
.title-blue { color: #2e3192; }

/* The Icon Container */
.icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #fff;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 2px dashed transparent; /* Base for the rings */
}

/* Icons within the circles */
.icon-wrapper img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

/* Specific Border Colors with Dashed effect */
.border-orange { border: 2px dashed #f36b21; }
.border-blue   { border: 2px dashed #00aeef; }
.border-red    { border: 2px dashed #ed1c24; }
.border-darkblue { border: 2px dashed #2e3192; }
.border-green  { border: 2px dashed #8cc63f; }
.border-purple { border: 2px dashed #662d91; }

/* Center Image Styling */
.main-img-container img {
    border: 10px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 15px;
}

/* Typography */
.facility-card p {
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Responsive Fix for Mobile (Alignment) */
@media (max-width: 991px) {
    .facility-card { text-align: center !important; }
    .facility-card .d-flex { 
        justify-content: center !important; 
        flex-direction: column;
    }
    .facility-card h5 { margin: 10px 0 !important; }
}

/* facility section end  */

/* cta section start  */

.quote-section {
    position: relative;
    background: url('your-image.jpg') no-repeat center center;
    background-size: cover;
    padding: 100px 0;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Dark background effect */
.dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65); /* Photo ko dark karne ke liye */
}

.content-wrapper {
    position: relative;
    z-index: 2;
}

.quote-text {
    font-size: 1.7rem;
    line-height: 1.4;
    font-family: sans-serif;
    letter-spacing: 0.5px;
}

/* Apply Now Button Design */
.btn-apply {
    background-color: #0b4199 !important;
    border: none;
    padding: 10px 30px;
    border-radius: 6px;
    font-weight: 500;
}

/* Vertical Sticky Button (Right Side) */
.sticky-enquiry {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: right bottom;
    background-color: #0d6efd;
    color: white;
    padding: 10px 25px;
    border-radius: 10px 10px 0 0;
    font-weight: bold;
    z-index: 999;
    cursor: pointer;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
}

/* For Responsive screens */
@media (max-width: 768px) {
    .quote-text { font-size: 1.2rem; }
    .sticky-enquiry { font-size: 12px; padding: 5px 15px; }
}

/* cta section end  */

/* campus section start  */

.campus-section {
    position: relative;
    /* Background Image Settings */
    background-image: url('images/clouds.png');
}

/* --- Campus Section Styles --- */
.campus-section {
    background-color: #fcfcfc;
    overflow: hidden;
}

/* Clouds Positioning */
.cloud-wrapper {
    margin-left: -10px; /* Aligns with text start */
}

.clouds-icon {
    max-width: 130px; /* Adjust size as needed */
    opacity: 0.8;
}

/* Badge Design */
.badge-highlights {
    display: inline-block;
    background-color: #fff1f1;
    color: #ed1c24;
    padding: 7px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid #f9d6d6;
    letter-spacing: 0.3px;
}

/* Typography */
.campus-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1a1a1a;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

.campus-description {
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 90%;
}

/* Gallery Grid Styling */
.gallery-img-box img {
    width: 100%;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.gallery-img-box img:hover {
    transform: scale(1.04);
}

.object-fit-cover {
    object-fit: cover;
    min-height: 100%;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .campus-title { font-size: 2.2rem; }
    .cloud-wrapper { text-align: center; }
    .campus-description { max-width: 100%; text-align: center; }
}

/* campus section end  */


/* gallery section start   */


.vsi-gallery-section {
    width: 100%;
    overflow: hidden;
    background: #fff;
}

.vsi-slider-container {
    width: 100%;
    overflow: hidden;
    display: flex;
}

.vsi-slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px; /* Images ke beech ka gap */
}

.gallery-box {
    width: 280px; /* Image width */
    flex-shrink: 0;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 6px;
}

.gallery-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- ANIMATIONS --- */

/* Left Side Slide */
.scroll-left {
    animation: slideLeft 40s linear infinite;
}

/* Right Side Slide */
.scroll-right {
    animation: slideRight 40s linear infinite;
}

/* Hover par dono ruk jayenge */
.vsi-slider-track:hover {
    animation-play-state: paused;
}

/* Keyframes for Left */
@keyframes slideLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Aadhe track par loop reset */
}

/* Keyframes for Right */
@keyframes slideRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .gallery-box { width: 180px; }
}


/* gallery section end  */




/* ==============================================
   
  🌿          Gallery second section css start

============================================== */

.gallery-card{
position:relative;
overflow:hidden;
border-radius:10px;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

.gallery-card img{
width:100%;
height:230px;
object-fit:cover;
transition:0.4s;
}

.gallery-overlay{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.6);
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
opacity:0;
transition:0.4s;
}

.gallery-overlay h4{
color:#fff;
margin-bottom:15px;
font-size:20px;
}

.gallery-btn{
background:#007bff;
color:#fff;
padding:8px 18px;
border-radius:5px;
text-decoration:none;
font-size:14px;
}

.gallery-btn:hover{
background:#0056b3;
}

.gallery-card:hover img{
transform:scale(1.1);
}

.gallery-card:hover .gallery-overlay{
opacity:1;
}





/* ==============================================
   
  🌿          Gallery second section css End

============================================== */

/* ==============================================
   
  🌿          Gallery View section css Start

============================================== */

.gallery-item{
    padding:12px;
}

.gallery-thumb{
    width:100%;
    overflow:hidden;
    border-radius:15px;
}

.gallery-thumb img{
    width:100%;
    height:250px;
    object-fit:cover;
    display:block;
}

.overlayer{
    width:100%;
    height:100%;
}
/* ==========================
   GALLERY SECTION
========================== */

.gallery-item{
    margin-bottom:30px;
}

.gallery-thumb{
    position:relative;
    overflow:hidden;
    border-radius:16px;
    background:#fff;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.4s ease;
}

.gallery-thumb:hover{
    transform:translateY(-8px);
}

.gallery-thumb img{
    width:100%;
    height:280px;
    object-fit:cover;
    display:block;
    transition:.6s ease;
}

.gallery-thumb:hover img{
    transform:scale(1.08);
}

/* Overlay */

.overlayer{
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.85),
        rgba(0,0,0,.15)
    );
    opacity:0;
    visibility:hidden;
    transition:.4s ease;
}

.gallery-thumb:hover .overlayer{
    opacity:1;
    visibility:visible;
}

.lbox-caption{
    width:100%;
    height:100%;
    display:flex;
    align-items:flex-end;
    justify-content:center;
    padding:25px;
}

.lbox-details{
    width:100%;
    text-align:center;
}

.lbox-details h5{
    color:#fff;
    font-size:18px;
    font-weight:600;
    margin-bottom:15px;
    line-height:1.4;
}

.popup-img{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:55px;
    height:55px;
    border-radius:50%;
    background:#fff;
    color:#0d6efd;
    font-size:24px;
    text-decoration:none;
    transition:.3s ease;
}

.popup-img:hover{
    background:#0d6efd;
    color:#fff;
    transform:rotate(90deg);
}

 

/* ==========================
   TABLET
========================== */

@media(max-width:991px){

    .gallery-thumb img{
        height:240px;
    }

    .text-center h2{
        font-size:34px;
    }
}

/* ==========================
   MOBILE
========================== */

@media(max-width:767px){

    .gallery-item{
        margin-bottom:20px;
    }

    .gallery-thumb img{
        height:220px;
    }

    .text-center h2{
        font-size:28px;
    }

    .text-center p{
        font-size:15px;
    }

    .lbox-details h5{
        font-size:16px;
    }

    .popup-img{
        width:48px;
        height:48px;
        font-size:20px;
    }
}

/* ==========================
   SMALL MOBILE
========================== */

@media(max-width:480px){

    .gallery-thumb img{
        height:200px;
    }

 
}

/* ==============================================
   
  🌿          Gallery View section css End

============================================== */





















/* faq section start  */

/* FAQ Container Background (Optional pattern match) */
.faq-section {
    background-color: #fff;
}

/* Removing default Bootstrap background and borders */
.custom-faq-item {
    border: none !important;
    border-bottom: 1px solid #dee2e6 !important; /* Only bottom line */
    padding: 10px 0;
}

.custom-faq-btn {
    background-color: transparent !important;
    color: #333 !important;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 20px 0 !important;
    box-shadow: none !important; /* Removes blue glow on click */
}

/* Changing the arrow icon color or style if needed */
.custom-faq-btn::after {
    background-size: 1.2rem;
}

/* Active state (when open) */
.custom-faq-btn:not(.collapsed) {
    color: #1b365d !important; /* Dark blue color from your theme */
}

.accordion-body {
    padding-left: 0 !important;
    padding-bottom: 20px;
}

/* faq section end     */
 

/* Footer section start  */
 
img.footer-company {
    width: 100px;
}
.main-footer {
    background-color: var(--mehroon-color); /* Black background as per design */
    position: relative;
    overflow: visible; /* Important: taaki white box upar nikal sake */
}

/* White Vertical Logo Card */
.footer-logo-card {
    border-radius: 0 0 10px 10px;
    z-index: 10;
    margin-top: -60px; /* Isse box upar ki taraf niklega */
}

/* Footer Links Styling */
.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--main-transition);
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-links li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-links li a::before {
    content: "";
    transition: 0.3s;
}

/* Social Icons */
.social-icons a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #fff;
    transform: translateY(-3px);
}

/* Responsive Fix */
@media (max-width: 991px) {
    .main-footer {
        background-color: #000;
        text-align: center;
    }
    .footer-logo-card {
        margin-top: 0; /* Mobile par box upar nahi jayega */
        margin-bottom: 40px;
        min-height: auto;
    }
    .social-icons {
        justify-content: center;
    }
    .text-end {
        text-align: center !important;
    }
}


.footer-links li {
    margin-bottom: 10px;
    text-align: left;
}

/* footer section end  */


/* -------------------------------
   🧑‍⚕️ Call and Whatsapp  Section
--------------------------------*/
/* Floating Buttons */
.floating-buttons {
  position: fixed;
  right: 20px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1050;
}

/* Common Button Styles */
.floating-buttons a {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Call Button */
.call-btn {
  background-color: var(--primary);
}

/* WhatsApp Button */
.whatsapp-btn {
  background-color: #25d366;
}

/* Hover Effects */
.floating-buttons a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}
.call-action {
    color: #c5001b;
}


/* ==============================================
   🌿 END Call and Whatsapp CSS
   ============================================== */


/* about section top banner  start */

/* .story-banner {
    width: 100%;
    
    background:url('images/top banner.png') no-repeat center bottom;
    
 
    background-size: cover;  
    height: 450px;  
    position: relative;
    overflow: hidden;
} */

/* Breadcrumb Styling (Tanvik style) */
.story-banner .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: var(--black);
    padding: 0 10px;
}

.story-banner .breadcrumb-item a {
    color: var(--white);
    text-decoration: none;
    transition: var(--main-transition);
}

.story-banner .breadcrumb-item a:hover {
    color: var(--accent-color); /* Yellow highlight */
}

/* 3. MOBILE RESPONSIVE FIX (Important) */
@media (max-width: 768px) {
    .story-banner {
        height: 300px; /* Mobile par height kam kar do */
        background-position: center bottom; /* Bottom logic se wave shape visible rahega */
    }
    
    .story-banner h1 {
        font-size: 2.5rem; /* Text size mobile par theek */
    }
}

/* about section top banner end  */


/* LOADER FULL SCREEN */
#loader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CANVAS SIZE */
#loaderCanvas {
  width: 150px;
  height: 150px;
}
/* loader section end  */

 

/* mission and vision section start  */

.vision-mission-section {
    background-color: #ffffff;
}

/* Icon Circle Styling */
.icon-circle {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color); /* Red color from root */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Image Box Styling */
.vision-img-box {
    border-radius: 20px;
    overflow: hidden;
    transition: var(--main-transition);
}

.vision-img-box:hover {
    transform: scale(1.02);
}

.vision-img-box img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* Vertical Line Adjustment */
.content-body {
    border-color: var(--secondary-color) !important; /* Custom Red border */
}

.content-body p {
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Responsive Handling */
@media (max-width: 768px) {
    .vision-img-box img {
        height: 250px;
    }
    .content-header h2 {
        font-size: 1.8rem;
    }
}

/* mission vision section end  */

/* cta section with background image start  */

.join-us-cta {
    position: relative;
    padding: 100px 0;
    background: url('images/topbanner.png') no-repeat center center;
    background-size: cover;
    overflow: hidden;
}

/* Blue Overlay to match the design */
.cta-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: var(--primary-color);
 
}

.z-index-2 { z-index: 2; }

/* Text Styling */
.join-text {
    color: var(--accent-color); /* Yellow color from root */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-heading {
    color: #fff;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    /* Fancy font use kar sakte ho jaise 'Fredoka' or 'Pangolin' */
}

.cta-subtext {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* --- BUTTONS --- */
.btn-enroll {
    background: linear-gradient(to bottom, #ffdb4d, #f9bc06); /* Yellow Gradient */
    color: #333 !important;
    font-weight: bold;
    padding: 12px 40px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 15px rgba(249, 188, 6, 0.3);
    transition: var(--main-transition);
}

.btn-download {
    background-color: #8e44ad; /* Purple shade from screenshot */
    color: #fff !important;
    font-weight: bold;
    padding: 12px 40px;
    border-radius: 50px;
    border: none;
    transition: var(--main-transition);
}

.btn-enroll:hover, .btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .cta-heading { font-size: 2rem; }
    .cta-subtext { font-size: 0.95rem; }
    .join-us-cta { padding: 60px 0; }
}

/* cta section with background image end  */

 

/* contact page start   */

.admission-card {
    background-color: var(--mehroon-color); /* Tumhara school red color */
}

.icon-box {#dc3545
    color: var(--secondary-color);
    font-size: 1.3rem;
}

/* Form Inputs Styling */
.form-control, .form-select {
    border: 1px solid #dee2e6;
    padding: 12px;
    font-size: 0.9rem;
    background-color: #fcfcfc;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--secondary-color);
}

/* Button Styling */
.btn-send {
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
    transition: 0.3s;
}

.btn-send:hover {
    background-color: #a00018; /* Thoda dark red */
    color: #fff;
    transform: translateY(-2px);
}

/* Responsive fixes */
@media (max-width: 991px) {
    .ps-lg-5 { padding-left: 12px !important; }
    .admission-card { margin-bottom: 20px; }
}


.map-section {
    position: relative;
    line-height: 0; /* Gap khatam karne ke liye */
}

.map-container {
    filter: grayscale(20%); /* Thoda sober look */
    transition: var(--main-transition);
}

.map-container:hover {
    filter: grayscale(0%); /* Hover par full color */
}

/* Floating Card positioning */
.map-overlay-card {
    position: absolute;
    top: -100px; /* Isse card thoda upar map par overlap karega */
    z-index: 10;
    border-left: 5px solid var(--secondary-color);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .map-container iframe {
        height: 350px;
    }
}

/* contact page end  */



/* Academic page start  */

/* Custom Font (Bachon wale playful look ke liye) */
.program-card h3 {
    color: #fff;
}

.program-card {
    border-radius: 30px;
    overflow: hidden;
    border: none;
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-10px);
}

.card-img-box img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* --- THEMES (Colors as per Image) --- */

/* Daycare (Blue) */
.daycare-theme .card-header-custom, 
.daycare-theme .card-body-custom { background-color: #0d47a1; }

/* Playgroup (Red) */
.playgroup-theme .card-header-custom, 
.playgroup-theme .card-body-custom { background-color: #f44336; }

/* Kindergarten (Purple) */
.kindergarten-theme .card-header-custom, 
.kindergarten-theme .card-body-custom { background-color: #7b1fa2; }

/* Yellow Button Styling */
.btn-yellow {
    background: #ffdb4d;
    color: #333;
    font-weight: bold;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.btn-yellow:hover {
    background: #f9bc06;
    transform: scale(1.05);
}

/* Header border radius fix */
.card-header-custom {
    border-radius: 30px 30px 0 0;
}

/* Body border radius fix */
.card-body-custom {
    border-radius: 0 0 30px 30px;
}

/* academic page end   */




/* pre primary section start  */

.nurturing-section {
    background-color: #fff;
}

/* Image Wrapper with Shadow */
.info-img-wrapper {
    border-radius: 20px;
    overflow: hidden;
    transition: var(--main-transition);
}

.info-img-wrapper:hover {
    transform: scale(1.01);
}

.info-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Custom Check Icons */
.check-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Icon size fix */
    font-size: 1.1rem;
}

/* Text adjustments */
.feature-list p {
    font-size: 1.05rem;
    color: #444;
}

/* Responsive Handling */
@media (max-width: 991px) {
    .ps-lg-5 {
        padding-left: 12px !important;
    }
    .nurturing-section h2 {
        font-size: 2.2rem;
    }
}

/* pre-primary section end  */


/* pre primary second section start   */

.life-at-section {
    background-color: #fff;
}

/* Feature Boxes Styling */
.feature-box {
    background-color: #f8f9fa; /* Light grey background like screenshot */
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--main-transition);
}

.feature-box:hover {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Button Styling */
.btn-apply {
    background-color: #c4001d; /* Red color */
    color: #fff;
    font-weight: bold;
    font-size: 0.85rem;
    border: none;
    transition: 0.3s;
}

.btn-apply:hover {
    background-color: #1b365d;
    color: #fff;
    transform: translateX(5px);
}

/* Slider Custom Arrows */
.custom-arrow {
    background-color: #fff;
    color: #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.carousel-control-prev, .carousel-control-next {
    opacity: 1;
    width: 10%;
}

/* Big Round Corners for Slider */
.rounded-5 {
    border-radius: 30px !important;
}

@media (max-width: 991px) {
    .life-at-section { text-align: center; }
    .feature-box { text-align: left; }
    .btn-apply { margin-bottom: 30px; }
}

/* Sirf 'lpContentSlider' ke andar wale items ki height change hogi */
#lpContentSlider .carousel-item {
    height: 400px !important;    /* Home page par 100vh rahega, yahan 400px ho jayega */
    min-height: auto !important; /* Min-height ko reset kar diya */
    transition: transform 0.6s ease-in-out !important; /* Agar transition fast karni ho */
}

/* Slider ki images ke liye fix */
#lpContentSlider .lp-slider-img {
    height: 400px !important;
    object-fit: cover;
    width: 100%;
}

/* Mobile responsive height */
@media (max-width: 768px) {
    #lpContentSlider .carousel-item,
    #lpContentSlider .lp-slider-img {
        height: 250px !important;
    }
}

/* pre-primary-second section end  */



/*leadership section css */



/* Our leasership section start */
.chairman-section {
  padding: 90px 0;
  background: #f8fafc;
}

.chairman-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 70px;
  align-items: center;
}

.chairman-image {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.chairman-image::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 0;
  width: 10px;
  height: 100%;
  background: #b00020;
  /* brand color */
}

.chairman-image img {
  width: 100%;
  display: block;
}

.chairman-content .role {
  color: var(--primary);
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 14px;
}

.chairman-content h2 {
  font-size: 34px;
  margin: 10px 0 25px;
  color: #0f172a;
}

.quote-box {
  background: #ffffff;
  border-left: 5px solid var(--primary);
  padding: 22px 26px;
  margin-bottom: 22px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.quote-icon {
  position: absolute;
  top: -18px;
  left: 20px;
  font-size: 60px;
  color: #b00020;
  opacity: 0.2;
}

.quote-box p {
  font-size: 18px;
  color: #334155;
  line-height: 1.6;
  font-style: italic;
}

.desc {
  font-size: 16px;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 25px;
}


/* Container management */
.chairman-grid {
    display: flex;
    flex-direction: row; /* Desktop par side-by-side */
    align-items: center;
    gap: 40px;
    padding: 60px 15px;
}

/* Image styling */
.chairman-image {
    flex: 1;
    max-width: 450px;
}

.chairman-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Content styling */
.chairman-content {
    flex: 1.5;
}

.chairman-content .role {
    color: #f36f21; /* Orange color */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.chairman-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1b365d;
    margin-bottom: 25px;
}

/* Quote box styling */
.quote-box {
    background: #f8faff;
    padding: 25px 35px;
    border-radius: 15px;
    position: relative;
    border-left: 5px solid #1b365d;
    margin-bottom: 25px;
}

.quote-icon {
    font-size: 50px;
    color: rgba(27, 54, 93, 0.1);
    position: absolute;
    top: 5px;
    left: 15px;
    line-height: 1;
}

.quote-box p {
    font-style: italic;
    color: #444;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 2;
}

.desc {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

/* --- Responsive Media Query (Mobile Fix) --- */

@media (max-width: 991px) {
    .chairman-grid {
        flex-direction: column; /* Mobile par image upar, text niche */
        text-align: center;
        gap: 30px;
    }

    .chairman-image {
        max-width: 350px; /* Mobile par image ka size control */
        margin: 0 auto;
    }

    .chairman-content h2 {
        font-size: 1.8rem;
    }

    .chairman-content .role {
        justify-content: center;
    }

    .quote-box {
        text-align: left; /* Quote hamesha left rahe toh better lagta hai */
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .chairman-image {
        max-width: 100%;
    }
    
    .chairman-content h2 {
        font-size: 1.5rem;
    }
}

/*leadership section css end  */


/*admission section css start */

/* Container Background */
.smart-admission-section {
    background-color: #f0f2f5;
    padding: 80px 0;
}

/* White form area ke piche abstract pattern */
.abstract-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* Light Abstract Pattern Link */
    background-image: url("https://www.transparenttextures.com/patterns/gray-floral.png"); 
    opacity: 0.05;
    z-index: 1;
    pointer-events: none;
}

.z-index-2 { z-index: 2; }

/* Form Elements */
.form-control {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.9);
}

.admission-wrapper {
    border: none;
}

/* Responsive Image Height */
@media (max-width: 991px) {
    .admission-banner-img img {
        height: auto !important;
        max-height: 400px;
    }
}



/*admission section css end */





/*Activities page css start */

/* Section Main Background */
.social-hub {
    background: #f8f9fa;
    padding: 80px 0;
}

/* Glassmorphism Card Style */
.social-hub .card {
    transition: all 0.4s ease;
    border: none !important;
    background: #ffffff;
}

.social-hub .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

/* Header Gradient Styles */
.header-fb { background: linear-gradient(135deg, #1877F2, #0056b3); }
.header-activity { background: linear-gradient(135deg, #1d976c, #11998e); }
.header-insta { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

.card-header-title {
    padding: 20px;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Custom Scrollbar for Activity & Feed */
.custom-scroll {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}

.custom-scroll::-webkit-scrollbar {
    width: 5px;
}

.custom-scroll::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

/* Activity Items Styling */
.activity-item {
    transition: 0.3s;
    border: 1px solid #eee;
    margin-bottom: 20px;
}

.activity-item:hover {
    background: #fdfdfd;
    border-color: #1d976c;
}

.activity-img {
    height: 160px;
    object-fit: cover;
    width: 100%;
    transition: 0.5s;
}

.activity-item:hover .activity-img {
    transform: scale(1.05);
}

/* Instagram Grid Zoom */
.insta-zoom {
    overflow: hidden;
    position: relative;
    border-radius: 12px;
}

.insta-zoom img {
    transition: 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.insta-zoom:hover img {
    transform: scale(1.1) rotate(2deg);
    filter: brightness(80%);
}



/*Activities page css end */

/* Section Base */
.campus-life-section {
    font-family: 'Inter', sans-serif; /* Clean modern font */
}

/* Subtitle styling */
.campus-subtitle {
    max-width: 500px;
    opacity: 0.9;
    font-size: 1.25rem;
}

/* Image Wrapper for Rounded Corners */
.campus-img-wrapper {
    height: 320px; /* Fixed height for uniformity */
    background-color: #443a75; /* Fallback color */
    transition: transform 0.4s ease;
}

.campus-img-wrapper img {
    height: 100%;
    width: 100%;
    object-fit: cover; /* This prevents image stretching */
}

/* Hover Effect */
.campus-item {
    cursor: pointer;
}

.campus-item:hover .campus-img-wrapper {
    transform: translateY(-10px);
}

.campus-item h5 {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

.campus-item:hover h5 {
    color: #ffcc00 !important; /* Yellow hover like branding */
}

/* --- RESPONSIVE FIXES --- */

@media (max-width: 991px) {
    .campus-img-wrapper {
        height: 280px; /* Smaller height for tablets */
    }
    .campus-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .campus-img-wrapper {
        height: 250px; /* Mobile height */
    }
    .campus-life-section h1 {
        font-size: 2.5rem; /* Smaller title on mobile */
    }
}
.join-us-cta p {
    color: #fff;
}



/*infra adn facility page css start */


/* ==============================================
   
  🌿     Academic Affilication css Start

   ============================================== */
/* activity-section  */
.activity-section {
  padding: 40px 20px;
  background: #f9faff;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.activity-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 500px;
}

.activity-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.activity-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.65),
      rgba(0, 0, 0, 0.15),
      rgba(0, 0, 0, 0));
}

.activity-overlay {
  position: absolute;
  bottom: 0px;
  z-index: 2;
  color: #fff;
  width: 100%;
  padding: 20px;
  background: #000000;
  background: linear-gradient(360deg, rgba(0, 0, 0, 1) 0%, rgba(9, 9, 121, 0.05) 72%, rgba(0, 212, 255, 0) 78%);
}

.activity-overlay h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}

.activity-overlay p {
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.9;
}

/* Hover Effect */
.activity-card:hover img {
  transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .activity-grid {
    grid-template-columns: 1fr;
  }

  .activity-card {
    height: 280px;
  }
}

.activity-overlay p {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.9;
  display: none;
}

.activity-card:hover p {
  display: block;
  transition: all;
}

 

/*infra and facility page css end */


/* -------------------------------
   💊 Learning by Doing Section start
--------------------------------*/


.learning-by-doing {
  padding: 60px 20px;
  text-align: center;
  background: #f9faff;
  font-family: 'Poppins', sans-serif;
}

.learning-by-doing h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.learning-by-doing .subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.learning-by-doing .card {
    padding: 15px;
}
.card {
  background: #fff;
  /*padding: 25px;*/
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  flex: 1 1 220px;
  text-align: left;
  transition: transform 0.3s ease;
  border-bottom: 4px solid transparent;
}

.card:hover {
  transform: translateY(-5px);
  border-bottom-color: --var(primary);
  /* example hover color */
}

.card .icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}



/* -------------------------------
   💊 Learning by Doing Section  end
--------------------------------*/




.blink-text {
  animation: blink 1s infinite;
  color: red !Important;
}

@keyframes blink {
  0%   { opacity: 1; }
  50%  { opacity: 0; }
  100% { opacity: 1; }
}



/* -------------------------------
    mednatroy disclouser page css start  
    --------------------------------*/




.ulockd-service-details h3 {
    padding: 10px 25px;
}
.ulockd-service-details p {
    padding: 0px 25px;
}

/* Only for Infrastructure Table */
.ulockd-about2 #table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: 'Segoe UI', sans-serif;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.ulockd-about2 #table th {
    background: linear-gradient(45deg, #0d6efd, #0b5ed7);
    color: #fff;
    padding: 14px 10px;
    font-size: 15px;
    text-transform: uppercase;
}

.ulockd-about2 #table td {
    padding: 12px 10px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #eee;
}

.ulockd-about2 #table tr:nth-child(even) {
    background-color: #e6e6e6;
}

.ulockd-about2 #table tr:hover {
    background-color: #eef5ff;
    transition: 0.3s ease;
}

.ulockd-about2 #table a {
    color: #0d6efd;
    font-size: 18px;
    transition: 0.3s;
}

.ulockd-about2 #table a:hover {
    color: #198754;
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
    .ulockd-about2 #table th,
    .ulockd-about2 #table td {
        font-size: 12px;
        padding: 8px;
    }
}

/*Subject offerd page css */

.subjects-section {
    background: #f8f9fa;
}

.section-title {
    margin-top: 30px;
    font-weight: 600;
}

.subject-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0 30px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.subject-table th {
    background: var(--primary);
    color: #fff;
    padding: 12px;
    text-align: center;
}

.subject-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
}

.subject-table tr:nth-child(even) {
    background: #f9f9f9;
}

.subject-table tr:hover {
    background: #eef5ff;
    transition: 0.3s;
}


.mandatory-disclosure-section{
    padding:30px 0;
    background:#fff;
}

.table-heading{
    text-align:center;
    margin-bottom:40px;
}

.table-heading h2{
    font-size:42px;
    font-weight:700;
    color:#1d3557;
}

.cbse-table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
    border:1px solid #e5e5e5;
}

.cbse-table thead{
    background:#f8f9fa;
}

.cbse-table th{
    padding:18px;
    text-align:left;
    font-size:16px;
    font-weight:700;
    color:#222;
    border-bottom:1px solid #e5e5e5;
}

.cbse-table td{
    padding:18px;
    border-bottom:1px solid #e5e5e5;
    color:#555;
    font-size:15px;
}

.cbse-table tbody tr:hover{
    background:#f8fbff;
}

.cbse-table th:first-child,
.cbse-table td:first-child{
    width:80px;
}

.table-responsive{
    overflow-x:auto;
    border-radius:10px;
    box-shadow:0 5px 25px rgba(0,0,0,.08);
}

@media(max-width:768px){

    .table-heading h2{
        font-size:30px;
    }

    .cbse-table th,
    .cbse-table td{
        padding:12px;
        font-size:14px;
    }
}

/*Subject offered page css end */



/* -------------------------------
    mednatroy disclouser page css End  
    --------------------------------*/
/* -------------------------------
   learning-by-doing css start
    --------------------------------*/



.learning-by-doing {
  padding: 60px 20px;
  text-align: center;
  background: #f9faff;
  font-family: 'Poppins', sans-serif;
}

.learning-by-doing h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.learning-by-doing .subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  flex: 1 1 220px;
  text-align: left;
  transition: transform 0.3s ease;
  border-bottom: 4px solid transparent;
}

.card:hover {
  transform: translateY(-5px);
  border-bottom-color: --var(primary);
  /* example hover color */
}

.card .icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}


/* -------------------------------
   learning-by-doing css End
    --------------------------------*/
    
    
    leptop video play section css start
    
    
    
    
    
/* ==========================
   
    leptop video play section css start
    
========================== */

.video-laptop-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.video-laptop-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.laptop-wrapper {
    width: 100%;
    max-width: 900px;
    margin: auto;
    position: relative;
}

/* Laptop Screen */

.laptop-screen {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
    border: 14px solid #222;
    border-bottom: 18px solid #222;
    border-radius: 14px 14px 0 0;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.laptop-screen::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #555;
    border-radius: 50%;
    z-index: 2;
}

.laptop-screen iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Laptop Base */

.laptop-base {
    position: relative;
    width: 108%;
    height: 18px;
    margin-left: -4%;
    background: linear-gradient(
        to bottom,
        #f1f1f1,
        #d9d9d9
    );
    border-radius: 0 0 24px 24px;
    box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}

.laptop-base::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: #9a9a9a;
    border-radius: 0 0 10px 10px;
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 991px) {

    .video-laptop-section {
        padding: 60px 15px;
    }

    .laptop-screen {
        border-width: 10px;
        border-bottom-width: 14px;
    }

    .laptop-base {
        height: 14px;
    }
}

@media (max-width: 767px) {

    .laptop-wrapper {
        max-width: 100%;
    }

    .laptop-screen {
        border-width: 8px;
        border-bottom-width: 12px;
        border-radius: 10px 10px 0 0;
    }

    .laptop-base {
        height: 12px;
        border-radius: 0 0 16px 16px;
    }

    .laptop-base::before {
        width: 80px;
        height: 4px;
    }
}

@media (max-width: 480px) {

    .video-laptop-section {
        padding: 40px 10px;
    }

    .laptop-screen {
        border-width: 6px;
        border-bottom-width: 10px;
    }

    .laptop-base {
        height: 10px;
    }
}
 
 /* ==========================
   
    leptop video play section css End
    
========================== */

 /* ===============================================
   
    facility mid  video play section css start
    
=============================================== */


.main-img-container {
    width: 100%;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 500px; /* Desktop Height */
    overflow: hidden;
    border-radius: 15px;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 15px;
}

/* Tablet */
@media (max-width: 991px) {
    .video-wrapper {
        height: 400px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .video-wrapper {
        height: 280px;
    }
}

 /* ===============================================
   
    facility mid  video play section css END
    
=============================================== */


 /* ===============================================
   
   home page full width  section css start
    
=============================================== */


.school-highlights{
    overflow:hidden;
}

.highlight-card{
    position:relative;
    height:550px;
    overflow:hidden;
}

.highlight-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.6s;
}

.highlight-card::before{
    content:'';
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
    z-index:1;
}

.highlight-card:hover img{
    transform:scale(1.08);
}

.school-overlay{
    position:absolute;
    left:0;
    right:0;
    top:50%;
    bottom: 0;
    text-align:center;
    color:#fff;
    padding:30px;
    z-index:2;
    background: #000000;
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 0) 72%);
}

.school-overlay h3{
    font-size:32px;
    font-weight:700;
    margin-bottom:15px;
}

.school-overlay span{
    display:block;
    width:80px;
    height:3px;
    background:#ffc107;
    margin:0 auto 20px;
}

.school-overlay p{
    font-size:16px;
    line-height:1.8;
}

@media(max-width:991px){
    .highlight-card{
        height:400px;
    }
}
.form-group {
    padding: 20px;
    display: flex;
    gap: 15px;
}
.btn-primary {
    background-color: #b4574e;
    border: none;
    color:#fff;
    padding: 12px 20px; 
}

 /* ===============================================
   
   home page full width  section css END
    
=============================================== */