/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #1d3557;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #457b9d;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: #f4f7f6;
  color: #333;
  line-height: 1.6;
}

header {
  background: #ffffff;
  padding: 15px 40px;
  color: #1d3557;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  color: #1d3557;
  font-size: 24px;
  cursor: pointer;
  margin-right: 15px;
}

header img {
  height: 40px;
  width: auto;
  display: block;
}

nav a {
  color: #1d3557;
  margin-left: 20px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #e63946;
}

.hero {
  padding: 60px 20px;
  background: linear-gradient(rgba(29, 53, 87, 0.8), rgba(29, 53, 87, 0.8)), url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero button {
  padding: 15px 30px;
  background: #e63946;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  border-radius: 5px;
  transition: transform 0.3s, background 0.3s;
}

.hero button:hover {
  background: #c12e3a;
  transform: translateY(-2px);
}

.section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #1d3557;
  text-align: center;
  position: relative;
}

.section h2::after {
  content: '';
  width: 60px;
  height: 4px;
  background: #e63946;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.card {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  margin-bottom: 30px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card .content {
  padding: 25px;
}

.product-card h3 {
  color: #1d3557;
  margin-bottom: 15px;
  font-size: 22px;
}

.product-specs {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  list-style: none;
}

.product-specs li {
  margin-bottom: 5px;
  display: flex;
  justify-content: space-between;
}

.product-card button {
  width: 100%;
  padding: 12px;
  background: #1d3557;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

.product-card button:hover {
  background: #457b9d;
}

.wholesaler-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.wholesaler-item {
  border-left: 4px solid #e63946;
  padding-left: 15px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.testimonial-card {
  font-style: italic;
}

.tracking-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.tracking-box input {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 15px;
}

.status-display {
  margin-top: 20px;
  padding: 20px;
  background: #e9ecef;
  border-radius: 5px;
  display: none;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

form input, form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
  z-index: 1000;
  text-decoration: none;
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.footer-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.guarantee-badges {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 40px;
}

.badge {
  text-align: center;
  margin: 10px;
  max-width: 150px;
}

.badge i {
  font-size: 40px;
  color: #e63946;
  margin-bottom: 10px;
}

footer {
  background: #1d3557;
  color: #fff;
  padding: 60px 40px 20px;
}

footer h3 {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 18px;
}

footer nav a {
  color: #ffffff !important;
  margin: 5px 0 !important;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.3s;
  display: block;
}

footer nav a:hover {
  opacity: 0.8;
  color: #ffffff !important;
}

.delivery-map {
  width: 100%;
  height: 400px;
  background: #eee;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-weight: 600;
}

.badge-container {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 15px;
}

@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  header {
    justify-content: flex-start;
    padding: 15px 20px;
  }

  nav#main-nav {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    display: flex !important;
    flex-direction: column;
    padding: 80px 20px 20px;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0,0,0,0.3);
    margin: 0 !important;
    z-index: 2000;
  }

  nav#main-nav.active {
    left: 0;
  }

  .mobile-menu-header {
    display: block !important;
  }

  nav#main-nav a {
    margin: 15px 0 !important;
    font-size: 18px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 10px;
    color: #1d3557;
    margin-left: 0;
  }

  .footer-info {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-info > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .badge-container {
    justify-content: center;
  }

  footer nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }

  footer nav a {
    color: #ffffff !important;
    border: none;
    padding: 5px 0;
    font-size: 14px;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }
}
