/* ============================================
   BLACKFORD LEARNING CENTRE — STYLESHEET
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green-900: #1A3A25;
    --green-800: #2D5A3D;
    --green-700: #3A7D54;
    --green-600: #4A9B6A;
    --green-500: #5BA87A;
    --green-100: #D4E8D8;
    --green-50:  #EAF3EC;
    
    --cream: #F7F5F0;
    --cream-light: #FBFAF7;
    --cream-dark: #EDEAE3;
    
    --text-dark: #1A1A18;
    --text-mid: #3D3D38;
    --text-light: #6B6B62;
    --text-white: #F7F5F0;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Custom Cursor --- */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--green-700);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
    display: none;
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--green-600);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
    display: none;
}

@media (min-width: 1024px) {
    .cursor-dot, .cursor-ring {
        display: block;
    }
    .cursor-ring.hovering {
        width: 56px;
        height: 56px;
        border-color: var(--green-500);
    }
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
    background: rgba(247, 245, 240, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.75rem 0;
    box-shadow: 0 1px 0 rgba(45, 90, 61, 0.08);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-logo-mark {
    width: 44px;
    height: 44px;
    background: var(--green-800);
    color: var(--text-white);
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.nav-logo:hover .nav-logo-mark {
    background: var(--green-700);
}

.nav-logo-text {
    font-family: var(--font-serif);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-mid);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--green-700);
    transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
    color: var(--green-800);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.625rem 1.5rem;
    background: var(--green-800);
    color: var(--text-white);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.nav-cta:hover {
    background: var(--green-700);
    transform: translateY(-1px);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-line {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--cream);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-menu-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.mobile-menu-link:hover {
    color: var(--green-700);
}

.mobile-menu-cta {
    margin-top: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--green-800);
    padding: 0.75rem 2rem;
    border: 2px solid var(--green-800);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-cta:hover {
    background: var(--green-800);
    color: var(--text-white);
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
    background: var(--cream);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(45, 90, 61, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(45, 90, 61, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-700);
    margin-bottom: 2rem;
}

.hero-label-line {
    width: 40px;
    height: 1.5px;
    background: var(--green-700);
    flex-shrink: 0;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    max-width: 560px;
}

.hero-sub {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-mid);
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

.btn-primary {
    background: var(--green-800);
    color: var(--text-white);
}

.btn-primary:hover {
    background: var(--green-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 90, 61, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--green-800);
    border: 1.5px solid var(--green-800);
}

.btn-secondary:hover {
    background: var(--green-50);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--text-white);
    border: 1.5px solid rgba(247, 245, 240, 0.5);
}

.btn-outline-light:hover {
    background: rgba(247, 245, 240, 0.1);
    border-color: var(--text-white);
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 0.9375rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-stat-num {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--green-800);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--cream-dark);
}

/* Hero Image Stack */
.hero-right {
    position: relative;
}

.hero-image-stack {
    position: relative;
    padding-left: 3rem;
}

.hero-img {
    overflow: hidden;
    border-radius: 8px;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out);
}

.hero-img:hover img {
    transform: scale(1.03);
}

.hero-img-1 {
    width: 100%;
    aspect-ratio: 520/680;
    margin-bottom: 1.5rem;
}

.hero-img-2 {
    width: 77%;
    aspect-ratio: 400/500;
    position: absolute;
    bottom: 0;
    left: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-badge {
    position: absolute;
    top: 2rem;
    right: 0;
    background: var(--green-800);
    color: var(--text-white);
    padding: 1rem 1.25rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 24px rgba(45, 90, 61, 0.3);
    animation: float 4s ease-in-out infinite;
}

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

/* Hero Scroll */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--green-700), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- Section Common --- */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-700);
    margin-bottom: 1rem;
}

.section-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

/* --- Programs --- */
.programs {
    padding: 7rem 0;
    background: var(--cream-light);
}

.programs-header {
    margin-bottom: 4rem;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.program-card {
    background: white;
    border-radius: 10px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(45, 90, 61, 0.06);
    transition: all 0.4s var(--ease-out);
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(45, 90, 61, 0.12);
    border-color: transparent;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--green-700);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-card-num {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--green-50);
    line-height: 1;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.program-card:hover .program-card-num {
    color: var(--green-100);
}

.program-card-icon {
    width: 56px;
    height: 56px;
    background: var(--green-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-800);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.program-card:hover .program-card-icon {
    background: var(--green-800);
    color: var(--text-white);
}

.program-card-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.875rem;
    letter-spacing: -0.01em;
}

.program-card-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-mid);
    margin-bottom: 1.5rem;
}

.program-card-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-bottom: 2rem;
}

.program-card-features li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: var(--text-mid);
}

.program-card-features li svg {
    color: var(--green-700);
    flex-shrink: 0;
}

.program-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--green-800);
    transition: gap 0.3s ease;
}

.program-card-link:hover {
    gap: 0.875rem;
}

.program-card-link svg {
    transition: transform 0.3s ease;
}

.program-card-link:hover svg {
    transform: translateX(4px);
}

/* --- About --- */
.about {
    padding: 7rem 0;
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-image-col {
    position: relative;
}

.about-img-main {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 600/720;
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-accent {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border: 4px solid var(--cream);
}

.about-img-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-content-col {
    padding-top: 2rem;
}

.about-body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.about-body p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-mid);
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-value {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.about-value-num {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--green-100);
    line-height: 1;
    flex-shrink: 0;
    width: 48px;
}

.about-value-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.375rem;
}

.about-value-desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-mid);
}

/* --- Why Us --- */
.why-us {
    padding: 7rem 0;
    background: var(--green-900);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(90, 155, 106, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(90, 155, 106, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.why-us .container {
    position: relative;
    z-index: 1;
}

.why-us-header {
    margin-bottom: 4rem;
    text-align: center;
}

.why-us-header .section-label {
    color: var(--green-500);
}

.why-us-header .section-headline {
    color: var(--text-white);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.why-us-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 2.5rem;
    transition: all 0.4s var(--ease-out);
}

.why-us-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(90, 155, 106, 0.3);
    transform: translateY(-4px);
}

.why-us-card-icon {
    width: 52px;
    height: 52px;
    background: rgba(90, 155, 106, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-500);
    margin-bottom: 1.5rem;
}

.why-us-card-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

.why-us-card-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(247, 245, 240, 0.65);
}

/* --- Quote --- */
.quote-section {
    padding: 6rem 0;
    background: var(--cream);
}

.quote-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.quote-mark {
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--green-800);
}

.quote-inner blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.375rem, 2.5vw, 1.875rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.55;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.quote-attribution {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.04em;
}

/* --- CTA --- */
.cta-section {
    padding: 6rem 0;
    background: var(--green-800);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-section .section-label {
    color: var(--green-100);
}

.cta-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-white);
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.cta-desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(247, 245, 240, 0.75);
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Contact --- */
.contact {
    padding: 7rem 0;
    background: var(--cream-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    padding-top: 1rem;
}

.contact-desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-mid);
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.contact-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    background: var(--green-50);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-800);
    flex-shrink: 0;
}

.contact-detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.contact-detail-value {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.contact-detail-value a {
    color: var(--green-800);
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-detail-value a:hover {
    color: var(--green-600);
    text-decoration: underline;
}

/* Contact Form */
.contact-form-col {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid rgba(45, 90, 61, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-mid);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--cream-dark);
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--cream-light);
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-700);
    background: white;
    box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--green-50);
    border: 1px solid var(--green-100);
    border-radius: 6px;
    color: var(--green-800);
    font-size: 0.9375rem;
    font-weight: 500;
    margin-top: 1rem;
}

.form-success.show {
    display: flex;
}

.form-success svg {
    flex-shrink: 0;
}

/* --- Map --- */
.map-section {
    border-top: 1px solid rgba(45, 90, 61, 0.08);
}

.map-container {
    filter: saturate(0.6) contrast(1.05);
    transition: filter 0.4s ease;
}

.map-container:hover {
    filter: saturate(1) contrast(1);
}

/* --- Footer --- */
.footer {
    background: var(--green-900);
    padding: 4rem 0 0;
    color: var(--text-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1rem;
}

.footer-logo-mark {
    width: 40px;
    height: 40px;
    background: var(--green-700);
    color: var(--text-white);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.footer-logo-text {
    font-family: var(--font-serif);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-white);
    line-height: 1.2;
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: rgba(247, 245, 240, 0.55);
    max-width: 280px;
}

.footer-heading {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1.25rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(247, 245, 240, 0.55);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--green-500);
}

.footer-contact p {
    font-size: 0.875rem;
    color: rgba(247, 245, 240, 0.55);
    line-height: 1.7;
    margin-bottom: 0.375rem;
}

.footer-contact a {
    color: var(--green-500);
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--green-100);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(247, 245, 240, 0.35);
}

/* --- Scroll Animations (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Fallback: ensure content is visible if JS is disabled */
.no-js .reveal,
.js-enabled .reveal {
    /* JS will add .revealed class */
}

/* --- Responsive --- */
@media (max-width: 1023px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-right {
        order: -1;
    }
    
    .hero-image-stack {
        padding-left: 0;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .hero-headline {
        max-width: 100%;
    }
    
    .hero-sub {
        max-width: 100%;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-img-accent {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1rem;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 639px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .hero {
        padding: 7rem 0 3rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .hero-img-2 {
        width: 85%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .programs,
    .about,
    .why-us,
    .contact {
        padding: 4rem 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
