/* ============================================
   George Washington Carver School — Styles
   Palette: Plum (#4A235A) + Amber (#D4A843)
   Fonts: Cormorant Garamond, Lora, Inter
   ============================================ */

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

:root {
    --plum-950: #1a0d21;
    --plum-900: #2d1536;
    --plum-800: #4A235A;
    --plum-700: #5c2d6e;
    --plum-600: #6e3780;
    --plum-500: #804292;
    --plum-100: #f3e8f7;
    --plum-50: #faf3fc;
    
    --amber-600: #b8860b;
    --amber-500: #D4A843;
    --amber-400: #e0bc5e;
    --amber-100: #fdf6e3;
    --amber-50: #fefce8;
    
    --warm-900: #1c1917;
    --warm-800: #292524;
    --warm-700: #44403c;
    --warm-600: #57534e;
    --warm-500: #78716c;
    --warm-200: #e7e5e4;
    --warm-100: #f5f5f4;
    --warm-50: #fafaf9;
    
    --cream: #fefcf8;
    --cream-dark: #f9f5ef;
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Lora', 'Times New Roman', serif;
    --font-ui: 'Inter', system-ui, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(74, 35, 90, 0.08);
    --shadow-md: 0 4px 16px rgba(74, 35, 90, 0.1);
    --shadow-lg: 0 8px 32px rgba(74, 35, 90, 0.12);
    --shadow-xl: 0 16px 48px rgba(74, 35, 90, 0.15);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--warm-900);
    background-color: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
.section-label {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-600);
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--plum-900);
    margin-bottom: 20px;
}

.title-accent {
    color: var(--amber-500);
    font-style: italic;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--warm-600);
    max-width: 560px;
    line-height: 1.7;
}

.section-header.centered {
    text-align: center;
}

.section-header.centered .section-subtitle {
    margin: 0 auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--amber-500);
    color: var(--plum-950);
    border-color: var(--amber-500);
}

.btn-primary:hover {
    background-color: var(--amber-400);
    border-color: var(--amber-400);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-outline-light {
    background-color: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
    background-color: #fff;
    color: var(--plum-800);
    transform: translateY(-2px);
}

.btn-outline-plum {
    background-color: transparent;
    color: var(--plum-800);
    border-color: var(--plum-800);
}

.btn-outline-plum:hover {
    background-color: var(--plum-800);
    color: #fff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 0.95rem;
}

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

.btn-icon {
    width: 18px;
    height: 18px;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(26, 13, 33, 0.95);
    backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-mark {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--amber-500);
    letter-spacing: 0.05em;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.04em;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--amber-500);
    transition: var(--transition);
}

.nav-link:hover {
    color: #fff;
}

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

.nav-cta {
    background-color: var(--amber-500);
    color: var(--plum-950) !important;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background-color: var(--amber-400);
    transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #fff;
    transition: var(--transition);
    border-radius: 2px;
}

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

.nav-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

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

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 13, 33, 0.95);
    backdrop-filter: blur(8px);
    z-index: 999;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        #1a0d21 0%,
        #4A235A 30%,
        #6e3780 50%,
        #4A235A 70%,
        #1a0d21 100%
    );
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: 
        radial-gradient(circle at 20% 50%, var(--amber-500) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, var(--amber-500) 1px, transparent 1px),
        radial-gradient(circle at 60% 80%, var(--amber-500) 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px, 50px 50px;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber-400);
    margin-bottom: 32px;
}

.badge-line {
    display: block;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--amber-500));
}

.badge-line:last-child {
    background: linear-gradient(90deg, var(--amber-500), transparent);
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.headline-accent {
    color: var(--amber-500);
    font-style: italic;
}

.hero-subheadline {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--amber-500);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.hero-scroll span {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.7); }
}

/* --- About --- */
.about {
    padding: 120px 0;
    background-color: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

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

.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.about-image-accent {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream);
}

.about-image-accent img {
    width: 100%;
    display: block;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: linear-gradient(135deg, var(--plum-800), var(--plum-700));
    color: #fff;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.exp-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--amber-500);
    line-height: 1;
}

.exp-text {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
}

.about-content .section-label {
    margin-bottom: 12px;
}

.about-lead {
    font-size: 1.15rem;
    color: var(--plum-700);
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 500;
}

.about-content p {
    color: var(--warm-600);
    margin-bottom: 16px;
}

.about-values {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.value-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.value-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--plum-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-800);
}

.value-icon svg {
    width: 24px;
    height: 24px;
}

.value-item h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--plum-900);
    margin-bottom: 4px;
}

.value-item p {
    font-size: 0.9rem;
    color: var(--warm-500);
    margin: 0;
    line-height: 1.6;
}

/* --- Programs --- */
.programs {
    padding: 120px 0;
    background-color: var(--warm-50);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.program-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 580px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.program-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.program-card:hover .program-card-bg {
    transform: scale(1.05);
}

.program-card--driving .program-card-bg {
    background-image: url('https://images.pexels.com/photos/37865917/pexels-photo-37865917.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=600&h=800');
}

.program-card--language .program-card-bg {
    background-image: url('https://images.pexels.com/photos/37822424/pexels-photo-37822424.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=600&h=800');
}

.program-card--private .program-card-bg {
    background-image: url('https://images.pexels.com/photos/29659894/pexels-photo-29659894.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=600&h=800');
}

.program-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(26, 13, 33, 0.95) 0%,
        rgba(74, 35, 90, 0.85) 40%,
        rgba(74, 35, 90, 0.4) 70%,
        rgba(74, 35, 90, 0.1) 100%
    );
    z-index: 1;
}

.program-card-content {
    position: relative;
    z-index: 2;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.program-icon {
    width: 64px;
    height: 64px;
    background: rgba(212, 168, 67, 0.15);
    border: 1px solid rgba(212, 168, 67, 0.3);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--amber-400);
}

.program-icon svg {
    width: 32px;
    height: 32px;
}

.program-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.program-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 24px;
    flex: 1;
}

.program-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
}

.program-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

.program-features li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--amber-400);
}

.program-card .btn {
    align-self: flex-start;
}

/* --- Why Us --- */
.why-us {
    padding: 120px 0;
    background-color: var(--cream);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-content .section-label {
    margin-bottom: 12px;
}

.why-intro {
    font-size: 1.1rem;
    color: var(--warm-600);
    line-height: 1.8;
    margin-bottom: 40px;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.why-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.why-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--amber-500);
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.7;
}

.why-item h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--plum-900);
    margin-bottom: 6px;
}

.why-item p {
    font-size: 0.95rem;
    color: var(--warm-500);
    line-height: 1.7;
}

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

.why-image-stack {
    position: relative;
}

.why-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.why-img-secondary {
    position: absolute;
    bottom: -30px;
    left: -30px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream);
}

.why-img-secondary img {
    width: 100%;
    display: block;
}

/* --- Testimonials --- */
.testimonials {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--plum-950) 0%, var(--plum-800) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: 
        radial-gradient(circle at 30% 40%, var(--amber-500) 1px, transparent 1px),
        radial-gradient(circle at 70% 60%, var(--amber-500) 1px, transparent 1px);
    background-size: 50px 50px, 70px 70px;
}

.testimonials .section-label {
    color: var(--amber-400);
}

.testimonials .section-title {
    color: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 64px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.testimonial-quote-mark {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    color: var(--amber-500);
    opacity: 0.5;
    margin-bottom: 8px;
}

.testimonial-text {
    font-family: var(--font-body);
    font-size: 1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 28px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--plum-950);
}

.author-name {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

.author-detail {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* --- CTA Section --- */
.cta-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--amber-600) 0%, var(--amber-500) 50%, #c49a30 100%);
}

.cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(74, 35, 90, 0.3) 0%, transparent 60%);
}

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

.cta-label {
    color: var(--plum-900) !important;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--plum-900);
    line-height: 1.15;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(26, 13, 33, 0.7);
    line-height: 1.8;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Contact --- */
.contact {
    padding: 120px 0;
    background-color: var(--warm-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-intro {
    font-size: 1.05rem;
    color: var(--warm-600);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.detail-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background-color: var(--plum-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-800);
}

.detail-icon svg {
    width: 24px;
    height: 24px;
}

.contact-detail h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--plum-900);
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 0.9rem;
    color: var(--warm-500);
    line-height: 1.6;
}

.contact-detail a {
    color: var(--plum-700);
    transition: var(--transition);
}

.contact-detail a:hover {
    color: var(--amber-600);
}

/* Contact Form */
.contact-form-wrap {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--warm-200);
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--plum-900);
    margin-bottom: 32px;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--warm-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--warm-900);
    background-color: var(--warm-50);
    border: 1.5px solid var(--warm-200);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--plum-500);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(74, 35, 90, 0.1);
}

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

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background-color: var(--plum-100);
    border: 1px solid var(--plum-500);
    border-radius: var(--radius-md);
    margin-top: 16px;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    color: var(--plum-800);
}

.form-success svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--plum-600);
}

/* --- Map --- */
.map-section {
    border-top: 4px solid var(--amber-500);
}

.map-container {
    filter: saturate(0.7) contrast(1.1);
}

/* --- Footer --- */
.footer {
    background-color: var(--plum-950);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-mark {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--amber-500);
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--amber-400);
}

.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 4px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--amber-400);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid,
    .why-grid,
    .contact-grid {
        gap: 48px;
    }
    
    .programs-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--plum-950);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-link {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.8);
    }
    
    .nav-overlay.show {
        display: block;
    }
    
    .about-grid,
    .why-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image-accent {
        right: 10px;
        bottom: -20px;
    }
    
    .about-experience-badge {
        left: 10px;
        top: -10px;
    }
    
    .why-img-secondary {
        left: 10px;
        bottom: -20px;
    }
    
    .programs-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .program-card {
        min-height: 500px;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrap {
        padding: 32px 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about,
    .programs,
    .why-us,
    .testimonials,
    .contact {
        padding: 80px 0;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .scroll-line {
        animation: none;
        opacity: 0.5;
    }
}
