/* ========================================
   CSS RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* ========================================
       ABIGAIL BUILDS BRAND COLORS
       ======================================== */
    
    /* Primary Colors */
    --color-primary: #0F5F5C;           /* Deep Teal - Main brand color */
    --color-secondary: #b3e2da;         /* Tech Mint - Supporting color */
    --color-accent: #d97c32;            /* Apricot Pro - Accent/CTA color */
    --color-background: #FAF9F6;        /* Off-White - Main background */
    
    /* Deep Teal Variations */
    --color-teal-lighter-2: #1A8A84;    /* +40% lighter */
    --color-teal-lighter-1: #137470;    /* +20% lighter */
    --color-teal-base: #0F5F5C;         /* Base Deep Teal */
    --color-teal-darker-1: #0a4441;     /* -20% darker */
    --color-teal-darker-2: #072f2d;     /* -40% darker */
    
    /* Tech Mint Variations */
    --color-mint-lighter-2: #FFFFFF;    /* +40% lighter (white) */
    --color-mint-lighter-1: #EFF9F7;    /* +20% lighter */
    --color-mint-base: #b3e2da;         /* Base Tech Mint */
    --color-mint-darker-1: #B3E5DB;     /* -20% darker */
    --color-mint-darker-2: #8DD7C8;     /* -40% darker */
    
    /* Apricot Pro Variations */
    --color-apricot-lighter-2: #FDD4A8; /* +40% lighter */
    --color-apricot-lighter-1: #F8BB81; /* +20% lighter */
    --color-apricot-base: #d97c32;      /* Base Apricot Pro */
    --color-apricot-darker-1: #E6803F;  /* -20% darker */
    --color-apricot-darker-2: #D85F25;  /* -40% darker */
    
    /* Semantic Color Aliases for easier use */
    --color-primary-hover: var(--color-teal-darker-1);
    --color-primary-active: var(--color-teal-darker-2);
    --color-primary-dark: var(--color-teal-darker-1);  /* Fix missing primary-dark */
    --color-accent-hover: var(--color-apricot-darker-1);
    --color-accent-active: var(--color-apricot-darker-2);
    
    /* Text Colors */
    --color-text: #1f2937;              /* Dark gray for main text */
    --color-text-light: #6b7280;        /* Lighter gray for secondary text */
    --color-text-muted: #9ca3af;        /* Muted gray for less important text */
    --color-text-on-dark: #ffffff;      /* White text for dark backgrounds */
    --color-text-on-accent: #ffffff;    /* White text for accent backgrounds */
    
    /* Background Colors */
    --color-background-alt: var(--color-mint-lighter-2); /* White alternative */
    --color-background-card: var(--color-mint-lighter-2); /* Card backgrounds */
    --color-background-section: var(--color-mint-lighter-1); /* Section backgrounds */
    
    /* Border & Divider Colors */
    --color-border: var(--color-secondary);
    --color-border-light: var(--color-mint-lighter-1);
    --color-border-muted: #e5e7eb;
    
    /* State Colors */
    --color-success: var(--color-teal-base);
    --color-warning: var(--color-accent);
    --color-error: #dc2626;             /* Red for errors */
    --color-info: var(--color-teal-lighter-1);
    
    /* Opacity-based Color Variations */
    --color-primary-10: rgba(15, 95, 92, 0.1);
    --color-primary-15: rgba(15, 95, 92, 0.15);
    --color-primary-20: rgba(15, 95, 92, 0.2);
    --color-secondary-30: rgba(179, 226, 218, 0.3);
    --color-accent-30: rgba(217, 124, 50, 0.3);
    --color-background-95: rgba(250, 249, 246, 0.95);
    --color-white-10: rgba(255, 255, 255, 0.1);
    --color-white-50: rgba(255, 255, 255, 0.5);
    --color-white-60: rgba(255, 255, 255, 0.6);
    --color-white-80: rgba(255, 255, 255, 0.8);
    --color-black-10: rgba(0, 0, 0, 0.1);
    
    /* Shadow Colors */
    --shadow-primary: 0 10px 30px var(--color-primary-10);
    --shadow-primary-strong: 0 10px 30px var(--color-primary-15);
    --shadow-card: 0 10px 30px var(--color-black-10);
    --shadow-accent: 0 4px 12px var(--color-accent-30);
    --shadow-focus: 0 0 0 3px var(--color-primary-10);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-2xl: 8rem;
    
    /* Layout */
    --container-width: 1200px;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    
    /* Transitions */
    --transition-speed: 0.3s;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: var(--line-height-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    text-align: center;
    color: var(--color-text);
}

.section-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: sticky;
    top: 0;
    background-color: var(--color-background-95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-secondary);
    padding: var(--spacing-sm) 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-speed);
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: opacity var(--transition-speed);
}

.logo:hover .logo-img {
    opacity: 0.8;
}

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

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-speed);
}

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

.nav-cta {
    padding: 0.5rem 1.25rem;
    background-color: var(--color-primary);
    color: white !important;
    border-radius: var(--border-radius);
    transition: background-color var(--transition-speed);
}

.nav-cta:hover {
    background-color: var(--color-primary-dark) !important;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: all var(--transition-speed);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    padding: var(--spacing-2xl) 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Particle Effect */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
}

.hero-subheadline {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    flex-wrap: wrap;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-icon {
    width: 100%;
    max-width: 450px;
    height: auto;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px var(--color-primary-15));
}

.hero-shape {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--color-primary-10) 0%, var(--color-secondary-30) 100%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

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

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 95, 92, 0.2);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-text {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-speed);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-text:hover {
    color: var(--color-primary-dark);
    gap: 0.75rem;
}

/* ========================================
   TRUST STRIP
   ======================================== */
.trust-strip {
    background: linear-gradient(to bottom, var(--color-background), var(--color-secondary));
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.trust-strip .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.trust-strip > .container > div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.trust-label {
    font-weight: 600;
    color: var(--color-text-light);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.trust-item {
    font-weight: 600;
    color: var(--color-text);
}

.trust-separator {
    color: var(--color-text-light);
}

.trust-subtext {
    font-size: 0.875rem;
    color: var(--color-text-light);
    text-align: center;
    max-width: 600px;
    font-style: italic;
    margin-top: var(--spacing-xs);
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
    padding: var(--spacing-2xl) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    padding: var(--spacing-lg);
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-speed);
}

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

.service-icon {
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.service-card:hover .service-icon {
    color: var(--color-accent);
    transform: scale(1.1);
    transition: all var(--transition-speed);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.service-card p {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ========================================
   PRACTICE AREAS SECTION
   ======================================== */
.practice-areas {
    padding: var(--spacing-2xl) 0;
    background-color: var(--color-background-section);
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.practice-card {
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    text-align: center;
}

.practice-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-primary);
    border-color: var(--color-primary);
}

.practice-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

.practice-card p {
    color: var(--color-text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ========================================
   WHY SECTION
   ======================================== */
.why-section {
    padding: var(--spacing-2xl) 0;
    background-color: var(--color-background-alt);
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg) 0;
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    background: linear-gradient(135deg, var(--color-secondary) 0%, rgba(217, 243, 238, 0.3) 100%);
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(15, 95, 92, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

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

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.why-left p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text);
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.benefits-list li {
    padding-left: var(--spacing-md);
    position: relative;
    color: var(--color-text);
    font-weight: 500;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 1.2em;
}

/* ========================================
   PROJECTS SECTION
   ======================================== */
.projects {
    padding: var(--spacing-2xl) 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.project-card {
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    transition: all var(--transition-speed);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--color-primary);
}

.project-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.project-description {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-sm);
}

.project-result {
    color: var(--color-text);
    font-size: 0.875rem;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--color-border);
}

.project-result strong {
    color: var(--color-accent);
    font-weight: 600;
}

/* ========================================
   PROCESS SECTION
   ======================================== */
.process {
    padding: var(--spacing-2xl) 0;
    background-color: var(--color-background-alt);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.process-step {
    text-align: center;
    padding: var(--spacing-lg);
    position: relative;
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent);
    opacity: 0.3;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.step-icon {
    color: var(--color-primary);
    margin: var(--spacing-md) 0;
    display: flex;
    justify-content: center;
}

.process-step h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.process-step p {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ========================================
   TECH STACK SECTION
   ======================================== */
.tech-stack {
    padding: var(--spacing-2xl) 0;
}

.tech-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.tech-item {
    font-weight: 500;
    color: var(--color-text);
    padding: 0.5rem 1rem;
    background-color: var(--color-background-alt);
    border-radius: var(--border-radius);
    transition: all var(--transition-speed);
}

.tech-item:hover {
    background-color: var(--color-accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.tech-separator {
    color: var(--color-text-light);
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
    padding: var(--spacing-2xl) 0;
    background-color: var(--color-background-alt);
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: var(--spacing-lg);
}

.testimonial-quote {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--color-text);
    font-style: italic;
    margin-bottom: var(--spacing-md);
}

.testimonial-author {
    color: var(--color-text-light);
    font-weight: 500;
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */
.final-cta {
    padding: var(--spacing-2xl) 0;
    text-align: center;
    background-color: var(--color-background-alt);
}

.cta-headline {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text);
}

/* Form Styles */
input[type="text"],
input[type="email"],
textarea {
    transition: border-color var(--transition-speed);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(15, 95, 92, 0.1);
}

input[type="text"]:invalid:not(:placeholder-shown),
input[type="email"]:invalid:not(:placeholder-shown) {
    border-color: var(--color-error);
}

label {
    cursor: pointer;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    align-items: center;
}

.footer-left {
    display: flex;
    justify-content: flex-start;
}

.footer-center {
    display: flex;
    justify-content: center;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    align-items: flex-end;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-logo-img {
    height: 4rem;
    width: auto;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-links a:hover {
    color: white;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-email,
.footer-social {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-email:hover,
.footer-social:hover {
    color: white;
}

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

/* ========================================
   DYNAMIC EFFECTS & ANIMATIONS
   ======================================== */

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    z-index: 10000;
    transition: width 0.1s ease;
}

/* Enhanced Card Transitions */
.service-card,
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
    will-change: transform;
}

.service-card:hover,
.project-card:hover {
    box-shadow: 0 20px 40px rgba(15, 95, 92, 0.15);
}

/* Hero Icon Animation */
.hero-icon {
    transition: transform 0.1s ease;
    will-change: transform;
    animation: float 6s ease-in-out infinite;
}

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

/* Process Steps Entrance */
.process-step {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.process-step:nth-child(1) {
    transition-delay: 0.1s;
}

.process-step:nth-child(2) {
    transition-delay: 0.2s;
}

.process-step:nth-child(3) {
    transition-delay: 0.3s;
}

/* Button Ripple Effect */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Gradient Background Effect */
:root {
    --gradient-hue: 175;
}

body {
    background: linear-gradient(
        to bottom,
        var(--color-background) 0%,
        hsl(var(--gradient-hue), 30%, 97%) 50%,
        var(--color-background) 100%
    );
    transition: background 0.3s ease;
}

/* Section Reveal Animation */
section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

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

section:nth-child(1) { animation-delay: 0s; }
section:nth-child(2) { animation-delay: 0.1s; }
section:nth-child(3) { animation-delay: 0.2s; }
section:nth-child(4) { animation-delay: 0.3s; }
section:nth-child(5) { animation-delay: 0.4s; }
section:nth-child(6) { animation-delay: 0.5s; }
section:nth-child(7) { animation-delay: 0.6s; }
section:nth-child(8) { animation-delay: 0.7s; }

/* Service Icon Pulse on Hover */
.service-icon svg {
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-icon svg {
    transform: scale(1.1);
    color: var(--color-accent);
}

/* Smooth Background Transitions */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Loading State */
body.loaded section {
    animation-play-state: running;
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .custom-cursor {
        display: none !important;
    }
    
    .hero-icon {
        animation: none !important;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 73px;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 73px);
        background-color: var(--color-background-alt);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-md);
        gap: var(--spacing-sm);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-right {
        display: none;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-md);
    }
    
    .footer-left,
    .footer-center,
    .footer-right {
        justify-content: center;
        align-items: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-right {
        align-items: center;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
        --spacing-2xl: 5rem;
    }
    
    .hero {
        padding: var(--spacing-xl) 0;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   FORM STYLES
   ======================================== */
input[type="text"],
input[type="email"],
textarea {
    transition: border-color var(--transition-speed);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(15, 95, 92, 0.1);
}

input[type="text"]:invalid:not(:placeholder-shown),
input[type="email"]:invalid:not(:placeholder-shown) {
    border-color: var(--color-error);
}

label {
    cursor: pointer;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    align-items: center;
}

.footer-left {
    display: flex;
    justify-content: flex-start;
}

.footer-center {
    display: flex;
    justify-content: center;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    align-items: flex-end;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-logo-img {
    height: 4rem;
    width: auto;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-links a:hover {
    color: white;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-email,
.footer-social {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-email:hover,
.footer-social:hover {
    color: white;
}

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

/* ========================================
   DYNAMIC EFFECTS & ANIMATIONS
   ======================================== */

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    z-index: 10000;
    transition: width 0.1s ease;
}

/* Enhanced Card Transitions */
.service-card,
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
    will-change: transform;
}

.service-card:hover,
.project-card:hover {
    box-shadow: 0 20px 40px rgba(15, 95, 92, 0.15);
}

/* Hero Icon Animation */
.hero-icon {
    transition: transform 0.1s ease;
    will-change: transform;
    animation: float 6s ease-in-out infinite;
}

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

/* Process Steps Entrance */
.process-step {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.process-step:nth-child(1) {
    transition-delay: 0.1s;
}

.process-step:nth-child(2) {
    transition-delay: 0.2s;
}

.process-step:nth-child(3) {
    transition-delay: 0.3s;
}

/* Button Ripple Effect */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Gradient Background Effect */
:root {
    --gradient-hue: 175;
}

body {
    background: linear-gradient(
        to bottom,
        var(--color-background) 0%,
        hsl(var(--gradient-hue), 30%, 97%) 50%,
        var(--color-background) 100%
    );
    transition: background 0.3s ease;
}

/* Section Reveal Animation */
section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

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

section:nth-child(1) { animation-delay: 0s; }
section:nth-child(2) { animation-delay: 0.1s; }
section:nth-child(3) { animation-delay: 0.2s; }
section:nth-child(4) { animation-delay: 0.3s; }
section:nth-child(5) { animation-delay: 0.4s; }
section:nth-child(6) { animation-delay: 0.5s; }
section:nth-child(7) { animation-delay: 0.6s; }
section:nth-child(8) { animation-delay: 0.7s; }

/* Service Icon Pulse on Hover */
.service-icon svg {
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-icon svg {
    transform: scale(1.1);
    color: var(--color-accent);
}

/* Smooth Background Transitions */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Loading State */
body.loaded section {
    animation-play-state: running;
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .custom-cursor {
        display: none !important;
    }
    
    .hero-icon {
        animation: none !important;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 73px;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 73px);
        background-color: var(--color-background-alt);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-md);
        gap: var(--spacing-sm);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-right {
        display: none;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-md);
    }
    
    .footer-left,
    .footer-center,
    .footer-right {
        justify-content: center;
        align-items: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-right {
        align-items: center;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
        --spacing-2xl: 5rem;
    }
    
    .hero {
        padding: var(--spacing-xl) 0;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   FORM STYLES
   ======================================== */
input[type="text"],
input[type="email"],
textarea {
    transition: border-color var(--transition-speed);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(15, 95, 92, 0.1);
}

input[type="text"]:invalid:not(:placeholder-shown),
input[type="email"]:invalid:not(:placeholder-shown) {
    border-color: var(--color-error);
}

label {
    cursor: pointer;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    align-items: center;
}

.footer-left {
    display: flex;
    justify-content: flex-start;
}

.footer-center {
    display: flex;
    justify-content: center;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    align-items: flex-end;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-logo-img {
    height: 4rem;
    width: auto;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-links a:hover {
    color: white;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-email,
.footer-social {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-email:hover,
.footer-social:hover {
    color: white;
}

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

/* ========================================
   DYNAMIC EFFECTS & ANIMATIONS
   ======================================== */

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    z-index: 10000;
    transition: width 0.1s ease;
}

/* Enhanced Card Transitions */
.service-card,
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
    will-change: transform;
}

.service-card:hover,
.project-card:hover {
    box-shadow: 0 20px 40px rgba(15, 95, 92, 0.15);
}

/* Hero Icon Animation */
.hero-icon {
    transition: transform 0.1s ease;
    will-change: transform;
    animation: float 6s ease-in-out infinite;
}

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

/* Process Steps Entrance */
.process-step {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.process-step:nth-child(1) {
    transition-delay: 0.1s;
}

.process-step:nth-child(2) {
    transition-delay: 0.2s;
}

.process-step:nth-child(3) {
    transition-delay: 0.3s;
}

/* Button Ripple Effect */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Gradient Background Effect */
:root {
    --gradient-hue: 175;
}

body {
    background: linear-gradient(
        to bottom,
        var(--color-background) 0%,
        hsl(var(--gradient-hue), 30%, 97%) 50%,
        var(--color-background) 100%
    );
    transition: background 0.3s ease;
}

/* Section Reveal Animation */
section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

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

section:nth-child(1) { animation-delay: 0s; }
section:nth-child(2) { animation-delay: 0.1s; }
section:nth-child(3) { animation-delay: 0.2s; }
section:nth-child(4) { animation-delay: 0.3s; }
section:nth-child(5) { animation-delay: 0.4s; }
section:nth-child(6) { animation-delay: 0.5s; }
section:nth-child(7) { animation-delay: 0.6s; }
section:nth-child(8) { animation-delay: 0.7s; }

/* Service Icon Pulse on Hover */
.service-icon svg {
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-icon svg {
    transform: scale(1.1);
    color: var(--color-accent);
}

/* Smooth Background Transitions */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Loading State */
body.loaded section {
    animation-play-state: running;
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .custom-cursor {
        display: none !important;
    }
    
    .hero-icon {
        animation: none !important;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 73px;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 73px);
        background-color: var(--color-background-alt);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-md);
        gap: var(--spacing-sm);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-right {
        display: none;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-md);
    }
    
    .footer-left,
    .footer-center,
    .footer-right {
        justify-content: center;
        align-items: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-right {
        align-items: center;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
        --spacing-2xl: 5rem;
    }
    
    .hero {
        padding: var(--spacing-xl) 0;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   FORM STYLES
   ======================================== */
input[type="text"],
input[type="email"],
textarea {
    transition: border-color var(--transition-speed);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(15, 95, 92, 0.1);
}

input[type="text"]:invalid:not(:placeholder-shown),
input[type="email"]:invalid:not(:placeholder-shown) {
    border-color: var(--color-error);
}

label {
    cursor: pointer;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    align-items: center;
}

.footer-left {
    display: flex;
    justify-content: flex-start;
}

.footer-center {
    display: flex;
    justify-content: center;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    align-items: flex-end;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-logo-img {
    height: 4rem;
    width: auto;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-links a:hover {
    color: white;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-email,
.footer-social {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-email:hover,
.footer-social:hover {
    color: white;
}

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

/* ========================================
   DYNAMIC EFFECTS & ANIMATIONS
   ======================================== */

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    z-index: 10000;
    transition: width 0.1s ease;
}

/* Enhanced Card Transitions */
.service-card,
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
    will-change: transform;
}

.service-card:hover,
.project-card:hover {
    box-shadow: 0 20px 40px rgba(15, 95, 92, 0.15);
}

/* Hero Icon Animation */
.hero-icon {
    transition: transform 0.1s ease;
    will-change: transform;
    animation: float 6s ease-in-out infinite;
}

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

/* Process Steps Entrance */
.process-step {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.process-step:nth-child(1) {
    transition-delay: 0.1s;
}

.process-step:nth-child(2) {
    transition-delay: 0.2s;
}

.process-step:nth-child(3) {
    transition-delay: 0.3s;
}

/* Button Ripple Effect */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Gradient Background Effect */
:root {
    --gradient-hue: 175;
}

body {
    background: linear-gradient(
        to bottom,
        var(--color-background) 0%,
        hsl(var(--gradient-hue), 30%, 97%) 50%,
        var(--color-background) 100%
    );
    transition: background 0.3s ease;
}

/* Section Reveal Animation */
section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

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

section:nth-child(1) { animation-delay: 0s; }
section:nth-child(2) { animation-delay: 0.1s; }
section:nth-child(3) { animation-delay: 0.2s; }
section:nth-child(4) { animation-delay: 0.3s; }
section:nth-child(5) { animation-delay: 0.4s; }
section:nth-child(6) { animation-delay: 0.5s; }
section:nth-child(7) { animation-delay: 0.6s; }
section:nth-child(8) { animation-delay: 0.7s; }

/* Service Icon Pulse on Hover */
.service-icon svg {
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-icon svg {
    transform: scale(1.1);
    color: var(--color-accent);
}

/* Smooth Background Transitions */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Loading State */
body.loaded section {
    animation-play-state: running;
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .custom-cursor {
        display: none !important;
    }
    
    .hero-icon {
        animation: none !important;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 73px;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 73px);
        background-color: var(--color-background-alt);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-md);
        gap: var(--spacing-sm);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-right {
        display: none;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-md);
    }
    
    .footer-left,
    .footer-center,
    .footer-right {
        justify-content: center;
        align-items: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-right {
        align-items: center;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
        --spacing-2xl: 5rem;
    }
    
    .hero {
        padding: var(--spacing-xl) 0;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   FORM STYLES
   ======================================== */
input[type="text"],
input[type="email"],
textarea {
    transition: border-color var(--transition-speed);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(15, 95, 92, 0.1);
}

input[type="text"]:invalid:not(:placeholder-shown),
input[type="email"]:invalid:not(:placeholder-shown) {
    border-color: var(--color-error);
}

label {
    cursor: pointer;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    align-items: center;
}

.footer-left {
    display: flex;
    justify-content: flex-start;
}

.footer-center {
    display: flex;
    justify-content: center;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    align-items: flex-end;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-logo-img {
    height: 4rem;
    width: auto;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-links a:hover {
    color: white;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-email,
.footer-social {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-email:hover,
.footer-social:hover {
    color: white;
}

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

/* ========================================
   DYNAMIC EFFECTS & ANIMATIONS
   ======================================== */

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    z-index: 10000;
    transition: width 0.1s ease;
}

/* Enhanced Card Transitions */
.service-card,
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
    will-change: transform;
}

.service-card:hover,
.project-card:hover {
    box-shadow: 0 20px 40px rgba(15, 95, 92, 0.15);
}

/* Hero Icon Animation */
.hero-icon {
    transition: transform 0.1s ease;
    will-change: transform;
    animation: float 6s ease-in-out infinite;
}

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

/* Process Steps Entrance */
.process-step {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.process-step:nth-child(1) {
    transition-delay: 0.1s;
}

.process-step:nth-child(2) {
    transition-delay: 0.2s;
}

.process-step:nth-child(3) {
    transition-delay: 0.3s;
}

/* Button Ripple Effect */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Gradient Background Effect */
:root {
    --gradient-hue: 175;
}

body {
    background: linear-gradient(
        to bottom,
        var(--color-background) 0%,
        hsl(var(--gradient-hue), 30%, 97%) 50%,
        var(--color-background) 100%
    );
    transition: background 0.3s ease;
}

/* Section Reveal Animation */
section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

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

section:nth-child(1) { animation-delay: 0s; }
section:nth-child(2) { animation-delay: 0.1s; }
section:nth-child(3) { animation-delay: 0.2s; }
section:nth-child(4) { animation-delay: 0.3s; }
section:nth-child(5) { animation-delay: 0.4s; }
section:nth-child(6) { animation-delay: 0.5s; }
section:nth-child(7) { animation-delay: 0.6s; }
section:nth-child(8) { animation-delay: 0.7s; }

/* Service Icon Pulse on Hover */
.service-icon svg {
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-icon svg {
    transform: scale(1.1);
    color: var(--color-accent);
}

/* Smooth Background Transitions */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Loading State */
body.loaded section {
    animation-play-state: running;
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .custom-cursor {
        display: none !important;
    }
    
    .hero-icon {
        animation: none !important;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 73px;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 73px);
        background-color: var(--color-background-alt);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-md);
        gap: var(--spacing-sm);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-right {
        display: none;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-md);
    }
    
    .footer-left,
    .footer-center,
    .footer-right {
        justify-content: center;
        align-items: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-right {
        align-items: center;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
        --spacing-2xl: 5rem;
    }
    
    .hero {
        padding: var(--spacing-xl) 0;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   FORM STYLES
   ======================================== */
input[type="text"],
input[type="email"],
textarea {
    transition: border-color var(--transition-speed);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(15, 95, 92, 0.1);
}

input[type="text"]:invalid:not(:placeholder-shown),
input[type="email"]:invalid:not(:placeholder-shown) {
    border-color: var(--color-error);
}

label {
    cursor: pointer;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    align-items: center;
}

.footer-left {
    display: flex;
    justify-content: flex-start;
}

.footer-center {
    display: flex;
    justify-content: center;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    align-items: flex-end;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-logo-img {
    height: 4rem;
    width: auto;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-links a:hover {
    color: white;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-email,
.footer-social {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-email:hover,
.footer-social:hover {
    color: white;
}

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

/* ========================================
   DYNAMIC EFFECTS & ANIMATIONS
   ======================================== */

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    z-index: 10000;
    transition: width 0.1s ease;
}

/* Enhanced Card Transitions */
.service-card,
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
    will-change: transform;
}

.service-card:hover,
.project-card:hover {
    box-shadow: 0 20px 40px rgba(15, 95, 92, 0.15);
}

/* Hero Icon Animation */
.hero-icon {
    transition: transform 0.1s ease;
    will-change: transform;
    animation: float 6s ease-in-out infinite;
}

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

/* Process Steps Entrance */
.process-step {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.process-step:nth-child(1) {
    transition-delay: 0.1s;
}

.process-step:nth-child(2) {
    transition-delay: 0.2s;
}

.process-step:nth-child(3) {
    transition-delay: 0.3s;
}

/* Button Ripple Effect */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Gradient Background Effect */
:root {
    --gradient-hue: 175;
}

body {
    background: linear-gradient(
        to bottom,
        var(--color-background) 0%,
        hsl(var(--gradient-hue), 30%, 97%) 50%,
        var(--color-background) 100%
    );
    transition: background 0.3s ease;
}

/* Section Reveal Animation */
section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

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

section:nth-child(1) { animation-delay: 0s; }
section:nth-child(2) { animation-delay: 0.1s; }
section:nth-child(3) { animation-delay: 0.2s; }
section:nth-child(4) { animation-delay: 0.3s; }
section:nth-child(5) { animation-delay: 0.4s; }
section:nth-child(6) { animation-delay: 0.5s; }
section:nth-child(7) { animation-delay: 0.6s; }
section:nth-child(8) { animation-delay: 0.7s; }

/* Service Icon Pulse on Hover */
.service-icon svg {
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-icon svg {
    transform: scale(1.1);
    color: var(--color-accent);
}

/* Smooth Background Transitions */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Loading State */
body.loaded section {
    animation-play-state: running;
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .custom-cursor {
        display: none !important;
    }
    
    .hero-icon {
        animation: none !important;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 73px;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 73px);
        background-color: var(--color-background-alt);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-md);
        gap: var(--spacing-sm);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-right {
        display: none;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-md);
    }
    
    .footer-left,
    .footer-center,
    .footer-right {
        justify-content: center;
        align-items: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-right {
        align-items: center;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
        --spacing-2xl: 5rem;
    }
    
    .hero {
        padding: var(--spacing-xl) 0;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}
