/* ONYX Transport & Logistics - Main Stylesheet */
:root {
  --navy: #2C150A;
  --navy-dark: #1A0D06;
  --navy-light: #4A2A1A;
  --orange: rgb(225, 171, 43);
  --orange-dark: rgb(180, 137, 34);
  --charcoal: #2B2B2B;
  --gray: #6B7280;
  --gray-light: #E5E7EB;
  --white: #FFFFFF;
  --bg: #F5F7FA;
  --shadow: 0 10px 30px rgba(15, 36, 64, 0.12);
  --shadow-sm: 0 4px 12px rgba(15, 36, 64, 0.08);
  --radius: 12px;
  --radius-lg: 18px;
  --maxw: 1280px;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: rgb(225, 171, 43); }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }

/* Top info bar */
.topbar {
  background: var(--navy-dark);
  color: var(--white);
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar-left { display: flex; gap: 28px; flex-wrap: wrap; }
.topbar-left span { display: flex; align-items: center; gap: 6px; }
.topbar-left i { color: var(--orange); }
.topbar-right { display: flex; gap: 18px; align-items: center; }
.topbar-right a { color: var(--white); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.topbar-right i { color: var(--orange); }

/* Navbar */
.navbar {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(44,21,10,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(44,21,10,0.06);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 40px; width: auto; }
.logo-text { font-family: var(--font-heading); font-weight: 800; font-size: 24px; color: var(--navy); letter-spacing: 1px; }
.logo-text span { color: var(--orange); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-weight: 600; font-size: 15px; color: var(--charcoal);
  position: relative; transition: color .25s; padding: 6px 0;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--orange); transition: width .25s;
}
.nav-links a:hover { color: var(--orange); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--orange); }
.nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.search-btn {
  background: none; border: none; cursor: pointer; color: var(--charcoal);
  font-size: 18px; padding: 6px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 13px;
  cursor: pointer; border: none; transition: all .25s; white-space: nowrap;
  letter-spacing: 0.3px;
}
.btn-orange { background: var(--orange); color: var(--white); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); transform: translateY(-1px); }
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-outline-dark {
  background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-dark:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-outline-navy { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

.hamburger { display: none; background: var(--navy); color: var(--white); border: none; width: 42px; height: 42px; border-radius: 12px; font-size: 18px; cursor: pointer; transition: background .2s; }
.hamburger:hover { background: var(--navy-dark); }

/* Mobile nav */
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; width: 300px; max-width: 85vw;
  background: var(--white); z-index: 1100; padding: 24px; overflow-y: auto;
  transform: translateX(100%); transition: transform .3s ease; box-shadow: -10px 0 40px rgba(44,21,10,0.15);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu .close { position: absolute; top: 20px; right: 20px; font-size: 28px; background: none; border: none; cursor: pointer; }
.mobile-menu ul { margin-top: 60px; }
.mobile-menu li { border-bottom: 1px solid var(--gray-light); }
.mobile-menu a { display: block; padding: 16px 0; font-weight: 600; font-size: 18px; color: var(--charcoal); }
.mobile-menu .btn { width: 100%; margin-top: 20px; }

/* Search overlay */
.search-overlay {
  display: none; position: fixed; inset: 0; background: rgba(44,21,10,0.85);
  z-index: 1200; align-items: center; justify-content: center;
}
.search-overlay.open { display: flex; }
.search-box { width: 90%; max-width: 600px; position: relative; }
.search-box input {
  width: 100%; padding: 18px 56px 18px 20px; font-size: 18px; border: none;
  border-radius: 10px; outline: none;
}
.search-box button {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: var(--orange); color: var(--white); border: none; padding: 10px 16px;
  border-radius: 6px; cursor: pointer; font-weight: 700;
}
.search-close {
  position: absolute; top: -40px; right: 0; color: var(--white); background: none;
  border: none; font-size: 28px; cursor: pointer;
}

/* Hero */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  background: var(--navy);
  min-height: 620px;
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0.55;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(44,21,10,0.92) 0%, rgba(44,21,10,0.7) 45%, rgba(44,21,10,0.3) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 160px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero h1 { font-family: var(--font-heading); font-size: 56px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.hero h1 .highlight { color: var(--orange); }
.hero p.lead { font-size: 17px; max-width: 520px; color: rgba(255,255,255,0.85); margin-bottom: 30px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 680px; }
.stat { }
.stat .num { font-family: var(--font-heading); font-size: 26px; font-weight: 800; color: var(--orange); }
.stat .lbl { font-size: 12px; color: rgba(255,255,255,0.75); margin-top: 2px; }

/* Floating express card */
.express-card {
  background: var(--white); color: var(--charcoal); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow); max-width: 360px; margin-left: auto;
}
.express-card .badge {
  display: inline-block; background: var(--orange); color: var(--white); font-size: 12px;
  font-weight: 700; padding: 6px 12px; border-radius: 20px; margin-bottom: 14px;
}
.express-card h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.express-card p { font-size: 14px; color: var(--gray); margin-bottom: 18px; }
.express-card .phone { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); font-size: 18px; }
.express-card .phone i { color: var(--orange); }

/* Quote form floating */
.quote-section { position: relative; margin-top: -110px; z-index: 5; }
.quote-card {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 36px 40px;
}
.quote-card h2 { font-family: var(--font-heading); font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 24px; }
.quote-form { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: end; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--gray); }
.form-group input, .form-group select {
  padding: 13px 14px; border: 1px solid var(--gray-light); border-radius: 8px;
  font-size: 14px; color: var(--charcoal); background: var(--white); outline: none;
  transition: border .2s;
}
.form-group input:focus, .form-group select:focus { border-color: var(--orange); }
.quote-form .btn { height: 46px; }

/* Section headings */
.section-label {
  display: inline-block; color: var(--orange); font-weight: 700; font-size: 13px;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px;
}
.section-title { font-family: var(--font-heading); font-size: 38px; font-weight: 800; color: var(--navy); margin-bottom: 16px; line-height: 1.2; }
.section-desc { color: var(--gray); max-width: 640px; font-size: 16px; }

/* Services */
.services { background: var(--bg); }
.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 40px; }
.service-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-img { position: relative; height: 170px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.service-card:hover .service-img img { transform: scale(1.08); }
.service-icon {
  position: absolute; bottom: -22px; left: 20px; width: 48px; height: 48px;
  background: var(--orange); color: var(--white); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  box-shadow: 0 6px 16px rgba(242,101,34,0.4);
}
.service-body { padding: 34px 20px 22px; }
.service-body h3 { font-family: var(--font-heading); font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.service-body p { font-size: 13px; color: var(--gray); margin-bottom: 14px; line-height: 1.5; }
.service-body a.learn { color: rgb(225, 171, 43); font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.service-body a.learn:hover { gap: 10px; }

/* Why choose */
.why { background: var(--white); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.why-left {
  position: relative; color: var(--white); padding: 60px 50px;
  background-size: cover; background-position: center;
}
.why-left::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(44,21,10,0.92), rgba(44,21,10,0.75)); }
.why-left > * { position: relative; z-index: 1; }
.why-left .section-label { color: var(--orange); }
.why-left h2 { font-family: var(--font-heading); font-size: 36px; font-weight: 800; margin-bottom: 16px; }
.why-left p { color: rgba(255,255,255,0.8); margin-bottom: 28px; max-width: 420px; }
.why-right { background: var(--white); padding: 50px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.benefit { }
.benefit .icon {
  width: 52px; height: 52px; border: 2px solid var(--orange); color: var(--orange);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 14px;
}
.benefit h4 { font-family: var(--font-heading); font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.benefit p { font-size: 13px; color: var(--gray); line-height: 1.5; }

/* Testimonials */
.testimonials { background: var(--bg); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.testimonial-card {
  background: var(--white); border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow-sm); position: relative;
}
.testimonial-card .quote-mark {
  position: absolute; top: 16px; right: 24px; font-size: 60px; color: var(--orange);
  opacity: 0.15; font-family: Georgia, serif; line-height: 1;
}
.stars { color: var(--orange); font-size: 16px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p { font-size: 14px; color: var(--charcoal); line-height: 1.6; margin-bottom: 22px; font-style: italic; }
.client { display: flex; align-items: center; gap: 14px; }
.client img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--orange); }
.client .name { font-weight: 700; color: var(--navy); font-size: 15px; }
.client .role { font-size: 12px; color: var(--gray); }
.carousel-indicators { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.carousel-indicators span { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-light); cursor: pointer; }
.carousel-indicators span.active { background: var(--orange); width: 28px; border-radius: 5px; }

/* Newsletter */
.newsletter {
  background: var(--navy); color: var(--white); position: relative; overflow: hidden;
}
.newsletter-bg {
  position: absolute; right: 0; top: 0; bottom: 0; width: 45%;
  background-size: cover; background-position: center; opacity: 0.35;
}
.newsletter .container { position: relative; z-index: 2; }
.newsletter-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.newsletter h2 { font-family: var(--font-heading); font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.newsletter p { color: rgba(255,255,255,0.8); margin-bottom: 24px; max-width: 480px; }
.newsletter-form { display: flex; gap: 12px; max-width: 480px; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1; min-width: 200px; padding: 14px 16px; border: none; border-radius: 8px;
  font-size: 14px; outline: none;
}
.newsletter-form .btn { padding: 14px 28px; }
.newsletter small { display: block; margin-top: 12px; color: rgba(255,255,255,0.6); font-size: 12px; }

/* Footer */
.footer { background: var(--navy-dark); color: rgba(255,255,255,0.8); padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 32px; }
.footer h4 { color: var(--white); font-family: var(--font-heading); font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.footer p { font-size: 13px; line-height: 1.7; margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { font-size: 13px; color: #FFFFFF; transition: color .2s; }
.footer ul li a:hover { color: #FFFFFF; }
.footer .logo-text { color: var(--white); }
.social { display: flex; gap: 12px; margin-top: 12px; }
.social a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: background .2s;
}
.social a:hover { background: var(--orange); }
.contact-item { display: flex; gap: 10px; margin-bottom: 12px; font-size: 13px; align-items: flex-start; }
.contact-item i { color: var(--orange); margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: #FFFFFF; }
.footer-bottom a:hover { color: #FFFFFF; }

/* Team */
.team { background: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.team-card { text-align: center; }
.team-card img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; }
.team-card h4 { font-family: var(--font-heading); font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.team-card p { font-size: 13px; color: var(--gray); }
/* Partners */
.partners { background: var(--bg); }
.partners-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 30px; align-items: center; }
.partner-logo { background: var(--white); border-radius: 10px; padding: 20px; text-align: center; font-weight: 700; color: var(--gray); font-size: 14px; box-shadow: var(--shadow-sm); height: 80px; display: flex; align-items: center; justify-content: center; }
@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(2, 1fr); } .partners-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .team-grid { grid-template-columns: 1fr; } .partners-grid { grid-template-columns: repeat(2, 1fr); } }
/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
/* Back to top */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; width: 46px; height: 46px;
  background: var(--navy); color: var(--white); border: none; border-radius: 50%;
  font-size: 18px; cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s; z-index: 900; box-shadow: 0 6px 20px rgba(44,21,10,0.3);
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-4px); }
/* Section accent */
.section-title { position: relative; }
.section-title::before {
  content: ''; display: block; width: 48px; height: 4px; background: var(--orange);
  border-radius: 2px; margin-bottom: 14px;
}
/* Inner pages */
.page-hero {
  background: var(--navy); color: var(--white); padding: 80px 0; position: relative; overflow: hidden;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.25; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-family: var(--font-heading); font-size: 42px; font-weight: 800; }
.page-hero p { color: rgba(255,255,255,0.8); margin-top: 10px; }

.content-section { padding: 60px 0; }
.content-section h2 { font-family: var(--font-heading); font-size: 28px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.content-section p { color: var(--gray); margin-bottom: 14px; line-height: 1.7; }

/* Forms */
.form-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 32px; max-width: 640px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group-full { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--gray); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--gray-light); border-radius: 8px;
  font-size: 14px; color: var(--charcoal); background: var(--white); outline: none;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--orange); }
.error { color: #dc2626; font-size: 12px; margin-top: 4px; display: none; }
.success-msg { display: none; background: #ecfdf5; color: #065f46; padding: 12px 16px; border-radius: 8px; margin-top: 12px; font-size: 14px; }

/* Responsive */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 44px; }
  .quote-form { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions .btn { display: none; }
  .hamburger { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .express-card { margin: 0 auto; }
  .quote-form { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .why-right { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .newsletter-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .topbar .container { justify-content: center; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 28px; }
}
