/** ADD YOUR AWESOME CODES HERE **/


h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif; /* The "Academic" Look */
    color: var(--primary-navy);
    font-weight: 700;
}

:root {
    --primary-navy: #0C2D48;
    --accent-gold: #C5A065;
    --text-dark: #2E2E2E;
    --text-light: #666666;
    --bg-light: #F9F9F9;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: medium;
}

/* .section {
    padding: 80px 0; 
} */

.hero-eyebrow {
  color: #ffffff;
  font-weight: 300;
  font-size: x-large;
  margin-bottom: 7px;
  /* ↓ reduces space below subtitle */
}

.hero-title {
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 2px 15px rgba(0,0,0,0.7);;
}

.hero-eyebrow, 
.hero-title
{
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8) !important; /* Strong drop shadow */
    position: relative;
    z-index: 2; /* Ensures text is ON TOP of the overlay */
}



.fixed-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #001e3d;
  /* same as your header color */
}

.top-navbar {
  position: static;
  top: 0;
  z-index: 99999;
  background: linear-gradient(135deg, #001830, #001e3d);
  transition: all 0.3s ease-in-out;

}



.top-navbar .navbar {
  background: #001e3d !important;
  padding: 6px 0;
}


.history-timeline {
    position: relative;
    margin: 50px auto;
    padding: 40px 0;
    width: 1000px;
    box-sizing: border-box;
}

/* The Central Line */
.history-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 4px; 
    height: 100%;
    background: #f0f0f0; 
    top: 0;
    transform: translateX(-50%);
    border-radius: 10px;
}


.timeline-row {
    position: relative;
    margin-bottom: 100px;
}


.timeline-row::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 20px;
    width: 24px;
    height: 24px;
    background: #C5A065; 
    border-radius: 50%;
    transform: translateX(-50%);
    border: 5px solid #fff; 
    box-shadow: 0 0 0 1px #eee; 
    z-index: 10;
}


.timeline-content {
    width: 45%;
    background: #fff;
    border-radius: 12px; /* Softer corners */
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    padding: 25px;
    margin-left: 55%;
    border-top: 5px solid #C5A065; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.timeline-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(12, 45, 72, 0.15); /* Navy shadow tint */
}


.timeline-content .thumb {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #eee;
}

.timeline-content .thumb img {
    width: 100%;
    transition: transform 0.5s ease; /* Smooth zoom */
}

.timeline-content:hover .thumb img {
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Typography */
.timeline-content h4 {
    color: #0C2D48; /* Navy Title */
    font-family: 'Playfair Display', serif; /* Premium Font */
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- THE DATE STYLING --- */
.timeline-time {
    position: absolute;
    left: 50%;
    top: 15px; 
    transform: translateX(-140%); /* Position to left of center */
    font-size: 36px; /* Big Date */
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: #0C2D48; /* Navy Date (Matches Theme) */
    text-shadow: 2px 2px 0px rgba(197, 160, 101, 0.2); /* Subtle Gold Shadow */
    padding-right: 30px;
    text-align: right;
    width: 200px;
}



.timeline-row:nth-child(even) .timeline-content {
    margin-left: 0;
    text-align: right; /* Text aligns towards center */
}

.timeline-row:nth-child(even) .timeline-time {
    transform: translateX(40%); /* Move date to right side */
    text-align: left;
    padding-left: 30px;
}

/* Connector Arrows */
.timeline-content::before {
    content: '';
    position: absolute;
    top: 26px;
    width: 0; height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    z-index: 1;
}

.timeline-row:nth-child(odd) .timeline-content::before {
    left: -10px;
    border-right: 10px solid #C5A065; /* Gold Arrow pointing to line */
}

.timeline-row:nth-child(even) .timeline-content::before {
    right: -10px;
    border-left: 10px solid #C5A065; 
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 991px) {
    .history-timeline { width: 100%; padding: 0 20px; }
}

@media (max-width: 768px) {
    .history-timeline::before { left: 30px; } 
    .timeline-row::after { left: 30px; } 
    
    .timeline-row { margin-bottom: 60px; }

    /* Stack Content */
    .timeline-content {
        width: calc(100% - 60px); 
        margin-left: 60px !important;
        text-align: left !important;
    }
    
    /* Move Date inside or above */
    .timeline-time {
        position: relative;
        left: 60px;
        top: -10px;
        transform: none !important;
        text-align: left !important;
        font-size: 28px;
        margin-bottom: 5px;
        padding: 0;
        width: auto;
    }
    
    .timeline-content::before { display: none; } /* Hide arrows on mobile */
}






.vibrant-icon {
    width: 80px;
    height: 80px;
    background: #fff;
    color: #0C2D48;
    border-radius: 50%;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    box-shadow: 0 0 0 5px rgba(255,255,255,0.2); /* Glass ring effect */
}


.vibrant-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 36px;
    color: #0C2D48; /* Gold Title */
    margin-bottom: 20px;

}

.vibrant-text {
    font-size: 18px;
    font-style: italic;
    line-height: 1.8;
    color: #0C2D48; /* Soft White */
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
}


.vibrant-divider {
    position: relative;
    height: 1px;
    background: rgba(197, 160, 101, 0.5); 
    width: 200px;
    margin: 0 auto 30px auto;
    text-align: center;
}

.vibrant-divider span {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #0e3556; 
    padding: 0 10px;
    color: #C5A065;
}


.shape-1, .shape-2 {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05); 
    z-index: 0;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
}

.vibrant-title, .vibrant-text, .vibrant-icon, .vibrant-divider {
    position: relative;
    z-index: 2;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .heritage-card-vibrant {
        padding: 40px 20px;
    }
    .vibrant-title {
        font-size: 28px;
    }
}


/* .about-school {
    padding: 80px 0;
    background: #ffffff;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #222;
}

.about-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.about-points {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.about-points li {
    font-size: 16px;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #333;
}

.about-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #f4a300; 
    font-weight: bold;
}

.about-image img {
    border-radius: 8px;
} */

/* Why Choose Us */
.why-choose-us {
  margin-top: 40px;
}

.why-box {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border-bottom: 3px solid transparent;
}


.why-box:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--accent-gold);
}


.why-box i {
    color: var(--accent-gold);
    font-size: 40px;
    margin-bottom: 20px;
}

.why-box:hover i{
  color:  #001e3d;
}

.why-box h4 {
  font-weight: 700;
  margin-bottom: 10px;
}


/* Head of Institution */
/* .head-section img {
  border-radius: 12px;
}

.message-box h3 {
  margin-bottom: 15px;
  font-weight: 700;
} */

/* Head Section Styling */
.head-section-modern {
  padding: 35px 0;
  background: linear-gradient(to right, #f7f9fc, #ffffff);
  margin-top: 30px;
}

.head-name {
  margin-top: 0%;

}

/* Image */
.head-image {
position: relative;
    padding: 15px; 
    z-index: 1;
}

.head-image img {
 border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); 
    width: 100%;
    position: relative;
    z-index: 2; 
}

.head-image:hover img {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 3px solid var(--accent-gold);
}

.accent-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%; 
    height: 80%;
    border: 5px solid #C5A065; 
    z-index: 1; 
    border-radius: 4px;
}

.section-tag {
    color: #C5A065; 
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 13px;
    margin-bottom: 5px;
}

.section-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: #0C2D48; 
    font-weight: 700;
    margin-bottom: 15px;
}

.section-divider-gold {
    width: 60px;
    height: 3px;
    background: #C5A065;
    margin-bottom: 25px;
}

.head-name {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #0C2D48;
    font-weight: 700;
    margin-bottom: 5px;
}

.head-designation {
    font-style: italic;
    color: #666;
    font-size: 15px;
    margin-bottom: 20px;
}

.head-bio p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

.head-content {
  background: #ffffff;
  padding: 50px 60px;
  border: 2px solid #C5A065;
  border-radius: 12px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.head-content h6 {
 font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: brown;
    margin-bottom: 5px;
    font-weight: 700;
}

.head-section {
  display: flex;
  align-items: flex-start; 
  gap: 40px;
}

.head-name {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--primary-navy);
    margin-bottom: 5px;
    font-weight: 700;
}

.head-content h2 {
  font-weight: 700;
  margin: 5px 0 20px;
  color: #001e3d;
}

.head-content p {
  color: #555;
  line-height: 1.8;
  font-size: 16px;
  
}

.head-designation {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 25px;
}

.signature {
  margin-top: 20px;
  font-weight: 600;
  color: #000;
}

.head-stats {
  display: flex;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.stat-box {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f8f9fc;
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-5px);
}

.stat-box i {
  font-size: 36px;
  color: #b07c43;

}

.stat-box h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.stat-box p {
  margin: 0;
  font-size: 14px;
  color: #555;
}

.section.cl {
    background: var(--primary-navy); 
    color: #fff;
}

.stat-wrap row {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    /* padding-bottom: 30px; */
}

/* Section Heading */
.section-tag {
  color: #f57c00;
  font-weight: 600;
  letter-spacing: 1.5px;
  font-size: 14px;
  margin-bottom: 2px;
  text-transform: uppercase;
}

/* Main Title */
.section-title {
  font-size: 38px;
  font-weight: 800;
  color: #001e3d;
  margin-bottom: 12px;
  line-height: 1.2;
}

/* Headmistress Name */
.head-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 2px;
 
  color: #333;
}

/* Designation */
.head-designation {
  font-size: 15px;
  color: #777;
  margin-bottom: 18px;
  
}

/* Paragraph Text */
.head-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

.lead{
  padding-bottom: 20px;
}

.section-divider {
  width: 100%;
  height: 60px;
  background: linear-gradient(to bottom, #ffffff, #f5f5f5);
}

.latest-activity {
  background: #f3f5f9;
  padding: 100px 0;
  border-top: 1px solid #e6e9ef;
  border-bottom: 1px solid #e6e9ef;
}


.latest-activity .section-title h3 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 50px;
  color: #532604;
}

/* Card Wrapper */
.activity-box {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 30px;
}

.activity-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.activity-img {
    height: 220px;
    overflow: hidden;
}

.activity-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.activity-box:hover .activity-img img {
    transform: scale(1.1); /* Zoom effect */
}

.activity-content {
    padding: 25px;
    text-align: left;
}

.activity-content h4 {
    color: var(--primary-navy);
    font-size: 20px;
    margin-bottom: 10px;
}

.activity-content span {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 14px;
    margin-top: 15px;
    display: inline-block;
}.activity-box {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 30px;
}

.activity-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.activity-img {
    height: 220px;
    overflow: hidden;
}

.activity-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.activity-box:hover .activity-img img {
    transform: scale(1.1); /* Zoom effect */
}

.activity-content {
    padding: 25px;
    text-align: left;
}

.activity-content h4 {
    color: var(--primary-navy);
    font-size: 20px;
    margin-bottom: 10px;
}

.activity-content span {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 14px;
    margin-top: 15px;
    display: inline-block;
}

/* Mobile Fix */
@media (max-width: 768px) {
  .activity-img img {
    height: 200px;
  }
}



.why-box i {
  font-size: 45px;
  color: #f57c00;
  
  transition: all 0.3s ease;
}


.why-box:hover i {
  color: #1f4bd8;
 
  transform: scale(1.2);
}


.why-box {
  transition: all 0.3s ease;
}

.why-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* .testi-carousel .testimonial .desc {
  background-color: rgba(0, 30, 61, 0.92) !important;
  padding: 32px 36px !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45) !important;
  text-align: center !important;
}

.testi-carousel .testimonial .desc::before,
.testi-carousel .testimonial .desc::after {
  background: transparent !important;
} */






.school-footer {
  background-color: #001e3d;
  color: #001e3d;
  font-size: 14px;
}

/* Top Section */
.footer-main {
  padding: 60px 0;
  background-color: #001e3d;
  background-image: none;
  background-size: cover;
}

.footer-main h4 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-main hr {
  border-top: 2px solid #f5b01f;
  width: 50px;
  margin-left: 0;
}

.footer-main p {
  color: #dcdcdc;
  line-height: 1.7;
}

.footer-main i {
  color: #f5b01f;
  margin-right: 8px;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links li a {
  color: #dcdcdc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links li a:hover {
  color: #f5b01f;
}

/* Map */
.footer-main iframe {
  border-radius: 4px;
}

.stat_count {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
}

.about-hero {
  position: relative;
  height: 350px;
  background: url("../images/aboutbg1.jpg") no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-hero .hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
   
    background: linear-gradient(rgba(24, 34, 50, 0.417), rgba(19, 46, 69, 0.7)); 
}

/* Text container */
.about-hero .hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  z-index: 2;
  padding: 20px;
}

.about-hero h1 {
  font-family: 'Playfair Display', serif;
  color: #f3eded;
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-subtitle {
    color: #C5A065;
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 14px;
    margin-bottom: 10px;
}

.hero-divider {
    height: 3px;
    width: 80px;
    background: #C5A065;
    margin: 0 auto 20px auto;
}

.hero-desc {
    font-family: 'Playfair Display', serif; 
    font-style: italic;
    font-size: 24px;
    color: rgba(255,255,255,0.9);
}

.inner-hmv:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(12, 45, 72, 0.1);
}


.premium-img-wrap {
    position: relative;
    margin: 15px;
    z-index: 1;
    display: inline-block; 
}

/* 1. The Image Styling */
.premium-img-wrap img {
    border-radius: 8px;
    
    box-shadow: 0 5px 15px rgba(0,0,0,0.08); 
    transition: all 0.4s ease; 
    position: relative;
    z-index: 2;
    display: block;
}


.premium-img-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* The Gold Styling */
    border: 2px solid #C5A065; 
    border-radius: 8px;
    
    z-index: 1; 
    opacity: 0;
    
   
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translate(0, 0); 
}




.premium-img-wrap:hover img {
    transform: translate(-5px, -5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15); 
}


.premium-img-wrap:hover::after {
    opacity: 1;
   
    transform: translate(15px, 15px); 
}

.hover-btn-new.orange span {
    z-index: 2;
    position: relative;
}
.breadcrumb-hero {
  background: #f5f5f5;
  padding: 14px 0;
  border-bottom: 1px solid #ddd;
}

.breadcrumb-hero p {
  margin: 0;
  font-size: 15px;
  color: #555;
  font-weight: 500;
}

.breadcrumb-hero a {
  color: #f4a300;
 
  text-decoration: none;
}

.breadcrumb-hero a:hover {
  text-decoration: underline;
}

.breadcrumb-hero span {
  color: #777;
}

.breadcrumb-hero {
  background: #f4f6f8;
  padding: 14px 0;
  font-size: 14px;
}

.breadcrumb-hero a {
  color: #e74c3c;
  text-decoration: none;
}

.goals-title {
    color: #0C2D48;
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
}

.goals-subtitle {
    font-size: 20px;
    color: #555;
    line-height: 1.6;
    margin-top: 20px;
}



.contact-box {
  border: 1px solid #ff4b3a;
  padding: 30px 20px;
  border-radius: 8px;
  transition: 0.3s;
}

.contact-box i {
  font-size: 30px;
  color: #ff4b3a;
  margin-bottom: 10px;
}

.contact-box h4 {
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-info-section {
  margin-top: 80px;
 
  padding-bottom: 60px;
}

.contact-box {
  background: #fff;
  border-radius: 10px;
  padding: 35px 25px;
  text-align: center;
  border: 1px solid #eee;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}


.contact-box i {
  font-size: 36px;
  color: #ff4d2d;
  margin-bottom: 15px;
  transition: 0.3s ease;
}

/* Title */
.contact-box h4 {
  font-weight: 600;
  margin-bottom: 10px;
}


.contact-box:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: #ff4d2d;
}


.contact-box:hover i {
  transform: scale(1.2) rotate(5deg);
  color: #ff6a00;
}

.social-icons {
  margin-top: 15px;
  text-align: center;
}

.social-icons a {
  display: inline-block;
  width: 48px;
  height: 48px;
  line-height: 48px;
  border-radius: 50%;
  font-size: 22px;
  color: #fff;
  margin: 0 10px;
  transition: 0.3s ease;
}

/* Facebook */
.social-icons a.facebook {
  background: #1877f2;
}

/* YouTube */
.social-icons a.youtube {
  background: #ff0000;
}

/* Hover Effect */
.social-icons a:hover {
  transform: translateY(-6px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* HERO SECTION */
.all-title-box {
  position: relative;
  height: 350px;
  background: url("../images/teacherhero.jpg") no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}


.all-title-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}


.all-title-box .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.all-title-box h1 {
  font-size: 46px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 80px;
}

.all-title-box h1 span {
  display: block;
  font-size: 18px;
  font-weight: 400;
  color: #f1f1f1;
  margin-top: 10px;
}

/* Breadcrumb Section */
.breadcrumb-area {
  background: #f6f6f6;
  padding: 15px 0;
}

.breadcrumb {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 8px;
  font-size: 15px;
}

.breadcrumb li {
  color: #666;
}

.breadcrumb li a {
  color: #ff5a2c;
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb li a:hover {
  text-decoration: underline;
}

.breadcrumb li::after {
  content: "/";
  margin-left: 8px;
  color: #aaa;
}

.breadcrumb li:last-child::after {
  content: "";
}

.breadcrumb li.active {
  color: #222;
  font-weight: 600;
}

html {
  scroll-behavior: smooth;
}

.slider-area,
.slider-content,
.slider-content * {
  pointer-events: auto;
}

.slider-overlay {
  pointer-events: none;
}

.hover-btn-new {
  position: relative;
  z-index: 9999;
}

/* Subjects Page Hero */
.subjects-hero {
  background: url("../images/subjects2.jpg") no-repeat center center;
  background-size: cover;
  height: 300px;
  position: relative;
}

/* Dark overlay */
.subjects-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

/* Text above overlay */
.subjects-hero * {
  position: relative;
  z-index: 2;
}

.subjects-title {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
}

/* Animated underline */
.subjects-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 80px;
  height: 4px;
  background: #f9b233;
  border-radius: 3px;
  animation: underlineGrow 1s ease-out forwards;
  animation-delay: 0.3s;
  box-shadow: 0 0 10px rgba(249, 178, 51, 0.6);


}

/* Animation */
@keyframes underlineGrow {
  from {
    transform: translateX(-50%) scaleX(0);
  }

  to {
    transform: translateX(-50%) scaleX(1);
  }
}

/* Hero text animation */
.hero-eyebrow,
.hero-title,
.big-tagline .lead {
  opacity: 0;
  transform: translateY(30px);
}

/* Active animation */
.animate-hero .hero-eyebrow {
  animation: fadeUp 0.8s ease forwards;
}

.animate-hero .hero-title {
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.2s;
}

.animate-hero .lead {
  animation: fadeUp 1.2s ease forwards;
  animation-delay: 0.4s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons animation */
.animate-hero .slide-btn {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUpBtn 1.2s ease forwards;
}

.animate-hero .slide-btn:nth-child(1) {
  animation-delay: 0.6s;
}

.animate-hero .slide-btn:nth-child(2) {
  animation-delay: 0.8s;
}

@keyframes fadeUpBtn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.about-hero h1,
.about-hero p {
  opacity: 0;
  transform: translateY(30px);
}

/* Animation trigger */
.about-hero.animate h1 {
  animation: fadeUp 1s ease forwards;
}

.about-hero.animate p {
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.3s;
}

/* Animation keyframes */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Our Goals Animation */
.goals-title {
  font-size: 40px;
  font-weight: 700;
  position: relative;
  display: inline-block;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}

/* Animated underline */
.goals-title::after {
  content: "";
  display: block;
  width: 0;
  height: 4px;
  background: #f9b233;
  margin: 12px auto 0;
  border-radius: 3px;
  animation: underlineGrow 1s ease forwards;
  animation-delay: 0.4s;
}

.goals-subtitle {
  font-size: 17px;
  color: #666;
  margin-top: 15px;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.6s;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes underlineGrow {
  from {
    width: 0;
  }

  to {
    width: 80px;
  }
}


.why-title {
  font-size: 38px;
  font-weight: 700;
  position: relative;
  display: inline-block;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}


.why-title::after {
  content: "";
  display: block;
  width: 0;
  height: 4px;
  background: #f9b233;
  margin: 12px auto 0;
  border-radius: 3px;
  animation: underlineGrow 1s ease forwards;
  animation-delay: 0.4s;
}

.why-subtitle {
  font-size: 17px;
  color: #666;
  margin-top: 15px;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.6s;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes underlineGrow {
  from {
    width: 0;
  }

  to {
    width: 80px;
  }
}

/* Initially hidden */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
}

/* Activated on scroll */
.animate-on-scroll.show {
  opacity: 1;
  transform: translateY(0);
  transition: all 1s ease;
}

/* Title */
.why-title {
  font-size: 38px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

/* Animated underline */
.why-title::after {
  content: "";
  display: block;
  width: 0;
  height: 4px;
  background: #f9b233;
  margin: 12px auto 0;
  border-radius: 3px;
  transition: width 1s ease;
}

/* When visible */
.animate-on-scroll.show .why-title::after {
  width: 80px;
}

/* Subtitle */
.why-subtitle {
  font-size: 17px;
  color: #666;
  margin-top: 15px;
}


.history-section {
  text-align: center;
  padding: 80px 20px;
  max-width: 900px;
  margin: auto;
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}

.history-section.show {
  opacity: 1;
  transform: translateY(0);
}


.history-title {
  font-size: 42px;
  font-weight: 700;
  position: relative;
  display: inline-block;
  margin-bottom: 25px;
}

/* Animated underline */
.history-title::after {
  content: "";
  width: 0;
  height: 4px;
  background: #f9b233;
  display: block;
  margin: 12px auto 0;
  border-radius: 3px;
  transition: width 1s ease;
}

.history-section.show .history-title::after {
  width: 90px;
}

/* Paragraph */
.history-text {
  font-size: 17px;
  line-height: 1.8;
  color: #666;
  max-width: 800px;
  margin: auto;
}


.activity-title {
  font-size: 38px;
  font-weight: 700;
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.9s ease;
}

/* Underline */
.activity-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  background: #f9b233;
  border-radius: 4px;
  transition: width 0.8s ease;
}

/* Active animation */
.school-activities.show .activity-title {
  opacity: 1;
  transform: translateY(0);
}

.school-activities.show .activity-title::after {
  width: 90px;
}

/* Teachers Hero Animation */
.teacher-title {
  font-size: 46px;
  font-weight: 700;
  color: #fff;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.9s ease;
  position: relative;
}

/* Subtitle */
.teacher-title .m_1 {
  display: block;
  font-size: 18px;
  font-weight: 400;
  margin-top: 10px;
  color: #f1f1f1;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.9s ease 0.3s;
}

/* Underline */
.teacher-title::after {
  content: "";
  width: 0;
  height: 4px;
  background: #f9b233;
  display: block;
  margin: 15px auto 0;
  border-radius: 3px;
  transition: width 0.8s ease 0.4s;
}

/* Active animation */
.teachers-hero.animate .teacher-title {
  opacity: 1;
  transform: translateY(0);
}

.teachers-hero.animate .teacher-title .m_1 {
  opacity: 1;
  transform: translateY(0);
}

.teachers-hero.animate .teacher-title::after {
  width: 90px;
}




.course-hero {
  position: relative;
  height: 350px;
  background: url("../images/eventshero.jpg") no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Dark overlay */
.course-hero-overlay {
position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
  
    background: linear-gradient(rgba(24, 34, 50, 0.417), rgba(19, 46, 69, 0.7)); 
}

/* Content */
.course-hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  z-index: 2;
  animation: fadeUp 1.2s ease forwards;
}

/* Title */
.course-title {
  color: white;
  font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Subtitle */
.course-subtitle {
  font-family: 'Playfair Display', serif; /* Italic serif for quote */
    font-style: italic;
    font-size: 24px;
    color: rgba(255,255,255,0.9);
}

/* Animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Animation Base */
.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.9s ease;
}


.scroll-animate.show {
  opacity: 1;
  transform: translateY(0);
}


.course-title::after {
  content: "";
  display: block;
  width: 0;
  height: 4px;
  background: #f9b233;
  margin: 12px auto 0;
  transition: width 0.8s ease;
}

.scroll-animate.show .course-title::after {
  width: 80px;
}

/* Breadcrumb Wrapper */
.breadcrumb-wrapper {
  background: #f7f7f7;
  padding: 12px 0;
  border-bottom: 1px solid #e5e5e5;
}


.breadcrumb {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  font-size: 14px;
  font-weight: 500;
}


.breadcrumb li {
  color: #555;
}


.breadcrumb li+li::before {
  content: "/";
  padding: 0 10px;
  color: #aaa;
}


.breadcrumb a {
  color: #f9b233;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #d18f1f;
}


.breadcrumb .active {
  color: #333;
  font-weight: 600;
}


.course3-hero {
  position: relative;
  height: 350px;
  background: url('../images/testimonials.png') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Overlay */
.course3-overlay {
position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Gradient from Navy to Transparent Navy */
    background: linear-gradient(rgba(24, 34, 50, 0.417), rgba(19, 46, 69, 0.7)); 

}

/* Content */
.course3-content {
  position: relative;
  text-align: center;
  color: #fff;
  z-index: 2;
  animation: fadeSlideUp 1s ease forwards;
}

/* Title */
.course3-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
  position: relative;
  opacity: 0;
  animation: fadeUp 1.2s ease forwards;
}

/* Underline */
.course3-underline {
  display: block;
  width: 0;
  height: 4px;
  background: #f9b233;
  margin: 12px auto 0;
  border-radius: 3px;
  animation: underlineGrow 1s ease forwards;
  animation-delay: 0.6s;
}

/* Subtitle */
.course3-subtitle {
   font-family: 'Playfair Display', serif; /* Italic serif for quote */
    font-style: italic;
    font-size: 24px;
    color: rgba(255,255,255,0.9);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes underlineGrow {
  from {
    width: 0;
  }

  to {
    width: 90px;
  }
}


.gallery-hero-4 {
  position: relative;
  height: 350px;
  background: url('../images/social.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery-hero-content {
  position: relative;
  z-index: 2;
}


/* Overlay */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

/* Content */
.gallery-hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease;
}

/* Title */
.gallery-hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  position: relative;
  display: inline-block;
}

/* Underline */
.gallery-underline {
  display: block;
  width: 0;
  height: 4px;
  background: #f9b233;
  margin: 12px auto 0;
  border-radius: 3px;
  transition: width 0.8s ease;
}

/* Subtitle */
.gallery-hero-subtitle {
  font-size: 18px;
  margin-top: 15px;
  color: #f2f2f2;
}

/* Animate on scroll */
.gallery-hero-4.show .gallery-hero-content {
  opacity: 1;
  transform: translateY(0);
}

.gallery-hero-4.show .gallery-underline {
  width: 90px;
}

.pricing-hero {
  position: relative;
  padding: 120px 0;
  background: url("../images/school11.jpg") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.pricing-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.pricing-hero .container {
  position: relative;
  z-index: 2;
}

/* TITLE */
.pricing-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
  opacity: 0;
  color: #fff;
  transform: translateY(30px);
  transition: 0.8s ease;
}

/* UNDERLINE */
.pricing-underline {
  width: 0;
  height: 4px;
  background: #f9b233;
  margin: 8px auto;
  border-radius: 5px;
  transition: width 0.8s ease 0.4s;
  /* delayed */
}

/* SUBTITLE */
.pricing-subtitle {
  font-size: 18px;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.8s ease 0.8s;
 
  margin-top: 6px;
}

/* ACTIVE STATE */
.pricing-hero.animate .pricing-title {
  opacity: 1;
  transform: translateY(0);
}

.pricing-hero.animate .pricing-underline {
  width: 90px;
}

.pricing-hero.animate .pricing-subtitle {
  opacity: 1;
  transform: translateY(0);
}

/* SECTION */
.events-section {
  padding: 60px 0;
  text-align: center;
}

/* TITLE */
.event-title-wrap {
  margin-bottom: 35px;
}

.section-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.section-heading h2 {
  font-size: 38px;
  font-weight: 700;
  color: #551717;
  animation: zoomFade 0.6s ease forwards;
}

/* Lines */
.section-heading .line {
  width: 60px;
  height: 3px;
  background: #750202;
  position: relative;
  overflow: hidden;
}

.section-heading .line::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #cd2121;
  left: -100%;
  animation: lineSlide 0.8s ease forwards;
}

/* Quote */
#eventQuote {
  margin-top: 8px;
  font-size: 17px;
  color: #666;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

/* Event Tabs */
.event-tabs {
  margin: 30px 0;
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.event-tabs span {
  cursor: pointer;
  font-weight: 500;
  color: #555;
  position: relative;
  padding-bottom: 4px;
}

.event-tabs span.active {
  color: #e74c3c;
}

.event-tabs span.active::after {
  content: "";
  width: 100%;
  height: 2px;
  background: #e74c3c;
  position: absolute;
  bottom: 0;
  left: 0;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.gallery img {
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.4s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}


.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
}

/* Animations */
@keyframes zoomFade {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lineSlide {
  to {
    left: 0;
  }
}


/* Scroll Reveal Base */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Slight delay variations */
.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

.delay-3 {
  transition-delay: 0.6s;
}


.fade-text {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeTextUp 1s ease forwards;
  animation-delay: 0.6s;
}

@keyframes fadeTextUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.course-item {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.course-item.show {
  opacity: 1;
  transform: translateY(0);
}


.course-item:hover {
  transform: translateY(-8px);
  transition: 0.4s ease;
}

/* Card animation */
.course-item {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.course-item.show {
  opacity: 1;
  transform: translateY(0);
}

/* Fade text animation */
.fade-text {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeText 1s ease forwards;
}

@keyframes fadeText {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.blog-item {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
  border-radius: 6px;
}


.blog-item.show {
  opacity: 1;
  transform: translateY(0);
}


.blog-item:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-6px);
}

/* Image zoom effect */
.blog-item .image-blog img {
  transition: transform 0.5s ease;
}

.blog-item:hover .image-blog img {
  transform: scale(1.05);
}


.section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; 
    margin-bottom: 15px;
    overflow: hidden; /* Prevents scrollbar during animation */
}


.section-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: #0C2D48; 
    margin: 0;
    white-space: nowrap;
    transition: opacity 0.4s ease;
}

/* The Animated Lines */
.section-heading .line {
    display: block;
    height: 3px;      
    width: 80px;     
    background-color: #C5A065;
    border-radius: 2px;
    
    
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
}
/* --- Typography --- */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: #0C2D48; 
    margin-bottom: 15px;
}

/* 1. Title Transition */
.section-heading h2 {
  
    transition: opacity 0.4s ease, transform 0.4s ease; 
}


.gallery-img-wrap img {
   
    width: 100%;
    height: 100%;
    object-fit: cover;
    
 
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    
    opacity: 1;
    transform: scale(1);
}

.section-subtitle {
    font-family: 'Lato', sans-serif;
    font-style: italic;
    color: #666;
    font-size: 18px;
    margin-bottom: 30px;
    margin-top: auto;
}



#eventQuote {
    font-family: 'Lato', sans-serif;
    font-style: italic;
    color: #666;
    font-size: 18px;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    padding: 0 20px; /* Make space for the quotes */
}

/* The Opening Quote */
#eventQuote::before {
    content: '“';          
    font-family: serif;   
    font-size: 40px;      
    color: #C5A065;       
    position: absolute;
    top: -15px;            
    left: -10px;           
    line-height: 1;
}

/* The Closing Quote */
#eventQuote::after {
    content: '”';          /* Big Closing Quote Symbol */
    font-family: serif;
    font-size: 40px;
    color: #C5A065;        /* Gold Color */
    position: absolute;
    bottom: -25px;         /* Move it down */
    right: -10px;          /* Move it right */
    line-height: 1;
}
/* --- Filter Pills (Tabs) --- */
.event-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 1px solid #0C2D48;
    border-radius: 10px; /* Pill Shape */
    padding: 10px 30px;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.tab-btn:hover {
    border-color: #0C2D48;
    color: #0C2D48;
    
    transform: translateY(-2px);
}

.tab-btn.active {
    /* background: #0C2D48; Navy Active Background */
    color: #0C2D48;
    border-color: #0C2D48;
    box-shadow: 0 5px 15px rgba(12, 45, 72, 0.3);
}

/* --- Gallery Cards --- */
.gallery-item {
    background: #fff;
    padding: 10px; /* Creates the white frame */
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.gallery-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    height: 260px; /* Forces all images to same height */
}

.gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Prevents stretching */
    transition: transform 0.6s ease;
}

/* Zoom Effect */
.gallery-item:hover .gallery-img-wrap img {
    transform: scale(1.1);
}

/* Overlay Icon */
.gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(12, 45, 72, 0.6); /* Navy Tint */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: #C5A065; /* Gold Icon */
    font-size: 30px;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* .events-section .row {
    margin-top: 20px;
    padding-bottom: 20px;
} */

.row {
  margin-left: -16px;
  margin-right: -16px;
  padding-left: 16px;
  padding-right: 16px;
  
}

.testimonial-desc {
    background: #001e3d;
    padding: 32px 36px;
    border-radius: 12px;
    text-align: center;
}

.infra-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
    border-bottom: 4px solid transparent; /* Prepare for hover border */
}

.infra-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(12, 45, 72, 0.12);
    border-bottom: 4px solid #C5A065; /* Gold Bottom Border on Hover */
}

.infra-img-wrap {
    height: 220px;
    overflow: hidden;
}

.infra-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.infra-card:hover .infra-img-wrap img {
    transform: scale(1.1); /* Subtle Zoom */
}

/* --- Content & Icon --- */
.infra-content {
    padding: 30px 25px 25px;
    position: relative;
    text-align: center;
}

/* The Floating Icon Circle */
.icon-circle {
    width: 60px;
    height: 60px;
    background: #0C2D48; /* Navy */
    color: #C5A065;      /* Gold Icon */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    
    /* Position it halfway overlapping the image */
    position: absolute;
    top: -30px; 
    left: 50%;
    transform: translateX(-50%);
    
    border: 4px solid #fff; /* White ring to separate from image */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.infra-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #0C2D48;
    margin-top: 15px; /* Make space for the icon */
    margin-bottom: 10px;
    font-weight: 700;
}

.infra-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- Section Title --- */
.academic-heading {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #0C2D48;
}
.center-gold-line {
    width: 50px;
    height: 3px;
    background: #C5A065;
    margin: 15px auto;
}


.academic-sub{
  font-style: italic;
}



.magazine-card {
    position: relative;
    margin-bottom: 20px; /* Space for the floating effect */
    transition: transform 0.3s ease;
}

/* 1. The Image Area */
.mag-img-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 260px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 1; /* Sits behind the content box */
}

.mag-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* 2. The Floating Badge (Top Left) */
.category-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #C5A065; /* Gold */
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 15px;
    border-radius: 50px;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* 3. The Floating Content Box (The Magic Part) */
.mag-content {
    background-color: #fff;
    width: 85%; /* Narrower than image */
    margin: -30px auto 0; /* Pulls it UP over the image */
    padding: 25px;
    position: relative;
    z-index: 2; /* Sits ON TOP of image */
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.mag-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #0C2D48; /* Navy */
    margin-bottom: 15px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.mag-divider {
    height: 3px;
    width: 40px;
    background-color: #C5A065; /* Gold Line */
    margin: 0 auto 15px auto;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.mag-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.read-more-link {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #C5A065;
    text-decoration: none !important;
    transition: color 0.3s ease;
}




.magazine-card:hover .mag-img-wrap img {
    transform: scale(1.1);
}

/* Turn Card Navy */
.magazine-card:hover .mag-content {
    background-color: #0C2D48; 
    transform: translateY(-5px); 
}

/* Invert Colors on Hover */
.magazine-card:hover .mag-content h4 {
    color: #fff;
}

.magazine-card:hover .mag-content p {
    color: rgba(255, 255, 255, 0.8);
}

/* Expand Divider on Hover */
.magazine-card:hover .mag-divider {
    width: 60px;
    background-color: #fff; /* Line turns white */
}

.magazine-card:hover .read-more-link {
    color: #C5A065; /* Keep Gold or turn White */
}


.lightbox-overlay {
    display: none; /* Hidden by default */
    position: fixed; 
    z-index: 100000; /* Higher than Navbar (9999) */
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: hidden; 
    background-color: rgba(12, 45, 72, 0.95); /* Deep Navy Overlay */
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Animation for opening */
.lightbox-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

/* The Image itself */
.lightbox-content {
    display: block;
    max-width: 90%;
    max-height: 85vh; 
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 4px solid #fff;
    animation: zoomIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


.close-lightbox {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
    z-index: 100001;
}

.close-lightbox:hover {
    color: #C5A065; 
    transform: rotate(90deg);
}

/* Keyframes */
@keyframes fadeIn { from {opacity: 0} to {opacity: 1} }
@keyframes zoomIn { from {transform: scale(0.9)} to {transform: scale(1)} }

.gallery-hero-subtitle {
    font-family: 'Playfair Display', serif; 
    font-style: italic;
    font-size: 24px;
    color: rgba(255,255,255,0.9);
}

.galleryhero-overlay{
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    
    background: linear-gradient(rgba(24, 34, 50, 0.417), rgba(19, 46, 69, 0.7)); 
}




/* --- The Rule Card --- */
.rule-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.3s ease;
    border-top: 4px solid #C5A065; /* Gold Top Border */
}

.rule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(12, 45, 72, 0.1);
}

/* --- Card Header --- */
.rule-header {
    background-color: #f8f9fa; /* Very light grey */
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
}

.rule-header i {
    color: #0C2D48; /* Navy Icon */
    font-size: 24px;
}

.rule-header h4 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    color: #0C2D48;
    font-weight: 700;
    font-size: 20px;
}

/* --- Card Body & List --- */
.rule-body {
    padding: 25px;
}

.premium-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.premium-list li {
    position: relative;
    padding-left: 30px; /* Space for bullet */
    margin-bottom: 15px;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

/* Custom Gold Arrow Bullet */
.premium-list li::before {
    content: "\f054"; /* FontAwesome Chevron Right */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: #C5A065; /* Gold Bullet */
    font-size: 12px;
}

/* Strong text emphasis */
.premium-list li strong {
    color: #0C2D48;
    font-weight: 700;
}

/* --- Download Strip --- */
.download-strip {
    background: #0C2D48; /* Navy Background */
    color: #fff;
    padding: 40px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

/* Decorative Gold Circle in background */
.download-strip::after {
    content: '';
    position: absolute;
    right: -50px;
    top: -50px;
    width: 200px;
    height: 200px;
    border: 20px solid rgba(197, 160, 101, 0.1); /* Transparent Gold */
    border-radius: 50%;
}

.download-strip h4 {
    color: #fff; /* White Text */
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 10px;
}

.download-strip p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0;
}

/* Reusing your Premium Button */
.btn-premium.gold {
    background-color: #C5A065;
    color: #fff;
    padding: 12px 30px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    border: 2px solid #C5A065;
}

.btn-premium.gold:hover {
    background-color: transparent;
    color: #C5A065;
}


@media (max-width: 768px) {
    .download-strip .text-right {
        text-align: left !important;
        margin-top: 20px;
    }
}



/* 1. Define the Animation (Float Up) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px); /* Start 40px lower */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* End in natural position */
    }
}

/* 2. Apply to Rule Cards */
.rule-card {
    opacity: 0; 
    
    
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}




.row .col-lg-6:nth-child(1) .rule-card {
    animation-delay: 0.2s;
}

/* 2nd Card */
.row .col-lg-6:nth-child(2) .rule-card {
    animation-delay: 0.4s;
}

/* 3rd Card */
.row .col-lg-6:nth-child(3) .rule-card {
    animation-delay: 0.6s;
}

/* 4th Card */
.row .col-lg-6:nth-child(4) .rule-card {
    animation-delay: 0.8s;
}

/* 4. Animate the Download Strip at the bottom too */
.download-strip {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 1.0s; /* Comes in last */
}



.page-hero-section {
    position: relative;
    height: 400px; /* Consistent height for all sub-pages */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

/* The Dark Navy Gradient Fade */
.hero-overlay-gradient {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
 
    background: linear-gradient(90deg,  rgba(12, 45, 72, 0.7) 20%, rgba(12, 45, 72, 0.2) 100%);
    z-index: 1;
}

/* Ensure Text Sits Above Gradient */
.page-hero-section .container {
    position: relative;
    z-index: 2;
}

/* Typography */
.hero-tag {
    color: #C5A065; /* Gold */
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 13px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-main-title {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* The Gold Divider Line */
.hero-divider-gold {
    width: 0px;
    height: 4px;
    background: #C5A065;
    margin-bottom: 25px;
    border-radius: 2px;
    animation: expandLine 1s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    animation-delay: 0.3s;
}

.hero-subtext {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.6;
    max-width: 700px;
    opacity: 0;
    animation: fadeInText 1s ease forwards;
    animation-delay: 0.6s;
}

/* Animation Keyframes */
@keyframes expandLine {
    to { width: 80px; }
}

@keyframes fadeInText {
    to { opacity: 1; transform: translateY(0); }
}



.first-section::before, 
.dtab::before {
    background: none !important;
    display: none !important;
}

/* 2. The New Gradient Overlay */
.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
   
    background: linear-gradient(
        90deg, 
        rgba(12, 45, 72, 0.5) 0%,    
        rgba(12, 45, 72, 0.3) 40%,    
        rgba(12, 45, 72, 0.0) 100%    
    );
    
    z-index: 1; /* Sits on top of image, below text */
}


.dtab .container {
    position: relative;
    z-index: 2;
}


.hero-title, 
.hero-eyebrow {
    text-shadow:0 2px 15px rgba(0,0,0,0.7);
}




/* Mobile Fix for Table Header */
.custom-table th small {
    display: block;
    font-weight: 400;
    color: #777;
    margin-top: 5px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}




.custom-table {
    min-width: 900px; /* Forces scroll on small screens */
}

.custom-table th {
    background-color: #f1f1f1;
    color: #0C2D48; /* Navy */
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
    padding: 10px;
    font-size: 13px;
    border-bottom: 3px solid #C5A065; /* Gold Header Line */
}

.custom-table td {
    text-align: center;
    vertical-align: middle;
    padding: 12px;
    font-size: 13px;
    color: #444;
}

/* Day Column (Sticky Left) */
.custom-table .day-col {
    background-color: #0C2D48;
    color: #fff;
    font-weight: 700;
    position: sticky;
    left: 0;
    z-index: 2; /* Keeps it on top while scrolling */
}

/* Tiffin Column */
.custom-table .break-col {
    background-color: #fffbf2; /* Light Gold Tint */
    color: #C5A065;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 1px;
    vertical-align: middle;
    border-left: 2px double #eee;
    border-right: 2px double #eee;
}

/* Time slots small text */
th small {
    display: block;
    font-size: 11px;
    color: #666;
    margin-top: 4px;
    font-weight: 400;
}


.routine-container {
    animation: fadeIn 0.5s ease-in-out;
}

.routine-header {
    background: #0C2D48; /* Navy */
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px 8px 0 0; /* Rounded top only */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.routine-header h4 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #C5A065; /* Gold Text */
}

.routine-header span {
    font-size: 14px;
    opacity: 0.8;
}

.teacher-title {
  color: white;
  font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Subtitle */
.teacher-subtitle {
  font-family: 'Playfair Display', serif; /* Italic serif for quote */
    font-style: italic;
    font-size: 40px;
    color: rgba(255,255,255,0.9);
}



.notice-admin-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 50px 50px 50px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    padding: 0;
    height: 100%; 
}

.card-header-custom {
    background: #0C2D48; /* Navy */
    padding-top:  20px;
    padding-bottom: 10px;
    padding-left: 20px;
    color: #fff;
    border-bottom: 4px solid #C5A065; /* Gold line */
}

.card-header-custom h4 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.notice-admin-card form {
    padding: 25px;
}

.notice-admin-card label {
    font-weight: 600;
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
    display: block;
}

.notice-admin-card .form-control {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    font-size: 14px;
    background: #f9f9f9;
}

.notice-admin-card .form-control:focus {
    border-color: #C5A065;
    background: #fff;
    box-shadow: none;
}

.w-100 { width: 100%; }


.alumni-form-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08); /* Soft Premium Shadow */
    border-top: 6px solid #0C2D48; /* Navy Top Border */
}

/* Header Section */
.form-header {
    margin-bottom: 40px;
}

.form-header i {
    font-size: 50px;
    color: #C5A065; /* Gold Icon */
    margin-bottom: 15px;
    display: inline-block;
}

.form-header h3 {
    color: #0C2D48;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 32px;
}

.form-header p {
    color: #777;
    font-size: 16px;
}

/* Section Dividers */
.form-section-title {
    color: #0C2D48;
    font-weight: 700;
    font-size: 18px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Inputs */
.alumni-form-card label {
    font-weight: 600;
    color: #555;
    font-size: 14px;
    margin-bottom: 8px;
}

.alumni-form-card .form-control {
    height: 50px; /* Taller inputs look more premium */
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 10px 15px;
    font-size: 15px;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.alumni-form-card textarea.form-control {
    height: auto;
}

/* Input Focus Effect (Turn Navy) */
.alumni-form-card .form-control:focus {
    border-color: #0C2D48;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(12, 45, 72, 0.1);
}

/* Big Gold Button */
.big-btn {
    padding: 15px 50px;
    font-size: 18px;
    border-radius: 50px;
    width: 100%;
    max-width: 300px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .alumni-form-card {
        padding: 30px 20px;
    }
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.lightbox.show {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(255,255,255,0.15);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 45px;
    font-weight: bold;
    color: white;
    cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 55px;
    color: white;
    cursor: pointer;
    padding: 10px 20px;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }


