/* * HealthInsuranceCalculators.com - Premium Stylesheet
 * Medical Vibe | VIP Design | Mobile Friendly
 */
html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Screen se bahar jane wale elements ko hide karega */
    -webkit-text-size-adjust: 100%; /* iOS zoom fix */
}

/* Mobile Friendly Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Side padding taaki text edges se na chipke */
    box-sizing: border-box;
}

/* Force elements to stay inside on small screens */
img, svg, video {
    max-width: 100%;
    height: auto;
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0D6EFD;
    --primary-dark: #0a58ca;
    --secondary: #0dcaf0;
    --accent: #f8f9fa;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f1f5f9;
    --white: #ffffff;
    --gradient-vip: linear-gradient(135deg, #0D6EFD 0%, #0dcaf0 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HERO SECTION --- */
.hero {
    padding: 80px 0;
    background: radial-gradient(circle at top right, #e0f2fe, #ffffff);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    background: var(--gradient-vip);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subhead {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 550px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: var(--gradient-vip);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(13, 110, 253, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    margin-left: 15px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.live-activity {
    margin-top: 25px;
    font-size: 0.9rem;
    color: #10b981;
    font-weight: 500;
}

.hero-illustration svg {
    width: 100%;
    max-width: 450px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* --- CALCULATOR CARDS --- */
.calculators { padding: 80px 0; background: var(--bg-light); }

h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
}

h2 span { color: var(--primary); }

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.calc-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.calc-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.calc-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.card-btn {
    margin-top: 20px;
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

/* --- COUNTRIES & BADGES --- */
.country-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.country-item {
    background: var(--white);
    padding: 15px 20px;
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    font-weight: 500;
}

.badge {
    font-size: 0.65rem;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: 700;
}

.badge.active { background: #dcfce7; color: #166534; }
.badge.coming { background: #f1f5f9; color: #64748b; }

/* --- FAQ & FORM --- */
.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: var(--white);
    border: none;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    border-bottom: 1px solid #edf2f7;
}

.newsletter-card {
    transition: transform 0.3s ease;
}
.newsletter-card:focus-within {
    transform: scale(1.02); /* Input click karte hi card thoda bada hoga */
}
#newsletterMsg {
    animation: fadeIn 0.5s ease-in;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content { order: 2; }
    .hero-illustration { order: 1; }
    .hero-subhead { margin: 0 auto 35px auto; }
    .hero-stats { justify-content: center; }
}

@media (max-width: 480px) {
    .hero-ctas { display: flex; flex-direction: column; gap: 15px; }
    .btn-outline { margin-left: 0; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form button { width: 100%; }
}
@media (max-width: 600px) {
    .hero-grid, .card-grid, .features-grid, .country-grid {
        display: block !important; /* Grid ko hata kar simple list bana dega */
        width: 100%;
    }

    .calc-card, .feature-card, .country-item {
        width: 100% !important;
        margin-bottom: 15px;
    }

    h1 {
        font-size: 28px !important; /* Mobile ke liye bada font size adjust */
    }
}
@media (max-width: 991px) {
    .hero-illustration {
        display: none !important;
    }
}