/* =============================================
   FrachtLogistics - Main Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* --- CSS Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', 'Inter', sans-serif;
  background-color: #111;
  color: #fff;
  overflow-x: hidden;
}

body::-webkit-scrollbar { width: 5px; }
body::-webkit-scrollbar-track { box-shadow: inset 0 0 6px rgba(0,0,0,0.3); }
body::-webkit-scrollbar-thumb { background-color: darkgrey; outline: 1px solid slategrey; }

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: #111;
  border-bottom: 1px solid #374151;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}

.navbar-brand img {
  height: 36px;
  width: auto;
}

.navbar-brand span {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.navbar-links a {
  color: #fd961a;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: #fd961a;
  transition: width 0.3s;
}

.navbar-links a:hover::after { width: 100%; }
.navbar-links a:hover { color: #b07d3e; }

.btn-track {
  display: inline-block;
  background: #fd961a;
  color: #fff !important;
  padding: 0.5rem 1.3rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid #fd961a;
  transition: background 0.3s, color 0.3s;
}

.btn-track:hover {
  background: transparent;
  color: #fd961a !important;
}

.btn-track::after { display: none !important; }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: #fd961a;
  border: none;
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 4px 0;
  transition: 0.3s;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #1a1a1a;
  padding: 1rem 1.5rem;
  border-top: 1px solid #374151;
}

.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: #fd961a;
  padding: 0.6rem 0;
  font-size: 1rem;
  border-bottom: 1px solid #2a2a2a;
  transition: color 0.3s;
}
.mobile-nav a:hover { color: #fff; }

/* =============================================
   PAGE BANNER (Orange header strip)
   ============================================= */
.page-banner {
  background: #fd961a;
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.page-banner p {
  color: #000;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.4rem;
}

.page-banner h1 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
}

.page-banner .banner-line {
  width: 60px;
  height: 3px;
  background: #fff;
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

/* =============================================
   HERO CAROUSEL
   ============================================= */
.carousel-container {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-slide.active { opacity: 1; }

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-text {
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
}

.carousel-text h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
  color: #fd961a;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.carousel-text p {
  font-size: 1.05rem;
  color: #e5e7eb;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  padding: 0 1rem;
}

.carousel-btns {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: #fd961a;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  border: 2px solid #fd961a;
  transition: all 0.4s;
  font-size: 1rem;
}

.btn-primary:hover {
  background: transparent;
  color: #fd961a;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: #fd961a;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  border: 2px solid #fd961a;
  transition: all 0.4s;
  font-size: 1rem;
}

.btn-outline:hover {
  background: #fd961a;
  color: #fff;
}

/* Carousel dots */
.carousel-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}

.carousel-dots span {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.carousel-dots span.active {
  background: #fd961a;
  transform: scale(1.3);
}

/* =============================================
   WHAT WE OFFER (HeroSection)
   ============================================= */
.section-what-offer {
  padding: 5rem 1.5rem;
  background: #111;
}

.section-what-offer .header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-what-offer .header img {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

.section-what-offer h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 2px;
}

.section-what-offer .subtitle {
  font-size: 1.1rem;
  color: #d1d5db;
  max-width: 550px;
  margin: 0 auto 1.8rem;
  text-align: center;
  line-height: 1.8;
}

.section-what-offer .center-btn {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  position: relative;
  cursor: pointer;
  transition: transform 0.3s;
}

.service-card:hover { transform: scale(1.03); }

.service-card .img-wrap {
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.service-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.service-card:hover .img-wrap img { transform: scale(1.07); }

.service-badge {
  position: absolute;
  bottom: -1.5rem;
  left: 1.2rem;
  background: #fff;
  color: #000;
  padding: 1rem 1.2rem;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  width: 85%;
}

.service-badge .badge-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.5rem;
}

.service-badge .badge-header img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.service-badge .badge-header h2 {
  color: #fd961a;
  font-weight: 700;
  font-size: 1rem;
}

.service-badge p { font-size: 0.82rem; color: #444; line-height: 1.5; }

/* =============================================
   OUR PARTNERS
   ============================================= */
.section-partners {
  background: #fff;
  padding: 5rem 1.5rem;
}

.section-partners h1 {
  color: #111;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

.section-partners h1 span { color: #fd961a; }

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  align-items: center;
  justify-items: center;
}

.partner-logo {
  width: 90px;
  transition: transform 0.3s;
}

.partner-logo:hover { transform: scale(1.15); }
.partner-logo img { width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15)); }

/* =============================================
   HOW IT WORKS
   ============================================= */
.section-how {
  padding: 5rem 2rem;
  background: #111;
}

.section-how .section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-header .label {
  color: #fb923c;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

.section-header h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-header p {
  color: #d1d5db;
  font-size: 1.05rem;
  line-height: 1.7;
}

.how-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.how-img img {
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  max-width: 480px;
  width: 100%;
}

.how-steps { max-width: 420px; }

.how-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.how-step .check-icon {
  width: 26px;
  height: 26px;
  background: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.how-step .check-icon svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.how-step p {
  font-size: 1.05rem;
  color: #fff;
  font-weight: 500;
}

.btn-orange-lg {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #f97316;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 1rem;
}

.btn-orange-lg:hover { background: #ea580c; }

/* =============================================
   STATS / CUSTOMERS
   ============================================= */
.section-stats {
  background: #fff;
  padding: 4rem 1.5rem;
  text-align: center;
}

.section-stats .stats-header {
  margin-bottom: 2.5rem;
}

.section-stats .stats-header h2 {
  color: #fd961a;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-stats .stats-header p {
  color: #6b7280;
  font-size: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.stat-item dt {
  color: #fd961a;
  font-size: 0.95rem;
  margin-top: 0.4rem;
}

.stat-item dd {
  font-size: 3rem;
  font-weight: 700;
  color: #111;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: #111;
  border-top: 1px solid #374151;
  padding: 3.5rem 1.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
}

.footer-brand img { height: 40px; width: auto; margin-bottom: 0.8rem; }

.footer-brand .brand-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 0.8rem;
}

.footer-brand p { color: #9ca3af; font-size: 0.88rem; line-height: 1.7; }

.footer-col h3 {
  color: #fd961a;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a { color: #d1d5db; font-size: 0.88rem; transition: color 0.3s; }
.footer-col ul li a:hover { color: #fff; }

.footer-col address { font-style: normal; }
.footer-col p { color: #9ca3af; font-size: 0.88rem; margin-bottom: 0.5rem; }
.footer-col p a { color: #fd961a; }
.footer-col p a:hover { text-decoration: underline; }

.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #374151;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom span { color: #6b7280; font-size: 0.82rem; }

.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: #6b7280; font-size: 0.82rem; transition: color 0.3s; }
.footer-bottom-links a:hover { color: #fff; text-decoration: underline; }

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.about-text p {
  color: #d1d5db;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-images img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  height: 180px;
}

/* =============================================
   PACKAGES / SERVICES PAGE
   ============================================= */
.services-list {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
}

.service-item {
  background: #1a1a2e;
  border: 1px solid #2d2d4e;
  border-radius: 12px;
  padding: 1.8rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(253, 150, 26, 0.2);
}

.service-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.service-item h3 {
  color: #fd961a;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
  letter-spacing: 1px;
}

.service-item p {
  color: #9ca3af;
  font-size: 0.88rem;
  line-height: 1.7;
}

/* =============================================
   TRACK PARCEL PAGE
   ============================================= */
.track-section {
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.track-form-card {
  background: #fff;
  border-radius: 14px;
  padding: 2.5rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

.track-form-card label {
  display: block;
  color: #374151;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.track-form-card input {
  width: 100%;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: #fd961a;
  margin-bottom: 1.5rem;
  outline: none;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.3s;
}

.track-form-card input:focus { border-color: #fd961a; }

.btn-track-submit {
  width: 100%;
  background: #fd961a;
  color: #fff;
  border: none;
  padding: 0.85rem;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  font-family: 'Poppins', sans-serif;
}

.btn-track-submit:hover { background: #e58514; }
.btn-track-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.track-result {
  background: #fff;
  border-radius: 14px;
  padding: 2rem 2.5rem;
  margin-top: 2rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
  display: none;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.track-result.visible { display: block; }

.track-result h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 1.5rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 0.9rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.detail-row:last-child { border-bottom: none; }

.detail-row .lbl { color: #6b7280; font-weight: 500; }
.detail-row .val { color: #111; font-weight: 600; }

.track-not-found {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  border-radius: 10px;
  padding: 1.2rem;
  margin-top: 1rem;
  color: #b91c1c;
  text-align: center;
  font-weight: 600;
  display: none;
}

.track-not-found.visible { display: block; }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-form-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

.form-card-header {
  background: #fd961a;
  padding: 1.5rem 2rem;
  text-align: center;
}

.form-card-header p {
  font-size: 1.3rem;
  font-weight: 700;
  color: #000;
}

.contact-form {
  padding: 2rem;
}

.contact-form .form-group {
  margin-bottom: 1.2rem;
}

.contact-form label {
  display: block;
  color: #374151;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.93rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: #111;
  outline: none;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #fd961a;
  box-shadow: 0 0 0 3px rgba(253,150,26,0.1);
}

.contact-form textarea { resize: vertical; min-height: 130px; }

.btn-submit {
  width: 100%;
  background: #fd961a;
  color: #fff;
  border: none;
  padding: 0.9rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  font-family: 'Poppins', sans-serif;
  margin-top: 0.5rem;
}

.btn-submit:hover { background: #e68400; }

.contact-info { display: flex; flex-direction: column; gap: 1.2rem; }

.info-card {
  background: #fd961a;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  box-shadow: 0 4px 15px rgba(253,150,26,0.3);
}

.info-icon {
  background: #fff;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg {
  width: 24px;
  height: 24px;
  stroke: #fd961a;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-card h3 {
  color: #000;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.info-card p, .info-card a {
  color: #333;
  font-size: 0.9rem;
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #22c55e;
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s;
  z-index: 9999;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .navbar-links { display: none; }
  .nav-toggle { display: block; }

  .how-content { flex-direction: column; }

  .about-content { grid-template-columns: 1fr; }

  .contact-section { grid-template-columns: 1fr; }

  .carousel-container { height: 85vh; }

  .service-badge { position: static; margin-top: 1rem; width: auto; }

  .service-card .img-wrap { height: 280px; }

  .services-grid { gap: 3rem; }
}

@media (max-width: 480px) {
  .page-banner h1 { font-size: 1.7rem; }
  .carousel-text h1 { font-size: 1.8rem; }
  .carousel-text p { font-size: 0.9rem; padding: 0; }
  .stat-item dd { font-size: 2.2rem; }
}
