/* ====================================================================
   Insurance Theme CSS
   Specific styling for Health, Motor, and Life Insurance Pages
   ==================================================================== */

/* --- 1. HEALTH INSURANCE THEME --- */
.bg-medical {
    background-color: #2563eb !important;
}

/* The gradient that was failing - now hardcoded with !important */
.bg-gradient-medical {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #172554 100%) !important;
}

/* Individual Plans (Cyan/Teal) */
.bg-gradient-individual {
    background: linear-gradient(135deg, #06b6d4 0%, #0e7490 100%) !important;
}

/* Family Plans (Orange/Warm) */
.bg-gradient-family {
    background: linear-gradient(135deg, #f97316 0%, #c2410c 100%) !important;
}

/* Critical Illness (Red/Danger) */
.bg-gradient-critical {
    background: linear-gradient(135deg, #ef4444 0%, #991b1b 100%) !important;
}

/* Senior Citizen (Purple/Wisdom) */
.bg-gradient-senior {
    background: linear-gradient(135deg, #8b5cf6 0%, #5b21b6 100%) !important;
}


/* --- 2. MOTOR INSURANCE THEME --- */
/* Motor Overview (Deep Blue) */
.bg-gradient-motor, .bg-gradient-primary { 
    /* Fallback added for the index page */
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 50%, #0f172a 100%) !important;
}

/* Bike (Emerald) */
.bg-gradient-bike {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%) !important;
}

/* Car (Royal Blue) */
.bg-gradient-car {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
}

/* Commercial (Slate/Brown) */
.bg-gradient-commercial {
    background: linear-gradient(135deg, #64748b 0%, #334155 100%) !important;
}


/* --- 3. LIFE INSURANCE THEME --- */
.bg-gradient-term {
    background: linear-gradient(135deg, #10b981 0%, #15803d 100%) !important;
}

.bg-gradient-endowment {
    background: linear-gradient(135deg, #eab308 0%, #a16207 100%) !important;
}


/* --- 4. COMPONENT STYLING --- */
/* Feature Cards in Hero sections */
.hero-section .feature-card {
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    border: none;
    border-radius: 1rem;
    padding: 1.5rem;
    height: 100%;
}
.hero-section .feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Table Enhancements */
.comparison-table {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.comparison-table th {
    background-color: #f1f5f9;
    padding: 1.5rem 1rem;
    font-weight: 700;
}
.comparison-table td {
    padding: 1rem;
    vertical-align: middle;
}