/* ══════════════════════════════════════
   CSS VARIABLES & RESET
══════════════════════════════════════ */
:root {
    --primary: #1f1a55;
    --red: #e53935;
    --orange: #f57c00;
    --yellow: #fbc02d;
    --green: #43a047;
    --teal: #00bcd4;
    --dark: #111;
    --body: #333;
    --muted: #555;
    --white: #fff;
    --font: "Playwrite DE Grund", cursive;
    --py: 100px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font);
    color: var(--body);
}

section {
    overflow-x: hidden;
}

.back1 {
    background: url("/assets/images/back1.png") no-repeat top center / cover;
}

.back2 {
    background: url("/assets/images/back2.png") no-repeat top center / cover;
}

.back3 {
    background: url("/assets/images/back3.png") center/cover no-repeat;
}

/* ── UTILITIES ── */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
    display: block;
}

.section-heading {
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 20px;
}

.highlight {
    color: var(--red);
}

/* ── COMIC BUTTON ── */
.comic-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background-color: var(--red);
    border: 2px solid #000;
    border-radius: 10px;
    box-shadow: -3px 5px 5px 0 #000;
    transition: all 0.3s;
    cursor: pointer;
    width: fit-content;
}

.comic-button:hover {
    background-color: var(--white);
    color: var(--red);
    border-color: var(--red);
    box-shadow: -3px 5px 5px 0 var(--red);
}

.comic-button:active {
    background-color: var(--yellow);
    box-shadow: none;
    transform: translateY(4px);
}

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.navbar {
    background: #fff;
    padding: 0.7rem 0;
    box-shadow: 0 2px 18px rgba(31, 26, 85, 0.09);
    position: sticky;
    top: 0;
    z-index: 1050;
}

.brand-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-wrap img {
    width: 70px;
    transform: scale(1.3);
}

.navbar-nav .nav-link {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--dark);
    padding: 10px 15px !important;
    display: inline-block;
    border-radius: 50px;
    transition: all 0.22s;
    white-space: nowrap;
    border: 1px dashed transparent;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary) !important;
    background: rgba(31, 26, 85, 0.07);
    border-color: var(--red);
}

.navbar-toggler {
    border: 2px solid var(--primary);
    border-radius: 10px;
    padding: 4px 8px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231f1a55' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mega drop */
.mega-wrap {
    position: static !important;
}

.mega-drop {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    border: none !important;
    border-top: 2px solid #f0f4fb !important;
    border-radius: 0 0 22px 22px !important;
    box-shadow: 0 20px 55px rgba(31, 26, 85, 0.13) !important;
    padding: 1.75rem 0 2rem !important;
    margin-top: 0 !important;
    background: #fff !important;
    animation: dropIn 0.22s ease;
}

@keyframes dropIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mega-section-label {
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    opacity: 0.55;
    margin-bottom: 1rem;
}

.m-card {
    background: #fff;
    border: 1.5px solid #edf1f9;
    border-radius: 16px;
    padding: 1.1rem 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    transition: all 0.25s;
    text-decoration: none !important;
    height: 100%;
}

.m-card.active,
.m-card:hover {
    border-color: rgba(31, 26, 85, 0.22);
    box-shadow: 0 6px 22px rgba(31, 26, 85, 0.1);
    transform: translateY(-3px);
    background: #fafcff;
}

.m-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.ic-blue {
    background: #e8f0fc;
    color: var(--primary);
}

.ic-orange {
    background: #fff0e6;
    color: var(--orange);
}

.ic-green {
    background: #e6f7ee;
    color: var(--green);
}

.ic-accent {
    background: #fce8f3;
    color: #c2185b;
}

.ic-teal {
    background: #e0f7fa;
    color: var(--teal);
}

.ic-amber {
    background: #fff8e1;
    color: var(--yellow);
}

.ic-indigo {
    background: #ede7f6;
    color: #5e35b1;
}

.ic-red {
    background: #ffebee;
    color: #c62828;
}

.m-card h6 {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.m-card p {
    font-size: 0.75rem;
    color: var(--body);
    line-height: 1.5;
    margin: 0;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav {
        gap: 20px !important;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #fff;
        border-radius: 16px;
        padding: 1rem;
        margin-top: 0.5rem;
        box-shadow: 0 8px 30px rgba(31, 26, 85, 0.12);
        max-height: 78vh;
        overflow-y: auto;
    }

    .mega-drop {
        position: static !important;
        width: 100% !important;
        box-shadow: none !important;
        border-radius: 12px !important;
        padding: 0.75rem 0 0.5rem !important;
        border: none !important;
    }

    .back1 {
        background: #fff1f1;
    }

    .back2 {
        background: #f7fae2;
    }
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 1.5rem;
    margin: 10px 12px 20px;
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.72));
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide:nth-child(1) {
    background-image: url("/assets/images/boy-on-therapy-swing-e1659543958758.jpg");
}

.hero-slide:nth-child(2) {
    background-image: url("/assets/images/slide2.jpg");
}

.hero-slide:nth-child(3) {
    background-image: url("/assets/images/slide1.jpg");
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h4 {
    color: #fff;
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    margin-bottom: 1rem;
    opacity: 0.9;
    letter-spacing: 1px;
}

.hero-heading {
    font-weight: 500;
    font-size: clamp(2rem, 6vw, 4.5rem);
    color: var(--white);
    line-height: 1.22;
    margin-bottom: 2rem;
}

.hero-heading .highlight {
    color: var(--yellow);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(0.85rem, 1.5vw, 1.2rem);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.hero-indicators {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.hero-ind {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.hero-ind.active {
    width: 28px;
    border-radius: 4px;
    background: #fff;
}

@media (max-width: 575.98px) {
    .hero-section {
        margin: 6px 6px 14px;
        border-radius: 1rem;
        height: 74vh;
    }
}

/* ══════════════════════════════════════
   STATS
══════════════════════════════════════ */
.stats-section {
    background: #fff;
    padding: 3rem 0;
    position: relative;
    overflow: visible;
}

.asset-1,
.asset-2 {
    width: 160px;
    position: absolute;
    top: -100px;
    right: 12px;
    pointer-events: none;
}

.asset-2 {
    top: 100px;
    left: 50px;
}

.stats-label {
    font-weight: 900;
    font-size: 0.87rem;
    letter-spacing: 0.16em;
    color: var(--body);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    opacity: 0.62;
    position: relative;
}

.stats-label::after {
    content: "";
    width: 60%;
    height: 2px;
    position: absolute;
    left: 50%;
    bottom: -12px;
    background: #eaeaea;
    transform: translateX(-50%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.stat-item {
    text-align: center;
    padding: 1rem 1rem 1.5rem;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background: #eaeaea;
}

.stat-number {
    font-weight: 300;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.c-teal {
    color: var(--teal);
}

.c-orange {
    color: var(--orange);
}

.c-accent {
    color: var(--red);
}

.stat-desc {
    margin-top: 12px;
    font-weight: 600;
    font-size: 0.87rem;
    color: var(--body);
}

@media (max-width: 575.98px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item::after {
        display: none !important;
    }

    .stat-item {
        border-bottom: 1px solid #eee;
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .asset-2,
    .asset-1 {
        width: 100px;
    }

    .asset-1 {
        top: -60px;
    }
}

/* ══════════════════════════════════════
   WHY SECTION
══════════════════════════════════════ */
.why-section {
    padding: var(--py) 0;
}

.why-img-frame {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 520px;
}

.why-img-frame::before {
    content: "";
    position: absolute;
    top: -14px;
    left: -14px;
    right: 14px;
    bottom: -14px;
    border: 2.5px dashed #e57373;
    border-radius: 22px;
    z-index: 0;
    pointer-events: none;
}

.why-img-frame img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.13);
    display: block;
}

.why-content {
    padding-left: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.why-body {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.85;
    margin: 1.2rem 0 1.5rem;
}

.why-points {
    list-style: none;
    padding: 0;
    margin-bottom: 1.8rem;
}

.why-points li {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    padding: 0.3rem 0 0.3rem 1.4rem;
    position: relative;
}

.why-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .why-content {
        padding-left: 0;
        padding-top: 2.5rem;
    }

    .why-img-frame img {
        height: 300px;
    }
}

@media (max-width: 575.98px) {
    .why-img-frame img {
        height: 240px;
    }
}

/* ══════════════════════════════════════
   STAND APART
══════════════════════════════════════ */
.stand-apart-section {
    padding: var(--py) 0;
    overflow: visible;
    position: relative;
}

.feature-card {
    border-radius: 20px;
    padding: 36px 32px 32px;
    margin-bottom: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.feature-card--peach {
    background: linear-gradient(135deg, #fff5f0, #fde8df);
}

.feature-card--teal {
    background: linear-gradient(135deg, #e8f8f7, #d0f0ee);
}

.feature-card--lavender {
    background: linear-gradient(135deg, #f3f0ff, #e4dcff);
}

.feature-card--mint {
    background: linear-gradient(135deg, #f0fff4, #d0f0dc);
}

.feature-card--lemon-cream {
    background: #f7fae29a;
}

.feature-icon-wrap {
    width: 100px;
    height: 100px;
    padding: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.icon-wrap--peach {
    background: #fcd5be;
}

.icon-wrap--teal {
    background: #b2e8e5;
}

.icon-wrap--lavender {
    background: #d6caff;
}

.icon-wrap--mint {
    background: #a8edbd;
}

.icon-wrap--lemon-cream {
    background: #f1f5d3;
}

.feature-card h4 {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: #555;
    margin: 0;
}

@media (min-width: 992px) {
    .heading-col {
        position: sticky;
        top: 150px;
        align-self: flex-start;
    }
}

@media (max-width: 575.98px) {
    .feature-card {
        padding: 24px 20px;
    }

    .feature-icon-wrap {
        width: 72px;
        height: 72px;
        padding: 14px;
    }

    .stand-apart-section {
        overflow: hidden !important;
    }
}

/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
.testimonials-section {
    padding: var(--py) 0;
    overflow: hidden;
}

.testimonials-left {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    min-height: 480px;
}

.testimonials-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonials-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(31, 26, 85, 0.95) 0%, rgba(31, 26, 85, 0.85) 55%, transparent 100%);
    color: #fff;
}

.testimonials-overlay h2 {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 1rem;
}

.testimonials-overlay .sub-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
}

.testi-track-wrapper {
    overflow: hidden;
    padding: 20px 0 0;
}

.testi-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testi-card {
    background: #fff;
    border-radius: 24px;
    padding: 2.8rem 2.4rem 2.2rem;
    flex: 0 0 calc(33.333% - 16px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.testi-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.055);
}

.testi-quote-icon {
    font-size: 3.2rem;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 1.2rem;
    font-family: Georgia, serif;
    font-weight: 900;
}

.testi-card p.quote {
    font-size: 0.94rem;
    line-height: 1.82;
    color: var(--body);
    font-style: italic;
    flex-grow: 1;
    margin-bottom: 2rem;
}

.testi-meta {
    border-top: 1px solid #eef0f5;
    padding-top: 1.2rem;
    display: flex;
    align-items: center;
    gap: 14px;
}

.testi-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #eef0f5;
    flex-shrink: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f0fc, #d0f0ee);
}

.testi-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testi-meta-text .name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}

.testi-meta-text .stars {
    font-size: 0.82rem;
    letter-spacing: 1px;
}

.testi-meta-text .stars i {
    color: var(--yellow);
}

.testi-meta-text .period {
    font-size: 0.74rem;
    color: var(--muted);
}

.testi-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}

.testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d0d4e0;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.testi-dot.active {
    width: 26px;
    border-radius: 4px;
    background: var(--red);
}

@media (max-width: 991.98px) {
    .testi-card {
        flex: 0 0 calc(80% - 16px);
    }

    .testimonials-left {
        min-height: 320px;
    }
}

@media (max-width: 575.98px) {
    .testi-card {
        flex: 0 0 calc(92% - 16px);
        padding: 1.8rem 1.4rem 1.6rem;
        min-height: auto;
    }
}

/* ══════════════════════════════════════
   STACK / SERVICES
══════════════════════════════════════ */
.stack-section {
    padding: var(--py) 0;
    overflow: visible;
}

.stack-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.stack-wrapper {
    width: 82%;
    margin: 0 auto;
}

.stack-card {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    margin-top: 36px;
    border-radius: 28px;
    background: url("/assets/images/slide2.jpg") center/cover no-repeat;
    overflow: hidden;
    padding: 56px 60px;
    will-change: transform;
    max-height: 520px;
    position: relative;
    z-index: 1;
}

.stack-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.25) 35%, rgba(0, 0, 0, 0.69) 65%, rgb(0, 0, 0) 100%);
    z-index: 2;
}

.stack-card-content {
    padding-right: 40px;
}

.stack-card-role {
    display: inline-block;
    background: rgba(229, 57, 53, 0.08);
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 1.2rem;
    border: 1px solid rgb(229, 56, 53);
    z-index: 3;
    position: relative;
}

.stack-card-name {
    font-size: clamp(1.3rem, 2.8vw, 2.1rem);
    font-weight: 800;
    color: var(--white);
    z-index: 3;
    position: relative;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.stack-card-desc {
    font-size: 0.9rem;
    line-height: 1.85;
    color: var(--white);
    z-index: 3;
    position: relative;
    margin-bottom: 2rem;
}

.stack-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.72rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.3);
    z-index: 3;
    position: relative;
}

.stack-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(229, 57, 53, 0.45);
    color: #fff;
}

.stack-cta i {
    transition: transform 0.3s;
}

.stack-cta:hover i {
    transform: translateX(4px);
}

@media (max-width: 991.98px) {
    .stack-card {
        grid-template-columns: 1fr;
        padding: 40px 32px;
        max-height: none;
    }

    .stack-card-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .stack-wrapper {
        width: 95%;
    }
}

@media (max-width: 575.98px) {
    .stack-card {
        padding: 28px 20px;
    }

    .stack-wrapper {
        width: 100%;
        padding: 0 12px;
    }
}

/* ══════════════════════════════════════
   WHY CHOOSE US
══════════════════════════════════════ */
.school-why-section {
    padding: var(--py) 0;
    overflow: hidden;
}

.school-why-desc {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.8;
    max-width: 480px;
    margin-top: 1.5rem;
}

.school-card-big {
    position: relative;
    border-radius: 200px;
    overflow: hidden;
    border: 3.5px solid var(--red);
    height: 440px;
    display: flex;
    align-items: flex-end;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none !important;
}

.school-card-big:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(229, 57, 53, 0.2);
}

.school-card-big img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.school-card-big .card-label {
    position: absolute;
    bottom: 0;
    z-index: 2;
    width: 100%;
    background: rgba(255, 220, 210, 0.92);
    padding: 0.75rem 1.25rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark);
    backdrop-filter: blur(4px);
    text-align: center;
}

.school-card-big .card-label span {
    color: var(--red);
}

.school-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.school-card-round {
    position: relative;
    aspect-ratio: 6/3;
    border-radius: 999px;
    overflow: hidden;
    border: 4px solid transparent;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: transform 0.3s ease;
    text-decoration: none !important;
    cursor: pointer;
}

.school-card-round:hover {
    transform: scale(1.04);
}

.school-card-round img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.school-card-round .round-label {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.55rem 0.4rem 0.9rem;
    backdrop-filter: blur(3px);
}

.border-yellow {
    border-color: #f7c948;
}

.border-blue {
    border-color: #3a3ace;
}

.border-pink {
    border-color: #e91e8c;
}

.bg-yellow-label {
    background: rgba(255, 245, 150, 0.88);
    color: var(--dark);
}

.bg-yellow-label span {
    color: #c08000;
}

.bg-blue-label {
    background: rgba(180, 180, 255, 0.88);
    color: var(--dark);
}

.bg-blue-label span {
    color: #1a1a9e;
}

.bg-pink-label {
    background: rgba(255, 200, 235, 0.88);
    color: var(--dark);
}

.bg-pink-label span {
    color: #b0006a;
}

@media (max-width: 991.98px) {
    .school-card-big {
        height: 280px;
        border-radius: 120px;
    }
}

@media (max-width: 575.98px) {
    .school-card-big {
        height: 200px;
        border-radius: 80px;
    }

    .school-card-big .card-label {
        font-size: 0.82rem;
    }

    .school-cards-row {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .round-label {
        font-size: 0.68rem !important;
    }
}

@media (max-width: 380px) {
    .school-cards-row {
        grid-template-columns: 1fr;
    }

    .school-card-round {
        border-radius: 20px;
        aspect-ratio: 16/9;
    }
}

/* ══════════════════════════════════════
   NEWS VIDEO
══════════════════════════════════════ */
.news-section {
    padding: var(--py) 0;
}

.news-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 2rem;
}

.news-video-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13);
}

.news-video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.news-video-card:hover img {
    transform: scale(1.06);
}

.news-video-card .vid-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.28) 60%, transparent 100%);
    transition: background 0.3s;
}

.news-video-card:hover .vid-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.76) 60%, transparent 100%);
}

.play-btn-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.play-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.3s ease, background 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.play-btn svg {
    width: 26px;
    height: 26px;
    fill: var(--red);
    margin-left: 4px;
    transition: fill 0.3s;
}

.news-video-card:hover .play-btn {
    transform: scale(1.12);
    background: var(--red);
}

.news-video-card:hover .play-btn svg {
    fill: #fff;
}

.play-btn::before,
.play-btn::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    animation: pulse-ring 2.2s ease-out infinite;
}

.play-btn::after {
    animation-delay: 1.1s;
}

@keyframes pulse-ring {
    0% {
        width: 64px;
        height: 64px;
        opacity: 0.8;
    }

    100% {
        width: 120px;
        height: 120px;
        opacity: 0;
    }
}

.news-video-card .vid-label {
    position: absolute;
    bottom: 16px;
    left: 18px;
    right: 18px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.4;
    z-index: 2;
}

@media (max-width: 767.98px) {
    .news-video-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ══════════════════════════════════════
   VIDEO MODAL
══════════════════════════════════════ */
.yt-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    animation: fadeIn 0.25s ease;
}

.yt-modal-backdrop.open {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.yt-modal {
    position: relative;
    width: 90vw;
    max-width: 900px;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    animation: scaleIn 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
    from {
        transform: scale(0.88);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.yt-modal .aspect-box {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.yt-modal iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.yt-modal-close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.yt-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ══════════════════════════════════════
   FEATURED IN
══════════════════════════════════════ */
.featured-section {
    padding: 80px 0;
    overflow: hidden;
}

.featured-inner {
    display: grid;
    grid-template-columns: 300px 1fr;
    align-items: center;
    border-radius: 28px;
    overflow: hidden;
    min-height: 180px;
}

.featured-left {
    padding: 48px 44px;
    position: relative;
    z-index: 1;
}

.featured-left::after {
    content: "";
    position: absolute;
    top: 0;
    right: -1px;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.featured-right {
    overflow: hidden;
    padding: 0 40px;
    position: relative;
}

.logo-track-wrap {
    overflow: hidden;
}

.logo-track {
    display: flex;
    gap: 48px;
    align-items: center;
    width: max-content;
    animation: logoScroll 22s linear infinite;
}

.logo-track:hover {
    animation-play-state: paused;
}

@keyframes logoScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.82);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
    cursor: pointer;
}

.logo-item:hover {
    background: #fff;
    border-color: #fff;
    transform: translateY(-3px);
}

.logo-item img {
    height: 80px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

@media (max-width: 767.98px) {

    .about-img-wrap::before {
        top: -7px !important;
        left: -7px !important;
        right: -7px !important;
        bottom: -7px !important;
    }

    .sped-content-section {
        overflow: hidden !important;
    }

    .featured-inner {
        grid-template-columns: 1fr;
    }

    .featured-left::after {
        display: none;
    }

    .featured-left {
        padding: 36px 28px 24px;
    }

    .featured-right {
        padding: 0 20px 36px;
    }
}

/* ══════════════════════════════════════
   BLOG CARDS
══════════════════════════════════════ */
.news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.8rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-view-more {
    display: inline-block;
    padding: 0.65rem 1.8rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--orange));
    border: none;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.32);
    align-self: center;
}

.btn-view-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(229, 57, 53, 0.46);
    color: #fff;
}

.news-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    border: 1.5px solid #f0eae6;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 48px rgba(31, 26, 85, 0.12);
}

.news-card-img-wrap {
    overflow: hidden;
    border-radius: 16px;
    margin: 12px 12px 0;
}

.news-card-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top;
    display: block;
    border-radius: 16px;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card-img {
    transform: scale(1.04);
}

.news-card-body {
    padding: 1.2rem 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card small {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--red);
    margin-bottom: 5px;
}

.news-card p {
    font-size: 0.8rem;
    line-height: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--green);
    font-weight: 600;
    margin-bottom: 0.85rem;
}

.news-meta .dots {
    display: flex;
    gap: 3px;
}

.news-meta .dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    display: inline-block;
}

.news-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.45;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--red);
    text-decoration: none;
    transition: gap 0.2s;
}

.news-read-more:hover {
    gap: 10px;
    color: var(--red);
}

/* ══════════════════════════════════════
   SCHOOLS SWIPER
══════════════════════════════════════ */
.schools-section {
    padding: var(--py) 0;
}

.schools-swiper {
    margin-top: 3rem;
}

.school-logo-card {
    border: 1.5px solid #edf1f9;
    border-radius: 20px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 2rem 1.5rem;
    min-height: 140px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.school-logo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(31, 26, 85, 0.1);
    border-color: rgba(31, 26, 85, 0.18);
}

.school-logo-card {
    padding: 15px;
    text-align: center;
}

.school-logo-card img {
    width: 100%;
    max-width: 140px;
    /* slightly tighter for consistency */
    max-height: 70px;
    /* uniform height */
    object-fit: contain;
    display: block;
    margin: 0 auto 10px;
    /* center + space for label */

    filter: grayscale(20%);
    transition: all 0.3s ease;
}

/* Hover effect */
.school-logo-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
    /* subtle zoom */
}

/* School name */
.school-name {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin: 0;
    line-height: 1.3;

    /* Prevent layout break */
    white-space: wrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ══════════════════════════════════════
   CONTACT (HOME)
══════════════════════════════════════ */
.contact-section {
    padding: var(--py) 0;
    background: #fff;
}

.contact-card {
    background: #fdf0ea;
    border-radius: 28px;
    padding: 60px 56px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-left h2 {
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 400;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.contact-left p {
    font-size: 0.82rem;
    font-weight: 100;
    color: var(--muted);
    line-height: 1.9;
    max-width: 280px;
    margin-bottom: 2rem;
}

.contact-illustration {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
}

.contact-illustration svg {
    width: 220px;
    height: 180px;
}

.contact-form-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--dark);
    letter-spacing: 0.04em;
    margin-bottom: 6px;
    display: block;
}

.contact-input {
    width: 100%;
    border: 1.5px solid #e8ddd8;
    border-radius: 12px;
    padding: 12px 16px;
    font-family: var(--font);
    font-size: 0.78rem;
    font-weight: 100;
    color: var(--dark);
    background: #fff;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
    margin-bottom: 16px;
}

.contact-input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
}

.contact-input::placeholder {
    color: #b0a8a3;
}

.contact-input.textarea {
    resize: vertical;
    min-height: 90px;
}

.phone-wrap {
    display: flex;
    border: 1.5px solid #e8ddd8;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    margin-bottom: 16px;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.phone-wrap:focus-within {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
}

.phone-flag {
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 6px;
    border-right: 1.5px solid #e8ddd8;
    font-size: 0.78rem;
    font-weight: 100;
    color: var(--muted);
    background: #fafafa;
    cursor: pointer;
    white-space: nowrap;
}

.phone-wrap input {
    border: none;
    outline: none;
    flex: 1;
    padding: 12px 16px;
    font-family: var(--font);
    font-size: 0.78rem;
    font-weight: 100;
    color: var(--dark);
    background: transparent;
}

.phone-wrap input::placeholder {
    color: #b0a8a3;
}

.contact-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.contact-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--teal);
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}

.contact-check label {
    font-size: 0.72rem;
    font-weight: 100;
    color: var(--muted);
    line-height: 1.7;
}

.contact-check label a {
    color: var(--teal);
    text-decoration: none;
}

.contact-check label a:hover {
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .contact-card {
        grid-template-columns: 1fr;
        padding: 40px 28px;
        gap: 40px;
    }
}

@media (max-width: 575.98px) {
    .contact-card {
        padding: 28px 16px;
    }
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
    background: var(--primary);
    padding: 64px 0 0;
    overflow-x: hidden !important;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1.4rem;
}

.footer-logo-wrap img {
    width: 90px;
}

.footer-logo-name {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.footer-logo-name small {
    display: block;
    font-size: 0.72rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

.footer-col-title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-contact-item i {
    color: var(--teal);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.6;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.footer-contact-item a:hover {
    color: #fff;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 3rem 0 0;
}

.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

@media (max-width: 575.98px) {
    .footer {
        padding: 48px 0 0;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ══════════════════════════════════════
   PAGE HERO / BREADCRUMB
══════════════════════════════════════ */
.page-hero {
    background: url('/assets/images/bread1.png') bottom / cover no-repeat;
    position: relative;
    overflow: hidden;
    padding: var(--py) 0;
    text-align: center;
    width: 100%;
}

.page-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 14px;
}

.page-hero nav {
    margin-top: 20px;
}

.breadcrumb-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    padding-bottom: 8px;
}

.breadcrumb-wrap a {
    color: var(--body);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-wrap a:hover {
    color: var(--primary);
}

.breadcrumb-sep {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
    display: inline-block;
    flex-shrink: 0;
}

.breadcrumb-current {
    color: var(--red);
}

/* ══════════════════════════════════════
   ABOUT INTRO
══════════════════════════════════════ */
.about-intro {
    padding: var(--py) 0;
    background: #fff;
}

.about-img-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 480px;
}

.about-img-wrap::before {
    content: "";
    position: absolute;
    top: -14px;
    left: -14px;
    right: 14px;
    bottom: -14px;
    border: 2.5px dashed #e57373;
    border-radius: 22px;
    z-index: 0;
    pointer-events: none;
}

.about-main-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    display: block;
}

.about-stat-badge {
    position: absolute;
    bottom: 28px;
    right: -10px;
    z-index: 3;
    background: #fff;
    border-radius: 18px;
    padding: 16px 22px;
    box-shadow: 0 12px 36px rgba(31, 26, 85, 0.15);
    min-width: 200px;
}

.about-stat-badge .stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 4px;
}

.about-stat-badge .stat-lbl {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.35;
    margin-bottom: 12px;
}

.avatar-stack {
    display: flex;
    align-items: center;
}

.avatar-stack img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2.5px solid #fff;
    object-fit: cover;
    margin-right: -10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

@media (max-width: 991.98px) {
    .about-main-img {
        height: 300px;
    }

    .about-stat-badge {
        right: 0;
        bottom: 20px;
    }
}

@media (max-width: 575.98px) {
    .about-main-img {
        height: 240px;
    }

    .about-stat-badge {
        position: static;
        margin-top: 16px;
        border-radius: 14px;
    }
}

/* ══════════════════════════════════════
   PROGRAM / CORE-PRINCIPLE CARDS
══════════════════════════════════════ */
.edu-programs-section {
    padding: var(--py) 0;
}

.edu-programs-header {
    margin-bottom: 48px;
}

.edu-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 28px;
    padding: 36px 28px 32px;
    text-decoration: none !important;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.edu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.edu-card--red {
    background: #e5383537;
}

.edu-card--teal {
    background: #00bbd432;
}

.edu-card--orange {
    background: #f57b002d;
}

.edu-card--lime {
    background: #fbc12d26;
}

.edu-card-icon {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    flex-shrink: 0;
    padding: 20px;
    transition: background 0.3s;
}

.edu-card:hover .edu-card-icon {
    background: rgba(255, 255, 255, 0.38);
}

.edu-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.edu-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.edu-card-body {
    font-size: 0.84rem;
    color: var(--dark);
    line-height: 1.75;
    flex-grow: 1;
    margin-bottom: 22px;
}

.edu-card::before {
    content: "";
    position: absolute;
    top: -30px;
    right: -30px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.edu-card::after {
    content: "";
    position: absolute;
    top: 14px;
    right: 14px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

@media (max-width: 575.98px) {
    .edu-card {
        border-top-right-radius: 40px;
        padding: 28px 22px;
    }

    .edu-card-icon {
        width: 90px;
        height: 90px;
    }
}

/* ══════════════════════════════════════
   BOOK / HIGHLIGHT SECTION
══════════════════════════════════════ */
.book-section {
    padding: var(--py) 0;
}

.book-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-right: 2rem;
}

.book-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.book-title-underline {
    width: 60px;
    height: 4px;
    background: var(--red);
    border-radius: 2px;
    margin-bottom: 1.4rem;
}

.book-desc {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 2rem;
    max-width: 420px;
}

.book-cta {
    display: inline-block;
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    background: var(--orange);
    border-radius: 50px;
    text-decoration: none;
    border: none;
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 6px 20px rgba(245, 124, 0, 0.35);
    width: fit-content;
}

.book-cta:hover {
    background: #e65100;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(245, 124, 0, 0.5);
    color: #fff;
}

.book-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: center;
}

.book-photo {
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.book-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 991.98px) {
    .book-content {
        padding-right: 0;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 575.98px) {
    .book-photos {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .book-photo:last-child {
        display: none;
    }
}

/* ══════════════════════════════════════
   SERVICES PAGE
══════════════════════════════════════ */
.sped-hero {
    padding: 60px 0;
}

.sped-hero-left p {
    font-size: 0.88rem;
    color: var(--body);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.sped-divider {
    border: none;
    border-top: 1.5px solid #e0e0e0;
    margin: 1.8rem 0;
}

.sped-stats {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.sped-stat-num {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--red);
    line-height: 1;
    margin-bottom: 4px;
}

.sped-stat-lbl {
    font-size: 0.8rem;
    color: var(--body);
    font-weight: 600;
}

/* Appointment Card */
.appt-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.appt-card h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    text-align: center;
    margin-bottom: 1.8rem;
}

.appt-input {
    width: 100%;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    padding: 13px 16px;
    font-family: var(--font);
    font-size: 0.8rem;
    color: var(--dark);
    background: #fff;
    outline: none;
    margin-bottom: 16px;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.appt-input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}

.appt-input::placeholder {
    color: #aaa;
}

.appt-input.textarea {
    resize: vertical;
    min-height: 90px;
}

.appt-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
}

.appt-check input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: var(--red);
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}

.appt-check label {
    font-size: 0.72rem;
    color: var(--muted);
    line-height: 1.7;
}

.appt-check label a {
    color: var(--red);
    text-decoration: none;
}

.appt-privacy {
    text-align: center;
    font-size: 0.72rem;
    color: var(--muted);
}

@media (max-width: 991.98px) {
    .sped-hero {
        padding: 40px 0;
    }

    .appt-card {
        margin-top: 2rem;
    }
}

.sped-content-section {
    padding: var(--py) 0;
}

.sped-section-body {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 1rem;
}

.sped-cta-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.sped-cta-section::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 42%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.07) 1.5px, transparent 1.5px);
    background-size: 18px 18px;
    pointer-events: none;
    opacity: 0.6;
}

.cta-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cta-sub {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.8;
    max-width: 560px;
    margin-bottom: 32px;
}

.assessment-list {
    list-style: none;
    padding: 20px;
    margin: 1.5rem 0 0;
    border: 1px solid black;
    border-radius: 24px;
}

.assessment-list li {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.86rem;
    color: var(--body);
    line-height: 1.7;
}

.assessment-list li:last-child {
    border-bottom: none;
}

.assessment-list li strong {
    color: var(--primary);
    min-width: 180px;
    flex-shrink: 0;
}

.assessment-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fdecea;
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.assessment-list li.assess-hidden {
    display: none;
}

.assessment-list.expanded li.assess-hidden {
    display: flex;
}

.read-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    padding: 11px 28px;
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s, color 0.25s, transform 0.25s;
}

.read-more-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.read-more-btn .btn-icon {
    display: inline-block;
    transition: transform 0.3s;
    font-size: 1rem;
    line-height: 1;
}

/* ══════════════════════════════════════
   CONDITIONS WE SERVE
══════════════════════════════════════ */
.conditions-serve-section {
    padding: var(--py) 0;
}

.conditions-serve-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 36px 24px;
    margin-top: 48px;
}

.condition-serve-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.condition-blob-wrap {
    width: 130px;
    height: 130px;
    margin-bottom: 18px;
    flex-shrink: 0;
}

.condition-blob-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(50% 0%, 61% 14%, 79% 9%, 80% 27%, 96% 35%, 87% 50%, 96% 65%, 80% 73%, 79% 91%, 61% 86%, 50% 100%, 39% 86%, 21% 91%, 20% 73%, 4% 65%, 13% 50%, 4% 35%, 20% 27%, 21% 9%, 39% 14%);
    transition: clip-path 0.35s ease, transform 0.35s ease;
}

.condition-serve-item:hover .condition-blob-wrap img {
    clip-path: polygon(50% 0%, 63% 12%, 82% 7%, 83% 26%, 100% 33%, 90% 50%, 100% 67%, 83% 74%, 82% 93%, 63% 88%, 50% 100%, 37% 88%, 18% 93%, 17% 74%, 0% 67%, 10% 50%, 0% 33%, 17% 26%, 18% 7%, 37% 12%);
    transform: scale(1.06);
}

.condition-serve-item h5 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
    line-height: 1.3;
}

.condition-serve-item p {
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
    max-width: 190px;
}

@media (max-width: 991.98px) {
    .conditions-serve-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
}

@media (max-width: 767.98px) {
    .conditions-serve-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .condition-blob-wrap {
        width: 100px;
        height: 100px;
    }
}

/* ══════════════════════════════════════
   WHY CHOOSE — icon grid
══════════════════════════════════════ */
.why-ailc-section {
    padding: var(--py) 0;
}

.why-bf-header {
    text-align: center;
    margin-bottom: 56px;
}

.why-bf-header p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.75;
    max-width: 560px;
    margin: 0 auto;
}

.why-icons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid #eee;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 32px rgba(31, 26, 85, 0.06);
}

.why-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 24px 36px;
    position: relative;
    cursor: default;
    transition: background 0.3s;
}

.why-icon-item:not(:nth-child(4n)) {
    border-right: 1px solid #f0f0f0;
}

.why-icon-item:nth-child(n+5) {
    border-top: 1px solid #f0f0f0;
}

.why-icon-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #fff5f0, #fdecea);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}

.why-icon-item:hover::before {
    opacity: 1;
}

.why-icon-item:hover {
    z-index: 2;
    box-shadow: 0 12px 40px rgba(229, 56, 53, 0.03);
}

.why-icon-wrap {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #fdecea;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
    transition: background 0.3s, transform 0.3s;
}

.why-icon-item:hover .why-icon-wrap {
    background: var(--red);
    transform: scale(1.1) translateY(-4px);
}

.why-icon-wrap img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(27%) sepia(83%) saturate(1500%) hue-rotate(340deg) brightness(98%) contrast(97%);
    transition: filter 0.3s;
}

.why-icon-item:hover .why-icon-wrap img {
    filter: brightness(0) invert(1);
}

.why-icon-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.4;
    max-width: 148px;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.why-icon-item:hover .why-icon-label {
    color: var(--red);
}

.why-icon-num {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.08;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .why-icons-grid {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 18px;
    }

    .why-icon-item:not(:nth-child(4n)) {
        border-right: none;
    }

    .why-icon-item:not(:nth-child(2n)) {
        border-right: 1px solid #f0f0f0;
    }

    .why-icon-item:nth-child(n+5) {
        border-top: none;
    }

    .why-icon-item:nth-child(n+3) {
        border-top: 1px solid #f0f0f0;
    }
}

@media (max-width: 575.98px) {
    .why-icon-item {
        padding: 28px 14px 24px;
    }

    .why-icon-wrap {
        width: 68px;
        height: 68px;
    }

    .why-icon-wrap img {
        width: 34px;
        height: 34px;
    }
}

/* ══════════════════════════════════════
   SERVICE PAGE — BADGES & FAQ
══════════════════════════════════════ */
.badge-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.badge-wrapper .service-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    background: linear-gradient(135deg, var(--red), #ff6b6b);
    color: #fff;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
    cursor: default;
}

.badge-wrapper .service-badge i {
    margin-right: 6px;
    font-size: 14px;
}

.badge-wrapper .service-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.badge-wrapper .service-badge.outline {
    background: transparent;
    color: var(--red);
    border: 1px solid var(--red);
}

.faq-section {
    padding: 60px 24px;
}

.faq-header {
    text-align: center;
    margin: 48px 0;
}

.faq-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--red);
    background: rgba(0, 188, 212, 0.1);
    border: 1px solid rgba(0, 188, 212, 0.3);
    border-radius: 20px;
    padding: 5px 16px;
    margin-bottom: 16px;
}

.faq-title {
    font-size: clamp(26px, 4vw, 38px);
    color: var(--primary);
    line-height: 1.25;
    font-weight: 400;
}

.faq-title .highlight {
    color: var(--red);
    position: relative;
}

.faq-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
    opacity: 0.4;
}

.faq-subtitle {
    margin: 14px auto 0;
    font-size: 15px;
    color: var(--muted);
    max-width: 440px;
    line-height: 1.7;
}

.accordion-wrap {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.acc-item.hidden {
    display: none;
}

.acc-item {
    background: var(--white);
    border-radius: 14px;
    border: 1.5px solid rgba(31, 26, 85, 0.09);
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.acc-item:hover {
    border-color: rgba(31, 26, 85, 0.2);
    box-shadow: 0 4px 20px rgba(31, 26, 85, 0.07);
}

.acc-item.open {
    border-color: var(--red);
    box-shadow: 0 6px 28px rgba(212, 11, 0, 0.1);
}

.acc-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.acc-num {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(31, 26, 85, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    transition: background 0.2s;
}

.acc-item.open .acc-num {
    background: var(--red);
    color: var(--white);
}

.acc-question {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: var(--dark);
    line-height: 1.45;
}

.acc-item.open .acc-question {
    color: var(--primary);
}

.acc-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(31, 26, 85, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.3s;
}

.acc-item.open .acc-icon {
    background: var(--red);
    color: var(--white);
    transform: rotate(45deg);
}

.acc-icon svg {
    display: block;
}

.acc-icon svg path {
    stroke: var(--primary);
    transition: stroke 0.2s;
}

.acc-item.open .acc-icon svg path {
    stroke: var(--white);
}

.acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.acc-body-inner {
    padding: 16px 22px 20px 70px;
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.75;
    border-top: 1px solid rgba(31, 26, 85, 0.06);
}

.acc-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 2px 9px;
    border-radius: 10px;
    margin-right: 8px;
    vertical-align: middle;
}

.tag-general {
    background: rgba(31, 26, 85, 0.08);
    color: var(--primary);
}

.tag-children {
    background: rgba(67, 160, 71, 0.12);
    color: #2e7d32;
}

.tag-conditions {
    background: rgba(0, 188, 212, 0.12);
    color: #00838f;
}

.tag-practice {
    background: rgba(245, 124, 0, 0.12);
    color: #e65100;
}

@media (max-width: 480px) {
    .acc-body-inner {
        padding-left: 22px;
    }

    .acc-header {
        padding: 15px 16px;
    }
}

/* ══════════════════════════════════════
   ADVISORY BOARD / FOUNDER SECTION
══════════════════════════════════════ */
.founder-section {
    padding: var(--py) 0;
}

.founder-left {
    padding: 2rem 2rem 0;
    display: flex;
    flex-direction: column;
}

.founder-role {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.founder-name {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.4rem;
}

.founder-photo-wrap {
    border-radius: 20px;
    overflow: hidden;
    flex: 1;
    min-height: 300px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.founder-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.founder-card {
    background: #f7fae2;
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.founder-card-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
}

.founder-card-body {
    font-size: 0.87rem;
    color: var(--dark);
    line-height: 1.85;
    margin-bottom: 1.2rem;
}

.founder-list {
    list-style: disc;
    padding-left: 1.2rem;
    margin-bottom: 1.4rem;
}

.founder-list li {
    font-size: 0.85rem;
    color: var(--primary);
    line-height: 1.8;
    margin-bottom: 0.25rem;
}

.founder-socials {
    display: flex;
    gap: 10px;
    margin-top: 0.5rem;
}

.founder-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.218);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    text-decoration: none;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.founder-social-btn:hover {
    background: rgba(0, 0, 128, 0.271);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 991.98px) {
    .founder-left {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .founder-photo-wrap {
        min-height: 240px;
    }

    .founder-card {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }
}

@media (max-width: 575.98px) {
    .founder-card {
        padding: 1.6rem 1.2rem;
    }

    .founder-name {
        font-size: 1.4rem;
    }
}

/* ══════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════ */
.contact-page-section {
    padding: var(--py) 0;
}

.contact-info-panel {
    background: var(--primary);
    border-radius: 28px;
    padding: 52px 44px;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-info-panel::before {
    content: "";
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 40px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.contact-info-panel::after {
    content: "";
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 28px solid rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.contact-info-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
    display: block;
}

.contact-info-heading {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 14px;
}

.contact-info-heading span {
    color: var(--yellow);
}

.contact-info-desc {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 44px;
    max-width: 320px;
}

.contact-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: relative;
    z-index: 1;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.contact-detail-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
    color: var(--yellow);
    transition: background 0.25s;
}

.contact-detail-item:hover .contact-detail-icon {
    background: rgba(229, 57, 53, 0.25);
    border-color: var(--red);
}

.contact-detail-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-detail-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.contact-detail-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1.45;
}

.contact-detail-value:hover {
    color: var(--yellow);
}

.contact-social-row {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 44px;
    position: relative;
    z-index: 1;
}

.contact-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.contact-social-btn:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.contact-form-card {
    background: #fff;
    border-radius: 28px;
    padding: 52px 44px;
    box-shadow: 0 8px 48px rgba(31, 26, 85, 0.08);
    height: 100%;
}

.contact-form-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
    display: block;
}

.contact-form-heading {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 32px;
    line-height: 1.25;
}

.contact-form-heading span {
    color: var(--red);
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 18px;
}

.form-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 0.06em;
}

.form-label span {
    color: var(--red);
}

.form-input {
    width: 100%;
    border: 1.5px solid #e8e8e8;
    border-radius: 12px;
    padding: 13px 16px;
    font-family: var(--font);
    font-size: 0.82rem;
    color: var(--dark);
    background: #fafafa;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.form-input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(31, 26, 85, 0.08);
}

.form-input::placeholder {
    color: #bbb;
}

.form-input.textarea {
    resize: vertical;
    min-height: 110px;
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

select.form-input option {
    font-family: sans-serif;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
}

.form-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--red);
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}

.form-check label {
    font-size: 0.73rem;
    color: var(--muted);
    line-height: 1.7;
}

.form-check label a {
    color: var(--red);
    text-decoration: none;
}

.form-submit {
    width: 100%;
}

@media (max-width: 767.98px) {
    .form-row-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .contact-info-panel {
        border-radius: 24px;
        padding: 40px 32px;
    }

    .contact-form-card {
        border-radius: 24px;
        padding: 40px 32px;
        margin-top: 2rem;
    }

    .contact-social-row {
        padding-top: 32px;
    }
}

@media (max-width: 575.98px) {
    .contact-info-panel {
        padding: 32px 22px;
    }

    .contact-form-card {
        padding: 32px 20px;
    }
}

/* ══════════════════════════════════════
   MAP SECTION
══════════════════════════════════════ */
.contact-map-section {
    padding: 0 0 var(--py);
}

.map-wrap {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 48px rgba(31, 26, 85, 0.1);
    height: 420px;
    position: relative;
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.map-label-pill {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #fff;
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    z-index: 2;
}

.map-label-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--red);
    flex-shrink: 0;
    animation: pulse-map 2s ease-in-out infinite;
}

@keyframes pulse-map {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.4);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(229, 57, 53, 0);
    }
}

/* ══════════════════════════════════════
   GALLERY  (merged — replaces both
   duplicate internship + training blocks)
══════════════════════════════════════ */
.gallery-section {
    padding: var(--py) 0;
    background: #fff;
}

.gallery-section-header {
    text-align: center;
    /* Use the more generous spacing as default; pages can override locally */
    margin-bottom: 48px;
}

/* ── Filter tabs (training page) ── */
.gallery-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 44px;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    font-family: var(--font);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--body);
    background: #f5f6fa;
    border: 1.5px solid #e8eaf2;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    line-height: 1;
}

.filter-btn .filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.68rem;
    font-weight: 800;
    background: #e8eaf2;
    color: var(--muted);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(31, 26, 85, 0.05);
}

.filter-btn:hover .filter-count {
    background: rgba(31, 26, 85, 0.12);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 6px 20px rgba(31, 26, 85, 0.28);
}

.filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

/* ── Grid ── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* ── Item ── */
.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(31, 26, 85, 0.09);
    transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease;
}

/* Featured / span-2 treatment */
.gallery-item:first-child,
.gallery-item.featured {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-item.hidden {
    display: none;
}

.gallery-item.fade-out {
    opacity: 0;
    transform: scale(0.94);
    pointer-events: none;
}

.gallery-item.fade-in {
    animation: galleryFadeIn 0.4s ease forwards;
}

@keyframes galleryFadeIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(31, 26, 85, 0.18);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

/* Category badge (training page) */
.gallery-cat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    padding: 4px 11px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.badge-india-excellence {
    background: rgba(229, 57, 53, 0.82);
    color: #fff;
}

.badge-pithoragarh {
    background: rgba(0, 188, 212, 0.82);
    color: #fff;
}

.badge-mayo-college {
    background: rgba(67, 160, 71, 0.82);
    color: #fff;
}

/* Overlay (unified) */
.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(31, 26, 85, 0.75) 0%, rgba(31, 26, 85, 0.18) 55%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

/* Zoom icon (unified) */
.gallery-zoom-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.75);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover .gallery-zoom-icon {
    transform: scale(1);
}

.gallery-zoom-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--red);
    stroke-width: 2;
    stroke-linecap: round;
}

/*
 * Caption: .gallery-caption (internship) and .gallery-caption-bar (training)
 * are unified here — use either class on your HTML; both behave the same.
 */
.gallery-caption,
.gallery-caption-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.gallery-item:hover .gallery-caption,
.gallery-item:hover .gallery-caption-bar {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery actions / load-more */
.gallery-actions {
    text-align: center;
    margin-top: 40px;
}

/* Result count (training page) */
.gallery-result-count {
    text-align: center;
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 20px;
    font-weight: 600;
    min-height: 20px;
    transition: opacity 0.3s;
}

/* Empty state (training page) */
.gallery-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    display: none;
}

.gallery-empty.visible {
    display: block;
}

.gallery-empty p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-top: 12px;
}

/* ── Gallery responsive ── */
@media (max-width: 991.98px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-item:first-child,
    .gallery-item.featured {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 767.98px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .filter-btn {
        font-size: 0.74rem;
        padding: 8px 14px;
    }
}

@media (max-width: 575.98px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .gallery-item:first-child,
    .gallery-item.featured {
        grid-column: span 2;
        aspect-ratio: 16 / 9;
    }

    .gallery-zoom-icon {
        width: 40px;
        height: 40px;
    }

    .gallery-zoom-icon svg {
        width: 17px;
        height: 17px;
    }

    .filter-btn .filter-count {
        display: none;
    }
}


/* ================================
   ACCORDION (ROOT BASED DESIGN)
================================ */

.accordion {
    max-width: 900px;
    margin: auto;
}

/* ITEM */
.accordion-item {
    border: 1px solid var(--primary);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--white);
}

/* HEADER BUTTON */
.accordion-button {
    font-family: var(--font);
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    background: var(--white);
    padding: 18px;
    border: none;
    box-shadow: none;
}

/* REMOVE BOOTSTRAP ICON */
.accordion-button::after {
    content: "+";
    font-size: 20px;
    font-weight: 700;
    background-image: none !important;
    transform: none !important;
    color: var(--primary);
}

/* ACTIVE STATE */
.accordion-button:not(.collapsed) {
    background: var(--primary);
    color: var(--white);
}

/* ACTIVE ICON */
.accordion-button:not(.collapsed)::after {
    content: "−";
    color: var(--white);
}

/* HOVER */
/*.accordion-button:hover {*/
/*    background: var(--yellow);*/
/*    color: var(--dark);*/
/*}*/

/* BODY */
.accordion-body {
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.7;
    color: var(--body);
    background: var(--white);
    padding: 18px;
    border-top: 1px solid var(--primary);
}

/* REMOVE BOOTSTRAP FOCUS */
.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary);
}

/* MOBILE */
@media (max-width: 576px) {
    .accordion-button {
        font-size: 14px;
        padding: 15px;
    }

    .accordion-body {
        font-size: 13px;
        padding: 15px;
    }
}
