/* ============================================
   CBS LOGISTICS LIMITED - MAIN STYLESHEET
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
  --green: #a7c636;
  --teal: #0e5c4f;
  --gold: #f2b705;
  --dark: #0e0e0e;
  --light: #f7f9f8;
  --soft: #f0f6f4;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #222;
  line-height: 1.7;
  background: #fff;
}

section {
  padding: 90px 60px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 2000;
  padding: 12px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(8, 45, 40, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.4s ease;
}

.navbar.scrolled {
  background: rgba(6, 34, 30, 0.95);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
  padding: 8px 60px;
}

/* Brand Area */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: white;
}

.brand img {
  height: 54px;
  background: white;
  padding: 6px;
  border-radius: 12px;
  transition: 0.4s;
}

.brand h3 {
  font-size: 18px;
  letter-spacing: 0.8px;
  font-weight: 700;
  background: linear-gradient(90deg, #fff, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand small {
  opacity: 0.85;
  letter-spacing: 0.6px;
  font-size: 11px;
  color: #eaf5f2;
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  color: #eaf5f2;
  padding: 8px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.7px;
  position: relative;
  transition: 0.35s ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  transform: translateY(-1px);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), #fff5a8);
  transition: 0.35s ease;
  transform: translateX(-50%);
}

.nav-links a:hover::after {
  width: 60%;
}

.nav-links a.active {
  background: rgba(242, 183, 5, 0.12);
  color: #fff9d9;
}

.nav-links a.active::after {
  width: 60%;
}

/* CTA Button */
.nav-links .cta {
  background: linear-gradient(135deg, var(--gold), #d9a300);
  color: #07362e !important;
  padding: 9px 18px;
  border-radius: 30px;
  margin-left: 12px;
  box-shadow: 0 6px 14px rgba(242, 183, 5, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  transition: 0.3s;
}

.nav-links .cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(242, 183, 5, 0.35);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 3000;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: linear-gradient(90deg, #fff, var(--gold));
  border-radius: 10px;
  transition: 0.4s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -7px);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  padding: 0 !important;
  margin: 0 !important;
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}

.hero-slides img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  animation: heroFade 25s infinite;
}

.hero-slides img:nth-child(1) { animation-delay: 0s; }
.hero-slides img:nth-child(2) { animation-delay: 5s; }
.hero-slides img:nth-child(3) { animation-delay: 10s; }
.hero-slides img:nth-child(4) { animation-delay: 15s; }
.hero-slides img:nth-child(5) { animation-delay: 20s; }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(6, 34, 30, 0.32), rgba(0, 0, 0, 0.28));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.hero-content h1 {
  color: #ffffff !important;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero-content p {
  color: #ffffff !important;
  opacity: 0.95;
  font-size: 1.2rem;
}

@keyframes heroFade {
  0% { opacity: 0; transform: scale(1.05); }
  8% { opacity: 1; }
  20% { opacity: 1; }
  28% { opacity: 0; }
  100% { opacity: 0; transform: scale(1.12); }
}

/* ===== BUTTONS ===== */
.btn {
  background: var(--gold);
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 700;
  margin-top: 10px;
  cursor: pointer;
  color: #07362e;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(242, 183, 5, 0.35);
}

.btn-outline {
  border: 2px solid white;
  color: white;
  background: transparent;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
  display: inline-block;
}

.btn-outline:hover {
  background: white;
  color: #000;
}

/* ===== CARDS & GRIDS ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.alt {
  background: var(--light);
}

/* ===== CERTIFICATIONS ===== */
#certifications {
  position: relative;
}

.cert-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 22px;
  max-width: 1100px;
  margin: auto;
}

.cert {
  text-align: center;
  background: white;
  padding: 16px 12px;
  border-radius: 16px;
  border: 1px solid rgba(14, 92, 79, 0.12);
  box-shadow: 0 10px 25px rgba(14, 92, 79, 0.06), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  transition: 0.4s;
  position: relative;
  overflow: hidden;
}

.cert::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), #ffd84d);
  opacity: 0.7;
}

.cert p {
  margin-top: 8px;
  font-weight: 700;
  color: var(--teal);
  font-size: 13px;
  letter-spacing: 0.3px;
}

.cert:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(14, 92, 79, 0.12);
}

.audit {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(242, 183, 5, 0.15);
  color: #7a5c00;
  font-weight: 700;
}

.cert-desc {
  font-size: 12px;
  color: #4a5c56;
  margin-top: 6px;
  line-height: 1.4;
  display: none;
  background: #f3f8f6;
  padding: 8px;
  border-radius: 8px;
}

.more-btn {
  font-size: 11px;
  color: var(--teal);
  margin-top: 6px;
  cursor: pointer;
  font-weight: 700;
}

/* ===== PROCEDURE SECTION ===== */
.proc-item {
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
  background: white;
}

.proc-head {
  padding: 15px;
  cursor: pointer;
  background: #fff;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
}

.proc-head:hover {
  background: #eef6f2;
}

.proc-body {
  max-height: 0;
  overflow: hidden;
  transition: 0.5s;
}

.proc-body img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.proc-body .content {
  padding: 15px;
}

.indicator {
  font-size: 12px;
  color: var(--teal);
  animation: bounce 1.6s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* ===== BADGES ===== */
.badge {
  background: #eef6f2;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  margin: 3px;
  display: inline-block;
}

/* ===== CHECKLIST ===== */
.check li {
  list-style: none;
  margin: 8px 0;
  padding-left: 20px;
  position: relative;
}

.check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: bold;
}

/* ===== REQUEST FORM TABLE ===== */
.request-box {
  background: linear-gradient(150deg, #ffffff, #f1f7f5);
  border: 1px solid rgba(14, 92, 79, 0.15);
  border-radius: 18px;
  padding: 18px;
  margin-top: 12px;
  box-shadow: 0 10px 25px rgba(14, 92, 79, 0.06), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
}

.req-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
}

.req-table td:first-child {
  font-weight: 700;
  color: var(--teal);
  width: 130px;
  font-size: 13px;
  letter-spacing: 0.3px;
  padding-top: 14px;
}

.req-table input,
.req-table textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cfdcd7;
  border-radius: 12px;
  background: white;
  font-size: 14px;
  transition: 0.3s;
}

.req-table input:focus,
.req-table textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 183, 5, 0.18), 0 6px 14px rgba(14, 92, 79, 0.1);
  outline: none;
}

.req-table textarea {
  min-height: 100px;
  resize: none;
}

/* ===== SLIDER ===== */
.slider {
  width: 100%;
  max-width: 520px;
  margin: 10px auto;
  background: #fafafa;
  padding: 6px;
  border-radius: 10px;
}

.slides {
  display: flex;
  align-items: center;
  transition: transform 1.2s ease-in-out;
}

.slides img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  background: #f5f5f5;
  flex-shrink: 0;
  cursor: pointer;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.prev { left: 10px; }
.next { right: 10px; }

.dots {
  text-align: center;
  padding: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  display: inline-block;
  margin: 3px;
  cursor: pointer;
}

.active-dot {
  background: var(--gold);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 94%;
  max-height: 94vh;
  object-fit: contain;
  border-radius: 10px;
}

.lightbox .close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: white;
  font-size: 32px;
  cursor: pointer;
}

/* ===== FLOATING WHATSAPP ===== */
.float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25d366;
  color: white;
  padding: 15px;
  border-radius: 50%;
  font-size: 26px;
  z-index: 3000;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: 0.3s;
}

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

/* ===== TOAST NOTIFICATION ===== */
#toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #0e5c4f;
  color: white;
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 9999;
  font-weight: 600;
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  background: linear-gradient(160deg, var(--teal), #07362e);
  color: #e6eeeb;
  padding: 90px 30px 30px;
  margin-top: 70px;
  border-radius: 70px 70px 0 0;
}

.footer::before {
  content: "";
  position: absolute;
  top: -28px;
  left: 0;
  width: 100%;
  height: 56px;
  background: inherit;
  border-radius: 50% 50% 0 0;
  opacity: 0.35;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
}

.footer h4 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 16px;
  letter-spacing: 0.4px;
}

.footer-logo img {
  height: 68px;
  background: white;
  padding: 6px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.footer p {
  font-size: 14px;
  line-height: 1.6;
  color: #cfe5de;
}

.footer a {
  display: block;
  color: #cfe5de;
  text-decoration: none;
  margin: 7px 0;
  font-size: 14px;
  transition: 0.3s;
}

.footer a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-social {
  margin-top: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}

.footer-social a:hover {
  background: var(--gold);
  color: #01362f;
  transform: none;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: #b8d1c9;
}

/* Office Card */
.office-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px 22px;
  border-radius: 16px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  transition: 0.35s ease;
}

.office-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.35);
}

.office-card h4 {
  margin-bottom: 14px;
  color: #fff;
  letter-spacing: 0.5px;
}

.office-card p {
  font-size: 0.9rem;
  margin: 8px 0;
  opacity: 0.9;
}

.office-card i {
  margin-right: 8px;
  color: var(--green);
}

.map-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.85rem;
  background: var(--green);
  color: #000;
  font-weight: 600;
  transition: 0.3s;
}

.map-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(173, 209, 54, 0.35);
}

/* ===== FOOTER COLUMN ALIGNMENT ===== */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col p {
  margin: 0;
}

.mt {
  margin-top: 10px;
}

.social-title {
  margin-top: 18px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  section {
    padding: 60px 20px;
  }

  .navbar {
    padding: 10px 20px;
  }

  .navbar.scrolled {
    padding: 8px 20px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    flex-direction: column;
    justify-content: center;
    background: rgba(6, 34, 30, 0.96);
    backdrop-filter: blur(14px);
    padding: 40px;
    transition: 0.5s ease;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links.show {
    right: 0;
  }

  .nav-links a {
    margin: 10px 0;
    font-size: 16px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

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

  .footer a:hover {
    transform: none;
  }

  .cert-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .cert {
    padding: 12px 8px;
  }

  .req-table,
  .req-table tr,
  .req-table td {
    display: block;
    width: 100%;
  }

  .req-table td:first-child {
    padding: 4px 4px 0 4px;
  }
}

@media (max-width: 700px) {
  .slides img {
    height: 230px;
     /* ============================================
   SHOW PROCEDURE IMAGES BY DEFAULT
   ============================================ */

.proc-body {
  max-height: none !important;
  overflow: visible !important;
  display: block !important;
}

.proc-head {
  cursor: default;
}

.proc-head .indicator {
  display: none;
}
  }
}
