:root {
    --brand: #3b6280;
    --brand-dark: #244963;
    --brand-soft: #e3eff5;
    --brand-mist: #f0f6fb;
    --ink: #111c2c;
    --muted: #596774;
    --paper: #ffffff;
    --warm: #f5a65b;
    --mint: #67b7a5;
    --shadow: 0 18px 45px rgba(59, 98, 128, 0.14);
    --radius: 1rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f9fbff;
    color: var(--ink);
    font-family:
        'Inter',
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        sans-serif;
    line-height: 1.65;
}

h1,
h2,
h3,
.navbar-brand strong {
    font-family: 'Montserrat', system-ui, sans-serif;
}

a {
    color: var(--brand);
    text-decoration: none;
}

img {
    max-width: 100%;
}

.site-header {
    background: rgba(249, 251, 255, 0.9);
    border-bottom: 1px solid rgba(59, 98, 128, 0.1);
    backdrop-filter: blur(16px);
}

.navbar {
    --bs-navbar-padding-y: 0.85rem;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--brand-dark);
}

.brand-mark:hover {
    color: var(--brand-dark);
}

.brand-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #0b8b88, var(--brand));
    color: #fff;
    box-shadow: 0 10px 26px rgba(11, 139, 136, 0.2);
}

.brand-logo {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    position: relative;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
}

.brand-logo img {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.brand-logo > img {
    position: relative;
    z-index: 3;
}

.seasonal-brand-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 4;
    width: 64px;
    height: 64px;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    cursor: pointer;
}

.seasonal-brand-decoration[hidden],
.seasonal-brand-decoration [data-season-decoration] {
    display: none;
}

.seasonal-brand-decoration[data-season='halloween']
    [data-season-decoration='halloween'],
.seasonal-brand-decoration[data-season='christmas']
    [data-season-decoration='christmas'],
.seasonal-brand-decoration[data-season='mid-autumn']
    [data-season-decoration='mid-autumn'] {
    display: block;
}

.seasonal-vector {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 3px rgba(36, 73, 99, 0.16));
}

.seasonal-halloween-scene { overflow: visible; filter: drop-shadow(0 2px 2px rgba(28, 15, 43, .22)); }
.halloween-bat { fill: #352052; stroke: #211331; stroke-width: 1.2; stroke-linejoin: round; }
.halloween-eye, .pumpkin-glint { fill: #f9d563; stroke: none; }
.halloween-wing { transform-box: fill-box; transform-origin: center; }
.halloween-hat { filter: drop-shadow(0 1px 1px rgba(35, 18, 48, .24)); }
.witch-hat-crown, .witch-hat-brim { fill: #65427c; stroke: #38214e; stroke-width: 1.2; }
.witch-hat-band { fill: #6d8249; }
.witch-hat-buckle { fill: #f5a623; stroke: #b96d0d; stroke-width: .8; }
.halloween-cauldron { fill: #754261; stroke: #3c233e; stroke-width: 1.4; stroke-linecap: round; }
.halloween-cauldron .cauldron-rim { fill: #512d4c; }
.cauldron-bubbles { fill: #f5a11a; stroke: none; }
.halloween-pumpkin .pumpkin-body { fill: #f47a1f; stroke: #a83a17; stroke-width: 1.5; }
.halloween-stem { fill: none; stroke: #42612d; stroke-width: 4; stroke-linecap: round; }
.pumpkin-ribs { fill: none; stroke: #d45218; stroke-width: 1.3; }
.pumpkin-face { fill: #29132e; }
.pumpkin-cheeks { fill: #f6a45c; }
.halloween-ghost { fill: #f5f0fa; stroke: #78648d; stroke-width: 1.3; stroke-linejoin: round; opacity: 0; }
.ghost-face { fill: #251531; stroke: none; }
.ghost-blush { fill: none; stroke: #dc8fa3; stroke-width: 1.5; stroke-linecap: round; }
.halloween-ghost text { fill: #65427c; stroke: none; font: 700 8px/1 cursive; letter-spacing: -.4px; }

@media (prefers-reduced-motion: no-preference) {
    .halloween-wing-left { animation: halloween-flap-left .42s ease-in-out infinite alternate; }
    .halloween-wing-right { animation: halloween-flap-right .42s ease-in-out infinite alternate; }
    .halloween-bat-right .halloween-wing { animation-delay: -.21s; }
    .halloween-bat-left { animation: halloween-bat-drift 2.9s ease-in-out infinite; }
    .halloween-bat-right { animation: halloween-bat-drift 2.4s -1.1s ease-in-out infinite; }
    .halloween-pumpkin { animation: halloween-pumpkin-bob 2.5s ease-in-out infinite; }
    .halloween-pumpkin .pumpkin-face { animation: halloween-face-glow 1.25s steps(2) infinite; }
    .halloween-ghost { animation: halloween-ghost-flight 6.4s cubic-bezier(.45, 0, .55, 1) infinite; }
    .halloween-hat { animation: halloween-hat-tip 2.8s ease-in-out infinite; }
    .cauldron-bubbles { animation: halloween-bubbles 1.4s ease-out infinite; transform-origin: center; }
}

@keyframes halloween-flap-left { to { transform: rotate(25deg) scaleY(.58); } }
@keyframes halloween-flap-right { to { transform: rotate(-25deg) scaleY(.58); } }
@keyframes halloween-bat-drift { 50% { translate: 0 -3px; rotate: 4deg; } }
@keyframes halloween-pumpkin-bob { 50% { translate: 0 -2px; rotate: 2deg; } }
@keyframes halloween-face-glow { 50% { fill: #4a1731; filter: drop-shadow(0 0 2px #ffd44d); } }
@keyframes halloween-hat-tip { 50% { translate: 0 -1px; rotate: 3deg; } }
@keyframes halloween-bubbles { 50% { translate: 0 -4px; scale: .85; opacity: .45; } }
@keyframes halloween-ghost-flight {
    0%, 12%, 100% { opacity: 0; translate: -12px 12px; scale: .62; rotate: -8deg; }
    25% { opacity: .96; }
    48% { opacity: .96; translate: -3px -5px; scale: .88; rotate: 5deg; }
    72% { opacity: .9; translate: -8px -20px; scale: .76; rotate: -5deg; }
    88% { opacity: 0; translate: -17px -38px; scale: .5; rotate: -12deg; }
}

.seasonal-piece {
    position: absolute;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(22, 45, 58, .2));
}

.seasonal-brand-decoration .seasonal-piece {
    width: var(--seasonal-piece-width);
    height: var(--seasonal-piece-height);
}

.halloween-hat-piece,
.christmas-hat-piece {
    --seasonal-piece-width: 19px;
    --seasonal-piece-height: 18px;
    top: 4px;
    left: 50%;
    width: 19px;
    height: 18px;
    transform: translateX(-50%);
}

.halloween-hat-piece { top: 7px; }
.christmas-hat-piece { top: 5px; transform: translateX(-50%) rotate(0deg); }

.halloween-ghost-piece { --seasonal-piece-width: 21px; --seasonal-piece-height: 25px; top: 6px; left: -1px; }
.halloween-ghost-piece { clip-path: inset(7% 0 0 0); }
.halloween-hat-piece { clip-path: polygon(0 7%, 80% 7%, 80% 38%, 100% 38%, 100% 100%, 0 100%); }
.halloween-cauldron-piece { --seasonal-piece-width: 18px; --seasonal-piece-height: 19px; bottom: 1px; left: 2px; transform: rotate(-8deg); }
.halloween-pumpkin-piece { --seasonal-piece-width: 18px; --seasonal-piece-height: 18px; right: 1px; bottom: 1px; transform: rotate(8deg); }
.christmas-lights-piece { --seasonal-piece-width: 60px; --seasonal-piece-height: 15px; top: -1px; left: 2px; }
.christmas-snowman-piece { --seasonal-piece-width: 18px; --seasonal-piece-height: 21px; bottom: 1px; left: 1px; transform: rotate(-7deg); }
.christmas-gift-piece { --seasonal-piece-width: 18px; --seasonal-piece-height: 19px; right: 0; bottom: 1px; transform: rotate(7deg); }
.christmas-flake-piece { --seasonal-piece-width: 10px; --seasonal-piece-height: 10px; opacity: 0; }
.christmas-flake-one { top: 10px; left: 4px; }
.christmas-flake-two { top: 7px; right: 4px; }
.halloween-bat-piece { --seasonal-piece-width: 13px; --seasonal-piece-height: 13px; opacity: 0; }
.halloween-bat-one { top: 5px; left: 3px; }
.halloween-bat-two { top: 1px; right: 2px; }
.halloween-bat-three { top: 17px; right: -4px; }
.christmas-surprise-piece { opacity: 0; }
.christmas-santa-piece { --seasonal-piece-width: 21px; --seasonal-piece-height: 21px; left: -4px; top: 17px; }
.christmas-reindeer-piece { --seasonal-piece-width: 21px; --seasonal-piece-height: 21px; right: -4px; top: 18px; }
.mid-moon-piece { --seasonal-piece-width: 18px; --seasonal-piece-height: 18px; top: 3px; right: 0; }
.mid-cloud-piece { --seasonal-piece-width: 15px; --seasonal-piece-height: 15px; }
.mid-cloud-one { top: -2px; left: 2px; }
.mid-cloud-two {
    --seasonal-piece-width: 12px;
    --seasonal-piece-height: 12px;
    top: -1px;
    right: 20px;
    transform: scaleX(-1);
    opacity: .9;
}
.mid-rabbit-piece { --seasonal-piece-width: 18px; --seasonal-piece-height: 18px; right: 1px; bottom: 1px; transform: rotate(7deg); }
.mid-cake-piece { --seasonal-piece-width: 18px; --seasonal-piece-height: 18px; bottom: 1px; left: 1px; transform: rotate(-7deg); }

.mid-silk-ribbon {
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 45px;
    height: 8px;
    transform: translateX(-50%) rotate(-2deg);
    border-radius: 70% 24% 65% 30%;
    background: linear-gradient(180deg, #e25343 0 42%, #b72f2c 43% 100%);
    box-shadow: 0 2px 3px rgba(117, 30, 28, .2);
    clip-path: polygon(0 28%, 18% 4%, 40% 25%, 61% 10%, 82% 34%, 100% 14%, 95% 70%, 76% 94%, 56% 72%, 35% 98%, 14% 72%, 2% 90%);
    pointer-events: none;
}

.mid-silk-ribbon::before,
.mid-silk-ribbon::after {
    content: '';
    position: absolute;
    bottom: -4px;
    width: 15px;
    height: 7px;
    background: #c83b34;
    clip-path: polygon(0 8%, 100% 30%, 78% 100%, 15% 75%);
}

.mid-silk-ribbon::before { left: 4px; transform: rotate(9deg); }
.mid-silk-ribbon::after { right: 3px; transform: scaleX(-1) rotate(8deg); }

.seasonal-brand-decoration[data-season='mid-autumn']::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .92) 49%, transparent 66%);
    opacity: 0;
    pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
    .halloween-ghost-piece { animation: source-ghost-visit 5.8s ease-in-out infinite; }
    .halloween-hat-piece { animation: source-hat-tip 2.8s ease-in-out infinite; }
    .halloween-cauldron-piece { animation: source-left-bob 2.2s ease-in-out infinite; }
    .halloween-pumpkin-piece, .christmas-gift-piece { animation: source-right-bob 2.4s ease-in-out infinite; }
    .christmas-lights-piece { animation: source-lights 1.4s ease-in-out infinite alternate; }
    .christmas-snowman-piece { animation: source-left-bob 2.6s ease-in-out infinite; }
    .christmas-flake-one { animation: source-snowfall 3.4s linear infinite; }
    .christmas-flake-two { animation: source-snowfall 4.1s -2s linear infinite; }
    .mid-rabbit-piece { animation: source-rabbit-hop 3.2s ease-in-out infinite; }
    .mid-cake-piece { animation: source-left-bob 3s ease-in-out infinite; }
    .mid-cloud-one { animation: source-cloud-drift 4s ease-in-out infinite alternate; }
    .mid-cloud-two { animation: source-cloud-drift-two 4.6s -1.4s ease-in-out infinite alternate; }
    .mid-silk-ribbon { animation: source-silk-wave 3.2s ease-in-out infinite; }
    .seasonal-brand-decoration[data-season='mid-autumn']::after { animation: source-shine-sweep 3.8s ease-in-out infinite; }
    .seasonal-brand-decoration.is-playing .halloween-bat-one { animation: source-bat-flight-one 2.6s ease-out both; }
    .seasonal-brand-decoration.is-playing .halloween-bat-two { animation: source-bat-flight-two 2.6s .12s ease-out both; }
    .seasonal-brand-decoration.is-playing .halloween-bat-three { animation: source-bat-flight-three 2.6s .22s ease-out both; }
    .seasonal-brand-decoration.is-playing .christmas-santa-piece { animation: source-santa-visit 2.8s ease-in-out both; }
    .seasonal-brand-decoration.is-playing .christmas-reindeer-piece { animation: source-reindeer-visit 2.8s .12s ease-in-out both; }
}

@keyframes source-ghost-visit {
    0% { opacity: 0; transform: translate(-3px, 4px) scale(.82); }
    18%, 62% { opacity: 1; transform: translate(0, 0) scale(1); }
    84% { opacity: 0; transform: translate(-7px, -12px) scale(.8) rotate(-5deg); }
    100% { opacity: 0; transform: translate(-4px, 6px) scale(.75); }
}
@keyframes source-hat-tip { 50% { transform: translateX(-50%) translateY(-1px) rotate(3deg); } }
@keyframes source-left-bob { 50% { transform: translateY(-1.5px) rotate(-5deg); } }
@keyframes source-right-bob { 50% { transform: translateY(-1.5px) rotate(5deg); } }
@keyframes source-lights { to { filter: drop-shadow(0 1px 3px rgba(245, 184, 61, .5)) brightness(1.16); } }
@keyframes source-snowfall {
    0% { opacity: 0; transform: translateY(-8px) rotate(0); }
    18% { opacity: 1; }
    100% { opacity: 0; transform: translate(4px, 45px) rotate(220deg); }
}
@keyframes source-rabbit-hop { 0%, 100% { transform: translate(0, 0) rotate(7deg); } 45% { transform: translate(-3px, -4px) rotate(-2deg); } 70% { transform: translate(2px, -1px) rotate(10deg); } }
@keyframes source-cloud-drift { to { transform: translateX(6px); } }
@keyframes source-cloud-drift-two { to { transform: translateX(-5px) scaleX(-1); } }
@keyframes source-silk-wave {
    0%, 100% { transform: translateX(-50%) rotate(-2deg) scaleX(1); }
    50% { transform: translateX(-50%) rotate(1deg) scaleX(.96); }
}
@keyframes source-shine-sweep { 0%, 18%, 100% { opacity: 0; transform: translateX(-7px); } 42% { opacity: .9; } 70% { opacity: 0; transform: translateX(7px); } }
@keyframes source-bat-flight-one { 0% { opacity: 0; transform: translate(4px, 6px) scale(.6); } 18% { opacity: 1; } 100% { opacity: 0; transform: translate(-28px, -24px) scale(1.1) rotate(-18deg); } }
@keyframes source-bat-flight-two { 0% { opacity: 0; transform: translate(-4px, 8px) scale(.6); } 18% { opacity: 1; } 100% { opacity: 0; transform: translate(25px, -28px) scale(1.05) rotate(16deg); } }
@keyframes source-bat-flight-three { 0% { opacity: 0; transform: translate(-5px, 3px) scale(.6); } 18% { opacity: 1; } 100% { opacity: 0; transform: translate(34px, -9px) scale(.95) rotate(22deg); } }
@keyframes source-santa-visit { 0%, 100% { opacity: 0; transform: translate(-12px, 8px) scale(.65); } 22%, 72% { opacity: 1; transform: translate(0, 0) scale(1); } }
@keyframes source-reindeer-visit { 0%, 100% { opacity: 0; transform: translate(12px, 8px) scale(.65); } 22%, 72% { opacity: 1; transform: translate(0, 0) scale(1); } 45% { transform: translate(0, -3px) scale(1); } }

.brand-mark strong,
.brand-mark small {
    display: block;
    line-height: 1.1;
}

.brand-mark small {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 600;
    margin-top: 0.2rem;
}

.nav-link {
    color: var(--muted);
    font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand);
}

.navbar-toggler {
    border: 0;
    box-shadow: none !important;
}

.btn {
    border-radius: 999px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-brand,
.btn-primary-soft {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.btn-brand:hover,
.btn-primary-soft:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-brand {
    border: 1px solid rgba(59, 98, 128, 0.35);
    color: var(--brand);
    background: rgba(255, 255, 255, 0.72);
}

.btn-outline-brand:hover {
    background: var(--brand-soft);
    color: var(--brand-dark);
}

.section-pad {
    padding: 6.5rem 0;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(103, 183, 165, 0.22),
            transparent 28%
        ),
        radial-gradient(
            circle at 85% 12%,
            rgba(245, 166, 91, 0.18),
            transparent 24%
        ),
        linear-gradient(135deg, #f9fbff 0%, #e3eff5 100%);
    overflow: hidden;
}

.hero-section::before {
    content: 'A B C';
    position: absolute;
    right: 7vw;
    bottom: 5vh;
    color: rgba(59, 98, 128, 0.08);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(4rem, 12vw, 12rem);
    font-weight: 800;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    border-radius: 999px;
    background: rgba(59, 98, 128, 0.1);
    color: var(--brand);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    padding: 0.45rem 0.85rem;
    text-transform: uppercase;
}

.eyebrow.light {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.hero-section h1 {
    color: var(--ink);
    font-size: clamp(2.35rem, 4.7vw, 4.4rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.08;
    margin-bottom: 1.25rem;
    max-width: 12ch;
}

.hero-lead {
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.22rem);
    margin-bottom: 1.8rem;
    max-width: 42rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 2rem;
    max-width: 35rem;
}

.trust-row div {
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
    padding: 1rem;
    box-shadow: 0 12px 30px rgba(59, 98, 128, 0.08);
}

.trust-row strong {
    display: block;
    color: var(--brand);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
}

.trust-row span {
    color: var(--muted);
    display: block;
    font-size: 0.86rem;
    line-height: 1.35;
}

.hero-photo-card {
    position: relative;
    border: 10px solid rgba(255, 255, 255, 0.8);
    border-radius: 2rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-photo-card img {
    aspect-ratio: 4 / 3;
    height: 100%;
    object-fit: cover;
}

.floating-note {
    position: absolute;
    right: 1.2rem;
    bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    max-width: min(85%, 22rem);
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.floating-note span {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: #fff0df;
    color: var(--warm);
}

.floating-note strong,
.floating-note small {
    display: block;
}

.floating-note small {
    color: var(--muted);
    line-height: 1.35;
}

.bg-cloud {
    background: linear-gradient(180deg, #fff 0%, var(--brand-mist) 100%);
}

.bg-paper {
    background: #fff;
}

.section-heading {
    max-width: 48rem;
    margin-bottom: 3rem;
}

.section-heading h2,
.section-title,
.contact-panel h2 {
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.12;
}

.section-heading p,
.contact-panel p {
    color: var(--muted);
    margin-bottom: 0;
}

.goal-card,
.program-card,
.quote-card,
.reason-item {
    height: 100%;
    border: 1px solid rgba(59, 98, 128, 0.12);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 14px 36px rgba(59, 98, 128, 0.08);
}

.goal-card {
    position: relative;
    padding: 1.55rem;
    overflow: hidden;
}

.goal-card::after {
    content: '';
    position: absolute;
    right: -42px;
    top: -42px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(227, 239, 245, 0.95);
}

.goal-card.accent::after {
    background: rgba(245, 166, 91, 0.18);
}

.goal-card > i,
.goal-card-teacher-main > i,
.program-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

.goal-number {
    position: absolute;
    right: 1.2rem;
    top: 1rem;
    z-index: 1;
    color: rgba(59, 98, 128, 0.2);
    font-family: 'Montserrat', sans-serif;
    font-size: 2.35rem;
    font-weight: 800;
}

.goal-card h3,
.program-card h3 {
    color: var(--brand-dark);
    font-size: 1.18rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.goal-card p,
.program-card p,
.reason-item span {
    color: var(--muted);
    margin-bottom: 0;
}

.goal-card-teacher {
    align-items: center;
    display: grid;
    gap: clamp(1.25rem, 4vw, 3rem);
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 12rem;
}

.goal-card-teacher-main {
    align-items: flex-start;
    display: grid;
    gap: 1.15rem;
    grid-template-columns: auto minmax(0, 1fr);
    position: static;
    z-index: 1;
}

.goal-card-teacher-main > i {
    margin: 0;
}

.goal-card-kicker,
.teacher-course-number {
    color: var(--brand);
    display: block;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.goal-card-teacher h3 {
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

.goal-card-teacher p {
    max-width: 46rem;
}

.goal-card-teacher-action {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding-top: 2.25rem;
    position: relative;
    text-align: right;
    z-index: 2;
}

.goal-card-teacher-action > span {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 700;
}

.goal-detail-button {
    align-items: center;
    appearance: none;
    background: var(--brand);
    border: 0;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font: inherit;
    font-weight: 800;
    gap: 0.55rem;
    justify-content: center;
    min-height: 2.85rem;
    padding: 0.7rem 1rem;
    transition:
        background 180ms ease,
        transform 180ms ease;
    white-space: nowrap;
}

.goal-detail-button:hover,
.goal-detail-button:focus-visible {
    background: var(--brand-dark);
}

.goal-detail-button:focus-visible {
    box-shadow: 0 0 0 0.25rem rgba(59, 98, 128, 0.22);
    outline: 0;
}

.goal-detail-button:active {
    transform: scale(0.98);
}

.program-card .program-subtitle {
    color: var(--brand-dark);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.program-card > p:last-of-type {
    margin-bottom: 1.2rem;
}

.link-more {
    color: var(--brand);
    font-weight: 800;
}

.link-button {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
}

.program-card {
    display: flex;
    flex-direction: column;
    padding: 1.45rem;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.program-card:hover,
.goal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.program-card .badge {
    align-self: flex-start;
    color: var(--brand-dark) !important;
    background: var(--brand-soft) !important;
    border-radius: 999px;
    margin-top: auto;
    padding: 0.55rem 0.8rem;
}

.soft-shadow {
    box-shadow: var(--shadow);
}

.credibility-photo {
    position: relative;
    border-radius: 1.4rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.credibility-photo img {
    aspect-ratio: 4 / 3;
    height: 100%;
    object-fit: cover;
}

.credibility-badge {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
    color: var(--brand-dark);
    font-weight: 800;
    line-height: 1.35;
    padding: 0.9rem 1rem;
    backdrop-filter: blur(12px);
}

.credibility-badge i {
    color: var(--mint);
    font-size: 1.35rem;
}

.reason-item {
    display: grid;
    gap: 0.45rem;
    padding: 1.15rem;
}

.reason-item i {
    color: var(--mint);
    font-size: 1.6rem;
}

.reason-item strong {
    color: var(--brand-dark);
}

.testimonial-section {
    background:
        radial-gradient(
            circle at 18% 20%,
            rgba(227, 239, 245, 0.9),
            transparent 24%
        ),
        #f7f9fc;
}

.gallery-section {
    background:
        radial-gradient(
            circle at 84% 10%,
            rgba(245, 166, 91, 0.12),
            transparent 24%
        ),
        linear-gradient(180deg, #ffffff 0%, #f0f6fb 100%);
}

.gallery-item {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 1rem;
    box-shadow: 0 14px 34px rgba(59, 98, 128, 0.1);
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 240ms ease;
}

.gallery-item:hover img {
    transform: scale(1.045);
}

.gallery-item span {
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--brand-dark);
    font-weight: 800;
    padding: 0.55rem 0.85rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.quote-card {
    padding: 1.6rem;
    position: relative;
}

.quote-card::before {
    content: '\F6B0';
    color: rgba(59, 98, 128, 0.16);
    font-family: 'bootstrap-icons';
    font-size: 3rem;
    position: absolute;
    right: 1.2rem;
    top: 0.8rem;
}

.quote-card p {
    color: var(--ink);
    font-size: 1.05rem;
    font-style: italic;
    margin-bottom: 1.25rem;
    padding-right: 2rem;
}

.quote-card footer {
    color: var(--brand);
    font-weight: 800;
}

.contact-section {
    background: linear-gradient(180deg, #f7f9fc 0%, #edf5fb 100%);
}

.contact-panel {
    border-radius: 1.5rem;
    background:
        radial-gradient(
            circle at 92% 12%,
            rgba(245, 166, 91, 0.22),
            transparent 24%
        ),
        linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #fff;
    padding: clamp(1.25rem, 4vw, 3rem);
    box-shadow: var(--shadow);
}

.contact-panel p {
    color: rgba(255, 255, 255, 0.82);
}

.contact-panel h2 {
    color: #fff;
}

.contact-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.contact-list a,
.contact-list span {
    color: #fff;
    display: inline-flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-weight: 700;
}

.contact-cta-card {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.12);
    padding: clamp(1.2rem, 3vw, 1.8rem);
}

.contact-cta-card > i {
    color: #fff;
    display: block;
    font-size: 2.3rem;
    margin-bottom: 0.9rem;
}

.contact-cta-card h3 {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.65rem;
}

.contact-cta-card p {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 1.25rem;
}

.lead-form {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.12);
    padding: clamp(1.15rem, 3vw, 1.6rem);
}

.lead-form .form-label {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 700;
}

.lead-form .form-control,
.lead-form .form-select {
    min-height: 3.1rem;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 0.8rem;
    background-color: rgba(255, 255, 255, 0.92);
}

.program-select {
    position: relative;
}

.program-select-toggle {
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 0.8rem;
    color: var(--ink);
    display: flex;
    font: inherit;
    justify-content: space-between;
    min-height: 3.1rem;
    padding: 0.75rem 1rem;
    text-align: left;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease;
    width: 100%;
}

.program-select-toggle:hover,
.program-select-toggle.show {
    background: #fff;
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.13);
}

.program-select-toggle.is-invalid {
    border-color: #ffd2cc;
    box-shadow: 0 0 0 0.22rem rgba(255, 218, 214, 0.28);
}

.program-select-toggle i {
    color: var(--brand-dark);
    font-size: 0.95rem;
    transition: transform 160ms ease;
}

.program-select-toggle.show i {
    transform: rotate(180deg);
}

.program-select-menu {
    border: 1px solid rgba(59, 98, 128, 0.14);
    border-radius: 0.9rem;
    box-shadow: 0 18px 42px rgba(17, 28, 44, 0.18);
    margin-top: 0.45rem !important;
    max-height: 16rem;
    overflow: auto;
    padding: 0.45rem;
    width: 100%;
}

.program-select-menu .dropdown-item {
    border-radius: 0.65rem;
    color: var(--ink);
    font-weight: 650;
    padding: 0.72rem 0.85rem;
    white-space: normal;
}

.program-select-menu .dropdown-item:hover,
.program-select-menu .dropdown-item:focus {
    background: var(--brand-soft);
    color: var(--brand-dark);
}

.program-select-menu .dropdown-item.is-selected {
    background: var(--brand);
    color: #fff;
}

.lead-form .form-control:focus,
.lead-form .form-select:focus {
    border-color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.16);
}

.lead-submit-col {
    padding-top: 0.7rem;
}

.lead-submit-col .btn {
    min-height: 3.65rem;
}

.form-status {
    min-height: 1.6rem;
    color: #fff;
    font-weight: 700;
    margin-top: 0.75rem;
    text-align: center;
}

.lead-modal .modal-content {
    border: 0;
    border-radius: 1.35rem;
    background:
        radial-gradient(
            circle at 92% 12%,
            rgba(245, 166, 91, 0.22),
            transparent 24%
        ),
        linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    box-shadow: 0 28px 70px rgba(17, 28, 44, 0.28);
    color: #fff;
    overflow: hidden;
}

.teacher-modal .modal-content {
    border: 1px solid rgba(59, 98, 128, 0.16);
    border-radius: 1.35rem;
    box-shadow: 0 28px 70px rgba(17, 28, 44, 0.24);
    overflow: hidden;
}

.teacher-modal .modal-header {
    align-items: flex-start;
    background: var(--brand-mist);
    border-bottom: 1px solid rgba(59, 98, 128, 0.12);
    padding: clamp(1.25rem, 3vw, 2rem);
}

.teacher-modal .modal-header > div {
    max-width: 48rem;
}

.teacher-modal .modal-title {
    color: var(--ink);
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.6rem;
}

.teacher-modal .modal-header p {
    color: var(--muted);
    margin: 0;
}

.teacher-modal .modal-body {
    background: #fff;
    padding: clamp(1rem, 3vw, 2rem);
}

.teacher-course-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.teacher-course {
    border: 1px solid rgba(59, 98, 128, 0.14);
    border-radius: 1rem;
    padding: clamp(1rem, 2vw, 1.35rem);
}

.teacher-course-heading {
    align-items: center;
    display: flex;
    gap: 0.9rem;
    margin-bottom: 0.85rem;
}

.teacher-course-icon {
    display: grid;
    flex: 0 0 44px;
    height: 44px;
    place-items: center;
    width: 44px;
    border-radius: 14px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 1.2rem;
}

.teacher-course-number {
    margin-bottom: 0.1rem;
}

.teacher-course h3 {
    color: var(--brand-dark);
    font-size: 1.08rem;
    font-weight: 800;
    margin: 0;
}

.teacher-course-subtitle {
    color: var(--brand-dark);
    font-weight: 800;
    margin-bottom: 0.65rem;
}

.teacher-course > p:last-child {
    color: var(--muted);
    margin: 0;
}

.teacher-modal .modal-footer {
    align-items: center;
    background: #f8fbfd;
    border-top: 1px solid rgba(59, 98, 128, 0.12);
    display: flex;
    justify-content: space-between;
    padding: 1rem clamp(1rem, 3vw, 2rem);
}

.teacher-modal .modal-footer p {
    color: var(--muted);
    margin: 0;
}

.lead-modal .modal-header {
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding: clamp(1.2rem, 3vw, 1.8rem) clamp(1.2rem, 3vw, 2rem) 1rem;
}

.lead-modal .modal-title {
    color: #fff;
    font-size: clamp(1.55rem, 4vw, 2.2rem);
    font-weight: 800;
    line-height: 1.12;
    margin: 0;
}

.lead-modal .modal-body {
    padding: 1rem clamp(1.2rem, 3vw, 2rem) clamp(1.2rem, 3vw, 2rem);
}

.lead-modal-intro {
    color: rgba(255, 255, 255, 0.84);
    margin-bottom: 1rem;
}

.modal-backdrop.show {
    opacity: 0.62;
}

.site-footer {
    background: #e8f0fb;
    padding: 4rem 0 1.5rem;
}

.site-footer p,
.site-footer a {
    color: var(--muted);
}

.site-footer h3 {
    color: var(--brand-dark);
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.site-footer a:not(.brand-mark) {
    display: block;
    margin-bottom: 0.45rem;
}

.footer-contact {
    display: grid;
    gap: 0.45rem;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0;
    overflow-wrap: anywhere;
}

.footer-contact i {
    color: var(--brand);
    flex: 0 0 auto;
    line-height: 1.6;
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(59, 98, 128, 0.16);
    color: var(--muted);
    font-size: 0.92rem;
    margin-top: 2rem;
    padding-top: 1.2rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0.15rem 0;
}

.footer-bottom a {
    color: var(--brand);
    display: inline;
    font-weight: 800;
}

.site-footer .footer-bottom .footer-credit,
.site-footer .footer-bottom .footer-credit a {
    display: inline;
}

.site-footer .footer-bottom .footer-credit a {
    margin: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 500ms ease,
        transform 500ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    .site-header {
        background: rgba(249, 251, 255, 0.96);
    }

    .navbar-collapse {
        padding: 1rem 0 0.35rem;
    }

    .section-pad {
        padding: 4.5rem 0;
    }

    .hero-section {
        min-height: auto;
        padding-top: 7.5rem;
    }

    .goal-card-teacher {
        grid-template-columns: 1fr;
    }

    .goal-card-teacher-action {
        align-items: flex-start;
        padding-top: 0;
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .brand-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .brand-logo {
        width: 44px;
        height: 44px;
    }

    .brand-logo img {
        width: 39px;
        height: 39px;
    }

    .seasonal-brand-decoration {
        width: 60px;
        height: 60px;
        transform: translate(-50%, -50%);
    }

    .brand-mark strong {
        font-size: 0.95rem;
    }

    .hero-section h1 {
        max-width: 10ch;
    }

    .hero-actions .btn,
    .trust-row {
        width: 100%;
    }

    .trust-row {
        grid-template-columns: 1fr;
    }

    .floating-note {
        position: static;
        border-radius: 0;
        max-width: 100%;
    }

    .hero-photo-card {
        border-width: 6px;
        border-radius: 1.4rem;
    }

    .goal-card-teacher-main {
        grid-template-columns: 1fr;
    }

    .goal-detail-button {
        width: 100%;
    }

    .teacher-course-grid {
        grid-template-columns: 1fr;
    }

    .teacher-modal .modal-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .teacher-modal .modal-footer .btn {
        width: 100%;
    }
}
