:root {
    --primary: #002B7F;
    --primary-light: #1a4fa0;
    --primary-dark: #001f5c;
    --secondary: #FCD116;
    --secondary-light: #fdd835;
    --secondary-dark: #f9a825;
    --accent: #CE1126;
    --accent-light: #e53935;
    --accent-dark: #a30f20;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --medium-gray: #e2e8f0;
    --dark-gray: #334155;
    --text-light: #64748b;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Account for fixed header */
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--white);
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    /* Prevent font loading flicker */
    font-display: swap;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.section-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    padding: 8px 0;
    transition: all var(--transition-normal), transform 0.3s ease-in-out;
    transform: translateY(0);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-xl);
    padding: 4px 0;
}

.header.hidden {
    transform: translateY(-100%);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.logo img {
    height: 80px;
    width: auto;
    transition: all var(--transition-normal);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    /* Remove background placeholder for logo */
    background: none !important;
    background-image: none !important;
}

.logo img:hover {
    transform: scale(1.05) rotate(1deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.contact-info {
    display: flex;
    align-items: center;
}

.contact-info .phone-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background-color: var(--accent);
    padding: 12px 24px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(206, 17, 38, 0.2);
}

.contact-info .phone-link i {
    margin-right: 10px;
    color: var(--white);
    font-size: 1.2rem;
}

.contact-info .phone-link:hover {
    background-color: #a30f20;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(206, 17, 38, 0.3);
}

.contact-info .phone-link:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(206, 17, 38, 0.2);
}

/* Mobile Styles for Phone Link */
@media (max-width: 768px) {
    .contact-info .phone-link {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .contact-info .phone-link i {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .contact-info .phone-link {
        padding: 8px 16px;
        font-size: 0.95rem;
    }

    .contact-info .phone-link i {
        font-size: 1rem;
        margin-right: 8px;
    }
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

/* Desktop Navigation Positioning */
@media (min-width: 769px) {
    .header-container {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 20px;
    }
    
    .nav-links {
        justify-self: end;
        margin-right: 20px;
    }
    
    .contact-info {
        justify-self: end;
    }
}

.nav-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 20px;
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-normal);
    position: relative;
    /* Prevent font loading shifts */
    font-display: swap;
    /* Reserve space to prevent layout shifts */
    min-width: 80px;
    text-align: center;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

.nav-links a:hover::before {
    opacity: 1;
}

.nav-links a:hover {
    color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-button {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--primary) !important;
    padding: 16px 32px !important;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal) !important;
}

.contact-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
}

.contact-button::after {
    display: none;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Always reserve space for mobile menu button to prevent layout shift */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        visibility: visible;
    }
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Modern Sticky Banner */
.sticky-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
    padding: 25px 15px 30px 15px;
    display: none;
    justify-content: space-between;
    align-items: center;
    z-index: 99; /* Reduced z-index to be lower than footer */
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 24px 24px 0 0;
    min-height: 95px;
}

.sticky-banner.visible {
    transform: translateY(0);
    display: flex;
}

.sticky-banner::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 4px;
    background: rgba(0, 43, 127, 0.3);
    border-radius: 2px;
}

.sticky-banner .phone-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, #001f5c 100%);
    color: white;
    text-decoration: none;
    padding: 22px 38px; /* Increased padding for larger size */
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.3rem; /* Increased font size */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(0, 43, 127, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 220px; /* Increased width */
    flex: 0 0 auto;
    margin-left: 0; /* Position at left edge */
}

.sticky-banner .phone-link::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 0.5s;
}

.sticky-banner .phone-link:hover::before {
    left: 100%;
}

.sticky-banner .phone-link:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 28px rgba(0, 43, 127, 0.4);
    background: linear-gradient(135deg, #001f5c 0%, var(--primary) 100%);
}

.sticky-banner .phone-link:active {
    transform: translateY(-1px) scale(0.98);
}

.sticky-banner .phone-link i {
    font-size: 1.4rem; /* Increased icon size */
    animation: pulse-phone 2s infinite;
}

@keyframes pulse-phone {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.sticky-banner .whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px; /* Increased size */
    height: 80px; /* Increased size */
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
    margin-right: 0; /* Position at right edge */
}

.sticky-banner .whatsapp-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.sticky-banner .whatsapp-link:hover::before {
    transform: scale(1);
}

.sticky-banner .whatsapp-link:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

.sticky-banner .whatsapp-link:active {
    transform: translateY(-2px) scale(1.05);
}

.sticky-banner .whatsapp-link i {
    font-size: 36px; /* Increased icon size */
    animation: bounce-whatsapp 3s infinite;
}

@keyframes bounce-whatsapp {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-4px); }
    60% { transform: translateY(-2px); }
}

/* Add floating animation to the entire banner */
.sticky-banner.visible {
    animation: float-banner 6s ease-in-out infinite;
}

@keyframes float-banner {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Enhanced mobile responsiveness */
@media (max-width: 768px) {
    .sticky-banner {
        padding: 20px 12px 25px 12px; /* Adjusted for edge positioning */
        min-height: 85px; /* Increased for larger elements */
    }

    .sticky-banner .phone-link {
        padding: 20px 32px; /* Increased padding */
        font-size: 1.2rem; /* Increased font size */
        min-width: 200px; /* Increased width */
        gap: 14px;
    }

    .sticky-banner .phone-link i {
        font-size: 1.3rem; /* Increased icon size */
    }

    .sticky-banner .whatsapp-link {
        width: 75px; /* Increased size */
        height: 75px; /* Increased size */
    }

    .sticky-banner .whatsapp-link i {
        font-size: 32px; /* Increased icon size */
    }
}

@media (max-width: 480px) {
    .sticky-banner {
        padding: 18px 10px 22px 10px; /* Adjusted for edge positioning */
        min-height: 80px; /* Increased for larger elements */
    }

    .sticky-banner .phone-link {
        padding: 18px 28px; /* Increased padding */
        font-size: 1.1rem; /* Increased font size */
        min-width: 180px; /* Increased width */
        gap: 12px;
    }

    .sticky-banner .phone-link i {
        font-size: 1.2rem; /* Increased icon size */
    }

    .sticky-banner .whatsapp-link {
        width: 70px; /* Increased size */
        height: 70px; /* Increased size */
    }

    .sticky-banner .whatsapp-link i {
        font-size: 30px; /* Increased icon size */
    }
}

/* Add a subtle glow effect on focus for accessibility */
.sticky-banner .phone-link:focus,
.sticky-banner .whatsapp-link:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 43, 127, 0.3);
}

/* Hero Section - Fixed to prevent layout shifts */
.hero-section {
    padding: 50px 0 0 0; /* Set to 50px for all devices */
    background-color: var(--white);
    position: relative;
    margin: 0;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.hero-section .container {
    display: block;
    padding: 0;
    max-width: 100%;
    /* Reserve space based on hero image aspect ratio (940x642) */
    aspect-ratio: 940 / 642;
    width: 100%;
    position: relative;
    background-color: #f8fafc; /* Placeholder background */
}

.hero-content {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    box-shadow: none;
    /* Prevent layout shifts during loading */
    background-color: #f1f5f9;
    background-image: linear-gradient(45deg, #f1f5f9 25%, #e2e8f0 25%, #e2e8f0 50%, #f1f5f9 50%, #f1f5f9 75%, #e2e8f0 75%);
    background-size: 20px 20px;
    position: absolute;
    top: 0;
    left: 0;
}

/* Mobile Hero Optimization - Fixed spacing */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0 0 0; /* 50px on mobile */
        /* Remove problematic min-height */
    }
    
    .hero-section .container {
        /* Maintain aspect ratio on mobile but allow natural height */
        aspect-ratio: 940 / 642;
        max-height: 70vh; /* Limit height on mobile to prevent huge space */
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 50px 0 0 0; /* 50px on small mobile */
    }
    
    .hero-section .container {
        /* Maintain aspect ratio on small mobile */
        aspect-ratio: 940 / 642;
        max-height: 60vh; /* Further limit height on small mobile */
    }
}

/* Info Section - Fixed to prevent layout shifts */
.info-section {
    padding: 60px 0;
    background-color: var(--light-gray);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    /* Reserve stable height to prevent layout shifts */
    min-height: 600px;
}

.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(0, 43, 127, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(206, 17, 38, 0.03) 0%, transparent 50%);
    z-index: 0;
}

.info-section .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: stretch;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 500px; /* Reserve minimum height */
}

.info-content {
    width: 100%;
    margin-bottom: 0;
    /* Reserve stable height */
    min-height: 200px;
}

.info-content h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    /* Prevent font loading layout shifts */
    font-display: swap;
}

.info-content h3 {
    color: var(--accent);
    font-size: 1.8rem;
    margin-bottom: 20px;
    line-height: 1.3;
    /* Prevent font loading layout shifts */
    font-display: swap;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile first: 1 column */
    gap: 20px;
    width: 100%;
    /* Stable grid with fixed heights to prevent layout shift */
    grid-auto-rows: 180px; /* Fixed row height */
    min-height: 360px; /* Reserve space for 2 rows on mobile */
}

/* Medium screens and up: 2 columns for grid items */
@media (min-width: 576px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        min-height: 540px; /* Reserve space for 3 rows */
    }
}

/* Large screens: side-by-side layout */
@media (min-width: 992px) {
    .info-section {
        min-height: 500px; /* Stable height for desktop */
    }
    
    .info-section .container {
        flex-direction: row;
        gap: 50px;
        align-items: flex-start;
        min-height: 400px;
    }

    .info-content {
        flex: 1;
        min-width: 0;
        min-height: 300px; /* Reserve stable height */
    }

    .features-grid {
        flex: 1;
        min-width: 0;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        min-height: 360px; /* Reserve space for 3 rows */
    }

    .info-content h2 {
        font-size: 2.2rem;
    }

    .info-content h3 {
        font-size: 1.6rem;
    }
}

/* Extra large screens: more space for grid items */
@media (min-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        min-height: 360px; /* Reserve space for 2 rows */
    }

    .info-content h2 {
        font-size: 2.5rem;
    }

    .info-content h3 {
        font-size: 1.8rem;
    }
}

/* Feature Items - Stabilized to prevent layout shifts */
.feature-item {
    text-align: center;
    padding: 25px 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 43, 127, 0.1);
    position: relative;
    overflow: hidden;
    /* Fixed dimensions to prevent layout shift */
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Remove will-change and problematic animations that cause layout shifts */
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, #001f5c 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.feature-item:hover {
    /* Removed transform to prevent layout shifts */
    box-shadow: 0 8px 25px rgba(0, 43, 127, 0.15);
    border-color: var(--primary);
}

.feature-item:hover::before {
    opacity: 0.1;
}

.feature-item i {
    font-size: 2.5rem;
    color: #002B7F !important;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
    /* Reserve stable space to prevent layout shift when Font Awesome loads */
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    line-height: 2.5rem;
    text-align: center;
    min-height: 2.5rem;
    min-width: 2.5rem;
    /* Remove problematic transforms that cause layout shifts */
    transition: color 0.3s ease;
    /* Prevent icon loading flicker */
    font-display: swap;
}

.feature-item:hover i {
    color: #1a4fa0 !important;
    /* Removed transform to prevent layout shifts */
}

.feature-item h4 {
    color: var(--dark-gray);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
    line-height: 1.4;
    margin: 0;
    /* Prevent font loading layout shifts */
    font-display: swap;
}

.feature-item:hover h4 {
    color: var(--primary);
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    position: relative;
    z-index: 3;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.stats-section .stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stats-section .stat-item::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 0.6s ease;
}

.stats-section .stat-item:hover::before {
    left: 100%;
}

.stats-section .stat-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stats-section .stat-item i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 15px;
    display: block;
    position: relative;
    z-index: 1;
}

.stats-section .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 10px;
    display: block;
    position: relative;
    z-index: 1;
}

.stats-section .stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

/* Stats Section Responsive Design */
@media (max-width: 768px) {
    .stats-section {
        padding: 50px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 25px;
    }
    
    .stats-section .stat-item {
        padding: 25px 15px;
    }
    
    .stats-section .stat-item i {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }
    
    .stats-section .stat-number {
        font-size: 2.5rem;
        margin-bottom: 8px;
    }
    
    .stats-section .stat-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .stats-section {
        padding: 40px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stats-section .stat-item {
        padding: 20px 10px;
    }
    
    .stats-section .stat-item i {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .stats-section .stat-number {
        font-size: 2rem;
        margin-bottom: 6px;
    }
    
    .stats-section .stat-label {
        font-size: 0.8rem;
        line-height: 1.2;
    }
}

/* Cards Section */
.cards-section {
    padding: 40px 0;
    background-color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 3;
}

.cards-section h2 {
    text-align: center;
    color: #002B7F;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 8px 25px rgba(0, 43, 127, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid transparent;
    text-align: center;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    opacity: 0;
    border-radius: 18px;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 43, 127, 0.15);
    border-color: var(--primary);
}

.card:hover::before {
    opacity: 0.05;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.service-icon i {
    font-size: 2.2rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 43, 127, 0.3);
}

.card:hover .service-icon i {
    transform: scale(1.05);
}

.card h3 {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.card:hover h3 {
    color: var(--primary-dark);
}

.card p {
    color: var(--dark-gray);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0 0 25px 0;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.card .read-more-btn {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 1;
    margin-top: auto;
}

.card .read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(206, 17, 38, 0.3);
}

/* Cards Section Responsive Design */
@media (max-width: 1200px) {
    .cards-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .card {
        padding: 35px 25px;
        min-height: 260px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .service-icon i {
        font-size: 2rem;
    }
    
    .card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .card p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .cards-section {
        padding: 60px 0;
    }
    
    .cards-section h2 {
        font-size: 2.2rem;
        margin-bottom: 35px;
    }
    
    .cards-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .card {
        padding: 30px 20px;
        min-height: 240px;
    }
    
    .service-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 18px;
    }
    
    .service-icon i {
        font-size: 1.8rem;
    }
    
    .card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .card p {
        font-size: 0.85rem;
        margin-bottom: 18px;
        line-height: 1.5;
    }
    
    .card .read-more-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .cards-section {
        padding: 50px 0;
    }
    
    .cards-section h2 {
        font-size: 1.9rem;
        margin-bottom: 30px;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .card {
        padding: 25px 15px;
        min-height: 220px;
        margin: 0 10px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .service-icon i {
        font-size: 1.6rem;
    }
    
    .card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .card p {
        font-size: 0.8rem;
        margin-bottom: 15px;
        line-height: 1.4;
    }
    
    .card .read-more-btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
}

/* Counter Section Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

.animate-on-scroll.visible .slide-in-left,
.animate-on-scroll.visible .slide-in-right {
    opacity: 1;
    transform: translateX(0);
}

/* Pulse Animation for CTA Button */
.pulse-animation {
    position: relative;
    animation: none; /* Initially no animation */
}

.pulse-animation.visible {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #CE1126 0%, #a30f20 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.cta-left {
    flex: 1;
    min-width: 300px;
    animation: slideInLeft 1s ease-out forwards;
    animation-play-state: paused;
}

.cta-right {
    flex: 1;
    min-width: 300px;
    text-align: center;
    animation: slideInRight 1s ease-out forwards;
    animation-play-state: paused;
}

.cta-content.visible .cta-left {
    animation-play-state: running;
}

.cta-content.visible .cta-right {
    animation-play-state: running;
}

.cta-left h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-right h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--white);
    color: var(--accent);
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeInScale 0.5s ease-out 0.5s forwards;
    animation-play-state: paused;
}

.cta-content.visible .cta-button {
    animation-play-state: running;
}

.cta-button:hover {
    background-color: var(--secondary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-button i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: rotate(15deg);
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInScale {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* CTA Section Mobile Styles */
@media (max-width: 768px) {
    .cta-section {
        padding: 40px 0;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 0 15px;
    }

    .cta-left, .cta-right {
        flex: none;
        width: 100%;
        min-width: unset;
    }

    .cta-left h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .cta-right h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 1.1rem;
    }
}

/* Grid Items Mobile Styles */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 15px;
    }

    .feature-item {
        padding: 20px 15px;
    }

    .feature-item i {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .feature-item h4 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 30px 0;
    }

    .cta-left h2 {
        font-size: 1.5rem;
    }

    .cta-right h3 {
        font-size: 1.3rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .feature-item {
        padding: 15px 10px;
    }

    .feature-item i {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .feature-item h4 {
        font-size: 0.9rem;
    }
}

/* Read More Button */
.read-more-btn {
    margin: 0 20px 20px;
    padding: 10px 25px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.read-more-btn:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(206, 17, 38, 0.2);
}

.read-more-btn:active {
    transform: translateY(0);
}

/* Photo Gallery Section */
.gallery-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, rgba(248, 250, 252, 0.8) 100%);
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    position: relative;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(206, 17, 38, 0.02) 0%, transparent 50%);
    z-index: 0;
}

.gallery-section h2 {
    text-align: center;
    color: #002B7F;
    margin-bottom: 50px;
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
}

.gallery-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
    max-width: 1200px;
    padding: 30px 20px;
}

.gallery-track {
    display: flex;
    gap: 20px;
    animation: infiniteScroll 30s linear infinite;
    width: calc(320px * 14); /* 14 items (9 original + 5 duplicates) * (300px + 20px gap) */
}

.gallery-track:hover {
    animation-play-state: paused;
}

@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-320px * 9)); /* Move by the width of 9 original items */
    }
}

.gallery-item {
    flex: 0 0 300px; /* Fixed width for better control */
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    cursor: pointer;
    /* Reserve background space */
    background-color: #f8fafc;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: var(--border-radius-lg);
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Gallery Mobile Responsive */
@media (max-width: 768px) {
    .gallery-item {
        flex: 0 0 250px;
    }
    
    .gallery-track {
        /* width: calc(270px * 14); */
        width: auto !important;
        animation: none !important;
    }
    /* @keyframes infiniteScrollMobile { ... } */
}

@media (max-width: 480px) {
    .gallery-item {
        flex: 0 0 200px;
    }
    
    .gallery-track {
        /* width: calc(220px * 14); */
        width: auto !important;
        animation: none !important;
    }
    /* @keyframes infiniteScrollSmall { ... } */
}

.gallery-item::after {
    content: 'Vezi mai multe';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    background: rgba(0, 43, 127, 0.8);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
    z-index: 2;
}

/* Enhanced Mobile Gallery */
@media (max-width: 768px) {
    .gallery-section {
        padding: 40px 0;
    }

    .gallery-section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .gallery-carousel {
        padding: 25px 15px;
        margin: 0 15px;
        border-radius: var(--border-radius-lg);
    }

    .gallery-track {
        gap: 15px;
    }

    .gallery-item {
        flex: 0 0 280px; /* Slightly smaller on tablet */
        aspect-ratio: 4/3;
        border-radius: var(--border-radius-md);
    }

    .gallery-item:hover {
        transform: scale(1.01);
    }
}

@media (max-width: 480px) {
    .gallery-section {
        padding: 30px 0;
    }

    .gallery-section h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .gallery-carousel {
        padding: 20px 12px;
        margin: 0 12px;
    }

    .gallery-track {
        gap: 12px;
    }

    .gallery-item {
        flex: 0 0 250px; /* Mobile size */
        aspect-ratio: 4/3;
        border-radius: var(--border-radius-md);
    }
}

/* Enhanced Counties Section with Map */
.counties-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    position: relative;
    z-index: 4;
    overflow: hidden;
}

.counties-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(0, 43, 127, 0.03) 0%, transparent 50%);
    z-index: 0;
}

.counties-section h2 {
    text-align: center;
    color: var(--primary);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.counties-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--secondary) 100%);
    border-radius: 2px;
}

.counties-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Romania Map Container */
.romania-map-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.map-wrapper {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--medium-gray);
    position: relative;
    width: 100%;
    max-width: 500px;
}

.romania-map {
    width: 100%;
    height: auto;
    max-height: 400px;
    /* Optimized shadow using box-shadow instead of filter for better performance */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    /* Performance optimizations for faster rendering */
    will-change: auto;
    image-rendering: crisp-edges;
    image-rendering: -webkit-optimize-contrast;
}

.map-title {
    text-align: center;
    margin-top: 20px;
}

.map-title h3 {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.map-title p {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
}

/* Counties List Container */
.counties-list-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.counties-header {
    margin-bottom: 30px;
}

.counties-header h3 {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
}

.counties-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.5;
}

.counties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 40px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.counties-grid::-webkit-scrollbar {
    width: 6px;
}

.counties-grid::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 3px;
}

.counties-grid::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.counties-grid::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.county-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.county-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 0;
}

.county-item i {
    font-size: 0.9rem;
    z-index: 1;
    position: relative;
}

.county-item span,
.county-item:not(.featured) {
    z-index: 1;
    position: relative;
}

.county-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    color: var(--white);
}

.county-item:hover::before {
    opacity: 1;
}

.county-item:hover i {
    color: var(--secondary);
}



/* Responsive Design for Counties Section */
@media (max-width: 1200px) {
    .counties-content {
        gap: 40px;
    }
    
    .counties-section h2 {
        font-size: 2.4rem;
    }
    
    .map-wrapper {
        max-width: 450px;
        padding: 30px;
    }
}

@media (max-width: 968px) {
    .counties-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .romania-map-container {
        order: 1;
    }
    
    .counties-list-container {
        order: 2;
    }
    
    .counties-section {
        padding: 60px 0;
    }
    
    .counties-section h2 {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    
    .counties-header h3 {
        font-size: 1.8rem;
    }
    

}

@media (max-width: 768px) {
    .counties-section {
        padding: 50px 0;
    }
    
    .counties-section h2 {
        font-size: 2rem;
        margin-bottom: 35px;
    }
    
    .counties-content {
        gap: 40px;
    }
    
    .map-wrapper {
        max-width: 100%;
        padding: 25px;
        margin: 0 10px;
    }
    
    .romania-map {
        max-height: 300px;
    }
    
    .map-title h3 {
        font-size: 1.5rem;
    }
    
    .counties-header h3 {
        font-size: 1.6rem;
    }
    
    .counties-header p {
        font-size: 1rem;
    }
    
    .counties-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 10px;
        max-height: 300px;
    }
    
    .county-item {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .county-item i {
        font-size: 0.8rem;
    }
    

}

@media (max-width: 480px) {
    .counties-section {
        padding: 40px 0;
    }
    
    .counties-section h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .counties-content {
        gap: 30px;
    }
    
    .map-wrapper {
        padding: 20px;
        margin: 0 5px;
    }
    
    .romania-map {
        max-height: 250px;
    }
    
    .map-title h3 {
        font-size: 1.3rem;
    }
    
    .map-title p {
        font-size: 0.9rem;
    }
    
    .counties-header h3 {
        font-size: 1.4rem;
    }
    
    .counties-header p {
        font-size: 0.95rem;
    }
    
    .counties-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 8px;
        max-height: 250px;
        padding-right: 5px;
    }
    
    .county-item {
        padding: 8px 10px;
        font-size: 0.85rem;
        gap: 6px;
    }
    

}

@media (max-width: 480px) {
    .counties-section {
        padding: 30px 0;
    }
    
    .counties-section h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .counties-carousel {
        padding: 0 10px;
        height: 90px;
    }
    
    .county-card {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .county-card span {
        font-size: 0.8rem;
    }
}

/* Footer Styles */
.footer {
    background-color: var(--white);
    color: var(--primary);
    padding: 40px 0;
    margin-top: 10px;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 999; /* Increased z-index to be higher than sticky banner */
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 120px; /* Added padding to account for sticky banner height */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer-info {
    flex: 1;
    text-align: left;
}

.footer-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.footer-info p {
    font-size: 1rem;
    color: var(--dark-gray);
}

.footer-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-logo img {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
    /* Remove background placeholder for footer logo */
    background: none !important;
    background-image: none !important;
}

.footer-logo img:hover {
    transform: scale(1.05);
}

.footer-copyright {
    text-align: center;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.footer-social {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-gray);
    border-radius: 50%;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-social a i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-info {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer {
        padding-bottom: 70px;
    }

    .cta-section {
        padding-bottom: 70px;
    }

    .sticky-banner {
        display: flex;
    }

    .sticky-banner.visible {
        transform: translateY(0);
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .footer {
        padding-bottom: 100px; /* Adjusted padding for mobile */
    }

    .cta-section {
        padding-bottom: 60px;
    }
}

/* Content wrapper */
.content-wrapper {
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 100vh;
    width: 100%;
}

/* Duplicate .image-wrapper styles removed - consolidated at top of file */

/* Enhanced Hover Effects */
.feature-item {
    position: relative;
    overflow: hidden;
}

.feature-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, #001f5c 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.feature-item:hover::after {
    opacity: 0.1;
}

.feature-item i {
    position: relative;
    z-index: 1;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Account for fixed header */
}

/* Performance Optimizations */
* {
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

/* img styles consolidated at top of file */

/* Duplicate .card styles removed - consolidated at top of file */

/* AOS Animation Customization */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Image Loading Animations */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    transform: scale(0.95);
}

img[loading="lazy"].loading {
    opacity: 0.5;
    transform: scale(0.98);
}

img[loading="lazy"].loaded {
    opacity: 1;
    transform: scale(1);
}

img[loading="lazy"].error {
    opacity: 1;
    transform: scale(1);
    filter: grayscale(100%);
}

/* Duplicate .image-wrapper styles removed - consolidated at top of file */

/* Duplicate .gallery-item styles removed - consolidated at top of file */

/* Micro-interactions for Buttons and Links */
.button, 
a:not(.nav-links a) {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.button::after,
a:not(.nav-links a)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.button:hover::after,
a:not(.nav-links a):hover::after {
    width: 100%;
}

.button:active,
a:not(.nav-links a):active {
    transform: scale(0.98);
}

/* Enhanced Card Hover Effects */
.card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 43, 127, 0.15);
}

.card:hover .image-wrapper img {
    transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .image-wrapper {
        aspect-ratio: 16/9;
    }
}

/* Counter Section */
.counter-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    z-index: 4;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    margin: 20px 0;
}

.counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.counter-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Counter Items */
.counter-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 24px;
    border-radius: var(--border-radius-xl);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

.counter-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary) 0%, #fcd116 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 0;
}

.counter-item:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.counter-item:hover::before {
    opacity: 0.15;
}

.counter-item i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
    transition: all var(--transition-normal);
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.counter-item:hover i {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(252, 209, 22, 0.3));
}

.counter {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 15px 0;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.counter-item:hover .counter {
    transform: scale(1.05);
}

.counter-item h3 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin: 0;
    font-weight: 500;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.counter-item:hover h3 {
    color: var(--white);
    transform: translateY(-2px);
    -webkit-text-fill-color: var(--white);
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        transform: translateY(-5px) scale(1);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    }
    100% {
        transform: translateY(-5px) scale(1);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .feature-item {
        padding: 20px;
    }

    .feature-item i {
        font-size: 2rem;
    }

    .feature-item h4 {
        font-size: 1.1rem;
    }

    .counter-item {
        padding: 20px 15px;
    }

    .counter {
        font-size: 2.5rem;
    }

    .counter-item i {
        font-size: 2rem;
    }

    .counter-item h3 {
        font-size: 1rem;
    }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-logo {
    max-width: 200px;
    height: auto;
    animation: fadeInScale 1s ease-out;
    /* Remove background placeholder for loading logo */
    background: none !important;
    background-image: none !important;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Touch Interaction Styles */
.gallery-carousel,
.counties-carousel {
    touch-action: pan-y pinch-zoom;
    -webkit-overflow-scrolling: touch;
}

.gallery-track,
.counties-track {
    will-change: transform;
    touch-action: pan-x;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero-section .container {
        /* Reserve space on mobile without cropping */
        min-height: calc(100vw * 642 / 940);
        max-height: none; /* Allow full image height */
    }

    .header-container {
        padding: 0 15px;
    }

    .logo img {
        height: 60px;
    }

    .contact-info {
        opacity: 0; /* Hide visually but keep space to prevent layout shift */
        visibility: hidden;
        pointer-events: none;
    }

    .mobile-menu-btn {
        display: flex;
        visibility: visible;
    }

    .nav-links {
        position: fixed;
        top: 96px; /* Adjusted to align with header height */
        right: -100%;
        width: 280px;
        height: calc(100vh - 96px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 40px 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
        margin: 5px 0;
        border-radius: 8px;
        font-size: 1.1rem;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .nav-links a::after {
        display: none;
    }

    .contact-button {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    /* Adjust WhatsApp button for mobile */
    .whatsapp-button {
        bottom: 70px; /* Slightly higher on mobile */
        right: 15px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-button i {
        font-size: 28px;
    }

    /* Ensure WhatsApp button doesn't overlap with sticky phone banner */
    .sticky-phone-banner + .whatsapp-button {
        bottom: 80px;
    }

    /* Optimize images for mobile */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Adjust carousel for touch */
    .gallery-carousel,
    .counties-carousel {
        overflow: hidden;
        position: relative;
    }

    .gallery-track,
    .counties-track {
        transition: transform 0.3s ease-out;
    }

    /* Loading spinner size for mobile */
    .loading-spinner {
        width: 40px;
        height: 40px;
    }
}

/* Unified Contact Bar */
.sticky-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #002B7F;
    color: white;
    padding: 12px 20px;
    display: none;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 9999;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Phone Link Styles */
.sticky-banner .phone-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease;
}

.sticky-banner .phone-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.sticky-banner .phone-link i {
    font-size: 1.2rem;
}

/* WhatsApp Link Styles */
.sticky-banner .whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.sticky-banner .whatsapp-link:hover {
    transform: translateY(-2px);
    background-color: #128C7E;
}

.sticky-banner .whatsapp-link i {
    font-size: 24px;
}

/* Show the banner on mobile devices when scrolled */
@media (max-width: 768px) {
    .sticky-banner {
        display: flex;
    }

    .sticky-banner.visible {
        transform: translateY(0);
    }

    .sticky-banner .phone-link {
        font-size: 1rem;
        padding: 6px 12px;
    }

    .sticky-banner .phone-link i {
        font-size: 1.1rem;
    }

    .sticky-banner .whatsapp-link {
        width: 40px;
        height: 40px;
    }

    .sticky-banner .whatsapp-link i {
        font-size: 22px;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-section .container {
        /* Reserve space on small mobile without cropping */
        min-height: calc(100vw * 642 / 940);
        max-height: none; /* Allow full image height */
    }

    .sticky-banner {
        padding: 8px 12px;
        gap: 12px;
    }

    .sticky-banner .phone-link {
        font-size: 0.9rem;
        padding: 6px 10px;
    }

    .sticky-banner .phone-link i {
        font-size: 1rem;
    }

    .sticky-banner .whatsapp-link {
        width: 36px;
        height: 36px;
    }

    .sticky-banner .whatsapp-link i {
        font-size: 20px;
    }
}

/* Reset any container that might affect the WhatsApp button */
.counties-section,
.gallery-section,
.cta-section,
.container,
.section-container {
    position: relative;
    z-index: 1;
}

/* Remove the transform reset rule that was breaking animations */
/* .counties-section *,
.gallery-section *,
.cta-section *,
.container *,
.section-container * {
    transform: none;
} */

/* About Section Styles */
.about-section {
    padding: 80px 0;
    background-color: var(--white);
    width: 100%;
}

.about-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-left, .about-right {
    flex: 1; /* Take up equal space */
    width: 50%; /* Each takes half the container width */
}

/* When screen gets smaller, stack the divs */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        gap: 40px;
    }

    .about-left, .about-right {
        width: 100%; /* Full width when stacked */
    }

    .about-left {
        text-align: center;
    }

    .about-image {
        width: 100%;
    }

    .about-image img {
        width: 100%;
        height: auto;
        border-radius: 15px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Remove any conflicting styles */
.about-section,
.about-content,
.about-left,
.about-right {
    box-sizing: border-box;
}

/* Ensure all sections take full width */
.hero-section,
.about-section,
.features-section,
.counties-section,
.gallery-section,
.cta-section,
.footer {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}

/* Ensure content within sections has proper padding */
.hero-content,
.about-content,
.features-content,
.counties-content,
.gallery-content,
.cta-content,
.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Improved Focus States for Accessibility */
a:focus,
button:focus,
.mobile-menu-btn:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Enhanced Button Hover Effects */
.read-more-btn,
.cta-button,
.contact-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.read-more-btn::before,
.cta-button::before,
.contact-button::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 0.5s;
}

.read-more-btn:hover::before,
.cta-button:hover::before,
.contact-button:hover::before {
    left: 100%;
}

/* Improved Loading States */
.feature-item,
.card,
.county-card {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1em;
    max-width: 65ch; /* Optimal reading width */
}

/* Improved Image Loading */
img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Prevent layout shifts during image loading */
    background-color: #f1f5f9;
    background-image: linear-gradient(45deg, #f1f5f9 25%, #e2e8f0 25%, #e2e8f0 50%, #f1f5f9 50%, #f1f5f9 75%, #e2e8f0 75%);
    background-size: 20px 20px;
}

/* Specific images that should not have stripe background */
.logo img,
.loading-logo,
.hero-image,
.romania-map {
    background: none !important;
    background-image: none !important;
}

/* Enhanced Mobile Menu Animation */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 100px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 100px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 40px 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
        margin: 5px 0;
        border-radius: 8px;
        font-size: 1.1rem;
        /* Restore proper font sizing for mobile */
        min-width: auto;
    }

    .nav-links a:hover {
        background-color: var(--light-gray);
        color: var(--primary);
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    .header-container {
        padding: 0 15px;
    }

    .contact-info .phone-link {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .contact-info .phone-link i {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .contact-info .phone-link {
        padding: 8px 16px;
        font-size: 0.95rem;
    }

    .contact-info .phone-link i {
        font-size: 1rem;
        margin-right: 8px;
    }
}

/* FAQ Section Styles */
.faq-section {
    padding: 60px 0 40px 0;
    background: var(--light-gray);
    width: 100%;
}

.faq-section .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-title {
    text-align: center;
    color: #002B7F;
    font-size: 2.2rem;
    margin-bottom: 40px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,43,127,0.06);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.faq-item.open {
    box-shadow: 0 4px 16px rgba(0,43,127,0.12);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    text-align: left;
    font-size: 1.15rem;
    font-weight: 700;
    color: #002B7F;
    padding: 22px 56px 22px 24px;
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Inter', sans-serif;
}

.faq-question:hover, .faq-item.open .faq-question {
    background: var(--medium-gray);
}

.faq-icon {
    font-size: 1.5rem;
    color: #002B7F;
    margin-left: 12px;
    transition: transform 0.3s, color 0.2s;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: #FCD116;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #fff;
    color: #FCD116;
    font-size: 1rem;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    padding: 0 24px;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s, color 0.2s;
    letter-spacing: 0.01em;
}

.faq-item.open .faq-answer {
    padding: 0 24px 18px 24px;
    max-height: 300px;
}

@media (max-width: 600px) {
    .faq-title {
        font-size: 1.4rem;
        margin-bottom: 24px;
    }
    
    .faq-section {
        padding: 36px 0 20px 0;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 16px 44px 16px 14px;
    }
    
    .faq-answer {
        font-size: 0.97rem;
        padding: 0 14px;
    }
    
    .faq-item.open .faq-answer {
        padding: 0 14px 14px 14px;
    }
}

/* Testimonials Section Styles */
.testimonials-section {
    padding: 60px 0 40px 0;
    background: var(--white);
    width: 100%;
}

.testimonials-title {
    text-align: center;
    color: #002B7F;
    font-size: 2.2rem;
    margin-bottom: 40px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.testimonials-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 700px;
    margin: 0 auto 24px auto;
    overflow: hidden;
    min-height: 220px;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
    width: 100%;
    margin: 0 auto;
}

.testimonial-item {
    flex: 0 0 100%;
    box-sizing: border-box;
    background: var(--light-gray);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,43,127,0.07);
    padding: 36px 32px 28px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Inter', sans-serif;
    height: 100%;
    min-height: 180px;
}

.testimonial-message {
    font-size: 1.15rem;
    color: #002B7F;
    margin-bottom: 18px;
    font-weight: 500;
    line-height: 1.5;
}

.testimonial-client {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 600;
}

.testimonial-location {
    color: var(--secondary);
    font-weight: 500;
    margin-left: 4px;
}

.testimonial-arrow,
.testimonial-arrow.left,
.testimonial-arrow.right {
    display: none !important;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--medium-gray);
    cursor: pointer;
    transition: background 0.2s;
}

.testimonial-dot.active {
    background: #002B7F;
}

@media (max-width: 700px) {
    .testimonials-section {
        padding: 36px 0 20px 0;
    }
    
    .testimonials-title {
        font-size: 1.4rem;
        margin-bottom: 24px;
    }
    
    .testimonials-carousel {
        max-width: 98vw;
    }
    
    .testimonial-item {
        padding: 24px 10px 18px 10px;
        font-size: 1rem;
    }
    
    .testimonial-arrow.left {
        left: 0;
    }
    
    .testimonial-arrow.right {
        right: 0;
    }
}

/* AUTO LOCKSMITH SPECIFIC STYLES */

/* Urgent Ribbon */
.urgent-ribbon {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    padding: 12px 0;
    text-align: center;
    position: fixed;
    top: 96px; /* Below header */
    left: 0;
    right: 0;
    z-index: 999;
    animation: slideDown 0.5s ease-out;
}

.urgent-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.urgent-text {
    font-size: 1rem;
    font-weight: 600;
}

.urgent-text strong {
    color: var(--secondary);
    font-weight: 700;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* Hero Section Updates */
.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
    min-height: 500px;
}

.hero-text {
    flex: 1;
    padding-right: 20px;
}

.hero-text h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subhead {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-primary, .cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.cta-primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.cta-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-secondary {
    background: var(--secondary);
    color: var(--primary);
    border-color: var(--secondary);
}

.cta-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Pain Point Grid */
.pain-point-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.pain-point-section h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 60px;
}

.pain-point-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pain-point-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--medium-gray);
}

.pain-point-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.pain-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.pain-icon i {
    font-size: 2rem;
    color: var(--white);
}

.pain-point-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.3;
}

.pain-point-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.pain-point-card strong {
    color: var(--accent);
    font-weight: 600;
}

/* Services Grid */
.services-section {
    padding: 80px 0;
    background: var(--white);
}

.services-section h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--medium-gray);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    color: var(--text-light);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.service-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Accordion Banner Section */
.sticky-accordion-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--secondary);
    margin: 0;
    padding: 20px 0;
}

.accordion-header {
    padding: 0 0 12px 0;
    transition: all 0.3s ease;
}

.accordion-header h2 {
    color: var(--white);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.accordion-header h2 i {
    color: var(--secondary);
    font-size: 1.2em;
}

.accordion-content {
    padding-bottom: 0;
}

.accordion-menu {
    display: flex;
    gap: 8px;
    padding: 12px 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.accordion-menu::-webkit-scrollbar {
    display: none;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
    min-width: 200px;
}

.accordion-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.accordion-item.active {
    background: var(--secondary);
    border-color: var(--white);
    box-shadow: 0 4px 15px rgba(252, 209, 22, 0.3);
}

.accordion-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.accordion-item.active .accordion-tab {
    color: var(--primary);
}

.tab-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.accordion-item.active .tab-icon {
    background: var(--primary);
    color: var(--white);
}

.tab-title {
    flex: 1;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--white);
    line-height: 1.3;
}

.accordion-item.active .tab-title {
    color: var(--primary);
}

.tab-arrow {
    font-size: 0.8rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.accordion-item.active .tab-arrow {
    color: var(--primary);
    transform: rotate(90deg);
}

.accordion-details {
    padding: 20px 0;
    position: relative;
}

.detail-content {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.detail-content.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.problem-solution {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.problem-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    box-shadow: 0 8px 25px rgba(252, 209, 22, 0.3);
    flex-shrink: 0;
}

.problem-text {
    flex: 1;
}

.problem-text h3 {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.solution-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.problem-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.solution-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    color: var(--white);
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature i {
    color: var(--secondary);
    font-size: 0.8rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .accordion-menu {
        gap: 6px;
        padding: 8px 0;
    }
    
    .accordion-item {
        min-width: 180px;
    }
    
    .problem-solution {
        flex-direction: column;
        gap: 20px;
        padding: 24px 20px;
    }
    
    .problem-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        align-self: center;
    }
    
    .solution-features {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .accordion-header {
        padding: 12px 0 8px 0;
    }
    
    .accordion-header h2 {
        font-size: 1.1rem;
    }
    
    .accordion-item {
        min-width: 160px;
    }
    
    .tab-title {
        font-size: 0.85rem;
        line-height: 1.2;
    }
    
    .tab-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .problem-text h3 {
        font-size: 1.2rem;
    }
    
    .problem-text p {
        font-size: 0.95rem;
    }
}

/* Google Ads Quality Score Optimizations */

/* Core Web Vitals Improvements */
.hero-section, .services-section, .gallery-section {
    contain: layout style paint;
    will-change: auto;
}

.gallery-track, .testimonials-track {
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}

/* Optimize animations for 60fps */
@media (prefers-reduced-motion: no-preference) {
    .service-card, .gallery-item, .testimonial-item {
        will-change: transform;
    }
    
    .service-card:hover, .gallery-item:hover {
        transform: translateY(-5px) translateZ(0);
    }
}

/* Critical font loading optimization */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Inter Regular'), local('Inter-Regular'),
         url('https://fonts.gstatic.com/s/inter/v12/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfAZ9hiJ-Ek-_EeA.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Performance optimizations for images */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Lazy loading optimization */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Intersection Observer optimizations */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Mobile performance optimizations */
@media (max-width: 768px) {
    .gallery-track {
        animation-duration: 25s; /* Slower on mobile for better performance */
    }
    
    .service-card:hover {
        transform: none; /* Disable hover effects on mobile */
    }
}

/* Reduce motion for accessibility and performance */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .gallery-track {
        animation: none;
    }
}

/* Vehicle Brands Section */
.brands-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    contain: layout style paint;
}

.brands-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.brands-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.brands-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.brands-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
}

.brand-name {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    font-size: 1rem;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
}

.brand-name:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Quote Form Section */
.quote-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.quote-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quote-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 50px;
}

.quote-form {
    background: var(--white);
    padding: 50px;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--medium-gray);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    transition: all var(--transition-normal);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 43, 127, 0.1);
}

.quote-btn {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    margin-top: 20px;
}

.quote-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Comparison Table */
.comparison-section {
    padding: 80px 0;
    background: var(--white);
}

.comparison-section h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 60px;
}

.comparison-table {
    max-width: 800px;
    margin: 0 auto 40px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--medium-gray);
}

.comparison-header,
.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
}

.comparison-header {
    background: var(--primary);
    color: var(--white);
}

.comparison-row:nth-child(even) {
    background: var(--light-gray);
}

.comparison-cell {
    padding: 20px;
    text-align: center;
    border-right: 1px solid var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-cell:last-child {
    border-right: none;
}

.comparison-cell.feature {
    text-align: left;
    font-weight: 600;
    color: var(--primary);
}

.comparison-cell.our-brand {
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-cell.our-value {
    background: var(--secondary);
    color: var(--primary);
    font-weight: 700;
}

.comparison-cell.other-value {
    color: var(--text-light);
}

.badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.badge {
    background: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Coverage Section */
.coverage-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.coverage-section h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.coverage-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.location-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--medium-gray);
    transition: all var(--transition-normal);
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.location-card.primary-location {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
}

.location-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.location-card.primary-location i {
    color: var(--secondary);
}

.location-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.location-card.primary-location h3 {
    color: var(--white);
}

.response-time {
    display: inline-block;
    background: var(--secondary);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 0.9rem;
}

.location-card.primary-location .response-time {
    background: var(--white);
    color: var(--primary);
}

/* Bottom CTA Banner */
.bottom-cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    text-align: center;
}

.bottom-cta-content h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.3;
}

.bottom-cta-content strong {
    color: var(--secondary);
}

.bottom-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--secondary);
    color: var(--primary);
    padding: 20px 40px;
    border-radius: var(--border-radius-lg);
    font-weight: 700;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all var(--transition-normal);
    border: 3px solid var(--secondary);
}

.bottom-cta-button:hover {
    background: var(--white);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.bottom-cta-button i {
    font-size: 1.2rem;
}

/* Updated Footer Styles */
.footer-info p {
    margin-bottom: 8px;
    line-height: 1.5;
}

.footer-info a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.footer-info a:hover {
    color: var(--primary-light);
}

.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
}

.footer-links a:hover {
    background: var(--light-gray);
    color: var(--primary);
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .urgent-ribbon {
        top: 88px;
        padding: 8px 0;
    }
    
    .urgent-text {
        font-size: 0.9rem;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .hero-text {
        padding-right: 0;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .cta-primary, .cta-secondary {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .pain-point-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .quote-form {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-cell {
        padding: 15px 10px;
    }
    
    .coverage-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .location-card {
        padding: 20px 15px;
    }
    
    .badges {
        gap: 10px;
    }
    
    .badge {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .bottom-cta-content h2 {
        margin-bottom: 20px;
    }
    
    .bottom-cta-button {
        padding: 16px 32px;
        font-size: 1.1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .pain-point-card,
    .service-card {
        padding: 30px 20px;
    }
    
    .brands-logos {
        gap: 10px;
    }
    
    .brand-name {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
    
    .comparison-cell {
        padding: 12px 8px;
        font-size: 0.8rem;
    }
}

/* Additional Service Card Styles */
.service-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid var(--medium-gray);
    flex-grow: 1;
}

.service-desc.expandable {
    cursor: pointer;
}

.desc-preview, .desc-full {
    transition: all 0.3s ease;
}

.expand-btn {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.expand-btn:hover {
    color: var(--primary-dark);
}

.expand-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.service-desc strong {
    color: var(--primary);
    font-weight: 600;
}

.service-desc em {
    color: var(--accent);
    font-style: normal;
    font-weight: 500;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Mobile responsive updates for new service cards */
@media (max-width: 768px) {
    .service-desc {
        font-size: 0.9rem;
        padding: 15px 0;
    }
    
    .btn-primary {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .service-desc {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}