/* ================================================================
   assets/css/pages.css — Mahalaxmi Rider
   Shared styles for inner pages (page-hero, breadcrumb, step cards,
   mission/vision cards, about stats, service detail rows, etc.)
   Imported by each page-specific CSS file.
================================================================ */

/* ── Page Hero ─────────────────────────────────────────────── */
.page-hero {
    margin-top: 69px;               /* navbar height */
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    padding: 60px 0;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        rgba(10,10,10,.82) 0%,
        rgba(10,10,10,.60) 55%,
        rgba(10,10,10,.35) 100%
    );
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
}

.page-hero-title {
    font-family: var(--ff-d);
    font-weight: 900;
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    line-height: .97;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: -.5px;
    margin-bottom: var(--sp-3);
}

.page-hero-title .r { color: var(--red); }

.page-hero-sub {
    font-size: 15px;
    color: rgba(255,255,255,.75);
    line-height: 1.7;
    max-width: 420px;
}

/* ── Breadcrumb ────────────────────────────────────────────── */
.page-breadcrumb {
    --bs-breadcrumb-divider-color: rgba(255,255,255,.4);
    --bs-breadcrumb-item-active-color: rgba(255,255,255,.6);
}

.page-breadcrumb .breadcrumb-item a {
    color: rgba(255,255,255,.8);
    font-family: var(--ff-d);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color var(--t);
}

.page-breadcrumb .breadcrumb-item a:hover { color: var(--red); }

.page-breadcrumb .breadcrumb-item.active,
.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    font-family: var(--ff-d);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ── About Stats Banner ─────────────────────────────────────── */
.astat-card {
    padding: var(--sp-7) var(--sp-5);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: var(--t);
}

.astat-card:hover {
    border-color: var(--red-border);
    box-shadow: var(--sh-md);
    transform: translateY(-3px);
}

.astat-ic {
    width: 52px;
    height: 52px;
    background: var(--red-soft);
    border-radius: var(--r);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 22px;
    margin: 0 auto var(--sp-4);
    transition: var(--t);
}

.astat-card:hover .astat-ic {
    background: var(--red);
    color: var(--white);
}

.astat-num {
    font-family: var(--ff-d);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--black);
    line-height: 1;
    margin-bottom: var(--sp-2);
}

.astat-lbl {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Mission / Vision Cards ─────────────────────────────────── */
.mv-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: var(--sp-8);
    height: 100%;
    transition: var(--t);
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--border);
    transition: background var(--t);
}

.mv-card:hover { box-shadow: var(--sh-md); }
.mv-card:hover::before { background: var(--red); }

.mv-card--red {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.mv-card--red::before { background: rgba(255,255,255,.3); }
.mv-card--red:hover::before { background: rgba(255,255,255,.6); }

.mv-icon {
    width: 56px;
    height: 56px;
    background: var(--red-soft);
    border-radius: var(--r);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 24px;
    margin-bottom: var(--sp-5);
    transition: var(--t);
}

.mv-card--red .mv-icon {
    background: rgba(255,255,255,.2);
    color: var(--white);
}

.mv-title {
    font-family: var(--ff-d);
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: var(--sp-4);
}

.mv-card--red .mv-title { color: var(--white); }

.mv-text {
    font-size: 14px;
    line-height: 1.78;
    color: var(--muted);
    margin: 0;
}

.mv-card--red .mv-text { color: rgba(255,255,255,.85); }

/* ── Services — Detail Row ──────────────────────────────────── */
.svc-detail-img-wrap {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--sh-lg);
}

.svc-detail-img-wrap img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}

.svc-detail-img-wrap:hover img { transform: scale(1.04); }

.svc-detail-badge {
    position: absolute;
    bottom: var(--sp-5);
    right: var(--sp-5);
    width: 52px;
    height: 52px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    box-shadow: var(--sh-r);
}

.svc-feat {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.svc-feat i {
    color: var(--red);
    font-size: 13px;
    flex-shrink: 0;
}

.svc-price-row {
    display: flex;
    align-items: center;
    gap: var(--sp-5);
    flex-wrap: wrap;
}

.svc-price-tag {
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
}

.svc-price-tag strong {
    font-family: var(--ff-d);
    font-size: 28px;
    font-weight: 900;
    color: var(--red);
    margin: 0 2px;
}

.svc-price-tag span {
    font-size: 12px;
    color: var(--muted);
}

@media(max-width:767px) {
    .svc-detail-img-wrap img { height: 220px; }
}

/* ── How It Works — Step Cards ──────────────────────────────── */
.step-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--sp-7) var(--sp-6);
    height: 100%;
    text-align: center;
    transition: var(--t);
    position: relative;
}

.step-card:hover {
    border-color: var(--red-border);
    box-shadow: var(--sh-md);
    transform: translateY(-4px);
}

.step-num {
    font-family: var(--ff-d);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--red);
    margin-bottom: var(--sp-4);
    text-transform: uppercase;
}

.step-ic {
    width: 52px;
    height: 52px;
    background: var(--red-soft);
    border-radius: var(--r);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 22px;
    margin: 0 auto var(--sp-4);
    transition: var(--t);
}

.step-card:hover .step-ic {
    background: var(--red);
    color: var(--white);
}

.step-title {
    font-family: var(--ff-d);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: var(--sp-2);
}

.step-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

/* ── Fleet — Requirement Cards ──────────────────────────────── */
.req-card {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-4);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--sp-5);
    height: 100%;
    transition: var(--t);
}

.req-card:hover {
    border-color: var(--red-border);
    box-shadow: var(--sh-sm);
}

.req-ic {
    width: 42px;
    height: 42px;
    background: var(--red-soft);
    border-radius: var(--r);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 17px;
    flex-shrink: 0;
    transition: var(--t);
}

.req-card:hover .req-ic {
    background: var(--red);
    color: var(--white);
}

.req-title {
    font-family: var(--ff-d);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: var(--sp-1);
}

.req-desc {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
}

/* ── Contact — Quick Contact Strip ─────────────────────────── */
.qc-strip {
    background: var(--off-white);
    border-bottom: 1px solid var(--border);
    padding: var(--sp-6) 0;
}

.qc-card {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--sp-5);
    text-decoration: none;
    color: inherit;
    transition: var(--t);
    width: 100%;
}

.qc-card:hover {
    border-color: var(--red-border);
    box-shadow: var(--sh-md);
    transform: translateY(-2px);
    color: inherit;
}

.qc-card--green .qc-ic { background: #e8fdf1; color: #25D366; }
.qc-card--green:hover { border-color: rgba(37,211,102,.3); }

.qc-ic {
    width: 48px;
    height: 48px;
    background: var(--red-soft);
    border-radius: var(--r);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 20px;
    flex-shrink: 0;
}

.qc-label {
    font-family: var(--ff-d);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 3px;
}

.qc-value {
    font-family: var(--ff-d);
    font-size: 16px;
    font-weight: 800;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: .3px;
}

/* ── Contact — FAQ Accordion ────────────────────────────────── */
.faq-item {
    background: var(--white);
    border: 1px solid var(--border) !important;
    border-radius: var(--r-lg) !important;
    margin-bottom: var(--sp-3);
    overflow: hidden;
}

.faq-btn {
    font-family: var(--ff-d);
    font-size: 15px;
    font-weight: 700;
    color: var(--black);
    background: var(--white);
    padding: var(--sp-5) var(--sp-6);
    box-shadow: none !important;
    text-transform: uppercase;
    letter-spacing: .3px;
    border: none;
}

.faq-btn:not(.collapsed) {
    color: var(--red);
    background: var(--white);
}

.faq-btn::after {
    filter: none;
    color: var(--red);
}

.faq-body {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.75;
    padding: 0 var(--sp-6) var(--sp-5);
    background: var(--white);
}

/* ── Fleet — f-count badge ──────────────────────────────────── */
.f-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: rgba(0,0,0,.12);
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    margin-left: 4px;
    line-height: 1;
    vertical-align: middle;
    transition: var(--t);
}

.f-btn.active .f-count {
    background: rgba(255,255,255,.25);
}

/* ── Responsive tweaks ──────────────────────────────────────── */
@media(max-width:767px) {
    .page-hero { min-height: 240px; padding: 48px 0; }
    .page-hero-title { font-size: 2.2rem; }
    .mv-card { padding: var(--sp-6); }
    .step-card { padding: var(--sp-5); }
    .svc-price-row { gap: var(--sp-4); }
}
/* Alternate row spacing on larger screens */
@media(min-width:992px) {
    .svc-detail-row + .svc-detail-row {
        margin-top: var(--sp-4);
    }
}