/* ===================================================
   FOREFRONT GLOBAL LOGISTICS — MAIN STYLESHEET
   Theme: Red (#c00000) + White + Light Gray
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --red:        #c00000;
  --red-dark:   #990000;
  --red-light:  #e53333;
  --red-bg:     #fff0f0;
  --white:      #ffffff;
  --gray-light: #f5f5f5;
  --gray-mid:   #e8e8e8;
  --gray-text:  #6b6b6b;
  --dark-text:  #1a1a1a;
  --body-text:  #333333;
  --border:     #e0e0e0;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 6px 24px rgba(0,0,0,0.10);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.12);
  --radius:     6px;
  --font-head:  'Montserrat', sans-serif;
  --font-body:  'Open Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: var(--white); color: var(--body-text); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: color .2s; }
img { max-width: 100%; display: block; }

/* NAVBAR */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white); border-bottom: 2px solid var(--red);
  box-shadow: var(--shadow-sm); height: 68px; display: flex; align-items: center;
  padding: 0 40px; transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-container { width: 100%; max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }

/* FGL Logo */
.fgl-logo { display: flex; align-items: center; gap: 12px; cursor: pointer; text-decoration: none; }
.fgl-logo-mark { display: flex; align-items: center; }
.fgl-letters { font-family: var(--font-head); font-size: 1.9rem; font-weight: 900; color: var(--red); letter-spacing: -1px; line-height: 1; }
.fgl-arrow { display: inline-flex; align-items: center; margin-left: 3px; margin-top: 2px; }
.fgl-arrow svg { width: 22px; height: 22px; }
.fgl-tagline { display: flex; flex-direction: column; line-height: 1.15; border-left: 2px solid var(--red); padding-left: 12px; }
.fgl-tagline .t1 { font-family: var(--font-head); font-size: 0.68rem; font-weight: 800; color: var(--dark-text); letter-spacing: 1.5px; text-transform: uppercase; }
.fgl-tagline .t2 { font-size: 0.58rem; font-weight: 500; color: var(--gray-text); letter-spacing: 1px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-family: var(--font-head); font-size: 0.76rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--body-text); position: relative; padding-bottom: 3px; }
.nav-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--red); transition: width .3s; }
.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after { width: 100%; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--dark-text); transition: .3s; }

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 68px; overflow: hidden; }
.hero-bg-img { position: absolute; inset: 0; background-image: url('https://images.unsplash.com/photo-1494412651409-8963ce7935a7?w=1600&q=80'); background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(255,255,255,0.93) 0%, rgba(255,255,255,0.82) 50%, rgba(192,0,0,0.08) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 60px 40px 80px; width: 100%; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 60px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: white; padding: 5px 16px; font-family: var(--font-head); font-size: 0.62rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 22px; border-radius: 2px; animation: fadeUp .7s ease forwards; opacity: 0; }
.hero-title { font-family: var(--font-head); font-size: clamp(2.4rem, 4.5vw, 3.8rem); font-weight: 900; color: var(--dark-text); line-height: 1.1; letter-spacing: -1px; margin-bottom: 18px; animation: fadeUp .7s .1s ease forwards; opacity: 0; }
.hero-title span { color: var(--red); }
.hero-desc { font-size: 0.98rem; color: var(--gray-text); max-width: 420px; margin-bottom: 36px; line-height: 1.8; animation: fadeUp .7s .2s ease forwards; opacity: 0; }

/* Track Box */
.track-box { background: var(--red); border-radius: var(--radius); padding: 26px 26px 20px; box-shadow: 0 12px 40px rgba(192,0,0,0.22); max-width: 500px; animation: fadeUp .7s .3s ease forwards; opacity: 0; }
.track-box-label { font-family: var(--font-head); font-size: 0.62rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 10px; }
.track-input-row { display: flex; border-radius: 4px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.track-input { flex: 1; background: var(--white); border: none; outline: none; padding: 13px 18px; font-family: var(--font-body); font-size: 0.88rem; color: var(--dark-text); }
.track-input::placeholder { color: #aaa; }
.track-btn { display: flex; align-items: center; gap: 8px; background: var(--dark-text); color: white; border: none; padding: 13px 20px; font-family: var(--font-head); font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: background .2s; white-space: nowrap; }
.track-btn:hover { background: #222; }
.track-btn svg { width: 14px; height: 14px; }
.track-sample { margin-top: 10px; font-size: 0.7rem; color: rgba(255,255,255,0.65); }
.track-sample button { background: none; border: none; color: rgba(255,255,255,0.95); cursor: pointer; font-size: 0.7rem; text-decoration: underline; padding: 0 2px; }

/* Hero Right Stats Card */
.hero-right { animation: fadeUp .7s .4s ease forwards; opacity: 0; }
.hero-stats-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 32px; border-top: 4px solid var(--red); }
.hero-stats-card h3 { font-family: var(--font-head); font-size: 0.62rem; font-weight: 700; letter-spacing: 2px; color: var(--gray-text); text-transform: uppercase; margin-bottom: 24px; }
.stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-item { display: flex; flex-direction: column; gap: 4px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; padding-bottom: 0; }
.stat-num { font-family: var(--font-head); font-size: 2rem; font-weight: 900; color: var(--red); line-height: 1; }
.stat-suffix { font-size: 1.2rem; }
.stat-label { font-size: 0.72rem; color: var(--gray-text); font-weight: 500; }

/* CONTAINER */
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* SECTION HEADER */
.section-head { text-align: center; margin-bottom: 54px; }
.section-tag { display: inline-block; background: var(--red-bg); color: var(--red); font-family: var(--font-head); font-size: 0.62rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; padding: 5px 16px; border-radius: 2px; margin-bottom: 14px; }
.section-head h2 { font-family: var(--font-head); font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 900; color: var(--dark-text); letter-spacing: -0.5px; margin-bottom: 14px; line-height: 1.15; }
.section-head h2 span { color: var(--red); }
.section-head p { max-width: 520px; margin: 0 auto; color: var(--gray-text); font-size: 0.93rem; line-height: 1.8; }

/* SERVICES */
.services { padding: 96px 0; background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.service-card-img { width: 100%; height: 180px; background-size: cover; background-position: center; }
/* Air Freight - cargo airplane */
.service-img-1 { background-image: url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?w=600&q=80'); }
/* Sea Freight - cargo ship containers */
.service-img-2 { background-image: url('https://images.unsplash.com/photo-1494412651409-8963ce7935a7?w=600&q=80'); }
/* Road Freight - truck on highway */
.service-img-3 { background-image: url('https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?w=600&q=80'); }
/* Warehousing - warehouse interior */
.service-img-4 { background-image: url('https://images.unsplash.com/photo-1553413077-190dd305871c?w=600&q=80'); }
/* Customs Clearance - shipping documents/port */
.service-img-5 { background-image: url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?w=600&q=80'); }
/* Special Cargo - secure vault/safe transport */
.service-img-6 { background-image: url('https://images.unsplash.com/photo-1612178537253-bccd437b730e?w=600&q=80'); }
.service-card-body { padding: 20px 22px 24px; }
.service-icon-badge { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: var(--red-bg); border-radius: 50%; margin-bottom: 10px; color: var(--red); }
.service-icon-badge svg { width: 18px; height: 18px; }
.service-card-body h3 { font-family: var(--font-head); font-size: 0.95rem; font-weight: 800; color: var(--dark-text); margin-bottom: 8px; }
.service-card-body p { font-size: 0.82rem; color: var(--gray-text); line-height: 1.7; }
.service-tag { display: inline-block; margin-top: 12px; font-family: var(--font-head); font-size: 0.68rem; font-weight: 700; color: var(--red); }

/* ABOUT */
.about { padding: 96px 0; background: var(--gray-light); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img-wrap { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img-wrap img { width: 100%; height: 420px; object-fit: cover; }
.about-img-badge { position: absolute; bottom: 24px; left: 24px; background: var(--red); color: white; padding: 16px 20px; border-radius: 4px; }
.about-img-badge .badge-num { font-family: var(--font-head); font-size: 1.8rem; font-weight: 900; line-height: 1; }
.about-img-badge .badge-text { font-size: 0.68rem; opacity: 0.85; font-weight: 500; }
.about-content .section-tag { display: inline-block; }
.about-content h2 { font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 900; color: var(--dark-text); margin: 10px 0 16px; line-height: 1.2; letter-spacing: -0.5px; }
.about-content h2 span { color: var(--red); }
.about-content p { color: var(--gray-text); font-size: 0.9rem; line-height: 1.9; margin-bottom: 14px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.about-feat { display: flex; align-items: flex-start; gap: 10px; }
.about-feat-check { width: 22px; height: 22px; background: var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: white; font-size: 0.68rem; font-weight: 700; }
.about-feat span { font-size: 0.82rem; font-weight: 600; color: var(--dark-text); line-height: 1.4; }

/* CONTACT STRIP */
.contact-strip { background: var(--white); padding: 56px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.contact-grid { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.contact-item { display: flex; align-items: center; gap: 14px; }
.contact-icon-wrap { width: 46px; height: 46px; background: var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; }
.contact-icon-wrap svg { width: 19px; height: 19px; }
.contact-info { display: flex; flex-direction: column; gap: 2px; }
.c-label { font-size: 0.6rem; font-weight: 700; letter-spacing: 2px; color: var(--red); text-transform: uppercase; }
.c-val { font-size: 0.88rem; font-weight: 600; color: var(--dark-text); }
.c-val a { color: var(--dark-text); }
.c-val a:hover { color: var(--red); }

/* FOOTER */
.footer { background: var(--red); color: white; padding: 28px 0 20px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 18px; }
.footer .fgl-letters { color: white; }
.footer .fgl-arrow svg { fill: white; }
.footer .fgl-tagline { border-left-color: rgba(255,255,255,0.4); }
.footer .t1 { color: white; }
.footer .t2 { color: rgba(255,255,255,0.7); }
.footer-info { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-info-item { display: flex; align-items: center; gap: 7px; font-size: 0.78rem; opacity: 0.9; }
.footer-info-item svg { width: 13px; height: 13px; opacity: 0.8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 16px; display: flex; justify-content: space-between; align-items: center; font-size: 0.7rem; opacity: 0.7; flex-wrap: wrap; gap: 8px; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.reveal { opacity:0; transform:translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* RESPONSIVE */
@media (max-width:1024px) { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width:900px) {
  .hero-content { grid-template-columns:1fr; padding:50px 20px 70px; }
  .hero-right { display:none; }
  .about-grid { grid-template-columns:1fr; }
  .about-img-wrap { display:none; }
}
@media (max-width:768px) {
  .navbar { padding:0 20px; }
  .nav-links { display:none; }
  .hamburger { display:flex; }
  .container { padding:0 20px; }
  .services-grid { grid-template-columns:1fr; }
  .contact-grid { flex-direction:column; align-items:flex-start; }
  .footer-inner { flex-direction:column; align-items:flex-start; }
  .footer-info { flex-direction:column; gap:10px; }
}
@media (max-width:480px) { .about-features { grid-template-columns:1fr; } }
