/* =================== GENERAL RESET =================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Madefor', sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
.container {
  max-width: 3000px;
  margin: 0 auto;
  padding: 0 20px;
}
h1, h2, h3, h4, h5 {
  font-family: 'Madefor Display', sans-serif;
}
a {
  text-decoration: none;
  color: inherit;
}

/* =================== LOADER =================== */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: opacity 0.5s;
}
.loader-ring {
  width: 10vw;
  max-width: 80px;
  height: 10vw;
  max-height: 80px;
  border: 10px solid #667eea;
  border-top: 10px solid #764ba2;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}
@keyframes spin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}
.loader span {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: #667eea;
}

/* =================== TOP CONTACT BAR =================== */
.top-contact-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.5rem);
  padding: 0.5em 0;
  box-shadow: 0 2px 10px rgba(102,126,234,0.3);
}
.top-contact-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.contact-links {
  display: flex;
  gap: clamp(10px, 2vw, 25px);
  flex-wrap: wrap;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 500;
  transition: 0.3s;
}
.contact-link:hover {
  color: #ffd700;
  transform: translateX(5px);
}
.social-links {
  display: flex;
  gap: clamp(8px, 2vw, 15px);
  flex-wrap: wrap;
}
.social-link {
  width: clamp(35px, 6vw, 42px);
  height: clamp(35px, 6vw, 42px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: #fff;
  transition: 0.3s;
}
.social-link:hover {
  background: rgba(255,255,255,0.9);
  color: #667eea;
  transform: scale(1.1) translateY(-3px);
}

/* =================== NAVBAR =================== */
.navbar {
  position: fixed;
  top: clamp(50px, 6vw, 60px);
  width: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: clamp(80px, 10vw, 100px);
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: clamp(1.2rem, 4vw, 1.5rem);
}
.logo-img { width: clamp(40px, 8vw, 60px); height: auto; }
.nav-menu {
  display: flex;
  list-style: none;
  gap: clamp(20px, 5vw, 40px);
  flex-wrap: wrap;
  margin-left: auto;
}
.nav-link {
  position: relative;
  font-weight: 800;
  color: #2c3e50;
  transition: 0.3s;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  transition: 0.3s;
}
.nav-link:hover::after { width: 100%; }
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  min-width: 180px;
  display: none;
  border-radius: 12px;
  padding: 10px 0;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  z-index: 1001;
}

.nav-dropdown-menu {
  list-style: none;      /* remove bullets */
  padding-left: 0;       /* remove default left indent */
}

#stats,
#services,
#why-us,
#offices,
#products,
#gallery,
#team,
#contact {
  scroll-margin-top: 120px;
}


/* Make About button look like normal nav links */
.nav-dropdown-menu {
  display: none; /* default hidden */
}

.nav-dropdown-menu.active {
  display: block; /* show when active */
}

.nav-dropdown-toggle {
  border: none;
  background: transparent;
  padding: 0;
  font: inherit;          /* inherit font family, size, weight */
  color: inherit;
  cursor: pointer;
}

/* Make sure it really matches .nav-link */
.nav-dropdown-toggle.nav-link {
  font-weight: 800;       /* same as .nav-link */
  font-size: clamp(0.9rem, 2vw, 1.2rem);
}


/* Remove focus outline box (optional, but add your own focus style later) */
.nav-dropdown-toggle:focus {
  outline: none;
}

/* Keep hover effect same as other nav links */
.nav-dropdown-toggle:hover {
  color: #667eea; /* or whatever your .nav-link hover color is */
}


.nav-dropdown:hover .nav-dropdown-menu .nav-dropdown{ display: list-item; }
.nav-dropdown-menu li { padding: 10px 20px; }
.nav-dropdown-menu li a:hover { color: #667eea; }

/* =================== HERO =================== */

/* HERO SECTION */
@media (max-width: 768px) {
  .hero {
    height: 65vh;
    padding-top: 110px;
  }
}

.hero {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  padding-top: 120px;   /* Adjust if navbar height differs */
}

/* SLIDESHOW WRAPPER */
.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}

/* EACH SLIDE */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

/* SLIDE IMAGES */
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* FULLSCREEN, NO DISTORTION */
  object-position: center;  /* Always centered */
}

/* FIX LEFT SHIFT CAUSED BY BOOTSTRAP/CONTAINERS */
.container,
.hero .container {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.hero {
  padding-top: 140px;
}


/* =================== STATS =================== */
.stats {
  padding: 30px 0;
  background: #f8f9ff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  align-items: center;
}

.stat-item {
  text-align: center;
}

.stat-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 8px;
  font-size: 1.4rem;
}

.stat-number {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.9rem;
  color: #6b7280;
}
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .stat-number {
    font-size: 1.4rem;
  }
}


/* =================== SERVICES =================== */

.services {
  padding-top: calc(clamp(80px, 10vw, 100px) + 40px);
}


.section-title {
  font-size: clamp(2rem,6vw,3rem);
  margin-bottom: 30px;   /* was 50px */
  text-align: center;
}

/* Put the 4 cards in one horizontal row (wrap on small screens) */
.services-accordion {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Each service card */
.accordion-item {
  flex: 1 1 220px;
  max-width: 260px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  background: #ffffff;
  overflow: hidden;
}

/* Header: shows only icon + title */
.accordion-header {
  width: 100%;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: none;
  background: #ffffff;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.3s, color 0.3s, transform 0.2s, box-shadow 0.2s;
}

.accordion-header:hover,
.accordion-header.active {
  background: #667eea;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(102,126,234,0.35);
}

/* Icon inside header */
.service-icon {
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Title text */
.accordion-header h3 {
  font-size: 1rem;
  text-align: center;
}

/* Content hidden by default */
.accordion-content {
  display: none;
  padding: 16px 18px;
  background: #f9fafb;
  font-size: 0.95rem;
  color: #2c3e50;
}

/* Show content for the open item */
.accordion-content.active {
  display: block;
}
@media (max-width: 768px) {
  .services-accordion {
    flex-direction: column;
    align-items: center;
  }

  .accordion-item {
    max-width: 100%;
    width: 100%;
  }
}

/* =================== TOOLS SECTION =================== */
.tools {
  padding: clamp(60px, 10vw, 100px) 0;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 25px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: inherit;
  height: 100%;
  border: 2px solid transparent;
}

.tool-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(102,126,234,0.2);
  border-color: #667eea;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

.tool-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.cbm-card .tool-icon {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.hazardous-card .tool-icon {
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
}

.incoterms-card .tool-icon {
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
}

.container-card .tool-icon {
  background: linear-gradient(135deg, #45b7d1, #96c93d);
}

.tool-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #2c3e50;
}

.tool-card p {
  color: #6b7280;
  line-height: 1.6;
  font-size: 0.95rem;
}

.currency-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.currency-card .currency-converter {
  text-align: center;
  padding: 1rem;
}

.currency-card input[type="number"] {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 0.5rem;
  background: rgba(196, 186, 186, 0.9);
}

.currency-result {
  background: rgba(5, 4, 4, 0.15);
  padding: 1rem;
  border-radius: 8px;
  margin: 0.5rem 0;
}

#inrResult {
  font-size: 1.8rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.25rem;
  background: #b1a9a9be;
}

.currency-card .btn-small {
  background: rgba(250, 247, 247, 0.9);
  color: #080808;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.currency-card .btn-small:hover {
  background: white;
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }
}

/* =================== TRACK & TRACE SECTION =================== */
.track-trace {
  padding: clamp(60px, 10vw, 100px) 0;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
}

.track-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.track-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 6px 25px rgba(0,0,0,0.07);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: inherit;
  height: 100%;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.track-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--track-color), transparent);
}

.track-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.15);
  border-color: var(--track-color);
}

.track-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 18px;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.track-card:hover .track-icon {
  transform: scale(1.1) rotate(5deg);
}

.track-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #2c3e50;
}

.track-card p {
  color: #6b7280;
  font-size: 0.9rem;
  margin: 0;
}

/* Individual card colors */
.one-line-card { --track-color: #ff6b6b; }
.one-line-card .track-icon { background: linear-gradient(135deg, #ff6b6b, #ee5a52); }

.unifeeder-card { --track-color: #667eea; }
.unifeeder-card .track-icon { background: linear-gradient(135deg, #667eea, #764ba2); }

.msc-card { --track-color: #4ecdc4; }
.msc-card .track-icon { background: linear-gradient(135deg, #4ecdc4, #44a08d); }

.cma-card { --track-color: #45b7d1; }
.cma-card .track-icon { background: linear-gradient(135deg, #45b7d1, #96c93d); }

.interasia-card { --track-color: #f39c12; }
.interasia-card .track-icon { background: linear-gradient(135deg, #f39c12, #e67e22); }

.hapag-card { --track-color: #e74c3c; }
.hapag-card .track-icon { background: linear-gradient(135deg, #e74c3c, #c0392b); }

.cosco-card { --track-color: #3498db; }
.cosco-card .track-icon { background: linear-gradient(135deg, #3498db, #2980b9); }

.evergreen-card { --track-color: #27ae60; }
.evergreen-card .track-icon { background: linear-gradient(135deg, #27ae60, #2ecc71); }

.oocl-card { --track-color: #9b59b6; }
.oocl-card .track-icon { background: linear-gradient(135deg, #9b59b6, #8e44ad); }

.megs-card { 
  --track-color: #95a5a6; 
  opacity: 0.7;
  cursor: not-allowed;
}
.megs-card .track-icon { 
  background: linear-gradient(135deg, #95a5a6, #7f8c8d); 
}
.megs-card:hover {
  transform: none;
  box-shadow: 0 6px 25px rgba(0,0,0,0.07);
}
@media (max-width: 768px) {
  .track-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =================== ABOUT =================== */
.services,
.about,
.offices,
.products,
.gallery,
.team,
.contact {
  padding: 40px 0;       /* was up to 100px */
}
.about-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: clamp(20px,5vw,50px); align-items: center; }

#why-us .about-text {
  padding-left: 90px;   /* try 20–40px, adjust as you like */
}

.about-img {
  width: 180px;      /* try 140–200px until it feels right */
  height: auto;
  display: block;
  margin: 0 auto;
}


.office-flag {
  width: 80px;        /* set any size you like: 60–100px works well */
  height: 50px;       /* fixed height so all match */
  object-fit: cover;  /* crops image to fill box nicely */
  display: block;
  margin: 0 auto 10px; /* center flag and add space below */
}

.offices-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Make all cards same width and height-ish */
.office-card {
  text-align: center;
  width: 220px;
  min-height: 200px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: transform 0.2s ease,
              box-shadow 0.2s ease,
              border-color 0.2s ease,
              background 0.2s ease;
  cursor: pointer;
  
  /* NEW: Center flag perfectly in card */
  display: flex;
  flex-direction: column;
  justify-content: center;  /* vertical center */
  align-items: center;      /* horizontal center */
}


/* Hover effect stays the same */
.office-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  border-color: #667eea;
  background: #f8f9ff;
}


.office-card:active {
  transform: translateY(-1px) scale(0.99);
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}

/* PRODUCT */

.section-subtitle {
  text-align: center;
  margin-top: -20px;   /* optional: pull it a bit closer to the title */
  margin-bottom: 30px;
  color: #6b7280;      /* nice muted grey, optional */
  font-size: 1.5rem;
}

.products-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;        /* wraps nicely on small screens */
}

.product-card {
  width: 250px;                 /* same width for all */
  min-height: auto-fit;            /* keeps heights similar */
  padding: 16px 18px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  text-align: center;
  transition: transform 0.2s ease,
              box-shadow 0.2s ease,
              border-color 0.2s ease,
              background 0.2s ease;
  cursor: pointer;
}

.product-image img {
  width: 100%;
  height: auto-fit;          /* fixed height for all product images */
  object-fit: cover;      /* crops nicely to fill the box */
  border-radius: 10px;
  margin-bottom: 12px;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  border-color: #667eea;
  background: #f8f9ff;
}

/* ================= PRODUCT CATEGORIES ================= */

.product-categories {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.category-btn {
  padding: 10px 20px;
  border-radius: 25px;
  border: 2px solid #667eea;
  background: white;
  color: #667eea;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.category-btn:hover,
.category-btn.active {
  background: #667eea;
  color: white;
}

.pdf-card {
  text-decoration: none;
  color: inherit;
}

.pdf-icon {
  font-size: 60px;
  margin: 30px 0 10px;
}

/* Hide all categories by default */
.category {
  display: none;
}

/* Show active category */
.active-category {
  display: flex;
}

@media (max-width: 768px) {
  .category-btn {
    width: 100%;
    text-align: center;
  }

  .product-categories {
    flex-direction: column;
  }
}


/* OUR FACILITIES*/

.carousel-container {
  position: relative;
  max-width: 800px;           /* adjust as you like */
  margin: 0 auto;
  overflow: hidden;           /* hide other slides */
}

.carousel-track {
  position: relative;
}

.carousel-slide {
  display: none;              /* hide all by default */
}

.carousel-slide.active {
  display: block;             /* show only the active one */
}

.carousel-slide img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.carousel-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 15px;  /* distance from image edges */
}

.prev-btn,
.next-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.prev-btn:hover,
.next-btn:hover {
  background: rgba(0,0,0,0.85);
  transform: scale(1.05);
}

/* Facilities carousel image sizing */
.carousel-slide img {
  width: 100%;          /* takes full slide width */
  height: 350px;        /* same height for all images */
  object-fit: cover;    /* fills the box, crops evenly */
  border-radius: 12px;
  display: block;
}


/* LEADERSHIP TEAM*/

.team-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;          /* wraps nicely on smaller screens */
}

.team-card {
  width: 230px;             /* same width for all */
  min-height: 260px;        /* keeps heights similar */
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  text-align: center;
  transition: transform 0.2s ease,
              box-shadow 0.2s ease,
              border-color 0.2s ease,
              background 0.2s ease;
  cursor: default;
}

.team-photo img {
  width: 100%;
  height: 160px;          /* fixed height for all photos */
  object-fit: cover;      /* crops to fill nicely */
  border-radius: 12px;
  margin-bottom: 12px;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  border-color: #667eea;
  background: #f8f9ff;
}
@media (max-width: 768px) {

  .products-grid,
  .team-grid,
  .offices-grid {
    flex-direction: column;
    align-items: center;
  }

  .product-card,
  .team-card,
  .office-card {
    width: 100%;
    max-width: 340px;
  }
}


/* =================== CONTACT FORM =================== */
.contact { padding: clamp(50px,10vw,100px) 0; background: #f8f9ff; }
.contact form { max-width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.contact input, .contact textarea { width: 100%; padding: clamp(10px,2vw,15px); border-radius: 10px; font-size: clamp(0.9rem,2vw,1rem); }
.contact button { padding: clamp(10px,2vw,15px); border-radius: 50px; font-weight: 700; }


/* =================== FOOTER =================== */
.footer {
  background: #000000;
  color: #ffffff;
  padding: 10px 0;        /* small space above/below */
  text-align: center;
  font-size: 0.9rem;
}

.footer p {
  margin: 2px 0;          /* almost no gap between lines */
}

.footer a {
  color: #ffffff;
  text-decoration: underline;
  transition: opacity 0.2s;
}

.footer a:hover {
  opacity: 0.8;
}


/* =================== RESPONSIVE =================== */
@media (max-width: 1024px) {
  .nav-container { flex-direction: row; gap: 10px; }
  .nav-menu { flex-wrap: wrap; justify-content: center; gap: 15px; }
  .hero-buttons { flex-direction: column; gap: 15px; }
}
@media (max-width: 768px) {
  .stats-grid, .about-grid { grid-template-columns: 1fr; }
  .top-contact-content { flex-direction: column; text-align: center; gap: 10px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.5rem, 10vw, 3rem); }
  .hero-desc { font-size: clamp(0.8rem, 3vw, 1.2rem); }
}
@media (max-width: 768px) {
  .carousel-slide img {
    height: 220px;
  }
}



/* =========================
   GLOBAL MOBILE FIX
========================= */
@media (max-width: 768px) {

  section {
    padding: 30px 15px;
  }

  .container {
    padding: 0 15px;
  }

  h2.section-title {
    font-size: 1.8rem;
  }

  p.section-subtitle {
    font-size: 1rem;
  }
}

/* ================= MOBILE NAVIGATION FIX ================= */

/* 1. Default: Hide Hamburger on Desktop */
.hamburger {
  display: none;
  cursor: pointer;
}

/* ===============================
   MOBILE NAVBAR BELOW TOP BAR
================================ */
@media (max-width: 768px) {

  /* Top contact bar height ≈ 70px */
  .navbar {
    top: 80px;          /* PUSH BELOW TASKBAR */
  }

  .hamburger {
    position: absolute; /* relative to navbar */
    right: 16px;
    top: 70%;
    transform: translateY(-50%);
    z-index: 1004;
  }
}


/* 2. Mobile Styles (Tablets & Phones) */
@media (max-width: 960px) {
  
  /* Show Hamburger */
  .hamburger {
    display: block;
    z-index: 1002;
  }

  /* Style the 3 lines of the hamburger */
  .hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #2c3e50;
    transition: all 0.3s ease-in-out;
  }

  /* Animate Hamburger to 'X' when active */
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  /* Hide the desktop nav menu and style it as a mobile drawer */
  .nav-menu {
    position: fixed;
    left: -100%; /* Hide off-screen to the left */
    top: 70px; /* Push down below the navbar */
    flex-direction: column;
    background-color: #ffffff;
    width: 100%;
    height: calc(100vh - 70px); /* Full height minus navbar */
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    padding-top: 40px;
    gap: 30px;
    overflow-y: auto; /* Allow scrolling inside menu if it's too long */
  }

  /* The class added by JS to show the menu */
  .nav-menu.active {
    left: 0; 
  }

  .nav-item {
    margin: 16px 0;
  }
}

@media (max-width: 768px) {

  .nav-container {
    flex-direction: row;     /* 👈 keep horizontal */
    align-items: center;
    justify-content: space-between;
    position: relative;
  }

  .logo {
    z-index: 1003;           /* above navbar background */
    display: flex;
    align-items: center;
  }

  .logo-img {
    max-height: 45px;        /* safe mobile size */
    width: auto;
    margin-top: 40px;
    max-height: 42px;
  }
}


/* =================== GLOBAL SPACING FIX =================== */

/* This adds space to ALL sections automatically */
section {
  padding: 80px 0; /* 80px top/bottom space */
}

/* Specific adjustment for Stats to make it pop */
.stats {
  margin-top: 0;
  padding-top: 60px;
  padding-bottom: 60px;
}

/* Ensure images never cause horizontal scrolling */
img {
  max-width: 100%;
  height: auto;
}

/* Fix for mobile spacing */
@media (max-width: 768px) {
  section {
    padding: 50px 0; /* Smaller space on phones */
  }
}

/* LIKE BETWEEN STATS AND OUR SERVICE THEN BETWEEN SERVICES AND WHY US AND GLOBAL PRESENCE TEHN OUR PRODUCT, OUR FACILITIES, LEADERSHIP TEAM SO SOLVE THAT PLEASE. */