/* === TGC LOGISTICS — GLOBAL STYLES === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --navy:   #0f2044;
  --blue:   #1e5fad;
  --sky:    #3b8fe8;
  --gold:   #e6a817;
  --white:  #ffffff;
  --light:  #f4f7fb;
  --grey:   #6b7a90;
  --text:   #2a3448;
  --border: #dce4ef;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ============================
   TOP BAR
   ============================ */
.topbar {
  background: var(--navy);
  padding: 8px 5%;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
}
.topbar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* ============================
   NAVBAR
   ============================ */
.navbar {
  position: sticky; top: 0; z-index: 200;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.14); }

/* Logo */
.logo {
  display: flex; align-items: center; gap: 12px;
  color: var(--navy);
}
.logo-mark {
  width: 40px; height: 40px;
  background: var(--blue);
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px; padding: 7px; border-radius: 8px;
  flex-shrink: 0;
}
.logo-mark span { background: var(--white); border-radius: 2px; }
.logo-mark span:nth-child(1) { height: 65%; align-self: start; }
.logo-mark span:nth-child(2) { height: 100%; }
.logo-mark span:nth-child(3) { height: 50%; align-self: end; }
.logo-mark span:nth-child(4) { height: 75%; align-self: end; }

.logo-text {
  font-size: 1.05rem; font-weight: 700; line-height: 1.2;
}
.logo-text span {
  display: block; font-size: 0.65rem; font-weight: 400;
  color: var(--grey); letter-spacing: 0.04em;
}

/* Nav links */
.nav-links {
  display: flex; align-items: center; gap: 34px;
  list-style: none;
}
.nav-links a {
  font-size: 0.88rem; font-weight: 500;
  color: var(--text);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--blue); border-bottom-color: var(--gold); }

/* Nav CTA */
.nav-btn {
  background: var(--navy);
  color: var(--white);
  font-size: 0.85rem; font-weight: 600;
  padding: 10px 22px; border-radius: 7px;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.nav-btn:hover { background: var(--blue); transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: 0.3s; }

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 7px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer; border: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-gold  { background: var(--gold); color: var(--navy); }
.btn-navy  { background: var(--navy); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.55); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  min-height: 92vh;
  background: url('https://images.unsplash.com/photo-1494412651409-8963ce7935a7?w=1600&q=80') center/cover no-repeat;
  display: flex; align-items: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,20,50,0.88) 0%, rgba(15,32,68,0.75) 60%, rgba(30,60,120,0.6) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; padding: 0 5%;
  width: 100%;
}
.hero-label {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 20px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800; color: var(--white);
  line-height: 1.1; margin-bottom: 20px;
  max-width: 700px;
}
.hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,0.75);
  max-width: 580px; margin-bottom: 36px; line-height: 1.75;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4); font-size: 0.75rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================
   PAGE HERO (inner pages)
   ============================ */
.page-hero {
  position: relative;
  padding: 100px 5% 80px;
  background: url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?w=1400&q=80') center/cover no-repeat;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,20,50,0.88), rgba(15,60,120,0.75));
}
.page-hero-content {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
  color: var(--white);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin: 8px 0; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1rem; margin-top: 10px; }

/* ============================
   TRUST STRIP
   ============================ */
.trust-strip {
  background: var(--navy);
  padding: 18px 5%;
  border-bottom: 3px solid var(--gold);
}
.trust-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 28px;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.8); font-size: 0.82rem; font-weight: 500;
}
.ti-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ============================
   SECTIONS / LAYOUT
   ============================ */
.section { padding: 90px 5%; }
.alt-bg { background: var(--light); }
.container { max-width: 1200px; margin: 0 auto; }

.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.section-head { margin-bottom: 52px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin: 0 auto; }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 10px;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 800; color: var(--navy);
  line-height: 1.2; margin-bottom: 16px;
}

.section-sub {
  color: var(--grey); font-size: 1rem;
  max-width: 560px; line-height: 1.75;
}

/* ============================
   ABOUT INTRO
   ============================ */
.about-text p { color: var(--grey); margin-bottom: 16px; }
.about-text .btn { margin-top: 8px; }

.about-visual { position: relative; border-radius: 16px; overflow: hidden; height: 420px; }
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: var(--navy); color: var(--white);
  border-radius: 12px; padding: 16px 22px; text-align: center;
}
.about-badge strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--gold); }
.about-badge span { font-size: 0.75rem; opacity: 0.7; }

/* ============================
   SERVICE CARDS (home)
   ============================ */
.service-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 20px;
}
.scard {
  border-radius: 14px; overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex; flex-direction: column;
}
.scard:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.13); }
.scard-img { height: 200px; overflow: hidden; }
.scard-img img { transition: transform 0.4s; }
.scard:hover .scard-img img { transform: scale(1.05); }
.scard-body { padding: 28px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.scard-icon { font-size: 2rem; margin-bottom: 12px; }
.scard-body h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.scard-body p { font-size: 0.88rem; color: var(--grey); flex: 1; margin-bottom: 18px; line-height: 1.7; }
.scard-link { font-size: 0.83rem; font-weight: 600; color: var(--blue); transition: gap 0.2s; }

/* ============================
   STATS
   ============================ */
.stats-section { background: var(--blue); padding: 60px 5%; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 20px; text-align: center;
}
.stat h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; color: var(--gold); margin-bottom: 6px;
}
.stat p { color: rgba(255,255,255,0.75); font-size: 0.88rem; }

/* ============================
   WHY GRID
   ============================ */
.why-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 32px 26px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.09); border-color: var(--sky); }
.why-icon { font-size: 1.8rem; margin-bottom: 14px; }
.why-card h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.why-card p { font-size: 0.86rem; color: var(--grey); line-height: 1.7; }

/* ============================
   CTA BANNER
   ============================ */
.cta-banner {
  background: var(--navy);
  padding: 80px 5%; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(30,95,173,0.3); pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); font-size: clamp(1.7rem,3vw,2.4rem); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.7); font-size: 1rem; margin-bottom: 28px; }

/* ============================
   SERVICE DETAIL (services page)
   ============================ */
.sd-img { border-radius: 14px; overflow: hidden; height: 380px; }
.sd-img img { object-fit: cover; }
.sd-text p { color: var(--grey); margin-bottom: 14px; }
.sd-list {
  list-style: none; margin: 20px 0 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.sd-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; color: var(--text); padding: 10px 14px;
  background: var(--light); border-radius: 7px;
  border-left: 3px solid var(--blue);
}
.sd-list li::before { content: '✓'; color: var(--blue); font-weight: 700; flex-shrink: 0; }

/* ============================
   CONTACT
   ============================ */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 64px; align-items: start;
}
.contact-info h2 { margin-bottom: 14px; }
.contact-info > p { color: var(--grey); margin-bottom: 32px; }
.cinfo-block {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 22px; padding: 16px 18px;
  background: var(--light); border-radius: 10px;
}
.cinfo-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.cinfo-block strong { display: block; font-weight: 600; color: var(--navy); margin-bottom: 4px; font-size: 0.88rem; }
.cinfo-block p, .cinfo-block a { font-size: 0.87rem; color: var(--grey); }
.cinfo-block a:hover { color: var(--blue); }

.contact-form-wrap {
  background: var(--light); border-radius: 16px; padding: 40px;
}
.contact-form-wrap h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-family: 'Poppins', sans-serif; font-size: 0.88rem; color: var(--text);
  background: var(--white); transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; }
.form-note { font-size: 0.78rem; color: var(--grey); text-align: center; margin-top: 10px; }

.map-placeholder { height: 400px; }
.map-placeholder iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ============================
   FOOTER
   ============================ */
.footer { background: #0a1428; color: rgba(255,255,255,0.65); }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px; padding: 64px 5% 48px;
  max-width: 1400px; margin: 0 auto;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p { font-size: 0.88rem; margin-top: 14px; max-width: 290px; line-height: 1.75; }
.footer-col h4 {
  color: var(--white); font-size: 0.8rem;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li, .footer-col ul a { font-size: 0.87rem; color: rgba(255,255,255,0.55); }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  padding: 22px 5%;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  max-width: 1400px; margin: 0 auto;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
  .two-col, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .two-col.reverse { direction: ltr; }
  .sd-img { height: 280px; }
  .about-visual { height: 320px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--white);
    padding: 20px 5%; gap: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 199;
  }
  .nav-links.open a { font-size: 1rem; padding: 8px 0; border-bottom: 1px solid var(--border); width: 100%; }
  .hamburger { display: flex; }
  .service-cards { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px 18px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 2.2rem; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .btn { justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* Real logo image */
.logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}
