/* ===== Global Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== Base ===== */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: #ffffff;
  color: #222;
  overflow-x: hidden;
}


.page-container {
  max-width: 1200px;
  margin: 0 auto;      /* centers page */
  padding-left: 24px;  /* consistent left/right padding */
  padding-right: 24px;
}


.section {
  padding: 80px 0; /* top/bottom padding */
  padding-left: 0; /* remove individual horizontal padding */
  padding-right: 0;
}


/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  inset: 0;
  background: #0b1c2d;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Loader animation */
.loader {
  display: flex;
  gap: 8px;
}

.loader span {
  width: 12px;
  height: 12px;
  background: #dc2626
;
  border-radius: 50%;
  animation: bounce 1.2s infinite ease-in-out;
}

.loader span:nth-child(2) {
  animation-delay: 0.9s;
}

.loader span:nth-child(3) {
  animation-delay: 0.9s;
}

@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(0);
    opacity: 0.4;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Smooth fade-out */
#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}


/* ===== HEADER HERO ===== */
.header-hero {
  width: 100%;
  height: 85vh;
  min-height: 520px;
  background: url("../images/cargo.png") center/cover no-repeat;
  position: relative;
  color: #fff;
  overflow: hidden;
}

/* Dark overlay */
.header-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 28, 45, 0.65);
  z-index: 1;
}

/* Diagonal translucent box (LEFT) */
.header-hero::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -25%;
  width: 70%;
  height: 140%;
  background: rgba(234, 230, 221, 0.18); /* gold tint */
  transform: rotate(-12deg);
  z-index: 2;
}


/* ===== NAVBAR INSIDE HEADER ===== */

/* Navbar container with background rectangle */
.navbar-container {
  position: fixed; 
  left: 50%;             /* keeps spacing from top */
  transform: translateX(-50%);
  z-index: 9999;
  width: calc(100% - 40px);
  max-width: 1200px;
  padding: 12px 28px; /* rectangle padding */
  background: rgba(57, 55, 55, 0.12); /* semi-transparent */
  backdrop-filter: blur(10px); /* optional: glass effect */
  border-radius: 16px; /* rounded edges */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); /* subtle shadow */
}


/* Keep navbar flex inside container */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  padding: 0;
}

.logo img {
  max-height: 90px;
}

/* Navbar links */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #dc2626
;
}

/* Contact button */
.contact-button {
  background: #dc2626
;
  color: #000 !important;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
}

.contact-button:hover {
  background: #e0a800;
}

/* ===== HEADER CONTENT ===== */
.header-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: auto;
  padding: 120px 48px 0;
}

.header-content h1 {
  font-size: 46px;
  margin-bottom: 16px;
}

.header-content p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.btn {
  background: #dc2626
;
  color: #000;
  padding: 14px 32px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  display: inline-block;
}

.header-hero {
  position: relative;
  overflow: visible; /* must be visible */
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .navbar {
    padding: 20px 24px;
  }

  .nav-links {
    gap: 20px;
  }

  .header-content {
    padding: 100px 24px 0;
  }

  .header-content h1 {
    font-size: 34px;
  }

  .header-content p {
    font-size: 16px;
  }
}

/* =========================
   HERO CAROUSEL
========================= */

.brand-carousel {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 450px;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s ease, transform 1.2s ease;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

/* Overlay */
.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11,28,45,0.85),
    rgba(11,28,45,0.55),
    rgba(11,28,45,0.2)
  );
}

/* Content */
.carousel-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  height: 100%;
  margin: auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.hero-tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(220,38,38,0.2);
  color: #fca5a5;
  border-radius: 999px;
}

.carousel-content h1 {
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.carousel-content h1 span {
  color: #120953;
}

.carousel-content p {
  max-width: 520px;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
  color: #e5e7eb;
}

/* Button */
.hero-btn {
  display: inline-block;
  width: fit-content;
  padding: 14px 36px;
  background: #dc2626;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background: #b91c1c;
  transform: translateY(-2px);
}

/* Navigation */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  font-size: 28px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-nav:hover {
  background: rgba(0,0,0,0.7);
}

.carousel-nav.prev { left: 20px; }
.carousel-nav.next { right: 20px; }

/* Responsive */
@media (max-width: 768px) {
  .carousel-content h1 {
    font-size: 34px;
  }
}


/* ===== Commodity Showcase ===== */
.commodity-showcase {
  padding: 90px 0;
  background: #f8fafc;
  text-align: center;
}

/* Titles */
.section-title {
  font-size: 34px;
  font-weight: 700;
  color: #0b1c2d;
  margin-bottom: 12px;
}

.section-subtitle {
  color: #555;
  font-size: 16px;
  margin-bottom: 50px;
}

/* Wrapper */
.commodity-wrapper {
  max-width: 1200px;
  margin: auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/* ===== Card ===== */
.commodity-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: 0.4s ease;
  cursor: pointer;
  position: relative;
}

/* Image container */
.commodity-image {
  height: 260px;
  overflow: hidden;
}

.commodity-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Info */
.commodity-info {
  padding: 22px 16px;
}

.commodity-info span {
  font-size: 18px;
  font-weight: 600;
  color: #0b1c2d;
}

/* Hover Effects */
.commodity-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.commodity-card:hover img {
  transform: scale(1.08);
}

/* Gradient Overlay on Hover */
.commodity-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to top,
      rgba(11,28,45,0.45),
      transparent
  );
  opacity: 0;
  transition: 0.4s ease;
}

.commodity-card:hover::after {
  opacity: 1;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .commodity-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .commodity-wrapper {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }

  .commodity-image {
    height: 220px;
  }
}


/* ===== ABOUT SECTION ===== */
.about {
  background: #ffffff;
  padding: 100px 0;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: center;
}

/* ===== IMAGES ===== */
.about-images {
  position: relative;
}

.about-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image.main {
  height: 420px;
}

.about-image.secondary {
  width: 70%;
  height: 260px;
  position: absolute;
  bottom: -40px;
  right: -40px;
  border: 6px solid #ffffff;
}

/* ===== CONTENT ===== */
.sub-label {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #dc2626;
}

.main-title {
  font-size: 40px;
  line-height: 1.15;
  margin-bottom: 22px;
  color: #0b1c2d;
}

.main-title span {
  color: #dc2626;
}

.description {
  font-size: 16px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 18px;
}

/* ===== BUTTON ===== */
.btn-more {
  display: inline-block;
  margin-top: 14px;
  padding: 14px 32px;
  background: #dc2626;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-more:hover {
  background: #b91c1c;
  transform: translateY(-2px);
}

/* ===== STATS ===== */
.about-stats {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.stat-box {
  background: #f9fafb;
  padding: 26px 20px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.stat-box h3 {
  font-size: 30px;
  color: #dc2626;
  margin-bottom: 6px;
}

.stat-box p {
  font-size: 14px;
  color: #555;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
  }

  .about-image.secondary {
    position: static;
    width: 100%;
    height: 240px;
    margin-top: 20px;
    border: none;
  }
}

@media (max-width: 600px) {
  .main-title {
    font-size: 32px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }
}

/* SERVICES SECTION==*/

.services-section {
  padding: 90px 20px;
  background: #f8fafc;
  text-align: center;
  font-family: "Segoe UI", Arial, sans-serif;
}

.services-header h2 {
  font-size: 38px;
  color: #0f172a;
  margin-bottom: 60px;
}

.services-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

/* Card */
.service-card {
  background: #fff;
  padding: 45px 30px;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(15,23,42,0.08);
  transition: all 0.35s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 70px rgba(15,23,42,0.18);
}

/* Main Icons Animation */
.service-icon {
  font-size: 46px;
  color: #0b3c8a;
  margin-bottom: 25px;
  transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.15) rotate(-5deg);
}

/* Arrow Button */
.arrow-btn {
  width: 46px;
  height: 46px;
  background: #7a0c0c; /* Dark Red */
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-top: 30px;
  transition: background 0.3s ease;
  overflow: hidden;
}

/* Arrow Animation */
.arrow-btn i {
  font-size: 15px;
  animation: arrowMove 1.2s infinite ease-in-out;
}

@keyframes arrowMove {
  0%   { transform: translateX(0); opacity: 1; }
  50%  { transform: translateX(6px); opacity: 0.7; }
  100% { transform: translateX(0); opacity: 1; }
}

.service-card:hover .arrow-btn {
  background: #5f0909;
}

/* Text */
.service-card h3 {
  font-size: 21px;
  color: #0f172a;
  margin-bottom: 14px;
}

.service-card p {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}



/* ===== Testimonials ===== */
.testimonials {
  background: linear-gradient(180deg, #f9fafb, #ffffff);
  text-align: center;
  padding: 80px 20px;
}

.testimonial-slider {
  position: relative;
  max-width: 820px;
  margin: 50px auto 30px;
  min-height: 300px;
}

.testimonial {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(25px) scale(0.98);
  transition: opacity 0.6s ease, transform 0.6s ease;
  padding: 0 24px;
}

.testimonial.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  position: relative;
}

/* Avatar */
.avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 22px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #dc2626;
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text */
.testimonial p {
  font-size: 16px;
  line-height: 1.75;
  color: #333;
  margin-bottom: 16px;
}

.testimonial h4 {
  font-size: 15px;
  font-weight: 600;
  color: #111;
}

.testimonial span {
  font-size: 13px;
  color: #6b7280;
}

/* Dots */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.3s ease;
}

.t-dot.active {
  background: #dc2626;
  transform: scale(1.25);
}



/* ===== FAQ Section ===== */
.faq-section {
  background: #f8fafc;
  padding: 90px 20px;
  font-family: "Segoe UI", Arial, sans-serif;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* Header */
.faq-container h2 {
  font-size: 38px;
  color: #0f172a;
  margin-bottom: 10px;
}

.faq-subtitle {
  font-size: 15.5px;
  color: #475569;
  margin-bottom: 55px;
  line-height: 1.6;
}

/* FAQ Item */
.faq-item {
  background: #ffffff;
  border-radius: 12px;
  margin-bottom: 18px;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  text-align: left;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.15);
}

/* Hide checkbox */
.faq-item input {
  display: none;
}

/* Question */
.faq-item label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  position: relative;
}

/* Plus / Minus icon */
.faq-item label::after {
  content: "+";
  font-size: 22px;
  font-weight: 500;
  color: #7a0c0c; /* dark red */
  transition: transform 0.3s ease;
}

/* Answer */
.faq-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 26px;
  background: #ffffff;
  transition: max-height 0.45s ease, padding 0.3s ease;
}

.faq-content p {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Open state */
.faq-item input:checked + label::after {
  content: "–";
  transform: rotate(180deg);
}

.faq-item input:checked ~ .faq-content {
  max-height: 300px;
  padding: 0 26px 20px;
}

/* Responsive */
@media (max-width: 600px) {
  .faq-container h2 {
    font-size: 30px;
  }

  .faq-item label {
    font-size: 15px;
  }
}

/* ===== Contact Section ===== */

.contact h2 {
  text-align: center;
  margin-bottom: 50px;
}


.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Form */
.contact-form {
  background: #f9fafb;
  padding: 32px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border: 1px solid #ddd;
  font-size: 14px;
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #dc2626;
}

.contact-form button {
  background-color: #dc2626;
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 15px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-form button i {
  margin-right: 6px;
}

.contact-form button:hover {
  background-color: #b91c1c;
  transform: translateY(-2px);
}

/* Info */
.contact-info {
  padding: 32px;
  background: #f9fafb;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.contact-info h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #0b1c2d;
}

.contact-info p {
  font-size: 14.5px;
  color: #555;
  margin-bottom: 22px;
  line-height: 1.6;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  margin-bottom: 14px;
  color: #555;
  transition: color 0.3s ease;
}

.info-item i {
  color: #dc2626;
  font-size: 16px;
  min-width: 20px;
}

.info-item:hover {
  color: #222;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}


/* ===== Footer ===== */
.footer {
  background: #0b1c2d;
  color: #cfd6de;
  padding: 60px 0 20px;
  margin-top: 80px;
}

.footer-logo {
  max-width: 120px;
  height: auto;
  margin-bottom: 12px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h3,
.footer-col h4 {
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #cfd6de;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #dc2626
;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 18px;
  text-align: center;
  font-size: 13px;
  color: #9aa4af;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0 24px;
  }
}





