/* Enhanced Professional CSS for Foxborough Homes LLC */

/* CSS Custom Properties for Design System */
:root {
    /* Enhanced Color Palette */
    --color-primary: #1e3a8a;        /* Deep Navy */
    --color-primary-light: #1e40af;
    --color-primary-dark: #1e3a8a;
    
    --color-secondary: #f97316;      /* Warm Orange */
    --color-secondary-light: #fb923c;
    --color-secondary-dark: #ea580c;
    
    --color-accent: #14b8a6;         /* Light Blue */
    --color-accent-light: #2dd4bf;
    --color-accent-dark: #3182ce;
    
    --color-success: #38a169;        /* Forest Green */
    --color-warning: #d69e2e;
    --color-error: #e53e3e;
    
    /* Neutral Colors */
    --color-white: #ffffff;
    --color-gray-50: #f7fafc;
    --color-gray-100: #edf2f7;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e0;
    --color-gray-400: #a0aec0;
    --color-gray-500: #718096;
    --color-gray-600: #4a5568;
    --color-gray-700: #2d3748;
    --color-gray-800: #1a202c;
    --color-gray-900: #171923;
    
    /* Typography Scale */
    --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 */
    
    /* Spacing Scale */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-20: 5rem;     /* 80px */
    --space-24: 6rem;     /* 96px */
    
    /* Border Radius */
    --radius-sm: 0.375rem;   /* 6px */
    --radius-md: 0.5rem;     /* 8px */
    --radius-lg: 0.75rem;    /* 12px */
    --radius-xl: 1rem;       /* 16px */
    --radius-2xl: 1.5rem;    /* 24px */
    
    /* 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);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--color-gray-700);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: var(--space-4);
    letter-spacing: -0.025em;
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
    margin-bottom: var(--space-4);
    color: var(--color-gray-600);
    font-size: var(--font-size-base);
}

.text-large {
    font-size: var(--font-size-lg);
    line-height: 1.7;
}

/* Enhanced Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-gray-100);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

.nav-link {
    position: relative;
    font-weight: 500;
    color: var(--color-gray-700);
    text-decoration: none;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-secondary);
    background-color: var(--color-gray-50);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

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

/* Enhanced Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-6);
    font-weight: 600;
    font-size: var(--font-size-base);
    line-height: 1;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.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%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--color-secondary-light), var(--color-secondary));
}

.btn-secondary {
    background: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
}

.btn-secondary:hover {
    background: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-lg);
    border-radius: var(--radius-xl);
}

/* Enhanced Cards */
.card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-100);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-gray-200);
}

.card-elevated {
    box-shadow: var(--shadow-lg);
}

.card-elevated:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-2xl);
}

/* Stunning Enhanced Hero Section */
.hero-section-enhanced {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

/* Dynamic Background Layers */
.hero-bg-layer-1 {
    background: radial-gradient(circle at 25% 25%, rgba(99, 179, 237, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(245, 101, 0, 0.1) 0%, transparent 50%);
    animation: backgroundFloat 20s ease-in-out infinite;
}

.hero-bg-layer-2 {
    background: linear-gradient(45deg, 
                rgba(26, 54, 93, 0.03) 0%, 
                transparent 25%, 
                rgba(99, 179, 237, 0.05) 50%, 
                transparent 75%, 
                rgba(245, 101, 0, 0.03) 100%);
    animation: backgroundShift 25s ease-in-out infinite reverse;
}

.hero-bg-layer-3 {
    background: conic-gradient(from 0deg at 50% 50%, 
                rgba(99, 179, 237, 0.08) 0deg, 
                transparent 90deg, 
                rgba(245, 101, 0, 0.06) 180deg, 
                transparent 270deg, 
                rgba(99, 179, 237, 0.08) 360deg);
    animation: backgroundRotate 30s linear infinite;
}

/* Animated Particles */
.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(99, 179, 237, 0.3);
    border-radius: 50%;
    animation: particleFloat 15s ease-in-out infinite;
}

.hero-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero-particles::after {
    top: 60%;
    right: 15%;
    animation-delay: 7s;
    background: rgba(245, 101, 0, 0.3);
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: floatingShapes 20s ease-in-out infinite;
}

.floating-shape-1 {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #14b8a6, #2dd4bf);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-shape-2 {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #f97316, #fb923c);
    top: 70%;
    right: 10%;
    animation-delay: 5s;
}

.floating-shape-3 {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #38a169, #68d391);
    top: 30%;
    right: 20%;
    animation-delay: 10s;
}

.floating-shape-4 {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #1e3a8a, #1e40af);
    bottom: 20%;
    left: 15%;
    animation-delay: 15s;
}

/* Glassmorphism Cards */
.glass-card-hero {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1),
                0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    transition: all 0.3s ease;
}

.glass-card-hero:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.15),
                0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

.glass-card-mini {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Enhanced Typography */
.hero-title {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.text-gradient-enhanced {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 50%, #14b8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

.hero-subtitle {
    font-weight: 400;
    line-height: 1.6;
    color: rgba(45, 55, 72, 0.8);
}

/* Enhanced CTA Buttons */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(245, 101, 0, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -5px rgba(245, 101, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
}

.btn-hero-shine {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    width: 100%;
    height: 100%;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    color: #1e3a8a;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(26, 54, 93, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-hero-secondary:hover {
    transform: translateY(-2px);
    background: rgba(26, 54, 93, 0.05);
    border-color: rgba(26, 54, 93, 0.3);
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.15);
}

/* Property Showcase */
.property-showcase {
    position: relative;
    z-index: 1;
}

.property-image-wrapper {
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: all 0.6s ease;
}

.property-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.property-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    transition: all 0.7s ease;
}

.secondary-property-image {
    transform: perspective(800px) rotateY(10deg) rotateX(-2deg);
    transition: all 0.5s ease;
    z-index: 2;
}

.secondary-property-image:hover {
    transform: perspective(800px) rotateY(5deg) rotateX(0deg) scale(1.05);
}

/* Floating Stats Cards */
.floating-stats-card {
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.floating-stats-1 {
    transform: rotate(-5deg);
}

.floating-stats-2 {
    transform: rotate(3deg);
}

.floating-stats-3 {
    transform: rotate(-2deg);
}

/* Animations */
@keyframes backgroundFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

@keyframes backgroundShift {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(30px); }
}

@keyframes backgroundRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) translateX(0px); opacity: 0.3; }
    25% { transform: translateY(-100px) translateX(50px); opacity: 0.8; }
    50% { transform: translateY(-50px) translateX(-30px); opacity: 0.5; }
    75% { transform: translateY(-150px) translateX(20px); opacity: 0.7; }
}

@keyframes floatingShapes {
    0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    25% { transform: translateY(-30px) translateX(20px) rotate(90deg); }
    50% { transform: translateY(-10px) translateX(-15px) rotate(180deg); }
    75% { transform: translateY(-40px) translateX(10px) rotate(270deg); }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes animate-slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.animate-slide-up {
    animation: animate-slide-up 0.8s ease-out forwards;
}

.animate-float {
    animation: animate-float 3s ease-in-out infinite;
}

/* Scroll Indicator */
.scroll-indicator {
    animation: scrollBounce 2s ease-in-out infinite;
}

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

/* Enhanced Sections */
.section {
    padding: var(--space-20) 0;
}

.section-alt {
    background: linear-gradient(180deg, var(--color-gray-50) 0%, var(--color-white) 100%);
}

/* Enhanced Process Steps */
.process-step {
    position: relative;
    text-align: center;
}

.process-step-number {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin: 0 auto var(--space-6);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 2rem;
    left: calc(100% - 2rem);
    width: calc(100% - 4rem);
    height: 2px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-gray-200));
    z-index: 1;
}

.process-step:last-child::after {
    display: none;
}

/* Enhanced Testimonials */
.testimonial-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-gray-100);
    position: relative;
    transition: all var(--transition-normal);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

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

.testimonial-stars {
    color: var(--color-warning);
    margin-bottom: var(--space-4);
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: var(--space-4);
}

/* Enhanced Forms */
.form-input {
    width: 100%;
    padding: var(--space-4);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    transition: all var(--transition-fast);
    background: var(--color-white);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(245, 101, 0, 0.1);
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--color-gray-700);
    margin-bottom: var(--space-2);
}

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

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

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

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
}

.glass-effect {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Enhanced Mobile Menu */
.mobile-menu {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--color-gray-100);
    transition: all var(--transition-normal);
}

/* Enhanced Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-gray-100);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-secondary), var(--color-secondary-dark));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--color-secondary-light), var(--color-secondary));
}

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

*:focus {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --font-size-5xl: 2.5rem;
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.5rem;
    }
    
    .section {
        padding: var(--space-16) 0;
    }
    
    .btn-large {
        padding: var(--space-3) var(--space-6);
        font-size: var(--font-size-base);
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* Enhanced About Section Styles */
.section-enhanced-about {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    position: relative;
}

.about-bg-pattern {
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(99, 179, 237, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 101, 0, 0.08) 0%, transparent 50%);
}

.about-float-1, .about-float-2, .about-float-3 {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    animation: aboutFloat 25s ease-in-out infinite;
}

.about-float-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #14b8a6, #2dd4bf);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.about-float-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #f97316, #fb923c);
    bottom: 20%;
    left: 5%;
    animation-delay: 8s;
}

.about-float-3 {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #38a169, #68d391);
    top: 60%;
    right: 5%;
    animation-delay: 16s;
}

/* Enhanced Feature Cards */
.feature-card-enhanced {
    position: relative;
    height: 100%;
}

.feature-card-inner {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 32px;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f97316, #14b8a6, #38a169);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.feature-card-enhanced:hover .feature-card-inner::before {
    transform: translateX(0);
}

.feature-card-enhanced:hover .feature-card-inner {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.feature-icon-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.feature-icon-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f97316, #fb923c);
    border-radius: 20px;
    transition: all 0.4s ease;
}

.feature-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    color: white;
    z-index: 1;
}

.feature-card-enhanced:hover .feature-icon-bg {
    transform: rotate(10deg) scale(1.1);
    background: linear-gradient(135deg, #fb923c, #f97316);
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 16px;
    text-align: center;
}

.feature-description {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 24px;
    text-align: center;
}

.feature-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

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

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #f97316;
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Indiana Map Visualization */
.indiana-showcase {
    margin-top: 80px;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.map-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

/* Indiana Map Image */
.indiana-map-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    padding: 20px;
}

.indiana-map-image {
    max-width: 100%;
    max-height: 400px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.1));
}

.indiana-map-image:hover {
    transform: scale(1.05);
}

/* Enhanced Process Section Styles */
.section-enhanced-process {
    padding: 120px 0;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 50%, #cbd5e0 100%);
    position: relative;
}

.process-bg-gradient {
    background: linear-gradient(135deg, 
        rgba(99, 179, 237, 0.1) 0%, 
        rgba(245, 101, 0, 0.05) 50%, 
        rgba(56, 161, 105, 0.08) 100%);
}

.process-shape-1, .process-shape-2, .process-shape-3 {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: processFloat 30s ease-in-out infinite;
}

.process-shape-1 {
    width: 180px;
    height: 180px;
    background: linear-gradient(45deg, #f97316, #fb923c);
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.process-shape-2 {
    width: 140px;
    height: 140px;
    background: linear-gradient(45deg, #14b8a6, #2dd4bf);
    top: 70%;
    right: 15%;
    animation-delay: 10s;
}

.process-shape-3 {
    width: 160px;
    height: 160px;
    background: linear-gradient(45deg, #38a169, #68d391);
    bottom: 10%;
    left: 20%;
    animation-delay: 20s;
}

/* Process Timeline */
.process-timeline {
    margin-bottom: 60px;
}

.timeline-line {
    z-index: 1;
}

.timeline-progress {
    z-index: 2;
    transition: width 1s ease-in-out;
}

/* Process Steps */
.process-step-enhanced {
    position: relative;
    z-index: 3;
}

.step-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 28px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #f97316, #14b8a6);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.process-step-enhanced:hover .step-card::before {
    transform: translateX(0);
}

.process-step-enhanced:hover .step-card {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.2);
}

.step-number-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.step-number-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.step-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    font-weight: 800;
    color: white;
    z-index: 2;
}

.step-pulse {
    position: absolute;
    inset: -10px;
    border: 2px solid rgba(245, 101, 0, 0.3);
    border-radius: 50%;
    animation: stepPulse 2s ease-in-out infinite;
}

.step-icon-container {
    margin-bottom: 24px;
}

.step-icon {
    font-size: 24px;
    color: #14b8a6;
}

.step-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 16px;
}

.step-description {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 16px;
}

.step-features {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #718096;
    font-weight: 500;
}

.process-cta-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 48px 32px;
    max-width: 500px;
    margin: 0 auto;
}

/* Scroll Reveal Animation System */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Animation Keyframes */
@keyframes aboutFloat {
    0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    25% { transform: translateY(-30px) translateX(20px) rotate(90deg); }
    50% { transform: translateY(-20px) translateX(-15px) rotate(180deg); }
    75% { transform: translateY(-40px) translateX(10px) rotate(270deg); }
}

@keyframes processFloat {
    0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    33% { transform: translateY(-40px) translateX(30px) rotate(120deg); }
    66% { transform: translateY(-20px) translateX(-20px) rotate(240deg); }
}

@keyframes stepPulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.2; }
    100% { transform: scale(1); opacity: 0.5; }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .feature-card-enhanced, .process-step-enhanced {
        margin-bottom: 32px;
    }
    
    .indiana-outline {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .section-enhanced-about, .section-enhanced-process {
        padding: 80px 0;
    }
    
    .feature-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .step-features {
        flex-direction: column;
        gap: 12px;
    }
    
    .indiana-outline {
        width: 200px;
        height: 200px;
    }
}


/* Footer Readability Fix */
footer h2, footer h3, footer h4, footer h5, footer h6 {
  color: var(--color-white) !important;
}
