/* ------------------------------------------------------------------------ */
/* RESPONSIVE SETTINGS – OZCOAST LOGISTICS */
/* ------------------------------------------------------------------------ */

/* ------------------------------------------------------------------------ */
@media (min-width: 1921px) {}
/* ------------------------------------------------------------------------ */

/* ------------------------------------------------------------------------ */
@media (min-width: 1200px) {
	/* .navbar-brand { background: #fef9f5; width: 180px; padding: 1.5rem 1.5rem; } */
}
/* ------------------------------------------------------------------------ */

@media (min-width: 992px) and (max-width: 1199.99px) {
	html { font-size: 15px; }
	.overlay-hugeinc form .form-inner-div { padding-right: 7px; }
	.slider .swiper-custom-pagination { padding: 0 15px; }
}
/* ------------------------------------------------------------------------ */

@media (min-width: 768px) and (max-width: 991.99px) {
	html { font-size: 15px; } 
	footer .social-icons{ margin-bottom: 20px; }
	.why-choose [class*="col-"] { margin-bottom: 30px; }
	.why-choose [class*="col-"]:last-child { margin-bottom: 0px; }
	.sidebar-primary div.widget-wrap:last-child,
	.sidebar-secondary div.widget-wrap:last-child{ margin-bottom: 0!important; }
	.sidebar-secondary { margin-top: 0; }
}
/* ------------------------------------------------------------------------ */

@media (min-width: 991px) {
	.dropdown-menu.show { display: none; }
	.dropdown-menu[data-bs-popper] {
		top: auto; left: 0; margin-top: 0;
	}
	.navbar-expand-md .navbar-nav .nav-item, 
	.navbar-expand-lg .navbar-nav .nav-item {
		padding: 1rem 0; margin: 0 0.19rem;
	}
}
/* ------------------------------------------------------------------------ */

@media (max-width: 991px) {
	.offcanvas-backdrop.show {opacity: 0.8; background-color: #06163a;}
	.offcanvas-header{padding-bottom:0;width:100%;justify-content:space-between;}
	.offcanvas-header .navbar-toggler{font-size:1.5rem;color:var(--secondary-color);}
	.b-settings-panel{display:none;}
	#body-content{overflow-x:hidden;}
	.home-welcome{margin-top:-40px;}
	.request-btn a#search_home{margin-left:auto;}
	.header-one .request-btn a#search_home{top:2px;position:relative;padding:0;}
	.img-business-man{position:relative;}
	.header-one .request-btn{margin-left:auto;}
	.request_popup{max-width:80%;margin-left:auto;margin-right:auto;}
	.request-page-form{padding:0 2rem;}
	.request_popup .close{color:#FFF;}
	.request_popup .form-content{padding:2rem;}
	.fixed-top{position:relative;background:#06163a !important;}
	.navbar-toggler{outline:none;padding:0;box-shadow:none;margin-left:1rem;border:none;}
	.navbar-toggler:focus{box-shadow:none;}
	.navbar-brand{margin:0;}
	.navbar-expand-md .navbar-nav .nav-item,
	.navbar-expand-lg .navbar-nav .nav-item{padding:0 0rem 0.3rem !important;}
	.navbar-nav .nav-link{display:flex !important;align-items:center;justify-content:space-between;}
	.navbar-expand-md .navbar-nav .nav-link,
	.navbar-expand-lg .navbar-nav .nav-link{padding:0.6rem 0;}
	.navbar-nav .active .nav-link,
	.navbar-nav .active .nav-link:hover,
	.navbar-nav .nav-item:hover > a,
	.navbar-nav .nav-link:hover{background-color:transparent;}
	.dropdown-menu a{border-bottom:1px solid #ececec;}
	.navbar-collapse .dropdown-menu{box-shadow:none !important;border-radius:0;background:var(--bg-light-gray);}
	.header-one{position:relative;background:var(--secondary-color);}
	.header-one .navbar{padding:1rem 0;}
	.offcanvas{height:100vh;}
}
/* ------------------------------------------------------------------------ */

@media (max-width: 767px) {
	html { font-size: 15px; } 
	.navbar-brand, .header-fullpage.fixed .navbar-brand { width: 110px; }
	.top-bar-btn.social-icons, .b-settings-panel{ display: none !important; }
	.top-bar { text-align: center;}
	.heading-main { margin-bottom: 0; font-size: 2.75em; line-height: 3rem; }
	.img-business-man{ display: none; }
	.home-welcome { margin-top: 0; padding: 50px 0 0 0 !important; }
	.logo-footer { width: 120px; }
	.wide-tb-100, .wide-tb-70, .wide-tb-80 { padding-top: 50px; padding-bottom: 50px; }
	.tracking.parallax{ padding-bottom: 50px; }
}
/* ------------------------------------------------------------------------ */

@media (min-width: 576px) and (max-width: 767.99px) {
	h5.h5-xs { font-size: 1rem; }
	h5.h5-sm { font-size: 1.05rem; }
	h4.h4-md { font-size: 1.15rem; }
}
/* ------------------------------------------------------------------------ */

@media (max-width: 575px) {
	.top-bar{ display: none; }
	.navbar{ padding: 0; }
	.heading-main { font-size: 2.25rem; line-height: 2.45rem; }
	.client-testimonials-bg { padding: 1rem; }
}
/* ------------------------------------------------------------------------ */

@media (max-width: 480px) { 
	.contact-details .col + .col{ margin-top: 25px; }
	.client-testimonial-icon { margin: 0 auto 25px; }
	.client-inner-content { text-align: center; }
}
/* ------------------------------------------------------------------------ */

@media (max-width: 359px){
	.header-6.bordered-nav .navbar-brand { width: 130px; }
}

/* ==========================================================================
   HERO SECTION RESPONSIVE OPTIMIZATION
   ========================================================================== */
@media (max-width: 992px) {
  .wide-tb-70.bg-scroll.pos-rel {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
    text-align: center;
  }
  .wide-tb-70 .heading-main { font-size: 2.2rem !important; line-height: 1.3; }
  .wide-tb-70 .lead { font-size: 1rem; line-height: 1.5; }
  .wide-tb-70 .d-flex { flex-direction: column; align-items: center; gap: 12px; }
  .wide-tb-70 .btn { width: 100%; justify-content: center; border-radius: 50px; }
}

@media (max-width: 576px) {
  .wide-tb-70.bg-scroll.pos-rel {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  .wide-tb-70 .heading-main { font-size: 1.8rem !important; line-height: 1.2; }
  .wide-tb-70 .lead { font-size: 0.95rem; }
}

/* ==========================================================================
   FINAL POLISH – HERO + HIGHLIGHTS SEAMLESS INTEGRATION
   ========================================================================== */
.highlights-bar {
  background: #06163a;
  margin-top: -5px;
  z-index: 2;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.highlights-bar::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 0;
  width: 100%;
  height: 30px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent);
  z-index: 1;
}

.highlights-bar .feature-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px 12px;
  transition: all 0.3s ease;
}

.highlights-bar .feature-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

/* ==========================================================================
   MOBILE LAYOUT FIX (Max-width: 767px)
   ========================================================================== */
@media (max-width: 767px) {
  .highlights-bar {
    margin-top: -25px !important;
    border-radius: 15px 15px 0 0;
    padding: 20px 10px 25px !important;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 3;
  }

  .highlights-bar::before {
    top: -35px;
    height: 35px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
  }

  .highlights-bar .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 10px;
  }

  .highlights-bar .col-12 {
    flex: 1 1 30%;
    max-width: 30%;
    padding: 0;
    display: flex;
  }

  .highlights-bar .feature-item {
    flex-direction: column !important;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 10px;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
  }

  .highlights-bar .feature-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
  }

  .highlights-bar .icon-box {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

  .highlights-bar i {
    font-size: 18px;
    color: #007bff;
  }

  .highlights-bar h3 {
    font-size: 13px !important;
    font-weight: 600;
    margin-bottom: 3px;
    line-height: 1.3;
    color: #fff;
  }

  .highlights-bar p {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    margin: 0;
  }
}

/* ==========================================================================
   ULTRA SMALL DEVICES (Max-width: 400px)
   ========================================================================== */
@media (max-width: 400px) {
  .highlights-bar .col-12 {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Hide scrollbar on mobile */
.highlights-bar .row::-webkit-scrollbar {
  display: none;
}

/* ==========================================================================
   MOBILE HEADER FIX — Hamburger Alignment & Styling
   ========================================================================== */
@media (max-width: 767px) {
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1rem;
  }

  /* Move hamburger icon to right */
  .navbar-toggler {
    order: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    min-height: 44px;
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 5px;
    outline: none;
  }

  /* Hamburger icon lines */
  .navbar-toggler .icon-bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #06163a;
    border-radius: 2px;
    transition: all 0.4s ease;
  }

  /* Reset legacy X animation so default state shows three bars */
  .navbar-toggler.x .icon-bar:nth-of-type(1),
  .navbar-toggler.x .icon-bar:nth-of-type(2),
  .navbar-toggler.x .icon-bar:nth-of-type(3) {
    transform: none;
    opacity: 1;
    transform-origin: center;
  }

  /* Animation for active state (menu open → X shape) */
  .navbar-toggler[aria-expanded="true"] .icon-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .navbar-toggler[aria-expanded="true"] .icon-bar:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggler[aria-expanded="true"] .icon-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Navbar background */
  .header-one {
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
  }

  /* ==========================================================================
     OFFCANVAS MENU STYLING
     ========================================================================== */
  .offcanvas {
    background: linear-gradient(to bottom right, #ffffff, #f8f9fc);
    border-left: 3px solid #00aeef;
    box-shadow: -3px 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease-in-out;
    /* padding-top: 2rem; */
  }

  .offcanvas-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 1.25rem;
  }

  .offcanvas-header .navbar-brand img {
    width: 120px;
  }

  /* Navigation links */
  .offcanvas .nav-link {
    font-size: 1rem;
    color: #06163a;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .offcanvas .nav-link:hover,
  .offcanvas .nav-link:focus {
    background: #00aeef;
    color: #fff !important;
  }

  /* Dropdown indicators on mobile */
  .offcanvas .nav-link i {
    margin-left: 6px;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
  }

  .offcanvas .nav-link.show i {
    transform: rotate(180deg);
  }

  /* Add subtle overlay on open */
  .offcanvas-backdrop.show {
    opacity: 0.6 !important;
    background-color: rgba(0, 0, 0, 0.6) !important;
  }

  /* Close icon inside offcanvas */
  .offcanvas .btn-close {
    background: none;
    color: #06163a;
    font-size: 1.5rem;
    opacity: 0.7;
  }

  .offcanvas .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
    transition: all 0.3s ease;
  }
}

