/* =========================================================
   Ahmedabad transport hero — Careem/Hala inspired
   Scoped to .amd-hero so other service pages stay unchanged
   ========================================================= */

.amd-hero {
    --amd-ink: #063a2c;
    --amd-ink-soft: #0a4f3c;
    --amd-neon: #b8f000;
    --amd-neon-hover: #c8ff1a;
    --amd-cream: #f4f7f2;
    padding: 12px 0 28px;
    background: #fff;
}

.amd-hero__banner {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    min-height: clamp(420px, 58vh, 560px);
    background: linear-gradient(115deg, #1fd18f 0%, #14b87e 42%, #0a9a6d 100%);
    /* box-shadow: 0 18px 48px rgba(8, 80, 55, 0.18); */
}

.amd-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.amd-hero__photo {
    position: absolute;
    top: 0;
    right: 0;
    width: min(62%, 780px);
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
    opacity: 1;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 22%, #000 48%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 22%, #000 48%, #000 100%);
}

.amd-hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(16, 168, 110, 0.98) 0%, rgba(16, 168, 110, 0.92) 34%, rgba(12, 140, 92, 0.45) 58%, rgba(8, 90, 60, 0.18) 78%, rgba(8, 90, 60, 0.08) 100%),
        linear-gradient(0deg, rgba(6, 58, 44, 0.12) 0%, transparent 40%);
}

.amd-hero__row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: inherit;
    padding: clamp(36px, 5vw, 64px) clamp(28px, 5vw, 64px);
}

.amd-hero__copy {
    max-width: 560px;
    padding: 0;
    color: var(--amd-cream);
}

.amd-hero__title {
    margin: 0 0 16px;
    font-size: clamp(2.1rem, 4.8vw, 3.6rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #fff;
}

.navbar,
.site-header {
    border-bottom: none !important;
}

.amd-hero__title em {
    display: block;
    font-style: italic;
    font-weight: 800;
    color: var(--amd-ink);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
}

.amd-hero__subtitle {
    margin: 0;
    max-width: 440px;
    font-size: clamp(0.98rem, 1.5vw, 1.12rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
}

/* =========================================================
   About / features — Careem-inspired, simple & neat
   ========================================================= */
.amd-about {
    --amd-ink: #063a2c;
    --amd-neon: #b8f000;
    --amd-muted: #5a7368;
    --amd-card: #f3f5f7;
    padding: clamp(48px, 7vw, 48px) 0;
    background: #fff;
}

.amd-about__intro {
    max-width: 760px;
    margin: 0 auto clamp(36px, 5vw, 52px);
    text-align: center;
}

.amd-about__title {
    margin: 0 0 18px;
    font-size: clamp(1.75rem, 3.4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--amd-ink);
}

.amd-about__text {
    margin: 0 auto;
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.65;
    color: var(--amd-muted);
}

.amd-about__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.amd-about__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 28px 32px;
    border-radius: 28px;
    background: var(--amd-card);
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.amd-about__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(6, 58, 44, 0.08);
}

.amd-about__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--amd-ink);
    font-size: 1.35rem;
}

.amd-about__icon i {
    color: var(--amd-neon);
}

.amd-about__card-title {
    margin: 0 0 10px;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--amd-ink);
}

.amd-about__card-text {
    margin: 0;
    max-width: 280px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--amd-muted);
}

@media (min-width: 992px) {
    .amd-about__grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .amd-about__card:nth-child(1),
    .amd-about__card:nth-child(2),
    .amd-about__card:nth-child(3) {
        grid-column: span 2;
    }

    .amd-about__card:nth-child(4) {
        grid-column: 2 / span 2;
    }

    .amd-about__card:nth-child(5) {
        grid-column: 4 / span 2;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .amd-about {
        padding: 40px 0 48px;
        overflow: hidden;
    }

    /* CareemExpress-style: centered intro + horizontal card scroller */
    .amd-about .container {
        padding-left: 0;
        padding-right: 0;
        overflow: visible;
    }

    .amd-about__intro {
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 28px;
        text-align: center;
        padding-left: 20px;
        padding-right: 20px;
    }

    .amd-about__title {
        font-size: clamp(1.55rem, 5.5vw, 2rem);
        margin-bottom: 12px;
    }

    .amd-about__text {
        font-size: 0.98rem;
        line-height: 1.55;
    }

    .amd-about__grid {
        display: flex;
        grid-template-columns: none;
        gap: 14px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 20px;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        padding: 4px 20px 18px;
        margin: 0;
        scrollbar-width: thin;
        scrollbar-color: #c5cdd0 transparent;
    }

    .amd-about__grid::-webkit-scrollbar {
        height: 4px;
    }

    .amd-about__grid::-webkit-scrollbar-track {
        background: transparent;
        margin-inline: 20px;
    }

    .amd-about__grid::-webkit-scrollbar-thumb {
        background: #c5cdd0;
        border-radius: 999px;
    }

    .amd-about__card {
        flex: 0 0 min(78vw, 280px);
        width: min(78vw, 280px);
        max-width: none;
        scroll-snap-align: start;
        border-radius: 24px;
        padding: 32px 22px 28px;
        grid-column: auto;
    }

    .amd-about__card:hover {
        transform: none;
        box-shadow: none;
    }

    .amd-about__card-text {
        max-width: none;
        font-size: 0.9rem;
    }

    .amd-about__icon {
        width: 64px;
        height: 64px;
        font-size: 1.2rem;
        margin-bottom: 18px;
    }

    .amd-hero {
        padding: 8px 0 20px;
    }

    .amd-hero__banner {
        border-radius: 20px;
        min-height: 360px;
    }

    .amd-hero__photo {
        width: 100%;
        opacity: 0.35;
        -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
        mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
    }

    .amd-hero__shade {
        background:
            linear-gradient(180deg, rgba(16, 160, 105, 0.92) 0%, rgba(12, 140, 90, 0.88) 55%, rgba(10, 110, 75, 0.94) 100%);
    }

    .amd-hero__row {
        padding: 32px 24px;
    }

    .amd-hero__copy {
        max-width: none;
        text-align: left;
    }

    .amd-hero__title em {
        display: inline;
    }
}

@media (max-width: 575.98px) {
    .amd-hero__banner {
        border-radius: 16px;
    }

    .amd-hero__row {
        padding: 28px 20px;
    }

    .amd-hero__title {
        font-size: 1.9rem;
    }

    .amd-about__intro {
        padding-left: 16px;
        padding-right: 16px;
    }

    .amd-about__grid {
        gap: 12px;
        scroll-padding-inline: 16px;
        padding: 4px 16px 16px;
    }

    .amd-about__card {
        flex: 0 0 76vw;
        width: 76vw;
        border-radius: 22px;
        padding: 28px 20px 24px;
    }

    .amd-about__card-title {
        font-size: 1.05rem;
    }
}

/* =========================================================
   How it works — 3 Careem-style steps
   ========================================================= */
.amd-steps {
    --amd-ink: #063a2c;
    --amd-neon: #b8f000;
    --amd-muted: #5a7368;
    background: #fff;
}

.amd-step {
    padding: clamp(48px, 7vw, 88px) 0;
}

.amd-step--plain {
    background: #fff;
}

.amd-step--band {
    position: relative;
    background: #fff;
    padding: clamp(72px, 9vw, 104px) 0;
    margin: 8px 0;
    overflow: hidden;
}

/* Same slanted mint band as home Fleet section */
.amd-step__band {
    position: absolute;
    inset: 0;
    background: #f2f7f3;
    clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
    z-index: 0;
    pointer-events: none;
}

.amd-step__row {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 4vw, 48px);
    align-items: center;
    max-width: 980px;
    margin: 0 auto;
}

.amd-step__row--flip .amd-step__visual {
    order: 1;
}

.amd-step__row--flip .amd-step__copy {
    order: 2;
}

.amd-step__copy {
    max-width: 380px;
}

.amd-step__num {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #0a9a6d;
}

.amd-step--band .amd-step__num {
    color: var(--amd-ink);
}

.amd-step__title {
    margin: 0 0 14px;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--amd-ink);
}

.amd-step__text {
    margin: 0;
    font-size: clamp(0.98rem, 1.4vw, 1.1rem);
    line-height: 1.6;
    color: var(--amd-muted);
}

.amd-step--band .amd-step__text {
    color: var(--amd-muted);
}

.amd-step__visual {
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    max-width: 460px;
    width: 100%;
    justify-self: end;
    background: #e8eee9;
    box-shadow: 0 16px 40px rgba(6, 58, 44, 0.1);
}

.amd-step__row--flip .amd-step__visual {
    justify-self: start;
}

.amd-step__visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .amd-step {
        padding: 40px 0;
    }

    .amd-step--band {
        padding: 64px 0 56px;
    }

    .amd-step__band {
        clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
    }

    .amd-step__row,
    .amd-step__row--flip {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 560px;
    }

    /* Image first on mobile for all steps */
    .amd-step__visual,
    .amd-step__row--flip .amd-step__visual {
        order: 1;
    }

    .amd-step__copy,
    .amd-step__row--flip .amd-step__copy {
        order: 2;
    }

    .amd-step__copy {
        max-width: none;
        text-align: center;
        margin: 0 auto;
    }

    .amd-step__visual,
    .amd-step__row--flip .amd-step__visual {
        border-radius: 24px;
        max-width: 420px;
        margin: 0 auto;
        justify-self: center;
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .amd-step__visual {
        border-radius: 20px;
        aspect-ratio: 5 / 4;
    }

    .amd-step__title {
        font-size: 1.45rem;
    }
}

/* =========================================================
   Live rates + booking form — Careem-style panel
   ========================================================= */
.amd-rates {
    --amd-ink: #063a2c;
    --amd-neon: #b8f000;
    --amd-muted: #5a7368;
    --amd-mint: #f2f7f3;
    --amd-card: #f3f5f7;
    --amd-line: rgba(6, 58, 44, 0.1);
    padding: clamp(40px, 6vw, 72px) 0;
    background: #fff;
}

.amd-rates__panel {
    padding: clamp(28px, 4vw, 48px);
    border-radius: 32px;
    background: var(--amd-card);
}

.amd-rates__head {
    max-width: 100%;
    margin: 0 0 clamp(24px, 3.5vw, 36px);
}

.amd-rates__eyebrow {
    margin: 0 0 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0a9a6d;
}

.amd-rates__title {
    margin: 0 0 8px;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--amd-ink);
}

.amd-rates__subtitle {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--amd-muted);
}

.amd-rates__layout {
    display: grid;
    grid-template-columns: minmax(280px, 320px) 1fr;
    gap: 20px;
    align-items: start;
}

.amd-rates__form>.col-lg-4,
.amd-rates__form>[class*="col-"] {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    padding: 0;
}

.amd-rates__form .booking-card {
    margin: 0;
    position: sticky;
    top: calc(var(--lu-header-h, 72px) + 16px);
    border-radius: 24px;
    background: var(--amd-ink);
    border: none;
    box-shadow: 0 18px 48px rgba(6, 58, 44, 0.28);
    color: #fff;
}

.amd-rates__form .booking-header {
    margin-bottom: 1.25rem;
}

.amd-rates__form .booking-header h3 {
    color: #fff;
    font-size: 1.15rem;
    margin: 0;
}

.amd-rates__form .uber-label {
    color: rgba(255, 255, 255, 0.55) !important;
    background: transparent !important;
}

.amd-rates__form .uber-input {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    color: #fff !important;
}

.amd-rates__form .uber-input:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--amd-neon) !important;
    box-shadow: 0 0 0 2px rgba(184, 240, 0, 0.25) !important;
}

.amd-rates__form .uber-input:focus+.uber-label,
.amd-rates__form .uber-input:not(:placeholder-shown)+.uber-label,
.amd-rates__form .uber-input.has-value+.uber-label,
.amd-rates__form .uber-label.floating {
    color: var(--amd-neon) !important;
    background: var(--amd-ink) !important;
}

.amd-rates__form .input-icon-start,
.amd-rates__form .input-icon-end {
    color: var(--amd-neon) !important;
}

.amd-rates__form .uber-submit-btn {
    background: var(--amd-neon) !important;
    border-color: var(--amd-neon) !important;
    color: var(--amd-ink) !important;
    border-radius: 999px;
    font-weight: 700;
}

.amd-rates__form .uber-submit-btn:hover {
    background: #c8ff1a !important;
    border-color: #c8ff1a !important;
    color: var(--amd-ink) !important;
}

.amd-rates__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

/* Compact one-screen rate table */
.amd-rates__table-wrap {
    background: #fff;
    border-radius: 22px;
    overflow: auto;
    box-shadow: 0 6px 24px rgba(6, 58, 44, 0.06);
    -webkit-overflow-scrolling: touch;
}

.amd-rates__table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    margin: 0;
}

.amd-rates__table thead th {
    padding: 14px 12px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--amd-muted);
    background: rgba(242, 247, 243, 0.9);
    border-bottom: 1px solid rgba(6, 58, 44, 0.08);
    white-space: nowrap;
    text-align: left;
}

.amd-rates__table thead th:nth-child(n+3):nth-child(-n+6),
.amd-rates__table tbody td.amd-rates__price {
    text-align: right;
}

.amd-rates__table thead th:last-child,
.amd-rates__table tbody td:last-child {
    text-align: right;
    padding-right: 16px;
}

.amd-rates__table tbody th,
.amd-rates__table tbody td {
    padding: 13px 12px;
    border-bottom: 1px solid rgba(6, 58, 44, 0.07);
    vertical-align: middle;
    background: #fff;
}

.amd-rates__table tbody tr:last-child th,
.amd-rates__table tbody tr:last-child td {
    border-bottom: none;
}

.amd-rates__table tbody tr:hover th,
.amd-rates__table tbody tr:hover td {
    background: #f8fbf9;
}

.amd-rates__route-name {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--amd-ink);
    white-space: nowrap;
}

.amd-rates__km {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--amd-mint);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--amd-muted);
    white-space: nowrap;
}

.amd-rates__price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--amd-ink);
    white-space: nowrap;
}

.amd-rates__row-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--amd-mint);
    font-size: 0.78rem;
    font-weight: 700;
    color: #0a9a6d;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.amd-rates__row-link:hover {
    background: var(--amd-neon);
    color: var(--amd-ink);
    transform: translateX(2px);
}

/* Visually hidden helper if Bootstrap sr-only missing */
.amd-rates .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.amd-rate-card {
    display: flex;
    flex-direction: column;
    padding: 18px;
    border-radius: 22px;
    background: #fff;
    border: none;
    box-shadow: 0 6px 24px rgba(6, 58, 44, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.amd-rate-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(6, 58, 44, 0.12);
}

.amd-rate-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(6, 58, 44, 0.08);
}

.amd-rate-card__route-wrap {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.amd-rate-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--amd-ink);
    color: var(--amd-neon);
    font-size: 0.85rem;
}

.amd-rate-card__route {
    margin: 0 0 4px;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--amd-ink);
}

.amd-rate-card__km {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--amd-muted);
}

.amd-rate-card__from {
    text-align: right;
    flex-shrink: 0;
}

.amd-rate-card__from-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--amd-muted);
    margin-bottom: 2px;
}

.amd-rate-card__from-price {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0a9a6d;
    line-height: 1.1;
}

.amd-rate-card__rows {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.amd-rate-card__rows li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
}

.amd-rate-card__rows li+li {
    border-top: 1px dashed rgba(6, 58, 44, 0.1);
}

.amd-rate-card__truck {
    font-size: 0.84rem;
    color: var(--amd-muted);
    line-height: 1.35;
}

.amd-rate-card__price {
    flex-shrink: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--amd-ink);
}

.amd-rate-card__link {
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--amd-mint);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--amd-ink);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.amd-rate-card__link:hover {
    background: var(--amd-neon);
    color: var(--amd-ink);
}

@media (max-width: 1199.98px) {
    .amd-rates__layout {
        grid-template-columns: minmax(260px, 300px) 1fr;
    }
}

@media (max-width: 991.98px) {
    .amd-rates__panel {
        border-radius: 24px;
        padding: 24px 18px;
    }

    .amd-rates__head {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .amd-rates__layout {
        grid-template-columns: 1fr;
    }

    .amd-rates__form .booking-card {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }

    .amd-rates__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .amd-rates__list {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        padding-bottom: 10px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #c5cdd0 transparent;
    }

    .amd-rate-card {
        flex: 0 0 min(82vw, 300px);
        scroll-snap-align: start;
    }

    .amd-rates__table {
        min-width: 720px;
    }

    .amd-rates__table thead th,
    .amd-rates__table tbody th,
    .amd-rates__table tbody td {
        padding: 11px 10px;
    }
}

@media (max-width: 575.98px) {
    .amd-rates__panel {
        border-radius: 20px;
        padding: 20px 14px;
    }

    .amd-rate-card {
        border-radius: 18px;
        padding: 16px;
    }

    .amd-rate-card__from-price {
        font-size: 1.05rem;
    }
}