/* States We Serve Page Styles */

/* 1. Hero Section */
.states-hero {
    position: relative;
    height: 480px;
    /* Increased height for prominence */
    /* More Prominent Professional Medical/Tech Background */
    background: url('https://upload.wikimedia.org/wikipedia/commons/thumb/1/1a/Blank_US_Map_(states_only).svg/2560px-Blank_US_Map_(states_only).svg.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    /* Bottom shadow for depth */
}

.states-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker Overlay for better contrast */
    background: linear-gradient(135deg, rgba(30, 0, 35, 0.75), rgba(10, 0, 15, 0.8));
    z-index: 1;
}

.states-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.states-hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* Added shadow */
}

.states-hero .text-gradient {
    /* Brighter Gradient */
    background: linear-gradient(to right, #ff9f57, #ffca85);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    /* No shadow on gradient text usually */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    /* Alternative for gradient text */
}

.states-hero p {
    font-size: 20px;
    color: #f0f0f0;
    /* Whiter text */
    margin-bottom: 30px;
    font-weight: 400;
    /* Slightly bolder */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* 2. Intro Section */
.intro-section {
    padding: 80px 0;
    background: #fff;
    text-align: center;
}

.intro-section .section-header {
    max-width: 800px;
    margin: 0 auto 50px;
}

.intro-section h2 {
    font-size: 36px;
    color: #3b0d40;
    margin-bottom: 20px;
}

.intro-section p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
}

/* 3. States Grid Section */
.states-grid-section {
    padding: 60px 0 100px;
    background: #f9f9f9;
}

.states-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.state-card {
    display: block;
    /* Important for anchor */
    text-decoration: none;
    /* Remove underline */
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    /* Soft premium shadow */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.state-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59, 13, 64, 0.12);
    border-color: rgba(240, 124, 36, 0.3);
}

/* Elegant Top Gradient Line */
.state-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #3b0d40, transparent);
    opacity: 0.5;
    transition: opacity 0.3s;
}

.state-card:hover::after {
    background: linear-gradient(90deg, transparent, #f07c24, transparent);
    /* Orange on hover */
    opacity: 1;
}

.state-map-img {
    height: 120px;
    width: auto;
    object-fit: contain;
    margin-bottom: 25px;
    /* Initial State: Elegant grayscale/muted purple */
    filter: grayscale(100%) opacity(0.6) drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: all 0.4s ease;
}

.state-card:hover .state-map-img {
    /* Hover State: Full Color/Brand Orange Tint attempt if standard image, or just vibrant */
    filter: grayscale(0%) opacity(1) drop-shadow(0 8px 12px rgba(240, 124, 36, 0.2));
    transform: scale(1.1);
}

.state-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 10px;
    font-family: 'Poppins', sans-serif;
    /* Ensure clean sans-serif */
    position: relative;
    z-index: 2;
}

.state-detail {
    margin-top: 10px;
    font-size: 15px;
    color: #718096;
    line-height: 1.5;
    opacity: 0.8;
    transform: translateY(0);
    /* Always visible but subtle */
    transition: all 0.3s ease;
}

.state-card:hover .state-detail {
    color: #3b0d40;
    /* Darkens on hover */
    opacity: 1;
}

/* 4. CTA Banner */
.cta-banner {
    /* Darker, richer purple gradient */
    background: linear-gradient(135deg, #2a0930 0%, #401045 100%);
    padding: 80px 0;
    color: #ffffff;
    text-align: center;
    position: relative;
}

.cta-banner h2 {
    font-size: 38px;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-banner p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #f0f0f0;
    opacity: 1;
}

/* Responsiveness */
@media (max-width: 768px) {
    .states-hero h1 {
        font-size: 36px;
    }

    .states-hero p {
        font-size: 16px;
    }

    .states-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 15px;
    }

    .state-card {
        padding: 20px 15px;
    }

    .state-icon {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 28px;
    }

    .state-card h3 {
        font-size: 18px;
    }
}