:root{
    --bg-purple: #a6b6f4;
    --navy: #173b59;
    --text-navy: #1c3a52;
    --cream: #ffffff;
    --light-main-blue: #8DA7F7;
    --coral-body: #f38971;
    --coral-header: #e14642;
    --green-body: #48b988;
    --green-header: #217b54;
    --teal-body: #5fb1c2;
    --teal-header: #116f82;
    --hours-bg: #8ca3cc;
    --gold: #B28800;
    --orange: #D45500;

  --accent: var(--navy);
  --accent-hover: color-mix(in srgb, var(--navy) 85%, black);
  --accent-light: color-mix(in srgb, var(--light-main-blue) 18%, white);
  --border: color-mix(in srgb, var(--navy) 18%, white);
  --border-hover: color-mix(in srgb, var(--navy) 32%, white);
  --text-muted: color-mix(in srgb, var(--text-navy) 65%, white);
  --bg-page: color-mix(in srgb, var(--bg-purple) 8%, white);
}


html{
  scroll-behavior: smooth;
}

body{
    font-family: "Libertinus Math", sans-serif;
    background-color: #8DA7F7;
    color: var(--navy);
    margin: 0;
    padding: 0;
}

nav{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100px;
    gap: 20px;
}

nav .main{
    display: grid;
    grid-template-columns: 0.5fr 1fr 0.5fr;
    background-color: transparent;
    width: 100%;
    height: 100px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

nav .main .container1{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    grid-column: 1 / 2;
}

nav .main .container1 a{
    align-self: center;
    color: #173B59;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}


nav .main .container1 img{
    width: 100px;
    height: 100px;
    vertical-align: middle;
}

nav .main .container2{
    display: flex;
    align-items: center;   /* vertically centers content */
    justify-content: center; /* centers the ul itself */
    grid-column: 2 / 3;
    color: #fff;
}

nav .main .container2 ul{
    display: flex;
    justify-content: space-evenly; /* even spacing between items */
    align-items: center;           /* vertical alignment */
    width: 100%;                   /* make ul stretch across container2 */
    list-style: none;              /* remove default bullets */
    padding: 0;
    margin: 0;
}

nav .main .container2 li{
    text-align: center;
}

nav .main .container2 li a{
    text-decoration: none;
    color: #173B59;
}

nav .main .container2 li a:hover{
    color: #fff;
    transition: .8s;
}

nav .main .container3{
    display: flex;
    align-items: center;
    text-align: center;
    grid-column: 3 / 4;
    justify-content: center;
}

nav .main .container3 a{
    color: #173B59;
    background-color: #8DA7F7;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 8px;
    border: 1px solid #173B59;
    transition: .4s;
}

nav .main .container3 a:hover{
    color: #fff;
    background-color: #173B59;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 8px;
    border: 1px solid #173B59;
}

.popup button{
    border: none;
    background-color: transparent;
    cursor: pointer;
    display: none;
}

.popup i{
    font-size: 2rem;
    color: black;
    transform: scaleX(-1);
}

.nav-popup{
    display: none;
    z-index: 2;
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: auto;
    background: #fff;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.nav-popup.active {
  display: block;
}


.close-popup {
    position: absolute;
    right: 0;
    color: black;
    font-size: 2rem;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}



.popup-menu li {
    list-style: none;
    margin: 1.5rem 0;
}

.popup-content{
    margin-top: 50px;
}

.popup-content a{
    text-decoration: none;
    color: black;
    font-size: 20px;
}

@media screen and (max-width: 1100px) {

    nav .main{
        grid-template-columns: auto auto;
        width: 90%;
    }
    nav .main .container2{
        display: none;
    }

    nav .main .container3{
    grid-column: 2 / 3;
    justify-content: flex-end;
    }

    .popup-content{
    text-align: center;
    }

    .popup-menu{
    padding: 0;
    } 
    
    .nav-popup .logo a{
    font-size: 20px;
    }

    .nav-popup .logo img{
    width: 80px;
    height: 80px;
    }

    nav .main .container3 a{
    padding: 15px 15px;
    font-size: 12px;
    }

    nav .main .container1 a{
        display: block;
        padding-left: 5px;
    }

    .popup button{
    display: block;
    }
}

@media screen and (max-width: 480px){
    nav .main .container1 img{
        width: 50px;
        height: 50px;
    }
}
/* -------------------------------------------------------------Navbar and Popup End--------------------------------------------------------------------*/

.hero{
    position: relative;
    background-color: var(--bg-purple);
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: center;
    padding: 0 6vw;
}
 
  /* ---------- decorative clouds & planes ---------- */
.decor{
    position: absolute;
    display: block;
    pointer-events: none;
    user-select: none;
    z-index: 1;
}
 
  .cloud-1{ top: 6%;  left: 2%;   width: 15%; max-width: 190px; }
  .cloud-2{ top: 4%;  right: 6%;  width: 9%;  max-width: 110px; }
  .cloud-3{ bottom: 10%; left: 22%; width: 7%; max-width: 90px; }
  .cloud-4{ bottom: 6%; left: 0%;  width: 10%; max-width: 120px; }
  .cloud-5{ bottom: 14%; right: 4%; width: 8%; max-width: 100px; }
 
.plane-1{
    top: 14%;
    left: 27%;
    width: 6%;
    max-width: 70px;
    transform: rotate(8deg);
}
 
.plane-2{
    bottom: 16%;
    right: 27%;
    width: 5%;
    max-width: 60px;
    transform: rotate(-10deg);
}
 
  /* ---------- content ---------- */
.hero-inner{
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4vw;
    flex-wrap: wrap;
    padding: 4rem 0;
}
 
.hero-text{
    max-width: 480px;
    flex: 1 1 320px;
}
 
.hero-text h1{
    margin: 0 0 1.75rem 0;
    color: var(--text-navy);
    font-weight: 400;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.35;
}
 
.cta-btn{
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--navy);
    color: #ffffff;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    padding: 0.85rem 1.6rem;
    cursor: pointer;
    letter-spacing: 0.01em;
    transition: background-color 0.2s ease, transform 0.2s ease;
  }
 
.cta-btn:hover{
    background-color: #0f2c44;
    transform: translateY(-1px);
}
 
.hero-visual{
    flex: 0 0 auto;
    position: relative;
    width: clamp(220px, 26vw, 340px);
    height: clamp(220px, 26vw, 340px);
}
 
.hero-circle{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
 
.hero-circle img{
    width: 62%;
    height: auto;
    display: block;
}
 
  /* ---------- responsive ---------- */
@media (max-width: 860px){
    .hero{ padding: 0 6vw; }
    .hero-inner{
      flex-direction: column-reverse;
      text-align: center;
      padding: 3rem 0;
      gap: 2.5rem;
    }
    .hero-text{ max-width: 100%; }
    .hero-text h1{ font-size: clamp(1.4rem, 5vw, 1.9rem); }
    .cta-btn{ justify-content: center; }
    .cloud-2, .plane-1{ display: none; }
}
 
  @media (max-width: 480px){
    .hero{ min-height: 520px; }
    .cloud-1{ width: 26%; }
    .cloud-3{ display: none; }
    .cloud-4{ width: 20%; }
    .cloud-5{ width: 16%; }
    .plane-2{ width: 10%; }
    .hero-visual{ width: 60vw; height: 60vw; }
}

/*------------------------------------------------------------------------------Hero Ends-----------------------------------*/
.ribbon{
    width: 100%;
    height: auto;
    background-color: var(--navy);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));;
    justify-content: center;
    color: var(--cream);
}

.ft{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

}

.ft img{
    width: 70px;
    height: 70px;
    object-fit: contain;
}

@media (max-width: 860px){
    .ft img{
        width: 40px;
        height: 40px;
    }

    .ft p{
        font-size: 10px;
    }


}
/*------------------------------------------------------------------------------ribbon Ends-----------------------------------*/

/* ==================================================
ABOUT / "WHY MOTHERHEN" SECTION
================================================== */
.about{
background-color: var(--bg-purple);
padding: 4rem 6vw 5rem;
}

.about h2{
text-align: center;
color: var(--text-navy);
font-weight: 400;
font-size: clamp(1.5rem, 2.6vw, 2rem);
margin: 0 0 2.5rem;
}

.about-inner{
display: flex;
align-items: center;
gap: 4vw;
max-width: 1100px;
margin: 0 auto;
}

.about-text{
flex: 1 1 380px;
color: var(--text-navy);
font-size: 0.95rem;
line-height: 1.85;
}

.about-image{
flex: 1 1 340px;
}

.about-image img{
width: 100%;
height: auto;
display: block;
border-radius: 10px;
object-fit: cover;
}

/* ==================================================
FACILITIES SECTION
================================================== */
.facilities{
background-color: var(--bg-purple);
padding: 0 6vw 4rem;
}

.facilities h2{
text-align: center;
color: var(--text-navy);
font-weight: 400;
font-size: clamp(1.4rem, 2.4vw, 1.9rem);
margin: 0 0 2rem;
}

.facilities-grid{
max-width: 1100px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
}

.facility-card{
background-color: var(--navy);
padding: 1.5rem;
display: flex;
align-items: center;
gap: 1rem;
}

.facility-card img{
width: 56px;
height: 56px;
flex: 0 0 auto;
object-fit: contain;
}

.facility-card h3{
color: #ffffff;
font-weight: 400;
font-size: 1.05rem;
margin: 0 0 0.4rem;
}

.facility-card p{
color: #d7e0ee;
font-size: 0.8rem;
line-height: 1.5;
margin: 0;
}

/* ==================================================
PROGRAMMES SECTION
================================================== */
.programmes{
background-color: var(--bg-purple);
padding: 1rem 6vw 4.5rem;
}

.programmes h2{
text-align: center;
color: var(--text-navy);
font-weight: 400;
font-size: clamp(1.4rem, 2.4vw, 1.9rem);
margin: 0 0 2rem;
}

.programmes-grid{
max-width: 1150px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1.25rem;
align-items: start;
}

.programme-card{
border-radius: 10px;
padding: 1.25rem;
display: flex;
flex-direction: column;
gap: 0.9rem;
}

.programme-card.coral{ background-color: var(--coral-body); }
.programme-card.green{ background-color: var(--green-body); }
.programme-card.teal{ background-color: var(--teal-body); }

.programme-header{
border-radius: 6px;
padding: 0.75rem 1rem;
color: #ffffff;
}

.coral .programme-header{ background-color: var(--coral-header); }
.green .programme-header{ background-color: var(--green-header); }
.teal .programme-header{ background-color: var(--teal-header); }

.programme-header h3{
margin: 0 0 0.2rem;
font-size: 1.05rem;
font-weight: 400;
}

.programme-header span{
font-size: 0.75rem;
opacity: 0.9;
}

.programme-card ul{
list-style: none;
margin: 0;
padding: 0;
flex: 1;
color: #ffffff;
font-size: 0.8rem;
line-height: 1.6;
}

.programme-card ul li{
padding-left: 1rem;
position: relative;
}

.programme-card ul li::before{
content: "•";
position: absolute;
left: 0;
}

.enroll-btn{
background-color: var(--navy);
color: #ffffff;
border: none;
border-radius: 5px;
padding: 0.6rem 1rem;
font-family: Georgia, serif;
font-size: 0.8rem;
cursor: pointer;
align-self: flex-start;
transition: background-color 0.2s ease;
}

.enroll-btn:hover{ background-color: #0f2c44; }

.programme-card.hours{
background-color: var(--hours-bg);
color: var(--text-navy);
}

.programme-card.hours h3{
text-align: center;
font-weight: 400;
font-size: 1.05rem;
margin: 0 0 0.4rem;
}

.programme-card.hours > p{
text-align: center;
font-size: 0.75rem;
line-height: 1.5;
margin: 0 0 0.75rem;
}

.hours-list{
list-style: none;
margin: 0 0 1rem;
padding: 0;
font-size: 0.75rem;
}

.hours-row{
display: flex;
align-items: baseline;
gap: 0.4rem;
padding: 0.25rem 0;
}

.hours-row .day{ white-space: nowrap; }

.hours-row .leader{
flex: 1;
border-bottom: 1px dotted #5c7391;
transform: translateY(-3px);
}

.hours-row .time{ white-space: nowrap; }

.contact-btn{
background-color: var(--navy);
color: #ffffff;
border: none;
border-radius: 5px;
padding: 0.6rem 1rem;
font-family: Georgia, serif;
font-size: 0.8rem;
cursor: pointer;
display: block;
margin: 0 auto;
transition: background-color 0.2s ease;
text-decoration: none;
}

.contact-btn:hover{ background-color: #0f2c44; }

/* ==================================================
JOURNEY / ENROLL STEPS SECTION
================================================== */
.journey{
position: relative;
background-image: linear-gradient(rgba(10, 20, 30, 0.55), rgba(10, 20, 30, 0.72)), url("/images/teacher-and-student.jpg");
background-size: cover;
background-position: center;
padding: 4.5rem 6vw 5.5rem;
text-align: center;
color: #ffffff;
}

.journey .eyebrow{
display: block;
text-transform: uppercase;
letter-spacing: 0.15em;
font-size: 0.7rem;
margin-bottom: 0.75rem;
color: #e7ecf7;
}

.journey h2{
font-weight: 400;
font-size: clamp(1.4rem, 2.8vw, 2.1rem);
margin: 0 0 1rem;
}

.journey > p{
max-width: 560px;
margin: 0 auto 3rem;
font-size: 0.9rem;
line-height: 1.7;
color: #e7ecf7;
}

.steps{
max-width: 1000px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.75rem;
}

.step{
position: relative;
}

.step-num{
position: absolute;
top: -18px;
left: 20px;
width: 36px;
height: 36px;
border-radius: 50%;
background-color: #ffffff;
color: var(--navy);
display: flex;
align-items: center;
justify-content: center;
font-size: 0.9rem;
z-index: 2;
}

.step-card{
background-color: rgba(23, 59, 89, 0.92);
border-radius: 8px;
padding: 2rem 1.25rem 1.5rem;
text-align: left;
height: 100%;
}

.step-card h3{
font-weight: 400;
font-size: 1rem;
margin: 0 0 0.6rem;
}

.step-card p{
font-size: 0.8rem;
line-height: 1.6;
color: #d7e0ee;
margin: 0;
}

/* ==================================================
UPCOMING EVENT SECTION
================================================== */
.event{
margin-top: 50px;
position: relative;
background-image: linear-gradient(rgba(10, 20, 30, 0.55), rgba(10, 20, 30, 0.72)), url("/images/amusement-park.jpg");
background-size: cover;
background-position: center;
min-height: 380px;
display: flex;
align-items: flex-end;
padding: 3rem 6vw;
}

.event-card{
background-color: #ffffff;
border-radius: 10px;
padding: 1.75rem;
max-width: 380px;
width: 100%;
box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.event-card-header{
display: flex;
align-items: center;
gap: 0.6rem;
margin-bottom: 1rem;
}

.event-icon{
width: 32px;
height: 32px;
border-radius: 50%;
background-color: var(--navy);
color: #ffffff;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.9rem;
flex: 0 0 auto;
}

.event-card-header h3{
margin: 0;
color: var(--text-navy);
font-weight: 400;
font-size: 1.1rem;
}

.event-name{
margin: 0 0 0.2rem;
color: var(--text-navy);
font-weight: 700;
font-size: 0.85rem;
}

.event-date{
margin: 0 0 0.9rem;
color: #5c7391;
font-size: 0.8rem;
}

.event-desc{
margin: 0 0 1.25rem;
color: var(--text-navy);
font-size: 0.8rem;
line-height: 1.6;
}

.event-actions{
display: flex;
gap: 0.75rem;
flex-wrap: wrap;
}

.btn-navy{
background-color: var(--navy);
color: #ffffff;
border: none;
border-radius: 5px;
padding: 0.6rem 1.1rem;
font-family: Georgia, serif;
font-size: 0.8rem;
cursor: pointer;
}

.btn-navy:hover{ background-color: #0f2c44; }

.btn-outline{
background-color: transparent;
color: var(--navy);
border: 1px solid var(--navy);
border-radius: 5px;
padding: 0.6rem 1.1rem;
font-family: Georgia, serif;
font-size: 0.8rem;
cursor: pointer;
}

.btn-outline:hover{ background-color: rgba(23,59,89,0.08); }

/* ---------- responsive ---------- */
@media (max-width: 860px){
.hero{ padding: 0 6vw; }
.hero-inner{
 flex-direction: column-reverse;
 text-align: center;
 padding: 3rem 0;
 gap: 2.5rem;
}
.hero-text{ max-width: 100%; }
.hero-text h1{ font-size: clamp(1.4rem, 5vw, 1.9rem); }
.cta-btn{ justify-content: center; }
.cloud-2, .plane-1{ display: none; }

.about-inner{ flex-direction: column; text-align: center; }
.about-text{ order: 2; }
.about-image{ order: 1; }

.facilities-grid{ grid-template-columns: 1fr; }
.facility-card{ flex-direction: column; text-align: center; }

.programmes-grid{ grid-template-columns: repeat(2, 1fr); }

.steps{ grid-template-columns: 1fr; max-width: 420px; }
.step{ margin-top: 12px; }

.event{ align-items: center; padding: 3rem 6vw; }
.event-card{ max-width: 100%; }
}

@media (max-width: 480px){
.hero{ min-height: 520px; }
.cloud-1{ width: 26%; }
.cloud-3{ display: none; }
.cloud-4{ width: 20%; }
.cloud-5{ width: 16%; }
.plane-2{ width: 10%; }
.hero-visual{ width: 60vw; height: 60vw; }

.programmes-grid{ grid-template-columns: 1fr; }
.journey{ padding: 4rem 6vw; }
}

/*-----------------------------------Enroll Banner
---------------------------------------*/

.enroll-banner{
    position: relative;
    background-color: #5FB1C2;
    margin: 50px auto;
    width: 70%;
    text-align: center;
    padding: 20px;
    border-radius: 20px;
}

#rocket{ top: 51%;  left: 5%;   width: 15%; max-width: 190px; }
#sunDrawing{ top: 0%;  right: 35%;  width: 9%;  max-width: 110px; }
#cloud1{ top: 10%; right: 5%; width: 7%; max-width: 90px; }

.picon{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #FFEDF2;
    margin: 0 auto;
}

.picon img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.enroll-banner h2{
    font-weight: 400;
    font-size: clamp(1.4rem, 2.8vw, 2.1rem);
    margin: 0 0 1rem;
}

.enroll-banner p{
    color: var(--cream);
}

.enroll-btn {
    display: inline-flex;
    align-items: stretch;
    text-decoration: none;
    overflow: hidden;
}
  
.enroll-btn-text {
    color: #ffffff;
    padding: 1rem 2rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
}
  
.enroll-btn-icon {
    background-color: #27577e;   /* lighter blue */
    color: #ffffff;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
  
.enroll-btn:hover .enroll-btn-icon {
    transform: translateX(3px);
}

/*-----------------------------------Footer
---------------------------------------*/

footer {
    background: linear-gradient(to bottom, var(--teal-header) 0%, var(--navy) 100%);
    border-top: 2px solid #173b59;
    padding: 40px 20px 20px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 30px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-logo {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-name {
    font-size: 28px;
    font-weight: 400;
    color: #eee;
}


.brand-tagline {
    color: var(--cream);
    font-size: 15px;
    line-height: 1.6;
    max-width: 400px;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border: 1px solid var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #eee;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: #eee;
    color: var(--navy);
    transform: translateY(-2px);
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-section h3 {
    font-size: 20px;
    font-weight: 400;
    color: #eee;
    margin-bottom: 5px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--cream);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #173b59;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    color: var(--cream);
    font-size: 15px;
    line-height: 1.6;
}

.contact-item strong {
    color: #eee;
}

.contact-item a {
    color: var(--cream);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #173b59;
}

.footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    text-align: center;
    color: var(--cream);
    font-size: 14px;
}

.footer-bottom a {
    color: black;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}


@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    footer {
        padding: 30px 15px 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .brand-name {
        font-size: 24px;
    }

    .social-icons {
        flex-wrap: wrap;
    }

    .footer-section h3 {
        font-size: 18px;
    }

    .contact-info {
        gap: 12px;
    }
}
/*-----------------------------------Education Page 
---------------------------------------*/
.edu-nav{
    background: transparent;
}

.edu-nav .main .container1 a{
    color: var(--cream);
}

.edu-nav .main .container2 li a{
    color: var(--cream);
}

.edu-nav .main .container2 li a:hover{
    color: var(--navy);
}
.edu-hero{
    width: 100%;
    background: url(/images/children-in-clasrrom-2.jpg);
    background-size: cover;
    background-position: center;    
    height: 70vh;
    text-align: center;
    align-items: center;
}

.edu-hero h1{
    font-size: 6rem;
    color: var(--cream);
    font-weight: 400;
}
/*-----------------------------------Education Hero Ends 
---------------------------------------*/
.overview{
margin: 50px 0;
}

.overview h2{
text-align: center;
font-weight: 400;
font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.facilities{
background-color: var(--bg-purple);
padding: 0 6vw 4rem;
}


.overview-grid{
max-width: 1100px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
}

.overview-grid > :nth-child(1){background-color: var(--coral-header);}
.overview-grid > :nth-child(2){background-color: var(--green-header);}
.overview-grid > :nth-child(3){background-color: var(--navy);}
.overview-grid > :nth-child(4){background-color: var(--navy);}
.overview-grid > :nth-child(5){background-color: var(--gold);}
.overview-grid > :nth-child(6){background-color: var(--orange);}


.overview-card{
padding: 1rem;
border-radius: 50px;
display: flex;
align-items: center;
gap: 1rem;
}

.overview-card img{
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
    object-fit: contain;
    }

.overview-card h3{
color: #ffffff;
font-weight: 400;
font-size: 1rem;
margin: 0 0 0.4rem;
}

.overview-card p{
color: #ffffff;
font-size: 1.5rem;
line-height: 1.5;
margin: 0;
background-color: transparent;
}

.overview-card div span{
    font-size: 10px;
}
/*----------------------------------------------------------------------------Learning Philosophy
-------------------------------------------------------------------------------------------------*/
  .philosophy{
    background-color: var(--navy);
    padding: 4rem 6vw;
  }
 
  .philosophy-inner{
    max-width: 1150px;
    margin: 0 auto;
    display: flex;
    gap: 4vw;
    align-items: flex-start;
  }
 
  .philosophy-left{
    flex: 1 1 340px;
    max-width: 420px;
  }
 
  .philosophy-eyebrow{
    display: block;
    color: var(--teal-body);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
  }
 
  .philosophy-left h2{
    color: #ffffff;
    font-weight: 400;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 0 0 1.5rem;
  }
 
  .philosophy-left img{
    width: 80%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
  }
 
  .philosophy-right{
    flex: 1 1 420px;
  }
 
  .philosophy-intro{
    color: #d7e0ee;
    font-size: 0.9rem;
    line-height: 1.8;
    margin: 0 0 1.5rem;
  }
 
  .philosophy-features{
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
 
  .philosophy-feature{
    background-color: var(--teal-body);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
  }
 
  .philosophy-feature-icon{
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--navy);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
  }
 
  .philosophy-feature h3{
    margin: 0 0 0.2rem;
    color: var(--text-navy);
    font-weight: 700;
    font-size: 0.9rem;
  }
 
  .philosophy-feature p{
    margin: 0;
    color: var(--text-navy);
    font-size: 0.78rem;
    line-height: 1.5;
  }
 
  /* ==================================================
     CLASS TIMETABLE SECTION
  ================================================== */
  .timetable{
    padding: 4rem 6vw;
  }
 
  .timetable h2{
    text-align: center;
    color: var(--text-navy);
    font-weight: 400;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    margin: 0 0 0.6rem;
  }
 
  .timetable-subtitle{
    text-align: center;
    color: var(--text-navy);
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0 0 2.5rem;
  }
 
  .timetable-grid{
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
 
  .timetable-card{
    border-radius: 8px;
    padding: 1.25rem;
    color: #ffffff;
  }
 
  .timetable-card.coral{ background-color: var(--coral-body); }
  .timetable-card.green{ background-color: var(--green-body); }
  .timetable-card.teal{ background-color: var(--teal-header); }
  .timetable-card.gold{ background-color: var(--gold); }
 
  .timetable-card h3{
    margin: 0 0 0.4rem;
    font-weight: 700;
    font-size: 1rem;
  }
 
  .timetable-card .subject-tagline{
    margin: 0 0 0.75rem;
    font-style: italic;
    font-size: 0.75rem;
    opacity: 0.9;
  }
 
  .timetable-card .subject-detail{
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.6;
    opacity: 0.95;
  }
 
  /* ---------- responsive ---------- */
  @media (max-width: 860px){
    .hero{ padding: 0 6vw; }
    .hero-inner{
      flex-direction: column-reverse;
      text-align: center;
      padding: 3rem 0;
      gap: 2.5rem;
    }
    .hero-text{ max-width: 100%; }
    .hero-text h1{ font-size: clamp(1.4rem, 5vw, 1.9rem); }
    .cta-btn{ justify-content: center; }
    .cloud-2, .plane-1{ display: none; }
 
    .about-inner{ flex-direction: column; text-align: center; }
    .about-text{ order: 2; }
    .about-image{ order: 1; }
 
    .facilities-grid{ grid-template-columns: 1fr; }
    .facility-card{ flex-direction: column; text-align: center; }
 
    .programmes-grid{ grid-template-columns: repeat(2, 1fr); }
 
    .steps{ grid-template-columns: 1fr; max-width: 420px; }
    .step{ margin-top: 12px; }
 
    .event{ align-items: center; padding: 3rem 6vw; }
    .event-card{ max-width: 100%; }
 
    .philosophy-inner{ flex-direction: column; }
    .philosophy-left{ max-width: 100%; }
 
    .timetable-grid{ grid-template-columns: repeat(2, 1fr); }
  }
 
  @media (max-width: 480px){
    .hero{ min-height: 520px; }
    .cloud-1{ width: 26%; }
    .cloud-3{ display: none; }
    .cloud-4{ width: 20%; }
    .cloud-5{ width: 16%; }
    .plane-2{ width: 10%; }
    .hero-visual{ width: 60vw; height: 60vw; }
 
    .programmes-grid{ grid-template-columns: 1fr; }
    .journey{ padding: 4rem 6vw; }
 
    .timetable-grid{ grid-template-columns: 1fr; }
    .philosophy-feature{ flex-direction: column; text-align: center; }
  }
  /*----------------------------------------------------------------------------Fees and Admission Page
  -------------------------------------------------------------------------------------------------*/
.fee-hero{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: radial-gradient(ellipse at 50% 0%, #2f6ea3 0%, #1c4a72 35%,#12314f 70%,#0a1f33 100%);
    padding: 3rem 0;
}

.fee-hero h1{
    color: var(--cream);
    font-size: clamp(2rem, 4vw, 2.4rem);
    font-weight: 400;
}
.link-blocks{
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.link-blocks a{
    color: var(--navy);
    background-color: var(--cream);
    padding: 10px 15px;
    text-decoration: none;
    border: 2px solid var(--navy);
    border-radius: 10px;
}

/*-------------------------------------------------------------
    SCHOOL FEES / PLANS SECTION
    -------------------------------------------------------------*/
.fees{
    background-color: var(--light-main-blue);
    padding: 3.5rem 6vw 4.5rem;
    }
    
    .fees h2{
    color: var(--text-navy);
    font-weight: 400;
    font-size: clamp(1.5rem, 2.6vw, 1.9rem);
    margin: 0 0 0.4rem;
    }
    
    .fees-subtitle{
    color: var(--text-navy);
    font-size: 0.85rem;
    opacity: 0.85;
    margin: 0 0 2.5rem;
    }
    
    /* ---- plan groups layout ---- */
    .plans-layout{
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 2.5rem;
    }
    
    .plan-group.preschool{
    flex: 1 1 60%;
    }
    
    .plan-group.daycare{
    flex: 1 1 32%;
    }
    
    .plan-group h3{
    color: var(--text-navy);
    font-weight: 400;
    font-size: 1.15rem;
    margin: 0 0 1.25rem;
    }
    
    .plan-cards{
    display: flex;
    gap: 1.25rem;
    }
    
    .plan-cards.single{
    max-width: 260px;
    }
    
    /* ---- individual plan card ---- */
    .plan-card{
    flex: 1 1 0;
    min-width: 0;
    border-radius: 14px;
    padding: 1.5rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    }
    
    .plan-card.teal{ background-color: var(--teal-body); }
    .plan-card.navy{ background-color: var(--navy); }
    
    .plan-badge{
    align-self: flex-start;
    border-radius: 999px;
    padding: 0.3rem 0.9rem;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    }
    
    .plan-card.teal .plan-badge{
    background-color: #ffffff;
    color: var(--teal-header);
    }
    
    .plan-card.navy .plan-badge{
    background-color: var(--teal-body);
    color: #ffffff;
    }
    
    .plan-label{
    margin: 0;
    font-size: 0.8rem;
    }
    
    .plan-card.teal .plan-label{ color: #0f3d47; opacity: 0.85; }
    .plan-card.navy .plan-label{ color: var(--teal-body); opacity: 0.9; }
    
    .plan-price{
    margin: 0;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1;
    }
    
    .plan-price span{
    font-size: 0.8rem;
    font-weight: 400;
    }
    
    .plan-card.teal .plan-price{ color: var(--text-navy); }
    .plan-card.navy .plan-price{ color: var(--teal-body); }
    
    .plan-for{
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.5;
    }
    
    .plan-card.teal .plan-for{ color: #0f3d47; }
    .plan-card.navy .plan-for{ color: #d7e0ee; }
    
    .plan-for strong{ font-weight: 700; }
    
    .plan-details{
    list-style: none;
    margin: 0;
    padding: 0.6rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex: 1;
    border-top: 1px solid rgba(255,255,255,0.25);
    }
    
    .plan-card.teal .plan-details{ border-top-color: rgba(23,59,89,0.15); }
    
    .plan-details li{
    font-size: 0.75rem;
    line-height: 1.5;
    padding-left: 0.9rem;
    position: relative;
    }
    
    .plan-details li::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: currentColor;
    }
    
    .plan-card.teal .plan-details li{ color: #0f3d47; }
    .plan-card.navy .plan-details li{ color: #d7e0ee; }
    
    .plan-btn{
    align-self: stretch;
    background-color: var(--navy);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 0.7rem 1rem;
    font-family: Georgia, serif;
    font-size: 0.82rem;
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    }
    
    .plan-card.navy .plan-btn{ background-color: var(--teal-body); }
    
    .plan-btn:hover{ opacity: 0.88; }
    
    /* ---- incidental fees box ---- */
    .incidental-box{
    position: relative;
    background-color: var(--navy);
    border-radius: 14px;
    padding: 3rem 2.5rem 2rem;
    max-width: 900px;
    }
    
    .incidental-badge{
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    color: var(--text-navy);
    border-radius: 999px;
    padding: 0.5rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }
    
    
    .incidental-row{
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    }
    
    .incidental-row:last-of-type{
    border-bottom: none;
    }
    
    .incidental-row-top{
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.35rem;
    }
    
    .incidental-row-top h4{
    margin: 0;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    }
    
    .incidental-row-top .price{
    color: var(--teal-body);
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    }
    
    .incidental-row p{
    margin: 0;
    color: #b9c8dc;
    font-size: 0.78rem;
    line-height: 1.55;
    max-width: 560px;
    }
    
    
    /* ==================================================
        RESPONSIVE
    ================================================== */
    @media (max-width: 900px){
    .plans-layout{
        flex-direction: column;
        gap: 2.5rem;
    }
    .plan-group.preschool,
    .plan-group.daycare{
        flex: 1 1 auto;
        width: 100%;
    }
    .plan-cards.single{ max-width: 100%; }
    }
    
    @media (max-width: 600px){
    .fees{ padding: 3rem 6vw 3.5rem; }
    .plan-cards{
        flex-direction: column;
    }
    .incidental-box{ padding: 3rem 1.5rem 1.75rem; }
    .incidental-row-top{
        flex-direction: column;
        align-items: flex-start;
        gap: 0.15rem;
    }
    .fees-cta-bar{ flex-direction: column; }
    }

/*-------------------------------------------------------------
Uniform Section
-------------------------------------------------------------*/
.uniforms{
    background-color: var(--light-main-blue);
    padding: 0 6vw 4rem;
  }
 
  .uniforms h2{
    color: var(--text-navy);
    font-weight: 400;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    margin: 0 0 1.5rem;
  }
 
  .uniforms-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
 
  .uniform-card{
    background-color: transparent;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
 
  .uniform-card img{
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
  }
 
  .uniform-card-body{
    padding: 0.9rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

  .uniform-size-select{
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }
  
  .size-label{
    font-size: 0.75rem;
    color: var(--text-navy);
    opacity: 0.75;
  }
  
  .size-options{
    display: flex;
    gap: 0.4rem;
  }
  
  .size-input{
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .size-option{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--navy);
    color: var(--navy);
    font-size: 0.75rem;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
  }
  
  .size-option:hover{
    background-color: rgba(23, 59, 89, 0.08);
  }
  
  .size-input:checked + .size-option{
    background-color: var(--navy);
    color: #ffffff;
  }
  
  .size-input:focus-visible + .size-option{
    outline: 2px solid var(--teal-body);
    outline-offset: 2px;
  }
 
  .uniform-card h4{
    margin: 0;
    color: var(--text-navy);
    font-size: 0.9rem;
    font-weight: 700;
  }
 
  .uniform-price{
    color: var(--text-navy);
    font-size: 1.9rem;
    font-weight: 700;
    margin: 0;
  }
 
  .uniform-add-btn{
    background-color: var(--navy);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 0.55rem 0.9rem;
    font-family: Georgia, serif;
    font-size: 0.75rem;
    cursor: pointer;
    align-self: flex-start;
    width: 100%;
  }
 
  .uniform-add-btn:hover{ opacity: 0.9; }

/*-------------------------------------------------------------------------------------------
Inquiry Pop Up
--------------------------------------------------------------------------------------------*/

.inquiry-overlay{
  position: fixed;
  inset: 0;
  background-color: rgba(10, 15, 25, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
  z-index: 1000;
}

.inquiry-overlay.open{
  display: flex;
}

.inquiry-modal{
  position: relative;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 2rem 1.75rem 1.75rem;
  max-width: 360px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.inquiry-close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background-color: rgba(23, 59, 89, 0.08);
  color: var(--navy);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inquiry-close:hover{
  background-color: rgba(23, 59, 89, 0.16);
}

.inquiry-modal h3{
  margin: 0 0 0.5rem;
  color: var(--text-navy);
  font-size: 1.2rem;
  font-weight: 700;
}

.inquiry-summary{
  margin: 0 0 1.5rem;
  color: var(--text-navy);
  font-size: 0.85rem;
  line-height: 1.5;
}

.inquiry-summary strong{
  color: var(--navy);
}

.inquiry-form{
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.inquiry-form label{
  font-size: 0.8rem;
  color: var(--text-navy);
}

.inquiry-form input[type="tel"]{
  border: 1px solid rgba(23, 59, 89, 0.25);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-family: Georgia, serif;
  font-size: 0.9rem;
  color: var(--text-navy);
  margin-bottom: 0.75rem;
}

.inquiry-submit{
  background-color: var(--navy);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 0.8rem 1rem;
  font-family: Georgia, serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.inquiry-submit:hover{
  opacity: 0.9;
}


/*-------------------------------------------------------------------------------------------
Map & Visit Us Section
------------------------------------------------------------------------------------------*/
.visit-us{
    background-color: var(--light-main-blue);
    padding: 0 6vw 4rem;
    margin-top: 50px;
  }
 
  .visit-us h2{
    color: var(--text-navy);
    font-weight: 400;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    margin: 0 0 0.5rem;
  }
 
  .visit-us-contact{
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: var(--text-navy);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }
 
  .map-wrapper{
    position: relative;
    width: 100%;
    height: 60vh;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--hours-bg);
  }
 
  .map-wrapper iframe{
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 900px){
    .uniforms-grid{ 
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 480px){
    .uniforms-grid{ 
        grid-template-columns: 1fr; 
    }
}
/*-------------------------------------------------------------------------------------------
Gallery Page
------------------------------------------------------------------------------------------*/

img{ max-width: 100%; display: block; }

  .enroll-btn{
    display: inline-flex;
    align-items: stretch;
    text-decoration: none;
    border: none;
    cursor: pointer;
    overflow: hidden;
    border-radius: 6px;
  }
 
  .enroll-btn-text{
    background-color: var(--navy);
    color: #ffffff;
    padding: 0.9rem 1.6rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
  }
 
  .enroll-btn-icon{
    background-color: var(--enroll-icon-blue);
    color: #ffffff;
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
  }
 
  .enroll-btn:hover .enroll-btn-icon{
    transform: translateX(3px);
  }
 
  /* ==================================================
     HERO
  ================================================== */
  .gallery-hero{
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image:
      linear-gradient(rgba(20, 15, 10, 0.55), rgba(20, 15, 10, 0.55)),
      url("/images/children-in-classroom.jpg");
    background-size: cover;
    background-position: center;
    padding: 4rem 6vw;
  }
 
  .gallery-hero-content, .news-hero-content{
    max-width: 640px;
  }
 
  .gallery-hero h1, .news-hero-content h1{
    color: #ffffff;
    font-weight: 400;
    font-size: clamp(2rem, 5vw, 3rem);
    margin: 0 0 0.75rem;
  }
 
  .gallery-hero p, .news-hero-content p{
    color: #f0f2fa;
    font-size: 0.95rem;
    margin: 0;
  }
 
  /* ==================================================
     SECTION HEADERS (shared pattern)
  ================================================== */
  .section-heading-row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
 
  .section-heading-row h2,
  .section-title h2{
    color: var(--heading-navy);
    font-weight: 400;
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    margin: 0;
  }
 
  .section-title{
    border-bottom: 1px solid rgba(23, 59, 89, 0.35);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
  }
 
  .section-heading-row{
    border-bottom: 1px solid rgba(23, 59, 89, 0.35);
    padding-bottom: 1.25rem;
  }
 
  /* ==================================================
     OUR SCHOOL — bento image grid
  ================================================== */
  .our-school{
    position: relative;
    padding: 4rem 6vw 6rem;
    overflow: hidden;
  }
 
  .bento-grid{
    display: grid;
    grid-template-columns: 1.1fr 1fr 0.9fr;
    grid-template-rows: repeat(2, minmax(160px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
  }
 
  .bento-grid img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    cursor: zoom-in;
    transition: transform 0.2s ease;
  }
 
  .bento-grid img:hover{ transform: scale(1.02); }
 
  .bento-item-tall-left{ grid-row: 1 / 3; grid-column: 1; }
  .bento-item-top-mid{ grid-row: 1; grid-column: 2; }
  .bento-item-bottom-mid{ grid-row: 2; grid-column: 2; }
  .bento-item-tall-right{ grid-row: 1 / 3; grid-column: 3; }
 
 
  /* ==================================================
     CLASS OF 2025 GRADUATION — even grid
  ================================================== */
  .graduation{
    padding: 0 6vw 5rem;
  }
 
  .graduation-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
 
  .graduation-grid img{
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    cursor: zoom-in;
    transition: transform 0.2s ease;
  }
 
  .graduation-grid img:hover{ transform: scale(1.02); }
 

  .trip{
    padding: 0 6vw 5rem;
  }
 
  .trip-scroll{
    display: flex;
    align-items: stretch;
    gap: 1.25rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-behavior: smooth;
  }
 
  /* nicer scrollbar (Webkit browsers); falls back gracefully elsewhere */
  .trip-scroll::-webkit-scrollbar{
    height: 10px;
  }
 
  .trip-scroll::-webkit-scrollbar-track{
    background: rgba(23, 59, 89, 0.12);
    border-radius: 10px;
  }
 
  .trip-scroll::-webkit-scrollbar-thumb{
    background-color: var(--navy);
    border-radius: 10px;
  }
 
  .trip-photo{
    flex: 0 0 auto;
    height: 340px;
    width: auto;
    border-radius: 8px;
    overflow: hidden;
    cursor: zoom-in;
  }
 
  .trip-photo img{
    height: 100%;
    width: auto;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.2s ease;
  }
 
  .trip-photo img:hover{ transform: scale(1.02); }
 
  /* a stacked pair (two shorter photos filling one column) */
  .trip-photo-pair{
    flex: 0 0 auto;
    height: 340px;
    width: 220px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
 
  .trip-photo-pair img{
    width: 100%;
    height: calc(50% - 0.625rem);
    object-fit: cover;
    border-radius: 8px;
    cursor: zoom-in;
    transition: transform 0.2s ease;
  }
 
  .trip-photo-pair img:hover{ transform: scale(1.02); }
 
  /* ==================================================
     LIGHTBOX
  ================================================== */
  .lightbox{
    position: fixed;
    inset: 0;
    background-color: rgba(10, 15, 25, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 5vh 5vw;
    z-index: 1000;
    cursor: zoom-out;
  }
 
  .lightbox.open{
    display: flex;
  }
 
  .lightbox img{
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    cursor: default;
  }
 
  .lightbox-close{
    position: absolute;
    top: 24px;
    right: 32px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.15);
    color: #ffffff;
    border: none;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
 
  .lightbox-close:hover{
    background-color: rgba(255,255,255,0.28);
  }
 
  /* ==================================================
     RESPONSIVE
  ================================================== */
  @media (max-width: 900px){
    .bento-grid{
      grid-template-columns: 1fr 1fr;
      grid-template-rows: auto;
    }
    .bento-item-tall-left{ grid-row: 1; grid-column: 1 / 3; height: 260px; }
    .bento-item-top-mid{ grid-row: 2; grid-column: 1; }
    .bento-item-bottom-mid{ grid-row: 3; grid-column: 1; }
    .bento-item-tall-right{ grid-row: 2 / 4; grid-column: 2; }
 
    .graduation-grid{ grid-template-columns: repeat(2, 1fr); }
  }
 
  @media (max-width: 640px){
    .gallery-hero{ min-height: 240px; padding: 3rem 6vw; }
 
    .section-heading-row{
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
    }
 
    .bento-grid{
      grid-template-columns: 1fr;
      grid-template-rows: auto;
      gap: 1rem;
    }
    .bento-item-tall-left,
    .bento-item-top-mid,
    .bento-item-bottom-mid,
    .bento-item-tall-right{
      grid-row: auto;
      grid-column: 1;
      height: 220px;
    }
 
 
    .graduation-grid{ grid-template-columns: 1fr 1fr; gap: 0.85rem; }
 
    .trip-photo,
    .trip-photo-pair{ height: 240px; }
 
    .lightbox-close{ top: 14px; right: 14px; }
  }

  /*-------------------------------------------------------------------------------------------
  Newsletter Page
  ------------------------------------------------------------------------------------------*/

.news-hero{
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(ellipse at 50% 0%, #2f6ea3 0%, #1c4a72 35%,#12314f 70%,#0a1f33 100%);
    padding: 4rem 6vw;
}

.working{
    text-align: center;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.working a{
  text-decoration: none;
  background-color: var(--navy);
  color: #ffffff;
  border: none;
  border-radius: 5px;
  padding: 0.6rem 1rem;
  font-size: 1.2rem;
  cursor: pointer;
  align-self: flex-start;
  transition: background-color 0.2s ease;
}

.working a:hover{
  background-color: #0f2c44;
}
/*-------------------------------------------------------------------------------------------
Contact Page
------------------------------------------------------------------------------------------*/
.details{
    background-color: var(--light-main-blue);
    padding: 4.5rem 6vw;
  }
 
  .details-inner{
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 5vw;
  }
 
  .details-image{
    flex: 1 1 380px;
  }
 
  .details-image .image-placeholder{
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.35);
    border: 1.5px dashed rgba(23, 59, 89, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-navy);
    font-size: 0.8rem;
    text-align: center;
    padding: 1rem;
  }
 
  .details-content{
    flex: 1 1 380px;
  }
 
  .details-content h2{
    color: var(--heading-navy);
    font-weight: 400;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    margin: 0 0 1.75rem;
  }
 
  .details-list{
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
  }
 
  .details-row{
    display: flex;
    align-items: center;
    gap: 0.9rem;
  }
 
  .details-icon{
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--navy);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
  }
 
  .details-row p{
    margin: 0;
    color: var(--text-navy);
    font-size: 1rem;
  }
 
  .details-row p strong{
    font-weight: 700;
  }
 
  /* ==================================================
     MESSAGE FORM
  ================================================== */
  .message-section{
    position: relative;
    background-color: var(--navy);
    padding: 4.5rem 6vw 5rem;
    overflow: hidden;
  }
 
  .message-inner{
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 5vw;
    align-items: flex-start;
  }
 
  .message-left{
    flex: 1 1 340px;
  }
 
  .message-eyebrow{
    display: block;
    color: var(--teal-body);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
  }
 
  .message-left h2{
    color: #ffffff;
    font-weight: 700;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    margin: 0 0 1.5rem;
    line-height: 1.3;
  }
 
  .message-left .image-placeholder{
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cfd9e8;
    font-size: 0.8rem;
    text-align: center;
    padding: 1rem;
  }

  .message-left .image-placeholder img{
    width: 100%;
    height: 100%;
    object-fit: cover;         /* NEW — fills the box, cropping instead of stretching */
    border-radius: 10px;
  }
 
  .message-right{
    flex: 1 1 420px;
  }
 
  .message-form-grid{
    display: flex;
    gap: 2.8rem;
  }
 
  .form-col{
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
 
  .form-field{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
 
  .form-field.grow{
    flex: 1;
  }
 
  .form-field label{
    color: #ffffff;
    font-size: 0.9rem;
  }
 
  .form-field input,
  .form-field textarea{
    background-color: var(--cream);
    border: 1px solid var(--cream);
    border-radius: 6px;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    color: var(--text-navy);
    width: 100%;
  }
 
  .form-field textarea{
    resize: none;
    flex: 1;
    min-height: 120px;
  }
 
  .send-btn{
    align-self: flex-start;
    background-color: var(--teal-header);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 0.85rem 1.75rem;
    font-family: Georgia, serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
  }
 
  .send-btn:hover{ opacity: 0.9; }
 
 
  /* ==================================================
     RESPONSIVE
  ================================================== */
  @media (max-width: 900px){
    .details-inner{
      flex-direction: column;
      text-align: center;
    }
    .details-list{ align-items: flex-start; text-align: left; }
 
    .message-inner{
      flex-direction: column;
    }
    .message-form-grid{
      flex-direction: column;
    }
    .form-field textarea{ min-height: 140px; }
  }
 
  @media (max-width: 520px){
    .details{ padding: 3.5rem 6vw; }
    .message-section{ padding: 3.5rem 6vw 4rem; }
    .details-row{ align-items: flex-start; }
    .send-btn{ width: 100%; text-align: center; }
    .message-blob{ width: 50px; }
  }

/*------------------------------------------------------------------------------------------------------------------------------
Enrol Page-------------------------------------------------------------------------------------------------------------------------/**/


  #form-area {
    width: 80%;
    margin: 60px auto 100px auto;
    color: var(--navy);
  }

  #form-area h2 {
    font-size: clamp(20px, 2.5vw, 30px);
    font-weight: 200;
    text-align: center;
    margin-bottom: 8px;
  }

  #form-area .form-subtext {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 30px;
  }

  #form-area form {
    border: 2px solid var(--accent);
    border-radius: 16px;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    position: relative;
    background: white;
    min-height: 400px;
    box-shadow: 0 10px 30px rgba(10, 31, 68, 0.08);
  }

  /* Progress indicator */
  .progress-bar {
    display: flex;
    justify-content: space-between;
    padding: 24px 40px 0 40px;
    max-width: 800px;
    margin: 0 auto;
  }

  .progress-step {
    flex: 1;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    padding-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }

  .progress-step::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--border);
    border-radius: 3px;
  }

  .progress-step.active {
    color: var(--accent);
  }

  .progress-step.active::after,
  .progress-step.complete::after {
    background: var(--accent);
  }

  #form-area label {
    display: block;
    font-size: 16px;
    margin: 20px 0 8px 0;
    color: var(--navy);
    font-weight: 500;
  }

  .steps-container {
    display: flex;
    transition: none;
    width: 400%;
    position: relative;
    align-items: flex-start;
    height: auto;
  }

  #form-area .step {
    width: calc(100% / 4);
    min-width: calc(100% / 4);
    max-width: calc(100% / 4);
    flex-shrink: 0;
    padding: 40px;
    box-sizing: border-box;
    min-height: auto;
  }

  #form-area .step h3 {
    font-size: clamp(22px, 1.8vw, 28px);
    font-weight: 400;
    margin-bottom: 4px;
    color: var(--navy);
  }

  .step-intro {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
  }

  .linebar {
    height: 2px;
    background-color: var(--accent);
    margin-bottom: 30px;
  }

  #form-area .form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 5%;
  }

  #form-area .form-group input,
  #form-area .form-group select,
  #form-area .form-group textarea {
    border: 1px solid var(--border);
    padding: 12px 16px;
    width: 100%;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-size: 15px;
    transition: border-color 0.2s;
    background: white;
    color: var(--navy);
  }

  #form-area .form-group input:focus,
  #form-area .form-group select:focus,
  #form-area .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
  }

  #form-area .form-group textarea {
    grid-column: 1 / -1;
    resize: vertical;
    min-height: 100px;
  }

  .section-title {
    color: var(--navy);
    font-size: 17px;
    font-weight: 700;
    margin: 36px 0 4px 0;
    padding-top: 20px;
    border-top: 1px solid var(--border);
  }

  .section-title:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }

  .section-note {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 16px;
  }

  /* Traditional checkbox / radio styling */
  .check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 20px 0;
  }

  .check-row input[type="checkbox"],
  .check-row input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
    flex-shrink: 0;
  }

  .check-row label {
    margin: 0;
    font-weight: 500;
    font-size: 14px;
    color: var(--navy);
    cursor: pointer;
  }

  .radio-inline-group {
    display: flex;
    gap: 24px;
    margin: 4px 0 20px 0;
    flex-wrap: wrap;
  }

  .radio-inline-group .check-row {
    margin: 0;
  }

  .traditional-radio-group {
    margin: 8px 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .traditional-radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
  }

  .traditional-radio-option input[type="radio"],
  .traditional-radio-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    cursor: pointer;
    accent-color: var(--accent);
    flex-shrink: 0;
  }

  .traditional-radio-option label {
    margin: 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 400;
    color: var(--navy);
  }

  /* Guardian toggle */
  .toggle-guardian-wrap {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
  }

  .toggle-guardian-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-light);
    border: 1px dashed var(--accent);
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
  }

  .toggle-guardian-btn:hover {
    background: #dde6ff;
  }

  .toggle-guardian-btn .plus-icon {
    font-size: 16px;
    font-weight: 700;
    transition: transform 0.2s;
  }

  .toggle-guardian-btn.open .plus-icon {
    transform: rotate(45deg);
  }

  #guardian-section {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  #guardian-section.open {
    max-height: 900px;
    margin-top: 20px;
  }

  /* Final consent box */
  .consent-box {
    margin-top: 36px;
    padding: 20px;
    background: var(--accent-light);
    border: 1px solid var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }

  .consent-box input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--accent);
    cursor: pointer;
    flex-shrink: 0;
  }

  .consent-box label {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--navy);
    cursor: pointer;
  }

  .dropdown-select {
    grid-column: 1 / -1;
  }

  #form-area #button-container {
    margin: 40px 0 40px 0;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
  }

  #button-container button {
    border: none;
    border-radius: 8px;
    background-color: var(--accent);
    color: #fff;
    padding: 14px 32px;
    min-width: 140px;
    height: 50px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 16px;
    font-weight: 500;
  }

  #button-container button:hover {
    background-color: var(--accent-hover);
  }

  #button-container button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
  }

  #button-container #prevBtn {
    background-color: transparent;
    border: 2px solid var(--border);
    color: var(--text-muted);
  }

  #button-container #prevBtn:hover {
    background-color: #f7fafc;
    border-color: var(--border-hover);
  }

  .hidden {
    display: none !important;
  }

  @media screen and (max-width: 768px) {
    #form-area { width: 90%; margin-top: 30px; }
    #form-area h2 { font-size: 24px; margin-bottom: 6px; }
    #form-area .step { padding: 24px; }
    #form-area .form-group { grid-template-columns: 1fr; gap: 0; }
    #form-area label { font-size: 15px; margin: 16px 0 6px 0; }
    #form-area .form-group input,
    #form-area .form-group select,
    #form-area .form-group textarea { width: 100%; padding: 12px; font-size: 15px; }
    #form-area #button-container { margin: 30px 0 30px 0; padding: 0 24px; flex-direction: row; gap: 12px; }
    #button-container button { width: 48%; min-width: auto; font-size: 15px; padding: 12px 20px; }
    #form-area .step h3 { font-size: 22px; }
    .progress-bar { padding: 20px 24px 0 24px; }
    .progress-step { font-size: 10px; }
    .radio-inline-group { gap: 16px; }
  }

  @media screen and (max-width: 480px) {
    #form-area { width: 95%; margin-top: 20px; }
    #form-area h2 { font-size: 20px; }
    #form-area .step { padding: 20px; }
    #form-area label { font-size: 14px; }
    #form-area .form-group input,
    #form-area .form-group select,
    #form-area .form-group textarea { padding: 10px; font-size: 14px; }
    #form-area #button-container { margin: 24px 0 20px 0; padding: 0 20px; }
    #button-container button { height: 45px; font-size: 14px; }
    #form-area .step h3 { font-size: 20px; margin-bottom: 20px; }
    .progress-step { font-size: 9px; }
  }
