/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: #1a365d;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.4rem);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    border-radius: 4px;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

ul, ol {
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
}

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1e40af;
}

section {
    padding: 5rem 0;
}

/* Button & Form Styles */
.primary-button, .cta-button {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    color: white;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.primary-button:hover, .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
    color: white;
}

.primary-button:active, .cta-button:active {
    transform: translateY(-1px);
}

input[type="text"] {
    padding: 0.8rem 1.2rem;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

input[type="text"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a365d;
    text-decoration: none;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Language Selector */
.language-selector {
    position: relative;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.language-selector:hover, .language-selector.active {
    background-color: #f1f5f9;
}

.selected-language {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
    min-width: 150px;
    display: none;
    z-index: 100;
}

.language-selector.active .language-dropdown {
    display: block;
    animation: fadeIn 0.3s ease;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.language-option:hover {
    background-color: #f1f5f9;
}

/* Mobile Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #1a365d;
    margin: 5px 0;
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mobile-language-selector {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.3)" stroke-width="2"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.hero-image img:hover {
    transform: rotate(0deg) scale(1.02);
}

/* ZIP Search Form */
.zip-search-container {
    margin-top: 2rem;
    position: relative;
}

.zip-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    max-width: 500px;
}

.zip-search-form input {
    flex: 1;
    min-width: 200px;
}

.search-status, .search-complete {
    margin-top: 1rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease;
}

.company-logos-animation {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
}

.company-logos-animation img {
    animation: pulse 2s infinite;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.hidden {
    display: none;
}

/* Introduction Section */
.intro-section {
    background-color: white;
    padding: 5rem 0;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 8px 8px 16px #e6e6e6, -8px -8px 16px #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 12px 12px 20px #e6e6e6, -12px -12px 20px #ffffff;
}

/* Coverage Section */
.coverage-section {
    background-color: #f1f5f9;
    position: relative;
}

.coverage-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    align-items: center;
}

.coverage-image img {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.coverage-image img:hover {
    transform: scale(1.05);
}

/* Providers Section */
.providers-section {
    background-color: white;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
}

.provider-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.provider-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.provider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.provider-logo {
    height: 80px;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.provider-logo img {
    max-height: 100%;
    object-fit: contain;
}

.provider-cta {
    align-self: flex-start;
    padding: 0.7rem 1.5rem;
    background-color: #2563eb;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.provider-cta:hover {
    transform: translateY(-2px);
    background-color: #1e40af;
    color: white;
}

/* Comparison Section */
.comparison-section {
    background-color: #f1f5f9;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    align-items: center;
}

.comparison-image img {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.comparison-checklist {
    margin: 1.5rem 0;
    list-style: none;
    padding-left: 0;
}

.comparison-checklist li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
}

.comparison-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

/* FAQ Section */
.faq-section {
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

details {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f8fafc;
    transition: box-shadow 0.3s ease;
}

details:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

summary {
    padding: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    outline: none;
    list-style: none;
    background-color: #f8fafc;
    transition: background-color 0.3s ease;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    position: absolute;
    right: 1.2rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

details[open] summary::after {
    transform: rotate(45deg);
}

.faq-content {
    padding: 0 1.2rem 1.2rem;
}

.extra-resources {
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 2rem;
    background-color: #f8fafc;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Conclusion Section */
.conclusion-section {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    color: #1a365d;
}

.conclusion-content {
    max-width: 800px;
    margin: 0 auto;
}

.final-cta {
    margin-top: 2.5rem;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: #1a365d;
    color: white;
    padding: 3rem 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-info {
    max-width: 800px;
}

.disclaimer {
    font-size: 0.85rem;
    opacity: 0.8;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-nav a {
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 1;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background-color: white;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    font-size: 0.85rem;
    transition: bottom 0.5s ease;
    z-index: 1000;
}

.cookie-consent.show {
    bottom: 0;
}

.cookie-consent p {
    margin: 0;
}

.cookie-accept {
    padding: 0.4rem 1rem;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-container, .coverage-grid, .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-container {
        flex-direction: column;
    }
    
    .hero-content, .hero-image {
        max-width: 100%;
    }
    
    .coverage-image, .comparison-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    section {
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .mobile-menu.active {
        display: block;
        animation: fadeIn 0.3s ease;
    }
    
    .hamburger[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .zip-search-form {
        flex-direction: column;
    }
    
    .zip-search-form input, .zip-search-form button {
        width: 100%;
    }
    
    .footer-container {
        text-align: center;
    }
    
    .footer-nav {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
}