/* ============================================
   Downers Grove North High School
   Warm, approachable, forest green + off-white
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Quicksand', 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #1a3a2a;
    background-color: #FAFAF5;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* --- Reveal Animation --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(27, 94, 32, 0.25);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background-color: #1B5E20;
    color: #FFFFFF;
    border-color: #1B5E20;
}

.btn-primary:hover {
    background-color: #145A1E;
    border-color: #145A1E;
    box-shadow: 0 8px 24px rgba(20, 90, 30, 0.35);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: #FFFFFF;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-white {
    background-color: #FFFFFF;
    color: #1B5E20;
    border-color: #FFFFFF;
}

.btn-white:hover {
    background-color: #F0F7F0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
    background-color: transparent;
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: #FFFFFF;
}

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

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

/* --- Section Shared --- */
.section-tag {
    display: inline-block;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2E7D32;
    background-color: #E8F5E9;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    color: #0D3014;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 17px;
    color: #3D5A47;
    max-width: 640px;
    line-height: 1.75;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

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

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(250, 250, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(27, 94, 32, 0.08);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(27, 94, 32, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: #0D3014;
}

.nav-logo-text {
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #2D4A3A;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.25s ease;
}

.nav-link:hover {
    color: #1B5E20;
    background-color: #E8F5E9;
}

.nav-cta-btn {
    background-color: #1B5E20;
    color: #FFFFFF !important;
    margin-left: 8px;
}

.nav-cta-btn:hover {
    background-color: #145A1E;
    color: #FFFFFF !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2.5px;
    background-color: #1B5E20;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0D3014 0%, #1B5E20 30%, #2E7D32 60%, #388E3C 80%, #43A047 100%);
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-gradient-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.3) 0%, transparent 70%);
    top: -150px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero-gradient-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(129, 199, 132, 0.25) 0%, transparent 70%);
    bottom: -80px;
    left: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-gradient-3 {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 230, 201, 0.2) 0%, transparent 70%);
    top: 40%;
    left: 60%;
    animation: float 6s ease-in-out infinite;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
    backdrop-filter: blur(4px);
}

.hero-headline {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: clamp(32px, 5.5vw, 64px);
    line-height: 1.1;
    color: #FFFFFF;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-accent {
    display: block;
    background: linear-gradient(90deg, #A5D6A7, #81C784, #66BB6A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subheadline {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

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

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

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

.hero-stat-number {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 32px;
    color: #FFFFFF;
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

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

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.5);
    animation: bounce 2s ease-in-out infinite;
}

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

/* --- Programs --- */
.programs {
    padding: 100px 0;
    background-color: #FAFAF5;
}

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

.program-card {
    display: flex;
    flex-direction: column;
    padding: 40px 32px;
    background-color: #FFFFFF;
    border-radius: 24px;
    border: 1px solid rgba(27, 94, 32, 0.08);
    box-shadow: 0 4px 16px rgba(27, 94, 32, 0.06);
    transition: all 0.35s ease;
    text-align: left;
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(27, 94, 32, 0.14);
    border-color: rgba(27, 94, 32, 0.15);
}

.program-card-icon {
    margin-bottom: 24px;
}

.program-card-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: #0D3014;
    margin-bottom: 12px;
    line-height: 1.3;
}

.program-card-desc {
    font-size: 15px;
    color: #3D5A47;
    line-height: 1.75;
    flex: 1;
    margin-bottom: 20px;
}

.program-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #1B5E20;
    transition: gap 0.25s ease;
}

.program-card:hover .program-card-link {
    gap: 10px;
}

/* --- Driving --- */
.driving {
    padding: 100px 0;
    background-color: #F0F7F0;
}

.driving-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.driving-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(27, 94, 32, 0.15);
}

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

.driving-image-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #FFFFFF;
    color: #1B5E20;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.driving-content {
    padding: 16px 0;
}

.driving-title {
    margin-bottom: 20px;
}

.driving-intro {
    font-size: 17px;
    color: #3D5A47;
    line-height: 1.8;
    margin-bottom: 36px;
}

.driving-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.driving-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.driving-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E8F5E9;
    border-radius: 14px;
}

.driving-feature-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 16px;
    color: #0D3014;
    margin-bottom: 4px;
}

.driving-feature-text {
    font-size: 14px;
    color: #4A6B52;
    line-height: 1.65;
}

/* --- Languages --- */
.languages {
    padding: 100px 0;
    background-color: #FAFAF5;
}

.languages-header {
    text-align: center;
    margin-bottom: 56px;
}

.languages-subtitle {
    font-size: 17px;
    color: #3D5A47;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.8;
}

.language-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.language-card {
    background-color: #FFFFFF;
    border-radius: 24px;
    padding: 36px 28px;
    border: 1px solid rgba(27, 94, 32, 0.08);
    box-shadow: 0 4px 16px rgba(27, 94, 32, 0.06);
    transition: all 0.35s ease;
}

.language-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(27, 94, 32, 0.14);
    border-color: rgba(27, 94, 32, 0.15);
}

.language-card-emoji {
    font-size: 40px;
    margin-bottom: 16px;
    line-height: 1;
}

.language-card-name {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: #0D3014;
    margin-bottom: 10px;
}

.language-card-desc {
    font-size: 14px;
    color: #4A6B52;
    line-height: 1.75;
    margin-bottom: 20px;
}

.language-card-levels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.level-tag {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #2E7D32;
    background-color: #E8F5E9;
    padding: 4px 12px;
    border-radius: 50px;
}

/* --- About --- */
.about {
    padding: 100px 0;
    background-color: #FFFFFF;
}

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

.about-content {
    order: 1;
}

.about-text {
    font-size: 16px;
    color: #3D5A47;
    line-height: 1.85;
    margin-bottom: 16px;
}

.about-text:last-child {
    margin-bottom: 36px;
}

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

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

.about-value-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E8F5E9;
    border-radius: 14px;
}

.about-value-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 16px;
    color: #0D3014;
    margin-bottom: 4px;
}

.about-value-text {
    font-size: 14px;
    color: #4A6B52;
    line-height: 1.65;
}

.about-image {
    order: 2;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(27, 94, 32, 0.15);
}

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

/* --- Contact --- */
.contact {
    padding: 100px 0;
    background-color: #F0F7F0;
}

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

.contact-info {
    padding: 16px 0;
}

.contact-intro {
    font-size: 17px;
    color: #3D5A47;
    line-height: 1.8;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

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

.contact-detail-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E8F5E9;
    border-radius: 14px;
}

.contact-detail-label {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 14px;
    color: #0D3014;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.contact-detail-value {
    font-size: 15px;
    color: #3D5A47;
    line-height: 1.65;
}

.contact-detail-value a {
    color: #1B5E20;
    font-weight: 700;
    transition: color 0.2s ease;
}

.contact-detail-value a:hover {
    color: #2E7D32;
    text-decoration: underline;
}

.contact-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(27, 94, 32, 0.1);
}

/* --- Contact Form --- */
.contact-form-wrapper {
    max-width: 100%;
}

.contact-form-card {
    background-color: #FFFFFF;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(27, 94, 32, 0.08);
    box-shadow: 0 8px 32px rgba(27, 94, 32, 0.08);
}

.contact-form-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: #0D3014;
    margin-bottom: 8px;
}

.contact-form-subtitle {
    font-size: 14px;
    color: #4A6B52;
    margin-bottom: 28px;
}

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

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

.form-label {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: #2D4A3A;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E0E8E3;
    border-radius: 12px;
    font-family: 'Quicksand', sans-serif;
    font-size: 15px;
    color: #1a3a2a;
    background-color: #FAFAF5;
    transition: all 0.25s ease;
    outline: none;
}

.form-input:hover {
    border-color: #A5D6A7;
}

.form-input:focus {
    border-color: #1B5E20;
    background-color: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(27, 94, 32, 0.08);
}

.form-input::placeholder {
    color: #9BB5A5;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231B5E20' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

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

/* Form Success */
.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

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

.form-success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background-color: #E8F5E9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-success-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: #0D3014;
    margin-bottom: 8px;
}

.form-success-text {
    font-size: 15px;
    color: #4A6B52;
    line-height: 1.7;
}

/* --- CTA Banner --- */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, #0D3014 0%, #1B5E20 50%, #2E7D32 100%);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
}

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

.cta-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: clamp(28px, 4vw, 42px);
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
    margin-bottom: 36px;
}

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

/* --- Footer --- */
.footer {
    background-color: #0A2610;
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

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

.footer-brand {
    max-width: 320px;
}

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

.footer-logo-text {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 16px;
    color: #FFFFFF;
    line-height: 1.3;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.55);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-link-group h4 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
}

.footer-link-group ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link-group a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.footer-link-group a:hover {
    color: #A5D6A7;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

.footer-location {
    color: rgba(255, 255, 255, 0.35);
}

/* --- Mobile Responsive --- */
@media (max-width: 1024px) {
    .programs-grid,
    .language-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .driving-layout,
    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content {
        order: 2;
    }

    .about-image {
        order: 1;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: rgba(250, 250, 245, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid rgba(27, 94, 32, 0.08);
        box-shadow: 0 8px 24px rgba(27, 94, 32, 0.1);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.35s ease;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        width: 100%;
        padding: 12px 16px;
        border-radius: 12px;
    }

    .nav-cta-btn {
        margin-left: 0;
        text-align: center;
        margin-top: 8px;
    }

    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat-number {
        font-size: 26px;
    }

    .programs-grid,
    .language-cards {
        grid-template-columns: 1fr;
    }

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

    .contact-form-card {
        padding: 28px;
    }

    .language-cards {
        gap: 16px;
    }

    .language-card {
        padding: 28px 24px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 90px 16px 50px;
    }

    .programs,
    .driving,
    .languages,
    .about,
    .contact {
        padding: 72px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}
