/*
 * Page     : How It Works
 * File     : css/desktop/pages/pagehow.css
 * Loaded by: page-how-it-works.php (mobile + desktop)
 *
 * NOTE: App CTA classes (.appSection, .cta-new-panditt, .cta-heading, .btn-app-download)
 * are also used by page-pricing.php (pagepricing.css) — intentionally duplicated here
 * since each page loads only its own CSS file.
 */

/* ══════════════════════════════════════════
   SECTION WRAPPER
   ══════════════════════════════════════════ */
.main_section {
    background-color: #fff;
}

/* ══════════════════════════════════════════
   SECTION HEADING (shared utility)
   ══════════════════════════════════════════ */
.popular-puja-h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--np-text-dark, #3E2723);
}

/* ══════════════════════════════════════════
   PUJA STEPS — DESKTOP VIEW
   ══════════════════════════════════════════ */
.puja-steps-mobile {
    display: none;
}

.puja_perform_item {
    position: relative;
    padding: 20px 10px;
}

.puja_perform_item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
    margin: 0 auto 12px;
}

.puja_perform_item p {
    font-size: 14px;
    font-weight: 600;
    color: var(--np-text-dark, #3E2723);
    margin: 0;
    line-height: 1.4;
}

/* Connecting arrow line between steps */
.perform_step_line::after {
    content: "";
    position: absolute;
    top: 38px;
    right: -20px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--np-saffron, #F37420), #ef4444);
    z-index: 1;
}

/* ══════════════════════════════════════════
   PUJA STEPS — MOBILE VIEW (video)
   ══════════════════════════════════════════ */
.puja-steps-video {
    width: 100%;
    max-width: 100%;
    display: block;
    border-radius: 12px;
}

.puja-steps-mobile img {
    width: 100%;
}

/* ══════════════════════════════════════════
   CUSTOMER REVIEWS — SWIPER
   ══════════════════════════════════════════ */
.customer_review {
    padding: 8px 0;
}

.review-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    border: 1px solid #f0ebe4;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card p {
    font-size: 14px;
    color: var(--np-text-mid, #6B5B4F);
    line-height: 1.65;
    flex: 1;
}

.card_imges {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.card_imges img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #f0ebe4;
}

.card_imges h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--np-text-dark, #3E2723);
    margin: 0;
}

/* Swiper pagination dots */
.customer-swiper-wrapper .swiper-pagination-bullet {
    background: #d1bfb3;
    opacity: 1;
}

.customer-swiper-wrapper .swiper-pagination-bullet-active {
    background: var(--np-saffron, #F37420);
}

/* ══════════════════════════════════════════
   GOOGLE RATING BADGES
   ══════════════════════════════════════════ */
.google_rating_items {
    padding: 8px;
    text-align: center;
}

.google_rating_items img {
    max-width: 100%;
    height: auto;
}

/* ══════════════════════════════════════════
   APP DOWNLOAD CTA SECTION
   ══════════════════════════════════════════ */
.appSection {
    padding: 0 0 30px;
}

.cta-new-panditt {
    padding: 40px 30px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.left-cta-content-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.left-cta-content {
    width: 100%;
}

.ctaheadcontainer {
    margin-bottom: 12px;
}

.cta-heading {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.button-container {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-app-download {
    display: inline-block;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-app-download img {
    display: block;
    height: 48px;
    width: auto;
}

.btn-app-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 991px) {
    .popular-puja-h2 {
        font-size: 24px;
    }

    .cta-heading {
        font-size: 26px;
    }

    .perform_step_line::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .popular-puja-h2 {
        font-size: 22px;
    }

    /* Show video, hide step grid */
    .puja-steps-decktop {
        display: none !important;
    }

    .puja-steps-mobile {
        display: block;
    }

    .review-card {
        min-height: auto;
        padding: 18px 16px;
    }

    .review-card p {
        font-size: 13px;
    }

    .card_imges h4 {
        font-size: 14px;
    }

    .cta-new-panditt {
        padding: 28px 20px;
        border-radius: 14px;
    }

    .cta-heading {
        font-size: 22px;
    }

    .button-container {
        gap: 12px;
    }

    .btn-app-download img {
        height: 42px;
    }
}

@media (max-width: 480px) {
    .cta-heading {
        font-size: 20px;
    }

    .button-container {
        justify-content: center;
    }
}
