/* ========================================
   PALMER INSURANCE AGENCY - MAIN STYLESHEET
   CLEANED VERSION WITH FIXED Z-INDEX STACKING
   FIXED GAP ISSUE - COMPLETE VERSION
   ======================================== */

/* ========================================
   RESET & BASE STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========================================
   TOP BAR
   ======================================== */

.top-bar {
    background: linear-gradient(to right, #1e3a8a, #0f172a);
    color: white;
    padding: 0.8rem 0;
    font-size: 1rem;
    position: sticky;
    top: 0;
    z-index: 1001;
}

.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.top-bar-left {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.top-bar-phone {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.top-bar-phone:hover {
    color: #fbbf24;
}

.top-bar-email {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.top-bar-email:hover {
    color: #fbbf24;
}

.top-bar-states {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.95;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.states-label {
    white-space: nowrap;
    flex-shrink: 0;
}

.states-carousel-wrapper {
    position: relative;
    overflow: hidden;
    flex: 1;
    min-width: 0;
    mask-image: linear-gradient(to right, transparent, black 20px, black calc(100% - 20px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 20px, black calc(100% - 20px), transparent);
}

.states-carousel {
    display: flex;
    animation: scrollStates 25s linear infinite;
    width: fit-content;
}

.state-name {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0 1.5rem;
    color: white !important;
}

@keyframes scrollStates {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.states-carousel:hover {
    animation-play-state: paused;
}

/* ========================================
   NAVIGATION STYLES
   All navigation styling is in navigation.php
   DO NOT add navigation styles here
   ======================================== */

/* ========================================
   NOTICE BAR (Homepage) - UNIFIED WITH PAGE HEADERS
   ======================================== */

.notice-bar {
    background: linear-gradient(to right, #3b82f6, #1e3a8a);
    color: white;
    padding: 1rem 0;
    position: relative;
    z-index: 1;
    text-align: center;
    margin: 0;
}

.notice-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.notice-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.notice-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.notice-content a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.notice-content a:hover {
    color: #fbbf24;
}


/* ========================================
   PAGE HEADER (State Pages, City Pages, Insurance Pages)
   ======================================== */

.page-header {
    background: linear-gradient(to right, #3b82f6, #1e3a8a);
    color: white;
    padding: 1rem 0;
    text-align: center;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* CRITICAL GAP FIX - Force no gap between page elements */
.page-header + *,
.notice-bar + *,
header + * {
    margin-top: 0 !important;
}

/* Force header.page-header to have absolutely no top spacing */
header.page-header {
    margin: 0 !important;
    margin-top: 0 !important;
    padding-top: 1rem !important;
    display: block !important;
}

/* Ensure container inside header has no top margin */
header.page-header .container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Force elements before header to have no bottom spacing */
nav + header.page-header,
.notice-bar + header.page-header {
    margin-top: 0 !important;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn-primary {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1e3a8a;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border: 2px solid white;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    color: #1e3a8a;
}

.btn-white {
    background: white;
    color: #1e3a8a;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-white:hover {
    background: #d4d4d8;
    transform: translateY(-2px);
}

/* ========================================
   SECTIONS
   ======================================== */

.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #fbbf24);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   CARD GRIDS
   ======================================== */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.coverage-card,
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
    color: inherit;
    display: block;
}

.coverage-card:hover,
.service-card:hover {
    transform: translateY(-8px);
    border-color: #3b82f6;
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.2);
}

.coverage-card h3,
.service-card h3 {
    font-size: 1.5rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.coverage-card p,
.service-card p {
    color: #64748b;
    margin-bottom: 1rem;
}

.coverage-card ul,
.service-card ul {
    list-style: none;
    margin-bottom: 1rem;
}

.coverage-card ul li,
.service-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #64748b;
}

.coverage-card ul li:before,
.service-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Service Card Animations */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    transition: height 0.5s ease;
    z-index: 0;
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    color: white;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #3b82f6;
    transition: all 0.5s ease;
    display: inline-block;
}

.service-card:hover .service-icon {
    color: #fbbf24;
    transform: scale(1.1) rotateY(180deg);
}

.service-card:hover h3 {
    color: white;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.service-card:hover ul li {
    color: rgba(255, 255, 255, 0.9);
}

.service-card:hover ul li:before {
    color: #fbbf24;
}

/* ========================================
   SPECIALIZED CARD GRIDS
   ======================================== */

/* Base styles for all specialty card grids */
.religious-orgs-grid,
.business-types-grid,
.retail-types-grid,
.restaurant-types-grid,
.ranch-types-grid,
.professional-types-grid,
.farm-types-grid,
.vehicle-types-grid,
.industrial-types-grid,
.home-coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Base card styles */
.religious-org-card,
.business-type-card,
.retail-type-card,
.restaurant-type-card,
.ranch-type-card,
.professional-type-card,
.farm-type-card,
.vehicle-type-card,
.industrial-type-card,
.home-coverage-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    cursor: default;
}

.religious-org-card:hover,
.business-type-card:hover,
.retail-type-card:hover,
.restaurant-type-card:hover,
.ranch-type-card:hover,
.professional-type-card:hover,
.farm-type-card:hover,
.vehicle-type-card:hover,
.industrial-type-card:hover,
.home-coverage-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-color: #1e3a8a;
}

.religious-org-card h3,
.business-type-card h3,
.retail-type-card h3,
.restaurant-type-card h3,
.ranch-type-card h3,
.professional-type-card h3,
.farm-type-card h3,
.vehicle-type-card h3,
.industrial-type-card h3,
.home-coverage-card h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #1e3a8a;
    font-weight: 600;
    transition: color 0.3s ease;
}

.religious-org-card:hover h3,
.business-type-card:hover h3,
.retail-type-card:hover h3,
.restaurant-type-card:hover h3,
.ranch-type-card:hover h3,
.professional-type-card:hover h3,
.farm-type-card:hover h3,
.vehicle-type-card:hover h3,
.industrial-type-card:hover h3,
.home-coverage-card:hover h3 {
    color: #0f172a;
}

/* Health Benefits Grid */
.health-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.health-benefit-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    cursor: default;
}

.health-benefit-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-color: #1e3a8a;
}

.health-benefit-card .benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #3b82f6;
    transition: all 0.3s ease;
}

.health-benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

.health-benefit-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    color: #1e3a8a;
    font-weight: 600;
    transition: color 0.3s ease;
}

.health-benefit-card:hover h3 {
    color: #0f172a;
}

.health-benefit-card p {
    margin: 0;
    font-size: 1rem;
    color: #64748b;
    line-height: 1.5;
}

/* ========================================
   LIFE INSURANCE PAGE
   ======================================== */

.comparison-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.comparison-table {
    overflow-x: auto;
    margin-top: 2rem;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
}

.comparison-table th {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.comparison-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    color: #64748b;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover {
    background: #f8fafc;
}

.comparison-table .check-mark {
    color: #10b981;
    font-weight: bold;
    font-size: 1.3rem;
}

.coverage-card .best-for {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #e2e8f0;
    color: #1e3a8a;
    font-size: 0.95rem;
}

/* ========================================
   STATE LANDING PAGES
   ======================================== */

.wv-info-section {
    background: white;
    padding: 4rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.15);
}

.info-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.info-card h3 {
    font-size: 1.5rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.info-card p {
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.info-card ul {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.info-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #64748b;
    line-height: 1.5;
}

.info-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.info-card ul li strong {
    color: #1e3a8a;
}

.info-link {
    display: inline-block;
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.info-link:hover {
    color: #1e3a8a;
    transform: translateX(5px);
}

/* Cities Section */
.cities-section {
    background: white;
    padding: 4rem 0;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.city-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.city-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-color: #1e3a8a;
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
}

.city-card h3 {
    font-size: 1.3rem;
    color: #1e3a8a;
    margin-bottom: 0.25rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.city-card:hover h3 {
    color: white;
}

.city-card p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    transition: color 0.3s ease;
}

.city-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Why Choose Section */
.why-choose {
    padding: 4rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: #3b82f6;
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.15);
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.benefit-card h3 {
    font-size: 1.4rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Hero CTA Buttons */
.hero-cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* ========================================
   CTA SECTIONS
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   FLOATING CONTACT BUTTON
   ======================================== */

.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    }
    50% {
        box-shadow: 0 8px 40px rgba(16, 185, 129, 0.5);
        transform: scale(1.1);
    }
    100% {
        box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    }
}

.floating-contact:hover {
    transform: scale(1.2);
    animation: none;
}

/* ========================================
   FADE-IN ANIMATION
   ======================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   INSURANCE PARTNERS CAROUSEL
   ======================================== */

.insurance-partners {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.partners-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.partners-title {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.partners-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.partners-carousel-wrapper {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 100%;
}

.partners-carousel {
    display: flex !important;
    flex-wrap: nowrap !important;
    animation: scrollLogos 30s linear infinite;
    width: fit-content;
}

.partner-logo {
    flex: 0 0 auto !important;
    margin: 0 2rem;
    padding: 1.5rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-width: 180px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 100px;
    border: 2px solid transparent;
    position: relative;
}

.partner-logo:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
}

.partner-logo img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(0%) opacity(1);
    transition: all 0.3s ease;
    display: block;
}

.partner-logo:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

.partner-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e3a8a;
    text-align: center;
    display: none;
}

.partner-logo.image-failed .partner-name {
    display: block;
}

.partner-logo.image-failed img {
    display: none;
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partners-carousel:hover {
    animation-play-state: paused;
}

/* ========================================
   HERO BACKGROUND SLIDER
   ======================================== */

.hero-section {
    position: relative;
    padding: 0;
    overflow: hidden;
    min-height: 400px;
    margin: 0;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-bg-slide.active {
    opacity: 1;
}

.hero-bg-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-bg-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.hero-slider-nav:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.hero-slider-nav.prev {
    left: 2rem;
}

.hero-slider-nav.next {
    right: 2rem;
}

.hero-slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.hero-content {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    min-height: 350px;
    padding: 2rem 0;
}

.hero-text {
    background: rgba(59, 130, 246, 0.35);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    padding: 2rem 2.5rem;
    max-width: 550px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.hero-text h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.hero-text p {
    font-size: 1.05rem;
    color: white;
    margin-bottom: 1.2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-text p:last-child {
    margin-bottom: 0;
}

/* ========================================
   FOOTER
   ======================================== */

footer {
    background: #0f172a;
    color: white;
    text-align: center;
    padding: 3rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: #fbbf24;
    transform: translateY(-2px);
}

.footer-contact {
    margin-top: 1rem;
    font-size: 0.95rem;
}

.footer-contact a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #fbbf24;
}

/* ========================================
   MOBILE RESPONSIVE STYLES
   ======================================== */

@media (max-width: 768px) {
    .page-header {
        padding: 1rem 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .top-bar-container {
        padding: 0 1rem;
        gap: 0.75rem;
    }
    
    .top-bar-left {
        gap: 1rem;
    }
    
    .top-bar-phone {
        font-size: 0.95rem;
    }
    
    .top-bar-email {
        display: none;
    }
    
    .top-bar-states {
        font-size: 0.85rem;
    }
    
    .section {
        padding: 3rem 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .coverage-card,
    .service-card {
        padding: 1.75rem;
    }
    
    .service-icon {
        font-size: 3rem;
    }
    
    .religious-orgs-grid,
    .business-types-grid,
    .retail-types-grid,
    .restaurant-types-grid,
    .ranch-types-grid,
    .professional-types-grid,
    .farm-types-grid,
    .vehicle-types-grid,
    .industrial-types-grid,
    .home-coverage-grid,
    .health-benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .religious-org-card,
    .business-type-card,
    .retail-type-card,
    .restaurant-type-card,
    .ranch-type-card,
    .professional-type-card,
    .farm-type-card,
    .vehicle-type-card,
    .industrial-type-card,
    .home-coverage-card,
    .health-benefit-card {
        padding: 1.5rem 1rem;
    }
    
    .religious-org-card h3,
    .business-type-card h3,
    .retail-type-card h3,
    .restaurant-type-card h3,
    .ranch-type-card h3,
    .professional-type-card h3,
    .farm-type-card h3,
    .vehicle-type-card h3,
    .industrial-type-card h3,
    .home-coverage-card h3 {
        font-size: 1.1rem;
    }
    
    .health-benefit-card h3 {
        font-size: 1.2rem;
    }
    
    .health-benefit-card .benefit-icon {
        font-size: 2.5rem;
    }
    
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.8rem 0.5rem;
    }
    
    .comparison-table th {
        font-size: 0.85rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .cities-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .city-card {
        padding: 1.25rem;
    }
    
    .city-card h3 {
        font-size: 1.15rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta-buttons .btn-primary,
    .hero-cta-buttons .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-white {
        width: 100%;
        text-align: center;
    }
    
    .floating-contact {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
        font-size: 1.35rem;
    }
    
    .partners-title {
        font-size: 1.75rem;
    }
    
    .partners-subtitle {
        font-size: 1rem;
    }
    
    .partner-logo {
        min-width: 140px;
        height: 80px;
        margin: 0 1rem;
        padding: 1rem;
    }
    
    .partner-name {
        font-size: 0.95rem;
    }
    
    .hero-content {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-text {
        max-width: 100%;
        padding: 2rem;
    }

    .hero-slider-nav.prev {
        left: 1rem;
    }

    .hero-slider-nav.next {
        right: 1rem;
    }

    .hero-slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .hero-slider-dots {
        bottom: 1rem;
    }
    
    .footer-links {
        gap: 1.5rem;
        flex-direction: column;
    }
    
    .footer-content {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .religious-orgs-grid,
    .business-types-grid,
    .retail-types-grid,
    .restaurant-types-grid,
    .ranch-types-grid,
    .professional-types-grid,
    .farm-types-grid,
    .vehicle-types-grid,
    .industrial-types-grid,
    .home-coverage-grid,
    .health-benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cities-grid {
        grid-template-columns: 1fr;
    }
    
    .info-icon,
    .benefit-icon {
        font-size: 2.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 2rem;
    }
}
/* === PIA Logo Styling === */
.pia-logo {
  height: auto;
  max-height: 60px;
  max-width: 200px;
  width: auto;
  display: block;
}

.logo-section {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
}
@media (max-width: 768px) {
  .pia-logo {
    max-height: 45px;
  }

  .logo-section {
    padding: 0.25rem 0.5rem;
  }
}
  .logo-section {
    padding: 0.25rem 0.5rem;
  }
}

.logo-wrapper {
  max-height: 60px;
  overflow: hidden;
  display: flex;
  align-items: center;
}