/* =====================================================
   Expload Transportation - Custom Stylesheet
   Corporate Logistics Website
   ===================================================== */

/* ----- CSS Variables ----- */
:root {
  /* Primary Colors */
  --navy: #0a1628;
  --navy-light: #1a2d4a;
  --steel: #6b7a8f;
  --steel-light: #9aa5b5;
  --white: #ffffff;
  --off-white: #f8fafc;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;

  /* Gradients */
  --gradient-navy: linear-gradient(135deg, #0a1628 0%, #1a2d4a 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(10, 22, 40, 0.7) 0%, rgba(10, 22, 40, 0.9) 100%);

  /* Typography */
  --font-primary: "Inter", sans-serif;
  --font-display: "Playfair Display", serif;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(10, 22, 40, 0.05);
  --shadow-md: 0 4px 20px rgba(10, 22, 40, 0.1);
  --shadow-lg: 0 10px 40px rgba(10, 22, 40, 0.15);

  /* Transitions */
  --transition: all 0.3s ease;
}

/* ----- Base Styles ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background-color: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

/* ----- Utility Classes ----- */
.text-navy {
  color: var(--navy) !important;
}
.text-steel {
  color: var(--steel) !important;
}
.text-accent {
  color: var(--accent) !important;
}
.bg-navy {
  background-color: var(--navy) !important;
}
.bg-light {
  background-color: var(--off-white) !important;
}

.py-6 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

/* ----- Button Styles ----- */
.btn-accent {
  background-color: var(--accent);
  color: var(--white);
  font-weight: 600;
  border: none;
  padding: 0.75rem 2rem;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-accent::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-accent:hover::after {
  left: 100%;
}

/* ----- Navigation ----- */
#mainNav {
  padding: 1rem 0;
  background-color: transparent;
  transition: var(--transition);
}

#mainNav.scrolled {
  background-color: var(--navy);
  box-shadow: var(--shadow-md);
  padding: 0.75rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  color: var(--white) !important;
}

.navbar-brand .text-accent {
  color: var(--accent) !important;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #60a5fa);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
  left: 10%;
}

.nav-link:hover {
  color: var(--white) !important;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-btn {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: var(--transition);
}

.lang-btn:hover,
.lang-btn.active {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
}

/* ----- Hero Section ----- */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
}

.heroSwiper {
  height: 100%;
}

.hero-slide {
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

/* Swiper Customization */
.swiper-button-next,
.swiper-button-prev {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  backdrop-filter: blur(10px);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.25rem;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: var(--accent);
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: var(--accent);
  width: 30px;
  border-radius: 10px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-15px);
  }
  60% {
    transform: translateX(-50%) translateY(-7px);
  }
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background-color: var(--white);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(15px);
  }
}

/* ----- Stats Section ----- */
.stats-section {
  background: var(--gradient-navy);
  padding: 3rem 0;
  margin-top: -80px;
  position: relative;
  z-index: 10;
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width 0.5s ease;
}

.stat-card:hover::after {
  width: 60%;
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  display: inline;
  position: relative;
}

.stat-number.counting {
  animation: pulse 0.3s ease-in-out;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.stat-suffix {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--accent);
  display: inline;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}

/* ----- Section Headers ----- */
.section-tag {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 45px;
}

.section-tag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 35px;
  height: 2px;
  background: var(--accent);
  animation: lineGrow 1s ease forwards;
}

@keyframes lineGrow {
  from {
    width: 0;
  }
  to {
    width: 35px;
  }
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--steel);
  max-width: 600px;
  margin: 0 auto;
}

/* ----- Services Section ----- */
.services-section {
  background-color: var(--off-white);
}

.service-card {
  background-color: var(--white);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(107, 122, 143, 0.1);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--navy));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(10, 22, 40, 0.15);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotateY(180deg);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--navy) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--steel);
  margin-bottom: 1.25rem;
}

.service-link {
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.service-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.service-link:hover {
  color: var(--navy);
  gap: 0.75rem;
}

.service-link:hover::after {
  width: 100%;
}

/* ----- Why Section ----- */
.why-image {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.why-image img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-image:hover img {
  transform: scale(1.05);
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: 30px;
  background-color: var(--accent);
  color: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.experience-badge .years {
  font-size: 2.5rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-feature {
  padding: 1rem;
  border-radius: 12px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-feature:hover {
  background-color: rgba(37, 99, 235, 0.05);
  transform: translateX(10px);
}

.why-feature:hover .why-icon {
  background-color: var(--accent);
}

.why-feature:hover .why-icon i {
  color: var(--white);
  transform: scale(1.1);
}

.why-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.3s ease;
}

.why-icon i {
  font-size: 1.25rem;
  color: var(--accent);
  transition: color 0.3s ease, transform 0.3s ease;
}

.why-feature h4 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.why-feature p {
  font-size: 0.9375rem;
  color: var(--steel);
  margin: 0;
}

/* ----- CTA Section ----- */
.cta-section {
  background: var(--gradient-navy);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url("/placeholder.svg?height=400&width=600") center / cover;
  opacity: 0.1;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cta-or {
  color: rgba(255, 255, 255, 0.6);
}

.cta-phone {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.cta-phone:hover {
  color: var(--accent);
}

/* ----- Page Header ----- */
.page-header {
  background: var(--gradient-navy);
  padding: 10rem 0 5rem;
  text-align: center;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.breadcrumb {
  background: transparent;
  margin: 0;
  padding: 0;
}

.breadcrumb-item,
.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.breadcrumb-item.active {
  color: var(--white);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* ----- Services Detail ----- */
.service-detail-card {
  padding: 3rem 0;
  border-bottom: 1px solid rgba(107, 122, 143, 0.15);
}

.service-detail-card:last-child {
  border-bottom: none;
}

.service-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0.5rem 1rem;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: 20px;
  margin-bottom: 1rem;
}

.service-detail-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 1rem;
}

.service-detail-desc {
  font-size: 1.0625rem;
  color: var(--steel);
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--navy);
}

.service-features i {
  color: var(--accent);
  font-size: 1.125rem;
}

/* ----- About Section ----- */
.about-images {
  position: relative;
}

.about-img-main {
  width: 85%;
}

.about-img-secondary {
  position: absolute;
  bottom: -30px;
  right: 0;
  width: 50%;
  border: 5px solid var(--white);
  box-shadow: var(--shadow-lg);
}

.about-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--off-white);
  border-radius: 12px;
}

.about-stat .stat-icon {
  width: 50px;
  height: 50px;
  background-color: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-stat .stat-icon i {
  font-size: 1.5rem;
  color: var(--white);
}

.about-stat .stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  display: block;
}

.about-stat .stat-text {
  font-size: 0.875rem;
  color: var(--steel);
}

/* Mission & Vision Cards */
.mv-card {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.mv-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--navy) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.mv-icon i {
  font-size: 1.5rem;
  color: var(--white);
}

.mv-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.mv-text {
  color: var(--steel);
  margin: 0;
  line-height: 1.7;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent) 0%, var(--navy) 100%);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -35px;
  top: 0;
  width: 12px;
  height: 12px;
  background-color: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.timeline-content {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  margin-left: 1rem;
}

.timeline-year {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  background-color: rgba(37, 99, 235, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.timeline-content h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--steel);
  margin: 0;
  font-size: 0.9375rem;
}

/* ----- Contact Section ----- */
.contact-form-wrapper {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.form-title {
  font-size: 1.5rem;
  color: var(--navy);
}

.form-label {
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  border: 1px solid rgba(107, 122, 143, 0.2);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.contact-info-wrapper {
  background-color: var(--navy);
  padding: 2.5rem;
  border-radius: 16px;
  color: var(--white);
}

.info-title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-icon {
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon i {
  font-size: 1.25rem;
  color: var(--accent);
}

.info-content h5 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.25rem;
}

.info-content p {
  margin: 0;
  color: var(--white);
}

.info-content a {
  color: var(--white);
}

.info-content a:hover {
  color: var(--accent);
}

/* ----- Footer ----- */
.footer {
  background-color: var(--navy);
  padding: 5rem 0 2rem;
  color: var(--white);
}

.footer-brand {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}

.footer-brand i {
  font-size: 1.75rem;
}

.footer-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7); /* Corrected: added alpha value and closing parenthesis */
  transition: var(--transition); /* Added for consistency with other links */
}

.footer-links a:hover {
  /* Added hover state */
  color: var(--accent);
}
