/* ========================================
   Grand Mission Services - Professional CSS
   Mobile-first responsive design with green theme
   ======================================== */

/* ========================================
   CSS RESET & BASE STYLES
   ======================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
    font-weight: 400;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   COLOR SYSTEM
   ======================================== */

:root {
    /* Green Color Palette */
    --color-primary: #2d6e3e;          /* Deep forest green */
    --color-primary-light: #3d8b4e;    /* Medium green */
    --color-primary-dark: #1e4b2a;     /* Darker green */
    --color-secondary: #52a068;        /* Fresh green */
    --color-accent: #6bc07f;           /* Light accent green */
    --color-success: #28a745;          /* Success green */
    
    /* Neutral Colors */
    --color-text-primary: #2c3e50;     /* Dark blue-gray */
    --color-text-secondary: #5a6c7d;   /* Medium gray */
    --color-text-light: #8b9aa5;       /* Light gray */
    --color-white: #ffffff;
    --color-off-white: #f8f9fa;
    --color-light-gray: #e9ecef;
    --color-border: #dee2e6;
    
    /* Background Colors */
    --color-bg-primary: #ffffff;
    --color-bg-secondary: #f8f9fa;
    --color-bg-dark: #2c3e50;
    --color-bg-green: #2d6e3e;
    
    /* Typography */
    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 1rem;     /* 16px */
    --font-size-lg: 1.125rem;   /* 18px */
    --font-size-xl: 1.25rem;    /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 1.875rem;  /* 30px */
    --font-size-4xl: 2.25rem;   /* 36px */
    --font-size-5xl: 3rem;      /* 48px */
    --font-size-6xl: 3.75rem;   /* 60px */
    
    /* Font Weights */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --space-xs: 0.25rem;    /* 4px */
    --space-sm: 0.5rem;     /* 8px */
    --space-md: 1rem;       /* 16px */
    --space-lg: 1.5rem;     /* 24px */
    --space-xl: 2rem;       /* 32px */
    --space-2xl: 2.5rem;    /* 40px */
    --space-3xl: 3rem;      /* 48px */
    --space-4xl: 4rem;      /* 64px */
    --space-5xl: 5rem;      /* 80px */
    --space-6xl: 6rem;      /* 96px */
    
    /* Breakpoints */
    --breakpoint-sm: 768px;
    --breakpoint-md: 1024px;
    --breakpoint-lg: 1200px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-base: 0.2s ease-in-out;
    --transition-slow: 0.3s ease-in-out;
    
    /* Border Radius */
    --radius-sm: 0.25rem;    /* 4px */
    --radius-md: 0.5rem;     /* 8px */
    --radius-lg: 0.75rem;    /* 12px */
    --radius-xl: 1rem;       /* 16px */
    --radius-full: 9999px;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-xl);
    }
}

.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-accent {
    color: var(--color-accent);
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--color-primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: var(--font-weight-medium);
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 6px;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
}

h1 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
}

h2 {
    font-size: var(--font-size-2xl);
}

h3 {
    font-size: var(--font-size-xl);
}

p {
    margin-bottom: var(--space-md);
    color: var(--color-text-secondary);
}

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

a:hover,
a:focus {
    color: var(--color-primary-light);
    text-decoration: underline;
}

a:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Responsive Typography */
@media (min-width: 768px) {
    h1 {
        font-size: var(--font-size-4xl);
    }
    
    h2 {
        font-size: var(--font-size-3xl);
    }
    
    h3 {
        font-size: var(--font-size-2xl);
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: var(--font-size-5xl);
    }
}

/* ========================================
   BUTTON COMPONENTS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    min-height: 44px; /* Accessibility: minimum touch target */
    line-height: 1.5;
    position: relative;
    overflow: hidden;
}

.btn:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--color-white);
    text-decoration: none;
}

.btn--primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-md);
}

.btn--secondary {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn--secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
}

.btn--large {
    padding: var(--space-md) var(--space-2xl);
    font-size: var(--font-size-lg);
    min-height: 48px;
}

/* Button Animations */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.header {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

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

.nav__brand {
    flex-shrink: 0;
}

.nav__logo {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

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

.nav__phone {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.nav__phone:hover {
    background: var(--color-off-white);
    color: var(--color-primary-dark);
    text-decoration: none;
}

.phone-icon {
    font-size: var(--font-size-lg);
}

@media (min-width: 768px) {
    .nav {
        padding: var(--space-lg) var(--space-xl);
    }
    
    .nav__logo {
        height: 60px;
    }
    
    .nav__phone {
        font-size: var(--font-size-xl);
    }
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: linear-gradient(135deg, var(--color-off-white) 0%, var(--color-white) 100%);
    padding: var(--space-4xl) 0 var(--space-5xl);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(45, 110, 62, 0.05) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero__title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.hero__subtitle {
    font-size: var(--font-size-xl);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    font-weight: var(--font-weight-medium);
}

.hero__description {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
    margin-bottom: var(--space-lg);
}

.hero__cta-description {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    font-style: italic;
}

.hero__visual {
    position: absolute;
    top: 50%;
    right: -200px;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    opacity: 0.1;
    z-index: 1;
}

.hero__graphic {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    animation: float 6s ease-in-out infinite;
}

.floating-element--1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 20%;
    animation-delay: -2s;
}

.floating-element--2 {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 60%;
    animation-delay: -4s;
}

.floating-element--3 {
    width: 60px;
    height: 60px;
    top: 10%;
    right: 10%;
    animation-delay: -1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@media (min-width: 768px) {
    .hero {
        padding: var(--space-5xl) 0 var(--space-6xl);
    }
    
    .hero__title {
        font-size: var(--font-size-5xl);
    }
    
    .hero__subtitle {
        font-size: var(--font-size-2xl);
    }
    
    .hero__actions {
        flex-direction: row;
        justify-content: center;
    }
    
    .hero__visual {
        opacity: 0.2;
        right: -100px;
    }
}

@media (min-width: 1024px) {
    .hero__title {
        font-size: var(--font-size-6xl);
    }
    
    .hero__visual {
        right: 50px;
    }
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
}

.section-title--white {
    color: var(--color-white);
}

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

.section-subtitle--white {
    color: rgba(255, 255, 255, 0.9);
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
    .section-title {
        font-size: var(--font-size-4xl);
    }
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services {
    padding: var(--space-5xl) 0;
    background: var(--color-white);
}

.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

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

.service-card__icon {
    margin-bottom: var(--space-lg);
    display: flex;
    justify-content: center;
}

.icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.icon--innovation {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
}

.icon--automation {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
}

.icon--integration {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
}

.icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--color-white);
    border-radius: var(--radius-sm);
}

.service-card__title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
}

.service-card__description {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3xl);
    }
}

@media (min-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */

.why-choose-us {
    padding: var(--space-5xl) 0;
    background: var(--color-off-white);
}

.why-choose-us__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.why-choose-us__text {
    text-align: center;
}

.benefits-list {
    list-style: none;
    margin-top: var(--space-xl);
}

.benefits-list__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
}

.checkmark {
    color: var(--color-success);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xl);
    flex-shrink: 0;
}

.why-choose-us__visual {
    display: flex;
    justify-content: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    max-width: 400px;
}

.stat-item {
    text-align: center;
    padding: var(--space-lg);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base);
}

.stat-item:hover {
    transform: translateY(-2px);
}

.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

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

@media (min-width: 768px) {
    .why-choose-us__content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-5xl);
    }
    
    .why-choose-us__text {
        text-align: left;
    }
    
    .benefits-list__item {
        justify-content: flex-start;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
}

/* ========================================
   TEAM SECTION
   ======================================== */

.team {
    padding: var(--space-5xl) 0;
    background: var(--color-white);
}

.team__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    max-width: 1000px;
    margin: 0 auto;
    justify-items: center;
}

.team-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
    max-width: 400px;
    width: 100%;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

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

.team-card__image {
    margin-bottom: var(--space-lg);
    display: flex;
    justify-content: center;
}

.team-card__photo {
    width: 150px;
    height: 150px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 4px solid var(--color-primary);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base);
}

.team-card__photo--placeholder {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
}

.team-photo-initial {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.team-card:hover .team-card__photo {
    transform: scale(1.05);
}

.team-card__content {
    text-align: center;
}

.team-card__name {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

.team-card__title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-card__description {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.team-card__contact {
    display: flex;
    justify-content: center;
}

.team-card__email {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-primary);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    padding: var(--space-sm) var(--space-md);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.team-card__email:hover {
    background: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
    transform: translateY(-2px);
}

.team-card__email::before {
    content: '✉️';
    font-size: var(--font-size-sm);
}

@media (min-width: 768px) {
    .team__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4xl);
    }
}

@media (min-width: 1024px) {
    .team__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .team-card {
        max-width: none;
    }
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
    padding: var(--space-5xl) 0;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4xl);
    margin-top: var(--space-2xl);
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-base);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.contact-item__icon {
    font-size: var(--font-size-2xl);
    flex-shrink: 0;
}

.contact-item__content {
    flex: 1;
}

.contact-item__title {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item__link {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    text-decoration: none;
    transition: color var(--transition-base);
}

.contact-item__link:hover {
    color: var(--color-accent);
    text-decoration: none;
}

.contact__cta {
    text-align: center;
    padding: var(--space-2xl);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact__cta-title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.contact__cta-text {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.contact__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
}

@media (min-width: 768px) {
    .contact__content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-5xl);
    }
    
    .contact__info {
        grid-template-columns: 1fr;
    }
    
    .contact__actions {
        flex-direction: row;
        justify-content: center;
    }
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--color-bg-dark);
    color: var(--color-white);
    padding: var(--space-4xl) 0 var(--space-xl);
}

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

.footer__brand {
    text-align: center;
}

.footer__logo {
    height: 50px;
    width: auto;
    margin-bottom: var(--space-md);
    filter: brightness(0) invert(1);
}

.footer__tagline {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.footer__description {
    font-size: var(--font-size-base);
    color: rgba(255, 255, 255, 0.8);
}

.footer__contact {
    text-align: center;
}

.footer__title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.footer__address {
    font-style: normal;
}

.footer__contact-item {
    margin-bottom: var(--space-sm);
}

.footer__contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer__contact-item a:hover {
    color: var(--color-accent);
}

.footer__bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.footer__copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--font-size-sm);
}

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

.footer__link {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-sm);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer__link:hover {
    color: var(--color-accent);
}

@media (min-width: 768px) {
    .footer__content {
        grid-template-columns: 2fr 1fr;
        text-align: left;
    }
    
    .footer__brand {
        text-align: left;
    }
    
    .footer__contact {
        text-align: left;
    }
    
    .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ========================================
   RESPONSIVE DESIGN ENHANCEMENTS
   ======================================== */

/* Medium screens */
@media (min-width: 768px) {
    :root {
        --space-section: var(--space-6xl);
    }
    
    .container {
        padding: 0 var(--space-2xl);
    }
}

/* Large screens */
@media (min-width: 1024px) {
    .container {
        padding: 0 var(--space-3xl);
    }
}

/* Extra large screens */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
}

/* ========================================
   ACCESSIBILITY ENHANCEMENTS
   ======================================== */

/* Focus styles */
*:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .floating-element {
        animation: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --color-primary: #1a4a28;
        --color-primary-light: #2d6e3e;
        --color-text-primary: #000000;
        --color-text-secondary: #333333;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    .header,
    .footer,
    .hero__visual,
    .floating-element {
        display: none;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .hero {
        padding: var(--space-lg) 0;
    }
    
    .services,
    .why-choose-us,
    .contact {
        padding: var(--space-lg) 0;
    }
    
    .btn {
        border: 1px solid black;
        background: transparent;
        color: black;
    }
    
    .contact {
        background: transparent;
        color: black;
    }
    
    .section-title--white,
    .section-subtitle--white {
        color: black !important;
    }
}

/* ========================================
   PERFORMANCE OPTIMIZATIONS
   ======================================== */

/* GPU acceleration for animations */
.floating-element,
.service-card,
.btn,
.contact-item,
.stat-item {
    will-change: transform;
}

/* Contain layout shifts */
.nav__logo,
.footer__logo {
    contain: layout style;
}

/* ========================================
   BROWSER COMPATIBILITY
   ======================================== */

/* Fallbacks for older browsers */
.hero {
    background: var(--color-off-white); /* Fallback */
    background: linear-gradient(135deg, var(--color-off-white) 0%, var(--color-white) 100%);
}

.contact {
    background: var(--color-primary); /* Fallback */
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
}

/* Grid fallbacks */
@supports not (display: grid) {
    .services__grid {
        display: flex;
        flex-wrap: wrap;
    }
    
    .service-card {
        flex: 1 1 300px;
        margin: var(--space-md);
    }
    
    .why-choose-us__content {
        display: block;
    }
    
    .contact__content {
        display: block;
    }
}

/* Flexbox fallbacks for older IE */
@supports not (display: flex) {
    .nav {
        display: table;
        width: 100%;
    }
    
    .nav__brand,
    .nav__contact {
        display: table-cell;
        vertical-align: middle;
    }
    
    .nav__contact {
        text-align: right;
    }
}

/* ========================================
   JAVASCRIPT INTERACTIVE STYLES
   ======================================== */

/* Loading States */
.loading {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.loaded {
    opacity: 1;
}

body.loading {
    overflow: hidden;
}

body.loaded {
    overflow: visible;
}

/* Mobile Navigation */
.nav__mobile-toggle {
    display: none;
    background: none;
    border: none;
    padding: var(--space-sm);
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.hamburger {
    display: flex;
    flex-direction: column;
    width: 24px;
    height: 18px;
    justify-content: space-between;
}

.hamburger__line {
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    transition: all 0.3s ease;
    border-radius: 1px;
}

.nav__mobile-toggle.active .hamburger__line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav__mobile-toggle.active .hamburger__line:nth-child(2) {
    opacity: 0;
}

.nav__mobile-toggle.active .hamburger__line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav__mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
    transition: left 0.3s ease;
    z-index: 1000;
    padding: var(--space-4xl) var(--space-xl) var(--space-xl);
}

.nav__mobile-menu.active {
    left: 0;
}

.mobile-nav__list {
    list-style: none;
    margin-bottom: var(--space-2xl);
}

.mobile-nav__list li {
    margin-bottom: var(--space-lg);
}

.mobile-nav__link {
    display: block;
    color: var(--color-text-primary);
    text-decoration: none;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    padding: var(--space-sm) 0;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
}

.mobile-nav__link:hover,
.mobile-nav__link:focus {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.mobile-nav__phone {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-primary);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-lg);
    padding: var(--space-md);
    background: var(--color-off-white);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-nav__phone:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Navigation overlay for mobile */
body.nav-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Sticky Header */
.header--sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
    z-index: 100;
}

.header--hidden {
    transform: translateY(-100%);
}

/* Contact Form Styles */
.contact-form {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    margin-top: var(--space-2xl);
}

.contact-form__title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-xl);
    text-align: center;
}

.form__group {
    margin-bottom: var(--space-lg);
}

.form__label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-primary);
}

.form__input,
.form__textarea {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-size: var(--font-size-base);
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--color-white);
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(45, 110, 62, 0.1);
}

.form__input.error,
.form__textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.field-error {
    color: #dc3545;
    font-size: var(--font-size-sm);
    margin-top: var(--space-xs);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.field-error.active {
    opacity: 1;
    transform: translateY(0);
}

.form__submit {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.form__submit.loading {
    color: transparent;
}

.form__submit.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top-color: var(--color-white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.form__feedback {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    border-radius: 8px;
    font-weight: var(--font-weight-medium);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.form__feedback--success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    opacity: 1;
    transform: translateY(0);
}

.form__feedback--error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.fade-in-up.animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-left.animate-in {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.fade-in-right.animate-in {
    animation: fadeInRight 0.8s ease-out forwards;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Interactive Effects */
.service-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

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

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: rippleEffect 0.6s linear;
    pointer-events: none;
}

.click-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    transform: scale(0);
    animation: clickRipple 0.8s ease-out;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes clickRipple {
    to {
        transform: scale(3);
        opacity: 0;
    }
}

/* Click-to-Call Effects */
.phone-hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

.call-feedback {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-success);
    color: var(--color-white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 4px;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    animation: callFeedback 2s ease-out;
    pointer-events: none;
}

@keyframes callFeedback {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    20%, 80% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Floating Elements Animation */
.floating-element {
    animation: float 6s ease-in-out infinite;
}

.floating-element--1 {
    animation-delay: 0s;
}

.floating-element--2 {
    animation-delay: 2s;
}

.floating-element--3 {
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-10px) rotate(2deg);
    }
    66% {
        transform: translateY(5px) rotate(-2deg);
    }
}

/* Accessibility Enhancements */
.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;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
}

/* Keyboard Navigation */
body.keyboard-nav *:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Responsive Styles for JavaScript Features */
@media (max-width: 767px) {
    .nav__mobile-toggle {
        display: block;
    }
    
    .nav__contact {
        display: none;
    }
    
    .contact-form {
        padding: var(--space-xl);
        margin: var(--space-lg) 0;
    }
}

@media (max-width: 480px) {
    .nav__mobile-menu {
        width: 100%;
        left: -100%;
    }
    
    .nav__mobile-menu.active {
        left: 0;
    }
    
    .contact-form {
        padding: var(--space-lg);
    }
    
    .form__submit {
        padding: var(--space-md);
        font-size: var(--font-size-base);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll,
    .service-card,
    .btn,
    .floating-element {
        animation: none;
        transition: none;
    }
    
    .header--sticky {
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}