/* Base Styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #7f8c8d;
    --font-family: 'Poppins', sans-serif;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.hide {
    display: none !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

h1 {
    font-size: 3.6rem;
    margin-bottom: 2rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.4rem;
    }
    
    h3 {
        font-size: 2rem;
    }
}

/* Buttons & CTAs */
.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 1.2rem 2.4rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.cta-button:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

/* Header & Navigation */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.5rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    z-index: 10;
}

.logo {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 3rem;
    height: 2.4rem;
    position: relative;
    z-index: 10;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark-color);
    margin: 6px 0;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 5;
}

.main-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.main-nav ul {
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.main-nav li {
    margin-bottom: 1.5rem;
}

.main-nav a {
    color: var(--dark-color);
    font-weight: 500;
    display: block;
    padding: 0.8rem 0;
}

.mobile-cta {
    display: inline-block;
    background-color: var(--accent-color);
    color: white !important;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
    text-align: center;
}

/* Language Selector */
.language-selector {
    position: relative;
    cursor: pointer;
}

.current-language {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.current-language:hover {
    background-color: var(--light-color);
}

.flag-icon {
    width: 20px;
    height: 20px;
    border-radius: 3px;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    min-width: 150px;
    display: none;
    z-index: 10;
}

.language-selector.active .language-dropdown {
    display: block;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    transition: var(--transition);
}

.language-option:hover {
    background-color: var(--light-color);
}

/* Hero Section */
.hero-section {
    padding: 6rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.hero-content p {
    margin-bottom: 3rem;
    font-size: 1.8rem;
}

.zip-search-container {
    margin-top: 3rem;
}

.zip-form {
    display: flex;
    max-width: 500px;
    margin-bottom: 1.5rem;
}

.zip-form input {
    flex: 1;
    padding: 1.2rem;
    border: 2px solid #ddd;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1.6rem;
}

.zip-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.center-align {
    text-align: center;
    margin: 4rem auto;
}

.center-align .zip-form {
    margin: 2rem auto;
}

/* Search Progress */
.search-progress {
    margin-top: 2rem;
}

.company-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.progress-bar {
    height: 1rem;
    background-color: #eee;
    border-radius: 10px;
    margin: 1.5rem 0;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: var(--primary-color);
    width: 0%;
    transition: width 0.1s linear;
}

/* Sections */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.gradient-bg {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    transition: var(--transition);
}

/* Neumorphic Effect */
.neumorphic {
    background: #ecf0f3;
    box-shadow: 8px 8px 16px #d1d9e6, -8px -8px 16px #ffffff;
    border-radius: 20px;
}

.neumorphic:hover {
    box-shadow: 12px 12px 20px #d1d9e6, -12px -12px 20px #ffffff;
    transform: translateY(-5px);
}

/* Flex Container */
.flex-container {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.flex-container.reverse {
    flex-direction: row-reverse;
}

.content-block {
    flex: 1;
}

.image-block {
    flex: 1;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.image-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.image-block img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 0 auto;
}

/* Provider Cards */
.provider-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

.provider-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.provider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.provider-logo {
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.provider-card h3 {
    margin-bottom: 1.5rem;
}

.provider-card p {
    margin-bottom: 2.5rem;
}

.provider-card .cta-button {
    margin-top: auto;
}

/* Table */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
}

.coverage-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.coverage-table th,
.coverage-table td {
    padding: 1.2rem;
    border: 1px solid #ddd;
    text-align: left;
}

.coverage-table th {
    background-color: var(--secondary-color);
    color: white;
}

.coverage-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

details {
    background-color: white;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

summary {
    padding: 2rem;
    cursor: pointer;
    position: relative;
    font-weight: 600;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    position: absolute;
    right: 2rem;
    font-size: 2rem;
    transition: var(--transition);
}

details[open] summary::after {
    content: '-';
}

.faq-content {
    padding: 0 2rem 2rem;
}

/* Conclusion */
.conclusion-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.final-cta {
    margin-top: 4rem;
    padding: 3rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.final-cta h3 {
    margin-bottom: 2rem;
}

/* Footer */
.site-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-logo a {
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-column h4 {
    color: white;
    margin-bottom: 2rem;
}

.footer-column ul li {
    margin-bottom: 1rem;
}

.footer-column a {
    color: #bdc3c7;
    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
}

.footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 1.4rem;
    color: #bdc3c7;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    max-width: 300px;
    background-color: white;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
    font-size: 1.4rem;
}

.cookie-consent button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.cookie-consent button:hover {
    background-color: var(--secondary-color);
}

/* Responsive Styles */
@media (min-width: 769px) {
    .main-nav {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        width: auto;
    }
    
    .main-nav ul {
        flex-direction: row;
        padding: 0;
        gap: 2rem;
    }
    
    .main-nav li {
        margin-bottom: 0;
    }
    
    .mobile-cta {
        display: none;
    }
    
    .nav-toggle {
        display: none;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        grid-row: 1;
    }
    
    .flex-container {
        flex-direction: column;
    }
    
    .flex-container.reverse {
        flex-direction: column;
    }
    
    .zip-form {
        flex-direction: column;
    }
    
    .zip-form input {
        border-radius: var(--border-radius) var(--border-radius) 0 0;
    }
    
    .zip-form button {
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeIn 0.8s ease forwards;
}