/* ================= RESET & BASE ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

/* Body padding-top matches About page so navbar is stable across pages */
body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #000;
  overflow-x: hidden;
  padding-top: 80px; /* space for fixed navbar */
}

/* Container (same as About page) */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ================= VARIABLES ================= */
:root {
  --black: #000;
  --white: #fff;
  --primary-green: #207c4b;
}

/* ===================================================== */
/* ===================== NAVBAR SHARED ================= */
/* ===================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo img,
.company-logo-removebg-preview-icon {
  height: 50px;
  width: auto;
}

/* Desktop nav */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
  border-left: 1px solid var(--black);
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:first-child {
  border-left: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-green);
}

/* Hamburger (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #000;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hamburger "X" animation */
.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===================================================== */
/* ======================= HERO ======================== */
/* ===================================================== */

.hero {
  margin-top: 0; /* body padding-top handles navbar offset */
  position: relative;
}

.hero img {
  width: 100%;
  height: 80vh;
  max-height: 600px;
  object-fit: cover;
}

/* Text overlay on hero image */
.hero-text {
  position: absolute;
  bottom: 40px;
  left: 80px;
  max-width: 820px;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.45);
  padding: 20px;
  border-radius: 6px;
  animation: slideUp 1s ease forwards;
}

/* ===================================================== */
/* =========== PERFECTING EVERY PART SECTION =========== */
/* ===================================================== */

.perfecting {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 80px;
}

.perfecting-text {
  background: #ffff53;
  padding: 40px;
  border-radius: 20px;
}

.perfecting-text h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
}

.perfecting-text p {
  font-size: 14px;
  line-height: 1.8;
}

.perfecting-image img {
  width: 100%;
  border-radius: 20px;
}

/* ===================================================== */
/* ====================== BANNER ======================= */
/* ===================================================== */

.banner {
  margin: 80px;
  padding: 40px;
  background: #ffff53;
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  border-radius: 12px;
}

/* ===================================================== */
/* ================= BUSINESS SOLUTIONS ================ */
/* ===================================================== */

.solutions {
  padding: 80px;
  text-align: center;
}

.solutions h2 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 40px;
}

.solutions-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  border: 2px solid #ccc;
  padding: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 20px;
}

.solution h4 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 700;
}

.solution p {
  font-size: 14px;
  line-height: 1.7;
}

/* ===================================================== */
/* ================= SHIPPING PROCESS ================== */
/* ===================================================== */

.shipping-process {
  padding: 120px 80px 180px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.yellow-curve {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 600px;
  z-index: 0;
}

.shipping-process h2 {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 100px;
  position: relative;
  z-index: 2;
}

.steps-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.step .dot {
  width: 22px;
  height: 22px;
  background: #ffff30;
  border-radius: 50%;
  margin: 0 auto 20px auto;
}

.step p {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
}

/* ===================================================== */
/* ======================= FOOTER ====================== */
/* ===================================================== */
/* This block is now identical to About page footer */

.footer {
  background-color: #1D2125;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ddd;
}

.footer-logo img {
  height: 60px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: white;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-contact p {
  font-size: 0.85rem;
  color: white;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgb(255, 249, 249);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.8rem;
  color: white;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: white;
}

/* ===================================================== */
/* ===================== ANIMATIONS ==================== */
/* ===================================================== */

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================================== */
/* ======================= TABLET ====================== */
/* ===================================================== */

@media (max-width: 1024px) {
  .navbar-container {
    padding: 0.75rem 1.5rem;
  }

  .perfecting {
    grid-template-columns: 1fr;
    padding: 60px 40px;
  }

  .solutions {
    padding: 60px 40px;
  }

  .solutions-box {
    grid-template-columns: 1fr;
  }

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

  .shipping-process {
    padding: 100px 40px 140px;
  }

  .shipping-process h2 {
    font-size: 42px;
  }
}

/* ===================================================== */
/* ======================= MOBILE ====================== */
/* ===================================================== */

@media (max-width: 768px) {

  /* Same mobile nav behavior as About page */
  body {
    padding-top: 70px;
  }

  .navbar-container {
    padding: 0.75rem 1rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0rem;
    right: 0rem;
    flex-direction: column;
    align-items: center; /* center nav items horizontally */
    background: #ffffff;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 12px 12px;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-link {
    width: auto;
    border-left: none;
    border-bottom: 1px solid #ddd;
    padding: 0.8rem 0;
    text-align: center;         /* CENTER text */
    font-size: 0.95rem;
    font-weight: 600;
  }

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

  /* Hero */
  .hero img {
    height: 50vh;
  }

  .hero-text {
    position: static;
    margin: 20px;
    font-size: 18px;
  }

  /* Perfecting section */
  .perfecting {
    padding: 40px 20px;
  }

  /* Banner */
  .banner {
    margin: 40px 20px;
    font-size: 24px;
  }

  /* Solutions */
  .solutions {
    padding: 40px 20px;
  }

  .solutions h2 {
    font-size: 32px;
  }

  /* Shipping section */
  .shipping-process {
    padding: 80px 20px 120px;
  }

  .shipping-process h2 {
    font-size: 32px;
    margin-bottom: 60px;
  }

  .steps-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .yellow-curve {
    height: 400px;
  }

  /* Footer mobile (same as About page) */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer {
    padding: 40px 20px;
  }
}
