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

:root {
    /* Primary Colors */
    --primary-blue: #0EA5E9;
    --primary-blue-dark: #0284C7;
    --primary-blue-light: #38BDF8;
    --primary-green: #10B981;
    --primary-green-dark: #059669;
    --primary-green-light: #34D399;

    /* Accent Colors */
    --accent-purple: #8B5CF6;
    --accent-orange: #F59E0B;

    /* Neutral Colors */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* Semantic Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #0EA5E9;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

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

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* 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 cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-800);
    background-color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: var(--gray-900);
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-link {
    position: relative;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    padding: var(--spacing-xs) 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    transition: width var(--transition-base);
}

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

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: all var(--transition-base);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    box-shadow: 0 4px 14px 0 rgba(14, 165, 233, 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(14, 165, 233, 0.5);
}

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

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

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

.btn-white:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

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

/* Emergency Button Styling */
.btn-emergency {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    box-shadow: 0 4px 14px 0 rgba(239, 68, 68, 0.39);
    animation: pulse-glow 2s ease-in-out infinite;
    position: relative;
}

.btn-emergency:hover {
    background: linear-gradient(135deg, #DC2626, #B91C1C);
    box-shadow: 0 6px 20px 0 rgba(239, 68, 68, 0.5);
    transform: translateY(-2px);
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 4px 14px 0 rgba(239, 68, 68, 0.39);
    }

    50% {
        box-shadow: 0 6px 20px 0 rgba(239, 68, 68, 0.6);
    }
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #EFF6FF 0%, #F0FDF4 100%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(14, 165, 233, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    padding: var(--spacing-3xl) var(--spacing-md);
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: white;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-blue);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-md);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.hero-image {
    position: relative;
    height: 500px;
    animation: fadeInRight 0.8s ease-out;
}

.hero-card {
    position: absolute;
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    animation: float 3s ease-in-out infinite;
}

.hero-card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.hero-card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 1s;
}

.hero-card-3 {
    bottom: 10%;
    left: 20%;
    animation-delay: 2s;
}

.card-icon {
    font-size: 2rem;
}

.card-text {
    font-weight: 600;
    color: var(--gray-800);
}

/* ===================================
   SECTIONS
   =================================== */
.services-preview,
.why-quickfix,
.cta-section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* ===================================
   SERVICES GRID
   =================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.service-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(30px);
}

.service-card.animate {
    animation: fadeInUp 0.6s ease-out forwards;
}

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

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--spacing-md);
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.service-description {
    color: var(--gray-600);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: none;
    transition: gap var(--transition-base);
}

.service-link:hover {
    gap: var(--spacing-sm);
}

/* ===================================
   FEATURES GRID
   =================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.feature-item {
    text-align: center;
    padding: var(--spacing-lg);
    opacity: 0;
    transform: translateY(30px);
}

.feature-item.animate {
    animation: fadeInUp 0.6s ease-out forwards;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    padding: var(--spacing-3xl);
}

.cta-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-sm);
}

.cta-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-actions {
    display: flex;
    gap: var(--spacing-md);
}

/* ===================================
   HERO SEARCH
   =================================== */
/* ===================================
   HERO SEARCH - PREMIUM CAPSULE UI
   =================================== */
.hero-search-container {
    max-width: 680px;
    margin: 0 auto 32px;
    position: relative;
    width: 100%;
}

.hero-search-box {
    position: relative;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    box-shadow:
        0 10px 25px -5px rgba(0, 0, 0, 0.1),
        0 8px 10px -6px rgba(0, 0, 0, 0.1),
        0 20px 40px -10px rgba(14, 165, 233, 0.15);
    display: flex;
    align-items: center;
    padding: 6px 6px 6px 24px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-search-box:focus-within {
    transform: translateY(-4px);
    background: #ffffff;
    border-color: var(--primary-blue);
    box-shadow:
        0 25px 50px -12px rgba(14, 165, 233, 0.3);
}

.hero-search-box .search-icon {
    font-size: 1.25rem;
    color: var(--primary-blue);
    margin-right: 12px;
    flex-shrink: 0;
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.hero-search-box:focus-within .search-icon {
    transform: scale(1.1);
}

.hero-search-box .search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.05rem;
    color: var(--gray-900);
    padding: 10px 0;
    background: transparent;
    font-family: var(--font-primary);
    font-weight: 500;
}

.hero-search-box .search-input::placeholder {
    color: var(--gray-400);
}

.hero-search-box .search-btn {
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.hero-search-box .search-btn:hover {
    transform: translateX(2px);
    filter: brightness(1.1);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
}

/* Suggestion Dropdown Refinement */
.search-suggestions {
    position: absolute;
    top: calc(100% + 12px);
    left: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 1000;
    overflow: hidden;
    display: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: dropdownPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes dropdownPop {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.search-suggestions.show {
    display: block;
    animation: fadeInUp 0.2s ease-out;
}

.suggestion-item {
    padding: var(--spacing-sm) var(--spacing-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--gray-700);
    transition: background var(--transition-fast);
}

.suggestion-item:hover {
    background: var(--gray-50);
    color: var(--primary-blue);
}

.suggestion-icon {
    font-size: 1.1rem;
    color: var(--gray-400);
}

.suggestion-text {
    font-size: 1rem;
    font-weight: 500;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.footer-description {
    color: var(--gray-400);
    line-height: 1.6;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: var(--spacing-md);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--gray-800);
}

.footer-copyright {
    color: var(--gray-500);
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    color: var(--gray-400);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

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

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .hero-image {
        height: 400px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        padding: var(--spacing-2xl) var(--spacing-md);
    }

    .hero-image {
        height: 400px;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-description {
        font-size: 1.0625rem;
    }

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

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

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        gap: var(--spacing-sm);
    }

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

    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: var(--spacing-3xl);
    }

    .hero-title {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

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

    .hero-stats {
        flex-direction: row;
        justify-content: space-around;
        gap: var(--spacing-md);
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.8125rem;
    }

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

    .section-subtitle {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .service-card {
        padding: var(--spacing-lg);
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-2xl) var(--spacing-md);
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    /* Hero search improvements for mobile - Keeping it horizontal & compact */
    .hero-search-container {
        max-width: 100%;
        margin-bottom: 24px;
    }

    .hero-search-box {
        flex-direction: row;
        /* Keep horizontal */
        align-items: center;
        padding: 4px 4px 4px 16px;
        border-radius: var(--radius-full);
        gap: 8px;
        background: #ffffff;
    }

    .hero-search-box .search-icon {
        display: block;
        /* Show icon again */
        font-size: 1rem;
        margin-right: 4px;
    }

    .hero-search-box .search-input {
        padding: 8px 0;
        font-size: 0.9rem;
        background: transparent;
        border: none;
    }

    .hero-search-box .search-btn {
        width: auto;
        /* Small button */
        padding: 10px 16px;
        font-size: 0.8rem;
        border-radius: var(--radius-full);
        letter-spacing: 0.5px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .nav-container {
        height: 64px;
    }

    .brand-name {
        font-size: 1.25rem;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .hero {
        padding-top: 80px;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .hero-badge {
        font-size: 0.8125rem;
        padding: 0.375rem var(--spacing-sm);
    }

    .hero-description {
        font-size: 0.9375rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

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

    .stat-number {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.9375rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }

    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }

    .service-title {
        font-size: 1.25rem;
    }

    .feature-title {
        font-size: 1.125rem;
    }

    .hero-card {
        padding: var(--spacing-sm);
    }

    .card-icon {
        font-size: 1.5rem;
    }

    .card-text {
        font-size: 0.875rem;
    }

    /* Additional search optimizations for small mobile */
    .hero-search-container {
        margin-bottom: var(--spacing-md);
    }

    .hero-search-box {
        padding: 4px 4px 4px 12px;
        gap: 4px;
    }

    .hero-search-box .search-input {
        font-size: 0.85rem;
    }

    .hero-search-box .search-btn {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
}

/* ===================================
   LOCATION MODAL
   =================================== */
.location-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    backdrop-filter: blur(4px);
}

.location-modal.active {
    display: flex;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.location-modal-content {
    background: white;
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    padding: var(--spacing-xl);
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.close-modal-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-400);
    cursor: pointer;
    line-height: 1;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
    text-align: center;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.location-tabs {
    display: flex;
    background: var(--gray-100);
    padding: 4px;
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
}

.loc-tab {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    color: var(--gray-600);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.loc-tab.active {
    background: white;
    color: var(--primary-blue);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeInUp 0.3s ease-out;
}

/* Current Location Preview */
.current-loc-preview {
    text-align: center;
    padding: var(--spacing-lg) 0;
}

.loc-pulse-icon {
    width: 60px;
    height: 60px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.loc-pulse-icon::after {
    content: '';
    width: 16px;
    height: 16px;
    background: var(--primary-blue);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.2);
}

/* Manual Location Styles */
.address-input-group {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.address-input-group input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
}

.address-input-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.1);
}

.location-picker-map {
    width: 100%;
    height: 300px;
    /* Increased height for better view */
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    margin-bottom: 8px;
    z-index: 1;
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
    /* Placeholder color */
}

/* CRITICAL FIX FOR LEAFLET TILES SCATTERING */
.leaflet-pane img,
.leaflet-tile {
    max-width: none !important;
    max-height: none !important;
    width: inherit;
    height: inherit;
    margin: 0;
    padding: 0;
}

.leaflet-container {
    font-family: var(--font-primary);
    z-index: 1;
}

.map-hint {
    font-size: 0.8rem;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: 12px;
}

.selected-coords-display {
    background: var(--gray-50);
    border: 1px dashed var(--gray-300);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--gray-700);
    margin-bottom: 16px;
    word-break: break-all;
}

.btn-full {
    width: 100%;
}