/* Pandit Ji Ambulance Service — theme */
:root {
    --pj-teal: #0a3d3d;
    --pj-teal-mid: #0f5c5c;
    --pj-teal-light: #157575;
    --pj-coral: #e85d4c;
    --pj-coral-dark: #c94a3b;
    --pj-gold: #d4a853;
    --pj-cream: #f4f1eb;
    --pj-dark: #0c1210;
    --pj-muted: #5c6f6e;
    --font-display: "Outfit", system-ui, sans-serif;
    --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
    --pj-radius: 14px;
    --pj-shadow: 0 20px 50px rgba(10, 61, 61, 0.18);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--pj-dark);
    background: var(--pj-cream);
    line-height: 1.65;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

.fw-extrabold {
    font-weight: 800;
}

.accent-icon {
    color: var(--pj-gold);
}

.skip-link:focus {
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 1080;
    padding: 0.5rem 1rem;
    background: #fff;
    color: var(--pj-teal);
}

/* Sticky header (full bar: top + nav) */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

/* Header */
.top-bar {
    background: linear-gradient(90deg, var(--pj-teal) 0%, var(--pj-teal-mid) 50%, var(--pj-teal-light) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-compact {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.top-bar-address {
    font-size: 0.68rem;
    line-height: 1.35;
    opacity: 0.95;
}

@media (min-width: 576px) {
    .top-bar-address {
        font-size: 0.78rem;
    }
}

@media (min-width: 992px) {
    .top-bar-address {
        font-size: 0.82rem;
    }
}

.top-bar-phone-link {
    font-size: 0.68rem;
    white-space: nowrap;
}

@media (min-width: 576px) {
    .top-bar-phone-link {
        font-size: 0.8rem;
    }
}

@media (min-width: 992px) {
    .top-bar-phone-link {
        font-size: 0.88rem;
    }
}

.top-bar a:hover {
    color: var(--pj-gold) !important;
}

.main-nav {
    background: rgba(10, 61, 61, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.main-nav-inner {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
}

@media (min-width: 992px) {
    .main-nav-inner {
        padding-top: 0.55rem;
        padding-bottom: 0.55rem;
    }

    .main-nav .navbar-nav .nav-link {
        padding-top: 0.45rem;
        padding-bottom: 0.45rem;
    }
}

.btn-menu-toggler {
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    transition: background 0.2s;
}

.btn-menu-toggler:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-menu-toggler .menu-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
}

.pjas-drawer {
    background: linear-gradient(180deg, #062a2a 0%, #041616 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    max-width: min(360px, 92vw);
}

.pjas-drawer-nav .nav-link {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    border: 1px solid transparent;
}

.pjas-drawer-nav .nav-link:hover,
.pjas-drawer-nav .nav-link:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.pjas-drawer-nav .nav-link.active {
    background: rgba(212, 168, 83, 0.2);
    border-color: rgba(212, 168, 83, 0.45);
    color: #fff;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff !important;
    border: none;
    border-radius: 12px;
}

.btn-whatsapp:hover {
    color: #fff !important;
    filter: brightness(1.05);
}

.navbar-brand .brand-mark {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--pj-coral), var(--pj-coral-dark));
    color: #fff;
    font-size: 1.35rem;
    box-shadow: var(--pj-shadow);
}

.brand-logo-img {
    height: auto;
    width: auto;
    max-height: 55px;
    max-width: min(200px, 54vw);
    object-fit: contain;
}

@media (min-width: 992px) {
    .brand-logo-img {
        max-height: 48px;
        max-width: 240px;
    }
}

.brand-logo-img--drawer {
    max-height: 40px;
    filter: brightness(1.1);
}

.footer-logo {
    height: 44px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.btn-call-hot {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 1.15rem 0.35rem 0.45rem;
    border-radius: 999px;
    background: linear-gradient(145deg, #fffefb 0%, #fff 45%, #fff8f0 100%);
    color: var(--pj-teal) !important;
    border: 2px solid var(--pj-gold);
    font-weight: 700;
    text-decoration: none !important;
    box-shadow:
        0 4px 18px rgba(212, 168, 83, 0.35),
        0 2px 8px rgba(10, 61, 61, 0.12);
    overflow: visible;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-call-hot:hover {
    transform: translateY(-2px);
    box-shadow:
        0 10px 28px rgba(212, 168, 83, 0.45),
        0 4px 12px rgba(232, 93, 76, 0.2);
    color: var(--pj-teal) !important;
}

.btn-call-hot__ring {
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 2px solid rgba(232, 93, 76, 0.35);
    animation: btn-call-pulse 2.2s ease-out infinite;
    pointer-events: none;
}

.btn-call-hot__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pj-coral), var(--pj-coral-dark));
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 4px 14px rgba(232, 93, 76, 0.45);
    position: relative;
    z-index: 1;
}

.btn-call-hot__body {
    position: relative;
    z-index: 1;
    line-height: 1.15;
}

.btn-call-hot__label {
    display: block;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pj-teal-mid);
    opacity: 0.9;
}

.btn-call-hot__num {
    display: block;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--pj-coral-dark);
}

@keyframes btn-call-pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.08);
        opacity: 0;
    }
    100% {
        transform: scale(1.1);
        opacity: 0;
    }
}

.card-service-photo {
    margin: -1px -1px 0 -1px;
    border-radius: var(--pj-radius) var(--pj-radius) 0 0;
    overflow: hidden;
    height: 190px;
}

.card-service-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-service--with-photo .card-service-photo + .card-service-body {
    padding-top: 1.25rem;
}

.about-logo-wrap img {
    max-height: 72px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.brand-mark--sm {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
}

.brand-sub {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.main-nav .nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12);
}

.main-nav .nav-link.active {
    box-shadow: inset 0 0 0 1px rgba(212, 168, 83, 0.5);
}

.btn-cta {
    background: linear-gradient(135deg, var(--pj-coral), var(--pj-coral-dark));
    border: none;
    color: #fff !important;
    font-weight: 700;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(232, 93, 76, 0.35);
}

.btn-cta:hover {
    filter: brightness(1.06);
    color: #fff !important;
    transform: translateY(-1px);
}

/* Hero */
.hero-section {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--pj-teal);
    --hero-image: url("https://images.unsplash.com/photo-1582719478250-c89cae4dc85b?auto=format&fit=crop&w=1920&q=80");
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(10, 61, 61, 0.94) 0%, rgba(10, 61, 61, 0.78) 42%, rgba(15, 92, 92, 0.55) 100%),
        var(--hero-image) center/cover no-repeat;
    z-index: 0;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(212, 168, 83, 0.12), transparent 55%);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.35rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.12;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.hero-title .highlight {
    color: var(--pj-gold);
}

.hero-lead {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.1rem;
    max-width: 34rem;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--pj-radius);
    padding: 1.5rem;
    color: #fff;
}

.hero-stat {
    text-align: center;
    padding: 1rem;
}

.hero-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--pj-gold);
    line-height: 1.2;
}

.hero-stat span {
    font-size: 0.8rem;
    opacity: 0.85;
}

/* Sections */
.section-title {
    font-weight: 800;
    color: var(--pj-teal);
}

.section-sub {
    color: var(--pj-muted);
    max-width: 36rem;
}

.eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pj-coral);
}

.card-service {
    border: none;
    border-radius: var(--pj-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 40px rgba(10, 61, 61, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.card-service:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(10, 61, 61, 0.14);
}

.card-service .card-icon,
.icon-round-sm {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(232, 93, 76, 0.15), rgba(15, 92, 92, 0.12));
    color: var(--pj-teal);
    font-size: 1.35rem;
}

.icon-round-sm {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.card-service .card-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--pj-teal);
}

/* Trust strip */
.trust-strip {
    background: #fff;
    border-top: 1px solid rgba(10, 61, 61, 0.08);
    border-bottom: 1px solid rgba(10, 61, 61, 0.08);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0;
    font-weight: 600;
    color: var(--pj-teal);
}

.trust-item i {
    color: var(--pj-coral);
    font-size: 1.25rem;
}

/* CTA band */
.cta-band {
    background: linear-gradient(135deg, var(--pj-teal-mid), var(--pj-teal));
    border-radius: var(--pj-radius);
    color: #fff;
    padding: 2.5rem;
    box-shadow: var(--pj-shadow);
}

/* Testimonial */
.testimonial-card {
    background: #fff;
    border-radius: var(--pj-radius);
    padding: 1.75rem;
    box-shadow: 0 12px 36px rgba(10, 61, 61, 0.07);
    border-left: 4px solid var(--pj-gold);
    height: 100%;
}

/* Contact page */
.contact-card {
    background: #fff;
    border-radius: var(--pj-radius);
    padding: 1.5rem;
    box-shadow: 0 8px 30px rgba(10, 61, 61, 0.07);
    height: 100%;
}

.map-embed {
    border-radius: var(--pj-radius);
    overflow: hidden;
    min-height: 320px;
    border: none;
    box-shadow: var(--pj-shadow);
}

/* Gallery */
.gallery-card {
    border-radius: var(--pj-radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card:hover img {
    transform: scale(1.06);
}

.gallery-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 61, 61, 0.75), transparent 55%);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

.gallery-card:hover .overlay {
    opacity: 1;
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, #072828 0%, #041616 100%);
}

.footer-cta {
    background: linear-gradient(90deg, var(--pj-coral-dark), var(--pj-coral));
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--pj-gold);
}

.letter-spacing {
    letter-spacing: 0.08em;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Floating call + WhatsApp */
.floating-actions {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.fab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.35rem;
    text-decoration: none;
}

.fab--call {
    background: linear-gradient(135deg, var(--pj-coral), var(--pj-coral-dark));
    animation: pulse-ring 2s ease-out infinite;
}

.fab--wa {
    background: linear-gradient(135deg, #25d366, #128c7e);
    animation: pulse-ring-wa 2s ease-out infinite;
}

.fab:hover {
    color: #fff;
    filter: brightness(1.08);
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(232, 93, 76, 0.45);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(232, 93, 76, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(232, 93, 76, 0);
    }
}

@keyframes pulse-ring-wa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.enquiry-card {
    background: #fff;
    border-radius: var(--pj-radius);
    box-shadow: 0 16px 48px rgba(10, 61, 61, 0.1);
    border: 1px solid rgba(10, 61, 61, 0.08);
    scroll-margin-top: 7rem;
}

.enquiry-card .form-control {
    border-radius: 10px;
    border-color: rgba(10, 61, 61, 0.15);
}

.enquiry-card .form-control:focus {
    border-color: var(--pj-teal-light);
    box-shadow: 0 0 0 0.2rem rgba(15, 92, 92, 0.15);
}

.faq-split .accordion {
    max-width: 100%;
}

/* Page header (inner pages) */
.page-hero {
    background: linear-gradient(135deg, var(--pj-teal) 0%, var(--pj-teal-mid) 100%);
    color: #fff;
    padding: 3rem 0;
}

/* SEO / keyword highlight (bold + brand colour) */
.kw {
    font-weight: 800;
    color: var(--pj-teal-mid);
}
.kw-accent {
    font-weight: 800;
    color: var(--pj-coral-dark);
}

.content-deep {
    background: #fff;
    border-radius: var(--pj-radius);
    box-shadow: 0 12px 40px rgba(10, 61, 61, 0.06);
    padding: 2.5rem 2rem;
    border: 1px solid rgba(10, 61, 61, 0.06);
}

.content-deep h2,
.content-deep h3,
.content-deep h4 {
    color: var(--pj-teal);
    margin-top: 1.75rem;
}

.content-deep h2:first-child,
.content-deep h3:first-child {
    margin-top: 0;
}

.content-deep p {
    text-align: justify;
    color: var(--pj-muted);
    margin-bottom: 1rem;
}

.content-deep p:last-child {
    margin-bottom: 0;
}

.feature-pill {
    background: #fff;
    border-radius: var(--pj-radius);
    padding: 1.5rem;
    height: 100%;
    border: 1px solid rgba(10, 61, 61, 0.08);
    box-shadow: 0 8px 28px rgba(10, 61, 61, 0.05);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-pill:hover {
    border-color: rgba(232, 93, 76, 0.35);
    box-shadow: 0 14px 36px rgba(10, 61, 61, 0.08);
}

.feature-pill .icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.2), rgba(15, 92, 92, 0.12));
    color: var(--pj-teal);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.step-num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--pj-gold);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.area-tags .badge {
    font-weight: 600;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(15, 92, 92, 0.12);
    color: var(--pj-teal);
    border: 1px solid rgba(10, 61, 61, 0.1);
}

.faq-section .accordion-button {
    font-weight: 700;
    color: var(--pj-teal);
}

.faq-section .accordion-button:not(.collapsed) {
    background: rgba(15, 92, 92, 0.08);
    color: var(--pj-teal);
    box-shadow: none;
}

.faq-section .accordion-item {
    border-radius: var(--pj-radius);
    overflow: hidden;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(10, 61, 61, 0.1);
}

.stat-banner {
    background: linear-gradient(135deg, var(--pj-teal) 0%, #0a2e2e 100%);
    color: #fff;
    border-radius: var(--pj-radius);
    padding: 2rem 1.5rem;
}

.stat-banner .stat-val {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    color: var(--pj-gold);
    line-height: 1.1;
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding: 3.5rem 0 4rem;
    }

    .main-nav .btn-cta {
        margin-top: 0.5rem;
        width: 100%;
        text-align: center;
    }
}
