/* Base Styles */
:root {
    --primary-color: #3a7bd5;
    --secondary-color: #00d2ff;
    --accent-color: #ff6b6b;
    --dark-color: #2c3e50;
    --light-color: #f7f9fc;
    --text-color: #333;
    --light-text: #fff;
    --border-radius: 8px;
    --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    line-height: 1.2;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
}

p {
    margin-bottom: 1.2rem;
}

ul {
    list-style: none;
}

section {
    padding: 80px 0;
}

.alt-bg {
    background-color: #f0f5ff;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--light-text);
}

.gradient-bg h1, 
.gradient-bg h2, 
.gradient-bg h3 {
    color: var(--light-text);
}

/* Header Styles */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-button {
    background-color: var(--accent-color);
    color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
}

.cta-button:hover {
    background-color: #ff8383;
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

/* Language Selector Styles */
.language-selector {
    position: relative;
    cursor: pointer;
}

.selected-language {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: var(--border-radius);
    border: 1px solid #eee;
}

.selected-language img {
    border-radius: 50%;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    width: 150px;
    overflow: hidden;
    display: none;
    z-index: 10;
}

.language-selector.active .language-dropdown {
    display: block;
    animation: fadeIn 0.3s ease;
}

.language-dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: var(--text-color);
}

.language-dropdown li a:hover {
    background-color: #f5f5f5;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--dark-color);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-menu a {
    color: var(--dark-color);
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.mobile-cta {
    display: none;
}

/* Hero Section */
.hero-section {
    min-height: 500px;
    display: flex;
    align-items: center;
    padding: 100px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    margin-bottom: 20px;
    font-size: 2.8rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-image {
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    transform: perspective(1000px) rotateY(-15deg);
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0);
}

/* ZIP Search Styles */
.zip-search-container {
    margin: 30px 0;
}

.zip-search-form {
    display: flex;
    max-width: 500px;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.zip-search-container.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.zip-search-container.centered .zip-search-form {
    margin: 20px auto 0;
}

.zip-search-form input {
    flex-grow: 1;
    padding: 15px 20px;
    border: none;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.zip-search-form input:focus {
    outline: none;
}

.search-button {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.search-button:hover {
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
}

/* Section Grid */
.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.text-content, .image-content {
    padding: 20px;
}

/* Provider Styles */
.providers-section {
    text-align: center;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.providers-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.provider-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    transition: var(--transition);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.provider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.provider-card img {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.provider-card h3 {
    margin-bottom: 10px;
}

.provider-cta {
    margin-top: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
}

.provider-cta:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Provider Details */
.provider-detail {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    margin-bottom: 30px;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.pros, .cons {
    padding: 15px;
    border-radius: var(--border-radius);
}

.pros {
    background-color: rgba(0, 200, 83, 0.1);
}

.cons {
    background-color: rgba(255, 107, 107, 0.1);
}

.pros h4, .cons h4 {
    margin-bottom: 10px;
}

.pros ul, .cons ul {
    list-style: disc;
    padding-left: 20px;
}

.pros li, .cons li {
    margin-bottom: 5px;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

details {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

summary {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    position: relative;
}

summary::after {
    content: '+';
    font-size: 1.5rem;
    transition: var(--transition);
}

summary.open::after {
    content: '−';
}

details p {
    padding: 0 20px 20px;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

details[open] p {
    max-height: 300px;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-nav a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.disclaimer {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 20px;
}

.copyright {
    font-size: 0.9rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    max-width: 600px;
    width: 90%;
    text-align: center;
}

.search-progress h3 {
    margin-bottom: 20px;
}

.progress-bar {
    height: 10px;
    background-color: #eee;
    border-radius: 5px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    animation: progress 5s ease-in-out forwards;
}

.company-logo-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
}

.company-logo-container img {
    max-height: 50px;
    object-fit: contain;
}

#search-status {
    font-weight: 500;
    color: var(--primary-color);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes progress {
    0% {
        width: 0%;
    }
    50% {
        width: 70%;
    }
    100% {
        width: 100%;
    }
}

/* Neuomorphism effects */
.provider-card {
    background: #f0f5ff;
    box-shadow: 10px 10px 20px #d1d9e6, -10px -10px 20px #ffffff;
    border-radius: 20px;
}

.provider-card:hover {
    box-shadow: 15px 15px 30px #d1d9e6, -15px -15px 30px #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .hero-grid, .section-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-image {
        justify-content: center;
        order: -1;
    }
    
    .hero-image img {
        max-width: 80%;
    }
    
    .pros-cons {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .desktop-only {
        display: none;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background-color: white;
        width: 80%;
        height: calc(100vh - 70px);
        padding: 40px;
        transition: 0.3s;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-cta {
        display: inline-block;
        margin-top: 20px;
        background-color: var(--accent-color);
        color: white;
        padding: 10px 20px;
        border-radius: var(--border-radius);
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .zip-search-form {
        flex-direction: column;
    }
    
    .zip-search-form input, .search-button {
        width: 100%;
        padding: 15px;
    }
    
    .modal-content {
        padding: 20px;
    }
}