/*
 * PWashing - Professional Pressure Washing Services
 * Modern, Animated, Professional Design
 */

/*--------------------------------------------------------------
# Base Styles & Variables
--------------------------------------------------------------*/
:root {
    /* Primary Color Palette - Professional Blue/Teal Theme */
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --secondary-color: #06b6d4;
    --secondary-dark: #0891b2;
    --secondary-light: #cffafe;
    --accent-color: #10b981;
    --accent-dark: #059669;
    --accent-light: #d1fae5;
    
    /* Neutral Colors */
    --dark-color: #1f2937;
    --light-color: #ffffff;
    --grey-color: #f9fafb;
    --grey-dark: #e5e7eb;
    --text-color: #374151;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    
    /* Status Colors */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    --gradient-dark: linear-gradient(135deg, var(--dark-color), #374151);
    
    /* Typography */
    --font-family: 'Poppins', sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 0 2rem;
    
    /* Transitions & Animations */
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
}

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 1rem = 10px */
}

body {
    font-family: var(--font-family);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--light-color);
    font-weight: var(--font-weight-normal);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

h1 { font-size: 4.8rem; }
h2 { font-size: 3.6rem; }
h3 { font-size: 2.8rem; }
h4 { font-size: 2.4rem; }
h5 { font-size: 2rem; }
h6 { font-size: 1.8rem; }

p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

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

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

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

ul, ol {
    list-style: none;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section-padding {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--grey-color);
}

.bg-primary {
    background: var(--gradient-primary);
    color: var(--light-color);
}

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

.highlight {
    color: var(--primary-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    z-index: -1;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-slow);
}

.loader {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.loader .circle {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    animation: bounce 1.4s infinite ease-in-out both;
}

.loader .circle:nth-child(1) { animation-delay: -0.32s; }
.loader .circle:nth-child(2) { animation-delay: -0.16s; }
.loader .circle:nth-child(3) { animation-delay: 0s; }

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.header.sticky {
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.98);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    transition: var(--transition-normal);
}

.sticky .navbar {
    padding: 1.5rem 0;
}

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

.logo-container {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text {
    font-size: 2.8rem;
    font-weight: var(--font-weight-bold);
    color: var(--dark-color);
}

.logo-text .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 1.1rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-muted);
    margin-top: -0.2rem;
    letter-spacing: 0.5px;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    gap: 3rem;
}

.nav-link {
    color: var(--text-color);
    font-weight: var(--font-weight-medium);
    font-size: 1.6rem;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition-normal);
}

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

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

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

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    transition: var(--transition-normal);
    border-radius: 2px;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.btn {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: var(--font-weight-semibold);
    padding: 1.2rem 2.4rem;
    border-radius: var(--radius-xl);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-normal);
    text-align: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.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: var(--transition-slow);
    z-index: -1;
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: var(--light-color);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--light-color);
}

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

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    color: var(--light-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-light {
    background-color: var(--light-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-light:hover {
    background-color: var(--grey-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-color);
}

.btn-sm {
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
}

.btn-lg {
    padding: 1.6rem 3.2rem;
    font-size: 1.8rem;
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
    padding-top: 12rem;
    padding-bottom: 8rem;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 50%, var(--accent-light) 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    pointer-events: none;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: var(--font-weight-semibold);
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-xl);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 5.2rem;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.9rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3.2rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    display: block;
}

.stat-text {
    font-size: 1.3rem;
    color: var(--text-muted);
    font-weight: var(--font-weight-medium);
    margin-top: 0.5rem;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.floating-image {
    animation: float 6s ease-in-out infinite;
}

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

.hero-placeholder, .image-placeholder, .gallery-placeholder {
    background: rgba(255, 255, 255, 0.9);
    border: 2px dashed var(--primary-color);
    border-radius: var(--radius-xl);
    padding: 4rem 2rem;
    text-align: center;
    color: var(--primary-color);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
}

.hero-placeholder:hover, .image-placeholder:hover, .gallery-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.hero-placeholder p, .image-placeholder p, .gallery-placeholder p {
    margin: 1rem 0 0 0;
    font-weight: var(--font-weight-semibold);
    font-size: 1.6rem;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.hero-wave svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 8rem;
}

/*--------------------------------------------------------------
# Section Headers
--------------------------------------------------------------*/
.section-header {
    text-align: center;
    max-width: 80rem;
    margin: 0 auto 5rem;
}

.section-subtitle {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4rem;
    height: 0.2rem;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.section-title {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.section-description {
    font-size: 1.8rem;
    color: var(--text-muted);
    max-width: 70rem;
    margin: 0 auto;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.service-card {
    background-color: var(--light-color);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--grey-dark);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-icon {
    width: 8rem;
    height: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--light-color);
    font-size: 3rem;
    border-radius: 50%;
    margin: 0 auto 2rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.service-card h3 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.service-card p {
    font-size: 1.6rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.features {
    display: grid;
    gap: 2.5rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid var(--grey-dark);
}

.feature:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--light-color);
    font-size: 2rem;
    border-radius: var(--radius-lg);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.feature-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-content p {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

.cta-section {
    margin-top: 3rem;
}

/*--------------------------------------------------------------
# Before & After Section
--------------------------------------------------------------*/
.before-after {
    position: relative;
    overflow: hidden;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.comparison-card {
    background-color: var(--light-color);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--grey-dark);
    overflow: hidden;
}

.comparison-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.comparison-card:hover::before {
    transform: scaleX(1);
}

.comparison-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.comparison-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.before-image,
.after-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.before-image img,
.after-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.comparison-card:hover .before-image img,
.comparison-card:hover .after-image img {
    transform: scale(1.05);
}

.image-label {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
    font-weight: var(--font-weight-bold);
    border-radius: var(--radius-md);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-sm);
}

.image-label.before {
    background-color: rgba(239, 68, 68, 0.9);
    color: var(--light-color);
}

.image-label.after {
    background-color: rgba(16, 185, 129, 0.9);
    color: var(--light-color);
}

.comparison-card h3 {
    font-size: 2.2rem;
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 0;
    font-weight: var(--font-weight-semibold);
}

/* Responsive Design for Before & After */
@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .comparison-images {
        height: auto;
    }
    
    .before-image,
    .after-image {
        height: 150px;
    }
    
    .comparison-card {
        padding: 1.5rem;
    }
    
    .comparison-card h3 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .comparison-images {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .before-image,
    .after-image {
        height: 180px;
    }
    
    .image-label {
        font-size: 1.1rem;
        padding: 0.4rem 0.8rem;
    }
}
/*--------------------------------------------------------------
# Results Showcase (Replacing Gallery)
--------------------------------------------------------------*/
.results-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.result-card {
    background-color: var(--light-color);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--grey-dark);
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.result-card:hover::before {
    transform: scaleX(1);
}

.result-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.result-icon {
    width: 8rem;
    height: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--light-color);
    font-size: 3rem;
    border-radius: 50%;
    margin: 0 auto 2rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.result-card:hover .result-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.result-card h3 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.result-card p {
    font-size: 1.6rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# CTA Section
--------------------------------------------------------------*/
.cta {
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: slide 20s linear infinite;
    z-index: 0;
}

@keyframes slide {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(30px, 30px);
    }
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 4rem;
    color: var(--light-color);
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 70rem;
    margin-left: auto;
    margin-right: auto;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.contact-info > p {
    font-size: 1.7rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.contact-details {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid var(--grey-dark);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.contact-icon {
    width: 4.5rem;
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--light-color);
    font-size: 1.8rem;
    border-radius: var(--radius-lg);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.contact-item strong {
    font-size: 1.6rem;
    color: var(--dark-color);
    display: block;
    margin-bottom: 0.5rem;
}

.contact-item p {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.contact-form-container {
    background-color: var(--light-color);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--grey-dark);
}

.contact-form {
    display: grid;
    gap: 2rem;
}

.form-group {
    display: grid;
    gap: 0.8rem;
}

.form-group label {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    color: var(--dark-color);
}

.form-control {
    width: 100%;
    padding: 1.2rem 1.5rem;
    font-size: 1.5rem;
    border: 2px solid var(--grey-dark);
    border-radius: var(--radius-lg);
    background-color: var(--grey-color);
    transition: var(--transition-normal);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--light-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

textarea.form-control {
    resize: vertical;
    min-height: 12rem;
}

.success-message {
    background-color: var(--accent-light);
    color: var(--accent-dark);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.6rem;
    font-weight: var(--font-weight-medium);
    border: 1px solid var(--accent-color);
}

.success-message i {
    font-size: 2rem;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
    background: var(--gradient-dark);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    padding: 5rem 0 3rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--light-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.footer-section p {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-section ul {
    display: grid;
    gap: 1rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    transition: var(--transition-normal);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    font-size: 1.6rem;
    border-radius: 50%;
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--light-color);
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 1rem;
    width: 1.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    text-align: center;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.6);
}

/*--------------------------------------------------------------
# Back to Top Button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    width: 5rem;
    height: 5rem;
    background: var(--gradient-primary);
    color: var(--light-color);
    font-size: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    color: var(--light-color);
}

/*--------------------------------------------------------------
# Responsive Design
--------------------------------------------------------------*/

/* Large Desktop */
@media (max-width: 1400px) {
    html {
        font-size: 60%;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    html {
        font-size: 58%;
    }
    
    .hero-content {
        gap: 3rem;
    }
    
    .about-content {
        gap: 4rem;
    }
    
    .contact-content {
        gap: 4rem;
    }
}

/* Tablet */
@media (max-width: 992px) {
    html {
        font-size: 55%;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    html {
        font-size: 52%;
    }
    
    .nav-menu {
        position: fixed;
        top: 8rem;
        left: -100%;
        width: 100%;
        height: calc(100vh - 8rem);
        background-color: var(--light-color);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 5rem;
        transition: var(--transition-normal);
        z-index: 999;
        box-shadow: var(--shadow-lg);
        gap: 2rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
        z-index: 1000;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .header-cta {
        display: none;
    }
    
    .hero {
        padding-top: 10rem;
        padding-bottom: 6rem;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .section-title {
        font-size: 3.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .results-showcase {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .features {
        gap: 2rem;
    }
    
    .feature {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .feature:hover {
        transform: translateY(-5px);
    }
    
    .contact-details {
        gap: 1.5rem;
    }
    
    .contact-item {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .contact-form-container {
        padding: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .back-to-top {
        bottom: 2rem;
        right: 2rem;
        width: 4.5rem;
        height: 4.5rem;
        font-size: 1.8rem;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    html {
        font-size: 50%;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .hero {
        padding-top: 8rem;
        padding-bottom: 4rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-description {
        font-size: 1.7rem;
    }
    
    .hero-stats {
        padding: 1.5rem;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .service-card {
        padding: 2.5rem;
    }
    
    .results-showcase {
        gap: 2rem;
    }
    
    .result-card {
        padding: 2.5rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .form-control {
        padding: 1rem 1.2rem;
    }
    
    .cta-content h2 {
        font-size: 3.2rem;
    }
    
    .cta-content p {
        font-size: 1.6rem;
    }
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 480px) {
    .hero-content {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3.2rem;
        line-height: 1.2;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .stat {
        padding: 1rem;
    }
    
    .services-grid,
    .results-showcase {
        gap: 2rem;
    }
    
    .service-card,
    .result-card {
        padding: 2rem;
    }
    
    .feature {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-content {
        gap: 3rem;
    }
    
    .btn {
        padding: 1.2rem 2rem;
        font-size: 1.5rem;
    }
}

/* Extra animations for mobile */
@media (max-width: 768px) {
    .service-card:hover,
    .result-card:hover,
    .feature:hover {
        transform: translateY(-5px);
    }
    
    .hero-cta .btn {
        min-width: 200px;
    }
    
    .nav-menu {
        backdrop-filter: blur(10px);
        background-color: rgba(255, 255, 255, 0.95);
    }
}

/* Improved animations */
@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced button interactions */
.btn {
    transform-origin: center;
}

.btn:active {
    transform: scale(0.98);
}

.btn-pulse:hover {
    animation: pulse 1s infinite;
}

/* Enhanced form styling */
.form-control {
    background-color: var(--light-color);
    border: 2px solid var(--grey-dark);
}

.form-control:hover {
    border-color: var(--primary-light);
}

.form-control:focus {
    background-color: var(--light-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
    transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Form Notice
--------------------------------------------------------------*/
.form-notice {
    background: linear-gradient(135deg, var(--secondary-light), rgba(6, 182, 212, 0.1));
    border: 1px solid var(--secondary-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.notice-icon {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    color: var(--light-color);
    font-size: 1.8rem;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.notice-content {
    flex: 1;
}

.notice-content p {
    font-size: 1.6rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: var(--font-weight-medium);
}

.contact-alternatives {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background-color: var(--light-color);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid var(--grey-dark);
}

.contact-method:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.contact-method i {
    color: var(--secondary-color);
    font-size: 1.6rem;
}

.contact-method a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    font-size: 1.5rem;
}

.contact-method a:hover {
    color: var(--secondary-color);
}

.success-message {
    background: linear-gradient(135deg, var(--accent-light), rgba(16, 185, 129, 0.1));
    border: 2px solid var(--accent-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    font-size: 1.7rem;
    font-weight: var(--font-weight-semibold);
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    animation: slideInFromBottom 0.5s ease;
    box-shadow: var(--shadow-lg);
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/*--------------------------------------------------------------
# Focus States for Accessibility
--------------------------------------------------------------*/
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/*--------------------------------------------------------------
# Print Styles
--------------------------------------------------------------*/
@media print {
    .header,
    .hero-particles,
    .back-to-top,
    .btn,
    .contact-form {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
    }
    
    .hero {
        background: none !important;
        color: #000;
    }
    
    .section-padding {
        padding: 2rem 0;
    }
}


/* Enhanced Neighborhoods Section Styles */
.neighborhoods {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
}

.neighborhoods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.neighborhood-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.neighborhood-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.neighborhood-card:hover::before {
    transform: scaleX(1);
}

.neighborhood-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.2);
}

.featured-neighborhood {
    background: linear-gradient(145deg, #ffffff 0%, #dbeafe 100%);
}

.neighborhood-icon {
    width: 7rem;
    height: 7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: white;
    font-size: 2.5rem;
    border-radius: 50%;
    margin: 0 auto 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.neighborhood-card:hover .neighborhood-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.4);
}

.neighborhood-card h4 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
    font-weight: 700;
}

.neighborhood-description {
    font-size: 1.6rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.neighborhood-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.feature-tag {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.service-area-note {
    background: linear-gradient(135deg, #cffafe 0%, #a7f3d0 100%);
    border: 2px solid #06b6d4;
    border-radius: 1.5rem;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.15);
    margin-top: 2rem;
}

.note-icon {
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #06b6d4;
    color: white;
    font-size: 2rem;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.note-content h5 {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 1rem;
    font-weight: 700;
}

.note-content p {
    font-size: 1.5rem;
    color: #374151;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .neighborhoods-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .neighborhood-card {
        padding: 2.5rem;
    }
    
    .neighborhood-card h4 {
        font-size: 2.4rem;
    }
    
    .neighborhood-description {
        font-size: 1.5rem;
    }
    
    .service-area-note {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .note-content h5 {
        font-size: 1.8rem;
    }
    
    .note-content p {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .neighborhoods-grid {
        grid-template-columns: 1fr;
    }
    
    .neighborhood-card {
        padding: 2rem;
    }
    
    .neighborhood-icon {
        width: 6rem;
        height: 6rem;
        font-size: 2rem;
    }
    
    .neighborhood-card h4 {
        font-size: 2.2rem;
    }
    
    .feature-tag {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }
}
