/* ========================================
   HEADER STYLES
======================================== */

.header {
    background: #fff;
    padding: 8px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
  padding: 0;
  position: relative;
}





.brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #000;
  letter-spacing: 0.8px;
}

.brand-subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #FF5722;
}

.navbar-nav {
  gap: 32px;
  align-items: center;
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #8E8E93;
    padding: 8px 0 !important;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover ,.nav-link.active  {
  color: #FF5722 !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #FF5722;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 28px;
}

.icon-btn {
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: #333;
  transition: all 0.3s ease;
  position: relative;
}

.icon-btn:hover {
  color: #FF5722;
  transform: scale(1.08);
}

.cart-btn {
  position: relative;
}

.cart-badge {
    position: absolute;
    top: 8px;
    right: 6px;
    background: #FF5722;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.btn-order:hover {
  background: #E64A19;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255, 87, 34, 0.35);
}

/* Mobile Menu Toggle */
.navbar-toggler {
  border: none;
  padding: 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

  /* ORDER button */
header .orange-btn {
   margin-left: 12px;
}


/* ========================================

======================================== */




/* ========================================
   FOOTER
======================================== */

  .footer {
    background: #001689;
    color: #fff;
    padding-top: 80px;
    /* overflow-x: hidden; */
  }

  

  .footer-brand {
    margin-bottom: 20px;
  }


.footer-desc {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: #ffffff;
    margin-bottom: 21px;
}
  .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .footer-contact p {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
  }


.footer-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #FF671B;
    margin: 0 0 20px 0;
    letter-spacing: 24%;
    text-transform: uppercase;
}

  .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-links li {
    margin-bottom: 16px;
  }

  .footer-links a {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 0.7;
  }

  .footer-links a:hover {
    color: #FF5722;
  }

  .social-links {
    display: flex;
    gap: 12px;
  }

  .social-links a {
    width: 40px;
    height: 40px;
    border: 0.67px solid #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #fff;
  }

  .social-links a:hover {
   background: #FFFFFF;
    transform: translateY(-2px);
  }
    .social-links a:hover svg {
      color: #000;
    }

  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 56px 0;
    margin-top: 30px;
  }

  .footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-bottom p {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #fff;
    margin: 0;
  }

  .footer-legal {
    display: flex;
    gap: 24px;
  }

  .footer-legal a {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .footer-legal a:hover {
    color: #FF5722;
  }


/* ========================================
   HEADER & FOOTER — RESPONSIVE STYLES
======================================== */

/* 1199px */
@media (max-width: 1199px) {

.navbar-nav {
    gap: 12px;
}
.header-icons {
    gap: 0px;
    margin-left: 15px;
}
.navbar-brand .logo {
    height: 36px;
}
.nav-link {
    font-size: 13px;
}
.header .orange-btn {
    font-size: 12px;
}
}

/* 991px — Navbar collapse */
@media (max-width: 991px) {
  .header {
    padding: 16px 0;
  }

  .footer {
    padding-top: 60px;
  }

  .footer-bottom {
    padding: 36px 0;
  }
  /* Toggler button */
  .navbar-toggler {
    border: 1.5px solid #ddd;
    padding: 6px 10px;
    border-radius: 6px;
    background: #fff;
  }

  .navbar-toggler:focus {
    box-shadow: none;
    outline: none;
  }

  /* Collapsed dropdown panel */
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px 20px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-top: 1px solid #f0f0f0;
    z-index: 999;
    border-radius: 0 0 12px 12px;
  }

  /* Nav links stacked */
  .navbar-nav {
    gap: 0;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    padding: 13px 4px !important;
    border-bottom: 1px solid #f3f3f3;
    display: block;
    width: 100%;
    font-size: 15px;
    color: #333 !important;
  }

  .nav-link:hover {
    color: #FF5722 !important;
    background: transparent;
  }

  .nav-link::after {
    display: none;
  }

  .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  /* Icons row */
  .header-icons {
    margin: 0 0 14px;
    gap: 10px;
    justify-content: flex-start;
    border-top: 1px solid #f3f3f3;
    padding-top: 14px;
    width: 100%;
  }

  /* ORDER button */
header .orange-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    margin-left: 0;
}

  /* Ensure header has position for absolute dropdown */
  .header .container {
    position: relative;
    overflow: visible;
  }

  .header .navbar {
    position: static;
  }
}

/* 767px — Mobile */
@media (max-width: 767px) {
  .header {
    padding: 14px 0;
  }

  .navbar-brand .logo {
    height: 40px;
  }

  /* Footer */
  .footer {
    padding-top: 50px;
  }



  .footer-desc {
    font-size: 14px;
  }

  .footer-contact p {
    font-size: 14px;
  }

  .footer-title {
    margin-top: 32px;
  }

  .footer-links a {
    font-size: 14px;
  }

  .footer-bottom {
    padding: 28px 0;
    margin-top: 20px;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
  }

  .social-links {
    justify-content: center;
  }
}

/* 575px */
@media (max-width: 575px) {
  .header {
    padding: 12px 0;
  }

  .footer {
    padding-top: 40px;
  }
}

/* 374px */
@media (max-width: 374px) {
  .header {
    padding: 10px 0;
  }

  .footer {
    padding-top: 36px;
  }

  .footer-bottom p {
    font-size: 12px;
  }

  .footer-legal a {
    font-size: 11px;
  }
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
       justify-content: end;
    }
}

/* ============ DROPDOWN — Desktop ============ */
.services-dropdown {
  position: relative;
}

.services-dropdown .dropdown-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all .35s ease;
  border: 0;
  border-radius: 12px;
  padding: 10px;
  min-width: 240px;
  box-shadow: 0 15px 40px rgba(0,0,0,.08);
  margin-top: 0;
}

.services-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.services-dropdown .dropdown-item {
  padding: 12px 16px;
  transition: all .3s ease;
  font-weight: 500;
}
.services-dropdown .dropdown-item:hover,
.services-dropdown .dropdown-item.active {
  background: #FF671B;
  color: #fff;
   border-radius: 8px;
}

.services-dropdown .nav-link.dropdown-toggle::after {
  margin-left: 8px;
  transition: transform .3s ease;
}

/* ============ DROPDOWN — Mobile (≤991px) ============ */
@media (max-width: 991px) {
  /* Reset desktop hover dropdown */
  .services-dropdown .dropdown-menu {
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    position: static;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 0 16px;
    min-width: 100%;
    background: #f9f9f9;
    border-left: 3px solid #FF671B;
    margin: 4px 0 8px;
  }

  .services-dropdown .dropdown-menu.show {
    display: block;
  }

  .services-dropdown .dropdown-item {
    padding: 10px 12px;
    border-radius: 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #333;
  }

  .services-dropdown .dropdown-item:last-child {
    border-bottom: none;
  }

  .services-dropdown .dropdown-item:hover,
  .services-dropdown .dropdown-item.active {
    background: #FF671B1A;
    color: #FF671B;
  }

  /* Toggle arrow rotate on open */
  .services-dropdown .nav-link.dropdown-toggle::after {
    float: right;
    margin-top: 8px;
  }

  .services-dropdown.open .nav-link.dropdown-toggle::after {
    transform: rotate(180deg);
  }
}
/* ==================== */
.dropdown-toggle-custom {
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-arrow {
    transition: .3s ease;
}

.services-dropdown:hover .menu-arrow {
    transform: rotate(180deg);
}

.services-dropdown .dropdown-menu {
    /* display: block;
    opacity: 0;
    visibility: hidden; */
    transform: translateY(10px);
    transition: .3s ease;
}

.services-dropdown:hover .dropdown-menu {
    /* opacity: 1;
    visibility: visible; */
    transform: translateY(0);
}
