/* Base Styles */
:root {
    --primary-color: #4e7df2;
    --secondary-color: #2d4ea3;
    --accent-color: #f5a623;
    --light-color: #f9f9f9;
    --dark-color: #333333;
    --text-color: #4a4a4a;
    --border-radius: 8px;
    --box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
}

p {
    margin-bottom: 1.5rem;
}

/* Button Styles */
.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: 1rem;
    line-height: 1.4;
    box-shadow: 0 4px 10px rgba(245, 166, 35, 0.3);
}

.cta-button:hover {
    background-color: #e09318;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(245, 166, 35, 0.4);
    color: white;
}

.text-link {
    font-weight: 500;
    text-decoration: underline;
    display: inline-block;
    margin-top: 0.5rem;
}

/* Header Styles */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

/* Navigation */
.site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.site-nav.active {
    display: block;
}

.site-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 20px;
}

.site-nav a {
    color: var(--dark-color);
    font-weight: 500;
    display: block;
    padding: 0.5rem 0;
}

.site-nav a:hover {
    color: var(--primary-color);
}

/* Hamburger Menu */
.nav-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger {
    position: relative;
    width: 24px;
    height: 2px;
    background: var(--dark-color);
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--dark-color);
    transition: var(--transition);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Language Selector */
.language-selector {
    position: relative;
    cursor: pointer;
    margin-left: auto;
    margin-right: 1rem;
}

.current-language {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: var(--border-radius);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 0.5rem;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 10;
}

.language-selector.active .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown li {
    margin-bottom: 0.5rem;
}

.language-dropdown li:last-child {
    margin-bottom: 0;
}

.language-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 4px;
}

.language-dropdown a:hover {
    background: var(--light-color);
}

/* Desktop CTA */
.desktop-only {
    display: none;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.gradient-bg {
    background: linear-gradient(135deg, #4e7df2, #2d4ea3);
    color: white;
}

.gradient-bg h1, 
.gradient-bg h2, 
.gradient-bg h3, 
.gradient-bg p {
    color: white;
}

.hero-grid {
    display: grid;
    gap: 2rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 0 auto;
}

/* ZIP Search Styles */
.zip-search-container {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 2rem 0;
}

.gradient-bg .zip-search-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gradient-bg .zip-search-container h2 {
    color: white;
}

.zip-search-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.zip-search-form input {
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.zip-search-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(78, 125, 242, 0.2);
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.alternate-bg {
    background-color: var(--light-color);
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.card-effect {
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.card-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Spotlight Container */
.spotlight-container {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.spotlight-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Coverage Grid */
.coverage-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.coverage-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.coverage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Providers Section */
.providers-container {
    display: grid;
    gap: 2rem;
}

.provider-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
}

.provider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.provider-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.provider-logo img {
    max-height: 100%;
    width: auto;
}

.provider-card .cta-button {
    margin-top: auto;
    width: 100%;
}

/* Featured Section */
.featured-grid {
    display: grid;
    gap: 2rem;
}

.featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 0 auto;
}

/* Final CTA Section */
.final-cta-section {
    text-align: center;
}

.final-cta-section .zip-search-form {
    max-width: 500px;
    margin: 2rem auto 0;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

details {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

summary {
    padding: 1.5rem;
    position: relative;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: var(--transition);
}

details[open] summary::after {
    content: '−';
}

.faq-content {
    padding: 0 1.5rem 1.5rem;
}

/* Footer Styles */
.site-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
}

.disclaimer {
    font-size: 0.875rem;
    opacity: 0.8;
}

.footer-nav h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-nav ul {
    display: grid;
    gap: 0.5rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-nav a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    font-size: 0.875rem;
}

.cookie-consent p {
    margin: 0;
}

.cookie-consent a {
    color: var(--accent-color);
    text-decoration: underline;
}

#accept-cookies {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.875rem;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.search-content {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 90%;
    width: 500px;
}

.search-message {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.company-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.company-logos img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.results-message {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Media Queries */
@media (min-width: 768px) {
    .desktop-only {
        display: block;
    }
    
    .zip-search-form {
        flex-direction: row;
    }
    
    .zip-search-form input {
        flex: 1;
    }
    
    .hero-grid,
    .spotlight-container,
    .featured-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .coverage-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 2fr 1fr;
    }
}

@media (min-width: 992px) {
    .nav-toggle {
        display: none;
    }
    
    .site-nav {
        display: block;
        position: static;
        box-shadow: none;
        padding: 0;
    }
    
    .site-nav ul {
        flex-direction: row;
        padding: 0;
    }
    
    .site-nav a {
        padding: 0;
    }
    
    /* Animation effects */
    .benefit-card,
    .coverage-card,
    .provider-card {
        transform: translateY(0);
        transition: transform 0.5s ease, box-shadow 0.5s ease;
    }
    
    .benefit-card:hover,
    .coverage-card:hover,
    .provider-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }
    
    /* Neumorphism effect */
    .provider-card {
        background: #f0f0f0;
        box-shadow: 
            8px 8px 16px rgba(0, 0, 0, 0.1),
            -8px -8px 16px rgba(255, 255, 255, 0.7);
    }
    
    .provider-card:hover {
        box-shadow: 
            12px 12px 24px rgba(0, 0, 0, 0.15),
            -12px -12px 24px rgba(255, 255, 255, 0.8);
    }
    
    /* Parallax effect */
    .hero-image img,
    .featured-image img {
        transition: transform 0.3s ease-out;
    }
    
    .hero-section:hover .hero-image img,
    .featured-section:hover .featured-image img {
        transform: scale(1.05) translateY(-5px);
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content,
.section-heading,
.benefit-card,
.coverage-card,
.provider-card,
.featured-content,
.faq-container details {
    animation: fadeIn 0.8s ease-out forwards;
}

.benefit-card:nth-child(2) {
    animation-delay: 0.2s;
}

.benefit-card:nth-child(3) {
    animation-delay: 0.4s;
}

.coverage-card:nth-child(2) {
    animation-delay: 0.2s;
}

.coverage-card:nth-child(3) {
    animation-delay: 0.4s;
}

.provider-card:nth-child(2) {
    animation-delay: 0.1s;
}

.provider-card:nth-child(3) {
    animation-delay: 0.2s;
}

.provider-card:nth-child(4) {
    animation-delay: 0.3s;
}

.provider-card:nth-child(5) {
    animation-delay: 0.4s;
}

.provider-card:nth-child(6) {
    animation-delay: 0.5s;
}

.faq-container details:nth-child(2) {
    animation-delay: 0.1s;
}

.faq-container details:nth-child(3) {
    animation-delay: 0.2s;
}

.faq-container details:nth-child(4) {
    animation-delay: 0.3s;
}

.faq-container details:nth-child(5) {
    animation-delay: 0.4s;
}