/* Page Info Section */

.page-info {
  position: relative;
  background: var(--secondary-bg);
  /* fallback if no image */
  background-image: url('https://images.unsplash.com/photo-1604085573280-62463da6aa3e?q=80&w=1200&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  padding: 100px 20px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-info-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-color)10%, rgba(0, 0, 0, 0.65));
  opacity: 0.75;
  backdrop-filter: blur(2px);
  z-index: 0;
}

.page-info-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  animation: fadeUp 1s ease forwards;
}

.breadcrumbs {
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--secondary-text);
  letter-spacing: 0.5px;
}

.breadcrumbs a {
  color: var(--button-bg);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumbs a:hover {
  color: var(--accent-color);
}

.page-title {
  font-size: 48px;
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent-color), var(--button-bg));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
  letter-spacing: 1px;
  animation: titlePop 0.8s ease forwards;
}

.page-subtitle {
  font-size: 18px;
  color: var(--secondary-text);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
  animation: fadeIn 1.4s ease forwards;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titlePop {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}




/* About us section */

.about-company {
  background: linear-gradient(135deg, var(--bg-color), var(--secondary-bg));
}

.about-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  animation: fadeSlideInLeft 1s ease forwards;
  opacity: 0;
  gap: 60px;
}

.about-text .tagline {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--secondary-text);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.about-text h2 {
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-color), var(--button-bg));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-text p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 18px;
  color: var(--secondary-text);
}

.btn-learn {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 28px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 30px;
  color: var(--button-text);
  background: linear-gradient(135deg, var(--button-bg), var(--accent-color));
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.btn-learn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.1);
  animation: fadeSlideInRight 1s ease forwards;
  opacity: 0;
}

.media-frame img {
  width: 100%;
  border-radius: 22px;
  display: block;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.6s ease;
}

.media-frame:hover img {
  transform: scale(1.05);
}

@keyframes borderGlow {
  0% {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  }

  50% {
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.35);
  }

  100% {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  }
}

@keyframes fadeSlideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-60px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeSlideInRight {
  0% {
    opacity: 0;
    transform: translateX(60px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .media-frame {
    margin-top: 30px;
  }
}

/* Mission & Vision Section Start */

.mv-heading {
  font-family: 'Playfair Display', serif;
}

/* 2. Section Layout */
.mission-vision {
  padding: 6rem 0;
  background-color: var(--section-bg);
}

.mv-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* 3. Tabs Navigation Styles */
.mv-tabs-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  /* Smaller gap for mobile */
  margin-bottom: 3rem;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
  padding-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .mv-tabs-container {
    gap: 2.5rem;
    /* Wider gap on desktop */
    padding-bottom: 1rem;
  }
}

.mv-tab {
  background: none;
  border: none;
  font-size: 1.125rem;
  /* 18px on mobile */
  font-weight: 700;
  cursor: pointer;
  position: relative;
  color: var(--secondary-text);
  padding: 0.5rem 1rem;
  /* Padding for button area */
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .mv-tab {
    font-size: 1.25rem;
    /* 20px on desktop */
  }
}

.mv-tab:hover {
  color: var(--primary-color);
}

/* Active text color */
.mv-tab.active-tab {
  color: var(--primary-color);
  background: transparent !important;
}

/* Tab Indicator (The line that moves) */
#mv-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
  /* JS will set the initial width and transform */
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 0;
  transform: translateX(0);
}

/* 4. Content Area Layout */
.mv-content-wrapper {
  background-color: #fff;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px var(--shadow-color);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .mv-content-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem;
  }
}

/* Text Content */
.mv-text-content h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

@media (min-width: 768px) {
  .mv-text-content h2 {
    font-size: 3rem;
  }
}

.mv-text-content p {
  font-size: 1.125rem;
  color: var(--secondary-text);
  margin-bottom: 1.5rem;
  transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

.mv-text-header {
  color: var(--secondary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

/* Image */
.mv-image-container {
  min-height: 250px;
  position: relative;
}

@media (min-width: 768px) {
  .mv-image-container {
    min-height: 340px;
  }
}

.mv-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 15px 40px var(--shadow-color);
  transition: opacity 0.4s ease-in-out;
}

/* Button Styling */
.mv-button {
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.mv-button:hover {
  background-color: #033956;
  transform: translateY(-1px);
}

/* Gradient Text effect for headings */
.gradient-text {
  background-image: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

/* About page paragraph section  */

/* --- About Us Section Styles --- */
.about-us-section {
    padding: 6rem 0;
    background-color: var(--bg-color); /* Matches the main body background */
}

.about-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.about-header .mv-heading {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.about-header .subtitle {
    font-size: 1.25rem;
    color: var(--secondary-text);
    margin-bottom: 2.5rem;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.about-paragraph {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    padding: 1rem 0;
    border-bottom: 1px solid #eee; /* Light separator between paragraphs */
}
.about-paragraph:last-child {
    border-bottom: none; /* Remove separator on the last paragraph */
}

/* Responsive adjustment for header */
@media (max-width: 767px) {
    .about-header .mv-heading {
        font-size: 2rem;
    }
    .about-header .subtitle {
        font-size: 1rem;
    }
}

/* About Stats Section */

.stats-section {
  padding: 90px 20px;
  text-align: center;
  background: linear-gradient(135deg, var(--secondary-bg), var(--bg-color));
  color: var(--text-color);
  position: relative;
  overflow: hidden;
}

/* Decorative glow background */
.stats-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
  animation: slow-rotate 40s linear infinite;
}

@keyframes slow-rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.stats-header .title-text {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(90deg, var(--text-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stats-header p {
  opacity: 0.8;
  margin-bottom: 50px;
  font-size: 1.1rem;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.stat-card {
  padding: 30px 20px;
  border-radius: 20px;
  backdrop-filter: blur(15px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: 0.6s;
}

.stat-card:hover::after {
  left: 100%;
}

.stat-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.15);
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  background: linear-gradient(135deg, var(--text-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 10px;
}

.stat-card p {
  opacity: 0.8;
  font-size: 1rem;
}


/* About Trusted Transport */

.about-details {
  height: 100vh;
  /* full screen */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--text-color);
  overflow: hidden;
  padding: 60px 40px;
  background: var(--bg-color);
}

/* Background overlay (dimmed) */
.about-overlay {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(1);
  opacity: 0.18;
  transition: background-image 1s ease-in-out;
  z-index: 1;
}

.about-container {
  position: relative;
  z-index: 2;
  /* keep content above overlay */
}


.about-container {
  display: flex;
  gap: 60px;
  max-width: 1300px;
  width: 100%;
  z-index: 2;
}

/* Left Headings */
.about-headings {
  flex: 0 0 30%;
  display: flex;
  flex-direction: column;
  gap: 25px;
  justify-content: center;
}

.about-heading {
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--secondary-text);
  transition: all 0.3s ease;
}

.about-heading.active {
  color: var(--accent-color);
  font-size: 1.5rem;
  position: relative;
}

.about-heading.active::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-color);
}

/* Right Panels */
.about-content {
  flex: 0 0 65%;
  position: relative;
  min-height: 320px;
}

.about-panel {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}

.about-panel.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.about-panel h2 {
  font-size: 2.2rem;
  margin-bottom: 18px;
  color: var(--accent-color);
}

.about-panel p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--secondary-text);
}