/* === GLOBAL RESET === */


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  color: #333;
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-family: poppins, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: #fff;
  --color-ash: #333333;
  --color-red: #d84659;
  --color-white: #c9c9d9;
}

/* === NAVBAR === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1d173c;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.logo {
  width: 180px;
  height: auto;
}

/* === PC VIEW === */
@media (min-width: 500px){
  .logo{
    width: 200px;
  }
}


.nav-links {
  display: flex;
  gap: 25px;
  transition: all 0.3s ease;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-white);
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: #e63946;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: var(--color-white);
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 90vh;
  background: url("./img/logistics2_hero_bg.jpg") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-white);
  text-align: center;
  padding: 0 20px;
}

.extra{
  background: url("./img/home_logistics2_sectionbg4.jpg") center/cover no-repeat;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 15px;
  font-weight: 700;
}
.hero h1 span {
  color: #e63946;
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 25px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.btn-primary,
.btn-secondary {
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-primary {
  background: #d84659;
  color: var(--color-white);
}
.btn-primary:hover {
  background: #970808;
}

.btn-secondary {
  background: transparent;
  border: 2px solid #fff;
  color: var(--color-white);
}
.btn-secondary:hover {
  background: #fff;
  color: #e63946;
}

/* === ABOUT SECTION === */
.about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 40px;
  overflow: hidden;
  align-content: center;
}

.about-img{
  position: relative;
  width: 100%;
  max-width: 480px;
}

.about-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Hide alternate image by default */
.alt-about-img {
  display: none;
}

.about-text {
  max-width: 550px;
}

.about-text h2 {
  font-size: clamp(1.6rem, 3vw, 1.9rem);
  color: #e63946;
  margin-bottom: 15px;
}
.about-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .about {
    flex-direction: column;
    text-align: center;
    padding: 60px 15px;
  }

  .about-text {
    max-width: 600px;
  }

  /* Swap images for smaller screens */
  .main-about-img {
    display: none;
  }

  .alt-about-img {
    display: block;
  }
}

/* === WHY CHOOSE US / SERVICES === */
.services {
  background: #f8f9fa;
  padding: 70px 20px;
  text-align: center;
}

.services h2 {
  font-size: clamp(1.6rem, 3vw, 1.9rem);
  color: #e63946;
  margin-bottom: 40px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.service_card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
.service_card:hover {
  transform: translateY(-8px);
}
.service_card h3 {
  margin-bottom: 10px;
  color: #333;
  font-size: 1.2rem;
}
.service_card p {
  color: #555;
  line-height: 1.6;
}

/* === MAIN SERVICES SECTION (PURPLE BACKGROUND) === */
.services-section {
  background-color: #1e174f;
  color: var(--color-white);
  padding: 60px 20px;
  text-align: center;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 40px;
  color: #ff3366;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
}

.service-card {
  background: #2a2269;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  max-width: 360px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.service-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-content {
  padding: 20px;
}

.service-icon {
  font-size: 32px;
  color: #ff3366;
  margin-bottom: 10px;
}

.service-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-white);
}

.service-content p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 15px;
}

.btn-readmore {
  display: inline-block;
  background-color: #ff3366;
  color: var(--color-white);
  padding: 8px 16px;
  border-radius: 5px;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.btn-readmore:hover {
  background-color: #ff5c85;
}

/* === FOOTER === */


/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
  .hero-content {
    max-width: 600px;
  }

  .about {
    gap: 30px;
  }
}

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

  .nav-links {
  display: none; /* fully hidden initially */
  flex-direction: column;
  background-color: rgba(29, 23, 60, 0.98);
  position: absolute;
  top: 70px;
  right: 0;
  gap: 20px;
  height: 100vh;
  width: 230px;
  padding: 40px 20px;
  transition: transform 0.4s ease;
  transform: translateX(100%); /* start off-screen */
}

/* When active, show and slide in */
.nav-links.active {
  display: flex;
  transform: translateX(0);
}

  .nav-links a {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
  }

  .hero {
    min-height: 80vh;
  }

  .cta-buttons {
    flex-direction: column;
  }

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

  .about-img img {
    max-width: 360px;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  .about-text p {
    font-size: 0.95rem;
  }

  .services h2,
  .section-title {
    font-size: 1.5rem;
  }

  .service-card {
    max-width: 300px;
  }
}


.extra {
  padding: 80px 10%;
  background: #f8f8fc;
}

.pack_container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}


.pack_image img {
  width: 400px;
  max-width: 100%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.pack_text h1 {
  font-size: 2rem;
  text-transform: capitalize;
  margin-bottom: 20px;
  color: var(--color-red);
}

.pack_text ul {
  list-style-type: initial;
  line-height: 1.8;
  font-size: 1.05rem;
  color: var(--color-ash);
  padding-left: 25px;
}

.pack_text li {
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .pack_container {
    flex-direction: column;
    text-align: left;
  }

  .pack_image img {
    width: 100%;
  }
}

/* === SCROLL REVEAL ANIMATION === */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.4s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* === ULTRA SMALL SCREENS (down to ~100px) === */
@media (max-width: 300px) {
  body {
    font-size: 12px;
    padding: 0;
  }

  .navbar {
    padding: 8px 10px;
    flex-wrap: wrap;
  }

  .logo {
    width: 100px;
  }

  .menu-toggle {
    font-size: 1.2rem;
  }

  .nav-links {
    width: 100%;
    padding: 20px 10px;
    gap: 10px;
  }

  .hero-content {
    padding: 10px;
  }

  .hero h1 {
    font-size: clamp(1rem, 5vw, 1.3rem);
  }

  .hero p {
    font-size: clamp(0.7rem, 4vw, 0.9rem);
  }

  .btn-primary,
  .btn-secondary {
    font-size: 0.7rem;
    padding: 8px 14px;
  }

  .about,
  .services,
  .extra {
    padding: 30px 10px;
    text-align: center;
  }

  .about-text h2,
  .services h2,
  .section-title {
    font-size: clamp(1rem, 5vw, 1.3rem);
  }

  .service-card {
    max-width: 100%;
    padding: 15px;
  }

  .footer,
  .footer-content,
  .footer-flex {
    padding: 20px 10px !important;
    flex-direction: column !important;
    gap: 20px !important;
    text-align: center !important;
  }

  .footer-logo img {
    width: 100px;
  }

  .footer-desc,
  .footer-contact a,
  .footer-contact h3 {
    font-size: 0.8rem;
  }

  .footer-btn {
    font-size: 0.8rem;
    padding: 8px 14px;
  }

  .footer-bottom {
    font-size: 0.7rem;
    padding: 10px;
  }
}

@media (min-width: 910px){
  .nav-links {
    align-items: center;
    text-align: center;
  }
}