/* ============================================================
   hero.css — Shared Hero Section Styles for GlobalSIM / Esimsbuy
   Pages: Blog, Track, Contact, About
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@400;500;600;700;800;900&display=swap');

/* ── CSS Variables ── */
:root {
    --hero-grad-start:   #1d9cd8;
    --hero-grad-end:     #00fbff;
    --hero-text:         #ffffff;
    --hero-text-muted:   rgba(255, 255, 255, 0.95);
    --hero-badge-bg:     rgba(255, 255, 255, 0.15);
    --hero-badge-border: rgba(255, 255, 255, 0.25);
    --hero-circle-1:     rgba(255, 255, 255, 0.08);
    --hero-circle-2:     rgba(255, 255, 255, 0.05);
}

/* ============================================================
   BASE HERO
   ============================================================ */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 0;
    text-align: center;
    height: 350px;                /* slider ki exact height */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--hero-grad-start), var(--hero-grad-end));
}

/* ── When banner image is supplied ── */
.page-hero.has-banner {
    background: linear-gradient(135deg, var(--hero-grad-start), var(--hero-grad-end));
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* ── Decorative circles ── */
.page-hero::before,
.page-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.page-hero::before {
    width: 500px;
    height: 500px;
    border: 1px solid var(--hero-circle-1);
    top: -200px;
    left: -100px;
}
.page-hero::after {
    width: 350px;
    height: 350px;
    border: 1px solid var(--hero-circle-2);
    bottom: -120px;
    right: -80px;
}

/* ── Banner image ── */
.page-hero .hero-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    display: block;
}

/* ── Overlay — slider::before jitna ── */
.page-hero .hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

/* ── Hero content ── */
.page-hero .hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================================
   BADGE
   ============================================================ */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--hero-badge-bg);
    border: 1px solid var(--hero-badge-border);
    color: var(--hero-text);
    font-family: "Mulish", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 1rem;
    backdrop-filter: blur(8px);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.15),
        0 0 20px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* ============================================================
   HEADING — slider h2 jitna
   ============================================================ */
.hero-heading {
    font-family: "Mulish", sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--hero-text);
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow:
        0 1px 0  rgba(255, 255, 255, 0.15),
        0 2px 6px  rgba(0, 0, 0, 0.40),
        0 8px 24px rgba(0, 0, 0, 0.25),
        0 16px 48px rgba(0, 0, 0, 0.15),
        0 0  80px rgba(0, 200, 255, 0.20);
}

/* ============================================================
   SUBTITLE — slider p jitna
   ============================================================ */
.hero-subtitle {
    font-family: "Mulish", sans-serif;
    font-size: 1.2rem;
    color: var(--hero-text-muted);
    max-width: 800px;
    margin: 0 auto 0;
    line-height: 1.7;
    opacity: 0.95;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.35),
        0 4px 12px rgba(0, 0, 0, 0.20);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .page-hero {
        height: 350px;
    }
    .hero-heading {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .page-hero {
        height: 350px;
    }
    .hero-content {
        padding: 1.5rem;
    }
    .hero-heading {
        font-size: clamp(1.6rem, 6vw, 2rem);
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
}