/* =========================================================
   SHENWIN & KIDS
   MAIN WEBSITE STYLESHEET
   ========================================================= */


/* =========================================================
   RESET & GLOBAL STYLES
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #333333;
    background-color: #ffffff;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font-family: inherit;
}


/* =========================================================
   HEADER
   ========================================================= */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 12px 60px;

    background-color: #ffffff;
    border-bottom: 1px solid #eeeeee;

    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    width: 125px;
    display: block;
}

nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #333333;
    font-weight: 600;
    transition: 0.3s ease;
}

nav a:hover {
    color: #1e3a8a;
}

.menu-toggle {
    display: none;

    background: none;
    border: none;

    font-size: 30px;
    color: #1e3a8a;

    cursor: pointer;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: 520px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 60px;

    padding: 50px 8%;

    background: linear-gradient(
        135deg,
        #eff6ff,
        #ffffff
    );
}

.hero-content {
    flex: 1;
}

.hero-label {
    display: inline-block;

    margin-bottom: 15px;

    color: #f59e0b;

    font-size: 14px;
    font-weight: bold;

    letter-spacing: 2px;
}

.hero-content h1 {
    font-size: 55px;
    line-height: 1.1;

    margin-bottom: 20px;

    color: #1e3a8a;
}

.hero-content p {
    font-size: 22px;

    margin-bottom: 30px;

    color: #555555;
}

.hero-button {
    display: inline-block;

    padding: 15px 30px;

    background-color: #f59e0b;
    color: #ffffff;

    text-decoration: none;
    font-weight: bold;

    border-radius: 8px;

    transition: 0.3s ease;
}

.hero-button:hover {
    background-color: #d97706;
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    max-width: 520px;

    margin: 0 auto;

    display: block;

    border-radius: 20px;
}


/* =========================================================
   GENERAL SECTION HEADING
   ========================================================= */

.section-heading {
    max-width: 750px;

    margin: 0 auto 50px;

    text-align: center;
}

.section-label {
    display: inline-block;

    margin-bottom: 12px;

    color: #f59e0b;

    font-size: 14px;
    font-weight: bold;

    letter-spacing: 2px;
}

.section-heading h2 {
    margin-bottom: 15px;

    color: #1e3a8a;

    font-size: 38px;
    line-height: 1.2;
}

.section-heading p {
    color: #666666;

    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
    padding: 100px 8%;
    background-color: #eff6ff;
}

.about-container {
    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    max-width: 520px;

    height: 500px;

    object-fit: cover;

    display: block;

    border-radius: 20px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.12);
}

.about-badge {
    position: absolute;

    right: 20px;
    bottom: 25px;

    padding: 18px 25px;

    background-color: #f59e0b;

    color: #ffffff;

    border-radius: 12px;

    text-align: center;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.15);
}

.about-badge strong {
    display: block;
    font-size: 20px;
}

.about-badge span {
    font-size: 14px;
}

.about-content {
    max-width: 600px;
}

.about-content h2 {
    margin-bottom: 20px;

    color: #1e3a8a;

    font-size: 42px;
    line-height: 1.2;
}

.about-content > p {
    margin-bottom: 18px;

    color: #666666;

    font-size: 17px;
    line-height: 1.7;
}

.about-features {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

    margin: 30px 0;
}

.about-feature {
    display: flex;

    align-items: flex-start;

    gap: 12px;
}

.feature-icon {
    width: 28px;
    height: 28px;

    min-width: 28px;

    display: flex;

    align-items: center;
    justify-content: center;

    background-color: #f59e0b;

    color: #ffffff;

    border-radius: 50%;

    font-weight: bold;
}

.about-feature h3 {
    margin-bottom: 4px;

    color: #1e3a8a;

    font-size: 17px;
}

.about-feature p {
    color: #666666;

    font-size: 14px;

    line-height: 1.5;
}

.about-button {
    display: inline-block;

    margin-top: 10px;

    padding: 14px 28px;

    background-color: #1e3a8a;

    color: #ffffff;

    text-decoration: none;

    font-weight: bold;

    border-radius: 8px;

    transition: 0.3s ease;
}

.about-button:hover {
    background-color: #162e6b;
    transform: translateY(-2px);
}


/* =========================================================
   PROGRAMS
   ========================================================= */

.programs {
    padding: 100px 60px;
    background-color: #ffffff;
}

.program-cards {
    max-width: 1100px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}

.program-card {
    position: relative;

    padding: 40px 30px;

    background-color: #eff6ff;

    border: 1px solid #dbeafe;

    border-radius: 18px;

    text-align: center;

    transition: 0.3s ease;
}

.program-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.10);
}

.featured-program {
    background-color: #1e3a8a;

    border-color: #1e3a8a;

    transform: translateY(-8px);
}

.featured-program:hover {
    transform: translateY(-14px);
}

.program-icon {
    width: 75px;
    height: 75px;

    margin: 0 auto 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    background-color: #ffffff;

    border-radius: 50%;

    font-size: 38px;
}

.program-icon i {
    font-size: 34px;
    color: #f59e0b;
}

.featured-program .program-icon i {
    color: #1e3a8a;
}

.program-stage {
    display: inline-block;

    margin-bottom: 10px;

    color: #f59e0b;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 1.5px;
}

.program-card h3 {
    margin-bottom: 15px;

    color: #1e3a8a;

    font-size: 24px;
}

.featured-program h3 {
    color: #ffffff;
}

.program-card > p {
    margin-bottom: 22px;

    color: #666666;

    line-height: 1.6;
}

.featured-program > p {
    color: #dbeafe;
}

.program-list {
    list-style: none;

    margin-bottom: 25px;

    text-align: left;
}

.program-list li {
    padding: 7px 0;

    color: #555555;

    font-size: 14px;
}

.featured-program .program-list li {
    color: #e0e7ff;
}

.program-link {
    display: inline-block;

    color: #1e3a8a;

    font-weight: bold;

    text-decoration: none;

    transition: 0.3s ease;
}

.program-link:hover {
    color: #f59e0b;
}

.featured-program .program-link {
    color: #f59e0b;
}


/* =========================================================
   ACTIVITIES
   ========================================================= */

.activities {
    padding: 100px 60px;
    background-color: #eff6ff;
}

.activity-grid {
    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;
}

.activity-card {
    overflow: hidden;

    background-color: #ffffff;

    border-radius: 18px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.06);

    transition: 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.12);
}

.activity-image {
    width: 100%;
    height: 210px;

    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: 0.5s ease;
}

.activity-card:hover .activity-image img {
    transform: scale(1.08);
}

.activity-content {
    position: relative;

    padding: 25px 22px 30px;
}

.activity-number {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 12px;

    background-color: #fff7e6;
    color: #f59e0b;

    border-radius: 50%;

    font-size: 18px;
}

.activity-number i {
    font-size: 17px;
}

.activity-content h3 {
    margin-bottom: 10px;

    color: #1e3a8a;

    font-size: 21px;
}

.activity-content p {
    color: #666666;

    line-height: 1.6;

    font-size: 15px;
}


/* =========================================================
   GALLERY
   ========================================================= */

.gallery {
    padding: 80px 60px;
    background-color: #ffffff;
}

.gallery-grid {
    max-width: 1100px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.gallery-item {
    height: 240px;

    overflow: hidden;

    background-color: #eff6ff;

    border-radius: 15px;

    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}


/* =========================================================
   GALLERY LIGHTBOX
   ========================================================= */

.lightbox {
    position: fixed;

    inset: 0;

    z-index: 2000;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100vh;

    padding: 60px 90px;

    background-color: rgba(0, 0, 0, 0.92);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    width: 100%;
    height: 100%;

    max-width: 1500px;
    max-height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    display: block;

    width: auto;
    height: auto;

    max-width: 100%;
    max-height: calc(100vh - 120px);

    object-fit: contain;

    border-radius: 10px;

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
    position: fixed;

    top: 25px;
    right: 30px;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: none;

    border-radius: 50%;

    background-color: #ffffff;

    color: #1e3a8a;

    font-size: 22px;

    font-weight: bold;

    cursor: pointer;

    z-index: 2010;

    transition: 0.3s ease;
}

.lightbox-close:hover {
    background-color: #f59e0b;

    color: #ffffff;

    transform: scale(1.08);
}

.lightbox-prev,
.lightbox-next {
    position: fixed;

    top: 50%;

    transform: translateY(-50%);

    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: none;

    border-radius: 50%;

    background-color: #ffffff;

    color: #1e3a8a;

    font-size: 27px;

    font-weight: bold;

    cursor: pointer;

    z-index: 2010;

    transition: 0.3s ease;
}

.lightbox-prev {
    left: 25px;
}

.lightbox-next {
    right: 25px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: #f59e0b;

    color: #ffffff;

    transform:
        translateY(-50%)
        scale(1.08);
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact {
    padding: 80px 8%;
    background-color: #f8fafc;
}

.contact-container {
    max-width: 1200px;

    margin: 50px auto 0;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 50px;
}


/* =========================================================
   ENROLMENT CTA
   ========================================================= */

.enrolment-cta {
    margin: 60px 0;

    padding: 70px 30px;

    background:
        linear-gradient(
            135deg,
            #1e3a8a,
            #2563eb
        );

    border-radius: 20px;

    text-align: center;

    color: #ffffff;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.12);
}

.enrolment-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.enrolment-cta .section-label {
    color: #f59e0b;
}

.enrolment-cta h2 {
    margin-bottom: 18px;

    color: #ffffff;

    font-size: 38px;
}

.enrolment-cta p {
    max-width: 650px;

    margin: 0 auto 30px;

    color: #f1f5f9;

    font-size: 17px;

    line-height: 1.7;
}

.enrolment-buttons {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 15px;

    flex-wrap: wrap;
}

.cta-primary,
.cta-secondary {
    display: inline-block;

    padding: 14px 28px;

    border-radius: 8px;

    text-decoration: none;

    font-weight: bold;

    transition: 0.3s ease;
}

.cta-primary {
    background-color: #f59e0b;
    color: #ffffff;
}

.cta-secondary {
    background-color: #ffffff;
    color: #1e3a8a;
}

.cta-primary:hover {
    background-color: #d97706;
    transform: translateY(-3px);
}

.cta-secondary:hover {
    background-color: #f1f5f9;
    transform: translateY(-3px);
}


/* =========================================================
   CONTACT INFORMATION
   ========================================================= */

.contact-info {
    padding: 40px;

    background-color: #1e3a8a;

    border-radius: 20px;

    color: #ffffff;
}

.contact-info h3 {
    margin-bottom: 15px;
    font-size: 30px;
}

.contact-info > p {
    margin-bottom: 30px;

    line-height: 1.7;

    opacity: 0.9;
}

.contact-details {
    display: flex;

    flex-direction: column;

    gap: 22px;
}

.contact-item {
    display: flex;

    align-items: center;

    gap: 15px;
}

.contact-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background-color: #f59e0b;

    border-radius: 50%;
}

.contact-icon i {
    font-size: 20px;
    color: #ffffff;
}

.contact-item h4 {
    margin: 0 0 4px;
    font-size: 16px;
}

.contact-item p {
    margin: 0;

    font-size: 14px;

    opacity: 0.9;
}

.contact-item a {
    color: #ffffff;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}


/* =========================================================
   WHATSAPP
   ========================================================= */

.whatsapp-button {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 35px;

    padding: 14px 22px;

    background-color: #25d366;

    color: #ffffff;

    border-radius: 8px;

    text-decoration: none;

    font-weight: 600;

    transition: 0.3s ease;
}

.whatsapp-button i {
    font-size: 20px;
}

.whatsapp-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}


/* =========================================================
   CONTACT FORM
   ========================================================= */

.contact-form-container {
    padding: 40px;

    background-color: #ffffff;

    border-radius: 20px;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.08);
}

.contact-form-container h3 {
    margin-bottom: 10px;

    color: #1e3a8a;

    font-size: 30px;
}

.contact-form-container > p {
    margin-bottom: 30px;

    color: #64748b;

    line-height: 1.6;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #334155;

    font-size: 14px;

    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 13px 15px;

    border: 1px solid #cbd5e1;

    border-radius: 8px;

    background-color: #ffffff;

    color: #334155;

    font-size: 15px;

    outline: none;

    transition: 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1e3a8a;

    box-shadow:
        0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.submit-button {
    width: 100%;

    padding: 15px;

    border: none;

    border-radius: 8px;

    background-color: #f59e0b;

    color: #ffffff;

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.3s ease;
}

.submit-button:hover {
    background-color: #d97706;
    transform: translateY(-2px);
}


/* =========================================================
   SUCCESS MESSAGE
   ========================================================= */

.form-success {
    display: none;

    margin-top: 25px;

    padding: 30px;

    text-align: center;

    background-color: #f5fff8;

    border: 1px solid #ccebd8;

    border-radius: 15px;
}

.form-success.active {
    display: block;
}

.success-icon {
    width: 55px;
    height: 55px;

    margin: 0 auto 15px;

    display: flex;

    align-items: center;
    justify-content: center;

    background-color: #2e9d61;

    color: #ffffff;

    border-radius: 50%;

    font-size: 28px;

    font-weight: bold;
}

.form-success h3 {
    margin-bottom: 10px;
    font-size: 24px;
}

.form-success p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.whatsapp-continue {
    padding: 13px 25px;

    border: none;

    border-radius: 8px;

    background-color: #25d366;

    color: #ffffff;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.3s ease;
}

.whatsapp-continue:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}


/* =========================================================
   CV UPLOAD
   ========================================================= */

.cv-upload-group {
    width: 100%;
}

.cv-upload-box {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 18px;

    border: 2px dashed #d5d5d5;

    border-radius: 12px;

    background-color: #fafafa;

    transition: 0.3s ease;
}

.cv-upload-box:hover {
    border-color: #2e9d61;
    background-color: #f5fff8;
}

.cv-upload-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background-color: #eaf8ef;

    border-radius: 10px;

    font-size: 23px;
}

.cv-upload-text {
    display: flex;

    flex-direction: column;

    flex: 1;
}

.cv-upload-text strong {
    margin-bottom: 3px;
    font-size: 15px;
}

.cv-upload-text span {
    color: #777777;
    font-size: 13px;
}

.cv-upload-button {
    padding: 10px 17px;

    background-color: #2e9d61;

    color: #ffffff;

    border-radius: 7px;

    font-size: 14px;

    font-weight: bold;

    cursor: pointer;

    white-space: nowrap;

    transition: 0.3s ease;
}

.cv-upload-button:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

#cv-file-name {
    display: block;

    margin-top: 8px;

    color: #777777;

    font-size: 13px;
}


/* =========================================================
   WE ARE HIRING
   ========================================================= */

.hiring-section {
    padding: 80px 8%;
    background-color: #ffffff;
}

.hiring-container {
    max-width: 1200px;

    margin: 0 auto;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 50px;

    padding: 55px 60px;

    background:
        linear-gradient(
            135deg,
            #fff7e6,
            #ffffff
        );

    border: 1px solid #fde68a;

    border-radius: 20px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.06);
}

.hiring-content {
    max-width: 750px;
}

.hiring-content .section-label {
    color: #f59e0b;
    margin-bottom: 10px;
}

.hiring-content h2 {
    color: #1e3a8a;

    font-size: 42px;

    margin-bottom: 15px;
}

.hiring-content p {
    color: #555555;

    font-size: 17px;

    line-height: 1.7;

    margin-bottom: 25px;
}

.hiring-positions {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 30px;
}

.hiring-positions span {
    padding: 8px 14px;

    background-color: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 20px;

    color: #334155;

    font-size: 14px;

    font-weight: 600;
}

.hiring-button {
    display: inline-block;

    padding: 14px 26px;

    background-color: #1e3a8a;

    color: #ffffff;

    text-decoration: none;

    border-radius: 8px;

    font-weight: bold;

    transition: 0.3s ease;
}

.hiring-button:hover {
    background-color: #f59e0b;
    transform: translateY(-2px);
}

.hiring-badge {
    min-width: 190px;
    height: 190px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    background-color: #1e3a8a;

    color: #ffffff;

    border-radius: 50%;

    box-shadow:
        0 12px 30px rgba(30, 58, 138, 0.25);
}

.hiring-badge-icon {
    font-size: 35px;
    margin-bottom: 8px;
}

.hiring-badge-icon i {
    font-size: 32px;
}

.hiring-badge strong {
    font-size: 15px;
    margin-bottom: 5px;
}

.hiring-badge span {
    font-size: 12px;

    line-height: 1.5;

    color: #dbeafe;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    padding: 60px 8% 0;

    background-color: #1e3a8a;

    color: #ffffff;
}

.footer-container {
    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        2fr
        1fr
        1.5fr
        1.5fr;

    gap: 50px;
}

.footer-column {
    display: flex;

    flex-direction: column;
}

.footer-logo {
    width: 150px;

    margin-bottom: 20px;
}

.footer-column h3 {
    margin-bottom: 20px;

    color: #ffffff;

    font-size: 20px;
}

.footer-column p {
    margin-bottom: 10px;

    color: #dbeafe;

    line-height: 1.7;
}

.footer-column p i {
    width: 20px;

    margin-right: 8px;

    color: #f59e0b;
}

.footer-column a {
    margin-bottom: 12px;

    color: #dbeafe;

    text-decoration: none;

    transition: 0.3s ease;
}

.footer-column a:hover {
    color: #f59e0b;
    transform: translateX(4px);
}


/* =========================================================
   FOOTER SOCIAL MEDIA
   ========================================================= */

.footer-social {
    display: flex;

    flex-direction: column;

    gap: 14px;
}

.footer-social a {
    display: flex;

    align-items: center;

    gap: 12px;

    color: #dbeafe;

    text-decoration: none;

    font-weight: 600;

    transition: 0.3s ease;
}

.footer-social a:hover {
    color: #f59e0b;
    transform: translateX(4px);
}

.social-icon {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffffff;

    font-weight: bold;

    font-size: 20px;
}

.tiktok-icon {
    background-color: #000000;
}

.facebook-icon {
    background-color: #1877f2;

    font-family: Arial, sans-serif;

    font-size: 23px;
}


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.footer-bottom {
    max-width: 1200px;
    margin: 50px auto 0;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    margin: 0;
    color: #bfdbfe;
    font-size: 14px;
    line-height: 1.5;
    white-space: nowrap; /* Prevents text from awkwardly wrapping into thin columns */
}

.footer-bottom strong {
    color: #f59e0b;
    font-weight: 600;
}


/* =========================================================
   TABLET RESPONSIVENESS
   ========================================================= */

@media (max-width: 1024px) {

    header {
        padding: 12px 30px;
    }

    nav {
        gap: 15px;
    }

    .hero {
        gap: 35px;
        padding: 50px 5%;
    }

    .hero-content h1 {
        font-size: 45px;
    }

    .program-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .activity-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   MOBILE RESPONSIVENESS
   ========================================================= */

@media (max-width: 768px) {

    /* HEADER */

    header {
        padding: 12px 20px;
        flex-direction: row;
    }

    .logo img {
        width: 120px;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        display: none;

        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        padding: 10px 0;

        flex-direction: column;

        gap: 0;

        background-color: #ffffff;

        border-top: 1px solid #eeeeee;

        box-shadow:
            0 5px 15px rgba(0, 0, 0, 0.08);
    }

    nav.active {
        display: flex;
    }

    nav a {
        width: 100%;

        padding: 15px 20px;

        text-align: center;

        font-size: 14px;
    }


    /* HERO */

    .hero {
        flex-direction: column;

        text-align: center;

        gap: 35px;

        padding: 60px 20px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .hero-label {
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .hero-image {
        width: 100%;
    }

    .hero-image img {
        width: 100%;
        max-width: 500px;
    }


    /* SECTIONS */

    .about-section,
    .programs,
    .activities,
    .gallery,
    .contact,
    .hiring-section {
        padding: 60px 20px;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2,
    .about-content h2 {
        font-size: 32px;
    }

    .section-heading p,
    .about-content p {
        font-size: 16px;
    }


    /* ABOUT */

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img {
        max-width: 100%;
        height: 350px;
    }

    .about-content {
        max-width: 100%;
        text-align: center;
    }

    .about-content h2 {
        font-size: 32px;
    }

    .about-features {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .about-button {
        margin-top: 15px;
    }


    /* PROGRAMS */

    .program-cards {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

    .program-card {
        width: 100%;
    }

    .featured-program {
        transform: none;
    }

    .featured-program:hover {
        transform: translateY(-8px);
    }


    /* ACTIVITIES */

    .activity-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

    .activity-image {
        height: 230px;
    }

    .activity-content {
        padding: 22px 20px 25px;
    }


    /* GALLERY */

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 260px;
    }


    /* LIGHTBOX */

    .lightbox {
        padding: 60px 55px;
    }

    .lightbox-content img {
        max-width: 100%;

        max-height:
            calc(100vh - 140px);

        border-radius: 8px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;

        width: 42px;
        height: 42px;

        font-size: 19px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 42px;
        height: 42px;

        font-size: 21px;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }


    /* CONTACT */

    .contact {
        padding: 60px 5%;
    }

    .contact-container {
        grid-template-columns: 1fr;

        gap: 30px;

        margin-top: 35px;
    }

    .contact-info,
    .contact-form-container {
        padding: 30px 25px;
    }

    .contact-info h3,
    .contact-form-container h3 {
        font-size: 25px;
    }


    /* FORM */

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
    }


    /* WHATSAPP */

    .whatsapp-button {
        width: 100%;
        justify-content: center;
        text-align: center;
    }


    /* ENROLMENT CTA */

    .enrolment-cta {
        padding: 50px 20px;

        margin: 40px 0;

        border-radius: 15px;
    }

    .enrolment-cta h2 {
        font-size: 30px;
    }

    .enrolment-cta p {
        font-size: 16px;
    }

    .enrolment-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;

        max-width: 280px;

        text-align: center;
    }


    /* CV UPLOAD */

    .cv-upload-box {
        flex-wrap: wrap;
    }

    .cv-upload-button {
        width: 100%;
        text-align: center;
    }


    /* HIRING */

    .hiring-container {
        flex-direction: column;

        text-align: center;

        padding: 45px 25px;

        gap: 35px;
    }

    .hiring-content h2 {
        font-size: 32px;
    }

    .hiring-content p {
        font-size: 16px;
    }

    .hiring-positions {
        justify-content: center;
    }

    .hiring-button {
        width: 100%;
        max-width: 300px;
    }

    .hiring-badge {
        min-width: 160px;
        height: 160px;
    }


    /* FOOTER */

    .footer {
        padding: 50px 6% 0;
    }

    .footer-container {
        grid-template-columns: 1fr;

        gap: 35px;

        text-align: center;
    }

    .footer-column {
        align-items: center;
    }

    .footer-logo {
        width: 130px;
    }

    .footer-column a:hover,
    .footer-social a:hover {
        transform: none;
    }

  .footer-bottom {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        gap: 12px;
        margin-top: 35px;
        padding: 20px 0;
    }

    .footer-bottom p {
        white-space: normal; 
    }
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

    .hero {
        padding: 45px 15px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-button {
        padding: 13px 22px;
    }

    .about-section,
    .programs,
    .activities,
    .gallery,
    .contact,
    .hiring-section {
        padding: 50px 15px;
    }

    .section-heading h2,
    .about-content h2 {
        font-size: 28px;
    }

    .gallery-item {
        height: 220px;
    }

    .footer h3 {
        font-size: 18px;
    }

    .footer-bottom p {
        font-size: 13px;
    }

    .lightbox {
        padding: 55px 45px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 38px;
        height: 38px;

        font-size: 19px;
    }
}

/* =========================================================
   FULL GALLERY PAGE
   ========================================================= */

.full-gallery {
    padding: 90px 6% 100px;

    background:
        linear-gradient(
            135deg,
            #eff6ff,
            #ffffff,
            #fff7e6
        );

    min-height: 100vh;
}


/* Gallery Heading */

.full-gallery .section-heading {
    max-width: 800px;

    margin: 0 auto 55px;

    text-align: center;
}

.full-gallery .section-heading h1 {
    margin-bottom: 15px;

    color: #1e3a8a;

    font-size: 48px;

    line-height: 1.2;
}


/* Gallery Grid */

.full-gallery-grid {
    max-width: 1250px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 22px;
}


/* Gallery Item */

.full-gallery-item {
    position: relative;

    height: 260px;

    overflow: hidden;

    background-color: #ffffff;

    border-radius: 16px;

    cursor: pointer;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.full-gallery-item:hover {
    transform: translateY(-7px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.15);
}


.full-gallery-item img {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}


.full-gallery-item:hover img {
    transform: scale(1.08);
}


/* =========================================================
   FULL GALLERY LIGHTBOX
   ========================================================= */

.full-gallery-lightbox {
    position: fixed;

    inset: 0;

    z-index: 3000;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    height: 100vh;

    padding: 60px 90px;

    background-color:
        rgba(0, 0, 0, 0.94);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}


.full-gallery-lightbox.active {
    opacity: 1;

    visibility: visible;
}


/* Lightbox Content */

.full-gallery-lightbox-content {
    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;
}


.full-gallery-lightbox-content img {
    display: block;

    width: auto;

    height: auto;

    max-width: 100%;

    max-height:
        calc(100vh - 120px);

    object-fit: contain;

    border-radius: 10px;

    box-shadow:
        0 15px 50px
        rgba(0, 0, 0, 0.5);
}


/* =========================================================
   CLOSE BUTTON
   ========================================================= */

.full-gallery-close {
    position: fixed;

    top: 25px;

    right: 30px;

    z-index: 3010;

    width: 50px;

    height: 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: none;

    border-radius: 50%;

    background-color: #ffffff;

    color: #1e3a8a;

    font-size: 22px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.3s ease;
}


.full-gallery-close:hover {
    background-color: #f59e0b;

    color: #ffffff;

    transform: scale(1.08);
}


/* =========================================================
   PREVIOUS / NEXT BUTTONS
   ========================================================= */

.full-gallery-prev,
.full-gallery-next {
    position: fixed;

    top: 50%;

    z-index: 3010;

    width: 55px;

    height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: none;

    border-radius: 50%;

    background-color: #ffffff;

    color: #1e3a8a;

    font-size: 28px;

    font-weight: bold;

    cursor: pointer;

    transform: translateY(-50%);

    transition: 0.3s ease;
}


.full-gallery-prev {
    left: 25px;
}


.full-gallery-next {
    right: 25px;
}


.full-gallery-prev:hover,
.full-gallery-next:hover {
    background-color: #f59e0b;

    color: #ffffff;

    transform:
        translateY(-50%)
        scale(1.08);
}


/* =========================================================
   MOBILE FULL GALLERY
   ========================================================= */

@media (max-width: 1024px) {

    .full-gallery-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

}


@media (max-width: 768px) {

    .full-gallery {
        padding: 60px 20px 70px;
    }


    .full-gallery .section-heading h1 {
        font-size: 36px;
    }


    .full-gallery-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 15px;
    }


    .full-gallery-item {
        height: 220px;
    }


    .full-gallery-lightbox {
        padding: 60px 50px;
    }


    .full-gallery-close {
        top: 15px;

        right: 15px;

        width: 42px;

        height: 42px;

        font-size: 19px;
    }


    .full-gallery-prev,
    .full-gallery-next {
        width: 42px;

        height: 42px;

        font-size: 21px;
    }


    .full-gallery-prev {
        left: 8px;
    }


    .full-gallery-next {
        right: 8px;
    }

}


@media (max-width: 480px) {

    .full-gallery-grid {
        grid-template-columns: 1fr;
    }


    .full-gallery-item {
        height: 240px;
    }


    .full-gallery-lightbox {
        padding: 55px 45px;
    }

}

/* ==============================
   GALLERY - VIEW MORE BUTTON
============================== */

.gallery-more {
    text-align: center;
    margin-top: 45px;
}

.gallery-more p {
    margin-bottom: 18px;

    color: #666666;

    font-size: 16px;
    line-height: 1.6;
}

.gallery-more-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 14px 28px;

    background: linear-gradient(
        135deg,
        #f59e0b,
        #f97316
    );

    color: #ffffff;

    text-decoration: none;

    border-radius: 30px;

    font-size: 15px;
    font-weight: bold;

    box-shadow:
        0 8px 20px rgba(245, 158, 11, 0.25);

    transition: all 0.3s ease;
}

.gallery-more-button i {
    font-size: 19px;
}

.gallery-more-button:hover {
    transform: translateY(-4px);

    background: linear-gradient(
        135deg,
        #1e3a8a,
        #2563eb
    );

    box-shadow:
        0 12px 25px rgba(30, 58, 138, 0.25);
}


/* ==============================
   MOBILE
============================== */

@media (max-width: 480px) {

    .gallery-more {
        margin-top: 35px;
    }

    .gallery-more p {
        font-size: 15px;
    }

    .gallery-more-button {
        width: 100%;
        max-width: 300px;

        padding: 14px 20px;
    }

}

/* =========================================================
   GALLERY CATEGORIES
   ========================================================= */

.gallery-category {
    max-width: 1250px;

    margin: 0 auto 90px;
}


.gallery-category:last-child {
    margin-bottom: 0;
}


/* Category Heading */

.gallery-category-heading {
    text-align: center;

    margin-bottom: 35px;
}


.gallery-category-label {
    display: inline-block;

    margin-bottom: 8px;

    color: #f59e0b;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 2px;
}


.gallery-category-heading h2 {
    margin-bottom: 10px;

    color: #1e3a8a;

    font-size: 36px;

    line-height: 1.2;
}


.gallery-category-heading p {
    max-width: 650px;

    margin: 0 auto;

    color: #64748b;

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================================
   CATEGORY SEPARATION
   ========================================================= */

.gallery-category + .gallery-category {
    padding-top: 70px;

    border-top:
        1px solid #dbeafe;
}


/* =========================================================
   MOBILE CATEGORY
   ========================================================= */

@media (max-width: 768px) {

    .gallery-category {
        margin-bottom: 65px;
    }


    .gallery-category + .gallery-category {
        padding-top: 50px;
    }


    .gallery-category-heading h2 {
        font-size: 30px;
    }


    .gallery-category-heading p {
        font-size: 15px;
    }

}
/* =========================================================
   GALLERY BUTTONS
   ========================================================= */

.gallery-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.gallery-more-button,
.gallery-tiktok-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 14px 25px;

    border-radius: 8px;

    text-decoration: none;

    font-weight: bold;

    transition: 0.3s ease;
}

.gallery-more-button {
    background-color: #1e3a8a;
    color: #ffffff;
}

.gallery-more-button:hover {
    background-color: #f59e0b;
    transform: translateY(-3px);
}

.gallery-tiktok-button {
    background-color: #000000;
    color: #ffffff;
}

.gallery-tiktok-button:hover {
    background-color: #f59e0b;
    transform: translateY(-3px);
}

.gallery-more-button i,
.gallery-tiktok-button i {
    font-size: 18px;
}


/* MOBILE */

@media (max-width: 768px) {

    .gallery-buttons {
        flex-direction: column;
        width: 100%;
    }

    .gallery-more-button,
    .gallery-tiktok-button {
        width: 100%;
        max-width: 300px;
    }

}

/* =========================================================
   SHENWIN & KIDS
   STRONG COLORFUL PRESCHOOL BACKGROUND SYSTEM
   ========================================================= */


/* =========================================================
   GLOBAL PRESCHOOL BACKGROUND
   ========================================================= */

body {
    position: relative;
    overflow-x: hidden;

    background:

        /* Yellow bubbles */
        radial-gradient(
            circle at 5% 12%,
            rgba(255, 202, 58, 0.30) 0 55px,
            transparent 56px
        ),

        /* Blue bubbles */
        radial-gradient(
            circle at 95% 10%,
            rgba(25, 130, 196, 0.22) 0 70px,
            transparent 71px
        ),

        /* Pink bubbles */
        radial-gradient(
            circle at 8% 45%,
            rgba(255, 89, 94, 0.20) 0 65px,
            transparent 66px
        ),

        /* Green bubbles */
        radial-gradient(
            circle at 94% 48%,
            rgba(138, 201, 38, 0.22) 0 70px,
            transparent 71px
        ),

        /* Purple bubbles */
        radial-gradient(
            circle at 12% 85%,
            rgba(106, 76, 147, 0.18) 0 65px,
            transparent 66px
        ),

        /* Cyan bubbles */
        radial-gradient(
            circle at 88% 88%,
            rgba(76, 201, 240, 0.20) 0 75px,
            transparent 76px
        ),

        #ffffff;
}


/* =========================================================
   COLORFUL TOP RAINBOW
   ========================================================= */

body::before {
    content: "";

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 9px;

    z-index: 9999;

    background:
        linear-gradient(
            90deg,
            #ff595e 0%,
            #ffca3a 16%,
            #8ac926 32%,
            #1982c4 48%,
            #6a4c93 64%,
            #ff4fa3 80%,
            #ff595e 100%
        );

    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.15);
}


/* =========================================================
   GLOBAL COLORFUL DECORATIVE DOTS
   ========================================================= */

body::after {
    content:
        "●     ●     ●     ●     ●     ●     ●";

    position: fixed;

    left: 0;
    bottom: 10px;

    width: 100%;

    text-align: center;

    font-size: 24px;
    letter-spacing: 15px;

    color: #ffca3a;

    opacity: 0.25;

    pointer-events: none;

    z-index: 0;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    background:

        radial-gradient(
            circle at 8% 20%,
            rgba(255, 202, 58, 0.30) 0 85px,
            transparent 86px
        ),

        radial-gradient(
            circle at 92% 25%,
            rgba(25, 130, 196, 0.22) 0 100px,
            transparent 101px
        ),

        radial-gradient(
            circle at 50% 90%,
            rgba(255, 89, 94, 0.15) 0 100px,
            transparent 101px
        ),

        linear-gradient(
            135deg,
            #fffbea,
            #effaff,
            #fff2fa
        );

    overflow: hidden;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
    position: relative;

    background:

        radial-gradient(
            circle at 5% 20%,
            rgba(138, 201, 38, 0.25) 0 75px,
            transparent 76px
        ),

        radial-gradient(
            circle at 95% 25%,
            rgba(255, 202, 58, 0.22) 0 65px,
            transparent 66px
        ),

        radial-gradient(
            circle at 90% 80%,
            rgba(255, 89, 94, 0.18) 0 80px,
            transparent 81px
        ),

        #fffdf4;

    overflow: hidden;
}


/* =========================================================
   PROGRAMS
   ========================================================= */

.programs {
    position: relative;

    background:

        radial-gradient(
            circle at 10% 15%,
            rgba(255, 89, 94, 0.18) 0 70px,
            transparent 71px
        ),

        radial-gradient(
            circle at 90% 20%,
            rgba(138, 201, 38, 0.22) 0 75px,
            transparent 76px
        ),

        radial-gradient(
            circle at 50% 100%,
            rgba(255, 202, 58, 0.18) 0 100px,
            transparent 101px
        ),

        linear-gradient(
            180deg,
            #f1fbff,
            #fff9f0
        );

    overflow: hidden;
}


/* =========================================================
   ACTIVITIES
   ========================================================= */

.activities {
    position: relative;

    background:

        radial-gradient(
            circle at 8% 15%,
            rgba(255, 202, 58, 0.28) 0 80px,
            transparent 81px
        ),

        radial-gradient(
            circle at 92% 20%,
            rgba(255, 89, 94, 0.20) 0 70px,
            transparent 71px
        ),

        radial-gradient(
            circle at 10% 85%,
            rgba(25, 130, 196, 0.18) 0 80px,
            transparent 81px
        ),

        radial-gradient(
            circle at 90% 85%,
            rgba(138, 201, 38, 0.22) 0 85px,
            transparent 86px
        ),

        #fff8ef;

    overflow: hidden;
}


/* =========================================================
   GALLERY
   ========================================================= */

.gallery {
    position: relative;

    background:

        radial-gradient(
            circle at 5% 12%,
            rgba(255, 89, 94, 0.24) 0 75px,
            transparent 76px
        ),

        radial-gradient(
            circle at 95% 12%,
            rgba(255, 202, 58, 0.28) 0 85px,
            transparent 86px
        ),

        radial-gradient(
            circle at 8% 85%,
            rgba(138, 201, 38, 0.22) 0 75px,
            transparent 76px
        ),

        radial-gradient(
            circle at 92% 85%,
            rgba(25, 130, 196, 0.22) 0 85px,
            transparent 86px
        ),

        linear-gradient(
            135deg,
            #eefaff,
            #fff1f8,
            #fffbea
        );

    overflow: hidden;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact {
    position: relative;

    background:

        radial-gradient(
            circle at 10% 15%,
            rgba(255, 89, 94, 0.22) 0 75px,
            transparent 76px
        ),

        radial-gradient(
            circle at 90% 20%,
            rgba(25, 130, 196, 0.22) 0 80px,
            transparent 81px
        ),

        radial-gradient(
            circle at 10% 85%,
            rgba(255, 202, 58, 0.24) 0 80px,
            transparent 81px
        ),

        radial-gradient(
            circle at 90% 85%,
            rgba(138, 201, 38, 0.20) 0 75px,
            transparent 76px
        ),

        #f4fbff;

    overflow: hidden;
}


/* =========================================================
   FLOATING COLORFUL CIRCLES
   ========================================================= */

.hero::before,
.about-section::before,
.programs::before,
.activities::before,
.gallery::before,
.contact::before {

    content: "";

    position: absolute;

    width: 120px;
    height: 120px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            rgba(255, 202, 58, 0.30),
            rgba(255, 89, 94, 0.15)
        );

    top: 35px;
    left: -55px;

    pointer-events: none;

    animation: preschoolFloat 6s ease-in-out infinite;
}


.hero::after,
.about-section::after,
.programs::after,
.activities::after,
.gallery::after,
.contact::after {

    content: "";

    position: absolute;

    width: 100px;
    height: 100px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            rgba(25, 130, 196, 0.25),
            rgba(138, 201, 38, 0.18)
        );

    bottom: 35px;
    right: -45px;

    pointer-events: none;

    animation: preschoolFloat 7s ease-in-out infinite reverse;
}


/* =========================================================
   CONTENT ABOVE DECORATIONS
   ========================================================= */

.hero > *,
.about-section > *,
.programs > *,
.activities > *,
.gallery > *,
.contact > * {

    position: relative;

    z-index: 2;
}


/* =========================================================
   ISOLATE DECORATIONS
   ========================================================= */

.hero,
.about-section,
.programs,
.activities,
.gallery,
.contact {

    isolation: isolate;
}


/* =========================================================
   ABC BLOCKS
   ========================================================= */

.hero::marker {
    display: none;
}


.hero .hero-content::before {

    content: "A";

    position: absolute;

    top: -35px;
    left: -75px;

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #ff595e;

    color: white;

    font-size: 30px;
    font-weight: 900;

    border-radius: 12px;

    box-shadow:
        0 7px 0 #d94348;

    transform: rotate(-8deg);

    opacity: 0.95;
}


.hero .hero-content::after {

    content: "B";

    position: absolute;

    top: 15px;
    left: 1%;

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #ffca3a;

    color: white;

    font-size: 30px;
    font-weight: 900;

    border-radius: 12px;

    box-shadow:
        0 7px 0 #d9a900;

    transform: rotate(7deg);

    opacity: 0.75;
}


/* =========================================================
   NUMBER BLOCKS
   ========================================================= */

.programs .section-heading::after {

    content: "1   2   3";

    position: absolute;

    right: 20px;
    top: -50px;

    padding: 15px 20px;

    background:
        linear-gradient(
            135deg,
            #8ac926,
            #4caf50
        );

    color: white;

    border-radius: 14px;

    font-size: 23px;
    font-weight: 900;

    letter-spacing: 4px;

    box-shadow:
        0 8px 0 #609d18,
        0 15px 25px rgba(0, 0, 0, 0.12);

    transform: rotate(-5deg);

    pointer-events: none;
}


/* =========================================================
   COLORFUL DOT PATTERN
   ========================================================= */

.activity-grid,
.program-cards,
.gallery-grid {

    position: relative;
}


.activity-grid::before,
.program-cards::before,
.gallery-grid::before {

    content:
        "●   ●   ●   ●   ●   ●";

    position: absolute;

    top: -50px;
    left: 0;

    font-size: 24px;

    letter-spacing: 13px;

    color: #ff595e;

    text-shadow:
        35px 0 #ffca3a,
        70px 0 #8ac926,
        105px 0 #1982c4,
        140px 0 #6a4c93;

    opacity: 0.75;

    pointer-events: none;
}


/* =========================================================
   STARS
   ========================================================= */

.gallery .section-heading::before {

    content: "★";

    position: absolute;

    left: 25px;
    top: -50px;

    color: #ffca3a;

    font-size: 48px;

    text-shadow:
        2px 2px 0 #e5aa00;

    animation:
        preschoolFloat 4s ease-in-out infinite;

    pointer-events: none;
}


.contact .section-heading::before {

    content: "★";

    position: absolute;

    right: 35px;
    top: -45px;

    color: #ff595e;

    font-size: 45px;

    text-shadow:
        2px 2px 0 #d94348;

    animation:
        preschoolFloat 4s ease-in-out infinite reverse;

    pointer-events: none;
}


/* =========================================================
   CLOUDS
   ========================================================= */

.about-section .about-container::before {

    content: "";

    position: absolute;

    width: 110px;
    height: 45px;

    background: rgba(255,255,255,0.95);

    border-radius: 50px;

    top: -30px;
    right: 8%;

    box-shadow:

        -28px 7px 0 rgba(255,255,255,0.95),

        28px 10px 0 rgba(255,255,255,0.95),

        0 10px 25px rgba(0,0,0,0.07);

    pointer-events: none;
}


/* =========================================================
   RAINBOW
   ========================================================= */

.activities .section-heading::after {

    content: "";

    position: absolute;

    width: 130px;
    height: 65px;

    right: 20px;
    top: -50px;

    border-radius:
        130px 130px 0 0;

    border-top:
        8px solid #ff595e;

    border-left:
        8px solid #ffca3a;

    border-right:
        8px solid #8ac926;

    transform: rotate(5deg);

    opacity: 0.9;

    pointer-events: none;
}


/* =========================================================
   CRAYON
   ========================================================= */

.about-content::after {

    content: "✎";

    position: absolute;

    right: -20px;
    bottom: -30px;

    font-size: 80px;

    color: #ff595e;

    transform: rotate(-25deg);

    opacity: 0.18;

    pointer-events: none;
}


/* =========================================================
   BALLOONS
   ========================================================= */

.hero-image::before {

    content: "●";

    position: absolute;

    top: 25px;
    right: 30px;

    font-size: 70px;

    color: #ff595e;

    text-shadow:

        35px 25px 0 #ffca3a,

        70px -5px 0 #8ac926,

        105px 25px 0 #1982c4;

    animation:
        balloonFloat 5s ease-in-out infinite;

    opacity: 0.85;

    pointer-events: none;
}


/* =========================================================
   EXTRA PRESCHOOL SHAPES
   ========================================================= */

.hero-content::marker,
.gallery-grid::marker {
    display: none;
}


/* colorful corner squares */

.gallery::before {

    box-shadow:

        65px 35px 0 rgba(255,89,94,0.12),

        130px 10px 0 rgba(255,202,58,0.12),

        195px 45px 0 rgba(138,201,38,0.12);
}


/* =========================================================
   PLAYFUL CARD COLORS
   ========================================================= */

.program-card:nth-child(1) {
    border-top: 6px solid #ff595e;
}

.program-card:nth-child(2) {
    border-top: 6px solid #ffca3a;
}

.program-card:nth-child(3) {
    border-top: 6px solid #8ac926;
}


.activity-card:nth-child(1) {
    border-top: 6px solid #1982c4;
}

.activity-card:nth-child(2) {
    border-top: 6px solid #ff595e;
}

.activity-card:nth-child(3) {
    border-top: 6px solid #ffca3a;
}

.activity-card:nth-child(4) {
    border-top: 6px solid #8ac926;
}


/* =========================================================
   COLORFUL ICON BACKGROUNDS
   ========================================================= */

.program-card:nth-child(1) .program-icon {

    background: rgba(255, 89, 94, 0.16);

    color: #ff595e;
}


.program-card:nth-child(2) .program-icon {

    background: rgba(255, 202, 58, 0.22);

    color: #e0a800;
}


.program-card:nth-child(3) .program-icon {

    background: rgba(138, 201, 38, 0.18);

    color: #65a719;
}


/* =========================================================
   SECTION LABELS
   ========================================================= */

.section-label {

    position: relative;

    display: inline-block;
}


.section-label::before {

    content: "✦";

    margin-right: 7px;

    color: #ffca3a;

    text-shadow:
        1px 1px 0 #e5aa00;
}


/* =========================================================
   PLAYFUL SECTION DIVIDERS
   ========================================================= */

section {

    position: relative;
}


section:not(.hero)::after {

    z-index: 0;
}


/* =========================================================
   FLOATING ANIMATION
   ========================================================= */

@keyframes preschoolFloat {

    0%,
    100% {

        transform:
            translateY(0)
            rotate(-5deg);
    }

    50% {

        transform:
            translateY(-12px)
            rotate(5deg);
    }

}


@keyframes balloonFloat {

    0%,
    100% {

        transform:
            translateY(0)
            rotate(0deg);
    }

    50% {

        transform:
            translateY(-15px)
            rotate(4deg);
    }

}


/* =========================================================
   PLAYFUL CARD HOVER
   ========================================================= */

.program-card,
.activity-card,
.gallery-item {

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.program-card:hover,
.activity-card:hover {

    transform:
        translateY(-7px)
        rotate(-0.5deg);

    box-shadow:
        0 18px 35px
        rgba(0, 0, 0, 0.12);
}


.gallery-item:hover {

    transform:
        translateY(-5px)
        scale(1.02);

    box-shadow:
        0 15px 30px
        rgba(25, 130, 196, 0.18);
}


/* =========================================================
   GALLERY PAGE SUPPORT
   ========================================================= */

/*
   These rules also make the standalone gallery.html
   colorful, even though it is a separate page.
*/

.gallery-page {

    position: relative;

    overflow-x: hidden;

    background:

        radial-gradient(
            circle at 5% 10%,
            rgba(255, 89, 94, 0.25) 0 80px,
            transparent 81px
        ),

        radial-gradient(
            circle at 95% 10%,
            rgba(255, 202, 58, 0.30) 0 85px,
            transparent 86px
        ),

        radial-gradient(
            circle at 8% 50%,
            rgba(138, 201, 38, 0.22) 0 75px,
            transparent 76px
        ),

        radial-gradient(
            circle at 92% 55%,
            rgba(25, 130, 196, 0.22) 0 80px,
            transparent 81px
        ),

        radial-gradient(
            circle at 15% 90%,
            rgba(106, 76, 147, 0.18) 0 70px,
            transparent 71px
        ),

        radial-gradient(
            circle at 85% 90%,
            rgba(255, 79, 163, 0.18) 0 75px,
            transparent 76px
        ),

        linear-gradient(
            135deg,
            #eefaff,
            #fff3fa,
            #fffbea
        );
}


/* =========================================================
   GALLERY PAGE DECORATIONS
   ========================================================= */

.gallery-page::before {

    content:
        "★     A     B     C     ★     1     2     3     ★";

    position: absolute;

    top: 20px;
    left: 0;

    width: 100%;

    text-align: center;

    font-size: 25px;
    font-weight: 900;

    letter-spacing: 8px;

    color: #ff595e;

    text-shadow:
        45px 0 #ffca3a,
        90px 0 #8ac926,
        135px 0 #1982c4;

    opacity: 0.65;

    pointer-events: none;

    z-index: 0;
}


.gallery-page::after {

    content:
        "●   ●   ●   ●   ●   ●   ●   ●";

    position: absolute;

    bottom: 20px;
    left: 0;

    width: 100%;

    text-align: center;

    font-size: 25px;

    letter-spacing: 15px;

    color: #ffca3a;

    text-shadow:
        30px 0 #ff595e,
        60px 0 #8ac926,
        90px 0 #1982c4;

    opacity: 0.45;

    pointer-events: none;

    z-index: 0;
}


/* =========================================================
   GALLERY PAGE SECTION HEADINGS
   ========================================================= */

.gallery-page h1,
.gallery-page h2 {

    position: relative;
}


.gallery-page h1::after {

    content: "★";

    position: absolute;

    margin-left: 12px;

    color: #ffca3a;

    font-size: 28px;

    animation:
        preschoolFloat 4s ease-in-out infinite;
}


/* =========================================================
   GALLERY PAGE IMAGE GRID
   ========================================================= */

.gallery-page .gallery-grid {

    position: relative;

    z-index: 2;
}


.gallery-page .gallery-item {

    position: relative;

    overflow: hidden;

    border-radius: 18px;

    border:
        5px solid rgba(255,255,255,0.90);

    box-shadow:
        0 10px 25px
        rgba(0,0,0,0.10);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.gallery-page .gallery-item:nth-child(4n + 1) {
    border-color: rgba(255, 89, 94, 0.65);
}


.gallery-page .gallery-item:nth-child(4n + 2) {
    border-color: rgba(255, 202, 58, 0.70);
}


.gallery-page .gallery-item:nth-child(4n + 3) {
    border-color: rgba(138, 201, 38, 0.65);
}


.gallery-page .gallery-item:nth-child(4n) {
    border-color: rgba(25, 130, 196, 0.65);
}


.gallery-page .gallery-item:hover {

    transform:
        translateY(-8px)
        rotate(-1deg);

    box-shadow:
        0 20px 40px
        rgba(0,0,0,0.16);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .hero .section-heading::before,
    .programs .section-heading::after,
    .gallery .section-heading::before,
    .contact .section-heading::before,
    .activities .section-heading::after {

        opacity: 0.45;

        transform: scale(0.7);
    }


    .hero-image::before {

        font-size: 45px;

        right: 15px;
        top: 15px;
    }


    .about-section .about-container::before {

        right: 3%;
    }


    .activity-grid::before,
    .program-cards::before,
    .gallery-grid::before {

        display: none;
    }


    .gallery-page::before {

        font-size: 17px;

        letter-spacing: 3px;
    }


    .gallery-page::after {

        font-size: 18px;

        letter-spacing: 7px;
    }

}


/* =========================================================
   EXTRA SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

    .hero .section-heading::before,
    .programs .section-heading::after,
    .gallery .section-heading::before,
    .contact .section-heading::before {

        display: none;
    }


    .hero-image::before {

        opacity: 0.25;
    }


    .gallery-page::before {

        opacity: 0.35;

        font-size: 14px;
    }


    .gallery-page::after {

        opacity: 0.30;

        font-size: 15px;
    }

}
/* =========================================================
   TRIP VIDEO
   ========================================================= */

.trip-video-section {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 80px auto 20px;
    padding: 0 20px;
}


.trip-video-section .section-heading {
    margin-bottom: 30px;
}


.trip-video-container {
    position: relative;
    max-width: 950px;
    margin: 0 auto;

    padding: 10px;

    background:
        linear-gradient(
            135deg,
            #ff595e,
            #ffca3a,
            #8ac926,
            #1982c4,
            #6a4c93
        );

    border-radius: 25px;

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.15);
}


.trip-video {
    display: block;

    width: 100%;
    height: auto;

    max-height: 600px;

    object-fit: cover;

    background: #111;

    border-radius: 18px;
}


/* PLAYFUL VIDEO DECORATIONS */

.trip-video-container::before {
    content: "★  ABC  ★";

    position: absolute;

    top: -22px;
    left: 30px;

    padding: 8px 15px;

    background: #ff595e;
    color: white;

    border-radius: 12px;

    font-size: 14px;
    font-weight: 900;

    letter-spacing: 2px;

    transform: rotate(-4deg);

    box-shadow:
        0 5px 0 #d94348;

    z-index: 3;
}


.trip-video-container::after {
    content: "1 2 3";

    position: absolute;

    right: 30px;
    bottom: -18px;

    padding: 8px 15px;

    background: #8ac926;
    color: white;

    border-radius: 12px;

    font-size: 16px;
    font-weight: 900;

    letter-spacing: 4px;

    transform: rotate(4deg);

    box-shadow:
        0 5px 0 #66a319;

    z-index: 3;
}


/* =========================================================
   MOBILE VIDEO
   ========================================================= */

@media (max-width: 768px) {

    .trip-video-section {
        margin-top: 60px;
        padding: 0 15px;
    }

    .trip-video-container {
        padding: 6px;
        border-radius: 18px;
    }

    .trip-video {
        border-radius: 13px;
    }

    .trip-video-container::before {
        top: -18px;
        left: 15px;
        font-size: 11px;
    }

    .trip-video-container::after {
        right: 15px;
        bottom: -15px;
        font-size: 12px;
    }

}

/* =========================================================
   REDUCE SPACE BETWEEN TRIP VIDEO AND CONTACT
   ========================================================= */

.trip-video-section {
    margin-bottom: 20px !important;
    padding-bottom: 0 !important;
}

.contact {
    padding-top: 50px !important;
}

/* =========================================================
   SMALL VIDEO GALLERY
   ========================================================= */

.video-gallery {
    max-width: 1100px;
    margin: 55px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}


.video-gallery-heading {
    text-align: center;
    margin-bottom: 25px;
}


.video-gallery-heading h3 {
    margin-top: 8px;
    font-size: 28px;
}


/* VIDEO GRID */

.video-grid {
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 18px;

    align-items: center;
}


/* INDIVIDUAL VIDEO */

.video-grid-item {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 10;

    overflow: hidden;

    border-radius: 15px;

    background: #111;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.12);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;

    cursor: pointer;
}


/* VIDEO */

.video-grid-item video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 15px;
}


/* HOVER */

.video-grid-item:hover {
    transform:
        scale(1.12)
        translateY(-8px);

    z-index: 10;

    box-shadow:
        0 20px 35px rgba(0, 0, 0, 0.22);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .video-grid {
        grid-template-columns:
            repeat(3, 1fr);

        gap: 15px;
    }

}


@media (max-width: 600px) {

    .video-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 12px;
    }

    .video-grid-item:hover {
        transform:
            scale(1.05)
            translateY(-4px);
    }

}


@media (max-width: 400px) {

    .video-grid {
        grid-template-columns: 1fr;
    }

}

.video-item {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 14px;
    cursor: pointer;
    background: #111;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.video-item:hover {
    transform: scale(1.99);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    z-index: 10;
}

.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Illustrations on plain white backgrounds: show the whole picture */
.activity-image img.illustration {
    object-fit: contain;
    background-color: #ffffff;
    padding: 12px;
}

/* Footer links inside contact lines */
.footer-column p a {
    margin: 0;
    color: inherit;
}

/* Keep the photo lightbox floating over the page
   (the ".gallery > *" rule above was turning it into a big blank block) */
.gallery > .lightbox {
    position: fixed;
    z-index: 2000;
}

/* CV box now points applicants to WhatsApp */
.cv-upload-icon .fa-whatsapp {
    color: #25d366;
    font-size: 26px;
}


/* =========================================================
   TOP BAR: GRADUATION COUNTDOWN + CURRENT TIME
   ========================================================= */

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 20px;

    padding: 15px 60px 6px;

    background-color: #1e3a8a;
    color: #ffffff;

    font-size: 14px;
    line-height: 1.4;
}

.grad-countdown-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 12px;
}

.grad-label {
    font-weight: 700;
    color: #fbbf24;
}

.grad-countdown {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    font-variant-numeric: tabular-nums;
}

.cd-unit b {
    font-size: 16px;
}

.current-time {
    color: #dbeafe;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .top-bar {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        justify-content: center;
        text-align: center;
        padding: 14px 16px 6px;
        font-size: 13px;
    }

    .grad-countdown-wrap {
        justify-content: center;
    }
}


/* =========================================================
   FIRST GRADUATION BANNER (homepage top)
   ========================================================= */

.grad-banner {
    position: relative;
    overflow: hidden;

    padding: 46px 60px 40px;

    color: #ffffff;
    background:
        radial-gradient(circle at 85% 30%, rgba(251, 191, 36, 0.35), transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(255, 79, 163, 0.30), transparent 40%),
        linear-gradient(135deg, #1e3a8a 0%, #312e81 55%, #6a4c93 100%);
}

.grad-inner {
    position: relative;
    z-index: 2;

    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
    gap: 40px;
}

.grad-kicker {
    display: inline-block;

    padding: 6px 16px;
    margin-bottom: 14px;

    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.14);

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.grad-title {
    margin: 0 0 10px;

    font-size: clamp(34px, 5.2vw, 64px);
    line-height: 1.05;
    font-weight: 900;
    text-transform: uppercase;

    color: #fde68a;
    text-shadow:
        0 3px 0 #b45309,
        0 8px 22px rgba(0, 0, 0, 0.35);

    animation: grad-shout 1.6s ease-in-out infinite;
    transform-origin: left center;
}

@keyframes grad-shout {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.04); }
}

.grad-sub {
    margin: 0 0 24px;
    font-size: clamp(16px, 2vw, 21px);
    font-weight: 600;
    color: #e0e7ff;
}

.grad-boxes {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.grad-boxes[hidden] {
    display: none;
}

.grad-box {
    min-width: 96px;
    padding: 14px 10px 10px;

    text-align: center;

    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(253, 230, 138, 0.55);
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.15);
}

.grad-box b {
    display: block;

    font-size: clamp(36px, 4.6vw, 56px);
    line-height: 1;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    color: #ffffff;
}

.grad-box span {
    display: block;
    margin-top: 6px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fde68a;
}

.grad-dayof {
    margin: 4px 0 0;
    font-size: clamp(20px, 2.6vw, 28px);
    font-weight: 800;
    color: #fde68a;
}

.grad-clock {
    margin: 22px 0 0;
    font-size: 14px;
    color: #c7d2fe;
    font-variant-numeric: tabular-nums;
}

/* ---- slideshow ---- */

.grad-show {
    text-align: center;
}

.grad-frame {
    position: relative;

    width: min(340px, 80vw);
    aspect-ratio: 1 / 1.1;
    margin: 0 auto;

    border-radius: 50% 50% 24px 24px;
    overflow: hidden;

    background:
        radial-gradient(circle at 50% 35%, #fff7d6 0%, #fde68a 45%, #f59e0b 100%);
    border: 6px solid #fde68a;
    box-shadow:
        0 0 0 6px rgba(255, 255, 255, 0.15),
        0 18px 40px rgba(0, 0, 0, 0.35);
}

.grad-frame img {
    position: absolute;
    left: 50%;
    bottom: 0;

    width: 88%;
    height: auto;

    opacity: 0;
    transform: translateX(-50%) scale(0.85) translateY(20px);
    transition:
        opacity 0.6s ease,
        transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.grad-frame img.active {
    opacity: 1;
    transform: translateX(-50%) scale(1) translateY(0);
}

.grad-caption {
    margin: 16px 0 0;
    font-size: 16px;
    font-weight: 600;
    color: #e0e7ff;
}

.grad-caption b {
    color: #fde68a;
}

/* ---- confetti ---- */

.confetti {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.confetti i {
    position: absolute;
    top: -20px;

    width: 9px;
    height: 15px;
    border-radius: 2px;
    opacity: 0.85;

    animation-name: confetti-fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.confetti i:nth-child(3n) {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

@keyframes confetti-fall {
    0%   { transform: translateY(-20px) rotate(0deg); }
    100% { transform: translateY(900px) rotate(720deg); }
}

@media (prefers-reduced-motion: reduce) {
    .grad-title,
    .confetti i {
        animation: none;
    }
    .confetti {
        display: none;
    }
}

/* ---- tablet / phone ---- */

@media (max-width: 1024px) {
    .grad-banner {
        padding: 40px 30px 36px;
    }
}

@media (max-width: 768px) {
    .grad-banner {
        padding: 34px 16px 30px;
    }

    .grad-inner {
        grid-template-columns: 1fr;
        gap: 26px;
        text-align: center;
    }

    .grad-title {
        transform-origin: center;
    }

    .grad-boxes {
        justify-content: center;
        gap: 8px;
    }

    .grad-box {
        min-width: 72px;
        padding: 10px 6px 8px;
    }

    .grad-box span {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .grad-frame {
        width: min(260px, 72vw);
    }
}


/* Menu links: stop section titles hiding under the sticky header */
section[id],
#enquiry-form {
    scroll-margin-top: 150px;
}


/* ==============================
   GRADUATION MUSIC BUTTON (music.js)
============================== */

.music-toggle {
    position: fixed;
    left: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 900;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 3px solid #1e3a8a;
    border-radius: 999px;
    background: #ffffff;
    color: #1e3a8a;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1;
    box-shadow: 3px 3px 0 #1e3a8a;
    cursor: pointer;
}

.music-toggle.is-on {
    background: #ffca3a;
}

.music-toggle.is-on i {
    animation: music-pulse 1.2s ease-in-out infinite;
}

.music-toggle:focus-visible {
    outline: 3px solid #ff595e;
    outline-offset: 3px;
}

@keyframes music-pulse {
    50% { transform: scale(1.2); }
}

@media (prefers-reduced-motion: reduce) {
    .music-toggle.is-on i { animation: none; }
}


/* =========================================================
   HEADER & NAVIGATION (refreshed)
   ========================================================= */

body {
    padding-top: 9px;                 /* room for the rainbow line */
}

.site-header {
    top: 9px;
    gap: 24px;

    padding: 10px 48px;

    background-color: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #eef0f6;

    transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.site-header.scrolled {
    padding-top: 6px;
    padding-bottom: 6px;
    box-shadow: 0 6px 24px rgba(30, 58, 138, 0.10);
}

/* ---- brand ---- */

.brand {
    display: flex;
    align-items: center;
    gap: 12px;

    text-decoration: none;
    flex-shrink: 0;
}

.brand img {
    width: 66px;
    height: 66px;
    object-fit: contain;
    transition: width 0.3s ease, height 0.3s ease;
}

.site-header.scrolled .brand img {
    width: 54px;
    height: 54px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    font-family: "Baloo 2", "Nunito", Arial, sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #1e3a8a;
    letter-spacing: 0.2px;
}

.brand-text small {
    margin-top: 2px;

    font-family: "Nunito", Arial, sans-serif;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: #f59e0b;
}

/* ---- links ---- */

.site-header nav {
    gap: 2px;
    flex-wrap: nowrap;
}

.site-header nav a {
    position: relative;
    white-space: nowrap;            /* never split "About Us" / "Enrol Now" */

    padding: 9px 12px;
    border-radius: 999px;

    font-family: "Nunito", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #2b3555;

    transition: background-color 0.2s ease, color 0.2s ease;
}

.site-header nav a:hover {
    color: #1e3a8a;
    background-color: #eef2ff;
}

.site-header nav a.active {
    color: #1e3a8a;
}

.site-header nav a.active::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: 3px;

    width: 18px;
    height: 3px;
    border-radius: 3px;

    background-color: #f59e0b;
    transform: translateX(-50%);
}

/* ---- Enrol Now button ---- */

.site-header nav a.nav-cta {
    margin-left: 8px;
    padding: 11px 18px;

    color: #ffffff;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.35);

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-header nav a.nav-cta:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #ea580c);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(249, 115, 22, 0.45);
}

.site-header nav a.nav-cta i {
    margin-right: 4px;
}

/* ---- animated menu button ---- */

.site-header .menu-toggle {
    width: 46px;
    height: 46px;
    padding: 12px 11px;

    flex-direction: column;
    justify-content: space-between;

    border-radius: 12px;
    background-color: #eef2ff;
}

.site-header .menu-toggle span {
    display: block;
    height: 3px;
    border-radius: 3px;
    background-color: #1e3a8a;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.site-header .menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.site-header .menu-toggle.open span:nth-child(2) { opacity: 0; }
.site-header .menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---- laptops: keep the full menu, just tighter ---- */

@media (max-width: 1320px) and (min-width: 1001px) {

    .site-header {
        padding-left: 24px;
        padding-right: 24px;
        gap: 14px;
    }

    .brand img {
        width: 56px;
        height: 56px;
    }

    .brand-text strong {
        font-size: 22px;
    }

    .brand-text small {
        font-size: 9px;
        letter-spacing: 0.9px;
    }

    .site-header nav a {
        padding: 8px 9px;
        font-size: 14.5px;
    }

    .site-header nav a.nav-cta {
        margin-left: 6px;
        padding: 10px 14px;
    }
}

/* small laptops: drop the tagline under the name */
@media (max-width: 1150px) and (min-width: 1001px) {

    .brand-text small {
        display: none;
    }

    .site-header nav a {
        padding: 8px 7px;
        font-size: 14px;
    }
}

/* ---- tablets and phones: menu button ---- */

@media (max-width: 1000px) {

    .site-header {
        padding: 10px 24px;
    }

    .site-header .menu-toggle {
        display: flex;
    }

    .site-header nav {
        display: none;

        position: absolute;
        top: 100%;
        left: 0;

        width: 100%;
        padding: 12px 20px 20px;

        flex-direction: column;
        align-items: stretch;
        gap: 2px;

        background-color: #ffffff;
        border-top: 1px solid #eef0f6;
        box-shadow: 0 16px 30px rgba(30, 58, 138, 0.12);
    }

    .site-header nav.active {
        display: flex;
    }

    .site-header nav a {
        width: auto;
        padding: 13px 16px;
        border-radius: 12px;

        text-align: left;
        font-size: 16px;
    }

    .site-header nav a.active {
        background-color: #eef2ff;
    }

    .site-header nav a.active::after {
        left: auto;
        right: 16px;
        bottom: 50%;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        transform: translateY(50%);
    }

    .site-header nav a.nav-cta {
        margin: 10px 0 0;
        padding: 14px;
        text-align: center;
    }
}

@media (max-width: 480px) {

    .site-header {
        padding: 8px 14px;
        gap: 10px;
    }

    .brand img {
        width: 52px;
        height: 52px;
    }

    .brand-text strong {
        font-size: 21px;
    }

    .brand-text small {
        font-size: 9px;
        letter-spacing: 0.8px;
    }
}

/* the sticky header is shorter now */
section[id],
#enquiry-form {
    scroll-margin-top: 110px;
}


/* =========================================================
   FIND US: MAP + DIRECTIONS
   ========================================================= */

.find-us {
    max-width: 1200px;
    margin: 50px auto 0;

    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 30px;
    align-items: center;

    padding: 28px;
    border-radius: 24px;
    background-color: #ffffff;
    box-shadow: 0 14px 40px rgba(30, 58, 138, 0.10);
}

.find-us-text h3 {
    margin: 8px 0 12px;
    font-size: 28px;
    color: #1e3a8a;
}

.find-us-text p {
    margin: 0 0 10px;
    font-size: 16px;
    color: #374151;
}

.find-us-text p i {
    color: #f59e0b;
    margin-right: 6px;
}

.find-us-hint {
    color: #6b7280 !important;
    font-size: 14px !important;
}

.directions-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-top: 10px;
    padding: 14px 24px;
    border-radius: 999px;

    font-weight: 800;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.directions-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.45);
}

.find-us-map {
    position: relative;
    display: block;

    height: 340px;
    border-radius: 18px;
    overflow: hidden;

    border: 4px solid #eef2ff;
    background-color: #e8eef9;   /* shown while the map loads */
    cursor: pointer;
}

.find-us-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;      /* a tap opens directions instead of moving the map */
}

.find-us-map-badge {
    position: absolute;
    right: 14px;
    bottom: 14px;

    padding: 10px 16px;
    border-radius: 999px;

    font-size: 14px;
    font-weight: 800;
    color: #1e3a8a;
    background-color: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.find-us-map:hover .find-us-map-badge {
    background-color: #fde68a;
}

.contact-item p a,
.footer-column p a {
    color: inherit;
    text-decoration: none;
}

.contact-item p a:hover {
    text-decoration: underline;
}

@media (max-width: 860px) {
    .find-us {
        grid-template-columns: 1fr;
        margin: 36px 16px 0;
        padding: 20px;
        text-align: center;
    }

    .find-us-map {
        height: 260px;
    }
}
