/* ====================
   MODERN COLOR THEME
   Color Palette:
   #0c8ea5 - Primary (Deep Teal)
   #ecca49 - Secondary (Golden Yellow)
   #63cacf - Accent 1 (Light Teal)
   #84bc6c - Accent 2 (Soft Green)
   ==================== */

   :root {
    --primary: #0c8ea5;
    --primary-dark: #0a7589;
    --secondary: #ecca49;
    --secondary-light: #f3de8f;
    --accent1: #63cacf;
    --accent2: #84bc6c;
    --dark: #1a202c;
    --darker: #0f141e;
    --light: #f8fafc;
    --light-gray: #e2e8f0;
    --text: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(12, 142, 165, 0.1);
    --shadow-hover: 0 20px 40px rgba(12, 142, 165, 0.2);
}

/* ====================
   BASE STYLES
   ==================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: linear-gradient(135deg, var(--light) 0%, #ffffff 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ====================
   WIDER CONTAINER
   ==================== */

   .container {
    max-width: 1400px; /* Increased from 1200px */
    margin: 0 auto;
    padding: 0 30px; /* Increased side padding */
}

/* For even wider sections if needed */
.wide-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

/* For full-width sections */
.full-width {
    max-width: 100%;
    padding: 0;
}

/* ====================
   TYPOGRAPHY
   ==================== */

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.8rem;
    color: var(--dark);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent1));
    border-radius: 2px;
}


/* NAVIGATION - WHITE WITH SCROLL BLUR - NO EDGES */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    /* Smooth transitions */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* REMOVE ALL SHADOWS AND BORDERS */
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
    
    /* Set minimum height for default state */
    min-height: 50px;
     height: auto;
    
    /* Ensure no background bleed */
    isolation: isolate;
}

/* Container for centering */
.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo styling */
.nav-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

/* Logo image - centered */
.nav-logo img {
    display: block;
    width: 180px;
    height: 180px;
    max-width: 100%;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Remove any image borders/shadow */
    border: none;
    outline: none;
    box-shadow: none;
}

/* 
 * SCROLLED STATE - NO EDGES
 */
.main-nav.scrolled {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 8px 0;
    min-height: 70px !important;
    
    /* REMOVE ALL SHADOWS AND BORDERS */
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}

.main-nav.scrolled .nav-logo {
    padding: 2px 0;
}

.main-nav.scrolled .nav-logo img {
    width: 60px !important;
    height: 60px !important;
    
    /* Remove any image effects */
    filter: none;
    -webkit-filter: none;
}

/* ====================
   REMOVE ALL VISUAL SEPARATORS
   ==================== */

/* Remove any pseudo-elements that might create edges */
.main-nav::before,
.main-nav::after,
.nav-container::before,
.nav-container::after,
.nav-logo::before,
.nav-logo::after {
    content: none !important;
    display: none !important;
}

/* Remove focus outlines */
.main-nav:focus,
.nav-logo:focus,
.nav-logo img:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Remove any browser default styles */
.main-nav {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* ====================
   RESPONSIVE DESIGN
   ==================== */

/* Tablet */
@media (max-width: 1024px) {
    .main-nav {
        padding: 20px 0;
        min-height: 140px;
        box-shadow: none !important;
    }
    
    .nav-logo img {
        width: 180px;
        height: 180px;
    }
    
    .main-nav.scrolled {
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 6px 0;
        min-height: 60px !important;
        box-shadow: none !important;
    }
    
    .main-nav.scrolled .nav-logo img {
        width: 50px !important;
        height: 50px !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .main-nav {
        padding: 15px 20px;
        min-height: 120px;
        box-shadow: none !important;
    }
    
    .nav-logo img {
        width: 150px;
        height: 150px;
    }
    
    .main-nav.scrolled {
        padding: 5px 20px;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        min-height: 50px !important;
        box-shadow: none !important;
    }
    
    .main-nav.scrolled .nav-logo img {
        width: 45px !important;
        height: 45px !important;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .main-nav {
        padding: 12px 15px;
        min-height: 100px;
        box-shadow: none !important;
    }
    
    .nav-logo img {
        width: 130px;
        height: 130px;
    }
    
    .main-nav.scrolled {
        padding: 4px 15px;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        min-height: 45px !important;
        box-shadow: none !important;
    }
    
    .main-nav.scrolled .nav-logo img {
        width: 40px !important;
        height: 40px !important;
    }
}

/* ====================
   EXTRA EDGE REMOVAL
   ==================== */

/* Remove any potential scrollbar interference */
html {
    overflow-x: hidden;
}

body {
    padding-top: 230px;
    margin: 0;
    background: #f8f9fa;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Adjust padding when nav shrinks */
body.nav-scrolled {
    padding-top: 100px;
    transition: padding-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Remove any outline from the page */
html:focus,
body:focus {
    outline: none;
}

/* Ensure content doesn't create edges */
.content {
    background: #ffffff;
    border-radius: 20px 20px 0 0;
    margin-top: -20px;
    position: relative;
    z-index: 1;
    /* Optional: remove content shadow too if you want completely clean */
    /* box-shadow: none; */
}

/* ====================
   BROWSER-SPECIFIC FIXES
   ==================== */

/* Safari specific edge removal */
@supports (-webkit-touch-callout: none) {
    .main-nav {
        -webkit-backdrop-filter: blur(15px);
        -webkit-box-shadow: none !important;
    }
    
    .main-nav.scrolled {
        -webkit-backdrop-filter: blur(5px);
        -webkit-box-shadow: none !important;
    }
}

/* Firefox specific edge removal */
@-moz-document url-prefix() {
    .main-nav {
        border: 0 !important;
        -moz-box-shadow: none !important;
    }
}

/* Edge/IE specific fixes */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .main-nav {
        border: 0 !important;
        box-shadow: none !important;
    }
}


a[href="https://independentbenefitsnetwork.com/ibn-appointment"]:hover {
    background: #FFEBB2 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 215, 0, 0.2) !important;
    border-color: #FFA500 !important;
}

a[href^="tel:"]:hover {
    background: #f8f9fa !important;
    border-color: #0066cc !important;
    border-color: #FFA500 !important;
}


/* ====================
   UPDATED HERO SECTION
   ==================== */

   .hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    border-radius: 30px;
    overflow: hidden;
    margin: 40px auto 80px;
    box-shadow: var(--shadow-hover);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark overlay on left for text readability, lighter on right for image */
    background: linear-gradient(90deg, 
        rgba(12, 142, 165, 0.8) 0%,      /* Stronger on text side */
        rgba(12, 142, 165, 0.4) 40%,     /* Medium opacity */
        transparent 70%);                 /* Clear on image side */
    z-index: 2;
}

/* Optional: Add brightness/contrast to the image itself */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero/hero.png'); /* Your local image */
    background-size: cover;
    background-position: center right 30%;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 0.9;
    filter: brightness(1.1) contrast(1.05); /* Enhance image */
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    padding: 80px 60px;
    color: var(--white);
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 300;
    max-width: 600px;
}

/* Stacked Layout */
.cta-box-stacked {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
    max-width: 400px;
}
/* PHONE */

.phone-top {
    margin-bottom: 10px;
    width: 100%;
}

.phone-btn-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(12, 142, 165, 0.3);
    width: 100%;
    text-align: center;
}

.phone-btn-top:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(12, 142, 165, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

.phone-btn-top i {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.phone-btn-top:hover i {
    transform: scale(1.1);
}

/* Optional: Make phone number more prominent on mobile */
@media (max-width: 768px) {
    .phone-btn-top span {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    .phone-btn-top span::after {
        content: '888-378-9012';
        font-size: 0.9rem;
        font-weight: 500;
        opacity: 0.9;
    }
}

/* Quick fix to center text in buttons */
.phone-btn-top,
.whatsapp-btn-top {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 12px;
}

/* Ensure text spans are also centered */
.phone-btn-top span,
.whatsapp-btn-top span {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ====================
   WHATSAPP CALL STYLES
   ==================== */

/* Option 1: WhatsApp Icon in Phone Box */
.cta-phone {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.6rem;
    color: var(--white);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    padding: 20px 35px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.whatsapp-top {
    text-align: center;
    width: 100%;
}

.whatsapp-call {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #25D366; /* WhatsApp green */
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 10px;
    font-size: 1.4rem;
    /* Remove the blur from the default state */
}

.whatsapp-call:hover {
    background: #128C7E; /* Darker WhatsApp green */
    transform: scale(1.1);
    filter: blur(2px) !important;  /* Apply blur on hover */
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Option 2: Separate WhatsApp Button */
.whatsapp-btn-top {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #25D366;
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.2);
}

.whatsapp-btn-top:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.whatsapp-button i {
    font-size: 1.4rem;
}

/* Option 3: Phone Options Layout */
.phone-options {
    display: flex;
    gap: 20px;
    align-items: center;
}

.whatsapp-option a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(37, 211, 102, 0.2);
}

.whatsapp-option a:hover {
    background: #25D366;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.2);
}

/* WhatsApp Floating Button (Optional) */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    z-index: 999;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.quote-btn-container {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
    .cta-box {
        flex-direction: column;
        gap: 20px;
    }
    
    .phone-options {
        flex-direction: column;
        width: 100%;
    }
    
    .whatsapp-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .whatsapp-call {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .whatsapp-button {
        padding: 15px 25px;
        font-size: 1rem;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
        bottom: 20px;
        left: 20px;
    }
}

@media (max-width: 576px) {
    .cta-phone {
        padding: 15px 25px;
        font-size: 1.3rem;
    }
    
    .whatsapp-call {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        bottom: 15px;
        left: 15px;
    }
}

.cta-phone:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.cta-phone i {
    color: var(--secondary);
    background: var(--white);
    padding: 12px;
    border-radius: 50%;
    font-size: 1.4rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--secondary) 0%, #f8d76e 100%);
    color: var(--dark);
    padding: 22px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(236, 202, 73, 0.3);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(236, 202, 73, 0.4);
    background: linear-gradient(135deg, #f8d76e 0%, var(--secondary) 100%);
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(8px);
}

.hero-features {
    position: absolute;
    right: 60px;
    bottom: 60px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 20px;
    max-width: 380px;
    box-shadow: var(--shadow);
}

.hero-features h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.features-grid-mini {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-size: 0.95rem;
}

.feature-mini i {
    color: var(--accent2);
    font-size: 1.2rem;
    background: rgba(132, 188, 108, 0.1);
    padding: 8px;
    border-radius: 8px;
}

/* ====================
   UPDATED STEPS SECTION
   ==================== */

   .steps-section {
    background: var(--white);
    border-radius: 30px;
    padding: 80px 40px;
    margin-bottom: 80px;
    box-shadow: var(--shadow);
}


.section-title {
    font-size: 2.8rem;
    color: var(--dark);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent1));
    border-radius: 2px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-top: 40px;
}

.step-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    border: 2px solid var(--light-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-shadow: var(--shadow);
}

.step-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent1);
    box-shadow: var(--shadow-hover);
}

.step-image {
    width: 100%;
    height: 220px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 25px;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Use cover to fill the container */
    transition: transform 0.5s ease;
}

.step-card:hover .step-image img {
    transform: scale(1.08);
}

.step-badge {
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.badge-number {
    display: inline-block;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent1) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(12, 142, 165, 0.3);
    font-family: 'Montserrat', sans-serif;
    border: 5px solid var(--white);
    position: relative;
    top: -35px;
    margin-bottom: -20px;
}

.badge-number::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: var(--accent2);
    border-radius: 2px;
    opacity: 0.8;
}

.step-content {
    text-align: center;
    width: 100%;
    padding: 0 10px;
}

.step-card h3 {
    color: var(--dark);
    font-size: 1.7rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center !important; /* Add this */
    width: 100%; /* Ensure it takes full width */
}

.step-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* ====================
   QUOTE SECTION (New)
   ==================== */

  /* ====================
   WIDER QUOTE SECTION
   ==================== */

.quote-section {
    background: linear-gradient(135deg, var(--accent1) 0%, var(--primary) 100%);
    border-radius: 40px; /* Larger radius */
    padding: 100px 80px; /* More padding */
    margin: 100px auto; /* More margin */
    color: var(--white);
    box-shadow: var(--shadow-hover);
    position: relative;
    overflow: hidden;
    max-width: 1400px; /* Control max width */
}

.quote-container {
    position: relative;
    z-index: 2;
    max-width: 1100px; /* Wider container */
    margin: 0 auto;
}

.quote-header {
    text-align: center;
    margin-bottom: 80px; /* More spacing */
}

.quote-header h2 {
    font-size: 3.5rem; /* Larger title */
    margin-bottom: 25px;
    color: var(--white);
    text-shadow: 0 2px 15px rgba(0,0,0,0.2);
}

.quote-header p {
    font-size: 1.6rem; /* Larger text */
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    line-height: 1.7;
    max-width: 800px; /* Wider text block */
    margin: 0 auto;
}

/* WIDER QUOTE FORM */
.quote-form-compact {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 30px; /* Larger radius */
    padding: 70px 60px; /* Much more padding */
    box-shadow: 0 25px 70px rgba(0,0,0,0.2);
    max-width: 1000px; /* Control form width */
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px; /* More gap between fields */
    margin-bottom: 40px;
}

.form-group-compact {
    margin-bottom: 35px; /* More spacing */
}

.form-group-compact label {
    display: block;
    margin-bottom: 15px; /* More space below label */
    font-weight: 700; /* Bolder labels */
    color: var(--dark);
    font-size: 1.2rem; /* Larger labels */
}

.form-group-compact input {
    width: 100%;
    padding: 20px 25px; /* Larger input padding */
    border: 2px solid var(--light-gray);
    border-radius: 15px; /* More rounded */
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem; /* Larger text */
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group-compact input:focus {
    outline: none;
    border-color: var(--accent1);
    box-shadow: 0 0 0 4px rgba(99, 202, 207, 0.3); /* Larger focus shadow */
}

/* Wider Radio Groups */
.radio-group-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* More gap */
    margin-top: 15px;
}

.radio-label {
    display: grid;
    grid-template-columns: auto 1fr; /* ← THIS IS MISSING */
    align-items: center;
    gap: 15px;
    cursor: pointer;
    padding: 18px 25px;
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 15px;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 150px;
}

.radio-label:hover {
    border-color: var(--accent1);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(99, 202, 207, 0.15);
}

.radio-label input[type="radio"] {
    margin: 0;
    width: 22px;
    height: 22px;
    accent-color: var(--primary);
    grid-column: 1;
    align-self: center;
}

.radio-label span {
    font-size: 1.2rem;
    font-weight: 500;
    grid-column: 2;
}

/* Wider Checkbox Groups */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 25px; /* More gap */
    margin: 40px 0; /* More margin */
    padding: 35px 40px; /* More padding */
    background: rgba(132, 188, 108, 0.12);
    border-radius: 20px; /* Larger radius */
    border-left: 5px solid var(--accent2); /* Thicker border */
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 20px; /* More space */
    cursor: pointer;
    padding: 10px 0;
}

.checkbox-item input[type="checkbox"] {
    width: 26px; /* Larger checkboxes */
    height: 26px;
    accent-color: var(--accent2);
}

.checkbox-item span {
    font-weight: 600; /* Bolder */
    color: var(--dark);
    font-size: 1.3rem; /* Larger text */
}

/* Divider Line */
.form-divider {
    height: 3px; /* Thicker line */
    background: linear-gradient(90deg, transparent, var(--accent1), transparent);
    margin: 50px 0; /* More margin */
    position: relative;
}

.form-divider::before {
    content: 'Current Coverage';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    padding: 0 30px; /* More padding */
    font-weight: 700;
    color: var(--primary);
    font-size: 1.4rem; /* Larger text */
}

/* Wider Current Coverage Section */
.current-coverage {
    background: rgba(12, 142, 165, 0.08);
    padding: 40px; /* More padding */
    border-radius: 20px; /* Larger radius */
    margin-bottom: 50px; /* More margin */
}

.current-coverage h3 {
    color: var(--primary);
    margin-bottom: 30px; /* More spacing */
    text-align: center;
    font-size: 1.6rem; /* Larger */
}

.coverage-grid { 
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px; /* More gap */
}

.coverage-field input {
    width: 100%;
    padding: 18px 22px; /* Larger input */
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem; /* Larger text */
    background: var(--white);
}

.coverage-field label {
    display: block;
    margin-bottom: 12px; /* More space */
    font-weight: 600;
    color: var(--text-light);
    font-size: 1.1rem; /* Larger labels */
}

/* Wider Submit Button */
.quote-submit {
    text-align: center;
    margin-top: 50px; /* More margin */
}

.submit-btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* More gap */
    background: linear-gradient(135deg, var(--secondary) 0%, #f8d76e 100%);
    color: var(--dark);
    padding: 26px 80px; /* Much larger button */
    border-radius: 50px;
    border: none;
    font-size: 1.5rem; /* Larger text */
    font-weight: 800; /* Bolder */
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 350px; /* Wider minimum */
    box-shadow: 0 20px 40px rgba(236, 202, 73, 0.4);
    letter-spacing: 0.5px; /* Slight letter spacing */
}

.submit-btn-large:hover {
    transform: translateY(-8px); /* More lift */
    box-shadow: 0 25px 50px rgba(236, 202, 73, 0.5);
    background: linear-gradient(135deg, #f8d76e 0%, var(--secondary) 100%);
}

.submit-btn-large i {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.submit-btn-large:hover i {
    transform: translateX(10px); /* More movement */
}

/* Responsive Adjustments for Wider Layout */
@media (max-width: 1400px) {
    .quote-section {
        max-width: 1200px;
        padding: 80px 60px;
    }
    
    .quote-container {
        max-width: 1000px;
    }
    
    .quote-form-compact {
        max-width: 900px;
        padding: 60px 50px;
    }
}

@media (max-width: 1200px) {
    .quote-section {
        max-width: 1000px;
        padding: 70px 50px;
        border-radius: 35px;
    }
    
    .quote-header h2 {
        font-size: 3rem;
    }
    
    .quote-form-compact {
        max-width: 800px;
        padding: 50px 40px;
    }
    
    .form-row {
        gap: 30px;
    }
    
    .submit-btn-large {
        padding: 24px 60px;
        min-width: 300px;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .quote-section {
        max-width: 850px;
        padding: 60px 40px;
        margin: 80px auto;
    }
    
    .quote-header h2 {
        font-size: 2.5rem;
    }
    
    .quote-header p {
        font-size: 1.4rem;
    }
    
    .quote-form-compact {
        padding: 45px 35px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .radio-group-compact {
        overflow-x: auto;
        padding-bottom: 15px;
    }
    
    .radio-label {
        min-width: 160px;
        padding: 16px 22px;
    }
    
    .coverage-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .quote-section {
        max-width: 700px;
        padding: 50px 30px;
        border-radius: 30px;
        margin: 60px auto;
    }
    
    .quote-header h2 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    
    .quote-header p {
        font-size: 1.2rem;
    }
    
    .quote-form-compact {
        padding: 40px 30px;
        border-radius: 25px;
    }
    
    .form-group-compact label {
        font-size: 1.1rem;
    }
    
    .form-group-compact input {
        padding: 18px 20px;
        font-size: 1.1rem;
    }
    
    .checkbox-group {
        padding: 30px 25px;
    }
    
    .checkbox-item span {
        font-size: 1.2rem;
    }
    
    .form-divider::before {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .submit-btn-large {
        min-width: 280px;
        padding: 22px 50px;
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .quote-section {
        padding: 40px 25px;
        margin: 50px auto;
        border-radius: 25px;
    }
    
    .quote-header h2 {
        font-size: 2rem;
    }
    
    .quote-header p {
        font-size: 1.1rem;
    }
    
    .quote-form-compact {
        padding: 35px 25px;
    }
    
    .radio-label {
        min-width: 130px;
        padding: 14px 20px;
    }
    
    .radio-label span {
        font-size: 1.1rem;
    }
    
    .checkbox-item {
        gap: 15px;
    }
    
    .checkbox-item span {
        font-size: 1.1rem;
    }
    
    .submit-btn-large {
        width: 100%;
        min-width: auto;
        padding: 20px 40px;
    }
}

/* For ultra-wide screens */
@media (min-width: 1600px) {
    .quote-section {
        max-width: 1500px;
        padding: 120px 100px;
    }
    
    .quote-container {
        max-width: 1300px;
    }
    
    .quote-header h2 {
        font-size: 4rem;
    }
    
    .quote-header p {
        font-size: 1.8rem;
        max-width: 900px;
    }
    
    .quote-form-compact {
        max-width: 1200px;
        padding: 80px 70px;
    }
    
    .form-group-compact input {
        padding: 22px 28px;
        font-size: 1.3rem;
    }
    
    .radio-label {
        min-width: 180px;
        padding: 20px 30px;
    }
    
    .submit-btn-large {
        padding: 28px 100px;
        min-width: 400px;
        font-size: 1.6rem;
    }
}
/* ====================
   UPDATED FEATURES SECTION
   ==================== */

   .features-section {
    background: linear-gradient(135deg, var(--light) 0%, #ffffff 100%);
    border-radius: 40px;
    padding: 100px 60px;
    margin-bottom: 100px;
    box-shadow: var(--shadow);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.features-section .section-title {
    font-size: 3.2rem;
    color: var(--primary);
    margin-bottom: 80px;
    text-align: center;
}

.features-section .section-title::after {
    background: linear-gradient(90deg, var(--secondary), var(--accent2));
}

/* Features Grid Layout */
.features-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 50px;
}

/* Left Column - 6 Grid Items */
.features-grid-left {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-item {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 220px;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent1));
}

.feature-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent1);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    background: rgba(12, 142, 165, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.feature-item span {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.5;
}

/* Right Column - Image and Description */
.features-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.feature-image-container {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    height: 500px;
    width: 100%;
    background: var(--light-gray); /* Fallback color */
}

.feature-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%; /* Focus on upper body for people */
    transition: transform 0.6s ease;
}

/* For portrait images (taller than wide) */
.feature-image-container.portrait img {
    object-position: center 25%; /* Adjust for faces */
}

/* For landscape images (wider than tall) */
.feature-image-container.landscape img {
    object-position: center center;
}

.feature-image-container:hover img {
    transform: scale(1.05);
}

/* Image Overlay */
.feature-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(12, 142, 165, 0.9), transparent);
    color: var(--white);
}

.feature-image-overlay h4 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-image-overlay p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Description Box */
.feature-description {
    background: linear-gradient(135deg, var(--accent2) 0%, rgba(132, 188, 108, 0.9) 100%);
    border-radius: 25px;
    padding: 50px 40px;
    color: var(--white);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.feature-description::before {
    content: '"';
    position: absolute;
    top: -30px;
    left: 30px;
    font-size: 10rem;
    font-family: 'Georgia', serif;
    color: rgba(255, 255, 255, 0.1);
    font-weight: bold;
}

.feature-description p {
    font-size: 1.4rem;
    line-height: 1.7;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.feature-description .highlight {
    color: var(--secondary);
    font-weight: 700;
}

.feature-description-author {
    font-style: italic;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    border-left: 3px solid var(--secondary);
    padding-left: 20px;
    margin-top: 20px;
}

/* CTA at Bottom */
.features-cta {
    text-align: center;
    margin-top: 80px;
    padding-top: 60px;
    border-top: 2px solid rgba(12, 142, 165, 0.1);
}

.features-cta h3 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 30px;
    font-weight: 700;
}

.features-cta p {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .features-grid-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .features-right {
        max-width: 800px;
        margin: 0 auto;
    }
    
    .feature-image-container {
        height: 350px;
    }
}

@media (max-width: 992px) {
    .features-section {
        padding: 80px 40px;
    }
    
    .features-section .section-title {
        font-size: 2.8rem;
    }
    
    .features-grid-left {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .feature-item {
        min-height: 200px;
        padding: 30px 25px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 60px 30px;
        border-radius: 30px;
    }
    
    .features-section .section-title {
        font-size: 2.4rem;
        margin-bottom: 60px;
    }
    
    .features-grid-left {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .feature-item {
        min-height: 180px;
        padding: 25px 20px;
    }
    
    .feature-item span {
        font-size: 1.2rem;
    }
    
    .feature-image-container {
        height: 300px;
    }
    
    .feature-description {
        padding: 40px 30px;
    }
    
    .feature-description p {
        font-size: 1.2rem;
    }
    
    .features-cta h3 {
        font-size: 1.8rem;
    }
    
    .features-cta p {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .features-section {
        padding: 50px 25px;
    }
    
    .features-section .section-title {
        font-size: 2rem;
    }
    
    .features-grid-left {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-item {
        min-height: auto;
        padding: 30px 25px;
    }
    
    .feature-image-container {
        height: 250px;
    }
    
    .feature-image-overlay {
        padding: 20px;
    }
    
    .feature-image-overlay h4 {
        font-size: 1.4rem;
    }
    
    .feature-description {
        padding: 35px 25px;
    }
    
    .feature-description p {
        font-size: 1.1rem;
    }
    
    .features-cta {
        margin-top: 60px;
        padding-top: 40px;
    }
    
    .features-cta h3 {
        font-size: 1.6rem;
    }
}

/* ====================
   UPDATED CTA SECTION
   ==================== */

.cta-section {
    margin-bottom: 80px;
}

.cta-banner {
    background: linear-gradient(135deg, var(--accent2) 0%, #9bd184 100%);
    border-radius: 30px;
    padding: 80px 60px;
    text-align: center;
    color: var(--dark);
    box-shadow: var(--shadow);
}

.cta-banner h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: var(--darker);
}

.cta-banner p {
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-button.large {
    padding: 25px 50px;
    font-size: 1.4rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 15px 35px rgba(12, 142, 165, 0.3);
}

.cta-button.large:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    box-shadow: 0 20px 45px rgba(12, 142, 165, 0.4);
}

/* ====================
   UPDATED FORM SECTION
   ==================== */

.form-header {
    text-align: center;
    margin-bottom: 60px;
}

.form-header h1 {
    color: var(--primary);
    font-size: 3rem;
    margin-bottom: 15px;
}

.form-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
}

.form-wrapper {
    background: var(--white);
    border-radius: 25px;
    padding: 60px;
    box-shadow: var(--shadow);
    margin-bottom: 60px;
}

.form-grid {
    display: grid;
    gap: 40px;
}

.form-section {
    background: var(--light);
    padding: 35px;
    border-radius: 20px;
    border-left: 5px solid var(--accent1);
}

.form-section h3 {
    color: var(--primary);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text);
    font-size: 1.1rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent1);
    box-shadow: 0 0 0 3px rgba(99, 202, 207, 0.2);
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.radio-option,
.checkbox-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 15px 20px;
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 180px;
}

.radio-option:hover,
.checkbox-option:hover {
    border-color: var(--accent1);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.submit-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent1) 100%);
    color: var(--white);
    padding: 20px 45px;
    border-radius: 50px;
    border: none;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(12, 142, 165, 0.3);
}

.submit-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(12, 142, 165, 0.4);
}

/* ====================
   QUOTE RESULTS PAGE
   ==================== */

   .quote-results-section {
    background: var(--white);
    border-radius: 30px;
    padding: 60px;
    margin: 40px auto;
    box-shadow: var(--shadow);
    max-width: 1200px;
}

.results-header {
    text-align: center;
    margin-bottom: 50px;
}

.success-icon {
    font-size: 4rem;
    color: var(--accent2);
    margin-bottom: 20px;
}

.results-header h1 {
    color: var(--primary);
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.results-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
}

/* Personal Information */
.personal-info-summary {
    background: var(--light);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
}

.personal-info-summary h2 {
    color: var(--primary);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: var(--white);
    border-radius: 10px;
    border-left: 4px solid var(--accent1);
}

.info-label {
    color: var(--text-light);
    font-weight: 500;
}

.info-value {
    color: var(--dark);
    font-weight: 600;
}

/* Quote Calculation */
.quote-calculation {
    margin-bottom: 50px;
}

.quote-calculation h2 {
    color: var(--primary);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quote-result-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent1) 100%);
    border-radius: 20px;
    padding: 40px;
    color: var(--white);
    box-shadow: var(--shadow);
}

/* Cigna Network Note */
.cigna-note {
    text-align: center;
    margin: 20px 0 15px 0;
    color: var(--white);
    font-size: 1rem;
    opacity: 0.9;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    justify-content: center;
    align-items: center;
}

.cigna-note i {
    color: #2ecc71;
    margin-right: 8px;
}

.result-main {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.monthly-cost, .annual-cost {
    text-align: center;
}

.cost-label {
    display: block;
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.cost-amount {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
}

.cost-period {
    display: block;
    font-size: 1rem;
    opacity: 0.8;
    margin-top: 5px;
}

.result-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-item i {
    font-size: 1.3rem;
}

/* Comparison Table */
.comparison-table {
    margin-bottom: 50px;
}

.comparison-table h2 {
    color: var(--primary);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-container {
    overflow-x: auto;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    -webkit-overflow-scrolling: touch;
}

.rates-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.rates-table th {
    background: var(--primary);
    color: var(--white);
    padding: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap; /* Keep header text in one line */
}

.rates-table th:first-child {
    border-radius: 15px 0 0 0;
}

.rates-table th:last-child {
    border-radius: 0 15px 0 0;
}

.rates-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--light-gray);
    font-size: 1.1rem;
    position: relative;
}

.rates-table tr:last-child td {
    border-bottom: none;
}

.rates-table tr.highlighted {
    background: rgba(12, 142, 165, 0.1);
    font-weight: 600;
}

.rates-table tr.highlighted td:first-child {
    border-left: 4px solid var(--primary);
}

/* CRITICAL: Force currency cells to stay in one line */
.rates-table td:not(:first-child) {
    white-space: nowrap !important; /* Prevent wrapping */
    overflow: visible !important;
    min-width: 140px; /* Ensure enough space for currency */
}

/* Currency display styling */
.currency-display {
    display: inline-block;
    white-space: nowrap;
    font-weight: 600;
    color: #2c3e50;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Remove line breaks and display inline */
.rates-table td:not(:first-child) br {
    display: none; /* Hide line breaks */
}

/* For range display (e.g., $123.00 ~ $456.00) */
.rate-range {
    display: inline-block;
    white-space: nowrap;
}

.rate-range-separator {
    margin: 0 8px;
    color: var(--text-light);
    font-weight: normal;
}

/* Selected plan indicators */
.selected-indicator,
.selected-rate-indicator {
    display: block;
    font-size: 0.8rem;
    margin-top: 8px;
    white-space: nowrap;
}

/* Highlighted cells */
.highlighted-rate {
    background-color: rgba(52, 152, 219, 0.1) !important;
    border: 2px solid #3498db !important;
    border-radius: 8px;
}

.selected-deductible {
    background-color: rgba(46, 204, 113, 0.15) !important;
    border: 2px solid #2ecc71 !important;
    border-radius: 8px;
}

/* ====================
   RESPONSIVE ADJUSTMENTS
   ==================== */

/* Tablet */
@media (max-width: 1024px) {
    .rates-table {
        min-width: 700px;
    }
    
    .rates-table th {
        padding: 16px;
        font-size: 1rem;
    }
    
    .rates-table td {
        padding: 16px;
        font-size: 1rem;
    }
    
    .rates-table td:not(:first-child) {
        min-width: 130px;
        font-size: 0.95rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .rates-table {
        min-width: 600px;
    }
    
    .rates-table th {
        padding: 14px 12px;
        font-size: 0.95rem;
    }
    
    .rates-table td {
        padding: 14px 12px;
        font-size: 0.95rem;
    }
    
    .rates-table td:not(:first-child) {
        min-width: 120px;
        font-size: 0.9rem;
        padding: 12px 10px;
    }
    
    .rate-range-separator {
        margin: 0 4px;
        font-size: 0.9em;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .rates-table {
        min-width: 550px;
    }
    
    .rates-table th {
        padding: 12px 10px;
        font-size: 0.9rem;
    }
    
    .rates-table td {
        padding: 12px 10px;
        font-size: 0.9rem;
    }
    
    .rates-table td:not(:first-child) {
        min-width: 110px;
        font-size: 0.85rem;
        padding: 10px 8px;
    }
    
    /* Compress currency display further */
    .rates-table td:not(:first-child) .currency-display {
        font-size: 0.83rem;
        letter-spacing: -0.2px;
    }
    
    .rate-range-separator {
        margin: 0 3px;
        font-size: 0.85em;
    }
    
    .selected-indicator,
    .selected-rate-indicator {
        font-size: 0.75rem;
        margin-top: 6px;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .rates-table {
        min-width: 500px;
    }
    
    .rates-table th {
        padding: 10px 8px;
        font-size: 0.85rem;
    }
    
    .rates-table td {
        padding: 10px 8px;
        font-size: 0.85rem;
    }
    
    .rates-table td:not(:first-child) {
        min-width: 100px;
        font-size: 0.8rem;
        padding: 8px 6px;
    }
    
    .rates-table td:not(:first-child) .currency-display {
        font-size: 0.78rem;
        letter-spacing: -0.3px;
    }
    
    /* Hide indicators on very small screens */
    .selected-indicator,
    .selected-rate-indicator {
        display: none;
    }
}

/* For large screens - maintain single line */
@media (min-width: 1200px) {
    .rates-table td:not(:first-child) {
        min-width: 150px;
    }
}

/* Ensure horizontal scrolling works smoothly */
.table-container::-webkit-scrollbar {
    height: 8px;
}

.table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb:hover {
    background: #0a8b9c;
}


/* Next Steps */
.next-steps {
    margin-bottom: 50px;
}

.next-steps h2 {
    color: var(--primary);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns by default */
    gap: 30px;
}

.next-steps .step {
    background: var(--light);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    position: relative;
}

.next-steps .step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.next-steps .step h3 {
    color: var(--dark);
    margin: 20px 0 15px;
    font-size: 1.4rem;
}

.next-steps .step p {
    color: var(--text-light);
    line-height: 1.6;
}

.steps-grid .step h3 {
    color: var(--dark);
    font-size: 1.7rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center !important;
    width: 100%;
    align-items: center;
    justify-content: center;
}

/* ====================
   RESPONSIVE LAYOUT
   ==================== */

/* Tablet: 2 columns on top, 3rd card centered below */
@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
        grid-template-rows: auto auto; /* 2 rows */
        gap: 25px;
        max-width: 900px;
        margin: 0 auto;
    }
    
    /* Position the 3rd card to span full width in second row */
    .step:nth-child(3) {
        grid-column: 1 / span 2; /* Span both columns */
        justify-self: center; /* Center horizontally */
        max-width: 500px; /* Limit max width for better appearance */
        width: 100%;
        margin-top: 10px;
    }
}

/* Medium Tablet: Adjust spacing */
@media (max-width: 900px) {
    .steps-grid {
        gap: 20px;
    }
    
    .next-steps .step {
        padding: 25px;
    }
    
    .steps-grid .step h3 {
        font-size: 1.5rem;
    }
}

/* Mobile: Single column with all cards stacked */
@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 25px;
        max-width: 500px;
        margin: 0 auto; /* Center the grid */
    }
    
    /* Reset the 3rd card to normal flow */
    .step:nth-child(3) {
        grid-column: 1; /* Single column */
        max-width: 100%; /* Full width */
        justify-self: stretch; /* Reset to default */
        margin-top: 0;
    }
    
    .next-steps .step {
        padding: 30px 25px;
    }
}

/* Small Mobile: Adjust spacing */
@media (max-width: 480px) {
    .next-steps .step {
        padding: 25px 20px;
    }
    
    .next-steps .step-number {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
        top: -17px;
    }
    
    .next-steps .step h3 {
        font-size: 1.3rem;
        margin: 15px 0 10px;
    }
    
    .steps-grid .step h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .next-steps .step p {
        font-size: 0.95rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .steps-grid {
        gap: 20px;
    }
    
    .next-steps .step {
        padding: 20px 15px;
    }
    
    .next-steps .step-number {
        width: 30px;
        height: 30px;
        font-size: 1rem;
        top: -15px;
    }
    
    .steps-grid .step h3 {
        font-size: 1.3rem;
    }
}

/* Optional: For very large screens */
@media (min-width: 1400px) {
    .steps-grid {
        gap: 40px;
    }
    
    .next-steps .step {
        padding: 40px 35px;
    }
}


/* Action Buttons */
.results-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    border-radius: 15px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.action-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.call-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent1) 100%);
    color: var(--white);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
}

.new-quote-btn {
    background: linear-gradient(135deg, var(--secondary) 0%, #f8d76e 100%);
    color: var(--dark);
}

.action-btn i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.action-btn span {
    font-weight: 700;
    font-size: 1.2rem;
    display: block;
}

.action-btn small {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 5px;
    font-weight: 400;
    display: block;
}

/* Disclaimer */
.results-disclaimer {
    background: rgba(236, 202, 73, 0.1);
    border-radius: 15px;
    padding: 25px;
    border-left: 4px solid var(--secondary);
}

.results-disclaimer p {
    color: var(--text);
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.results-disclaimer i {
    color: var(--secondary);
    font-size: 1.3rem;
    margin-top: 3px;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 40px;
    background: rgba(252, 129, 129, 0.1);
    border-radius: 15px;
    color: #fc8181;
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 20px;
}

.no-results p {
    font-size: 1.2rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .quote-results-section {
        padding: 40px;
    }
    
    .results-header h1 {
        font-size: 2.2rem;
    }
    
    .cost-amount {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .quote-results-section {
        padding: 30px 25px;
        border-radius: 20px;
    }
    
    .result-main {
        flex-direction: column;
        text-align: center;
    }
    
    .result-details {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .rates-table th,
    .rates-table td {
        padding: 15px 10px;
        font-size: 1rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .results-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .results-header h1 {
        font-size: 1.8rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .quote-result-card {
        padding: 30px 20px;
    }
    
    .cost-amount {
        font-size: 2rem;
    }
}

/* ====================
   SUCCESS PAGE
   ==================== */

   /* Simple Version */
.contact-simple {
    background: var(--light);
    border-radius: 20px;
    padding: 40px;
    margin: 50px 0;
    text-align: center;
}

.contact-simple h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.contact-grid-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary);
    background: rgba(12, 142, 165, 0.1);
    padding: 15px;
    border-radius: 50%;
}

.contact-item h4 {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.contact-value {
    color: var(--dark);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.actions-simple {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--light-gray);
}

.btn-simple {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-simple.primary {
    background: var(--primary);
    color: var(--white);
}

.btn-simple.secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-simple:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.success-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
}

.success-card {
    background: var(--white);
    border-radius: 30px;
    padding: 60px;
    text-align: center;
    max-width: 700px;
    box-shadow: var(--shadow-hover);
    border: 2px solid var(--accent1);
}

.success-icon {
    font-size: 5rem;
    color: var(--accent2);
    margin-bottom: 30px;
}

.success-card h1 {
    color: var(--primary);
    margin-bottom: 25px;
    font-size: 2.8rem;
}

.success-message {
    margin-bottom: 40px;
}

.success-message p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.next-steps {
    background: rgba(132, 188, 108, 0.1);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 40px;
    text-align: left;
}

.next-steps h3 {
    color: var(--accent2);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.next-steps ul {
    list-style: none;
    padding-left: 20px;
}

.next-steps li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: var(--text);
}

.next-steps li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent2);
    font-weight: bold;
}

/* ====================
   FOOTER
   ==================== */

.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 40px;
    border-radius: 30px;
    margin-top: 80px;
    text-align: center;
}

.footer p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.footer-note {
    color: var(--accent1);
    font-style: italic;
    margin-top: 20px;
}

/* ====================
   RESPONSIVE DESIGN
   ==================== */

@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .hero {
        min-height: 80vh;
    }
    
    .hero-content {
        padding: 60px 40px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-features {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 40px;
        max-width: 100%;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        margin: 20px auto 60px;
    }
    
    .hero-content {
        padding: 40px 30px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .cta-box {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-phone {
        width: 100%;
        justify-content: center;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }
    
    .badge-number {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        top: -30px;
    }
    
    .form-wrapper {
        padding: 40px 25px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 18px 35px;
        font-size: 1.1rem;
    }
    
    .cta-phone {
        font-size: 1.3rem;
        padding: 15px 25px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .radio-option,
    .checkbox-option {
        min-width: 100%;
    }
    
    .success-card {
        padding: 40px 25px;
    }
    
    .success-card h1 {
        font-size: 2.2rem;
    }
}

/* ====================
   ANIMATIONS
   ==================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 202, 207, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(99, 202, 207, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(99, 202, 207, 0);
    }
}

.step-card,
.feature-item,
.form-section {
    animation: fadeInUp 0.6s ease-out;
}

.badge-number {
    animation: pulse 2s infinite;
}

/* ====================
   UTILITY CLASSES
   ==================== */

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent1 { color: var(--accent1); }
.text-accent2 { color: var(--accent2); }

.bg-primary { background: var(--primary); }
.bg-secondary { background: var(--secondary); }
.bg-accent1 { background: var(--accent1); }
.bg-accent2 { background: var(--accent2); }

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent1) 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* ====================
   SCROLLBAR STYLING
   ==================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary), var(--accent1));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--primary-dark), var(--primary));
}
/* moveup */
/* ====================
   MOVE TO TOP BUTTON
   ==================== */

   .move-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent1) 100%);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(12, 142, 165, 0.3);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.move-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.move-to-top-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(12, 142, 165, 0.4);
}

.move-to-top-btn:active {
    transform: translateY(-2px);
}

/* Tooltip */
.btn-tooltip {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: var(--dark);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.btn-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 20px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--dark) transparent transparent transparent;
}

.move-to-top-btn:hover .btn-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Optional: Pulse animation */
@keyframes pulseMoveTop {
    0% {
        box-shadow: 0 10px 30px rgba(12, 142, 165, 0.3);
    }
    50% {
        box-shadow: 0 10px 30px rgba(12, 142, 165, 0.6);
    }
    100% {
        box-shadow: 0 10px 30px rgba(12, 142, 165, 0.3);
    }
}

.move-to-top-btn.visible {
    animation: pulseMoveTop 2s infinite;
}

/* Optional: Progress circle around button */
.move-to-top-btn::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--accent1);
    animation: spin 2s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.move-to-top-btn:hover::before {
    opacity: 0.5;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .move-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .btn-tooltip {
        font-size: 0.8rem;
        padding: 6px 12px;
        bottom: 60px;
    }
}

@media (max-width: 576px) {
    .move-to-top-btn {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .btn-tooltip {
        display: none; /* Hide tooltip on very small screens */
    }
}

/* For accessibility - focus styles */
.move-to-top-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(12, 142, 165, 0.5);
}

.centered-container-disclosure {
    text-align: center;
}

/* Clean Disclosure Button Styles */
.disclosure-btn {
    background-color: var(--white); /* Button background color */
    border: 2px solid var(--primary); /* Border color */
    color: var(--primary); /* Text color */
    padding: 12px 24px; /* Adjusted padding for a cleaner look */
    border-radius: 50px; /* Rounded edges for a modern look */
    cursor: pointer; /* Pointer cursor */
    font-size: 1rem; /* Font size */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Slight shadow for depth */
    font-family: 'Poppins', sans-serif; /* Consistent font family */
    margin-top: 50px;
}

/* Hover effect */
.disclosure-btn:hover {
    background-color: var(--primary); /* Change background on hover */
    color: var(--white); /* Change text color on hover */
}
/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000; /* Ensure the modal is above other elements */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.6); /* Dark background with opacity for better focus */
}

.modal-content {
    background-color: var(--white); /* Clean white background */
    margin: 10% auto; /* Margin to center the modal */
    padding: 30px 40px; /* Increased padding for a more spacious look */
    border-radius: 12px; /* Rounded corners for a modern touch */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Soft shadow for depth */
    width: 90%; /* Wider modal */
    max-width: 600px; /* Maximum width for larger screens */
}

/* Close button styles */
.close {
    color: var(--primary); /* Close button color */
    position: absolute; /* Use absolute positioning */
    top: 15px; /* Distance from the top */
    right: 20px; /* Distance from the right */
    font-size: 28px;
    font-weight: bold;
    cursor: pointer; /* Pointer cursor */
}


.close:hover,
.close:focus {
    color: #d9534f; /* Change color on hover for visibility */
    text-decoration: none; /* No underline */
}

/* Modal content styles */
.modal-content p {
    color: var(--text); /* Change text color for readability */
    font-size: 1rem; /* Standard font size */
    line-height: 1.5; /* Improved line height for readability */
}

/* ====================
   FEATURES REMINDER - MOBILE RESPONSIVE
   ==================== */

   .features-reminder {
    background: linear-gradient(135deg, var(--light) 0%, #ffffff 100%);
    border-radius: 30px;
    padding: 60px 40px;
    margin-top: 80px;
    box-shadow: var(--shadow);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.features-reminder-title {
    text-align: center;
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--accent1);
}

.feature-item i {
    color: var(--accent2);
    font-size: 1.3rem;
    min-width: 24px; /* Prevents icon from shrinking */
}

.feature-item span {
    font-weight: 500;
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.4;
}

.features-footer {
    text-align: center;
    margin-top: 50px;
}

.features-description {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.form-back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 20px;
    border: 2px solid transparent;
}

.form-back-button:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--accent1);
}

.form-back-button i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.form-back-button:hover i {
    transform: translateX(-5px);
}

/* ====================
   MOBILE RESPONSIVE BREAKPOINTS
   ==================== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .features-reminder {
        padding: 50px 30px;
        margin-top: 60px;
        border-radius: 25px;
    }
    
    .features-reminder-title {
        font-size: 2rem;
        margin-bottom: 35px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .feature-item {
        padding: 18px;
    }
    
    .features-description {
        font-size: 1.1rem;
    }
}

/* Mobile Landscape (576px - 768px) */
@media (max-width: 768px) {
    .features-reminder {
        padding: 40px 25px;
        margin-top: 50px;
        border-radius: 20px;
    }
    
    .features-reminder-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .feature-item {
        padding: 16px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .feature-item i {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .feature-item span {
        font-size: 1rem;
    }
    
    .features-description {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .form-back-button {
        padding: 14px 25px;
        font-size: 1rem;
    }
}

/* Mobile Portrait (Below 576px) */
@media (max-width: 576px) {
    .features-reminder {
        padding: 30px 20px;
        margin-top: 40px;
        border-radius: 15px;
    }
    
    .features-reminder-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
        padding: 0 10px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .feature-item {
        padding: 20px;
        flex-direction: row;
        text-align: left;
        gap: 15px;
    }
    
    .feature-item i {
        font-size: 1.3rem;
        margin-bottom: 0;
    }
    
    .feature-item span {
        font-size: 1.1rem;
    }
    
    .features-footer {
        margin-top: 40px;
    }
    
    .features-description {
        font-size: 1rem;
        padding: 0 5px;
    }
}

/* Small Mobile (Below 400px) */
@media (max-width: 400px) {
    .features-reminder {
        padding: 25px 15px;
        border-radius: 12px;
    }
    
    .features-reminder-title {
        font-size: 1.4rem;
    }
    
    .feature-item {
        padding: 15px;
        gap: 12px;
    }
    
    .feature-item span {
        font-size: 1rem;
    }
    
    .form-back-button {
        width: 100%;
        justify-content: center;
    }
}

/* ====================
   OPTIONAL: ALTERNATIVE MOBILE LAYOUT
   (For better readability on small screens)
   ==================== */

/* Alternative 1: 2 columns with smaller text */
@media (max-width: 768px) and (min-width: 576px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-item {
        flex-direction: row;
        padding: 15px;
        gap: 12px;
    }
    
    .feature-item span {
        font-size: 0.95rem;
    }
}

/* Alternative 2: 3 columns on tablet with wrap */
@media (max-width: 1024px) and (min-width: 769px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
        gap: 10px;
    }
    
    .feature-item span {
        font-size: 1rem;
    }
}

/* ====================
   SPECIAL: For long feature names
   ==================== */

.feature-item.long-text {
    flex-wrap: wrap;
    justify-content: center;
}

.feature-item.long-text span {
    text-align: center;
    flex: 1;
    min-width: 100%;
    margin-top: 8px;
}

/* Apply to specific items if needed */
.feature-item:nth-child(6) { /* Mental health services */
    flex-wrap: wrap;
    justify-content: flex-start;
}

.feature-item:nth-child(6) span {
    flex: 1;
    min-width: calc(100% - 30px);
    margin-top: 8px;
}

/* ====================
   PRINT STYLES
   ==================== */

@media print {
    .features-reminder {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
    
    .feature-item {
        box-shadow: none;
        border: 1px solid #eee;
    }
}

/* MOBILE OVERRIDES FOR INLINE STYLES */
@media (max-width: 768px) {
    .features-reminder > div:first-of-type {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 576px) {
    .features-reminder > div:first-of-type {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        max-width: 350px !important;
        margin: 0 auto !important;
    }
}

.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select {
    width: 100%;
    padding: 18px 50px 18px 22px;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    background: var(--white);
    cursor: pointer;
    appearance: none;
    transition: all 0.3s ease;
    color: var(--text);
}

.custom-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(12, 142, 165, 0.1);
}

.custom-select option {
    padding: 12px;
    font-size: 1rem;
}

.custom-select option[value=""] {
    color: #999;
}

.select-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--primary);
    font-size: 1rem;
}

.custom-select:focus + .select-arrow {
    color: var(--accent);
}

  /* Error message styling */
  .phone-error, .field-error {
    color: #fc8181;
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
}

.phone-error i, .field-error i {
    margin-right: 5px;
}

/* Error state styling */
input.error, select.error, textarea.error {
    border-color: #fc8181 !important;
    box-shadow: 0 0 0 2px rgba(252, 129, 129, 0.2) !important;
}

/* Radio button error styling */
.radio-label.error {
    border: 2px solid #fc8181 !important;
    border-radius: 8px !important;
    padding: 8px !important;
    background-color: rgba(252, 129, 129, 0.05) !important;
}






