:root {
    --primary: #F97316;
    --primary-dark: #ea580c;
    --primary-soft: #fff4ec;
    --primary-light: #fed7aa;
    --primary-glow: rgba(249, 115, 22, .35);
    --dark: #0F172A;
    --text: #334155;
    --light-bg: #F8FAFC;
    --bg: #EAF0F2;
    --font-heading: 'Fredoka One', cursive;
    --font-body: 'Nunito', sans-serif;

}

html {
    scroll-behavior: smooth;
}

body {
    animation: pageFade 0.8s ease forwards;
    opacity: 0;
    overflow-x: hidden;
}

@keyframes pageFade {
    to {
        opacity: 1;
    }
}


body {

    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.7;
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
.font-heading {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--dark);
}


/* NavBar Hover Enhancement */
.nav-link:hover {
    color: var(--primary) !important;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    border-radius: 50px !important;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(249, 115, 22, 0.4);
}

.btn-light {
    font-weight: 600;
    border-radius: 50px !important;
    color: var(--primary) !important;
    transition: all 0.3s ease;
}

.btn-light:hover,
.btn-light:focus,
.btn-light:active {
    background-color: #fff;
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 255, 255, 0.3);
}

.btn-outline-light {
    font-weight: 600;
    border-radius: 50px !important;
    transition: all 0.3s ease;
}

.btn-outline-light:hover,
.btn-outline-light:focus,
.btn-outline-light:active {
    background-color: #fff;
    color: var(--primary);
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 255, 255, 0.3);
}

.btn-outline-dark {
    border-color: var(--dark);
    color: var(--dark);
}

.btn-outline-dark:hover {
    background-color: var(--dark);
    color: #fff;
}

/* Gradient text — same palette as AI search border */
.ai-gradient-text {
    background: linear-gradient(90deg, #ff7a18, #ffb347, #8f5eff, #00c6ff, #ff7a18);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: borderMove 8s linear infinite;
}

/* AI Search Section */

.ai-search-section {
    margin-bottom: 1rem;
}

/* wrapper for centering */
.ai-search-wrapper {
    max-width: 900px;
    margin: auto;
}

/* The gradient border magic */
.ai-search {
    position: relative;
    padding: 2px;
    border-radius: 60px;
    background: linear-gradient(90deg,
            #ff7a18,
            #ffb347,
            #8f5eff,
            #00c6ff,
            #ff7a18);
    background-size: 300% 300%;
    animation: borderMove 8s linear infinite;
}

/* inner container (actual input area) */
.ai-search::before {
    content: "";
    position: absolute;
    inset: 0;
    background: white;
    border-radius: 60px;
    z-index: 0;
    margin: 2px;
}

/* input field */
.ai-input {
    width: 100%;
    border: none;
    outline: none;
    padding: 20px 70px 20px 28px;
    border-radius: 60px;
    font-size: 16px;
    font-family: 'Nunito', sans-serif;
    background: transparent;
    position: relative;
    z-index: 2;
}

/* placeholder styling */
.ai-input::placeholder {
    color: #6b7280;
}

/* search button */
.ai-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: .25s;
}

.ai-btn:hover {
    background: #dbe3ff;
}

/* glow when typing */
.ai-search:focus-within {
    box-shadow:
        0 0 0 3px rgba(99, 102, 241, .15),
        0 0 35px rgba(99, 102, 241, .35);
}

/* gradient animation */
@keyframes borderMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@media (max-width:768px) {

    .ai-input {
        padding: 16px 60px 16px 20px;
        font-size: 14px;
    }

    .ai-search-wrapper {
        max-width: 100%;
    }

}

/* Feature Box */
.feature-box {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 16px;
    transition: .3s;
    border: 1px solid #eef1f6;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 55px rgba(249, 115, 22, .18);
    border-color: #ffe2cf;
}

/* Icon circle */
.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--primary);
    background: linear-gradient(135deg, #fff4ec, #ffe9db);
    transition: .3s;
}

.feature-box:hover .feature-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.08);
}

/* Title */
.feature-box h5 {
    font-family: 'Fredoka One', cursive;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Text */
.feature-box p {
    color: #6c757d;
    font-size: 15px;
    margin: 0;
}


/* Section header */
.courses-section {
    padding: 4rem 0;
    background-color: var(--bg);
    background-image: url('../images/courses-bg.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.section-label {
    font-size: 13px;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: var(--primary);
}

.section-title {
    font-size: clamp(22px, 4vw, 38px);
    font-weight: 500;
    margin-top: 6px;
}

/* Programme Structure Cards */
.programme-section {
    background: #fff;
    padding: 4rem 0 5rem;
}

.programme-title {
    font-size: 2.5rem;
    font-weight: 500;
    color: #3F51B5;
    margin-bottom: 0;
}

.programme-underline {
    width: 70px;
    height: 7px;
    background: #f97316;
    border-radius: 4px;
    margin: 14px auto 18px;
}

.programme-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.65;
}

.programme-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

.programme-card {
    position: relative;
    background: #FFFBF2;
    border-radius: 24px;
    padding: 2.5rem 1.75rem 2rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .25s, box-shadow .25s;
}

.programme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(249, 115, 22, 0.12);
}

.programme-ribbon {
    position: absolute;
    top: 18px;
    right: -34px;
    width: 130px;
    background: #f97316;
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    text-align: center;
    padding: 6px 0;
    transform: rotate(45deg);
    box-shadow: 0 2px 6px rgba(249, 115, 22, 0.35);
    letter-spacing: .02em;
}

.programme-icon-blob {
    width: 88px;
    height: 88px;
    margin: 0 auto 1.25rem;
    background: #f97316;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.programme-icon-blob i {
    font-size: 2rem;
    color: #fff;
}

.programme-card-title {
    font-size: 1.2rem;
    font-weight: 400;
    color: #3F51B5;
    margin-bottom: 1.1rem;
    line-height: 1.35;
}

.programme-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    text-align: left;
    flex-grow: 1;
}

.programme-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .95rem;
    color: #334155;
    margin-bottom: .65rem;
    line-height: 1.5;
    font-weight: 500;
}

.programme-features li i {
    color: #fbbf24;
    font-size: .75rem;
    margin-top: 5px;
    flex-shrink: 0;
}

.programme-actions {
    margin-top: auto;
}

.programme-enroll-btn {
    display: block;
    width: 100%;
    background: #f97316;
    color: #fff !important;
    font-weight: 700;
    font-size: 1rem;
    padding: .7rem 1.5rem;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
    transition: background .2s, transform .2s, box-shadow .2s;
    text-decoration: none;
}

.programme-enroll-btn:hover {
    background: #ea6c0a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.45);
}

.programme-details-link {
    display: inline-block;
    margin-top: .85rem;
    font-size: .9rem;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color .2s;
}

.programme-details-link:hover {
    color: #3F51B5;
}

@media (max-width: 991px) {
    .programme-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .programme-title {
        font-size: 2rem;
    }

    .programme-grid {
        grid-template-columns: 1fr;
    }

    .programme-card {
        padding: 2.25rem 1.5rem 1.75rem;
    }
}

/* Card */
.course-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    transition: .35s;
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(249, 115, 22, .18);
}

/* Image */
.course-image {
    position: relative;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: .5s;
}

.course-card:hover .course-image img {
    transform: scale(1.08);
}

/* overlay gradient */
.course-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent);
}

/* badge */
.course-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 30px;
}

.course-badge.hybrid {
    background: #0ea5e9;
}

.course-badge.classroom {
    background: #22c55e;
}

/* Body */
.course-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.course-body p {
    font-size: 14px;
    color: #64748b;
}

/* Meta chips */
.course-meta {
    margin: 16px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.meta-chip {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 13px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Actions */
.course-actions {
    margin-top: auto;
}

.details-link {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.details-link:hover {
    text-decoration: underline;
}



/* WHY SECTION */
.why-section {
    background: #FEF4F2;
    position: relative;
    padding: 4rem 0;
}

/* image wrapper */
.why-image-wrapper {
    position: relative;
}



/* right text */
.why-title {
    font-size: 40px;
    font-weight: 500;
    color: #4452B8;
    margin: 0 0 12px;
}

.why-title-underline {
    width: 56px;
    height: 4px;
    background: #F28A12;
    border-radius: 4px;
    margin-bottom: 20px;
}

.why-desc {
    color: #4A607B;
    margin-bottom: 28px;
    font-size: 0.97rem;
    line-height: 1.75;
}

/* Story Flowchart */
.story-flowchart {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    gap: 0;
}

.flowchart-step {
    display: flex;
    align-items: center;
    flex: 1 1 0;
    min-width: 150px;
}

.flowchart-card {
    flex: 1;
    background: #fff;
    border-radius: 14px;
    border: 2px solid #f97316;
    padding: 22px 14px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.07);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flowchart-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(249, 115, 22, 0.18);
}

.flowchart-num {
    width: 32px;
    height: 32px;
    background: #f97316;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    flex-shrink: 0;
}

.flowchart-icon-fc {
    font-size: 24px;
    color: #f97316;
    margin-bottom: 10px;
}

.flowchart-text {
    font-size: 13.5px;
    font-weight: 500;
    color: #334155;
    margin: 0;
    line-height: 1.5;
}

.flowchart-arrow {
    flex-shrink: 0;
    width: 36px;
    text-align: center;
    font-size: 22px;
    color: #f97316;
    line-height: 1;
}

@media (max-width: 767px) {
    .story-flowchart {
        flex-direction: column;
        align-items: stretch;
    }
    .flowchart-step {
        flex-direction: column;
        align-items: stretch;
    }
    .flowchart-card {
        width: 100%;
    }
    .flowchart-arrow {
        width: 100%;
        padding: 6px 0;
        transform: rotate(90deg);
    }
}



/* CTA */
.why-btn {
    background: #F28A12;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 700;
    font-size: 15px;
    transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(242, 138, 18, 0.35);
}

.why-btn:hover {
    background: #d4770a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(242, 138, 18, 0.45);
}

/* UPCOMING SECTION */
.upcoming-section {
    background: #fdf7f3;
    padding: 4rem 0;
}

/* Card */
.upcoming-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #f1e5dd;
    transition: .35s;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.upcoming-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(249, 115, 22, .18);
    border-color: #ffd9bf;
}

/* Image */
.upcoming-img {
    position: relative;
}

.upcoming-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Admissions badge */
.admission-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary);
    color: white;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 30px;
    font-weight: 600;
}

/* Body */
.upcoming-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.upcoming-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.upcoming-body p {
    font-size: 14px;
    color: #64748b;
}

/* Actions */
.upcoming-actions {
    margin-top: auto;
}

.upcoming-actions .btn {
    width: 100%;
    margin-bottom: 12px;
}

/* PARALLAX CTA */
/* GRADIENT CTA CARD */
.gradient-cta-section {
    padding: 3rem 0;
}

.gradient-cta-card {
    background: linear-gradient(135deg, #f97316 0%, #ef4444 55%, #e11d48 100%);
    border-radius: 24px;
    padding: 2.5rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    color: white;
    box-shadow: 0 12px 40px rgba(249, 115, 22, .35);
}

.gradient-cta-icon {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gradient-cta-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 18px;
}

.gradient-cta-body h2 {
    font-size: 26px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    line-height: 1.3;
    letter-spacing: 1.4px;
}

.gradient-cta-body p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 20px;
}

.gradient-cta-btn {
    background: white;
    color: #ea580c;
    font-weight: 700;
    font-size: 15px;
    padding: 10px 28px;
    border-radius: 50px;
    border: none;
    transition: .3s;
    display: inline-block;
}

.gradient-cta-btn:hover {
    background: #fff7ed;
    color: #c2410c;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

.gradient-cta-sub {
    margin-top: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

@media(max-width:768px) {

    .gradient-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.25rem;
        align-items: center;
    }

    .gradient-cta-icon {
        width: 90px;
        height: 90px;
    }

    .gradient-cta-body h2 {
        font-size: 22px;
    }

    .gradient-cta-body p {
        font-size: 14px;
    }

}

.site-footer {
    background: #2D3A8C;
    color: #f1f5ff;
    padding: 3.5rem 0 2.25rem;
    margin-top: 2.5rem;
    position: relative;
    overflow: visible;
}

.site-footer::before {
    content: none;
}

.footer-wave {
    position: absolute;
    top: -63px;
    left: 0;
    width: 100%;
    height: 64px;
    line-height: 0;
    color: #2D3A8C;
    pointer-events: none;
    z-index: 3;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 64px;
}

.footer-card {
    background: #3F51B5;
    border-radius: 28px;
    padding: 3rem 2.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 24px 55px rgba(22, 30, 88, 0.45);
}

.footer-logo-wrap {
    display: inline-block;
    background: #ffffff;
    border-radius: 999px;
    padding: 0.85rem 1.35rem;
    margin-bottom: 1.35rem;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
    transform: rotate(-4deg);
    transform-origin: left center;
}

.footer-logo {
    max-width: 175px;
    width: 100%;
    height: auto;
    margin-bottom: 0;
    display: block;
}

.footer-brand-tagline {
    color: #ffffff;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
}

.footer-brand-col {
    text-align: left;
}

.footer-club-col {
    text-align: left;
}

.footer-club-title {
    font-family: 'Fredoka One', 'Nunito', sans-serif;
    font-size: 1.55rem;
    font-weight: 400;
    margin-bottom: 0.65rem;
    color: #ffe566;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.28);
    letter-spacing: 0.02em;
}

.footer-club-desc {
    color: #ffffff;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.12rem;
    line-height: 1.45;
    margin-bottom: 1.15rem;
}

.footer-card-desc {
    color: rgba(248, 250, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
    color: #ffe566;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.28);
}

.footer-card-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-card-links li {
    margin-bottom: 0.65rem;
    position: relative;
    padding-left: 30px;
}

.footer-card-links li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: url("../images/paw-icon.svg") no-repeat center / contain;
    border-radius: 0;
    box-shadow: none;
}

.footer-card-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.02rem;
    transition: color 0.2s, opacity 0.2s;
}

.footer-card-links a:hover {
    color: #ffffff;
    opacity: 0.85;
}

.footer-contact-line {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 1.1rem;
    color: #ffffff;
    line-height: 1.5;
    font-size: 0.95rem;
}

.footer-contact-col {
    padding-right: 1.75rem;
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(20, 28, 72, 0.55);
}

.footer-contact-icon i {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1;
}

.footer-contact-icon-email {
    background: #ff6bb6;
}

.footer-contact-icon-phone {
    background: #2b3a8f;
}

.footer-contact-icon-address {
    background: #f7931e;
}

.footer-contact-text {
    flex: 1;
    min-width: 0;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    padding-top: 0.35rem;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.footer-contact-text:hover {
    color: #ffffff;
    opacity: 0.88;
}

.footer-social-card {
    margin-top: 1rem;
}

.footer-social-card a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f97316;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    margin-right: 8px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.footer-social-card a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.footer-social-card .social-facebook {
    background: #f97316;
}

.footer-social-card .social-instagram {
    background: #f43f5e;
}

.footer-social-card .social-youtube {
    background: #ef4444;
}

.footer-social-card .social-linkedin {
    background: #3b82f6;
}

.footer-social-card .social-whatsapp {
    background: #22c55e;
}

.footer-social-card .social-twitter {
    background: #facc15;
    color: #1f2937;
}

.newsletter-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    overflow: hidden;
    padding: 6px;
    margin-top: 0.75rem;
}

.newsletter-form input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.7rem 1rem;
    background: transparent;
    color: #fff;
    font-size: 0.95rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form button {
    background: #f7931e;
    border: none;
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(247, 147, 30, 0.35);
}

.footer-bottom {
    background: transparent;
    margin-top: 1.75rem;
    padding: 0.5rem 0 0;
    position: relative;
    z-index: 2;
    text-align: center;
}

.footer-copyright {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.footer-heart {
    color: #ff6bb6;
    font-size: 1.05rem;
    display: inline-block;
    transform: translateY(1px);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 992px) {
    .footer-card {
        padding: 2.25rem;
    }

    .footer-contact-col {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .footer-card {
        padding: 1.75rem;
        border-radius: 20px;
    }

    .footer-copyright {
        font-size: 0.92rem;
        line-height: 1.5;
        padding: 0 0.5rem;
    }

    .site-footer {
        margin-top: 2rem;
    }

    .footer-wave {
        top: -54px;
        height: 54px;
    }

    .footer-wave svg {
        height: 54px;
    }

    .footer-brand-col,
    .footer-club-col {
        text-align: center;
    }

    .footer-logo-wrap {
        transform: rotate(-3deg);
        transform-origin: center center;
    }

    .footer-brand-tagline {
        font-size: 1.2rem;
    }

    .footer-club-title {
        font-size: 1.35rem;
    }

    .footer-club-desc {
        font-size: 1rem;
    }

    .newsletter-form {
        flex-direction: column;
        border-radius: 16px;
    }

    .newsletter-form input {
        padding: 0.9rem 1.2rem;
    }

    .newsletter-form button {
        width: 100%;
        border-radius: 16px;
        margin-top: 4px;
    }
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
    animation: zoomIn .35s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(.8);
        opacity: 0;
    }

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

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* =========================================
   RESPONSIVE ENHANCEMENTS
========================================= */

/* ---------- Large Tablets (≤ 1200px) ---------- */
@media (max-width: 1200px) {

    .section-title {
        font-size: 32px;
    }

    .why-title {
        font-size: 32px;
    }

    .gradient-cta-body h2 {
        font-size: 24px;
    }


}


/* ---------- Tablets (≤ 992px) ---------- */
@media (max-width: 992px) {

    /* Courses */
    .course-image img {
        height: 190px;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 40px 25px;
    }

    .testimonial-text {
        font-size: 16px;
    }

    /* Why Section */
    .why-section {
        text-align: center;
    }

    .why-image-wrapper {
        margin-bottom: 30px;
    }

    /* Footer */
    .footer-title {
        margin-top: 30px;
    }
}


/* ---------- Mobile (≤ 768px) ---------- */
@media (max-width: 768px) {

    /* General section spacing */
    .courses-section,
    .testimonials-section,
    .why-section,
    .upcoming-section {
        padding: 3rem 0;
    }


    /* Section titles */
    .section-title {
        font-size: 26px;
    }

    .why-title {
        font-size: 26px;
    }

    /* Cards */
    .course-card,
    .upcoming-card {
        margin-bottom: 20px;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 35px 20px;
    }

    .testimonial-avatar {
        width: 70px;
        height: 70px;
        top: -35px;
    }

    /* Footer adjustments */
    .site-footer {
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;
    }

    .footer-social {
        justify-content: center !important;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom .container {
        justify-content: center !important;
    }

    /* Gradient CTA */
    .gradient-cta-body h2 {
        font-size: 20px;
    }

    .gradient-cta-body p {
        font-size: 14px;
    }

    .gradient-cta-btn {
        font-size: 14px;
        padding: 14px 26px;
    }

    /* Instagram grid */
    .insta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ---------- Small Mobile (≤ 576px) ---------- */
@media (max-width: 576px) {

    body {
        font-size: 14px;
    }


    .section-title {
        font-size: 22px;
    }

    .footer-bottom {
        font-size: 13px;
    }

    .insta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}



/* SECTION */
.testimonial-referral-section {
    background: #fdf7f3;
    padding: 80px 0;
}

.testimonial-heading {
    font-size: 34px;
    font-weight: 700;
}

/* SWIPER */
.testimonialSwiper {
    padding: 120px 0;
}

/* CARD */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 60px 30px 30px;
    text-align: center;
    transition: .4s ease;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);
}

/* AVATAR */
.testimonial-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TEXT */
.role {
    font-size: 13px;
    color: #64748b;
}

.testimonial-text {
    font-size: 14px;
    color: #475569;
    margin-top: 10px;
}

.stars {
    margin-top: 15px;
    color: #F97316;
    font-size: 16px;
}

/* VIDEO testimonial card */
.testimonial-card-video {
    padding: 20px 20px 25px;
    text-align: center;
}

.t-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0;
}

/* YouTube Shorts are portrait 9:16 */
.t-video-wrapper.is-short {
    max-width: 200px;
    aspect-ratio: 9 / 16;
    margin-left: auto;
    margin-right: auto;
}

.t-video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
    display: block;
}

/* SIDE SLIDES — testimonial only */
.testimonialSwiper .swiper-slide {
    transform: scale(0.88);
    transition: transform .4s ease;
}

/* Active center slide */
.testimonialSwiper .swiper-slide-active {
    transform: scale(1.25) !important;
}

/* Make center slightly lifted */
.testimonialSwiper .swiper-slide-active .testimonial-card {
    box-shadow: 0 30px 80px rgba(249, 115, 22, .35);
}

/* Slightly push side slides down */
.testimonialSwiper .swiper-slide-prev,
.testimonialSwiper .swiper-slide-next {
    transform: scale(0.75) translateY(15px) !important;
}

/* TESTIMONIALS PAGE */
.testimonials-page-section {
    background: #fff;
}

.testimonials-page-section-alt {
    background: #fdf7f3;
}

.testimonials-page-section .testimonials-grid {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 3.5rem;
    row-gap: 3.5rem;
}

.testimonials-page-section .testimonials-grid > [class*="col-"] {
    /* padding-top: 48px; */
}

.testimonials-page-section .testimonial-card {
    padding: 50px 24px 28px;
    margin-top: 0;
}

.testimonials-page-section .testimonial-card-video {
    padding-top: 24px;
}

/* Hero swiper — full-slide carousel (text + image together) */
.hero-swiper-shell {
    padding: 56px;
    position: relative;
}

.hero-swiper-btn {
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #3d52a0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
    transform: translateY(-50%);
}

.hero-swiper-btn i {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
}

.hero-swiper-btn:hover {
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
}

.hero-swiper-btn.swiper-button-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.hero-swiper-prev {
    left: 20px;
}

.hero-swiper-next {
    right: 20px;
}

.heroSwiper {
    overflow: hidden;
    width: 100%;
    padding-bottom: 44px;
    position: relative;
}

.heroSwiper .swiper-slide {
    width: 100% !important;
    flex-shrink: 0;
    transform: none !important;
    overflow: hidden;
    height: auto;
    box-sizing: border-box;
}

.heroSwiper .swiper-wrapper {
    align-items: stretch;
}

.heroSwiper .swiper-pagination {
    bottom: 8px;
}

.heroSwiper .swiper-pagination-bullet-active {
    background: var(--primary);
}

/* ===============================
   MODERN HERO 
================================= */

.hero-modern {
    background: linear-gradient(100deg, rgb(233 97 30 / 14%) 0%, rgba(63, 81, 181, 0.05) 100%);
    padding: 4em 0;
    position: relative;
    overflow: hidden;
}

.hero-slide-row {
    width: 100%;
    margin: 0;
    padding-bottom: 20px;
}

.hero-slide-content {
    padding-bottom: 8px;
}

.hero-subtitle {
    display: inline-block;
    background: rgba(249, 115, 22, 0.14);
    color: var(--primary);
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 18px;
    padding: 9px 20px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1.2;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 4.8vw, 3.35rem);
    font-weight: 500;
    line-height: 1.12;
    margin-bottom: 20px;
    color: #3d52a0;
    letter-spacing: -0.01em;
}

.hero-title .highlight {
    color: #3d52a0;
}

.hero-description {
    font-size: 16px;
    color: #475569;
    max-width: 520px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    padding-bottom: 20px;
    margin-bottom: 4px;
}

.hero-btn-primary {
    background: #f5820d;
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 8px 22px rgba(245, 130, 13, 0.28);
    transition: .3s;
}

.hero-btn-primary:hover,
.hero-btn-primary:focus {
    background: #e0750c;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(245, 130, 13, 0.34);
}

.hero-btn-outline {
    background: #e51a64;
    border: none;
    color: #fff;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(229, 26, 100, 0.28);
    transition: .3s;
}

.hero-btn-outline:hover,
.hero-btn-outline:focus {
    background: #c91658;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(229, 26, 100, 0.34);
}

/* Hero Video Embed */
.hero-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 16 / 9;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
    margin: 0 auto;
}

/* YouTube Shorts are portrait 9:16 */
.hero-video-wrapper.is-short {
    max-width: 280px;
    aspect-ratio: 9 / 16;
}

.hero-video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    display: block;
    border: none;
}

/* Custom video controls overlay */
.hero-vid-controls {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(6px);
    border-radius: 40px;
    padding: 6px 14px;
    z-index: 10;
    pointer-events: auto;
}

.hvc-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: background .2s;
}

.hvc-btn:hover { background: rgba(255,255,255,.2); }
.hvc-btn svg { width: 18px; height: 18px; display: block; }

/* Play / Pause icon toggling */
.hero-vid-controls .icon-pause { display: none; }
.hero-vid-controls.is-playing .icon-play  { display: none; }
.hero-vid-controls.is-playing .icon-pause { display: block; }

/* Mute / Unmute icon toggling */
.hero-vid-controls .icon-vol-off { display: none; }
.hero-vid-controls.is-muted .icon-vol-on  { display: none; }
.hero-vid-controls.is-muted .icon-vol-off { display: block; }

/* RIGHT IMAGE SECTION */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    padding: 16px 12px 20px 20px;
    overflow: hidden;
}

.hero-image-card {
    position: relative;
    width: 100%;
    transform: rotate(-3deg);
}

.hero-image-frame {
    background: #fff;
    border-radius: 28px;
    padding: 14px;
    overflow: hidden;
}

.hero-image {
    position: relative;
    z-index: 2;
    width: 100%;
    max-height: 480px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    border-radius: 18px;
}

.hero-float-icon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
    z-index: 5;
    pointer-events: none;
    animation: heroIconFloat 3s ease-in-out infinite;
    will-change: transform;
}

.hero-float-icon i {
    font-size: 1.35rem;
    line-height: 1;
}

@keyframes heroIconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes heroIconBob {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.06);
    }
}

@keyframes heroIconWiggle {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-6px) rotate(-4deg);
    }
    75% {
        transform: translateY(-6px) rotate(4deg);
    }
}

.hero-float-brain {
    top: 10%;
    right: 8%;
    width: 54px;
    height: 54px;
    background: #f97316;
    animation-name: heroIconFloat;
    animation-duration: 2.8s;
    animation-delay: 0s;
}

.hero-float-scope {
    bottom: 12%;
    right: 10%;
    width: 54px;
    height: 54px;
    background: #fbbf24;
    animation-name: heroIconBob;
    animation-duration: 3.2s;
    animation-delay: 0.5s;
}

.hero-float-question {
    bottom: 20%;
    left: 4px;
    width: 58px;
    height: 58px;
    background: #ec4899;
    z-index: 10;
    animation-name: heroIconWiggle;
    animation-duration: 3s;
    animation-delay: 1s;
}

@media (prefers-reduced-motion: reduce) {
    .hero-float-icon {
        animation: none;
    }
}

.hero-image-card .hero-video-wrapper {
    max-width: none;
    width: 100%;
    margin: 0;
    border-radius: 18px;
    box-shadow: none;
    aspect-ratio: 4 / 5;
}

.hero-image-card .hero-video-wrapper.is-short {
    max-width: none;
    aspect-ratio: 9 / 16;
}

/* RESPONSIVE */
@media (max-width: 992px) {

    .hero-modern {
        text-align: center;
    }

    .hero-swiper-shell {
        padding: 32px 20px;
    }

    .hero-swiper-btn {
        width: 42px;
        height: 42px;
    }

    .hero-swiper-btn i {
        font-size: 1.15rem;
    }

    .hero-swiper-prev {
        left: 10px;
    }

    .hero-swiper-next {
        right: 10px;
    }

    .heroSwiper {
        padding-bottom: 40px;
    }

    .hero-slide-row {
        padding-bottom: 16px;
    }

    .hero-slide-content {
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: clamp(1.85rem, 7vw, 2.35rem);
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 12px;
        padding: 8px 16px;
    }

    .hero-description {
        margin: auto auto 1rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image-wrapper {
        margin-top: 40px;
        max-width: 340px;
        padding: 12px 20px 24px 30px;
    }

    .hero-image-card {
        transform: rotate(-2deg);
    }

    .hero-image {
        max-height: 350px;
    }

    .hero-float-brain,
    .hero-float-scope {
        width: 46px;
        height: 46px;
    }

    .hero-float-question {
        width: 50px;
        height: 50px;
        left: 2px;
    }

    .hero-float-icon i {
        font-size: 1.15rem;
    }

    .testimonialSwiper .swiper-slide-active {
        transform: scale(0.85) !important;
    }

    .testimonialSwiper {
        padding: 60px 0;
    }

}

/* =========================
   MODERN HEADER
========================= */

.modern-header {
    padding: 0;
    background: #fff;
    transition: background-color 0.4s ease;
    position: relative;
    z-index: 100;
}

.modern-header.sticky {
    background: #ffffff;
}

.header-wrapper {
    background: #fff;
    padding: 14px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: visible;
}

/* Logo */
.header-logo img {
    max-height: 80px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.header-logo-mobile {
    max-height: 56px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-weight: 900;
    align-self: stretch;
}

.header-nav a {
    text-decoration: none;
    color: var(--dark);
    position: relative;
    transition: .3s;
}

.header-nav a:hover {
    color: var(--primary);
}

.header-nav a.active {
    color: var(--primary);
}

/* Orange underline animation */
.header-nav a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: .3s;
}

.header-nav a:hover::after,
.header-nav a.active::after {
    width: 100%;
}

/* Buttons */
.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-login {
    padding: 8px 20px;
    border-radius: 30px;
    border: 1.5px solid #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    color: var(--dark);
    transition: .3s;
}

.btn-login:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-signup {
    padding: 8px 22px;
    border-radius: 30px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 8px 20px var(--primary-glow);
    transition: .3s;
}

.btn-signup:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Mobile */
.mobile-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* ── Mobile Offcanvas Nav ─────────────────────────────────────── */
.mob-nav-link {
    text-decoration: none;
    color: #1a1209;
    background: none;
    border: none;
    padding: 0;
    transition: color .2s;
}
.mob-nav-link:hover,
.mob-nav-link.mob-nav-active {
    color: var(--primary);
}
.mob-nav-group .mob-nav-link[aria-expanded="true"] .mob-sub-chevron {
    transform: rotate(180deg);
}
.mob-submenu {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 0 4px 16px;
    border-left: 2px solid var(--primary-light);
    margin-top: 4px;
}
.mob-sub-link {
    text-decoration: none;
    font-size: .95rem;
    font-weight: 500;
    color: #4a4035;
    padding: 6px 8px;
    border-radius: 8px;
    transition: background .15s, color .15s;
}
.mob-sub-link:hover,
.mob-sub-link.mob-nav-active {
    background: #fff7f0;
    color: var(--primary);
}
.mob-chevron-btn {
    background: none;
    border: none;
    padding: 4px 8px;
    color: #4a4035;
    cursor: pointer;
    line-height: 1;
}

@media (max-width: 992px) {

    .header-nav,
    .header-actions {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }
}

/* Fixed Bottom Bar Marquee */
body.has-bottom-bar {
    padding-bottom: 45px;
    /* Adjust based on bar height to prevent overlapping with footer content */
}

.fixed-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark);
    color: #fff;
    padding: 10px 0;
    z-index: 1040;
    /* Above most elements, but below offcanvas (1045) */
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
    font-family: var(--font-body);
    height: 45px;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.marquee-content {
    display: flex;
    align-items: center;
    animation: marqueeScroll 35s linear infinite;
    width: max-content;
}

/* Pause on hover */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

.marquee-item a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.marquee-item a:hover {
    color: var(--primary);
}

.marquee-icon-img {
    height: 18px;
    width: auto;
    margin: 0 25px;
}

/* Adding the scrolling animation */
@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Using 50% since we duplicate the content in two items */
    }
}

/* =================================
   STICKY SOCIAL BAR 
================================== */
.sticky-social-bar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: end;
}

.sticky-social-bar .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #ffffff;
    color: var(--dark);
    font-size: 16px;
    text-decoration: none;
    transition: 0.3s ease;
    border-radius: 8px 0 0 8px;
    border: 1px solid #e2e8f0;
    border-right: none;
    /* Flat on the right side */
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.05);
}

.sticky-social-bar .social-icon:hover {
    width: 45px;
}

/* Brand Colors */
.sticky-social-bar .facebook:hover {
    background: #1877F2;
    color: white;
    border-color: #1877F2;
}

.sticky-social-bar .instagram:hover {
    background: #E4405F;
    color: white;
    border-color: #E4405F;
}

.sticky-social-bar .twitter:hover {
    background: #000000;
    color: white;
    border-color: #000000;
}

.sticky-social-bar .youtube:hover {
    background: #CD201F;
    color: white;
    border-color: #CD201F;
}

.sticky-social-bar .whatsapp:hover {
    background: #25D366;
    color: white;
    border-color: #25D366;
}

@media (max-width: 768px) {
    .sticky-social-bar .social-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .sticky-social-bar .social-icon:hover {
        width: 40px;
    }
}

/* =================================
   PAGES SPECIFIC STYLES
================================== */

/* Pages Header Shared */
.hero-page-header {
    padding: 100px 0;
    background-color: #801838;
    background-image: url('../images/page-header-pattern.svg');
    background-repeat: repeat;
    background-size: 320px 320px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-page-header .container {
    position: relative;
    z-index: 1;
}

.hero-page-header .hero-subtitle,
.hero-page-header .hero-description {
    display: none;
}

.hero-page-header .hero-title {
    font-family: var(--font-body);
    font-size: clamp(2rem, 4.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.hero-page-header .hero-title .highlight {
    color: #ffffff;
}

.hero-page-header .hero-title::after {
    content: "";
    display: block;
    width: 5.5rem;
    height: 5px;
    margin: 14px auto 0;
    border-radius: 999px;
    background: #f26522;
}

.hero-page-header .meta-chip {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.92);
}

.hero-page-header .meta-chip i {
    color: #f26522;
}

@media (max-width: 768px) {
    .hero-page-header {
        padding: 56px 0;
    }

    .hero-page-header .hero-title::after {
        width: 4.5rem;
        height: 4px;
        margin-top: 12px;
    }
}

/* About Page */
.about-main-section {
    padding: 4.5rem 0;
    background: #ffffff;
}

.about-block {
    margin-bottom: 2.25rem;
}

.about-block-title,
.about-approach-title {
    font-family: var(--font-body);
    font-size: clamp(1.5rem, 2.8vw, 1.85rem);
    font-weight: 700;
    color: #4452b8;
    margin-bottom: 0.65rem;
}

.about-block-underline {
    width: 56px;
    height: 4px;
    background: #f28a12;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.about-block-text,
.about-approach-text {
    color: #4a607b;
    font-size: 0.98rem;
    line-height: 1.75;
    margin-bottom: 0;
}

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

.about-mission-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0.85rem;
    color: #4a607b;
    font-size: 0.98rem;
    line-height: 1.6;
}

.about-mission-list li:last-child {
    margin-bottom: 0;
}

.about-mission-list li i {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #E91E63;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-top: 2px;
}

.about-collage-frame {





}

.about-collage-frame::before {



}

.about-collage-image {
    width: 80%;
    height: auto;
    display: block;
    border-radius: 18px;
    object-fit: cover;
    margin: 0 auto;
}

.about-approach-section {
    padding: 3.5rem 0 4.5rem;
    background: #ffffff;
}

.about-approach-text {
    max-width: 760px;
    margin-top: 1rem;
}

.about-wow-section {
    padding-top: 0;
    padding-bottom: 4rem;
}

.about-wow-card {
    background: linear-gradient(135deg, #F57C00, #E91E63);
}

@media (max-width: 991px) {
    .about-main-section {
        padding: 3.5rem 0;
    }

    .about-collage-frame {
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    .about-approach-section {
        padding: 2.5rem 0 3rem;
    }
}

/* Curriculum Page */
.curriculum-intro-section {
    padding: 4.5rem 0;
    background: #ffffff;
}

.curriculum-collage-frame {





}

.curriculum-collage-image {

    width: 80%;
    height: auto;
}

.curriculum-methodology-section {
    padding: 3.5rem 0 4.5rem;
    background: #ffffff;
}

.curriculum-method-grid {
    margin-top: 2.25rem;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 0;
}

.curriculum-method-item {
    flex: 0 0 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
    padding: 0 0.5rem;
}

.curriculum-method-arrow {
    display: none;
}

.curriculum-method-card {
    background: #fff8ee;
    border-radius: 20px;
    padding: 2rem 1.25rem 1.5rem;
    text-align: center;

    transition: transform .25s ease, box-shadow .25s ease;
}

.curriculum-method-card:hover {
    transform: translateY(-4px);
  
}

.curriculum-method-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.65rem;

}

.curriculum-method-label {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: #4452b8;
    margin: 0;
}

.curriculum-wow-section {
    padding-top: 0;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .curriculum-method-grid {
        flex-wrap: nowrap;
        gap: 0;
    }

    .curriculum-method-item {
        flex: 1 1 0;
        max-width: 200px;
        padding: 0;
    }

    .curriculum-method-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 32px;
        color: #f28a12;
        font-size: 1.35rem;
        font-weight: 700;
        opacity: 0;
        transform: translateX(-8px);
        transition: opacity .28s ease, transform .28s ease;
        pointer-events: none;
    }

    .curriculum-method-item:hover + .curriculum-method-arrow,
    .curriculum-method-arrow:has(+ .curriculum-method-item:hover) {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 991px) {
    .curriculum-intro-section {
        padding: 3.5rem 0;
    }

    .curriculum-collage-frame {
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    .curriculum-methodology-section {
        padding: 2.5rem 0 3rem;
    }

    .curriculum-method-card {
        padding: 1.5rem 1rem 1.25rem;
    }

    .curriculum-method-icon {
        width: 60px;
        height: 60px;
        font-size: 1.35rem;
    }
}

/* For Schools Page */
.for-schools-benefits-section {
    padding: 3.5rem 0 4.5rem;
    background: #fdf7f3;
}

.for-schools-benefit-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.25rem 1.75rem;
    border: 1px solid #f3ede6;
    box-shadow: 0 7px 8px rgb(15 23 42 / 5%);
    transition: transform .25s, box-shadow .25s;
}

.for-schools-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(249, 115, 22, .12);
}

.for-schools-benefit-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}

.for-schools-benefit-icon i {
    font-size: 2rem;
    color: #fff;
}

.for-schools-benefit-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: .5rem;
}

.for-schools-benefit-desc {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.65;
}

@media (max-width: 575px) {
    .for-schools-benefits-section {
        padding: 2.5rem 0 3rem;
    }
}

/* Summer Camp Page */
.summer-camp-programs-section {
    padding: 3.5rem 0 4.5rem;
    background: #fdf7f3;
}

@media (max-width: 575px) {
    .summer-camp-programs-section {
        padding: 2.5rem 0 3rem;
    }
}

/* Faculty Home Section */
/* ── Brands Carousel ──────────────────────────────────────── */
.brands-carousel-section {
    padding: 2.5rem 0;
    background: #f8f9fa;
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
}

.brands-track-wrapper {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.brands-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: max-content;
    animation: brandsScroll 28s linear infinite;
}

.brands-track:hover {
    animation-play-state: paused;
}

@keyframes brandsScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.brand-item {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.brand-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.brand-item img {
    height: 48px;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(1) opacity(0.55);
    transition: filter .3s;
}

.brand-item:hover img {
    filter: grayscale(0) opacity(1);
}

.brand-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: #aaa;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: color .3s;
    white-space: nowrap;
}

.brand-item:hover .brand-name {
    color: #555;
}

.faculty-hp-section {
    padding: 6rem 0;
    background: #FFFBF5;
}

/* Faculty HP heading */
.faculty-hp-title {
    font-size: 2.4rem;
    font-weight: 500;
    color: #4452B8;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.faculty-hp-underline {
    width: 56px;
    height: 4px;
    background: #F28A12;
    border-radius: 4px;
    margin: 10px auto 16px;
}

.faculty-hp-subtitle {
    font-size: 1.05rem;
    color: #303030;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.75;
}

/* Faculty New Card */
.faculty-card-new {
    background: #fff;
    border-radius: 20px;
    padding: 3.2rem 1.5rem 1.8rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(217, 217, 217, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    height: 100%;
}

.faculty-card-new:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(217, 217, 217, 1);
}

.faculty-card-clip {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 12px;
    background: #D4D4D4;
    border-radius: 50px;
}

.faculty-img-ring {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 4px solid #ED1E79;
    padding: 5px;
    background: #fff;
    margin: 0 auto 1.2rem;
    box-shadow: 0 0 0 3px #F9F9F9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.faculty-img-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.faculty-img-initial {
    background: #ED1E79;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faculty-card-name {
    font-size: 1.2rem;
    font-weight: 500;
    color: #4452B8;
    margin-bottom: 0.5rem;
}

.faculty-card-subject {
    display: inline-block;
    font-size: 1.0rem;
    font-weight: 700;
    color: #F28A12;
    background: #F6E6D6;
    border-radius: 20px;
    padding: 3px 14px;
}

/* View More Button */
.faculty-view-more-btn {
    background: #ED1E79;
    color: #FFFFFF;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2.2rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 18px rgba(237, 30, 121, 0.35);
}

.faculty-view-more-btn:hover {
    background: #c91668;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(237, 30, 121, 0.45);
}

/* Faculty Page */
.faculty-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    padding: 30px;
    height: 100%;
}

.faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.faculty-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid #f0f4f8;
}

.faculty-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.faculty-role {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Contact Page */
.contact-info-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.contact-icon-wrapper {
    width: 70px;
    height: 70px;
    background: #fff7f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon-wrapper {
    background: var(--primary);
}

.contact-info-card:hover .contact-icon {
    color: #fff;
}

.contact-form {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
    .contact-form {
        padding: 50px;
    }
}

.contact-form .form-control {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    background-color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
    outline: none;
}

.contact-form .form-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Our Core Values / Story Cards */
.core-value-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    border-bottom: 3px solid transparent;
}

.core-value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.core-value-icon {
    width: 80px;
    height: 80px;
    background: #fff7f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.core-value-card:hover .core-value-icon {
    background: var(--primary);
    color: #fff;
}

.core-value-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.core-value-desc {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Course Details Page */
.course-features-list {
    list-style: none;
    padding-left: 0;
}

.course-features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.course-features-list li i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 2px;
}

.course-sidebar {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    position: sticky;
    /* top: 120px; */
    border-top: 5px solid var(--primary);
}

.course-sidebar .sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.course-meta-list li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.course-meta-list li:last-child {
    border-bottom: none;
}

.course-meta-list .meta-icon {
    width: 40px;
    height: 40px;
    background: #fff7f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.course-meta-list .meta-content {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.course-meta-list .meta-content strong {
    color: var(--dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-meta-list .meta-content span {
    color: var(--text);
    font-weight: 500;
}

.course-price-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.about-cta-section {
    background: #fdf7f3;
}

/* =================================
   BLOG STYLES
================================= */

/* -- Filter Toolbar ----------------------------------------- */
.blog-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    border: 1.5px solid #f0f0f0;
}

/* Search input wrap */
.blog-search-wrap {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #e8edf2;
    border-radius: 50px;
    padding: 0 10px 0 16px;
    transition: border-color .2s, box-shadow .2s;
}
.blog-search-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249,115,22,.10);
    background: #fff;
}
.blog-search-icon {
    color: #aab;
    font-size: .92rem;
    flex-shrink: 0;
    margin-right: 8px;
}
.blog-search-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: .92rem;
    color: #333;
    padding: 10px 0;
}
.blog-search-input::placeholder { color: #aab; }
.blog-search-clear {
    color: #bbb;
    font-size: .78rem;
    padding: 4px 6px;
    text-decoration: none;
    transition: color .2s;
    flex-shrink: 0;
}
.blog-search-clear:hover { color: #e00; }

/* ── Header Nav Dropdown ─────────────────────────────────────── */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    align-self: stretch;
}
.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    user-select: none;
}
.nav-chevron {
    font-size: .7rem;
    transition: transform .25s ease;
    margin-top: 1px;
}
.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron {
    transform: rotate(180deg);
}
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    min-width: 220px;
    background: #fff;
    border: 1.5px solid var(--primary-light);
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(249,115,22,.12);
    padding: 8px 0;
    z-index: 1050;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
/* invisible bridge covering the gap so mouse can travel to menu */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear 0s;
}
.nav-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: .88rem;
    font-weight: 500;
    color: var(--dark);
    text-decoration: none;
    transition: background .15s, color .15s;
    white-space: nowrap;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
    background: #fff7f0;
    color: var(--primary);
}
.nav-dropdown-menu a::after { display: none; }

/* Custom category dropdown trigger */
.blog-custom-select {
    position: relative;
    flex-shrink: 0;
    min-width: 200px;
}
.blog-custom-select-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: #f8fafc;
    border: 1.5px solid #e8edf2;
    border-radius: 50px;
    padding: 10px 16px;
    font-size: .88rem;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s, background .2s;
    white-space: nowrap;
}
.blog-custom-select-btn:hover,
.blog-custom-select.open .blog-custom-select-btn {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249,115,22,.10);
    background: #fff;
}
.blog-custom-select-btn.has-value {
    border-color: var(--primary);
    color: var(--primary);
    background: #fff5ee;
    font-weight: 600;
}
.blog-select-icon {
    color: var(--primary);
    font-size: .85rem;
    flex-shrink: 0;
}
.blog-select-label { flex: 1; text-align: left; }
.blog-select-chevron {
    font-size: .72rem;
    color: #aaa;
    transition: transform .2s;
    flex-shrink: 0;
}
.blog-custom-select.open .blog-select-chevron { transform: rotate(180deg); }

/* Dropdown panel */
.blog-custom-select-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1.5px solid #e8edf2;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    z-index: 9999;
    overflow: hidden;
    padding: 6px;
}
.blog-custom-select-menu.open { display: block; }

.blog-select-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 9px;
    font-size: .88rem;
    color: #444;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.blog-select-option:hover { background: #fff5ee; color: var(--primary); }
.blog-select-option.selected { background: #fff5ee; color: var(--primary); font-weight: 600; }
.blog-select-option span:first-child { flex: 1; }
.blog-select-count {
    background: #f0f0f0;
    border-radius: 20px;
    padding: 1px 9px;
    font-size: .75rem;
    color: #888;
    font-weight: 500;
    flex-shrink: 0;
}
.blog-select-option.selected .blog-select-count,
.blog-select-option:hover .blog-select-count { background: rgba(249,115,22,.15); color: var(--primary); }
.blog-select-option .bi-check2 { color: var(--primary); font-size: .9rem; flex-shrink: 0; }

/* Search button */
.blog-search-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 24px;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .2s, box-shadow .2s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.blog-search-btn:hover { background: var(--primary-dark); box-shadow: 0 4px 14px rgba(249,115,22,.30); }

/* -- Blog Card ---------------------------------------------- */
.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    transition: box-shadow .3s, transform .3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.blog-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.12); transform: translateY(-4px); }

.blog-image { position: relative; overflow: hidden; }
.blog-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform .4s;
    display: block;
}
.blog-card:hover .blog-image img { transform: scale(1.05); }

.blog-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s;
}
.blog-badge:hover { background: var(--primary-dark); color: #fff; }

.blog-body {
    padding: 1.4rem 1.4rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    font-size: .78rem;
    color: #999;
    margin-bottom: .85rem;
}
.blog-meta span { display: flex; align-items: center; gap: 4px; }
.blog-meta i { font-size: .82rem; color: var(--primary); }

.blog-title {
    font-size: 1.05rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1.45;
    margin-bottom: .7rem;
}
.blog-title a { color: #1a1a2e; text-decoration: none; transition: color .2s; }
.blog-title a:hover { color: var(--primary); }

.blog-excerpt { font-size: .88rem; color: #666; line-height: 1.65; margin-bottom: 1rem; flex: 1; }

.blog-read-more {
    font-size: .85rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap .2s, color .2s;
    margin-top: auto;
}
.blog-read-more:hover { gap: 10px; color: var(--primary-dark); }

/* -- Pagination brand colours ------------------------------- */
.pagination .page-link { color: var(--primary); border-radius: 8px !important; }
.pagination .page-item.active .page-link { background-color: var(--primary); border-color: var(--primary); }

/* -- Responsive --------------------------------------------- */
@media (max-width: 640px) {
    .blog-search-wrap,
    .blog-custom-select { min-width: 100%; }
    .blog-search-btn { width: 100%; justify-content: center; }
}

/* ============================================================
   RESOURCES PAGE
   ============================================================ */
.resource-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    height: 100%;
}
.resource-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.13); }

/* Thumbnail area */
.resource-thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
    background: #f5f5f5;
}
.resource-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.resource-icon-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.resource-icon-placeholder i {
    font-size: 5rem;
    line-height: 1;
    transition: transform .3s ease;
}
.resource-card:hover .resource-icon-placeholder i {
    transform: scale(1.08);
}

.resource-icon-pdf   { background: linear-gradient(145deg, #fff0f0 0%, #fcd6d6 100%); color: #e53935; }
.resource-icon-doc   { background: linear-gradient(145deg, #eef3ff 0%, #d5e4ff 100%); color: #1565c0; }
.resource-icon-image { background: linear-gradient(145deg, #efffef 0%, #d4f5d6 100%); color: #2e7d32; }
.resource-icon-other { background: linear-gradient(145deg, #f7f3ff 0%, #e8deff 100%); color: #6a1b9a; }

/* Badges floating over thumb */
.resource-type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .04em;
    background: rgba(0,0,0,.55);
    color: #fff;
}
.resource-free-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    text-transform: uppercase;
    background: #e8f5e9;
    color: #2e7d32;
}

/* Card body */
.resource-body {
    padding: 1rem 1.1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.resource-category {
    font-size: .73rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .35rem;
}
.resource-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: .4rem;
    line-height: 1.35;
}
.resource-desc {
    font-size: .85rem;
    color: #666;
    line-height: 1.6;
    flex: 1;
    margin-bottom: .5rem;
}
.resource-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #f0f0f0;
    padding: .85rem 1.1rem;
    margin-top: auto;
}
.btn-resource-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--primary);
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .2s, transform .15s;
    white-space: nowrap;
    width: 100%;
}
.btn-resource-download:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }

/* Resource group cards (listing page) */
.resource-group-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,.08);
    transition: transform .22s, box-shadow .22s;
    color: inherit;
}
.resource-group-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,.13);
    text-decoration: none;
    color: inherit;
}
.resource-group-thumb {
    position: relative;
    aspect-ratio: 4/3;
    background: linear-gradient(145deg, #fff8f0 0%, #ffe4cc 100%);
    overflow: hidden;
}
.resource-group-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.resource-group-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 3.5rem;
    color: var(--color-primary, #f97316);
    opacity: .85;
}
.resource-group-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,.65);
    color: #fff;
    font-size: .72rem;
    padding: 4px 10px;
    border-radius: 999px;
}
.resource-group-body {
    padding: 1.1rem 1.2rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.resource-group-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: .4rem;
    color: #1a1a2e;
}
.resource-group-desc {
    font-size: .85rem;
    color: #6b7280;
    margin-bottom: .75rem;
    flex: 1;
}
.resource-group-link {
    font-size: .85rem;
    font-weight: 600;
    color: var(--color-primary, #f97316);
}

/* ============================================================
   LEGAL PAGES (Privacy Policy / Terms / Disclaimer)
   ============================================================ */
.legal-content-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
    padding: 2.5rem 3rem;
}
.legal-prose h2 {
    font-size: 1.65rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 1rem;
}
.legal-prose h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-top: 2rem;
    margin-bottom: .6rem;
}
.legal-prose p {
    font-size: .95rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}
.legal-prose ul, .legal-prose ol {
    font-size: .95rem;
    color: #555;
    line-height: 1.8;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.legal-prose a { color: var(--primary); text-decoration: underline; }
.legal-prose strong { color: #333; }
@media (max-width: 576px) {
    .legal-content-card { padding: 1.5rem 1.25rem; }
}

/* -- Blog Pagination ------------------------------- */
.blog-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1.5px solid #e0e0e0;
    background: #fff;
    color: #333;
    font-size: .9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all .2s;
}
.blog-page-btn:hover:not(.disabled):not(.active) {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.blog-page-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    font-weight: 700;
    pointer-events: none;
}
.blog-page-btn.disabled {
    opacity: .4;
    pointer-events: none;
    cursor: default;
}
