/* ==========================================================================
   JBL Logistics LLP — static rebuild of jblexim.com
   ========================================================================== */

:root {
  --pink: #fb2056;
  --pink-dark: #e01847;
  --text: #404040;
  --light-bg: #f5f5f5;
  --white: #ffffff;
  --footer-bg: #191919;
  --dark-overlay: rgba(20, 20, 20, 0.55);
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--light-bg);
  line-height: 1.7;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0 0 16px;
  color: #222;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent-line {
  width: 60px;
  height: 3px;
  background: var(--pink);
  margin: 12px 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pink);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 17px 40px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover { background: var(--pink-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--pink);
  padding: 0;
  border-radius: 0;
  text-transform: uppercase;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
}

.site-header.solid {
  position: sticky;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.site-header.solid .main-nav > li > a,
.site-header.solid .logo-text { color: #222; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 62px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav > li { position: relative; }

.main-nav > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
}

.main-nav > li > a:hover { color: var(--pink); }

.main-nav .chevron { font-size: 11px; margin-top: 2px; }

/* Level-1 dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 240px;
  background: #fff;
  box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.main-nav > li:hover > .dropdown,
.main-nav > li.open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown > li { position: relative; }

.dropdown > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14.4px 16px;
  color: #222;
  font-size: 16px;
}

.dropdown > li > a:hover,
.dropdown > li.open > a { color: var(--pink); background: #fafafa; }

/* Level-2 flyout */
.flyout {
  position: absolute;
  top: 0;
  left: 100%;
  width: 260px;
  background: #fff;
  box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(6px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.dropdown > li:hover > .flyout,
.dropdown > li.open > .flyout {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.flyout > li > a {
  display: block;
  padding: 12px 16px;
  color: #222;
  font-size: 15px;
}

.flyout > li > a:hover { color: var(--pink); background: #fafafa; }

/* CTA button in header */
.header-cta { margin-left: 12px; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: #fff;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--dark-overlay);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 160px 24px 80px;
  width: 100%;
}

.hero-eyebrow {
  font-size: 18px;
  margin-bottom: 6px;
}
.hero-eyebrow strong { position: relative; }
.hero-eyebrow strong::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 3px;
  background: var(--pink);
}

.hero h1 {
  color: #fff;
  font-size: 64px;
  line-height: 1.15;
  max-width: 900px;
  margin-bottom: 28px;
}

.page-hero {
  min-height: 380px;
}
.page-hero h1 { font-size: 52px; margin: 0; }
.page-hero .hero-inner { padding-top: 190px; padding-bottom: 60px; }

/* ---------- Sections ---------- */
section { padding: 70px 0; }

.intro-text {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: 18px;
}

.section-title { text-align: center; margin-bottom: 8px; }
.section-title .accent-line { margin-left: auto; margin-right: auto; }
.section-heading-row { text-align: center; margin-bottom: 40px; }

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.expertise-card { text-align: center; }
.expertise-card img {
  border-radius: 4px;
  margin-bottom: 24px;
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.expertise-card h3 { font-size: 22px; }
.expertise-card p { margin-bottom: 24px; }

.dark-section {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.dark-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 30, 30, 0.72);
}
.dark-section .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.dark-section h2 { color: #fff; }
.dark-section ul { margin-bottom: 24px; }
.dark-section li { margin-bottom: 14px; }

.why-choose-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: start;
  margin-top: 30px;
}
.why-choose-grid ul { margin-bottom: 24px; }
.why-choose-grid li { margin-bottom: 16px; }
.why-choose-images { display: flex; flex-direction: column; gap: 24px; }
.why-choose-images img { border-radius: 4px; }

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 40px;
}
.service-card { text-align: center; }
.service-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 24px;
  background: #fff;
}
.service-card h3 { font-size: 22px; }

/* ---------- About page ---------- */
.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 40px;
}
.split-block img { border-radius: 4px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.two-col li { margin-bottom: 14px; }

/* ---------- Profile / Projects page ---------- */
.profile-content h2, .profile-content h3 { margin-top: 32px; }
.profile-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin: 20px 0;
}
.profile-table th, .profile-table td {
  text-align: left;
  padding: 16px;
  border-bottom: 1px solid #eee;
}
.profile-table th { font-family: var(--font-heading); }
.info-box { background: #fff; padding: 24px; border-radius: 4px; margin-bottom: 24px; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.form-field {
  width: 100%;
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid #ddd;
  background: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  border-radius: 2px;
}
textarea.form-field { min-height: 140px; resize: vertical; }

.social-row { display: flex; gap: 14px; margin-top: 30px; }
.social-row a {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
}
.social-row .fb { background: #3b5998; }
.social-row .tw { background: #4aa8e0; }
.social-row .ig { background: #222; }

.contact-info h3 { margin-top: 24px; margin-bottom: 4px; }
.contact-info a { color: var(--pink); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer-bg);
  color: #d5d5d5;
  text-align: center;
  padding: 28px 24px;
  font-size: 15px;
}

/* ---------- WhatsApp float button ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  z-index: 999;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .main-nav {
    position: fixed;
    top: 0; right: -320px;
    width: 300px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 20px 20px;
    transition: right 0.25s ease;
    overflow-y: auto;
  }
  .main-nav.open { right: 0; }
  .main-nav > li { width: 100%; }
  .main-nav > li > a { color: #222; width: 100%; }
  .dropdown, .flyout {
    position: static;
    width: 100%;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding-left: 12px;
  }
  .main-nav > li.open > .dropdown,
  .dropdown > li.open > .flyout { display: block; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }

  .hero h1 { font-size: 38px; }
  .page-hero h1 { font-size: 34px; }
  .hero-inner { padding-top: 130px; }

  .expertise-grid, .services-grid, .split-block,
  .two-col, .dark-section .container, .why-choose-grid,
  .contact-grid { grid-template-columns: 1fr; }

  section { padding: 48px 0; }
}
