/* --- STATE PAGE SPECIFIC CSS --- */

.state-hero-section {
    background-color: #ffffff;
}

/* Left Side (Text & Image) */
.state-hero-left {
    background-color: #ffffff;
    justify-content: flex-start;
}


.suranna-regular {
  font-family: "Suranna", serif;
  font-weight: 400;
  font-style: normal;
}


/* Regional Watermark Typography - Overlap fixed */
.regional-watermark {
    font-family:'DM Sans', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.5;
    margin-bottom: -15px; /* Pushed lower so it doesn't heavily overlap English text */
    position: relative;
    z-index: 1;
    
    /* Removed user-select: none; so it is now fully copiable! */
    
    /* Very light greenish gradient for the text */
    background: linear-gradient(135deg, #e8ebee 0%, #d1fae5 100%); /* Light grey to very soft mint green */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback */
}

.state-headline {
    font-family: 'DM Sans', sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

/* Image Fading & Wrapper */
.state-hero-img-wrapper {
    margin-top: 20px;
}

.state-hero-fade {
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    z-index: 1;
}

.state-hero-img {
    display: block;
    object-fit: cover;
    object-position: top center;
    max-height: 480px;
}

/* --- FLOATING BADGES MARQUEE (Hero Image) --- */
.state-hero-marquee-wrapper {
    bottom: 20px; /* Floats slightly above the bottom edge of the image */
    left: 0;
    overflow: hidden;
    z-index: 3;
    /* Un-interactable as requested */
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    /* Soft fade on left and right edges for smooth enter/exit */
    mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 5%, rgba(0,0,0,1) 95%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 5%, rgba(0,0,0,1) 95%, rgba(0,0,0,0) 100%);
}

.state-hero-marquee-track {
    display: flex;
    width: max-content;
    animation: scrollStateHeroMarquee 25s linear infinite;
}

.state-hero-badge-group {
    display: flex;
    gap: 16px;
    padding-right: 16px;
}

/* Dark Glassmorphism Styling for Individual Badges */
.state-hero-badge {
    background: rgba(15, 23, 42, 0.75); /* Dark slate semi-transparent */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle premium border */
    border-radius: 8px; /* Slightly squared edges like the reference */
    padding: 12px 20px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 14.5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.state-hero-badge i {
    color: #ffffff;
    opacity: 0.9;
}

@keyframes scrollStateHeroMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Adjustments for Mobile */
@media (max-width: 767.98px) {
    .state-hero-marquee-wrapper {
        bottom: 15px;
    }
    .state-hero-badge {
        padding: 10px 16px;
        font-size: 13px;
    }
    .state-hero-marquee-track {
        animation-duration: 20s; /* Slightly faster on small screens */
    }
}

/* Calculator Promo Card */
.calc-promo-card {
    background-color: #f0fdf4; /* Very light mint green */
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    /* Removed the background-color transition, kept it static */
}

.calc-promo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
}

.calc-promo-title {
    font-family: 'DM Sans', sans-serif;
    color: #0c0e1b;
    font-weight: 700;
}

/* Base transition for the link text */
.calc-promo-link {
    transition: color 0.3s ease;
}

/* Only change the link to a darker green when hovering over the card */
.calc-promo-card:hover .calc-promo-link {
    color: #15803d !important; /* Darker Vanguard Green */
}

/* --- MOBILE RESPONSIVE TWEAKS --- */
@media (max-width: 991.98px) {
    .regional-watermark {
        font-size: 3rem;
        margin-bottom: -10px;
    }
    .state-headline {
        font-size: 36px;
    }
    .state-stats-pagination {
        bottom: 4px !important;
    }
    .state-stats-pagination .swiper-pagination-bullet {
        background-color: #ffffff;
        opacity: 0.4;
    }
    .state-stats-pagination .swiper-pagination-bullet-active {
        opacity: 1;
    }
}








/* --- ZERO INVESTMENT SECTION --- */
.zero-investment-section {
    background-color: #0f1322; /* Very deep navy matching the reference */
}

/* Ensure Poppins class overrides to white */
.zero-investment-section .section-heading-poppins {
    color: #ffffff !important;
}

.zi-subline {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    line-height: 1.5;
}

/* System Size Selection Cards */
.size-card {
    background-color: #1e263d; /* Lighter navy card background */
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.size-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

/* When Hidden Radio is Checked -> Highlight the Card */
.size-radio:checked + .size-card {
    border-color: #58FF00; /* Bright green highlight matching reference */
    background-color: rgba(88, 255, 0, 0.05);
}
.size-radio:checked + .size-card .size-title {
    color: #58FF00; 
}

/* Tenure Selection Card */
.tenure-card {
    display: inline-block;
    background-color: #1e263d;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tenure-radio:checked + .tenure-card {
    border-color: #58FF00; /* Bright green highlight */
    color: #58FF00;
}

/* Bottom Savings Banner */
.total-savings-banner {
    background-color: #1a2754; /* Deep rich blue */
}

/* Hide scrollbar for mobile horizontal scrolling */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
