:root {
    --geico-blue: #003685;
    --geico-blue-light: #0045A5;
    --geico-sky: #EBF2FA;
    --bg-light: #F4F6FA;
    --text-dark: #1F2937;
    --text-muted: #4B5563;
    --border-color: #E5E7EB;
    --white: #FFFFFF;
    --green-action: #16A34A;
    --green-action-hover: #15803D;
    --yellow-action: #FDE047;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--geico-blue);
}

h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

/* Buttons */
.btn-primary {
    background-color: var(--green-action);
    color: #fff;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background-color: var(--green-action-hover);
    transform: translateY(-1px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.25rem;
    display: flex;
    justify-content: center;
}

.btn-small {
    padding: 10px 16px;
    font-size: 1rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Navigation - Geico Style */
.navbar {
    background-color: var(--geico-blue);
    padding: 15px 0;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

.logo i {
    color: var(--white);
    font-size: 1.7rem;
}

.logo span {
    color: var(--white);
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    color: var(--white);
    transition: color 0.2s;
    font-size: 1rem;
}

.nav-links a:hover {
    text-decoration: underline;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-color: var(--geico-blue-light);
    position: relative;
    overflow: hidden;
    padding: 60px 0 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-text p {
    color: var(--geico-sky);
    font-size: 1.25rem;
    max-width: 500px;
}

/* Product Tabs in Hero Card */
.product-tabs {
    display: flex;
    background: #f8fafc;
    border-bottom: 2px solid var(--geico-blue);
    border-radius: 8px 8px 0 0;
}

.product-tab {
    flex: 1;
    text-align: center;
    padding: 15px 10px;
    cursor: pointer;
    font-weight: 600;
    color: var(--geico-blue);
    border-right: 1px solid var(--border-color);
}

.product-tab.active {
    background: var(--white);
    border-top: 4px solid var(--geico-blue);
    margin-top: -2px;
}

.product-tab i {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.quote-box {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden;
}

.quote-box-inner {
    padding: 30px;
}

.quote-box h3 {
    color: var(--geico-blue);
    text-align: center;
}

.hero-image {
    display: none; /* Hide the big unsplash image in Geico style hero */
}

/* Features */
.features {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    transition: box-shadow 0.2s;
}

.feature-card:hover {
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--geico-sky);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--geico-blue);
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
}

.cta-container {
    padding: 40px;
    border-radius: 8px;
    background-color: var(--geico-sky);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--geico-blue);
}

.cta-content h2 {
    margin-bottom: 10px;
}

.cta-content p {
    margin-bottom: 0;
    color: var(--text-dark);
}

/* Call Campaign Styles */
.call-btn {
    padding: 10px 24px;
}

.pulse-btn {
    animation: none; /* Remove aggressive mild blink for geico theme, keep it professional */
}

.pulse-btn-large {
    width: 100%;
    font-size: 1.4rem;
    padding: 16px 20px;
    margin-top: 15px;
}

.call-text {
    margin-bottom: 15px !important;
    font-size: 1.05rem;
    text-align: center;
}

.agent-status {
    margin-top: 15px;
    margin-bottom: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--green-action);
    border-radius: 50%;
    display: inline-block;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background-color: var(--geico-blue);
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
}

.footer-col a {
    display: block;
    color: var(--geico-sky);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-col a:hover {
    text-decoration: underline;
    color: var(--white);
}

.brand-col p {
    color: var(--geico-sky);
    margin-top: 15px;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: var(--geico-sky);
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-text {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .hero-text p {
        margin: 0 auto;
    }
    
    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .navbar, .page-header {
        display: none !important;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
