/* ================================================
   OCPL Logistics - Responsive Overrides
   Only for design-specific adjustments that Bootstrap
   utilities cannot handle.
   Bootstrap breakpoints: 576, 768, 992, 1200, 1400
   ================================================ */

/* ── XL: 1200px and below ── */
@media (max-width: 1199.98px) {
  :root {
    --container-pad: 40px;
    --fs-h1: 52px;
    --fs-h2: 34px;
  }

  .hero-content h2 {
    font-size: 52px;
  }

  .footer-cta {
    height: auto;
    padding: 40px 30px;
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .footer-cta__images {
    width: 100%;
    height: 280px;
  }

  .footer-cta__img-base {
    width: 100%;
    height: 127%;
  }

  .footer-cta__img-person {
    height: 340px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
  }

  .site-header {
    left: 30px;
    right: 30px;
  }
}

/* ── LG: 992px and below ── */
@media (max-width: 991.98px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-images {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .about-right {
    width: 100%;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
  }

  .process-step__arrow {
    display: none;
  }

  .clients-strip {
    overflow: hidden;
  }

  .why-choose-left {
    min-height: auto;
  }

  .why-choose-img {
    min-height: 400px;
  }

  .why-choose-right {
    padding: 30px 0;
  }

  .smart-counter-box {
    width: 100%;
  }
}

/* ── MD: 768px and below ── */
@media (max-width: 767.98px) {
  :root {
    --container-pad: 20px;
    --fs-h1: 32px;
    --fs-h2: 24px;
    --fs-h3: 20px;
    --fs-h4: 17px;
    --fs-body: 16px;
    --space-5xl: 50px;
    --space-4xl: 40px;
    --space-3xl: 30px;
  }

  p,
  span {
    font-size: 16px !important;
  }

  html,
  body {
    overflow-x: hidden !important;
    max-width: 100vw;
  }

  /* ── Header ── */
  .header-nav,
  .header-cta {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
  }

  .mobile-nav {
    display: flex;
  }

  .site-header {
    left: 16px;
    right: 16px;
    top: 12px;
    height: 60px;
    padding: 0 16px;
  }

  .site-header.scrolled {
    padding: 0 16px;
  }

  .header-logo img {
    width: 70%;
  }

  /* ── Hero ── */
  .hero-slider {
    height: 600px;
  }

  .hero-slide {
    padding: 85px 20px 60px;
    align-items: center;
    justify-content: center;
  }

  .hero-content {
    max-width: 100%;
    gap: 10px;
  }

  .hero-content__label {
    font-size: 13px;
    letter-spacing: 1px;
  }

  .hero-content h2 {
    font-size: 28px;
    line-height: 1.25;
  }

  .hero-content p {
    font-size: 16px;
    max-width: 100%;
  }

  .hero-content__cta {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .hero-content__cta .btn {
    max-width: 320px;
    justify-content: center;
  }

  .hero-badge {
    display: flex;
    bottom: 16px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    background: transparent;
    border: none;
    backdrop-filter: none;
    padding: 0;
  }

  .hero-badge__nav {
    flex-direction: row;
  }

  .hero-badge__btn {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  .hero-badge__info {
    display: none;
  }

  /* ── Clients ── */
  .clients-section {
    padding: 20px 0;
    overflow: hidden;
  }

  .clients-inner {
    overflow: hidden;
    width: 100%;
  }

  .clients-track {
    gap: 24px;
    animation: marquee 16s linear infinite;
  }

  .client-logo {
    flex-shrink: 0;
    width: 110px;
    height: 48px;
    padding: 0 10px;
  }

  .client-logo img {
    max-height: 38px;
    max-width: 110px;
  }

  /* ── About ── */
  .about-section {
    padding: 40px 20px;
  }

  .about-images {
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 28px;
  }

  .about-img-primary {
    width: 100%;
    max-width: 100%;
    height: 260px;
    border-radius: 10px;
  }

  .about-img-secondary-wrap {
    width: 100%;
    max-width: 100%;
    flex-direction: row;
    gap: 12px;
    margin-top: 12px;
  }

  .counter-box {
    width: 100%;
    padding: 16px;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .about-img-secondary {
    width: 100%;
    height: 160px;
    border-radius: 10px;
    object-fit: cover;
  }

  .about-right {
    width: 100%;
    padding: 0;
    gap: 20px;
  }

  .about-right .heading-group {
    gap: 12px;
  }

  .highlights-row {
    flex-direction: column;
    gap: 16px;
  }

  .checklist-grid {
    flex-direction: column;
    gap: 8px;
  }

  .checklist-col {
    width: 100%;
  }

  /* ── Services ── */
  .services-section {
    padding: 40px 16px 80px;
  }

  .services-section .row {
    row-gap: 15px !important;
  }

  .services-header {
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card__bg {
    height: 250px;
  }

  .service-card {
    height: 320px;
    padding: 0;
  }

  .service-card__icon-wrap {
    left: 20px;
  }

  .service-card__content {
    left: 20px;
    right: 20px;
    top: 125px;
    gap: 12px;
  }

  .service-card__title {
    font-size: 19px;
  }

  .service-card__text {
    font-size: 16px;
    line-height: 1.5;
  }

  /* ── Why Choose Us ── */
  .why-choose-section .row {
    padding: 40px 16px;
    gap: 0;
  }

  .why-choose-left {
    width: 100%;
    max-width: 100%;
    min-height: unset;
    margin-bottom: 24px;
  }

  .why-choose-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    min-height: unset;
    border-radius: 10px;
  }

  .why-choose-right {
    padding: 0;
    width: 100%;
  }

  .why-choose-bottom {
    flex-direction: column;
    gap: 24px;
  }


  .why-choose-counters {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }

  .why-counter-item {
    flex: 1;
    min-width: 120px;
  }

  /* ── Smart / Solutions Section ── */
  .smart-section {
    padding: 40px 16px;
  }

  .smart-left {
    width: 100%;
    margin-bottom: 28px;
  }

  .smart-right {
    width: 100%;
  }

  .smart-video {
    width: 100%;
    height: 240px;
    border-radius: 10px;
  }

  .smart-middle-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .smart-checklist .checklist-item__text {
    white-space: normal;
  }

  .smart-counter-box {
    width: 100%;
    max-width: 100%;
  }

  /* ── Parallax ── */
  .parallax-section {
    min-height: 260px;
    padding: 60px 16px;
  }

  .parallax-section h2 {
    font-size: 24px;
    line-height: 1.3;
  }

  .parallax-section p {
    font-size: 16px;
  }

  /* ── Track & Trace ── */
  .track-section-wrap {
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 16px;
    padding-right: 16px;
    position: relative;
  }

  .track-section {
    position: static;
    transform: none;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .track-tab {
    padding: 12px 24px;
    font-size: 14px;
  }

  .track-form {
    padding: 20px 16px;
  }

  .radio-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* ── Process / How It Works ── */
  .process-section {
    padding: 40px 20px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .process-step__icon {
    width: 90px;
    height: 90px;
  }

  .process-step__icon img {
    width: 46px;
    height: 46px;
  }

  /* ── Footer CTA Wrap ── */
  .footer-cta-wrap {
    padding: 40px 20px;
  }

  .footer-cta {
    height: auto;
    flex-direction: column-reverse;
    padding: 30px 20px 0;
    gap: 28px;
    border-radius: 12px;
    text-align: left;
  }

  .footer-cta__content {
    max-width: 100%;
    gap: 14px;
  }

  .footer-cta__title {
    font-size: 22px;
    line-height: 1.3;
  }

  .footer-cta__text {
    font-size: 16px;
  }

  .footer-cta__images {
    display: block;
    height: 200px;
  }

  .footer-cta__img-person {
    height: 240px;
  }

  .footer-cta .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  /* ── Footer ── */
  .site-footer {
    padding: 40px 20px 20px;
  }

  .footer-col__inner--padded,
  .footer-col__inner--padded-xl {
    padding-left: 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 20px;
  }

  .footer-bottom p,
  .footer-bottom-links {
    font-size: 13px;
  }

  /* ── Section headings ── */
  .section-label {
    font-size: 13px;
    letter-spacing: 1.5px;
  }

  .section-title {
    font-size: 24px;
    line-height: 1.3;
  }

  .section-title--white {
    font-size: 24px;
  }


  /* ── Buttons ── */
  .btn {
    font-size: 14px;
    padding: 12px 20px;
  }

  /* ── Contact ── */
  .contact-form {
    padding: 24px;
  }

  /* ── Page Banner ── */
  .page-banner {
    padding: 100px 20px 60px;
  }

  .page-banner h1 {
    font-size: 28px;
  }

  /* ── Counters ── */
  .counter-box__number,
  .counter-box__number span,
  .why-counter-num,
  .why-counter-num span,
  .smart-counter-number,
  .smart-counter-number span,
  .about-counter-val,
  .about-counter-val span {
    font-size: 40px !important;
  }
}

/* ── SM: 576px and below ── */
@media (max-width: 575.98px) {
  .hero-slider {
    height: 580px;
  }

  .hero-slide {
    padding: 85px 16px 50px;
  }

  .hero-content h2 {
    font-size: 26px;
  }

  .about-img-secondary-wrap {
    flex-direction: column;
    gap: 10px;
  }

  .about-img-secondary {
    height: 320px;
  }

  .counter-box {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
  }

  .counter-box__label {
    border-left: none;
    border-top: 2px solid #797676;
    padding-left: 0;
    padding-top: 10px;
  }



  .why-choose-counters {
    flex-direction: column;
    gap: 16px;
  }

  .why-counter-item {
    width: 100%;
  }

  .smart-video {
    height: 200px;
  }

  .section-title {
    font-size: 22px;
  }

  .service-card__bg {
    height: 300px;
  }

  .services-grid {
    gap: 20px;
  }

  .service-card__icon-wrap {
    top: 22px;
    width: 80px;
    height: 80px;
  }

  .footer-logo img {
    max-height: 30px;

  }
}