/* =========
   MOTOR SERVICE — RESPONSIVE STYLESHEET
   Desktop-first: base styles in style.css target desktop.
   Every override below narrows the viewport downward.
   ========= */


@media (max-width: 1199px) {

   .main-navbar__container {
        padding: 0 20px;
    }
 
    .main-nav-list {
        gap: 4px;
    }
 
    .main-nav-list__link.nav-link {
        padding: 10px 16px;
        font-size: 14px;
    }

   

    /*.process-section {*/
    /*    padding: 90px 0;*/
    /*}*/

    #processGallery {
        height: 420px;
        max-width: 100%;
    }

    #processContent {
        padding-left: 0;
    }

    #processHeading {
        font-size: 30px;
    }
}


/*  TABLET (<= 991px)  */
@media (max-width: 991px) {
    :root {
        --navbar-height: 76px;
    }

    /* Hide desktop nav + actions, show hamburger */
    .main-nav-list,
    .navbar-actions {
        display: none;
    }

    .navbar-toggle-btn {
        display: flex;
    }

    .main-navbar__container {
        justify-content: space-between;
    }


   
    .process-section {
        padding: 70px 0;
    }

    #processGrid {
        row-gap: 70px;
    }

    #processGallery {
        height: 500px;
        max-width: 500px;
        margin: 0 auto 40px;
    }
     #processStatsCard {
        left: 28%;
        bottom: -26px;
        width: 175px;
        padding: 22px 16px;
    }

    .process-stats-card__number {
        font-size: 26px;
    }
     #servicesHeading {
        font-size: 30px;
    }
    #servicesSubtitle {
        font-size: 14px;
        max-width: 560px;
    }

    /* Services grid → 2 columns on tablet */
    #services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* CTA banner */
    #ctaBannerInner {
        padding: 46px 20px;
    }

    #ctaBannerHeading {
        font-size: 28px;
    }

    #ctaBtnBook,
    #ctaBtnCall,
    #ctaBtnWhatsapp {
        padding: 12px 20px;
        font-size: 13px;
    }

    /* FAQ */
    #faq-section {
        padding: 70px 0;
    }

    #faqImageCol {
        display: none;
    }

    #faqHeading {
        font-size: 28px;
    }

    /* Service area */
    #area-section {
        padding: 70px 0;
    }

    #areaContentCol {
        order: 1;
        margin-bottom: 28px;
    }

    #areaMapCol {
        order: 2;
    }

    #areaHeading {
        font-size: 30px;
    }

    #areaSubtitle {
        margin-top: 14px;
    }

    #areaMapBox {
        min-height: 360px;
    }

    /* Book service */
    #book-section {
        padding: 70px 0;
    }

    #bookInfoCol {
        order: 1;
        margin-bottom: 24px;
    }

    #bookFormCol {
        order: 2;
    }

    #bookHeading {
        font-size: 30px;
    }

    #bookFormCard {
        padding: 32px;
    }

    #bookFormTitle {
        font-size: 26px;
    }

    /* Footer */
    .footer-row {
        padding: 56px 0 36px;
    }

    .footer-col {
        margin-bottom: 32px;
    }



/*  MOBILE (<= 767px)  */
@media (max-width: 767px) {
  

  
    .process-section {
        padding: 60px 0;
    }

  #processGallery {
        height: 420px;
        max-width: 420px;
    }
    #processGalleryDividerV,
    .process-gallery__corner {
        display: none;
    }

    #processStatsCard {
        left: 50%;
        transform: translateX(-50%);
        bottom: -22px;
        width: 160px;
        padding: 18px 14px;
        gap: 12px;
    }

    #processHeading {
        font-size: 24px;
        padding-bottom: 16px;
        margin-bottom: 28px;
    }

    #processStepsList {
        gap: 20px;
        margin-bottom: 28px;
    }

    .process-step__icon {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .process-step__title {
        font-size: 16px;
    }

   

    /* CTA banner */
    #cta-banner {
        padding: 20px 0px;
    }

    #ctaBannerInner {
        padding: 34px 14px;
    }

    #ctaBannerHeading {
        font-size: 21px;
    }

    #ctaBannerText {
        font-size: 13px;
        margin-bottom: 22px;
    }

    #ctaBannerActions {
        gap: 9px;
    }

    #ctaBtnBook,
    #ctaBtnCall,
    #ctaBtnWhatsapp {
        padding: 10px 13px;
        font-size: 11.5px;
        gap: 6px;
    }

    /* FAQ */
    #faq-section {
        padding: 56px 0;
    }

    #faqHeading {
        font-size: 24px;
        margin-bottom: 22px;
    }

    .faq-item__btn {
        padding: 16px 18px;
        font-size: 14.5px;
    }

    .faq-item__body {
        padding: 0 18px 18px;
        font-size: 13px;
    }

    #faqCtaBar {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 22px 20px;
    }

    #faqCtaBtn {
        width: 100%;
        text-align: center;
    }

    /* Service area */
    #area-section {
        padding: 56px 0;
    }

    #areaHeadRow {
        margin-bottom: 28px;
    }

    #areaHeading {
        font-size: 25px;
    }

    #areaCoverCard {
        padding: 22px 20px;
    }

    #areaCoverTitle {
        font-size: 18px;
    }

    .area-cover-list__item {
        padding: 7px 13px;
        font-size: 12px;
    }

    #areaTrustCard {
        padding: 24px 22px;
    }

    .area-trust-stat__number {
        font-size: 26px;
    }

    #areaCallBar {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 20px;
    }

    #areaCallBtn {
        width: 100%;
        text-align: center;
    }

    #areaMapBox {
        min-height: 300px;
    }
    #servicesHead {
        margin-bottom: 32px;
    }
    #servicesEyebrow {
        gap: 10px;
        font-size: 14px;
    }
    #servicesEyebrow .services-head__eyebrow-line {
        width: 28px;
    }
    #servicesHeading {
        font-size: 26px;
    }
    #servicesSubtitle {
        font-size: 13.5px;
        line-height: 1.65;
        margin-top: 10px;
    }

    /* Book service */
    #book-section {
        padding: 56px 0;
    }

    #bookHead {
        margin-bottom: 32px;
    }

    #bookHeading {
        font-size: 25px;
    }

    #bookInfoCard {
        padding: 28px 22px;
    }

    #bookInfoTitle {
        font-size: 21px;
    }

    #bookFormCard {
        padding: 26px 20px;
    }

    #bookFormTitle {
        font-size: 23px;
    }

    #bookFormSub {
        font-size: 13px;
        margin-bottom: 22px;
    }

    .book-form__input {
        padding: 13px 16px;
    }

    .book-form__submit {
        width: 100%;
        justify-content: center;
    }

    /* Footer */
    .footer-row {
        padding: 48px 0 28px;
    }

    .footer-col__title {
        margin-bottom: 18px;
    }

    #footerAbout {
        max-width: 100%;
    }

    .footer-bottom__inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}


/*  SMALL MOBILE (<= 575px)  */
@media (max-width: 575px) {
        .main-navbar__container {
        padding: 0 16px;
    }
 
    .site-logo__text {
        font-size: 17px;
    }
 
    .mobile-sidebar {
        width: 300px;
    }

   
    .mobile-sidebar {
        max-width: 300px;
    }

    #processGallery {
        height: 340px;
        max-width: 100%;
    }

     #processStatsCard {
        bottom: -18px;
        width: 140px;
        padding: 14px 12px;
        gap: 10px;
    }

    .process-stats-card__number {
        font-size: 20px;
    }

    .process-stats-card__label {
        font-size: 11px;
    }

    #processHeading {
        font-size: 21px;
    }

    .process-step__desc {
        font-size: 13px;
    }

    #processCtaRow {
    flex-direction: row !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

#processBookBtn {
    flex: 1 1 auto;
    justify-content: center;
    padding: 12px 14px;
    font-size: 13px;
    gap: 6px;
    white-space: nowrap;
}

#processPhoneLink {
    flex: 1 1 auto;
    padding: 6px 8px;
    gap: 8px;
    min-width: 0;
}

.process-cta-row__phone-icon {
    width: 32px;
    height: 32px;
    font-size: 13px;
    flex-shrink: 0;
}

.process-cta-row__phone-text {
    min-width: 0;
}

.process-cta-row__phone-text strong {
    font-size: 12.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.process-cta-row__phone-text small {
    font-size: 9.5px;
}

    /* Services grid → 1 column on small mobile */
    #services-grid {
        grid-template-columns: 1fr;
    }

   #servicesEyebrow .services-head__eyebrow-line {
        width: 20px;
    }
    #servicesHeading {
        font-size: 23px;
        line-height: 1.3;
    }
    #servicesSubtitle {
        font-size: 13px;
        padding: 0 6px;
    }
    /* CTA banner */
    #ctaBannerInner {
        padding: 28px 10px;
    }

    #ctaBannerEyebrow {
        font-size: 10px;
        gap: 8px;
    }

    #ctaBannerHeading {
        font-size: 17px;
    }

    #ctaBannerText {
        font-size: 11.5px;
        margin-bottom: 18px;
    }

    #ctaBannerActions {
        gap: 6px;
    }

    #ctaBtnBook,
    #ctaBtnCall,
    #ctaBtnWhatsapp {
        padding: 8px 10px;
        font-size: 10px;
        gap: 4px;
        letter-spacing: 0;
    }

    /* FAQ */
    #faqHeading {
        font-size: 21px;
    }

    .faq-item__btn {
        font-size: 13.5px;
        padding: 14px 16px;
    }

    /* Service area */
    #areaHeading {
        font-size: 22px;
    }

    #areaTrustGrid {
        gap: 20px 16px;
    }

    .area-trust-stat__number {
        font-size: 23px;
    }

    /* Book service */
    #bookEyebrow {
        font-size: 13px;
        gap: 10px;
    }

    #bookHeading {
        font-size: 22px;
    }

    .book-info-item__icon {
        width: 38px;
        height: 38px;
        font-size: 13px;
    }

    #bookFormBadge {
        font-size: 12px;
    }

    #bookFormTitle {
        font-size: 21px;
    }

    /* Footer */
    .footer-row {
        padding: 40px 0 24px;
    }

    .footer-logo__text {
        font-size: 20px;
    }

    .footer-col__title {
        font-size: 16px;
    }

    .footer-bottom__legal {
        gap: 16px;
    }
    /* Mobile sidebar + overlay: desktop-এ সম্পূর্ণ লুকানো */

    /* */

@media (max-width: 1199px) {
    #pageHeroHeading {
        font-size: 38px;
    }

    /* Why grid → 2 columns */
    #whyGrid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/*  TABLET (<= 991px)  */
@media (max-width: 991px) {
    #page-hero {
        padding: 60px 0 54px;
    }

    #pageHeroHeading {
        font-size: 32px;
    }

    #pageHeroText {
        font-size: 15px;
    }

    /* Services grid → 2 columns on tablet */
    .services-page {
        padding: 70px 0;
    }

    .services-page #services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Why section */
    #why-section {
        padding: 70px 0;
    }

    #whyHeading {
        font-size: 28px;
    }
    
}


/*  MOBILE (<= 767px)  */
@media (max-width: 767px) {
    #page-hero {
        padding: 48px 0 44px;
    }
   

    .page-hero__glow {
        width: 320px;
        height: 320px;
        top: -100px;
        right: -100px;
    }

    #pageHeroHeading {
        font-size: 26px;
    }

    #pageHeroText {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .page-hero__crumb {
        font-size: 13px;
    }

    /* Services */
    .services-page {
        padding: 56px 0;
    }

    .services-page .services-heading {
        margin-bottom: 40px;
    }

    .services-page .services-title {
        font-size: 1.9rem;
    }

    .services-page .services-subtitle {
        font-size: 0.95rem;
    }

    /* Why section */
    #why-section {
        padding: 56px 0;
    }

    #whyHeading {
        font-size: 24px;
    }

    #whyGrid {
        gap: 18px;
    }

    .why-card {
        padding: 26px 22px;
    }
}


/*  SMALL MOBILE (<= 575px)  */
@media (max-width: 575px) {
    #pageHeroHeading {
        font-size: 22px;
    }

    #pageHeroEyebrow {
        font-size: 13px;
    }
    

    /* Services grid → 1 column */
    .services-page #services-grid {
        grid-template-columns: 1fr;
    }

    .services-page .services-title {
        font-size: 1.7rem;
    }

    /* Why grid → 1 column */
    #whyGrid {
        grid-template-columns: 1fr;
    }

    #whyHeading {
        font-size: 22px;
    }
}

/* ---- Our Process: tablet → 2 cols ---- */
@media (max-width: 991px) {
    #proc-section {
        padding: 70px 0;
    }
    #procSteps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
    }
    /* hide the horizontal line once it wraps */
    #procSteps::before {
        display: none;
    }
    #procHeading {
        font-size: 28px;
    }
}

/* ---- Our Process: mobile → single vertical column ---- */
@media (max-width: 575px) {
    #procSteps {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    #procHeading {
        font-size: 24px;
    }
}
/* ---- Rewind vs Replace ---- */
@media (max-width: 991px) {
    #vs-section {
        padding: 70px 0;
    }
    #vsHeading {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    /* stack the two compare cards */
    #vsGrid {
        grid-template-columns: 1fr;
    }
    /* stack the callout */
    #vsCallout {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 22px 20px;
    }
    #vsCalloutBtn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    #vsHeading {
        font-size: 24px;
    }
    .vs-card {
        padding: 26px 22px;
    }
    .vs-card__title {
        font-size: 18px;
    }
}

}
/* ============================================================
   ABOUT PAGE — RESPONSIVE OVERRIDES
   Desktop defaults live in about.css. Mobile-down only here.
   ============================================================ */

/* ---- Tablet / small desktop ---- */
@media (max-width: 991px) {

    /* Page hero */
    #pageHeroHeading {
        font-size: 34px;
    }

    /* Story: stack image over text */
    #story-section {
        padding: 72px 0;
    }

    #storyGrid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    #storyMedia {
        max-width: 560px;
        margin: 0 auto;
    }

    .story-body__heading,
    .values-head__heading {
        font-size: 28px;
    }

    /* Stats band: 2 x 2, drop dividers */
    #stats-band {
        padding: 54px 0;
    }

    #statsBandInner {
        flex-wrap: wrap;
        gap: 36px 16px;
    }

    .stat-item {
        flex: 0 0 calc(50% - 8px);
    }

    .stat-item__divider {
        display: none;
    }

    .stat-item__num {
        font-size: 36px;
    }

    /* Values: stack, drop sticky */
    #values-section {
        padding: 72px 0;
    }

    #valuesLayout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    #valuesHead {
        position: static;
        top: auto;
    }

    .values-head__text {
        max-width: 100%;
    }
}

/* ---- Mobile ---- */
@media (max-width: 767px) {

    #story-section {
        padding: 60px 0;
    }

    .story-media__main img {
        height: 340px;
    }

    .story-media__sub img {
        height: 140px;
    }

    #storyBadge {
        top: 16px;
        left: 12px;
        padding: 14px 18px;
    }

    .story-badge__num {
        font-size: 28px;
    }

    .story-body__heading {
        font-size: 26px;
    }

    .story-body__actions {
        gap: 12px;
    }

    .story-body__btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    /* Value rows: icon moves out of the way, tighter gap */
    .value-row {
        gap: 16px;
        padding: 22px 0;
    }

    .value-row__num {
        min-width: 32px;
        font-size: 19px;
    }

    .value-row__icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .value-row:hover {
        transform: none;
    }
}

/* ---- Small mobile ---- */
@media (max-width: 575px) {

    #pageHeroHeading {
        font-size: 28px;
    }

    /* Stats band: single column */
    .stat-item {
        flex: 0 0 100%;
    }

    #statsBandInner {
        gap: 28px;
    }

    .story-media__main img {
        height: 260px;
    }

    #storyMedia {
        padding-right: 24px;
        padding-bottom: 30px;
    }

    /* Hide the small overlap image on very narrow screens for clarity */
    .story-media__sub {
        width: 52%;
    }

    .story-media__sub img {
        height: 120px;
    }

    .story-body__heading,
    .values-head__heading {
        font-size: 24px;
    }

    .value-row__icon {
        display: none;
    }
}
/* ============================================================
   CONTACT PAGE — RESPONSIVE OVERRIDES
   Desktop defaults live in contact.css. Mobile-down only here.
   ============================================================ */

/* ---- Tablet / small desktop ---- */
@media (max-width: 991px) {

    /* Contact split → stack, form first feels natural but keep info first */
    #contact-section {
        padding: 72px 0;
    }

    #contactGrid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .contact-info__heading {
        font-size: 28px;
    }

    .contact-info__text {
        max-width: 100%;
    }

    /* Map */
    #map-section {
        padding-bottom: 72px;
    }

    .contact-map {
        height: 360px;
    }

    #mapDirections {
        left: 40px;
    }
}

/* ---- Mobile ---- */
@media (max-width: 767px) {

    #contact-section {
        padding: 60px 0;
    }

    #contactGrid {
        gap: 36px;
    }

    .contact-info__heading {
        font-size: 25px;
    }

    /* Form card padding trims on small screens */
    #bookFormCard {
        padding: 28px 22px;
    }

    #bookFormTitle {
        font-size: 24px;
    }

    /* Channels tighten slightly */
    #contactChannels {
        gap: 18px;
    }

    .contact-channel__icon {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }

    /* Map directions button becomes full-width under the map */
    #mapInner {
        padding: 0 16px;
    }

    .contact-map {
        height: 300px;
    }

    #mapDirections {
        position: static;
        display: flex;
        justify-content: center;
        margin-top: 16px;
        box-shadow: none;
    }
}

/* ---- Small mobile ---- */
@media (max-width: 575px) {

    #pageHeroHeading {
        font-size: 28px;
    }

    .contact-hours__row {
        flex-wrap: wrap;
        gap: 4px;
    }

    .contact-map {
        height: 260px;
        border-radius: 14px;
    }
}
/* ============================================================
   TESTIMONIALS — RESPONSIVE (desktop-first)
   ============================================================ */

/* 3 visible */
@media (max-width: 1199.98px) {
    .tst-card {
        width: calc((100vw - 48px - 48px) / 3);
    }
}

/* 2 visible */
@media (max-width: 991.98px) {
    #tst-section {
        padding: 80px 0;
    }
    #tstHeading {
        font-size: 30px;
    }
    .tst-card {
        width: calc((100vw - 48px - 24px) / 2);
        padding: 30px 26px 26px;
    }
    .tst-card__text {
        font-size: 15px;
    }
}

/* 1 visible */
@media (max-width: 767.98px) {
    #tst-section {
        padding: 56px 0;
    }
    #tstHead {
        margin-bottom: 36px;
    }
    #tstHeading {
        font-size: 26px;
    }
    #tstMarquee {
        -webkit-mask-image: none;
        mask-image: none;
    }
    .tst-card {
        width: calc(100vw - 72px);
        max-width: none;
        margin-right: 16px;
        padding: 28px 22px 24px;
    }
    .tst-card__text {
        font-size: 15px;
        line-height: 1.75;
    }
    .tst-marquee__arrow {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
    .tst-marquee__arrow--prev {
        left: 8px;
    }
    .tst-marquee__arrow--next {
        right: 8px;
    }
}

@media (max-width: 575.98px) {
    #tstHeading {
        font-size: 23px;
    }
    .tst-card__avatar {
        width: 42px;
        height: 42px;
        font-size: 14px;
    }
}
/* ---- Show on mobile ---- */
@media (max-width: 767.98px) {
 
    #mobile-cta-bar {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1040;
        background-color: var(--color-white);
        border-top: 1px solid #E7ECF2;
        box-shadow: 0 -6px 20px rgba(27, 36, 48, 0.08);
        padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
    }
 
    .mobile-cta-bar__item {
        flex: 1 1 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 8px 4px;
        font-size: 12px;
        font-weight: 600;
        border-radius: 12px;
        transition: var(--transition-base);
    }
 
    .mobile-cta-bar__item i {
        font-size: 19px;
        line-height: 1;
    }
 
    /* Call */
    .mobile-cta-bar__item--call {
        color: var(--color-heading-dark);
    }
    .mobile-cta-bar__item--call i {
        color: var(--color-primary-blue);
    }
 
    /* WhatsApp */
    .mobile-cta-bar__item--wa {
        color: var(--color-heading-dark);
    }
    .mobile-cta-bar__item--wa i {
        color: #25D366;
    }
     .mobile-cta-bar__item--book i {
        color: var(--color-primary-blue);
     }
 
    /* Book — filled accent button */
    .mobile-cta-bar__item--book {
        margin-left: 4px;
        color: var(--color-heading-dark);
    }
   
 
    .mobile-cta-bar__item--call:active,
    .mobile-cta-bar__item--wa:active {
        background-color: var(--color-bg-light);
    }
    .mobile-cta-bar__item--book:active {
        background-color: var(--color-cta-red-dark);
    }
    
 
    /* Give page bottom breathing room so the bar never covers the footer */
    #site-footer {
        margin-bottom: 68px;
    }
}

@media (min-width: 1600px) {
    .hero-carousel__img {
        max-height: 720px;
        object-fit: contain;
        background-color: #ffffff;
    }
}

/* MINI MOBILE */
@media (max-width: 575px) {
    .hero-section {
        line-height: 0;
    }

    .hero-carousel__img{
        height: 220px;
        width: 100%;
          object-fit: contain;
        object-position: center;
        background-color: #ffffff;
       
    }

    .carousel-item {
        margin-top: 10px;
    }
    #site-header .lang-toggle-btn {
        padding: 1px 3px;
        gap: 1px;
        border-radius: 14px;
        font-size: 10px;
        margin-left: 50px;
    }
     #site-header .lang-toggle-btn span {
        font-size: 10px;
    }
}
/* WHATSAPP STICKY BUTTON — tablet/mobile এ hide, desktop-only */
@media (max-width: 991px) {
    #whatsappStickyBtn {
        display: none;
    }
}
@media (max-width: 767px) {
    .hero-section {
        padding: calc(var(--navbar-height) + 16px) 0 24px !important;
    }
    .hero-carousel__frame {
        height: auto !important;
        border-radius: 10px !important;
    }
    .hero-carousel__img {
        height: auto !important;
        object-fit: unset !important;
    }
    
    .hero-carousel__content {
        top: 16px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 90% !important;
        max-width: 90% !important;
        text-align: center !important;
    }
    .hero-carousel__eyebrow {
        justify-content: center !important;
    }
    .hero-carousel__title {
        font-size: clamp(17px, 5.5vw, 21px) !important;
        margin-bottom: 12px !important;
        line-height: 1.3 !important;
    }
    .hero-carousel__desc{
         font-size: 13px;
    }
    .hero-btn {
        display: none !important;
    }
}