* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.header-nav {
    flex: 1 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding-top: 4px;
    border-top: 1px solid rgba(142, 223, 255, .16);
}

.header-nav .nav-links {
    position: static;
    transform: none;
    margin: 0 auto;
}

.header-nav .navbar-right {
    position: absolute;
    right: 32px;
}

/* Compact merged header: keep both brand and navigation without the oversized gap. */
.apna-header {
    min-height: 0;
    padding: 8px 24px 6px;
}
.apna-header .brand-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
}
.apna-header .brand-icon::before { width: 38px; height: 38px; }
.apna-header .brand-icon::after { width: 26px; height: 26px; }
.apna-header .brand-chip { font-size: 1rem; }
.apna-header .brand-text h1 { font-size: clamp(1.75rem, 2.8vw, 2.65rem); }
.apna-header .brand-text em { font-size: .62rem; margin-top: 2px; }
.apna-header .head-center { gap: 8px; }
.apna-header .head-center span { font-size: clamp(.85rem, 1.35vw, 1.25rem); }
.apna-header .head-center strong { padding: 6px 10px; font-size: .7rem; }
.header-nav {
    min-height: 32px;
    padding-top: 2px;
}
.header-nav .nav-links { gap: 18px; }
.header-nav .nav-links a { padding: 5px 9px; font-size: .9rem; }
.header-nav .navbar-right { right: 24px; gap: 7px; }
.header-nav .btn-login,
.header-nav .btn-register { padding: 6px 11px; font-size: 12px; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f5f5f5;
}

body {
    background: #f3f3f3;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ============ TOP HEADER MATCHING REFERENCE ============ */
.apna-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: linear-gradient(180deg, #0d5aa9 0%, #0a4f93 100%);
    padding: 10px 18px 10px 16px;
    border-bottom: 3px solid rgba(255,255,255,0.25);
    min-height: 90px;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,0.08);
}

.brand-box {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
}

.brand-icon {
    width: 72px;
    height: 72px;
    background: rgba(255,255,255,0.1);
    border: 3px solid rgba(255,255,255,0.9);
    border-radius: 10px;
    position: relative;
    box-shadow: inset 0 0 0 3px rgba(11,51,121,0.4);
}

.brand-icon .monitor {
    position: absolute;
    left: 14px; top: 18px;
    width: 42px; height: 28px;
    background: #f5f7fb;
    border-radius: 5px;
    border: 3px solid #0f3a67;
}

.brand-icon .monitor:before {
    content: "";
    position: absolute;
    left: 10px; right: 10px; bottom: -8px;
    height: 8px;
    background: #d9e6f6;
    border-radius: 0 0 5px 5px;
}

.brand-icon .gear {
    position: absolute;
    right: 8px; bottom: 8px;
    width: 18px; height: 18px;
    border: 3px solid rgba(255,255,255,0.9);
    border-radius: 50%;
    box-shadow: inset 0 0 0 4px rgba(11,51,121,0.35);
}

.brand-icon .gear:before,
.brand-icon .gear:after {
    content: "";
    position: absolute;
    inset: -6px;
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 50%;
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-text h1 {
    margin: 0;
    line-height: 1;
    color: #fff;
    font-size: clamp(2.1rem, 3vw, 4rem);
    font-weight: 800;
    letter-spacing: -1px;
}

.brand-text em {
    color: #f7e87f;
    font-size: 0.9rem;
    font-style: italic;
    font-weight: 700;
    margin-top: 6px;
    display: inline-block;
}

.head-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 16px;
    font-weight: 800;
    color: #fff;
    text-align: center;
    flex-wrap: wrap;
}

.head-center span {
    font-size: clamp(1.4rem, 2vw, 2.2rem);
    letter-spacing: -0.8px;
    transform: translateY(-14px);
}

.head-center strong {
    background: #f4d405;
    color: #173e73;
    border-radius: 12px;
    padding: 10px 18px;
    display: inline-block;
    box-shadow: 0 4px 0 rgba(21,42,83,0.2);
    font-size: clamp(1.1rem, 1.6vw, 1.7rem);
}

.bike-wrap {
    position: relative;
    width: 180px;
    height: 80px;
}

.bike {
    position: absolute;
    right: 0; bottom: 0;
    width: 180px; height: 72px;
}

.bike-body {
    position: absolute;
    left: 26px; bottom: 18px;
    width: 110px; height: 28px;
    background: linear-gradient(180deg, #ffd966 0%, #f7b500 100%);
    border-radius: 10px 12px 10px 10px;
    box-shadow: inset 0 0 0 3px rgba(255,255,255,0.2);
}

.bike-body:before {
    content: "";
    position: absolute;
    left: 18px; bottom: 10px;
    width: 18px; height: 18px;
    background: #0d3b80;
    border-radius: 4px;
    box-shadow: 18px 0 0 #0d3b80;
}

.box {
    position: absolute;
    right: 14px; bottom: 24px;
    width: 38px; height: 28px;
    background: #1d6ed6;
    border-radius: 6px;
    border: 2px solid rgba(255,255,255,0.7);
    box-shadow: inset 0 0 0 3px rgba(255,255,255,0.2);
}

.driver {
    position: absolute;
    right: 58px; bottom: 38px;
    width: 20px; height: 20px;
    background: #0b243d;
    border-radius: 50%;
}

.driver:before {
    content: "";
    position: absolute;
    left: -3px; top: 18px;
    width: 28px; height: 18px;
    background: #102a42;
    border-radius: 12px 12px 4px 4px;
}

.wheel {
    position: absolute;
    bottom: 0;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: #0a2036;
    border: 4px solid #f8f8f8;
    box-shadow: inset 0 0 0 7px #6b7f94;
}

.wheel-left { left: 20px; }
.wheel-right { right: 15px; }

/* ============ NAVBAR STYLES ============ */
.navbar {
    background: linear-gradient(135deg, #003d82 0%, #0055b3 100%);
    padding: 8px 20px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: white;
    cursor: pointer;
}

.logo-icon {
    position: relative;
    width: 44px;
    height: 44px;
    background: linear-gradient(145deg, #f9d34a 0%, #f3a91b 100%);
    border: 2px solid rgba(255,255,255,.9);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 3px rgba(255,255,255,.2), 0 4px 10px rgba(0,0,0,.2);
    overflow: hidden;
}

.logo-icon::before {
    content: "AP";
    color: #08284d;
    font-size: 16px;
    font-weight: 950;
    letter-spacing: -1.5px;
    line-height: 1;
}

.logo-icon::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    right: 4px;
    top: 4px;
    background: #fff7b0;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255,255,255,.9);
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 20px;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-links a:hover {
    background: rgba(255,255,255,0.07);
}

.navbar-right {
    margin-left: auto;
    display: flex;
    gap: 10px;
    align-items: center;
}

.back-btn {
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 20px;
    background: rgba(255,255,255,.1);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.back-btn:hover {
    background: rgba(255,255,255,.2);
}

.btn-login, .btn-register {
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    border: none;
    font-size: 14px;
}

.btn-login {
    background-color: white;
    color: #003d82;
    border: 2px solid white;
}

.btn-login:hover { opacity: 0.95; }

.btn-register {
    background-color: #0b66d1;
    color: white;
    border: 2px solid #0b66d1;
}

.btn-register:hover { background-color: #0a5cc0; }

/* ============ HERO SECTION ============ */
.hero {
    padding: 30px 20px;
    margin: 18px auto 58px auto;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.hero-inner {
    display: flex;
    gap: 20px;
    align-items: center;
    background: linear-gradient(90deg, #0b4f8c 0%, #0d66b3 100%);
    color: white;
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(6, 40, 80, 0.12);
}

.hero-text {
    flex: 1 1 60%;
}

.hero-text h2 {
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 0.95;
    margin: 0 0 10px;
    font-weight: 800;
}

.hero-text .sub {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 10px;
}

.hero-text .desc {
    font-size: 1.4rem;
    opacity: 0.9;
    margin-bottom: 18px;
}

.hero-button {
    background-color: #ffd700;
    color: #003d82;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 5px 0 rgba(0,0,0,0.12);
}

.hero-button:hover { transform: translateY(-2px); }

.hero-kicker, .section-kicker, .offer-label {
    display: inline-block;
    color: #ffd84d;
    font-size: .75rem;
    letter-spacing: .16em;
    font-weight: 800;
    margin-bottom: 12px;
}

.hero-text h2 span { color: #ffd84d; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.hero-points span { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 7px 10px; font-size: .78rem; }

.offer-strip {
    max-width: 1100px;
    margin: -14px auto 48px;
    padding: 22px 28px;
    border-radius: 18px;
    background: linear-gradient(120deg, #fff8db, #fff 55%, #eaf5ff);
    border: 1px solid #f6d96b;
    box-shadow: 0 14px 35px rgba(18,61,105,.09);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.offer-copy .offer-label { color: #b36b00; margin: 0 0 5px; }
.offer-copy h2 { color: #123d69; margin: 0 0 5px; font-size: clamp(1.35rem, 3vw, 2rem); }
.offer-copy p { color: #566b84; margin: 0; }
.offer-badge { width: 112px; height: 112px; border-radius: 50%; background: #ffd438; color: #123d69; display: grid; place-content: center; text-align: center; flex: 0 0 auto; box-shadow: 0 8px 0 #e7b820; }
.offer-badge strong { font-size: 2rem; line-height: 1; }
.offer-badge span { font-size: .68rem; font-weight: 800; }

.trust-section { max-width: 1100px; margin: 0 auto 54px; padding: 0 24px; }
.trust-heading { max-width: 650px; margin-bottom: 22px; }
.section-kicker { color: #0d69b8; }
.trust-heading h2 { color: #123d69; font-size: clamp(1.7rem, 3vw, 2.6rem); margin: 0 0 10px; }
.trust-heading p { color: #60718a; line-height: 1.7; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust-grid article { background: #fff; border: 1px solid #e2edf8; border-radius: 16px; padding: 22px; box-shadow: 0 8px 22px rgba(10,40,75,.06); }
.trust-grid article > span { color: #0d69b8; font-size: .8rem; font-weight: 900; }
.trust-grid h3 { margin: 10px 0 6px; color: #123d69; }
.trust-grid p { color: #687991; line-height: 1.55; margin: 0; }

.booking-offer-modal { position: fixed; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(3,22,43,.7); z-index: 3000; opacity: 0; visibility: hidden; pointer-events: none; transition: .25s ease; }
.booking-offer-modal.is-visible { opacity: 1; visibility: visible; }
.booking-offer-card { position: relative; width: min(470px, 100%); padding: 36px; border-radius: 24px; background: linear-gradient(145deg, #fff, #eef7ff); box-shadow: 0 25px 80px rgba(0,0,0,.3); pointer-events: auto; }
.booking-offer-card .offer-label { color: #0d69b8; }
.booking-offer-card h2 { color: #123d69; font-size: clamp(1.8rem, 5vw, 2.7rem); line-height: 1.05; margin: 0 0 12px; }
.booking-offer-card p { color: #60718a; line-height: 1.6; }
.modal-close { position: absolute; top: 12px; right: 14px; border: 0; background: transparent; color: #60718a; font-size: 2rem; cursor: pointer; }
.modal-price { display: flex; align-items: center; gap: 14px; margin: 20px 0 8px; color: #123d69; }
.modal-price strong { font-size: 3rem; line-height: 1; color: #0d69b8; }
.modal-price span { font-weight: 800; }
.modal-note { font-size: .85rem; margin-bottom: 18px; }
.modal-secondary { display: block; border: 0; background: transparent; color: #60718a; margin: 13px auto 0; cursor: pointer; }

.support-chat { position: fixed; right: 22px; bottom: 44px; z-index: 2500; }
.chat-launcher { border: 0; border-radius: 999px; padding: 13px 17px; background: #123d69; color: #fff; box-shadow: 0 12px 25px rgba(8,45,82,.3); cursor: pointer; display: flex; gap: 8px; align-items: center; }
.chat-launcher span { color: #ffd438; font-size: 1.2rem; }
.chat-panel { display: none; position: absolute; right: 0; bottom: 58px; width: min(350px, calc(100vw - 36px)); overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 18px 50px rgba(8,45,82,.25); border: 1px solid #dceafa; }
.chat-panel.is-open { display: block; }
.chat-header { background: linear-gradient(135deg, #123d69, #0d69b8); color: #fff; padding: 15px; display: flex; justify-content: space-between; align-items: flex-start; }
.chat-header small { display: block; opacity: .8; margin-top: 3px; }
.chat-header button { border: 0; background: transparent; color: #fff; font-size: 1.4rem; cursor: pointer; }
.chat-messages { max-height: 230px; overflow: auto; padding: 14px; background: #f7fbff; }
.chat-message { width: fit-content; max-width: 90%; padding: 9px 11px; margin-bottom: 9px; border-radius: 12px; background: #e6f2ff; color: #27486f; font-size: .88rem; line-height: 1.4; }
.chat-message.user { margin-left: auto; background: #0d69b8; color: #fff; }
.chat-suggestions { display: flex; gap: 6px; flex-wrap: wrap; padding: 9px 12px; border-top: 1px solid #e8f0f8; }
.chat-suggestions button { border: 1px solid #b9d6ef; background: #fff; color: #0d69b8; border-radius: 999px; padding: 6px 8px; font-size: .72rem; cursor: pointer; }
.chat-form { display: flex; gap: 7px; padding: 10px; border-top: 1px solid #e8f0f8; }
.chat-form input { flex: 1; min-width: 0; border: 1px solid #d7e5f3; border-radius: 10px; padding: 10px; }
.chat-form button { border: 0; border-radius: 10px; width: 42px; background: #ffd438; color: #123d69; font-weight: 900; cursor: pointer; }

@media (max-width: 720px) {
    .offer-strip { margin: -10px 16px 38px; padding: 18px; }
    .offer-badge { width: 88px; height: 88px; }
    .offer-badge strong { font-size: 1.55rem; }
    .trust-grid { grid-template-columns: 1fr; }
    .support-chat { right: 14px; bottom: 14px; }
}

.hero-banner {
    flex: 0 0 36%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-content {
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.06));
    border-radius: 8px;
    padding: 10px;
    width: 100%;
    max-width: 340px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-content img {
    max-width: 280px;
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

/* ============ SERVICES SECTION ============ */
.services-header {
    text-align: center;
    margin-bottom: 20px;
}

.services-container {
    display: flex;
    gap: 18px;
    justify-content: center;
    padding: 0 30px 30px;
    max-width: 1100px;
    margin: 0 auto 40px;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 18px 20px;
    text-align: center;
    box-shadow: none;
    border: 2px solid rgba(5,85,160,0.06);
    min-width: 220px;
}

.service-icon { font-size: 28px; margin-bottom: 8px; }

.service-card h3 { font-size: 16px; color: #003d82; margin-bottom: 6px; }

.service-card p { color: #666; font-size: 13px; }


/* ============ SERVICES SECTION ============ */
.services-header {
    text-align: center;
    margin-bottom: 50px;
}

.services-header h2 {
    font-size: 36px;
    color: #003d82;
    margin-bottom: 15px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 30px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    width: 100%;
    font: inherit;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #0055b3;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.service-card:focus-visible {
    outline: 3px solid #ffd438;
    outline-offset: 4px;
}

.service-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: #0055b3;
}

.service-card h3 {
    color: #003d82;
    margin-bottom: 10px;
    font-size: 20px;
}

.service-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* ============ CATEGORIES SECTION ============ */
.categories-header {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.categories-header h2 {
    font-size: 36px;
    color: #003d82;
    margin-bottom: 15px;
}

.categories-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    padding: 0 30px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.category-card:hover {
    border-color: #0055b3;
    background: #f0f7ff;
    transform: translateY(-5px);
}

.category-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.category-card p {
    color: #333;
    font-weight: 500;
    font-size: 13px;
}

/* ============ PRODUCTS SECTION ============ */
.products-header {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.products-header h2 {
    font-size: 36px;
    color: #003d82;
    margin-bottom: 15px;
}

.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    padding: 0 30px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #0055b3;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 16px;
    font-weight: bold;
    color: #003d82;
    margin-bottom: 8px;
}

.product-description {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 16px;
    font-weight: bold;
    color: #ffd700;
}

.add-to-cart {
    background-color: #0055b3;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.add-to-cart:hover {
    background-color: #003d82;
}

/* ============ CTA SECTION ============ */
.cta-section {
    background: linear-gradient(135deg, #003d82 0%, #0055b3 100%);
    color: white;
    padding: 60px 30px;
    text-align: center;
    margin: 50px 30px;
    border-radius: 12px;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    background-color: #ffd700;
    color: #003d82;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    background-color: #ffed4e;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ============ FOOTER ============ */
.footer {
    background-color: #1a1a1a;
    color: white;
    padding: 40px 30px;
    text-align: center;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: left;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffd700;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #999;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroSlideIn {
    from { opacity: 0; transform: translateX(18px); }
    to { opacity: 1; transform: translateX(0); }
}

.service-card, .product-card, .category-card {
    animation: fadeIn 0.6s ease-out forwards;
}

/* ============ PREMIUM DARK SERVICE THEME ============ */
body {
    background: #07111f;
    color: #eaf3ff;
    overflow-x: hidden;
}

.hero { background: #07111f; }
.hero-inner {
    background: radial-gradient(circle at 85% 15%, #174b78 0, #0d2744 34%, #0a1728 78%);
    border: 1px solid #1c527d;
    box-shadow: 0 22px 55px rgba(0,0,0,.28);
}
.offer-strip, .trust-grid article, .service-card, .category-card {
    background: linear-gradient(145deg, #101f32, #0b1727);
    border-color: #1c3854;
}
.offer-copy h2, .trust-heading h2, .trust-grid h3, .services-header h2, .categories-header h2 {
    color: #f2f7ff;
}
.offer-copy p, .trust-heading p, .trust-grid p, .service-card p, .category-card p { color: #a9bdd3; }
.services-header, .categories-header { color: #fff; }
.booking-offer-card { background: linear-gradient(145deg, #11243a, #091523); }
.booking-offer-card h2 { color: #f2f7ff; }
.booking-offer-card p { color: #aac0d6; }
.modal-secondary { color: #9eb3c9; }

/* ============ ROTATING HERO SERVICE SLIDER (DESKTOP BASE) ============ */
.hero-inner {
    position: relative;
    overflow: hidden;           /* ← was "visible"; this was the main culprit */
    height: 380px;
    min-height: 380px;
    max-height: 380px;
}
.hero-slides {
    width: 100%;
    height: 100%;
    position: relative;
    touch-action: pan-y;
    cursor: grab;
}
.hero-slides:active { cursor: grabbing; }
.hero-slide {
    display: none;
    align-items: stretch;
    gap: 26px;
    height: 100%;
    padding: 12px 22px 48px 0;
    animation: heroSlideIn .45s ease;
    isolation: isolate;
    overflow: hidden;
    border-radius: 18px;
    box-sizing: border-box;
}
.hero-slide.is-active { display: flex; }
.hero-slide::before { content: ""; position: absolute; z-index: -2; inset: -35px; background-image: var(--slide-bg); background-size: cover; background-position: center; filter: blur(24px) saturate(1.25); opacity: .24; transform: scale(1.08); }
.hero-slide::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(6,17,31,.97) 0%, rgba(6,17,31,.86) 42%, rgba(6,17,31,.3) 100%); pointer-events: none; }
.hero-slide:nth-child(1) { --slide-bg: url("https://images.unsplash.com/photo-1593642532400-2682810df593?auto=format&fit=crop&w=1200&q=80"); }
.hero-slide:nth-child(2) { --slide-bg: url("https://images.unsplash.com/photo-1587202372634-32705e3bf49c?auto=format&fit=crop&w=1200&q=80"); }
.hero-slide:nth-child(3) { --slide-bg: url("https://images.unsplash.com/photo-1593642632823-8f785ba67e45?auto=format&fit=crop&w=1200&q=80"); }
.hero-slide:nth-child(4) { --slide-bg: url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1200&q=80"); }
.hero-slide:nth-child(5) { --slide-bg: url("https://images.unsplash.com/photo-1580584126903-c17d41830450?auto=format&fit=crop&w=1200&q=80"); }
.hero-slide:nth-child(6) { --slide-bg: url("https://images.unsplash.com/photo-1612815154858-60aa4c59eaa6?auto=format&fit=crop&w=1200&q=80"); }

/* Text column */
.hero-slide .hero-text { min-width: 0; flex: 0 0 45%; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; padding-left: 24px; overflow: hidden; }
.hero-slide .hero-kicker { font-size: .72rem; letter-spacing: .14em; margin-bottom: 8px; color: #ffd84d; font-weight: 800; }
.hero-slide h2 { font-size: clamp(1.85rem, 3vw, 2.8rem); line-height: 1.05; margin-bottom: 8px; }
.hero-slide .sub { font-size: 1.05rem; line-height: 1.25; margin-bottom: 8px; }
.hero-slide .desc { max-width: 520px; font-size: 0.98rem; line-height: 1.42; margin-bottom: 14px; color: #b4cbe3; }
.hero-slide .hero-points { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.hero-slide .hero-points span { padding: 5px 9px; font-size: .72rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; }
.hero-slide .hero-button { padding: 12px 22px; font-size: .95rem; background: #ffd700; color: #003d82; border: 0; border-radius: 8px; font-weight: 800; cursor: pointer; width: fit-content; }

/* Photo / banner column — always fills the remaining height, never overflows */
.hero-slide .hero-banner {
    flex: 1 1 55%;
    display: flex;
    align-items: stretch;
    position: relative;
    z-index: 2;
    min-width: 0;
    overflow: hidden;   /* ← clips any child that tries to escape */
}
.hero-slide .banner-content {
    width: 100%;
    height: 100%;           /* ← fills banner column exactly */
    max-height: 100%;
    padding: 0;
    position: relative;
    overflow: hidden;       /* ← hard clip */
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 20px;
    background: #0b1e34;
    box-shadow: 0 20px 45px rgba(0,0,0,.34);
}
/* Photos always fill their container, never overflow */
.hero-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}
.banner-content::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,18,33,.04) 30%, rgba(5,18,33,.9) 100%); pointer-events: none; z-index: 1; }
.photo-caption { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; display: flex; flex-direction: column; gap: 4px; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.55); }
.photo-caption b { color: #ffd84d; font-size: 0.95rem; letter-spacing: .1em; }
.photo-caption span { font-size: .88rem; color: #edf7ff; }

/* Collage layout — must stay inside .banner-content's height */
.photo-collage {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    width: 100%;
    height: 100%;           /* ← fills banner-content */
    background: #071a2b;
}
.photo-collage > img {
    width: 100%;
    height: 100%;
    min-height: 0;          /* ← prevents grid blowout */
    object-fit: cover;
    display: block;
}
.photo-collage > img:first-child { grid-row: 1 / 3; }

.hero-controls { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 10; display: flex; justify-content: center; align-items: center; gap: 10px; }
.hero-arrow, .hero-dot { border: 1px solid rgba(255,255,255,.35); cursor: pointer; }
.hero-arrow { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 1.25rem; line-height: 22px; display: flex; align-items: center; justify-content: center; }
.hero-dots { display: flex; gap: 6px; }
.hero-dot { width: 14px; height: 14px; padding: 0; border-radius: 50%; background: rgba(255,255,255,.4); position: relative; z-index: 11; }
.hero-dot.is-active { width: 22px; border-radius: 10px; background: #ffd84d; border-color: #ffd84d; }


/* ============ DESKTOP SPECIFIC LAYOUT (>= 769px) ============ */
@media (min-width: 769px) {
    .apna-header {
        min-height: 108px;
        padding: 14px 32px 10px;
        flex-wrap: wrap;
        position: relative;
    }
    .header-nav {
        position: absolute;
        left: 0;
        bottom: 6px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        border-top: 1px solid rgba(142, 223, 255, .15);
        padding-top: 4px;
        min-height: 36px;
    }
    .header-nav .nav-links {
        display: flex;
        gap: 24px;
        margin: 0;
    }
    .header-nav .navbar-right {
        position: absolute;
        right: 28px;
        top: -38px;
        display: flex;
        gap: 8px;
    }
}

/* ============ TABLET LAYOUT (<= 992px) ============ */
@media (max-width: 992px) {
    .container { padding: 0 16px; }
    .trust-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
    .services-container { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

/* ============ MOBILE LAYOUT (<= 768px) — COMPLETE PHONE FIX ============ */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    /* Prevent mobile input zoom */
    input, select, textarea {
        font-size: 16px !important;
    }

    /* ---- HEADER ---- */
    .apna-header {
        min-height: auto !important;
        padding: 12px 14px 10px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        border-bottom: 2px solid rgba(255, 255, 255, 0.15) !important;
    }

    .brand-box {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .brand-icon {
        width: 44px !important;
        height: 44px !important;
        border-radius: 12px !important;
        flex: 0 0 44px !important;
    }
    .brand-icon::before { width: 30px !important; height: 30px !important; }
    .brand-icon::after { width: 20px !important; height: 20px !important; }
    .brand-chip { font-size: 0.95rem !important; }

    .brand-text h1 {
        font-size: 1.5rem !important;
        line-height: 1.1 !important;
    }
    .brand-text em {
        font-size: 0.65rem !important;
        margin-top: 1px !important;
        color: #8edfff !important;
    }

    .head-center {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
        margin: 2px 0 !important;
        padding: 0 !important;
        gap: 0 !important;
    }

    .head-center span {
        font-size: 0.82rem !important;
        color: #cce7ff !important;
        font-weight: 600 !important;
        font-style: normal !important;
        letter-spacing: normal !important;
        transform: none !important;
        position: static !important;
        left: auto !important;
        text-shadow: none !important;
    }

    .header-nav {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        gap: 8px !important;
        padding-top: 8px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
        min-height: auto !important;
        position: static !important;
        bottom: auto !important;
    }

    .header-nav .nav-links {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 6px 8px !important;
        width: 100% !important;
        position: static !important;
        transform: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .header-nav .nav-links a {
        font-size: 0.8rem !important;
        padding: 5px 11px !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border-radius: 999px !important;
        color: #fff !important;
        text-decoration: none !important;
    }

    .header-nav .navbar-right {
        display: flex !important;
        justify-content: center !important;
        gap: 10px !important;
        width: 100% !important;
        position: static !important;
        top: auto !important;
        right: auto !important;
        margin: 2px 0 0 !important;
    }

    .header-nav .btn-login,
    .header-nav .btn-register {
        flex: 1 !important;
        max-width: 160px !important;
        text-align: center !important;
        padding: 9px 12px !important;
        font-size: 0.85rem !important;
        border-radius: 8px !important;
    }

    /* ---- SUBPAGE NAVBARS (booking, login, dashboard, etc.) ---- */
    .navbar {
        padding: 10px 14px !important;
        justify-content: space-between !important;
    }
    .navbar .logo {
        font-size: 1.1rem !important;
        gap: 8px !important;
    }
    .navbar .logo-icon {
        width: 36px !important;
        height: 36px !important;
    }
    .navbar .nav-links {
        display: none !important;
    }
    .navbar-right {
        margin-left: auto !important;
    }
    .back-btn {
        padding: 6px 12px !important;
        font-size: 0.82rem !important;
    }

    /* ---- HERO SLIDER (PERFECT PHONE FIT) ---- */
    .hero {
        padding: 10px 10px 20px !important;
        margin: 8px auto 20px !important;
    }

    .hero-inner {
        padding: 14px 12px 38px !important;
        border-radius: 14px !important;
        min-height: auto !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .hero-slides {
        min-height: auto !important;
        height: auto !important;
        max-height: none !important;
    }

    .hero-slide {
        display: none;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        padding: 0 !important;
        min-height: auto !important;
        height: auto !important;
        max-height: none !important;
        border-radius: 12px !important;
        overflow: visible !important;
    }

    .hero-slide.is-active {
        display: flex !important;
    }

    .hero-slide .hero-text {
        flex: none !important;
        width: 100% !important;
        padding: 0 !important;
        overflow: visible !important;
        text-align: left !important;
    }

    .hero-slide .hero-kicker {
        font-size: 0.65rem !important;
        letter-spacing: 0.1em !important;
        margin-bottom: 5px !important;
    }

    .hero-slide h2 {
        font-size: 1.35rem !important;
        line-height: 1.18 !important;
        margin-bottom: 6px !important;
    }

    .hero-slide .sub {
        font-size: 0.9rem !important;
        line-height: 1.3 !important;
        margin-bottom: 6px !important;
    }

    .hero-slide .desc {
        font-size: 0.82rem !important;
        line-height: 1.38 !important;
        color: #b0cbe3 !important;
        margin-bottom: 10px !important;
    }

    .hero-slide .hero-points {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 5px !important;
        margin-bottom: 12px !important;
    }

    .hero-slide .hero-points span {
        font-size: 0.66rem !important;
        padding: 4px 7px !important;
    }

    .hero-slide .hero-button {
        width: 100% !important;
        padding: 13px 18px !important;
        font-size: 0.95rem !important;
        text-align: center !important;
        border-radius: 10px !important;
        display: block !important;
        box-shadow: 0 4px 12px rgba(255, 215, 0, 0.22) !important;
    }

    .hero-slide .hero-banner {
        flex: none !important;
        width: 100% !important;
        margin: 4px 0 0 !important;
        height: auto !important;
    }

    .hero-slide .banner-content {
        width: 100% !important;
        height: 160px !important;
        min-height: 160px !important;
        max-height: 160px !important;
        border-radius: 12px !important;
        transform: none !important;
    }

    .hero-slide:nth-child(2) .banner-content,
    .hero-slide:nth-child(3) .banner-content,
    .hero-slide:nth-child(4) .banner-content,
    .hero-slide:nth-child(5) .banner-content,
    .hero-slide:nth-child(6) .banner-content {
        border-radius: 12px !important;
        transform: none !important;
    }

    .hero-photo {
        width: 100% !important;
        height: 160px !important;
        min-height: 160px !important;
        max-height: 160px !important;
        object-fit: cover !important;
    }

    .photo-collage {
        height: 160px !important;
    }

    .photo-caption {
        bottom: 8px !important;
        left: 10px !important;
        right: 10px !important;
        gap: 2px !important;
    }
    .photo-caption b { font-size: 0.76rem !important; }
    .photo-caption span { font-size: 0.7rem !important; }

    .hero-controls {
        bottom: 8px !important;
        gap: 8px !important;
    }
    .hero-arrow {
        width: 26px !important;
        height: 26px !important;
        font-size: 1.1rem !important;
    }
    .hero-dot {
        width: 11px !important;
        height: 11px !important;
    }
    .hero-dot.is-active {
        width: 20px !important;
    }

    /* ---- OFFER STRIP (NO OVERLAP) ---- */
    .offer-strip {
        margin: 18px 10px 28px !important;
        padding: 16px 14px !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 12px !important;
        border-radius: 14px !important;
    }

    .offer-copy .offer-label {
        font-size: 0.68rem !important;
    }

    .offer-copy h2 {
        font-size: 1.25rem !important;
        margin: 4px 0 6px !important;
    }

    .offer-copy p {
        font-size: 0.82rem !important;
        line-height: 1.4 !important;
    }

    .offer-badge {
        width: 72px !important;
        height: 72px !important;
        margin: 0 auto !important;
    }
    .offer-badge strong {
        font-size: 1.35rem !important;
    }

    /* ---- SERVICES SECTION ---- */
    .services-header {
        margin-bottom: 18px !important;
        padding: 0 10px !important;
    }
    .services-header h2 {
        font-size: 1.45rem !important;
    }

    .services-container {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        padding: 0 10px 28px !important;
    }

    .service-card {
        padding: 18px 14px !important;
        border-radius: 12px !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .service-icon {
        font-size: 32px !important;
        margin-bottom: 8px !important;
    }

    .service-card h3 {
        font-size: 1.05rem !important;
    }

    .service-card p {
        font-size: 0.84rem !important;
    }

    /* ---- TRUST SECTION ---- */
    .trust-section {
        padding: 0 10px 30px !important;
        margin-bottom: 18px !important;
    }

    .trust-heading h2 {
        font-size: 1.3rem !important;
    }
    .trust-heading p {
        font-size: 0.84rem !important;
    }

    .trust-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .trust-grid article {
        padding: 14px 12px !important;
        border-radius: 12px !important;
    }
    .trust-grid h3 {
        font-size: 0.95rem !important;
    }
    .trust-grid p {
        font-size: 0.82rem !important;
    }

    /* ---- CTA SECTION ---- */
    .cta-section {
        margin: 22px 10px !important;
        padding: 26px 14px !important;
        border-radius: 14px !important;
    }

    .cta-section h2 {
        font-size: 1.25rem !important;
        margin-bottom: 10px !important;
    }

    .cta-section p {
        font-size: 0.86rem !important;
        margin-bottom: 18px !important;
    }

    .cta-button {
        width: 100% !important;
        max-width: 100% !important;
        padding: 13px 18px !important;
        font-size: 0.92rem !important;
    }

    /* ---- FOOTER ---- */
    .footer {
        padding: 28px 14px 18px !important;
        margin-top: 30px !important;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        text-align: center !important;
    }

    .footer-section ul li a {
        display: inline-block;
        padding: 4px 0;
        font-size: 0.85rem;
    }

    /* ---- MODALS & SUPPORT CHAT ---- */
    .booking-offer-card {
        padding: 20px 14px !important;
        border-radius: 16px !important;
        margin: 10px !important;
    }
    .booking-offer-card h2 {
        font-size: 1.3rem !important;
    }
    .booking-offer-card p {
        font-size: 0.84rem !important;
    }
    .modal-price strong {
        font-size: 2rem !important;
    }

    .support-chat {
        right: 10px !important;
        bottom: 12px !important;
    }
    .chat-launcher {
        padding: 9px 13px !important;
        font-size: 0.8rem !important;
    }
    .chat-panel {
        width: calc(100vw - 20px) !important;
        right: 0 !important;
        bottom: 48px !important;
        max-height: 75vh !important;
    }

    /* ---- SUBPAGE FORMS ---- */
    .booking-hero {
        padding: 24px 12px 18px !important;
    }
    .booking-hero h1 {
        font-size: 1.5rem !important;
    }
    .booking-card {
        margin: 14px 8px 30px !important;
        gap: 14px !important;
    }
    .booking-summary,
    .booking-form-box {
        padding: 14px 12px !important;
        border-radius: 12px !important;
    }
    .booking-form-box h2 {
        font-size: 1.25rem !important;
        margin-bottom: 12px !important;
    }
    .submit-btn {
        width: 100% !important;
        text-align: center !important;
    }

    .login-container {
        padding: 14px 10px !important;
        min-height: 65vh !important;
    }
    .login-box {
        padding: 20px 14px !important;
        border-radius: 12px !important;
    }
}

/* Extra small devices (<= 380px) */
@media (max-width: 380px) {
    .brand-text h1 {
        font-size: 1.3rem !important;
    }
    .header-nav .nav-links a {
        font-size: 0.74rem !important;
        padding: 4px 7px !important;
    }
    .hero-slide h2 {
        font-size: 1.2rem !important;
    }
}

/* ============================================================
   MOBILE UI COMPREHENSIVE FIXES (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {

    /* ---- BRAND ICON CHIP (mobile) ---- */
    .brand-chip {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 100% !important;
        font-size: 1rem !important;
        font-weight: 900 !important;
        color: #08284d !important;
        letter-spacing: -1px !important;
    }

    /* ---- REGISTER FORM: form-row 2-col -> 1-col ---- */
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    /* ---- REGISTER BOX overflow fix ---- */
    .register-box,
    .login-box {
        max-width: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    /* ---- NAVBAR: hide full nav-links, show only logo + back+login buttons ---- */
    .navbar .nav-links {
        display: none !important;
    }

    /* Navbar right buttons: shrink on very small screens */
    .navbar .navbar-right {
        gap: 6px !important;
    }

    .navbar .btn-login,
    .navbar .btn-register,
    .navbar .back-btn {
        padding: 6px 10px !important;
        font-size: 12px !important;
        white-space: nowrap !important;
    }

    /* ---- HEAD CENTER: remove any translateY ---- */
    .head-center span {
        transform: none !important;
        position: static !important;
    }

    /* ---- DASHBOARD / ADMIN: table scroll ---- */
    .table-responsive,
    table {
        display: block !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        max-width: 100% !important;
    }

    /* ---- OFFER STRIP badge centered ---- */
    .offer-strip {
        align-items: center !important;
    }

    /* ---- CATEGORY CARDS: 2 per row on mobile ---- */
    .categories-container {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 0 10px 28px !important;
        gap: 10px !important;
    }

    /* ---- PRODUCTS CONTAINER: 1 col ---- */
    .products-container {
        grid-template-columns: 1fr !important;
        padding: 0 10px 28px !important;
        gap: 12px !important;
    }

    /* ---- CTA BUTTON: full width ---- */
    .cta-button {
        display: block !important;
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto !important;
    }

    /* ---- BOOKING CARD: stack vertically ---- */
    .booking-card {
        flex-direction: column !important;
    }

    /* ---- BOOKING FORM INPUTS ---- */
    .booking-form-box input,
    .booking-form-box select,
    .booking-form-box textarea {
        font-size: 16px !important; /* prevent iOS zoom */
    }

    /* ---- OTP SECTION MOBILE ---- */
    .otp-container {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .otp-input-row {
        display: flex !important;
        gap: 8px !important;
        justify-content: center !important;
    }

    .otp-input-row input {
        width: 40px !important;
        height: 48px !important;
        text-align: center !important;
        font-size: 1.2rem !important;
        border-radius: 8px !important;
    }

    /* ---- MODALS: proper sizing on mobile ---- */
    .booking-offer-modal {
        padding: 10px !important;
        align-items: flex-end !important;
    }

    .booking-offer-card {
        max-height: 90vh !important;
        overflow-y: auto !important;
        width: 100% !important;
        border-radius: 20px 20px 0 0 !important;
    }

    /* ---- FOOTER: center all ---- */
    .footer-section {
        text-align: center !important;
    }

    .footer-section ul {
        padding: 0 !important;
    }
}

/* ============================================================
   EXTRA SMALL PHONES (<= 360px)
   ============================================================ */
@media (max-width: 360px) {
    .brand-text h1 {
        font-size: 1.2rem !important;
    }

    .header-nav .btn-login,
    .header-nav .btn-register {
        max-width: 130px !important;
        font-size: 0.78rem !important;
        padding: 7px 8px !important;
    }

    .categories-container {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    .hero-slide h2 {
        font-size: 1.1rem !important;
    }

    .hero-slide .desc {
        font-size: 0.78rem !important;
    }

    .service-card {
        padding: 14px 10px !important;
    }

    .service-icon {
        font-size: 26px !important;
    }
}

/* ============================================================
   BOOKING PAGE MOBILE LAYOUT
   ============================================================ */
@media (max-width: 768px) {
    .booking-hero {
        text-align: center !important;
    }

    .booking-hero h1 {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
    }

    .booking-hero p {
        font-size: 0.88rem !important;
    }

    .booking-card {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .booking-summary {
        order: 2 !important; /* Summary after form on mobile */
    }

    .booking-form-box {
        order: 1 !important;
    }

    .submit-btn,
    .login-btn,
    .register-btn {
        padding: 14px !important;
        font-size: 1rem !important;
        border-radius: 8px !important;
    }
}

/* ============================================================
   OTP MODAL STYLES
   ============================================================ */
.otp-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.otp-modal-card {
    background: #101d2e;
    border: 1px solid #1e4070;
    border-radius: 16px;
    padding: 32px 28px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.45);
    color: #e8f1fb;
    text-align: center;
}

.otp-modal-card h3 {
    color: #f4d405;
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.otp-modal-card p {
    color: #9cb6d4;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.otp-input-row {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.otp-digit {
    width: 44px;
    height: 52px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    border: 2px solid #315777;
    background: #0b1727;
    color: #f4f8ff;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
}

.otp-digit:focus {
    border-color: #0055b3;
    box-shadow: 0 0 0 3px rgba(0, 85, 179, 0.25);
}

.otp-verify-btn {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #003d82, #0055b3);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 12px;
    transition: opacity 0.2s;
}

.otp-verify-btn:hover { opacity: 0.9; }

.otp-resend-btn {
    background: transparent;
    border: none;
    color: #5ba3e0;
    font-size: 0.88rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 4px;
}

.otp-resend-btn:disabled {
    color: #4a6a8a;
    cursor: not-allowed;
    text-decoration: none;
}

.otp-timer {
    font-size: 0.82rem;
    color: #7a9ab8;
    margin-top: 8px;
}

@media (max-width: 400px) {
    .otp-digit {
        width: 38px;
        height: 46px;
        font-size: 1.2rem;
    }

    .otp-modal-card {
        padding: 24px 16px;
    }
}

