/* ======================================================================================================
================================ HOME OUR PEDAGOGY START ================================================
====================================================================================================== */

/* ============================================================
   PEDAGOGY SECTION WRAPPER
============================================================ */
.pedagogy-section {
    position: relative;
    width: 100%;
    padding: 20px 20px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    color: #444;
}

/* ============================================================
   BACKGROUND WATERMARK
============================================================ */
.pedagogy-watermark {
    position: absolute;
    top: 50%;
    left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(60, 12, 132, 0.04) 0%, rgba(255,255,255,0) 70%);
    transform: translate(-30%, -50%);
    z-index: 1;
    pointer-events: none;
}

/* ============================================================
   MAIN CONTAINER
============================================================ */
.pedagogy-container {
    position: relative;
    z-index: 5;
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

/* ============================================================
   TEXT CONTENT
============================================================ */
.pedagogy-text {
    position: relative;
}

.pedagogy-title {
    font-family: 'KGShakeitOff', cursive;
    font-size: clamp(32px, 5vw, 48px);
    color: #4c3c83;
    margin-bottom: 30px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.pedagogy-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #F79F77;
    border-radius: 2px;
}

.pedagogy-text p {
    font-size: clamp(14px, 2vw, 15px);
    line-height: 1.8;
    margin-bottom: 25px;
    color: #555;
    text-align: justify;
}

/* ============================================================
   IMAGE
============================================================ */
.pedagogy-image-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pedagogy-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    animation: pedagogyFloat 5s ease-in-out infinite;
}

@keyframes pedagogyFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* ============================================================
   DECORATIVE STICKERS
============================================================ */
.pedagogy-sticker {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    opacity: 0.6;
    animation: pedagogyStickerFloat 6s ease-in-out infinite;
}

.pedagogy-s1 {
    top: 10%;
    right: 5%;
    font-size: 30px;
    color: #4c3c83;
    animation-delay: 0s;
}

.pedagogy-s2 {
    bottom: 15%;
    left: 2%;
    font-size: 40px;
    color: #F79F77;
    animation-delay: 2s;
}

.pedagogy-s3 {
    top: 15%;
    left: 45%;
    font-size: 20px;
    color: #4CAF50;
    opacity: 0.4;
    animation-delay: 1s;
}

.pedagogy-s4 {
    bottom: 5%;
    right: 40%;
    font-size: 35px;
    color: #FFC107;
    animation-delay: 3s;
}

@keyframes pedagogyStickerFloat {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* ============================================================
   RESPONSIVE DESIGN
============================================================ */

/* Tablet */
@media (max-width: 1024px) {
    .pedagogy-section {
        padding: 80px 5%;
    }

    .pedagogy-container {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
    }

    .pedagogy-text {
        order: 2;
    }

    .pedagogy-image-wrapper {
        order: 1;
    }

    .pedagogy-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .pedagogy-text p {
        text-align: center;
    }

    .pedagogy-image {
        max-width: 400px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .pedagogy-section {
        padding: 20px;
    }

    .pedagogy-watermark {
        display: none;
    }

    .pedagogy-image {
        max-width: 100%;
    }

    .pedagogy-sticker {
        display: none;
    }
}


/* ====================================================================================================
================================ HOME OUR PEDAGOGY END ================================================
==================================================================================================== */

/* ======================================================================================================
================================= HOME OUR GALLERY START ================================================
====================================================================================================== */

/* --- SECTION CONTAINER --- */
.gallery-section-wrapper {
    position: relative;
    width: 100%;
    padding: 45px 20px;
    background-color: #4c3c83; /* Deep Purple */
    display: block;
    z-index: 10;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

/* --- DECORATIONS --- */
/* Top Garland */
.top-decor-container {
    position: absolute; top: 0; left: 0; width: 100%; height: 100px;
    z-index: 1; display: flex; justify-content: space-around; pointer-events: none;
}
.hanger {
    position: relative; display: flex; flex-direction: column; align-items: center;
    transform-origin: top center; animation: swayGarland 3s ease-in-out infinite alternate;
}
.hanger::before { content: ''; width: 2px; height: 40px; background-color: rgba(255,255,255,0.3); }
.hanger i { font-size: 24px; color: #F79F77; filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2)); }
.h1 { animation-delay: 0s; } .h2 { animation-delay: -1s; } .h3 { animation-delay: -0.5s; }
.h4 { animation-delay: -2s; } .h5 { animation-delay: -1.5s; }
@keyframes swayGarland { 0% { transform: rotate(-10deg); } 100% { transform: rotate(10deg); } }

/* Bottom Rising Shapes */
.bottom-decor-container {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 120px;
    z-index: 1; overflow: hidden; pointer-events: none;
}
.riser {
    position: absolute; bottom: -30px; font-size: 20px; opacity: 0;
    animation: riseAndFade 4s linear infinite;
}
.r1 { left: 10%; color: #F79F77; font-size: 30px; animation-duration: 5s; }
.r2 { left: 25%; color: #fff; font-size: 20px; animation-duration: 7s; opacity: 0.5; }
.r3 { left: 50%; color: #F79F77; font-size: 40px; animation-duration: 6s; }
.r4 { left: 85%; color: #F79F77; font-size: 35px; animation-duration: 5.5s; }
@keyframes riseAndFade {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.8; }
    100% { transform: translateY(-150px) rotate(360deg); opacity: 0; }
}

/* Background Stickers */
.bg-sticker {
    position: absolute; color: rgba(255, 255, 255, 0.05); z-index: 0; pointer-events: none;
    animation: floatBg 8s ease-in-out infinite alternate;
}
.sticker-1 { top: 15%; left: 5%; font-size: 80px; transform: rotate(-15deg); }
.sticker-2 { top: 25%; right: 10%; font-size: 100px; transform: rotate(20deg); }
@keyframes floatBg { 0% { transform: translateY(0); } 100% { transform: translateY(-30px); } }

/* --- HEADINGS --- */
.gallery-heading-container { position: relative; z-index: 5; margin-bottom: 40px; }
.gallery-subtitle {
    text-align: center; font-family: "KGShakeitOff", 'Schoolbell', cursive; 
    font-size: clamp(14px, 4vw, 24px); letter-spacing: 2px; margin-bottom: 10px;
    color: #F79F77; font-weight: 400; text-transform: uppercase; display: block;
}
.gallery-title {
    text-align: center; font-family: 'KGShakeitOff', cursive; 
    font-size: clamp(28px, 6vw, 45px); color: #ffffff; margin-top: 0; line-height: 1.2;
}

/* --- 5-COLUMN GRID (Fixed Layout for ALL Devices) --- */
.bento-grid {
    position: relative; z-index: 5; display: grid;
    /* Always 5 Columns */
    grid-template-columns: repeat(5, 1fr);
    /* Default Height for Desktop */
    grid-template-rows: 200px 200px; 
    gap: 20px; max-width: 1300px; margin: 0 auto;
}

/* --- CARD STYLING --- */
.bento-card {
    position: relative; border-radius: 15px; overflow: hidden;
    background: #f0f0f0; box-shadow: 0 5px 15px rgba(0,0,0,0.25);
    animation: floatCard 6s ease-in-out infinite; 
    cursor: zoom-in; /* Indicates the image is clickable */
}
.bento-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease; display: block;
}
.bento-card:hover img { transform: scale(1.1); }

/* Grid Positioning - Locked for All Screens */
.pos-c1-r1 { grid-column: 1; grid-row: 1; } .pos-c1-r2 { grid-column: 1; grid-row: 2; }
.pos-c2-tall { grid-column: 2; grid-row: 1 / span 2; }
.pos-c3-tall { grid-column: 3; grid-row: 1 / span 2; }
.pos-c4-r1 { grid-column: 4; grid-row: 1; } .pos-c4-r2 { grid-column: 4; grid-row: 2; }
.pos-c5-r1 { grid-column: 5; grid-row: 1; } .pos-c5-r2 { grid-column: 5; grid-row: 2; }

/* --- BUTTON --- */
.btn-container {
    position: relative; z-index: 5; display: flex; justify-content: center; margin-top: 60px;
}
.view-more-btn {
    background-color: #F79F77; color: white; font-family: 'Gaegu', cursive;
    font-size: clamp(16px, 4vw, 22px); font-weight: bold; padding: 12px 40px; border: none;
    border-radius: 50px; cursor: pointer; box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 1px;
}
.view-more-btn:hover {
    background-color: #fff; color: #4c3c83; transform: translateY(-3px);
}

/* --- ANIMATION --- */
@keyframes floatCard { 0% { transform: translateY(0px); } 50% { transform: translateY(-6px); } 100% { transform: translateY(0px); } }
.bento-card:nth-child(odd) { animation-delay: 0s; } .bento-card:nth-child(even) { animation-delay: 1.5s; }
.pos-c2-tall { animation-delay: 0.5s; } .pos-c3-tall { animation-delay: 1s; }

/* --- LIGHTBOX MODAL (This handles the zoom view) --- */
.lightbox-modal {
    display: none; /* Hidden by default */
    position: fixed; 
    z-index: 10000; /* Very high to be on top of everything */
    top: 0; left: 0;
    width: 100vw; height: 100vh; 
    background-color: rgba(0,0,0,0.95); /* Dark background */
    justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.3s ease; padding: 20px;
    backdrop-filter: blur(5px);
}

/* The JS adds this class to show the modal */
.lightbox-modal.show { 
    display: flex; 
    opacity: 1; 
}

.lightbox-content {
    max-width: 90vw; 
    max-height: 90vh; 
    object-fit: contain;
    border-radius: 5px; 
    box-shadow: 0 0 25px rgba(0,0,0,0.8);
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute; top: 20px; right: 30px;
    color: #fff; font-size: 45px; font-weight: bold;
    cursor: pointer; transition: color 0.3s; z-index: 10001;
}
.lightbox-close:hover { color: #F79F77; }
@keyframes zoomIn { from { transform: scale(0.9); } to { transform: scale(1); } }

/* --- RESPONSIVE SCALING --- */

/* Tablet (Scale down row height) */
@media (max-width: 1024px) {
    .bento-grid {
        gap: 15px;
        grid-template-rows: 150px 150px;
    }
}

/* Mobile (Scale down significantly) */
@media (max-width: 768px) {
    .gallery-section-wrapper { padding: 60px 10px; }
    .bento-grid {
        gap: 10px;
        grid-template-rows: 90px 90px;
    }
    .bento-card { border-radius: 10px; }
    
    /* Adjust lightbox close button for mobile */
    .lightbox-close { top: 10px; right: 20px; font-size: 35px; }
}

/* Tiny Screen (Scale down to minimum) */
@media (max-width: 480px) {
    .bento-grid {
        gap: 5px;
        grid-template-rows: 60px 60px;
    }
    .bento-card { border-radius: 6px; }
}

/* ======================================================================================================
=================================== HOME OUR GALLERY END ================================================
====================================================================================================== */

/* ======================================================================================================
=================================== HOME WHY MONTESSORI START ===========================================
====================================================================================================== */

/* ============================================================
   ================= PROGRAMS SECTION START ===================
   ============================================================ */
.programs-section {
    position: relative;
    padding: 40px 0 60px;
    background: #ffffff;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    width: 100%;
}
/* ================= PROGRAMS SECTION END ================= */


/* ============================================================
   ================= FLOAT ANIMATION START ====================
   ============================================================ */
@keyframes floatUpDn {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

.float-anim {
    animation: floatUpDn 4s ease-in-out infinite;
}
.delay-1 { animation-delay: 1s; }
.delay-2 { animation-delay: 2s; }
/* ================= FLOAT ANIMATION END ================= */


/* ============================================================
   ================= DECOR ELEMENTS START =====================
   ============================================================ */
.decor {
    position: absolute;
    width: 60px;
    opacity: 0.9;
    pointer-events: none;
}

.decor-top-left { top: 25px; left: 25px; }
.decor-top-right { top: 25px; right: 25px; }
.decor-bottom-left { bottom: 25px; left: 25px; }
.decor-bottom-right { bottom: 25px; right: 25px; }
/* ================= DECOR ELEMENTS END ================= */


/* ============================================================
   ================= PROGRAMS HEADER START ====================
   ============================================================ */
.programs-header {
    margin-bottom: 35px;
    text-align: left;
}

.css_prefix-subtitle {
    text-align: center;
    font-family: "KGShakeitOff", cursive;
    font-size: 24px;
    color: #4c3c83;
    letter-spacing: 3px;
    margin-bottom: 20px;
}
/* ================= PROGRAMS HEADER END ================= */



/* ============================================================
   ============ PROGRAMS DESCRIPTION (TRUE FULL WIDTH) =========
   ============================================================ */
.programs-desc-wrap {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.programs-desc {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.programs-desc p {
    max-width: none !important;
    margin: 0 !important;
    font-size: 14px;
    line-height: 1.9;
    color: #555;
    text-align: center;
}
/* ================= PROGRAMS DESCRIPTION END ================= */



/* ============================================================
   ================= PROGRAMS CARDS GRID START =================
   ============================================================ */
.programs-cards {
    max-width: 1320px;
    margin: 35px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px; /* tighter spacing like reference */
    padding: 0 20px;
}
/* ================= PROGRAMS CARDS GRID END ================= */



/* ============================================================
   ================= CARD WRAPPER START =======================
   ============================================================ */
.card-wrap {
    padding: 8px; /* reduced outer padding */
    border-radius: 28px;
    border: 2px dashed;
    transition: all 0.4s ease;
}

.card-wrap:nth-child(1){ transform: rotate(-1.5deg); }
.card-wrap:nth-child(2){ transform: rotate(1deg); }
.card-wrap:nth-child(3){ transform: rotate(-1deg); }
.card-wrap:nth-child(4){ transform: rotate(1.5deg); }

.card-wrap:hover {
    transform: translateY(-10px) rotate(0deg);
    border-style: solid;
}

.card-orange { border-color: #ff9f68; }
.card-blue   { border-color: #7ab6ff; }
.card-yellow { border-color: #f5c56b; }
.card-purple { border-color: #b18cff; }
/* ================= CARD WRAPPER END ================= */



/* ============================================================
   ================= INNER PROGRAM CARD START =================
   ============================================================ */
.program-card {
    border-radius: 24px;
    padding: 20px 20px 18px; /* compact padding */
    min-height: 300px;       /* KEY: controls card size */
    display: flex;
    flex-direction: column;
}

.card-orange .program-card { background: #fff1e6; }
.card-blue   .program-card { background: #eef7ff; }
.card-yellow .program-card { background: #fff8e8; }
.card-purple .program-card { background: #f4ecff; }
/* ================= INNER PROGRAM CARD END ================= */



/* ============================================================
   ================= CARD BADGE START =========================
   ============================================================ */
.card-badge {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 12px;
}

.orange { background: #ffb185; }
.blue   { background: #9bc8ff; }
.yellow { background: #ffd889; }
.purple { background: #c9b2ff; }
/* ================= CARD BADGE END ================= */



/* ============================================================
   ================= PROGRAM CARD TEXT START ==================
   ============================================================ */
.program-card h3 {
    font-size: 19px;
    margin-bottom: 8px;
    color: #13293D;
}

.program-card p {
    font-size: 12px;
    line-height: 1.55;
    color: #555;
    margin: 0;
    flex-grow: 1; /* keeps cards visually balanced */
}
/* ================= PROGRAM CARD TEXT END ================= */



/* ============================================================
   ================= RESPONSIVE BEHAVIOR START =================
   ============================================================ */
@media (max-width: 1200px) {
    .programs-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .programs-cards {
        grid-template-columns: 1fr;
    }

    .programs-desc {
        padding: 0 20px;
    }
}
/* ================= RESPONSIVE BEHAVIOR END ================= */

/* ======================================================================================================
=================================== HOME WHY MONTESSORI END =============================================
====================================================================================================== */

/* ======================================================================================================
=================================== HOME TESTIMONIAL START ==============================================
====================================================================================================== */

/* --- Variables & Fonts --- */
.testimonial-section {
    --ts-bg: #4c3c83; 
    --ts-blue: #13293D; 
    --ts-title: #FFFFFF; 
    
    /* SUBTITLE COLOR: Kept Orange so it is visible on Purple BG */
    --ts-subtitle: #F79F77; 
    
    --ts-text-color: #000000; 
    --ts-quote: #FFD1DC; 
    --ts-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    
    --ts-font-hand: 'Balsamiq Sans', cursive; 
    --ts-font-body: 'Roboto', sans-serif;    
    
    font-family: var(--ts-font-hand);
    background-color: var(--ts-bg);
    /* REDUCED HEIGHT: Padding reduced */
    padding: 40px 10px 50px 10px; 
    position: relative;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.testimonial-section * {
    box-sizing: border-box;
}

/* --- ANIMATED CLOUD BACKGROUND --- */
.bg-clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    z-index: 0;
    opacity: 0.1; 
    background: 
        radial-gradient(circle at 20% 50%, #ffffff 50px, transparent 100px),
        radial-gradient(circle at 50% 30%, #ffffff 80px, transparent 120px),
        radial-gradient(circle at 80% 60%, #ffffff 60px, transparent 100px);
    background-size: 50% 100%;
    background-repeat: repeat-x;
    animation: cloudMove 60s linear infinite;
    pointer-events: none;
}

@keyframes cloudMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- ANIMATED WAVE BORDERS --- */
.testimonial-section::before,
.testimonial-section::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 25px; /* Wave Height */
    background-size: 50px 50px; 
    background-repeat: repeat-x;
    z-index: 5;
    animation: waveMove 10s linear infinite;
}

/* Top Wave: Curves pointing down */
.testimonial-section::before {
    top: -5px; 
    background-image: radial-gradient(circle at 25px -10px, #ffffff 25px, transparent 26px);
}

/* Bottom Wave: Curves pointing up */
.testimonial-section::after {
    bottom: -5px; 
    background-image: radial-gradient(circle at 25px 35px, #ffffff 25px, transparent 26px);
}

@keyframes waveMove {
    0% { background-position-x: 0px; }
    100% { background-position-x: 50px; }
}

/* --- Layout --- */
.testi-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* --- Header --- */
.testi-header {
    text-align: center;
    margin-bottom: 25px;
}

/* --- SUBTITLE UPDATED TO YOUR REQUEST --- */
.testi-subtitle {
    text-align: center;
    /* Added KGShakeitOff to stack, fallback to Balsamiq */
    font-family: "KGShakeitOff", cursive; 
    font-size: 24px; /* Updated Size */
    letter-spacing: 3px; /* Updated Spacing */
    margin-bottom: 20px; /* Updated Margin */
    
    color: var(--ts-subtitle); /* Kept Orange #F79F77 for visibility */
    font-weight: 400;
    text-transform: uppercase;
}

.testi-title {
    color: #ffffff; 
    font-family: var(--ts-font-hand);
    font-size: 50.31px; 
    font-weight: 700;
    margin: 0;
}

/* --- SLIDER STRUCTURE --- */
.testi-viewport {
    width: 100%;
    overflow: hidden;
    padding: 20px 0 40px 0;
}

.testi-track {
    display: flex;
    width: 100%;
}

.transition-active {
    transition: transform 0.5s ease-in-out;
}

/* --- Card Styling --- */
.testi-card-wrapper {
    flex: 0 0 50%; 
    max-width: 50%;
    padding: 0 15px;
    display: flex;
    justify-content: center;
}

.testi-card {
    background: #fff;
    clip-path: polygon(0% 2%, 2% 0%, 98% 1%, 100% 3%, 99% 97%, 97% 100%, 3% 99%, 0% 96%);
    padding: 35px 30px;
    width: 100%;
    max-width: 550px;
    display: flex;
    align-items: flex-start;
    gap: 30px;
    box-shadow: var(--ts-shadow);
    position: relative;
    transition: transform 0.3s ease;
}

.rotate-left { transform: rotate(-2deg); margin-top: 20px; }
.rotate-right { transform: rotate(2deg); }
.testi-card:hover { transform: rotate(0deg) scale(1.02); z-index: 5;}

/* Image Area */
.testi-img-box {
    position: relative;
    flex-shrink: 0;
}

.testi-profile {
    width: 140px;
    height: 160px;
    object-fit: cover;
    border: 6px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: rotate(-4deg);
}

/* Paperclip SVG */
.testi-paperclip {
    position: absolute;
    top: -20px;
    right: 35px;
    width: 25px;
    height: 50px;
    z-index: 5;
    transform: rotate(15deg);
    filter: drop-shadow(2px 3px 2px rgba(0,0,0,0.2));
}

/* Content Area */
.testi-content {
    position: relative;
    padding-top: 10px;
}

.testi-quote-icon {
    font-family: serif;
    font-size: 65px;
    line-height: 1;
    color: var(--ts-quote);
    position: absolute;
    top: -30px;
    left: 0;
}

.testi-text {
    font-family: var(--ts-font-hand); 
    font-size: 16px; 
    line-height: 1.7;
    color: var(--ts-text-color); 
    margin-top: 35px;
    margin-bottom: 25px;
    font-weight: 400;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-line {
    width: 25px;
    height: 2px;
    background-color: var(--ts-blue);
}

.author-name {
    font-family: var(--ts-font-body); 
    color: var(--ts-blue); 
    font-size: 21.24px; 
    font-weight: 700;
}

/* Star Image */
.testi-star-img {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 85px;
    height: auto;
    opacity: 0.8;
    transform: rotate(-10deg);
}

/* --- DECORATIVE ELEMENTS --- */
.decor-element { position: absolute; z-index: 1; pointer-events: none; }
.decor-element img { 
    width: 100%; 
    display: block; 
    filter: brightness(0) invert(1); 
    opacity: 0.8; 
}

.decor-bird { top: 60px; left: 5%; width: 180px; animation: floatGlide 8s ease-in-out infinite; }
.decor-smile { top: 50px; right: 5%; width: 50px; animation: swingRotate 3s ease-in-out infinite alternate; }
.decor-swirls { bottom: 40px; left: 2%; width: 60px; animation: pulseScale 4s ease-in-out infinite; }
.decor-rocket { bottom: 20px; right: 2%; width: 50px; animation: jitterFly 5s linear infinite; }

@keyframes floatGlide {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(15px, -15px) rotate(5deg); }
    50% { transform: translate(0, -5px) rotate(0deg); }
    75% { transform: translate(-15px, -15px) rotate(-5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes swingRotate {
    0% { transform: rotate(-10deg); }
    100% { transform: rotate(10deg); }
}
@keyframes pulseScale {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
}
@keyframes jitterFly {
    0% { transform: translate(0, 0); }
    10% { transform: translate(-2px, 2px); }
    20% { transform: translate(2px, -2px); }
    30% { transform: translate(-2px, 2px); }
    100% { transform: translate(-10px, -20px); }
}

/* --- Slider Navigation --- */
.testi-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 10px;
}

.testi-arrow {
    background: none;
    border: none;
    font-size: 30px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: 0.3s;
    font-family: serif;
    font-weight: 300;
}

.testi-arrow:hover {
    color: #fff;
    transform: scale(1.2);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    /* TABLET & MOBILE: Show 1 Card */
    .testi-card-wrapper {
        flex: 0 0 100%; 
        max-width: 100%;
        padding: 0 10px;
    }
    
    .testi-card { 
        width: 100%; 
        max-width: 600px; 
        margin: 0 auto;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
        transform: rotate(0deg) !important; 
    }

    .rotate-left, .rotate-right { margin-top: 0; }
    .decor-bird { width: 100px; top: 10px; }
    .decor-rocket { display: none; }
    
    .testi-img-box { margin-bottom: 20px; }
    .testi-paperclip { right: 20px; }
    .testi-quote-icon { left: 50%; transform: translateX(-50%); top: -35px; }
    .testi-text { margin-top: 25px; font-size: 15px; }
    .testi-author { justify-content: center; }
}

@media (max-width: 768px) {
    .testi-title { font-size: 36px; }
}

/* ======================================================================================================
=================================== HOME TESTIMONIAL END ================================================
====================================================================================================== */

/* ======================================================================================================
=================================== HOME OUR SCHOOL START ===============================================
====================================================================================================== */
/* --- Global Reset --- */
.classroom-section * { box-sizing: border-box; }

/* --- Main Container --- */
.classroom-section {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  
  /* DEFAULT (Desktop) Height */
  min-height: 600px; 
}

/* --- RESPONSIVE HEIGHTS (Fix for "Too Much Height") --- */
@media (max-width: 1024px) { /* Tablet */
  .classroom-section {
    min-height: 450px;
    height: auto;
    padding: 40px 0;
  }
}

@media (max-width: 768px) { /* Mobile */
  .classroom-section {
    min-height: 350px; /* Much smaller for mobile */
    height: auto;
    padding: 30px 0;
  }
}

/* --- MAIN HEADING --- */
.main-heading {
  font-family: 'Schoolbell', cursive;
  color: #4c3c83;
  font-size: clamp(1.8rem, 5vw, 3rem); /* Adjusted size */
  margin-bottom: 20px;
  z-index: 15;
  text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
  text-align: center;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* --- Wall Decorations --- */
.wall-item {
  position: absolute;
  font-weight: bold;
  z-index: 1;
  user-select: none;
  opacity: 0.4;
  font-size: clamp(2rem, 5vw, 5rem); 
}

/* Decoration Positions */
.w1 { top: 5%; left: 5%; color: #FF9AA2; transform: rotate(-10deg); }
.w2 { top: 10%; left: 20%; color: #FFB7B2; transform: rotate(15deg); }
.w3 { top: 5%; right: 20%; color: #FFDAC1; transform: rotate(-5deg); }
.w4 { top: 20%; right: 5%; color: #E2F0CB; transform: rotate(10deg); font-size: clamp(3rem, 6vw, 6rem); }
.w5 { bottom: 10%; left: 10%; color: #B5EAD7; transform: rotate(20deg); }
.w6 { bottom: 25%; left: 5%; color: #C7CEEA; transform: rotate(-15deg); }
.w7 { bottom: 5%; right: 30%; color: #FF9AA2; transform: rotate(5deg); }
.w8 { bottom: 20%; right: 10%; color: #957DAD; transform: rotate(-10deg); }
.wa { top: 40%; left: 2%; color: #D291BC; font-size: clamp(1.5rem, 4vw, 3rem); }
.wb { top: 60%; left: 5%; color: #FEC8D8; font-size: clamp(2rem, 4vw, 3.5rem); }
.wc { top: 30%; right: 5%; color: #FFDFD3; }
.wd { bottom: 40%; right: 2%; color: #97C1A9; }
.we { top: 15%; left: 50%; color: #CCE2CB; transform: translateX(-50%); }
.sym1 { top: 50%; left: 15%; color: #bbb; font-size: 2rem; }
.sym2 { top: 50%; right: 15%; color: #bbb; font-size: 2rem; }

/* --- The Green Board --- */
.green-board-container {
  position: relative;
  width: 90%; 
  max-width: 800px; 
  aspect-ratio: 16 / 9; 
  background-color: #2e6b46;
  border: 12px solid #8d5e2a; /* Slightly thinner border for mobile look */
  border-radius: 8px;
  z-index: 10; 
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.green-board-container::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -15px;
  width: calc(100% + 30px);
  height: 15px;
  background-color: #5d4037;
  border-radius: 5px;
  box-shadow: 0 5px 5px rgba(0,0,0,0.2);
}

/* --- Writing Layer (Text & Hand) --- */
.writing-layer {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: #2e6b46; /* Matches board color */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 20;
}

.typing-wrapper {
  position: relative;
  display: inline-block;
}

.chalk-text {
  font-family: 'Fredericka the Great', cursive;
  color: #fff;
  font-size: clamp(1.2rem, 4vw, 2.5rem); 
  margin: 0;
  white-space: nowrap;
}

/* The Green Curtain covering the text */
.text-cover {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%; /* Start fully covering */
  height: 100%;
  background-color: #2e6b46; /* Must match board color to hide text */
  border-left: 2px solid rgba(255,255,255,0.1); /* Subtle cursor line */
}

/* The Hand Icon attached to the curtain edge */
.hand-icon {
  position: absolute;
  top: 50%;
  left: 0; /* Sits on the left edge of the green cover */
  transform: translate(-50%, -20%) rotate(10deg); /* Adjust to point at text */
  font-size: clamp(2rem, 5vw, 3.5rem);
  filter: drop-shadow(2px 4px 4px rgba(0,0,0,0.3));
}

/* --- Video Layer --- */
.video-layer {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
}
.video-layer iframe { width: 100%; height: 100%; border: none; }


/* --- ANIMATIONS --- */

/* 1. Heading Fade In */
.classroom-section.active .main-heading {
  opacity: 1;
  transform: translateY(0);
}

/* 2. Wall Items Float */
.classroom-section.active .wall-item {
  animation: floatWall 4s ease-in-out infinite alternate;
}
.classroom-section.active .w1 { animation-delay: 0s; }
.classroom-section.active .w2 { animation-delay: 0.5s; }
.classroom-section.active .w3 { animation-delay: 1s; }
.classroom-section.active .w4 { animation-delay: 1.5s; }
.classroom-section.active .w5 { animation-delay: 0.2s; }

/* 3. Hand Writing (Shrink the Cover) */
.classroom-section.active .text-cover {
  animation: revealText 3.5s linear forwards;
  animation-delay: 0.5s; 
}

/* 4. Fade Out Writing Layer to Show Video */
.classroom-section.active .writing-layer {
  animation: fadeOutLayer 1s forwards;
  animation-delay: 4.5s; /* Wait for writing to finish + pause */
}

@keyframes floatWall {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-10px) rotate(5deg); }
}

@keyframes revealText {
  0% { width: 100%; }
  100% { width: 0%; }
}

@keyframes fadeOutLayer {
  to { opacity: 0; visibility: hidden; }
}

/* Desktop Specific Adjustments */
@media (min-width: 1025px) {
  .green-board-container {
     border-width: 18px;
  }
}
/* ======================================================================================================
=================================== HOME OUR SCHOOL END =================================================
====================================================================================================== */


/* ======================================================================================================
=================================== BANNER IMAGE & HEADING START ========================================
====================================================================================================== */
/* Container & Background Image Fix */
.bannerimage-main {
  position: relative;
  width: 100%;
  height: 280px; /* Compact height as requested */
  background-image: url('../images/aboutus.JPG');
  background-size: cover; 
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-family: 'Fredoka', sans-serif; /* Playful font */
}

/* White Layer Overlay */
.bannerimage-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85); /* Smooth white layer */
  display: flex;
  align-items: center;
  padding: 0 10%;
  z-index: 1;
}

.bannerimage-container {
  position: relative;
  z-index: 10;
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

/* Heading Styling in #4c3c83 */
.bannerimage-heading {
  font-size: clamp(2.5rem, 6vw, 3.2rem);
  font-weight: 700;
  color: #4c3c83;
  margin: 0;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Breadcrumbs directly below */
.bannerimage-breadcrumbs {
  margin-top: 8px;
  font-size: 1.1rem;
}

.bannerimage-breadcrumbs a {
  color: #4c3c83;
  text-decoration: none;
  font-weight: 600;
}

.bannerimage-sep {
  margin: 0 8px;
  color: #999;
}

.bannerimage-current {
  color: #333;
}

/* Right side PNG Image */
.bannerimage-png {
  max-width: 250px;
  opacity: 0.2; /* Low opacity watermark effect */
}

/* --- ANIMATED BOTTOM STRIP --- */
.bannerimage-bottom-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background-color: #4c3c83;
  z-index: 15;
  overflow: hidden;
}

.bannerimage-strip-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    transparent, 
    rgba(255, 255, 255, 0.3), 
    transparent
  );
  animation: stripShimmer 4s infinite linear;
}

/* --- KEYFRAME ANIMATIONS --- */

/* Bottom Strip Shimmer */
@keyframes stripShimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* Playful Bounce for PNG */
@keyframes floatPlayful {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(3deg); }
}

.animate-float-playful {
  animation: floatPlayful 5s ease-in-out infinite;
}

/* Entrance Reveal for Text */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-reveal-up {
  animation: revealUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 768px) {
  .bannerimage-main { 
    height: 220px;
    background-size: 100% 100%; /* Ensure full image visibility on tablet */
  }
  .bannerimage-overlay { padding: 0 5%; }
  .bannerimage-heading { font-size: 2.8rem; }
  .bannerimage-png { max-width: 160px; }
}

@media (max-width: 480px) {
  .bannerimage-container {
    flex-direction: column;
    text-align: center;
  }
  .bannerimage-graphic-wrap {
    margin-bottom: 10px;
    order: -1; /* Icon above text on mobile */
  }
  .bannerimage-png { max-width: 100px; }
  .bannerimage-bottom-strip { height: 12px; }
}

/* ======================================================================================================
=================================== BANNER IMAGE & HEADING END ==========================================
====================================================================================================== */

/* ======================================================================================================
=================================== ABOUT PAGE DETAILS START ============================================
====================================================================================================== */
/* ================= ABOUT PAGE – ABOUT SECTION ================= */

/* --- SECTION WRAPPER --- */
.aboutpage-section {
    position: relative;
    width: 100%;
    padding: 60px 20px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    color: #444;
}

/* --- BACKGROUND WATERMARK --- */
.aboutpage-bg-watermark {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aboutpage-bg-watermark img {
    max-width: 480px;
    width: 80%;
    height: auto;
    opacity: 0.04;
    object-fit: contain;
}

/* --- MAIN CONTAINER --- */
.aboutpage-container {
    position: relative;
    z-index: 5;
    max-width: 1100px;
    width: 100%;
}

/* --- TEXT CONTENT --- */
.aboutpage-text-content {
    width: 100%;
    text-align: center;
}

.aboutpage-section-title {
    font-family: 'KGShakeitOff', cursive;
    font-size: clamp(32px, 5vw, 48px);
    color: #4c3c83;
    margin-bottom: 45px;
    position: relative;
    display: inline-block;
}

.aboutpage-section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 4px;
    background-color: #F79F77;
    border-radius: 2px;
}

.aboutpage-text-content p {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 25px;
    text-align: justify;
}

/* --- FLOATING STICKERS --- */
.aboutpage-sticker {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    opacity: 0.6;
    animation: floatSticker 6s ease-in-out infinite;
}

/* Sticker Positions */
.s1 { top: 12%; right: 8%; font-size: 30px; color: #3c0c84; animation-delay: 0s; }
.s2 { bottom: 15%; left: 8%; font-size: 40px; color: #F79F77; animation-delay: 2s; }
.s3 { top: 15%; left: 12%; font-size: 22px; color: #4CAF50; opacity: 0.4; animation-delay: 1s; }
.s4 { bottom: 12%; right: 12%; font-size: 34px; color: #FFC107; animation-delay: 3s; }

@keyframes floatSticker {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(10deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .aboutpage-bg-watermark img {
        max-width: 380px;
    }
}

@media (max-width: 600px) {
    .aboutpage-section {
        padding: 40px 20px;
    }

    .aboutpage-bg-watermark img {
        max-width: 260px;
    }

    .aboutpage-text-content p {
        font-size: 15px;
        text-align: center;
    }

    .aboutpage-sticker {
        display: none;
    }
}

/* ======================================================================================================
=================================== ABOUT PAGE DETAILS END ==============================================
====================================================================================================== */

/* ======================================================================================================
=================================== CONTACT DETAILS START ===============================================
====================================================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600&display=swap');

.contact-section {
    padding: 50px 20px;
    background-color: #fcfcfc;
    font-family: 'Fredoka', sans-serif; /* Friendly font for Kindergarten theme */
}

.contact-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap; /* Allows cards to stack on mobile */
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

/* Icon Styles */
.icon-box {
    font-size: 40px;
    margin-bottom: 20px;
}

.icon-pink { color: #ff6b9d; }
.icon-yellow { color: #ffb800; }
.icon-green { color: #8ec63f; }

/* Text Styles */
.contact-card h3 {
    color: #4c3c83; /* Purple tone from image */
    font-size: 22px;
    margin-bottom: 15px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-link {
    text-decoration: none;
    color: #777;
    font-size: 16px;
    line-height: 1.6;
    transition: color 0.2s;
}

.contact-link:hover {
    color: #4c3c83;
}

/* ======================================================================================================
=================================== CONTACT DETAILS END =================================================
====================================================================================================== */

/* ======================================================================================================
=================================== CONTACT FORM & MAP START ============================================
====================================================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600&display=swap');

.contact-split-section { 
    padding: 30px 20px; 
    background-color: #4c3c83; 
    font-family: 'Fredoka', sans-serif; 
}

.split-container { 
    display: flex; 
    max-width: 1100px; 
    margin: 0 auto; 
    background: #fff; 
    border-radius: 20px; 
    overflow: hidden; 
    box-shadow: 0 20px 50px rgba(75, 59, 142, 0.1); 
}

.map-side { flex: 1; position: relative; min-height: 500px; }
.map-side iframe { position: absolute; top:0; left:0; width:100%; height:100%; border: none; }

.form-side { flex: 1.2; padding: 40px; }
.form-side h2 { color: #4c3c83; text-align: center; margin-bottom: 5px; font-weight: 600; }
.form-side p { text-align: center; color: #666; margin-bottom: 25px; }

/* Input Containers */
.input-container { margin-bottom: 5px; width: 100%; }
.form-input, .form-textarea {
    width: 100%; padding: 15px; 
    border: 2px solid #f0f0f5; border-radius: 12px; outline: none; 
    box-sizing: border-box; font-family: 'Fredoka', sans-serif;
    transition: border-color 0.3s;
}

.form-input:focus, .form-textarea:focus { border-color: #4c3c83; }

.input-row { display: flex; gap: 15px; }
.form-textarea { height: 120px; resize: none; }

/* Validation Error Text */
.error-msg { color: #ff4d4d; font-size: 12px; display: block; height: 18px; margin-left: 5px; visibility: hidden; }
.error-msg.visible { visibility: visible; }
.form-input.input-error, .form-textarea.input-error { border-color: #ff4d4d; }

.button-container { display: flex; justify-content: center; margin-top: 10px; }
.submit-btn { 
    background: #4c3c83; color: white; padding: 15px 60px; 
    border: none; border-radius: 50px; cursor: pointer; 
    font-weight: 600; font-size: 16px; transition: 0.3s;
}
.submit-btn:hover { background: #382a6e; transform: translateY(-2px); }

/* Modal Popup */
.modal-overlay {
    position: fixed; top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.7); display: none; align-items: center; justify-content: center; z-index: 9999;
}
.modal-overlay.active { display: flex; }
.modal-box { 
    background: white; padding: 40px; border-radius: 25px; 
    text-align: center; max-width: 320px; width: 90%; 
}
.modal-icon { font-size: 50px; margin-bottom: 15px; }
.success-text { color: #2ecc71; }
.pending-text { color: #f1c40f; }
.error-text { color: #e74c3c; }

@media (max-width: 991px) {
    .split-container { flex-direction: column; }
    .map-side { height: 300px; min-height: 300px; }
    .input-row { flex-direction: column; gap: 0; }
}
/* ======================================================================================================
=================================== CONTACT FORM & MAP END ==============================================
====================================================================================================== */


/* ======================================================================================================
=================================== BLOG START ==========================================================
====================================================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@700&display=swap');

.blog-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
    font-family: 'Roboto', sans-serif;
}

.blog-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1250px;
    margin: 0 auto;
}

.blog-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(75, 59, 142, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
}

.blog-image-box {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.blog-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-content {
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.blog-title {
    font-size: 16px;
    font-weight: 700;
    color: #4c3c83; /* Purple Title */
    line-height: 1.5;
    margin-bottom: 20px;
    min-height: 72px;
    text-transform: uppercase;
}

.blog-footer {
    margin-top: auto;
    display: flex;
    justify-content: center;
}

/* Updated Button Styles for Link Tag */
.blog-btn {
    background-color: #4c3c83; /* Red Button per reference image */
    color: #ffffff;
    text-decoration: none; /* Removes underline from link */
    display: inline-block;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    text-align: center;
    width: 100%;
    max-width: 180px;
    transition: all 0.3s ease;
}

.blog-btn:hover {
    background-color: #3b2e71; /* Hover turns purple */
    color: #ffffff;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .blog-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-container {
        grid-template-columns: 1fr;
    }
    .blog-image-box {
        aspect-ratio: 16 / 9;
    }
}

/* ======================================================================================================
=================================== BLOG END ============================================================
====================================================================================================== */

/* ======================================================================================================
=================================== BLOG PAGE START =====================================================
====================================================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

.blogpage-section {
    background-color: #ffffff;
    padding-bottom: 60px;
    font-family: 'Roboto', sans-serif;
}

/* Image Header Design - Hero title bar removed per request */
.blogpage-hero {
    width: 90%;
    max-width: 1100px;
    margin: 20px auto;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.blogpage-hero img {
    width: 100%;
    display: block;
    height: auto;
}

/* Article Content Layout matching Googee reference */
.blogpage-article {
    max-width: 850px;
    margin: 40px auto;
    padding: 0 20px;
}

.blogpage-main-heading {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    line-height: 1.4;
}

.blogpage-sub-title {
    color: #4c3c83; /* Signature Purple from your code */
    font-size: 22px;
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 15px;
}

.blogpage-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 22px;
    text-align: justify;
}

/* Floating Back Button - Fixed Bottom Right */
.blogpage-back-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #4c3c83;
    color: white;
    padding: 10px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: 0.3s ease;
}

.blogpage-back-btn:hover {
    background-color: #382a6e;
    transform: translateY(-2px);
}

/* Responsiveness */
@media (max-width: 768px) {
    .blogpage-hero { width: 95%; margin: 10px auto; }
    .blogpage-main-heading { font-size: 24px; }
    .blogpage-article { margin: 25px auto; }
}

/* ======================================================================================================
=================================== BLOG PAGE END =======================================================
====================================================================================================== */

/* ======================================================================================================
=================================== CAREER PAGE START ===================================================
====================================================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

.career-page {
    padding: 30px 20px;
    background-color: #ffffff;
    font-family: 'Roboto', sans-serif;
    text-align: center;
}

.career-main-heading {
    color: #4c3c83; /* Purple */
    font-size: 38px;
    margin-bottom: 10px;
}

.career-subtext {
    color: #666;
    margin-bottom: 50px;
    font-size: 18px;
}

.career-card-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cards in a row */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.career-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(75, 59, 142, 0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
    border-top: 5px solid #4c3c83;
    transition: transform 0.3s ease;
}

.career-card:hover { transform: translateY(-10px); }

.career-title { color: #4c3c83; font-size: 24px; margin-bottom: 15px; }
.career-desc { color: #555; font-size: 15px; margin-bottom: 25px; line-height: 1.5; }

.career-info p { font-size: 15px; margin-bottom: 12px; color: #444; }

.career-apply-btn {
    background: #4c3c83; /* Purple Button */
    color: white;
    border: none;
    padding: 14px;
    border-radius: 50px; /* Rounded for friendly school feel */
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
    transition: background 0.3s;
}

.career-apply-btn:hover { background: #382a6e; }

/* Modal Styles */
.career-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.career-modal-content {
    background: white;
    padding: 40px;
    border-radius: 25px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.close-modal {
    position: absolute;
    right: 25px; top: 15px;
    font-size: 35px; cursor: pointer; color: #aaa;
}

.modal-input-group input, .modal-input-group select, .modal-input-group textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    background: #fdfdfd;
    border-radius: 10px;
    font-family: inherit;
}

.modal-submit-btn {
    background: #4c3c83;
    color: white;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
}

/* Status UI */
.status-box { text-align: center; padding: 40px 20px; }
.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #4c3c83;
    border-radius: 50%;
    width: 50px; height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.success-icon { font-size: 60px; color: #4c3c83; margin-bottom: 20px; }

/* Responsive */
@media (max-width: 992px) {
    .career-card-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .career-card-row { grid-template-columns: 1fr; }
}

/* ======================================================================================================
=================================== CAREER PAGE END =====================================================
====================================================================================================== */

/* ======================================================================================================
=================================== GALLERY PAGE START ==================================================
====================================================================================================== */
/* Container Layout - FIXED 4 COLUMNS */
.city-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(150px, auto); 
  gap: 8px; 
  max-width: 1200px;
  margin: 50px auto; 
  padding: 0 10px; 
  font-family: sans-serif;
  box-sizing: border-box;
}

/* Individual Card Links */
.grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  display: flex; /* Helps with centering */
  align-items: center;
  justify-content: center;
  text-decoration: none; 
  cursor: pointer;
  background-color: #f0f0f0; /* Fallback background */
}

/* Make images cover the entire cell */
.grid-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  z-index: 1;
}

/* Low Opacity Purple Overlay #4c3c83 */
.grid-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(76, 60, 131, 0.4); /* Brand purple with low opacity */
  z-index: 2;
  transition: background-color 0.3s ease;
}

/* Darken overlay slightly on hover */
.grid-item:hover::after {
  background-color: rgba(76, 60, 131, 0.6);
}

.grid-item:hover img {
  transform: scale(1.1);
}

/* Text Overlay - CENTERED */
.city-label {
  position: relative;
  z-index: 3; /* Above image and overlay */
  text-align: center;
  color: white;
  font-weight: 700;
  padding: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  
  /* Standard Font Size */
  font-size: clamp(12px, 2.5vw, 18px);
  
  /* Removed Shadows as requested */
  text-shadow: none; 
}

/* --- Sizing Classes --- */

/* Large Block (2x2) */
.grid-item.big {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 300px;
}

/* Wide Block (2x1) */
.grid-item.wide {
  grid-column: span 2;
  min-height: 150px;
}

/* Mobile Responsiveness for Small Devices */
@media (max-width: 600px) {
  .city-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile for visibility */
  }
  .grid-item.big, .grid-item.wide {
    grid-column: span 2;
  }
}
/* ======================================================================================================
=================================== GALLERY PAGE END ====================================================
====================================================================================================== */

/* ======================================================================================================
=================================== FAQ's START =========================================================
====================================================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600&display=swap');

.faq-section {
    position: relative;
    padding: 30px 20px;
    background-color: #ffffff;
    font-family: 'Fredoka', sans-serif;
    overflow: hidden;
}

/* Watermark Styling */
.faq-watermark-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    max-width: 800px;
    opacity: 0.15; /* High visibility watermark */
    pointer-events: none;
    z-index: 1;
}

.faq-watermark-overlay img {
    width: 100%;
    height: auto;
    filter: sepia(100%) hue-rotate(240deg) saturate(200%) brightness(100%); 
}

.faq-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
}

.faq-main-heading {
    text-align: left;
    color: #444;
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 1px;
}

.faq-list {
    border-top: 1px solid #eee; /* Divider lines */
}

.faq-item {
    border-bottom: 1px solid #eee; /* Divider lines */
    background: transparent;
}

.faq-header {
    width: 100%;
    padding: 25px 0;
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* New PNG Icon Styling */
.faq-png-icon {
    width: 20px; /* Adjust size of your PNG arrow */
    height: auto;
    margin-right: 15px;
    transition: transform 0.3s ease; /* Rotation effect */
}

.faq-question-text {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase; /* */
    line-height: 1.4;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding-left: 35px;
}

.faq-answer p {
    padding-bottom: 25px;
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}

/* Active State Rotation for PNG Icon */
.faq-item.active .faq-png-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

@media (max-width: 768px) {
    .faq-watermark-overlay { width: 100%; }
    .faq-main-heading { font-size: 24px; }
    .faq-question-text { font-size: 13px; }
}

/* ======================================================================================================
=================================== FAQ's END ===========================================================
====================================================================================================== */


/* ======================================================================================================
=================================== ABOUT MISSION & VISION END ==========================================
====================================================================================================== */
.mission-vision-section {
  position: relative;
  background-color: #4c3c83;
  padding: 30px 5% 0px;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
  min-height: 600px;
  display: flex;
  align-items: center;
}

/* --- Animated Top Wave --- */
.mv-wave-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  line-height: 0;
  z-index: 1;
}

.moving-wave {
  width: 100%;
  height: 120px;
  animation: waveMove 10s linear infinite alternate;
}

@keyframes waveMove {
  from { transform: translateX(0); }
  to { transform: translateX(-25%); }
}

/* --- Floating Background Shapes --- */
.mv-float-shape {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  animation: mvFloat 6s infinite ease-in-out;
}
.mv-rainbow { top: 60%; left: 2%; width: 120px; }
.mv-rocket { top: 10%; right: 5%; width: 150px; }

@keyframes mvFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* --- Layout Grid --- */
.mv-content-grid {
  display: flex;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  gap: 20px;
}

.mv-side-block {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

/* --- Icon Boxes --- */
.mv-icon-box {
  min-width: 70px;
  height: 70px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orange-bg { background-color: #ffffff; color: #4c3c83; }
.teal-bg { background-color: #ffffff; color: #4c3c83; }

.mv-text-content h2 {
  margin: 0 0 10px 0;
  font-size: 1.6rem;
  color: #ffffff;
  font-weight: 800;
}
.mv-text-content p {
  margin: 0;
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.6;
}

/* --- Center Block & Floating Image --- */
.mv-center-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mv-image-container {
  position: relative;
  display: inline-block;
}

.image-float-effect {
  animation: centerFloat 4s infinite ease-in-out;
}

@keyframes centerFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.mv-kid-img {
  max-width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
}

.mv-oval-shadow {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 15px;
  background-color: #ffffff;
  border-radius: 100%;
  opacity: 0.6;
  z-index: 1;
  animation: shadowPulse 4s infinite ease-in-out;
}

@keyframes shadowPulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.6; }
  50% { transform: translateX(-50%) scale(0.8); opacity: 0.3; }
}

/* --- Entry Animations --- */
.mv-anim-left { opacity: 0; animation: mvSlideLeft 1s ease-out forwards; }
.mv-anim-right { opacity: 0; animation: mvSlideRight 1s ease-out forwards; }
.mv-anim-up { opacity: 0; animation: mvSlideUp 1.2s ease-out forwards; }

@keyframes mvSlideLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes mvSlideRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes mvSlideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

/* --- Responsiveness: Tab & Mobile --- */
@media (max-width: 992px) {
  .mission-vision-section { padding: 150px 20px 80px; }
  
  .mv-content-grid { 
    flex-direction: column; 
    text-align: center; 
    gap: 5px; /* Space between the three stacked items */
  }

  /* Specific Order for Tab and Mobile */
  .mv-order-mission { order: 1; }
  .mv-order-image   { order: 2; }
  .mv-order-vision  { order: 3; }

  .mv-side-block { 
    flex-direction: column; 
    align-items: center; 
    width: 100%;
  }

  .mv-center-block { 
    width: 50%;
  }

  .mv-rainbow, .mv-rocket { width: 100px; opacity: 1; }
  .mv-wave-container { width: 300%; }
}

/* ======================================================================================================
=================================== ABOUT MISSION & VISION END ==========================================
====================================================================================================== */


/* ======================================================================================================
=================================== ABOUT FOUNDER START =================================================
====================================================================================================== */
/* ================= FOUNDER SECTION ================= */
.founder-section {
  position: relative;
  padding: 30px 5%;
  background-color: #f9fafb;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

/* ================= BACKGROUND SHAPES ================= */
.founder-bg-shape {
  position: absolute;
  width: 40%;
  z-index: 1;
  pointer-events: none;
}

.founder-bg-shape.left {
  top: 0%;
  left: 0%;
}

.founder-bg-shape.right {
  top: 40%;
  right: 0%;
  transform: scaleX(-1);
}

/* ================= CONTAINER ================= */
.founder-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ================= TITLE ================= */
.founder-title {
  text-align: center;
  font-size: 2.5rem;
  color: #4c3c83;
  margin-bottom: 60px;
  font-weight: 800;
}

/* ================= CONTENT LAYOUT ================= */
.founder-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 100px;
  position: relative;
}

/* ================= IMAGE WRAPPER ================= */
.founder-image-wrap {
  flex: 0 0 350px;
  position: relative;
  z-index: 3;
}

.image-inner {
  background: #4c3c83;
  border-radius: 30px;
  padding: 10px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}

.image-inner:hover {
  transform: rotate(0deg) scale(1.02);
}

.image-inner img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}



/* ================= CONTENT CARD ================= */
.founder-card {
  flex: 1;
  background: #ffffff;
  padding: 60px 60px 60px 100px;
  border-radius: 40px;
  box-shadow: 0 10px 50px rgba(0,0,0,0.05);
  margin-left: -60px;
  z-index: 2;
}

.founder-name {
  color: #4c3c83;
  font-size: 1.8rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.founder-quote p {
  color: #4b5563;
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 15px;
}

.quote-text {
  font-style: italic;
  font-weight: 500;
  border-left: 4px solid #4c3c83;
  padding-left: 20px;
}

/* ================= REVERSED LAYOUT ================= */
.founder-content.reverse {
  flex-direction: row-reverse;
}

.founder-content.reverse .founder-card {
  margin-left: 0;
  margin-right: -60px;
  padding: 60px 100px 60px 60px;
}

.founder-content.reverse .image-label {
  left: auto;
  right: -20px;
  transform: rotate(-2deg);
}

/* ================= ANIMATIONS ================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: fadeInUp 0.8s ease forwards;
}

.founder-content:nth-child(3) {
  animation-delay: 0.3s; /* Delay for the second founder */
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .founder-content,
  .founder-content.reverse {
    flex-direction: column;
    text-align: center;
    margin-bottom: 60px;
  }

  .founder-image-wrap {
    margin-bottom: 30px;
    flex: 0 0 auto;
    width: 320px;
  }

  .founder-card, 
  .founder-content.reverse .founder-card {
    margin: -40px 0 0 0; /* Stack overlap for style */
    padding: 60px 30px 40px 30px;
    width: 100%;
    border-radius: 30px;
  }

  

  .founder-bg-shape {
    display: none;
  }
  
  .quote-text {
    border-left: none;
    border-top: 3px solid #ddd6fe;
    padding: 15px 0 0 0;
  }
}

@media (max-width: 640px) {
  .founder-section {
    padding: 60px 20px;
  }

  .founder-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }

  .founder-image-wrap {
    width: 260px;
  }

  .image-inner img {
    height: 300px;
  }

  .founder-name {
    font-size: 1.4rem;
  }
}

/* ======================================================================================================
=================================== ABOUT FOUNDER END ===================================================
====================================================================================================== */

/* ======================================================================================================
=================================== OUR LEARNING APPROACH START =========================================
====================================================================================================== */
/* General Styling */
.liquid-learning-section {
    padding: 30px 5%;
    background-color: #ffffff;
    font-family: 'Fredoka', sans-serif; /* Funny Font */
    overflow: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.liquid-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 120px;
}

.liquid-row.reverse {
    flex-direction: row-reverse;
}

/* --- Text & Watermark --- */
.text-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.watermark-image {
    position: absolute;
    width: 260px; /* Adjust size based on your PNG */
    top: -40px;
    left: -20px;
    opacity: 0.12; /* Transparency for watermark effect */
    z-index: -1;
    pointer-events: none;
}

.text-content h2 {
    font-size: 1.8rem;
    color: #4c3c83;
    margin-bottom: 20px;
}

.text-content p {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
}

/* --- Amoeba Image & Animated Border --- */
.image-content {
    flex: 1;
    display: flex;
    justify-content: center;
}

.amoeba-wrapper {
    position: relative;
    width: 380px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The Border and Image Container Morphs Together */
.amoeba-image {
    width: 320px;
    height: 320px;
    position: relative;
    border: 8px solid #4c3c83; /* Yellow Running Border */
    overflow: hidden;
    
    /* Amoeba Animation */
    animation: liquidMorph 8s ease-in-out infinite;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.amoeba-image img {
    width: 110%; /* Slightly larger to prevent edges showing during morph */
    height: 110%;
    object-fit: cover;
    position: absolute;
    top: -5%;
    left: -5%;
}

/* KEYFRAMES: The 'Amoeba' Liquid Movement */
@keyframes liquidMorph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: scale(1);
    }
    33% {
        border-radius: 40% 60% 50% 50% / 50% 50% 50% 50%;
        transform: scale(1.02) rotate(2deg);
    }
    66% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
        transform: scale(0.98) rotate(-2deg);
        border-color: #9d8be6; /* Changes color while 'running' */
    }
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: scale(1);
    }
}

/* Responsive for Tablets and Mobile */
@media (max-width: 992px) {
    .liquid-row, .liquid-row.reverse {
        flex-direction: column;
        text-align: center;
    }
    
    .amoeba-wrapper {
        width: 300px;
        height: 300px;
    }
    
    .amoeba-image {
        width: 260px;
        height: 260px;
    }

    .watermark-image {
        left: 50%;
        transform: translateX(-50%);
    }
}
/* ======================================================================================================
=================================== OUR LEARNING APPROACH END ===========================================
====================================================================================================== */

/* ======================================================================================================
=================================== GALLERY IMAGES PAGE START ==================================================
====================================================================================================== */
/* --- Gallery Grid Layout --- */
.gallery-section {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.gallery-grid {
    display: grid;
    /* Responsive logic: Auto-fit columns with a min-width of 250px */
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    aspect-ratio: 1 / 1; /* Keeps images square/uniform */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills the square without distortion */
    transition: transform 0.3s ease;
    display: block;
}

/* Hover Effect */
.gallery-item:hover img {
    transform: scale(1.05);
}

/* --- Lightbox (Popup) Styles --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    border: 2px solid #fff;
}

/* Navigation Buttons */
.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.3s;
    user-select: none;
    border-radius: 4px;
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.prev { left: 20px; }
.next { right: 20px; }

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    font-weight: bold;
    z-index: 1001;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .gallery-section { padding: 1rem; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .lightbox-btn { padding: 10px; font-size: 1.5rem; }
    .prev { left: 10px; }
    .next { right: 10px; }
}
/* ======================================================================================================
=================================== GALLERY IMAGES PAGE END ====================================================
====================================================================================================== */

/* ======================================================================================================
=================================== PP T&C PAGE START ====================================================
====================================================================================================== */
/* ================= PPTC PRIVACY POLICY SECTION ================= */

.pptc-section {
    position: relative;
    width: 100%;
    padding: 80px 20px;
    background: linear-gradient(to bottom, #ffffff, #f9f9ff);
    display: flex;
    justify-content: center;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    color: #444;
}

/* --- BACKGROUND WATERMARK --- */
.pptc-bg-watermark {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.pptc-bg-watermark img {
    width: 70%;
    max-width: 500px;
    opacity: 0.035;
}

/* --- CONTAINER --- */
.pptc-container {
    position: relative;
    z-index: 5;
    max-width: 1100px;
    width: 100%;
}

/* --- TEXT CONTENT --- */
.pptc-text-content {
    background: #ffffff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

/* --- TITLE --- */
.pptc-section-title {
    font-family: 'KGShakeitOff', cursive;
    font-size: clamp(32px, 5vw, 48px);
    color: #4c3c83;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.pptc-section-title::after {
    content: '';
    width: 90px;
    height: 4px;
    background: #F79F77;
    display: block;
    margin: 12px auto 0;
    border-radius: 4px;
}

/* --- SUBTITLE --- */
.pptc-subtitle {
    font-size: 22px;
    color: #3c0c84;
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: 600;
}

/* --- PARAGRAPH --- */
.pptc-text-content p {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 20px;
    text-align: justify;
}

/* --- LIST --- */
.pptc-list {
    padding-left: 20px;
    margin-bottom: 20px;
}

.pptc-list li {
    margin-bottom: 10px;
    line-height: 1.8;
    font-size: 15px;
}

/* --- FLOATING ICONS --- */
.pptc-sticker {
    position: absolute;
    z-index: 2;
    opacity: 0.6;
    animation: pptcFloat 6s ease-in-out infinite;
}

.s1 { top: 10%; right: 8%; font-size: 30px; color: #3c0c84; }
.s2 { bottom: 12%; left: 6%; font-size: 38px; color: #F79F77; animation-delay: 2s; }
.s3 { top: 18%; left: 10%; font-size: 22px; color: #4CAF50; animation-delay: 1s; }
.s4 { bottom: 15%; right: 12%; font-size: 34px; color: #FFC107; animation-delay: 3s; }

@keyframes pptcFloat {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(8deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
    .pptc-text-content {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .pptc-text-content {
        padding: 30px;
    }

    .pptc-text-content p {
        text-align: left;
    }
}

@media (max-width: 600px) {
    .pptc-section {
        padding: 50px 15px;
    }

    .pptc-text-content {
        padding: 25px;
        border-radius: 15px;
    }

    .pptc-section-title {
        font-size: 28px;
    }

    .pptc-subtitle {
        font-size: 18px;
    }

    .pptc-sticker {
        display: none;
    }
}

/* ======================================================================================================
=================================== PP T&C PAGE END ====================================================
====================================================================================================== */


/* ======================================================================================================
=================================== PHOTOS START =========================================================
====================================================================================================== */

/* --- SECTION LAYOUT --- */
.photopage-section {
    padding: 60px 2%;
    background-color: #f5f5f5;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.photopage-header {
    text-align: center;
    margin-bottom: 40px;
}

.photopage-title {
    font-size: 2.5rem;
    color: #3c0c84; /* Brand Blue */
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 10px;
}

.photopage-divider {
    width: 80px;
    height: 4px;
    background-color: #0c589c; /* Brand Red */
    margin: 0 auto;
}

/* --- GRID SYSTEM (5 Columns) --- */
.photopage-grid-container {
    display: grid;
    /* Exactly 5 columns per row */
    grid-template-columns: repeat(5, 1fr);
    gap: 15px; /* Spacing between cards */
    max-width: 1600px;
    margin: 0 auto;
}

/* --- CARD ITEM STYLES --- */
.photopage-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background: #fff; /* White background to frame the image */
    height: 220px; /* Fixed height for uniformity */
    
    /* Center the image inside the card */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px; /* Small padding so image doesn't touch edges */
}

/* Image Styling - NO CUTTING */
.photopage-img {
    width: 100%;
    height: 100%;
    /* 'contain' ensures the WHOLE image is seen within the box. 
       No cropping will happen. */
    object-fit: contain; 
    transition: transform 0.3s ease;
    display: block;
}

/* Hover Effect: Gentle Zoom */
.photopage-item:hover .photopage-img {
    transform: scale(1.05);
}

/* --- LIGHTBOX (MODAL) --- */
.photopage-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.photopage-modal-content {
    position: relative;
    margin: auto;
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    justify-content: center;
}

#photopage-expanded-img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 85vh;
    display: block;
    margin: 0 auto;
    border: 3px solid white;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    object-fit: contain; 
}

/* Controls */
.photopage-close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    line-height: 1;
}
.photopage-close-btn:hover { color: #e82126; }

.photopage-prev, .photopage-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 35px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    z-index: 1001;
}
.photopage-prev { left: 75px; border-radius: 3px 0 0 3px; }
.photopage-next { right: 75px; border-radius: 3px 0 0 3px; }
.photopage-prev:hover, .photopage-next:hover { background-color: #3c0c84; }

/* --- RESPONSIVE MEDIA QUERIES --- */

/* Tablet (1024px) -> 3 Columns */
@media (max-width: 1024px) {
    .photopage-grid-container { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile (768px) -> 2 Columns */
@media (max-width: 768px) {
    .photopage-grid-container { grid-template-columns: repeat(2, 1fr); }
    .photopage-item { height: 180px; } /* Slightly smaller on mobile */
}

/* Small Mobile (480px) -> 1 Column */
@media (max-width: 480px) {
    .photopage-grid-container { grid-template-columns: 1fr; }
    .photopage-item { height: 250px; }
}

/* ======================================================================================================
=================================== PHOTOS END ==========================================================
====================================================================================================== */