/**
 * Terravera - Main Stylesheet
 * Green & White Theme
 */

/* ============================================
   1. CSS VARIABLES (Design System)
   ============================================ */
:root {
    /* Colors - Green & White Theme */
    --color-primary: #2E7D32;
    --color-primary-dark: #1B5E20;
    --color-primary-light: #43A047;
    --color-charcoal: #FFFFFF;
    --color-charcoal-light: #F5F9F5;
    --color-charcoal-lighter: #EEF2EE;
    --color-surface: #FFFFFF;
    --color-border: rgba(0, 0, 0, 0.08);
    --color-border-light: rgba(46, 125, 50, 0.2);
    --color-text-dark: #1a1a1a;
    --color-text-medium: #555555;
    --color-text-light: #888888;
    --color-white: #FFFFFF;
    --color-off-white: #f5f5f5;
    --color-accent: #A5D6A7;
    --color-error: #E57373;
    --color-success: #2E7D32;

    /* Typography */
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 4rem;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-strong: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 20px rgba(46, 125, 50, 0.1);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
}

/* ============================================
   2. CSS RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-charcoal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

ul, ol {
    list-style: none;
}

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

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text-dark);
}

h1 { font-size: var(--text-5xl); font-weight: 700; }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

.text-gradient {
    background: linear-gradient(135deg, #81C784 0%, #E8F5E9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   4. LAYOUT
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-4xl) 0;
    max-width: 100%;
    overflow-x: hidden;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-lg);
    background: rgba(46, 125, 50, 0.08);
    color: var(--color-primary);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid var(--color-border-light);
}

.section-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-md);
    color: var(--color-text-dark);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-medium);
    line-height: 1.7;
}

/* ============================================
   5. HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    transition: box-shadow var(--transition-base), background var(--transition-base);
    border-bottom: 1px solid var(--color-border);
}

.header.scrolled {
    box-shadow: var(--shadow-medium);
    background: rgba(255, 255, 255, 0.98);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-weight: 500;
    color: var(--color-text-dark);
    padding: var(--space-sm) 0;
    position: relative;
    font-size: var(--text-sm);
    letter-spacing: 0.02em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-base);
}

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

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

.nav-cta {
    margin-left: var(--space-lg);
}

.mobile-toggle {
    display: none;
    width: 32px;
    height: 32px;
    position: relative;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-dark);
    position: relative;
    transition: background var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-text-dark);
    transition: transform var(--transition-base);
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* ============================================
   6. BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    letter-spacing: 0.02em;
}

.btn svg {
    width: 20px;
    height: 20px;
}

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

.btn-primary:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--text-lg);
}

.btn-full {
    width: 100%;
}

/* ============================================
   7. HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: #0D2E10;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.6s ease-in-out;
    will-change: opacity;
}

.hero-video.is-active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.48) 100%);
}

.hero-vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(ellipse at center, transparent 35%, rgba(0, 0, 0, 0.45) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 960px;
    padding: 0 var(--container-padding);
}

.hero-badge {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background: rgba(255, 255, 255, 0.08);
    color: #C8E6C9;
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
    border: 1px solid rgba(255, 255, 255, 0.22);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.75rem);
    color: #FFFFFF;
    margin-bottom: var(--space-lg);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: var(--space-2xl);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
}

.hero-trust {
    position: relative;
    z-index: 3;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

@media (prefers-reduced-motion: reduce) {
    .hero-video { display: none; }
}

.trust-label {
    display: block;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-md);
}

.trust-badges {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.trust-badge {
    padding: var(--space-xs) var(--space-md);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-sm);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.85);
    opacity: 0.8;
    animation: bounce 2s infinite;
    z-index: 3;
}

.scroll-indicator svg {
    width: 32px;
    height: 32px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   8. ABOUT SECTION
   ============================================ */
.about {
    background: var(--color-charcoal-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-content {
    padding-right: var(--space-xl);
}

.about-text {
    font-size: var(--text-lg);
    color: var(--color-text-medium);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.feature-item {
    display: flex;
    gap: var(--space-md);
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(46, 125, 50, 0.1);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

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

.feature-content h4 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-xs);
    color: var(--color-text-dark);
}

.feature-content p {
    color: var(--color-text-medium);
    font-size: var(--text-sm);
}

.about-stats {
    padding-left: var(--space-xl);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.stat-card {
    background: var(--color-charcoal);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    border: 1px solid var(--color-border);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-border-light);
}

.stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
    color: var(--color-primary);
}

.stat-icon svg {
    width: 100%;
    height: 100%;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--color-text-medium);
    font-weight: 500;
}

/* ============================================
   9. SERVICES SECTION
   ============================================ */
.services {
    background: var(--color-charcoal);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.service-card {
    background: var(--color-charcoal-light);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--color-primary);
    transition: height var(--transition-base);
}

.service-card:hover {
    border-color: var(--color-border-light);
    box-shadow: var(--shadow-medium), var(--shadow-glow);
    transform: translateY(-4px);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(46, 125, 50, 0.1);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
    color: var(--color-text-dark);
}

.service-description {
    color: var(--color-text-medium);
    font-size: var(--text-sm);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.service-features li {
    font-size: var(--text-sm);
    color: var(--color-text-medium);
    padding-left: var(--space-lg);
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
}

/* ============================================
   10. WHY CHOOSE US SECTION
   ============================================ */
.why-us {
    background: var(--color-charcoal-light);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.why-us-card {
    background: var(--color-charcoal);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    border: 1px solid var(--color-border);
}

.why-us-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-border-light);
}

.why-us-icon {
    width: 64px;
    height: 64px;
    background: rgba(46, 125, 50, 0.1);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin: 0 auto var(--space-lg);
    transition: all var(--transition-base);
}

.why-us-card:hover .why-us-icon {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

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

.why-us-title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-md);
    color: var(--color-text-dark);
}

.why-us-description {
    font-size: var(--text-sm);
    color: var(--color-text-medium);
    line-height: 1.7;
}

/* Expertise Badges */
.expertise {
    background: var(--color-charcoal);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--color-border);
}

.expertise-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-medium);
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.expertise-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.expertise-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: rgba(46, 125, 50, 0.08);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    font-weight: 500;
    font-size: var(--text-sm);
    transition: all var(--transition-base);
}

.expertise-badge:hover {
    background: rgba(46, 125, 50, 0.15);
    border-color: var(--color-primary);
}

.expertise-badge svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   11. CONTACT SECTION
   ============================================ */
.contact {
    background: var(--color-charcoal);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.contact-form-wrapper {
    background: var(--color-charcoal-light);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group label {
    font-weight: 500;
    font-size: var(--text-sm);
    color: var(--color-text-dark);
}

.form-group .required {
    color: var(--color-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-charcoal);
    color: var(--color-text-dark);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

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

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

.form-checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-md);
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--color-primary);
}

.form-checkbox label {
    font-size: var(--text-sm);
    font-weight: 400;
    color: var(--color-text-medium);
}

.form-checkbox a {
    text-decoration: underline;
}

/* Alerts */
.alert {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    font-size: var(--text-sm);
}

.alert svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.alert-success {
    background: rgba(129, 199, 132, 0.1);
    color: var(--color-success);
    border: 1px solid rgba(129, 199, 132, 0.3);
}

.alert-error {
    background: rgba(229, 115, 115, 0.1);
    color: var(--color-error);
    border: 1px solid rgba(229, 115, 115, 0.3);
}

/* Contact Info */
.contact-info-card {
    background: var(--color-charcoal-lighter);
    color: var(--color-text-dark);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
    border: 1px solid var(--color-border);
}

.contact-info-card h3 {
    color: var(--color-text-dark);
    font-size: var(--text-2xl);
    margin-bottom: var(--space-md);
}

.contact-info-card > p {
    color: var(--color-text-medium);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(46, 125, 50, 0.1);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-primary);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.contact-label {
    font-size: var(--text-xs);
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-text a,
.contact-text span {
    color: var(--color-text-dark);
    font-size: var(--text-sm);
    overflow-wrap: break-word;
    word-break: break-word;
}

.contact-text a:hover {
    color: var(--color-primary);
}

/* Map Placeholder */
.contact-map {
    height: 200px;
}

.map-placeholder {
    height: 100%;
    background: linear-gradient(135deg, var(--color-charcoal-lighter) 0%, #E8F5E9 100%);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    color: var(--color-primary);
    border: 1px solid var(--color-border);
}

.map-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.8;
}

.map-placeholder span {
    font-weight: 600;
    font-size: var(--text-lg);
    color: var(--color-text-dark);
}

.map-placeholder p {
    font-size: var(--text-sm);
    color: var(--color-text-medium);
}

/* ============================================
   12. FOOTER
   ============================================ */
.footer {
    background: #1B3A1D;
    color: var(--color-white);
    padding: var(--space-4xl) 0 var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 100%;
    overflow-x: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.footer-logo-img {
    height: 50px;
    width: auto;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-lg);
    font-size: var(--text-sm);
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A5D6A7;
    transition: all var(--transition-base);
}

.social-link:hover {
    background: #2E7D32;
    color: var(--color-white);
    border-color: #2E7D32;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-heading {
    color: #FFFFFF;
    font-size: var(--text-lg);
    margin-bottom: var(--space-lg);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

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

.footer-contact {
    font-style: normal;
}

.footer-contact .contact-item {
    margin-bottom: var(--space-md);
    overflow-wrap: break-word;
    word-break: break-word;
    min-width: 0;
}

.footer-contact .contact-item:last-child {
    margin-bottom: 0;
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-sm);
}

.footer-bottom p:first-child {
    margin-bottom: var(--space-xs);
}

/* ============================================
   13. ANIMATIONS
   ============================================ */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   14. RESPONSIVE STYLES
   ============================================ */

/* Tablet (576px - 991px) */
@media (max-width: 991px) {
    :root {
        --text-5xl: 2.5rem;
        --text-6xl: 3rem;
    }

    .nav-list {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: #FFFFFF;
        flex-direction: column;
        padding: var(--space-xl);
        gap: var(--space-lg);
        box-shadow: var(--shadow-medium);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        border-bottom: 1px solid var(--color-border);
    }

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

    .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .mobile-toggle.active .hamburger {
        background: transparent;
    }

    .mobile-toggle.active .hamburger::before {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-toggle.active .hamburger::after {
        transform: translateY(-8px) rotate(-45deg);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .about-content {
        padding-right: 0;
    }

    .about-stats {
        padding-left: 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2xl);
    }
}

/* Mobile (< 576px) */
@media (max-width: 575px) {
    :root {
        --text-4xl: 1.875rem;
        --text-5xl: 2rem;
        --text-6xl: 2.25rem;
        --space-4xl: 4rem;
        --space-3xl: 3rem;
    }

    .container {
        --container-padding: 1rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .expertise-grid {
        flex-direction: column;
        align-items: center;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-logo {
        justify-content: center;
    }
}

/* ============================================
   15. UTILITIES
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* ============================================
   LEADERSHIP SECTION
   ============================================ */
.leadership {
    background-color: var(--color-charcoal-light);
}

.leader-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-xl);
    align-items: start;
    max-width: 960px;
    margin: 0 auto;
    padding: var(--space-2xl, 3rem) var(--space-xl);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-primary);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.leader-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    box-shadow: 0 6px 18px rgba(46, 125, 50, 0.25);
    flex-shrink: 0;
    overflow: hidden;
}

.leader-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.leader-meta {
    margin-bottom: var(--space-md);
}

.leader-name {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-text-dark);
    margin: 0 0 var(--space-xs);
}

.leader-role {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 600;
    font-size: var(--text-base);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-sm);
}

.leader-credentials {
    color: var(--color-text-medium);
    font-size: var(--text-sm);
    margin: 0;
    line-height: 1.6;
}

.leader-bio {
    color: var(--color-text-medium);
    line-height: 1.75;
    margin: 0 0 var(--space-md);
}

.leader-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin: var(--space-lg) 0;
}

.leader-chip {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: var(--color-charcoal-light);
    color: var(--color-primary-dark);
    border: 1px solid var(--color-border-light);
    border-radius: 999px;
    font-size: var(--text-sm);
    font-weight: 500;
}

.leader-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.leader-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.leader-link svg {
    width: 20px;
    height: 20px;
}

.leader-link:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .leader-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: var(--space-xl) var(--space-lg);
    }
    .leader-avatar {
        margin: 0 auto;
        width: 96px;
        height: 96px;
        font-size: 2rem;
    }
    .leader-expertise,
    .leader-links {
        justify-content: center;
    }
}