
/* =========================================================
   Varanasipandit.in - About Page
   Professional responsive theme
   ========================================================= */

:root {
    --vp-primary: #8b2f1f;
    --vp-primary-dark: #5f1d14;
    --vp-secondary: #d79a2b;
    --vp-accent: #f2c14e;
    --vp-cream: #fffaf2;
    --vp-soft: #f8f1e7;
    --vp-text: #332821;
    --vp-muted: #74675e;
    --vp-white: #ffffff;
    --vp-border: rgba(139, 47, 31, .12);
    --vp-shadow: 0 18px 50px rgba(72, 37, 21, .10);
    --vp-radius: 22px;
}

/* ---------- Base ---------- */

.about-hero-content,
.about-image-wrapper,
.about-service-card,
.process-card,
.why-about-card,
.about-seo-box,
.accordion,
.about-cta-om,
.about-cta-buttons {
    box-sizing: border-box;
}

.about-hero-content {
    position: relative;
    max-width: 1180px;
    margin: 30px auto 70px;
    padding: 76px 72px;
    overflow: hidden;
    border-radius: 30px;
    color: var(--vp-white);
    background:
        radial-gradient(circle at 85% 20%, rgba(242,193,78,.25), transparent 28%),
        radial-gradient(circle at 15% 90%, rgba(215,154,43,.18), transparent 30%),
        linear-gradient(135deg, var(--vp-primary-dark), var(--vp-primary) 55%, #a94a26);
    box-shadow: 0 24px 60px rgba(95,29,20,.22);
}

.about-hero-content::before {
    content: "ॐ";
    position: absolute;
    right: 45px;
    bottom: -55px;
    font-family: serif;
    font-size: 230px;
    line-height: 1;
    opacity: .07;
    pointer-events: none;
}

.about-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 14px;
    opacity: .9;
}

.about-breadcrumb a {
    color: var(--vp-white);
    text-decoration: none;
    transition: opacity .2s ease;
}

.about-breadcrumb a:hover {
    opacity: .75;
}

.about-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
    color: var(--vp-secondary);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.about-hero-content .about-kicker {
    color: var(--vp-accent);
}

.about-hero-content h1 {
    position: relative;
    max-width: 780px;
    margin: 0 0 20px;
    font-size: clamp(2.2rem, 5vw, 4.1rem);
    line-height: 1.12;
    font-weight: 800;
}

.about-hero-content > p {
    max-width: 760px;
    margin: 0;
    color: rgba(255,255,255,.88);
    font-size: 18px;
    line-height: 1.9;
}

.about-hero-buttons,
.about-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.about-call-btn,
.about-whatsapp-btn,
.about-main-btn,
.why-contact-btn,
.about-final-call,
.about-final-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.about-call-btn,
.about-final-call {
    color: var(--vp-primary-dark);
    background: var(--vp-accent);
}

.about-whatsapp-btn,
.about-final-whatsapp {
    color: var(--vp-white);
    background: #168c58;
}

.about-call-btn:hover,
.about-whatsapp-btn:hover,
.about-main-btn:hover,
.why-contact-btn:hover,
.about-final-call:hover,
.about-final-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(0,0,0,.15);
}

/* ---------- Main sections ---------- */

.container > .row {
    margin-bottom: 75px;
}

.about-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--vp-radius);
    box-shadow: var(--vp-shadow);
}

.about-image-wrapper img {
    display: block;
    width: 100%;
    min-height: 430px;
    object-fit: cover;
}

.about-image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44,18,10,.45), transparent 45%);
    pointer-events: none;
}

.about-image-badge {
    position: absolute;
    z-index: 2;
    left: 22px;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px 18px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 15px;
    color: var(--vp-white);
    background: rgba(40,20,12,.72);
    backdrop-filter: blur(12px);
}

.about-image-badge strong {
    font-size: 30px;
    color: var(--vp-accent);
}

.about-image-badge span {
    font-size: 14px;
    font-weight: 700;
}

.container h2 {
    color: var(--vp-text);
    font-size: clamp(1.75rem, 3vw, 2.65rem);
    line-height: 1.25;
    font-weight: 800;
}

.container p {
    color: var(--vp-muted);
    line-height: 1.85;
}

.about-main-btn,
.why-contact-btn {
    margin-top: 12px;
    color: var(--vp-white);
    background: var(--vp-primary);
}

/* ---------- Section heading ---------- */

.section-heading {
    max-width: 760px;
    margin: 10px auto 42px;
}

.section-heading > span {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--vp-secondary);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin-bottom: 13px;
}

.section-heading p {
    margin: 0 auto;
}

/* ---------- Service cards ---------- */

.about-service-card {
    position: relative;
    height: 100%;
    padding: 31px 28px 27px;
    overflow: hidden;
    border: 1px solid var(--vp-border);
    border-radius: var(--vp-radius);
    background: var(--vp-white);
    box-shadow: 0 10px 35px rgba(61,35,20,.07);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.about-service-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--vp-primary), var(--vp-secondary));
}

.about-service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139,47,31,.22);
    box-shadow: 0 22px 45px rgba(61,35,20,.13);
}

.about-service-number {
    position: absolute;
    top: 18px;
    right: 21px;
    color: rgba(139,47,31,.09);
    font-size: 38px;
    font-weight: 900;
}

.about-service-icon,
.process-icon,
.why-about-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 21px;
    border-radius: 17px;
    color: var(--vp-primary);
    background: linear-gradient(135deg, #fff0d2, #fff8ec);
    font-size: 23px;
}

.about-service-card h3,
.process-card h3,
.why-about-card h3 {
    margin: 0 0 10px;
    color: var(--vp-text);
    font-size: 21px;
    font-weight: 800;
}

.about-service-card p {
    min-height: 76px;
    margin-bottom: 18px;
    font-size: 15px;
}

.about-service-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--vp-primary);
    font-weight: 800;
    text-decoration: none;
}

.about-service-card a i {
    transition: transform .2s ease;
}

.about-service-card a:hover i {
    transform: translateX(4px);
}

/* ---------- Process ---------- */

.process-card {
    position: relative;
    height: 100%;
    padding: 30px 25px;
    border: 1px solid var(--vp-border);
    border-radius: var(--vp-radius);
    background: linear-gradient(180deg, #fff, #fffaf4);
    box-shadow: 0 10px 30px rgba(61,35,20,.06);
}

.process-number {
    position: absolute;
    top: 18px;
    right: 20px;
    color: rgba(139,47,31,.12);
    font-size: 34px;
    font-weight: 900;
}

.process-icon {
    color: var(--vp-white);
    background: var(--vp-primary);
}

.process-card p {
    margin: 0;
    font-size: 15px;
}

/* ---------- Purpose / why section ---------- */

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.why-about-card {
    padding: 26px 23px;
    border: 1px solid var(--vp-border);
    border-radius: 18px;
    background: var(--vp-white);
    box-shadow: 0 10px 30px rgba(61,35,20,.06);
}

.why-about-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
    border-radius: 14px;
}

.why-about-card h3 {
    font-size: 18px;
}

.why-about-card p {
    margin: 0;
    font-size: 14px;
}

/* ---------- SEO content ---------- */

.about-seo-box {
    position: relative;
    margin: 25px auto 75px;
    padding: 42px 46px;
    border: 1px solid rgba(139,47,31,.12);
    border-radius: 25px;
    background:
        radial-gradient(circle at 95% 15%, rgba(215,154,43,.12), transparent 24%),
        var(--vp-soft);
}

.about-seo-box::after {
    content: "ॐ";
    position: absolute;
    right: 25px;
    bottom: 5px;
    color: rgba(139,47,31,.06);
    font-family: serif;
    font-size: 150px;
    pointer-events: none;
}

.about-seo-box h2,
.about-seo-box p {
    position: relative;
    z-index: 1;
}

/* ---------- FAQ ---------- */

#aboutFaq {
    max-width: 900px;
    margin: 0 auto 75px;
}

#aboutFaq .accordion-item {
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--vp-border);
    border-radius: 16px !important;
    background: var(--vp-white);
    box-shadow: 0 7px 22px rgba(61,35,20,.05);
}

#aboutFaq .accordion-button {
    padding: 21px 23px;
    color: var(--vp-text);
    background: var(--vp-white);
    font-weight: 800;
    box-shadow: none;
}

#aboutFaq .accordion-button:not(.collapsed) {
    color: var(--vp-primary);
    background: #fff8ed;
}

#aboutFaq .accordion-button:focus {
    box-shadow: none;
}

#aboutFaq .accordion-body {
    padding: 0 23px 22px;
    color: var(--vp-muted);
    line-height: 1.8;
}

/* ---------- Final CTA ---------- */

.container.text-center:last-of-type {
    margin-bottom: 45px;
}

.about-cta-om {
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    margin: 0 auto 20px;
    border-radius: 50%;
    color: var(--vp-white);
    background: linear-gradient(135deg, var(--vp-primary), var(--vp-secondary));
    font-family: serif;
    font-size: 38px;
    box-shadow: 0 14px 35px rgba(139,47,31,.25);
}

.container.text-center:last-of-type h2 {
    margin-bottom: 10px;
}

.container.text-center:last-of-type p {
    margin-bottom: 0;
}

/* ---------- Floating contact buttons ---------- */

.floating-call,
.floating-whatsapp {
    position: fixed;
    z-index: 999;
    right: 22px;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: var(--vp-white) !important;
    text-decoration: none !important;
    box-shadow: 0 10px 25px rgba(0,0,0,.18);
    transition: transform .2s ease;
}

.floating-call {
    bottom: 92px;
    background: var(--vp-primary);
}

.floating-whatsapp {
    bottom: 23px;
    background: #168c58;
}

.floating-call:hover,
.floating-whatsapp:hover {
    transform: scale(1.08);
}

/* ---------- Mobile ---------- */

@media (max-width: 991.98px) {
    .about-hero-content {
        margin: 20px auto 55px;
        padding: 55px 42px;
    }

    .about-image-wrapper img {
        min-height: 360px;
    }

    .container > .row {
        margin-bottom: 55px;
    }
}

@media (max-width: 767.98px) {
    .about-hero-content {
        padding: 42px 25px;
        border-radius: 22px;
    }

    .about-hero-content::before {
        right: -10px;
        bottom: -35px;
        font-size: 150px;
    }

    .about-hero-content h1 {
        font-size: 2.25rem;
    }

    .about-hero-content > p {
        font-size: 16px;
        line-height: 1.75;
    }

    .about-hero-buttons,
    .about-cta-buttons {
        flex-direction: column;
    }

    .about-call-btn,
    .about-whatsapp-btn,
    .about-final-call,
    .about-final-whatsapp {
        width: 100%;
    }

    .about-image-wrapper img {
        min-height: 300px;
    }

    .about-seo-box {
        padding: 30px 24px;
    }

    .about-seo-box::after {
        font-size: 100px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .floating-call,
    .floating-whatsapp {
        right: 15px;
        width: 52px;
        height: 52px;
    }

    .floating-call {
        bottom: 82px;
    }

    .floating-whatsapp {
        bottom: 18px;
    }
}

@media (max-width: 575.98px) {
    .about-breadcrumb {
        font-size: 12px;
    }

    .about-hero-content h1 {
        font-size: 1.95rem;
    }

    .about-image-badge {
        left: 14px;
        right: 14px;
        bottom: 14px;
    }

    .about-service-card,
    .process-card {
        padding: 26px 22px;
    }

    #aboutFaq .accordion-button {
        padding: 17px;
        font-size: 15px;
    }

    #aboutFaq .accordion-body {
        padding: 0 17px 18px;
        font-size: 14px;
    }
}

/* ---------- Accessibility ---------- */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
