/* =====================================================================
   Speed / CabBhai — Design System (polish layer)
   Kept all original class names so existing markup continues to work.
   Adds: design tokens, type scale, refined nav/forms/buttons/cards.
   ===================================================================== */

:root {
    /* Brand */
    --brand: #d52031;
    --brand-600: #c01b2c;
    --brand-700: #a91725;
    --brand-soft: #fef2f3;
    --brand-tint: #fff8f8;
    --accent-amber: #feb86e;

    /* Ink (neutral) */
    --ink-900: #0f1419;
    --ink-800: #1a202c;
    --ink-700: #2d3748;
    --ink-600: #4a5568;
    --ink-500: #6c6e76;
    --ink-400: #8a8f99;
    --ink-300: #c5cad3;
    --ink-200: #e4e7eb;
    --ink-100: #f1f2f4;
    --ink-50: #f8f9fb;

    /* Surface */
    --surface: #ffffff;
    --surface-alt: #fafafa;
    --night: #131313;
    --night-2: #1c1c1c;

    /* Radius */
    --r-xs: 6px;
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 18px;
    --r-xl: 24px;
    --r-pill: 999px;

    /* Shadow */
    --sh-1: 0 1px 2px rgba(15, 20, 25, 0.04), 0 1px 3px rgba(15, 20, 25, 0.05);
    --sh-2: 0 4px 14px rgba(15, 20, 25, 0.06), 0 2px 4px rgba(15, 20, 25, 0.03);
    --sh-3: 0 12px 28px rgba(15, 20, 25, 0.08), 0 4px 10px rgba(15, 20, 25, 0.04);
    --sh-brand: 0 8px 22px rgba(213, 32, 49, 0.22);

    /* Motion */
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --t-fast: 0.18s;
    --t: 0.24s;

    /* Layout */
    --section-y: clamp(72px, 9vw, 120px);
}

/* ------- Base ------- */
* {
    font-family: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, sans-serif !important;
}
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}
body {
    color: var(--ink-800);
    background: var(--surface);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
img {
    transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
    max-width: 100%;
}
a {
    color: var(--ink-800);
    text-decoration: none;
    transition: color var(--t-fast) var(--ease);
}
a:hover {
    color: var(--brand);
}
::selection {
    background: var(--brand);
    color: #fff;
}

/* Refined focus ring (accessibility + premium feel) */
:where(a, button, input, textarea, select, [tabindex]):focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
    border-radius: 6px;
}

/* ------- Type scale (used where original had inline styles) ------- */
h1, h2, h3, h4, h5, h6 {
    color: var(--ink-900);
    letter-spacing: -0.01em;
    line-height: 1.2;
}
h1 {
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.02em;
}
h2 {
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
}
h3 {
    font-weight: 700;
    font-size: clamp(1.3rem, 2vw, 1.625rem);
}
h4 {
    font-weight: 600;
    font-size: 1.125rem;
}
p {
    color: var(--ink-600);
}
.text-secondary {
    color: var(--ink-500) !important;
}

.garamond-script {
    font-family: "EB Garamond", serif !important;
}
.dancing-script {
    font-family: "Dancing Script", serif !important;
}

/* ------- Color utilities (original API preserved) ------- */
.primary-bg-color {
    background-color: var(--brand) !important;
    color: #fff !important;
}
.primary-color {
    color: var(--brand) !important;
}
.card-bg-color {
    color: var(--brand) !important;
}
.secondary-bg-color {
    background-color: var(--night) !important;
    color: #fff !important;
}
.secondary-color {
    color: var(--ink-900) !important;
}
.secondary2-bg-color {
    background-color: var(--accent-amber) !important;
    color: var(--ink-900) !important;
}
.secondary2-color {
    color: var(--accent-amber) !important;
}
.secondary3-bg-color {
    background-color: #f6e8e8 !important;
    color: var(--ink-900) !important;
}
.secondary-border {
    border: 1px solid #582200;
}
.secondary3-color {
    color: #f6e8e8 !important;
}
.bg-grey {
    background-color: var(--ink-50) !important;
}
.text-grey {
    color: var(--ink-400) !important;
}

/* Container refinement */
@media (min-width: 1280px) {
    .container {
        max-width: 1200px;
    }
}

/* ------- Section helpers (existing) ------- */
.section-heading {
    font-weight: 700;
    letter-spacing: -0.015em;
}
.section-title-grey {
    font-size: 0.875rem;
    color: var(--ink-400);
}
.section-title {
    font-size: 0.875rem;
    color: var(--ink-700);
}
.section-text {
    font-size: 0.8125rem;
    color: var(--ink-600);
}
.section-text-grey {
    font-size: 0.8125rem;
    color: var(--ink-400);
}
.section-sub-text {
    color: var(--ink-300);
    font-size: 0.75rem;
}
.section-sub-text-dark {
    font-size: 0.75rem;
    color: var(--ink-700);
}
.header-text {
    font-size: 0.8rem;
    color: var(--ink-600);
}
.navlinktext {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
}

/* Strip number spinners */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}

/* Glass input (original API, refined) */
.glass-effect-input {
    background: rgba(255, 255, 255, 0.55) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: var(--r-pill) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    padding: 12px 22px !important;
    box-shadow: var(--sh-1) !important;
    font-size: 0.95rem !important;
    z-index: 1 !important;
}

/* ------- Responsive width helpers (kept) ------- */
@media (min-width: 769px) {
    .w-md-10 { width: 10% !important; }
    .w-md-20 { width: 20% !important; }
    .w-md-30 { width: 30% !important; }
    .w-md-40 { width: 40% !important; }
    .w-md-50 { width: 50% !important; }
    .w-md-60 { width: 60% !important; }
    .w-md-75 { width: 75% !important; }
    .w-md-80 { width: 80% !important; }
    .w-md-85 { width: 85% !important; }
    .w-md-100 { width: 100% !important; }
}
@media (max-width: 768px) {
    .w-10 { width: 10% !important; }
    .w-20 { width: 20% !important; }
    .w-30 { width: 30% !important; }
    .w-40 { width: 40% !important; }
    .w-50 { width: 50% !important; }
    .w-60 { width: 60% !important; }
    .w-75 { width: 75% !important; }
    .w-85 { width: 85% !important; }
    .w-100 { width: 100% !important; }
}

/* ------- Carousel indicators ------- */
.carousel-indicators {
    margin-bottom: -3rem !important;
}
.carousel-indicators [data-bs-target] {
    background-color: var(--ink-900) !important;
}

/* ===================================================================
   NAVIGATION
   =================================================================== */
.navbar {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--ink-100);
    box-shadow: none !important;
    padding: 12px 32px !important;
    min-height: 72px;
}
.navbar-brand img {
    height: 52px !important;
    width: 52px !important;
    border-radius: 12px;
    object-fit: cover;
}
.navbar .nav {
    gap: 6px;
}
.nav-item .nav-link {
    color: var(--ink-700);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 14px !important;
    border-radius: 10px;
    border-bottom: 0 !important;
    transition: background var(--t-fast) var(--ease),
        color var(--t-fast) var(--ease);
    position: relative;
}
.nav-link:focus,
.nav-link:hover {
    color: var(--brand) !important;
    background: var(--brand-tint);
    border-bottom: 0 !important;
}
.nav-item .nav-link.active {
    color: var(--brand) !important;
    background: var(--brand-soft);
}

/* Header CTA */
.nav-btn {
    background: var(--brand);
    color: #fff;
    border: 0;
    border-radius: var(--r-pill);
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: var(--sh-brand);
    transition: transform var(--t-fast) var(--ease),
        box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
    white-space: nowrap;
}
.nav-btn:hover {
    background: var(--brand-600);
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(213, 32, 49, 0.28);
}
.nav-btn:active {
    transform: translateY(0);
}
@media (max-width: 569px) {
    .nav-btn {
        padding: 9px 14px;
        font-size: 0.85rem;
    }
}

/* Mobile menu (replaces the missing toggler) */
.navbar-toggler {
    border: 1px solid var(--ink-200) !important;
    border-radius: 10px !important;
    padding: 6px 10px !important;
    box-shadow: none !important;
}
.navbar-toggler:focus { box-shadow: none !important; }
@media (max-width: 991.98px) {
    .navbar {
        padding: 10px 16px !important;
        min-height: 64px;
    }
    .navbar-collapse {
        margin-top: 12px;
        padding: 12px;
        background: #fff;
        border-radius: var(--r-md);
        border: 1px solid var(--ink-100);
        box-shadow: var(--sh-2);
    }
    .navbar .nav {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }
    .nav-item .nav-link {
        padding: 12px 14px !important;
    }
    .navbar .d-flex { margin-top: 10px; }
    .nav-btn { width: 100%; }
}

/* ===================================================================
   BUTTONS (originals: book-btn, payment-btn, ok-btn, submit-btn, verify-btn)
   =================================================================== */
/* Scope so global button{} rule below doesn't bleed everywhere */
.btn,
.book-btn,
.payment-btn,
.ok-btn,
.submit-btn,
.verify-btn,
.home-button-1 {
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: transform var(--t-fast) var(--ease),
        box-shadow var(--t-fast) var(--ease),
        background var(--t-fast) var(--ease);
    cursor: pointer;
    border: 0;
}
.btn.btn-primary,
.btn.primary-bg-color {
    background: var(--brand) !important;
    border-color: var(--brand) !important;
    color: #fff !important;
    border-radius: var(--r-md) !important;
    padding: 12px 22px;
    box-shadow: var(--sh-1);
}
.btn.btn-primary:hover,
.btn.primary-bg-color:hover {
    background: var(--brand-600) !important;
    border-color: var(--brand-600) !important;
    box-shadow: var(--sh-brand);
    transform: translateY(-1px);
}

.book-btn {
    padding: 9px 16px;
    background: var(--brand);
    color: #fff;
    border-radius: var(--r-pill);
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--sh-1);
}
.book-btn:hover {
    background: var(--brand-600);
    box-shadow: var(--sh-brand);
    transform: translateY(-1px);
}
.book-btn img { height: 10px; }

.payment-btn,
.ok-btn,
.submit-btn,
.verify-btn {
    background: var(--brand);
    color: #fff;
    border-radius: var(--r-md);
    width: 100%;
    font-size: 0.95rem;
    padding: 12px;
    font-weight: 600;
    box-shadow: var(--sh-1);
}
.payment-btn:hover,
.ok-btn:hover,
.submit-btn:hover,
.verify-btn:hover {
    background: var(--brand-600);
    box-shadow: var(--sh-brand);
    transform: translateY(-1px);
}

.home-button-transparent {
    font-size: 0.75rem;
    background: transparent;
    border: 0;
    border-bottom: 2px solid var(--ink-900);
    border-radius: 0;
    padding-bottom: 4px;
    color: var(--ink-900);
}
.home-button-1 {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 12px 26px;
    border-radius: var(--r-md);
}

/* Generic card hover lift (original API) */
.card-div-animation {
    transition: transform var(--t) var(--ease),
        box-shadow var(--t) var(--ease);
}
.card-div-animation:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-3);
}

/* ===================================================================
   FORMS  (was global `input{color:white}` — fixed and scoped)
   =================================================================== */
.form-control {
    border: 1px solid var(--ink-200) !important;
    border-radius: var(--r-sm) !important;
    padding: 11px 14px !important;
    font-size: 0.95rem !important;
    color: var(--ink-900) !important;
    background-color: #fff !important;
    transition: border-color var(--t-fast) var(--ease),
        box-shadow var(--t-fast) var(--ease) !important;
}
.form-control::placeholder {
    color: var(--ink-400) !important;
    font-weight: 400;
}
.form-control:focus {
    border-color: var(--brand) !important;
    box-shadow: 0 0 0 4px rgba(213, 32, 49, 0.12) !important;
    outline: 0 !important;
}
.form-label {
    color: var(--ink-700);
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 6px;
}
.input-group-text {
    background: var(--ink-50) !important;
    border: 1px solid var(--ink-200) !important;
    color: var(--ink-700) !important;
    font-weight: 600;
    border-radius: var(--r-sm) 0 0 var(--r-sm) !important;
}

/* Quantity stepper */
.quantity {
    display: flex;
    border: 1px solid var(--ink-200);
    border-radius: var(--r-sm);
    overflow: hidden;
    width: 110px;
    height: 38px;
    box-shadow: var(--sh-1);
}
.quantity a {
    background-color: #fff;
    color: var(--ink-900);
    border: none;
    cursor: pointer;
    font-size: 18px;
    width: 34px;
    text-align: center;
    display: grid;
    place-items: center;
    transition: background-color var(--t-fast) var(--ease);
    text-decoration: none;
}
.quantity a:hover { background-color: var(--ink-100); }
.input-box {
    width: 42px;
    text-align: center;
    border: none;
    padding: 8px 6px;
    font-size: 0.95rem;
    outline: none;
    border-left: 1px solid var(--ink-100);
    border-right: 1px solid var(--ink-100);
}

.login-input {
    border: 1px solid var(--ink-200) !important;
    border-radius: var(--r-pill) !important;
    padding: 10px 18px !important;
    font-size: 0.9rem !important;
}
.login-page-div { min-height: 100vh !important; }
.login-image {
    height: 100vh !important;
    object-fit: cover;
    width: 100%;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer-div h6 { font-size: 0.875rem; color: #fff; }
.footer-div img { height: 12px; }
.footer-div a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.72) !important;
    transition: color var(--t-fast) var(--ease);
}
.footer-div a:hover { color: #fff !important; }

.footer-copy {
    width: 100%;
    background: var(--night);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 16px;
    font-size: 0.8125rem;
}

.footer {
    background-color: var(--night);
    color: #fff;
    padding: 64px 0 24px;
}
.footer .footer-list {
    padding-left: 0;
    list-style-type: none;
    margin: 0;
}
.footer .footer-list li { margin-top: 10px; }
.footer .footer-list a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    font-weight: 400;
    transition: color var(--t-fast) var(--ease);
}
.footer .footer-list a:hover { color: #fff; }
.footer h5 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.footer a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
}
.footer iframe {
    border-radius: var(--r-md);
    overflow: hidden;
    display: block;
}
.footer-logo-container img {
    border-radius: 14px;
    height: 64px !important;
    width: 64px !important;
}
.social-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}
.social-icons a {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    transition: background var(--t-fast) var(--ease),
        transform var(--t-fast) var(--ease);
    margin-right: 0;
    font-size: 1rem;
}
.social-icons a:hover {
    background: var(--brand);
    transform: translateY(-2px);
}
.social-icons img { height: 16px; width: 16px; }
.footer p { color: rgba(255, 255, 255, 0.55); font-size: 0.85rem; margin: 0; }
.footer hr,
.footer .row.mt-3 {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 36px !important;
    padding-top: 24px;
}

.footer-bg {
    background-size: cover;
    width: 100vw;
    margin: 0;
    padding: 0;
}

/* ===================================================================
   GENERIC OVERLAYS / HEROES
   =================================================================== */
.about-section1-image-div {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-lg);
}
.about-section1-image-div::before {
    content: "";
    position: absolute;
    inset: 0;
    height: 40vh;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
}
.about-section1-image-div h3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    z-index: 2;
}
.about-section1-image {
    position: relative;
    width: auto;
    height: 40vh;
    z-index: 0;
}

/* Reusable hero (blog, terms, policy, blogs) */
.hero-section {
    position: relative;
    width: 100%;
    max-height: 380px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}
.hero-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
}
.hero-content { position: absolute; z-index: 1; padding: 0 16px; }
.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    margin: 0;
}
@media (max-width: 575.98px) {
    .hero-section { height: 220px; }
}

/* ===================================================================
   SECTION11 (kept)
   =================================================================== */
.section11-button {
    width: 120px !important;
    border-top-left-radius: 31px !important;
    border-radius: 52px !important;
    position: absolute !important;
    right: 0 !important;
    height: 100% !important;
    z-index: 2 !important;
}

/* ===================================================================
   FAQ
   =================================================================== */
.faq .content h3 { font-weight: 600; font-size: 1.75rem; }
.faq .content p { color: var(--ink-500); }
.faq .faq-container { margin-top: 18px; }
.faq .faq-container .faq-item {
    position: relative;
    padding: 18px 20px;
    overflow: hidden;
    border: 1px solid var(--ink-100);
    border-radius: var(--r-md);
    margin-bottom: 10px;
    background: #fff;
    transition: border-color var(--t-fast) var(--ease);
}
.faq .faq-container .faq-item:hover { border-color: var(--ink-200); }
.faq .faq-container .faq-item:last-child { margin-bottom: 0; }
.faq .faq-container .faq-item h3 {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    transition: color 0.3s;
    cursor: pointer;
    margin: 0 30px 0 0;
    color: var(--ink-900);
}
.faq .faq-container .faq-item h3 span { color: var(--ink-400); padding-right: 8px; }
.faq .faq-container .faq-item h3:hover { color: var(--brand); }
.faq .faq-container .faq-item .faq-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: 0.3s ease-in-out;
    visibility: hidden;
    opacity: 0;
}
.faq .faq-container .faq-item .faq-content p { margin-bottom: 0; overflow: hidden; color: var(--ink-500); }
.faq .faq-container .faq-item .faq-toggle {
    position: absolute;
    top: 22px;
    right: 20px;
    font-size: 1rem;
    transition: 0.3s;
    cursor: pointer;
    color: var(--ink-400);
}
.faq .faq-container .faq-item .faq-toggle:hover { color: var(--brand); }
.faq .faq-container .faq-active h3 { color: var(--brand); }
.faq .faq-container .faq-active .faq-content {
    grid-template-rows: 1fr;
    visibility: visible;
    opacity: 1;
    padding-top: 12px;
}
.faq .faq-container .faq-active .faq-toggle { transform: rotate(90deg); color: var(--brand); }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 7)); }
}

/* ===================================================================
   DOWNLOAD CARD (home)
   =================================================================== */
.download-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px;
}
.download-buttons a {
    display: inline-block;
    transition: transform var(--t-fast) var(--ease);
}
.download-buttons a:hover { transform: translateY(-2px); }
.download-card {
    border-radius: var(--r-xl) !important;
    overflow: hidden;
    box-shadow: var(--sh-3) !important;
    border: 0;
}
.download-card h2 {
    font-weight: 700;
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    line-height: 1.2;
    letter-spacing: -0.015em;
}
.download-card h5 { font-weight: 500; color: rgba(255, 255, 255, 0.65); font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; }
.download-card p { font-size: 1rem; font-weight: 400; color: rgba(255, 255, 255, 0.78); line-height: 1.6; }

@media (max-width: 768.98px) {
    .download-card p { font-size: 0.875rem; }
    .download-buttons a img { width: 130px; }
    .download-card .row > div:first-child { padding: 32px 24px !important; }
}

/* ===================================================================
   SLIDER (auto-scrolling)
   =================================================================== */
.slider {
    height: auto;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: auto;
}
.slider .slide-track {
    animation: scroll 40s linear infinite;
    display: flex;
    width: calc(250px * 14);
}
.slider .slide { margin: 0 50px; }
.slider .slide .card { width: 400px; }

/* ===================================================================
   SERVICE HERO
   =================================================================== */
.service-hero {
    background-image: linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.45) 0%,
            rgba(0, 0, 0, 0.05) 70%
        ),
        url("../Image/CabBhai/service-hero.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0;
}

/* ===================================================================
   TESTIMONIAL CARD (Swiper)
   =================================================================== */
.testimonail-card {
    width: 300px;
    min-height: 220px;
    padding: 28px;
    text-align: left;
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
    justify-content: space-between !important;
    background: #fff !important;
    border: 1px solid var(--ink-100);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-1);
    transition: transform var(--t) var(--ease),
        box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.testimonail-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-2);
    border-color: var(--ink-200);
}
.testimonail-card p {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--ink-600);
    line-height: 1.6;
}
.testimonail-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink-900);
    margin: 0;
}
.testimonail-card .text-secondary { font-size: 0.8rem !important; }

.swiper { width: 100%; height: 100%; padding: 8px 4px 24px; }
.swiper-slide {
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: auto;
}
.swiper-slide img { display: block; }
.swiper-wrapper { width: 100%; align-items: stretch; }

@media (max-width: 500px) {
    .testimonail-card { padding: 22px; }
    .testimonail-card p { font-size: 0.875rem; }
}

/* ===================================================================
   BLOG CARDS
   =================================================================== */
.blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-1);
    border: 1px solid var(--ink-100);
    margin-bottom: 28px;
    transition: transform var(--t) var(--ease),
        box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-3);
    border-color: var(--ink-200);
}
.blog-card-img {
    overflow: hidden;
    aspect-ratio: 16 / 10;
}
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-content { padding: 24px 22px 26px; }
.blog-card-content h5 {
    color: var(--brand);
    font-weight: 600;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.blog-card-content h3 {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--ink-900);
    line-height: 1.35;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.blog-card-content p {
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--ink-500);
    line-height: 1.6;
    margin: 0;
}
.blog-card-content p span {
    color: var(--brand);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    margin-top: 8px;
    transition: gap var(--t-fast) var(--ease);
}
.blog-card-content p span::after {
    content: " →";
    transition: margin var(--t-fast) var(--ease);
}
.blog-card-content p span:hover::after { margin-left: 4px; }

/* ===================================================================
   CONTACT PAGE
   =================================================================== */
.contactUs-left {
    min-height: 720px;
    padding: 56px 24px;
}
@media (max-width: 1024px) { .contactUs-left { min-height: 640px; } }
@media (max-width: 821px) { .contactUs-left { min-height: 560px; } }
@media (max-width: 575.98px) { .contactUs-left { min-height: 520px; padding: 40px 18px; } }

.form-container {
    padding: 8px 12px;
    width: 100%;
    max-width: 460px;
    color: #fff;
}
.form-container h2 {
    font-size: clamp(2rem, 3.6vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 28px;
    color: #fff;
    letter-spacing: -0.02em;
}
.form-container h2 span { color: var(--brand); }

/* Dark-theme inputs only inside the contact form */
.form-container input,
.form-container textarea {
    width: 100%;
    padding: 12px 4px;
    margin: 4px 0 18px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 1rem;
    border-radius: 0;
    transition: border-color var(--t-fast) var(--ease);
}
.form-container input:focus,
.form-container textarea:focus {
    outline: none;
    border-bottom: 1px solid var(--brand);
}
.form-container ::placeholder {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
}

.checkbox { display: flex; align-items: center; gap: 8px; margin: 12px 0 18px; }
.checkbox input { margin: 0; width: auto; accent-color: var(--brand); }
.checkbox label { font-size: 0.8rem; font-weight: 400; color: rgba(255, 255, 255, 0.7); margin: 0; }

/* Contact submit (scoped) */
.form-container button {
    width: 100%;
    padding: 13px;
    background: var(--brand);
    border: none;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--r-md);
    margin-top: 8px;
    transition: background var(--t-fast) var(--ease),
        transform var(--t-fast) var(--ease),
        box-shadow var(--t-fast) var(--ease);
    letter-spacing: 0.01em;
}
.form-container button:hover {
    background: var(--brand-600);
    transform: translateY(-1px);
    box-shadow: var(--sh-brand);
}

.content-container { max-width: 460px; width: 100%; }
.content-container p { color: var(--ink-700); font-size: 1rem; line-height: 1.7; }
.content-container iframe {
    border-radius: var(--r-md);
    border: 1px solid var(--ink-100) !important;
}
.content-container .mb-5:nth-of-type(2) p {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--ink-700);
    margin-bottom: 12px;
}
.content-container .mb-5:nth-of-type(2) p img {
    width: 18px;
    height: 18px;
}

/* ===================================================================
   SELECT CAR
   =================================================================== */
.car-card {
    border-radius: var(--r-lg) !important;
    border: 1px solid var(--ink-100) !important;
    box-shadow: var(--sh-1) !important;
    background: #fff;
    transition: transform var(--t) var(--ease),
        box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.car-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-3) !important;
    border-color: var(--ink-200) !important;
}
.car-card .card-body { padding: 22px; }
.select-car-img-container {
    background: linear-gradient(180deg, var(--ink-50), #fff);
    border-radius: var(--r-md);
    padding: 18px 12px;
    margin-bottom: 14px;
}
.select-car-img-container img { max-height: 150px; width: auto; object-fit: contain; margin: 0 auto; }
.select-car-contant { gap: 12px; }
.select-car-contant .section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink-900);
}
.select-car-contant h6.section-title {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--ink-900);
}
.select-car-contant span { color: var(--ink-400); font-size: 0.8rem; font-weight: 500; margin-left: 4px; }

/* ===================================================================
   MODALS (Bootstrap + legacy custom)
   =================================================================== */
.modal-content {
    border-radius: var(--r-xl) !important;
    border: 0 !important;
    box-shadow: var(--sh-3);
    overflow: hidden;
}
.modal-header { padding: 22px 24px 6px !important; }
.modal-title { font-weight: 700; font-size: 1.1rem; color: var(--ink-900); }
.modal-body { padding: 20px 24px 24px !important; }
.modal-body .card { border-radius: var(--r-md) !important; background: var(--ink-50) !important; }
.modal-body .card .modal-car-container { width: 80px; }
.modal-body p { font-size: 0.875rem; font-weight: 500; color: var(--ink-600); margin-top: 0; }
.modal-body p span { font-size: 0.8rem; font-weight: 400; color: var(--ink-500); }
.modal-body hr { opacity: 0.1; }

.booking-Modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1100;
    max-width: 92%;
    width: 340px;
    border-radius: var(--r-xl);
    background: #fff;
    box-shadow: var(--sh-3);
}
.booking-Modal .card { background: #fff; padding: 14px 20px; }

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 20, 25, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1040;
}

.modal-car-container { width: 76px; height: 64px; }
.modal-car-container img { width: 100%; height: 100%; object-fit: contain; }

/* Success / Login / OTP modals */
.booking-successful,
.login-Modal,
.otp-Modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1200;
    max-width: 92%;
    width: 320px;
    border-radius: var(--r-xl);
    background: #fff;
    box-shadow: var(--sh-3);
}
.booking-successful .card,
.login-Modal .card,
.otp-Modal .card {
    padding: 18px;
    width: 100%;
}
.success-img-container { margin: 0 auto; width: 120px; height: 120px; }
.success-img-container img { width: 100%; height: 100%; object-fit: contain; }
.success-msg { margin: 18px 0 8px; }
.success-msg h3 { color: var(--ink-900); font-size: 1.125rem; font-weight: 700; text-align: center; margin-bottom: 8px; }
.success-msg p { color: var(--ink-500); font-size: 0.875rem; font-weight: 400; text-align: center; margin: 0; }

.login-img-container { width: 96px; height: 96px; }
.login-img-container img { width: 100%; height: 100%; object-fit: contain; }
.login-Modal h4 { color: var(--ink-900); font-size: 1.15rem; font-weight: 600; }
.login-Modal p { color: var(--ink-400); font-weight: 500; font-size: 0.8rem; }
.login-Modal form { width: 100%; }
.login-Modal form label,
.otp-Modal form label { color: var(--ink-800); font-size: 0.8rem; font-weight: 500; }

.otp-Modal h4 { color: var(--ink-900); font-size: 1rem; font-weight: 600; }
.otp-Modal p { color: var(--ink-400); font-weight: 500; font-size: 0.8rem; }
.otp-Modal .input-group { display: flex; flex-direction: column; }
.otp-Modal .input-group > .form-control { width: 100% !important; }

/* Legacy custom-modal vertical placement on small screens */
@media (max-width: 1025px) {
    .booking-successful,
    .booking-Modal { top: 50%; }
}

/* ===================================================================
   WELCOME / ABOUT PAGE
   =================================================================== */
.welcometocabbhai .img-container { max-width: 100%; overflow: hidden; }
.welcometocabbhai .img-container img { width: 100%; height: 100%; object-fit: cover; }
.welcometocabbhai h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    padding: 0 0 4px;
    letter-spacing: -0.02em;
}
.welcometocabbhai p {
    font-size: 1rem;
    font-weight: 400;
    color: var(--ink-500);
    line-height: 1.7;
}

/* Hero backgrounds */
.join-us {
    background-image: url(../Image/Home/join-bg-2.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--r-xl);
    overflow: hidden;
}
.hero-img {
    background-image: url(../Image/Home/join-us-bg.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--r-xl);
    overflow: hidden;
}
.about-hero-left {
    background-image: linear-gradient(
            90deg,
            rgba(252, 245, 239, 0.92) 0%,
            rgba(254, 237, 216, 0.5) 100%
        ),
        url(../Image/Home/join-bg-2.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--r-xl);
    overflow: hidden;
    padding: 24px;
}

/* Service hero left column */
.service-hero-left {
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.15) 100%
    );
    border-radius: var(--r-xl);
}

/* ===================================================================
   LEGAL PAGES (policy, terms)
   =================================================================== */
.legal-section h4,
.policy h4,
.termcondation h4 {
    color: var(--ink-900);
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 14px;
}
.legal-section p,
.policy p,
.termcondation p {
    color: var(--ink-600);
    font-size: 0.975rem;
    line-height: 1.75;
}

/* ===================================================================
   SWEETALERT (subtle refinement)
   =================================================================== */
.swal2-popup { border-radius: var(--r-lg) !important; padding: 28px !important; }
.swal2-title { font-weight: 700 !important; font-size: 1.4rem !important; }
.swal2-html-container { color: var(--ink-600) !important; font-size: 0.95rem !important; }
.swal2-styled.swal2-confirm { border-radius: var(--r-md) !important; padding: 10px 22px !important; font-weight: 600 !important; }
