/* ===== BASE ===== */
:root {
    --gold: #c89b3c;
    --saffron: #9b6a1a;
    --bg: #fbf8f2;
    --card: #ffffff;
    --text: #3b2a10;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

#heroSection {
    cursor: pointer;
}

/* ===== HERO 1 ===== */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 80px 8%;
    color: #fff;
    background: url("../img/header4.png") center/cover no-repeat;
    /* will be overridden on mobile */
    transition: background 0.6s ease-in-out;
    position: relative;
}

.hero-content {
    max-width: 560px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero-content h1 span {
    color: #f59b0e;
}

.hero-content p {
    font-size: 17px;
    margin-bottom: 30px;
}

.hero-btn {
    display: inline-block;
    padding: 14px 36px;
    background: #f59b0e;
    color: #7a3b00;
    font-weight: 600;
    text-decoration: none;
    border-radius: 40px;
}

/* ===== THUMBNAILS ===== */
.thumbnails {
    background: #fff;
    padding: 20px 16px;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
}

.thumbnails::-webkit-scrollbar {
    display: none;
}

.thumbnails img {
    flex: 0 0 auto;
    width: 82px;
    height: 82px;
    object-fit: cover;
    border-radius: 14px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform .3s ease, border-color .3s ease;
}

.thumbnails img:hover {
    transform: scale(1.05);
    border-color: #f59b0e;
}

@media (min-width: 769px) {
    .thumbnails {
        justify-content: center;
        overflow-x: visible;
    }
}

@media (max-width: 768px) {
    .hero {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 30px;
    }
}

/* ===== FLOATING MUTE ===== */
.floating-mute {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: #f59b0e;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    z-index: 9999;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

@media (hover: hover) {
    .floating-mute:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
    }
}

.floating-mute:active {
    transform: scale(0.92);
}

@media (max-width: 480px) {
    .floating-mute {
        width: 46px;
        height: 46px;
        font-size: 20px;
        bottom: 16px;
        right: 16px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .floating-mute {
        width: 48px;
        height: 48px;
        font-size: 21px;
        bottom: 18px;
        right: 18px;
    }
}

@media (min-width: 769px) {
    .floating-mute {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }
}

@media (min-width: 1440px) {
    .floating-mute {
        width: 56px;
        height: 56px;
        font-size: 24px;
        bottom: 24px;
        right: 24px;
    }
}

.floating-mute {
    color: #fff;
}

/* ===== HERO 2 (divine-hero) ===== */
.divine-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    background:
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
        url("../img/punya_saarthi_hero2.png");
    background-size: cover, cover;
    background-position: center, center;
    background-attachment: fixed;
    background-repeat: no-repeat, no-repeat;
}

.divine-hero .hero-content {
    max-width: 820px;
    color: #fff;
    font-family: 'Tiro Devanagari Hindi', serif;
}

.divine-hero .hero-content .line-one {
    font-size: 26px;
    opacity: 0.95;
    margin-bottom: 12px;
}

.divine-hero .hero-content .line-two {
    font-size: 38px;
    margin-bottom: 30px;
    line-height: 1.4;
}

.hero-divider {
    width: 120px;
    height: 3px;
    background: linear-gradient(to right, #f59b0e, #ffd27a);
    margin: 0 auto 26px;
    border-radius: 20px;
}

.hero-brand {
    font-size: 48px;
    font-weight: 700;
    color: #f59b0e;
    letter-spacing: 2px;
    font-family: 'Poppins', sans-serif;
}

.hero-sub {
    font-size: 14px;
    letter-spacing: 1px;
    margin-top: 8px;
    color: #f3d8a8;
}

@media (max-width: 768px) {
    .divine-hero {
        min-height: 55vh;
        background-attachment: scroll;
    }

    .divine-hero .hero-content .line-one {
        font-size: 20px;
    }

    .divine-hero .hero-content .line-two {
        font-size: 28px;
    }

    .hero-brand {
        font-size: 34px;
    }
}

@media (min-width: 1400px) {
    .divine-hero .hero-content .line-two {
        font-size: 44px;
    }

    .hero-brand {
        font-size: 56px;
    }
}

/* ============================================================
       MOBILE FIX — FULL-BLEED HERO IMAGE WITH READABLE TEXT
       (replaces old "contain + aspect-ratio + padding:0" version
       which produced letterbox bars and low-contrast text)
       ============================================================ */

/* ---- Hero 1 (fixed for mobile) ---- */
@media (max-width: 768px) {
    .hero {
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        min-height: 65vh;
        aspect-ratio: unset;
        padding: 40px 6% !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom,
                rgba(0, 0, 0, 0.35),
                rgba(0, 0, 0, 0.6));
        z-index: 1;
        pointer-events: none;
    }

    .hero-content {
        max-width: 100%;
        margin-top: 208px;
    }

    .hero-content h1 {
        font-size: 26px;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-btn {
        padding: 12px 28px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 50vh;
        padding: 32px 6% !important;
    }

    .hero-content h1 {
        font-size: 22px;
    }

    .hero-content p {
        font-size: 14px;
        margin-bottom: 22px;
    }
}

/* ---- Hero 2 (divine-hero with gradient) ---- */
@media (max-width: 768px) {
    .divine-hero {
        /* image + gradient both stretch to fill container */
        /*background-size: 100% 100%, 100% 100% !important;*/
        background-position: center, center !important;
        background-attachment: scroll !important;
        background-repeat: no-repeat, no-repeat !important;
        min-height: 55vh;
    }
}

/* ===== REST OF THE PAGE (unchanged) ===== */

.category-section {
    padding: 60px 4%;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 28px;
}

.category-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.category-img {
    width: 100%;
    height: 150px;
    border-radius: 16px;
    background-color: #f5f5f5;
    background-size: cover;
    background-position: center;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    position: relative;
    overflow: hidden;
}

.category-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.25));
}

.category-card h3 {
    font-size: 18px;
    font-weight: 600;
}

.category-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.category-card a {
    font-size: 14px;
    color: #ff7a00;
    font-weight: 600;
    text-decoration: none;
    width: max-content;
}

.category-card a:hover {
    text-decoration: underline;
}

@media (max-width: 1200px) {
    .category-grid {
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .category-card {
        min-width: 220px;
    }
}

.section {
    max-width: 1200px;
    margin: auto;
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 38px;
    font-weight: 600;
    color: var(--saffron);
}

.section-subtitle {
    text-align: center;
    max-width: 640px;
    margin: 12px auto 60px;
    font-size: 16px;
    color: #6b5a3a;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.step {
    background: var(--card);
    border-radius: 22px;
    padding: 38px 28px 42px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: transform .35s ease, box-shadow .35s ease;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.svg-number {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
}

.step h3 {
    font-size: 20px;
    color: var(--saffron);
    margin-bottom: 10px;
}

.step p {
    font-size: 15px;
    line-height: 1.7;
    color: #5a4a2d;
}

.auth {
    margin-top: 70px;
    background: linear-gradient(135deg, #fff4dc, #fdf1cf);
    border-radius: 26px;
    padding: 50px 30px;
}

.auth h4 {
    text-align: center;
    font-size: 28px;
    color: var(--saffron);
    margin-bottom: 30px;
}

.auth ul {
    max-width: 760px;
    margin: auto;
    list-style: none;
    padding: 0;
}

.auth li {
    font-size: 16px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth li::before {
    content: "✦";
    color: var(--gold);
    font-size: 18px;
}

/* SEVA */
.seva-section {
    position: relative;
    background: #FFF6DF;
    padding: clamp(60px, 8vw, 120px) 20px;
    overflow: hidden;
}

.gold-divider {
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #B07A12, transparent);
    margin: 0 auto clamp(40px, 6vw, 70px);
    border-radius: 2px;
}

.shloka-watermark {
    position: absolute;
    left: 50%;
    top: 65%;
    transform: translate(-50%, -50%);
    font-family: 'Noto Serif Devanagari', serif;
    font-size: clamp(1.6rem, 4vw, 3.6rem);
    font-weight: 500;
    color: rgba(176, 122, 18, 0.18);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    z-index: 3;
    letter-spacing: 1.5px;
}

.seva-container {
    position: relative;
    z-index: 4;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.seva-section h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: #B07A12;
    font-weight: 600;
}

.seva-text {
    margin-top: 16px;
    max-width: 680px;
    margin-inline: auto;
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    color: #6B5A3C;
}

.seva-grid {
    margin-top: clamp(40px, 6vw, 70px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(18px, 3vw, 32px);
}

.seva-card {
    background: #FFFFFF;
    border-radius: 18px;
    overflow: hidden;
    flex-direction: column;
    box-shadow: 0 12px 32px rgba(176, 122, 18, 0.12);
    transition: transform .3s ease, box-shadow .3s ease;
}

.seva-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(176, 122, 18, 0.22);
}

.seva-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #2b1a0a;
}

.seva-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.seva-card span {
    padding: 16px;
    font-weight: 500;
    color: #7A0B0B;
    font-size: clamp(0.95rem, 2.5vw, 1rem);
    text-align: center;
}

.seva-note {
    margin-top: clamp(40px, 6vw, 70px);
    font-size: clamp(0.85rem, 2.3vw, 0.95rem);
    color: #6B5A3C;
    font-style: italic;
    position: relative;
    z-index: 5;
}

.ask-pandit {
    display: inline-block;
    margin-top: 16px;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    color: #7A0B0B;
    text-decoration: none;
    border-bottom: 1px solid rgba(122, 11, 11, 0.4);
    font-weight: 500;
}

.ask-pandit:hover {
    color: #B07A12;
    border-color: #B07A12;
}

@media (max-width: 360px) {
    .shloka-watermark {
        top: 70%;
        letter-spacing: 1px;
    }
}

@media (min-width: 1600px) {
    .seva-container {
        max-width: 1400px;
    }
}

/* MANTRA */
.mantra-section {
    position: relative;
    padding: clamp(80px, 10vw, 140px) 20px;
    background: linear-gradient(180deg, #FFF6DF 0%, #FFF1CC 100%);
    overflow: hidden;
    text-align: center;
}

.mantra-divider {
    width: 140px;
    height: 3px;
    margin: 0 auto 50px;
    background: linear-gradient(90deg, transparent, #B07A12, transparent);
    border-radius: 2px;
}

.mantra-section::before {
    content: "ॐ";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(10rem, 30vw, 22rem);
    color: rgba(176, 122, 18, 0.08);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.mantra-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: auto;
}

.mantra-text {
    font-family: 'Noto Serif Devanagari', serif;
    font-size: clamp(1.6rem, 4.5vw, 3rem);
    color: #7A0B0B;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 1.5px;
}

.mantra-meaning {
    margin-top: 24px;
    font-size: clamp(0.95rem, 2.6vw, 1.1rem);
    color: #6B5A3C;
    max-width: 720px;
    margin-inline: auto;
}

.mantra-action {
    margin-top: 36px;
}

.mantra-action a {
    display: inline-block;
    padding: 12px 28px;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    color: #7A0B0B;
    text-decoration: none;
    border: 1px solid rgba(122, 11, 11, 0.4);
    border-radius: 999px;
    transition: all .3s ease;
}

.mantra-action a:hover {
    background: #7A0B0B;
    color: #fff;
}

@media (max-width: 480px) {
    .mantra-meaning {
        margin-top: 18px;
    }
}

/* WHY */
.why-section {
    padding: clamp(80px, 10vw, 140px) 20px;
    background: linear-gradient(180deg, #FFFDF6 0%, #FFF6DF 100%);
}

.why-container {
    max-width: 1400px;
    margin: auto;
    text-align: center;
}

.why-heading {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: #7A0B0B;
    font-weight: 600;
}

.why-subtext {
    margin-top: 14px;
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    color: #6B5A3C;
    max-width: 760px;
    margin-inline: auto;
}

.why-grid {
    margin-top: clamp(40px, 6vw, 70px);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(18px, 2vw, 28px);
}

.why-card {
    background: #ffffff;
    padding: 34px 24px;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(176, 122, 18, 0.12);
    transition: transform .3s ease, box-shadow .3s ease;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(176, 122, 18, 0.22);
}

.why-img {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #B07A12;
}

.why-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-card p {
    font-size: clamp(0.9rem, 2.4vw, 1rem);
    color: #4A3B25;
    font-weight: 500;
    line-height: 1.5;
}

.why-footer {
    margin-top: clamp(50px, 7vw, 80px);
    font-size: clamp(1rem, 2.8vw, 1.2rem);
    color: #7A0B0B;
    font-weight: 600;
}

@media (max-width: 1200px) {
    .why-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 420px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* FINAL CTA */
.final-cta {
    position: relative;
    padding: clamp(80px, 10vw, 140px) 20px;
    text-align: center;
    overflow: hidden;
    color: #fff;
}

.final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/cta_book56.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.final-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
}

.final-cta-inner {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: auto;
}

.final-cta-line {
    font-size: clamp(1.4rem, 4vw, 2.4rem);
    font-weight: 600;
    line-height: 1.4;
}

.final-cta-btn {
    display: inline-block;
    margin-top: clamp(26px, 4vw, 38px);
    padding: 14px 38px;
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    font-weight: 500;
    color: #7A0B0B;
    background: #fff;
    text-decoration: none;
    border-radius: 999px;
    transition: transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.final-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

@media (max-width: 480px) {
    .final-cta-btn {
        padding: 12px 30px;
    }
}




/* =========================================
   CATEGORY SECTION
========================================= */

.category-section {
    width: 100%;
    padding: 10px 30px 40px;
    box-sizing: border-box;
    background: #ffffff;
}

.category-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 48px;
}


/* =========================================
   CATEGORY CARD
========================================= */

.category-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}


/* =========================================
   IMAGE - 1:1 SQUARE
========================================= */

.category-image {
    width: 100%;
    aspect-ratio: 1 / 1;

    display: block;

    object-fit: cover;

    border-radius: 8px;

    margin: 0 0 28px 0;
}


/* =========================================
   CONTENT
========================================= */

.category-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}


/* =========================================
   TITLE
========================================= */

.category-content h3 {
    margin: 0 0 34px 0;

    font-family: Arial, sans-serif;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 700;

    color: #111111;
}


/* =========================================
   DESCRIPTION
========================================= */

.category-content p {
    margin: 0;

    max-width: 300px;

    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;

    color: #657487;
}


/* =========================================
   READ ALL
========================================= */

.read-more {
    display: inline-block;

    width: fit-content;

    margin-top: auto;
    padding-top: 36px;

    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1;

    color: #ff6500;

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;

    cursor: pointer;

    transition: color 0.2s ease;
}

.read-more:hover {
    color: #d94f00;
}


/* =========================================
   TABLET
   1100px AND BELOW
========================================= */

@media (max-width: 1100px) {

    .category-section {
        padding: 10px 25px 35px;
    }

    .category-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 35px;
        row-gap: 45px;
    }

    .category-image {
        margin-bottom: 22px;
    }

    .category-content h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .category-content p {
        max-width: 100%;
        font-size: 15px;
        line-height: 1.45;
    }

    .read-more {
        margin-top: 25px;
        padding-top: 0;
    }
}


/* =========================================
   MOBILE
   600px AND BELOW
========================================= */

@media (max-width: 600px) {

    .category-section {
        width: 100%;
        padding: 10px 16px 30px;
    }

    .category-container {
        width: 100%;

        grid-template-columns: 1fr;

        gap: 40px;
    }


    /* Square image */

    .category-image {
        width: 100%;
        aspect-ratio: 1 / 1;

        object-fit: cover;

        border-radius: 8px;

        margin-bottom: 18px;
    }


    /* Title */

    .category-content h3 {
        margin: 0 0 14px 0;

        font-size: 20px;
        line-height: 1.3;
    }


    /* Description */

    .category-content p {
        width: 100%;
        max-width: 100%;

        margin: 0;

        font-size: 15px;
        line-height: 1.5;
    }


    /* Read All */

    .read-more {
        margin-top: 20px;
        padding-top: 0;

        font-size: 15px;
    }


    /* Hide manual desktop break */

    .desktop-break {
        display: none;
    }
}


/* =========================================
   SMALL MOBILE
   400px AND BELOW
========================================= */

@media (max-width: 400px) {

    .category-section {
        padding-left: 14px;
        padding-right: 14px;
    }

    .category-container {
        gap: 35px;
    }

    .category-content h3 {
        font-size: 19px;
    }

    .category-content p {
        font-size: 14px;
        line-height: 1.5;
    }

    .read-more {
        font-size: 14px;
    }
}