/* Hero Section */
.freight-hero {
    background: #ffffff;
    padding: 0; /* remove extra padding so image can stretch */
}

.hero-container {
    display: flex;
    align-items: stretch; /* make both text & image same height */
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 500px; /* control hero height */
}

.hero-text {
    flex: 1;
    padding: 80px 40px; /* add breathing space only for text */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    color: #0F766E;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 0;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;         /* image now fills hero height */
    object-fit: cover;    /* crops nicely */
    border-radius: 0;     /* remove rounded corners for full fit */
}
/* --- Responsive Fix for Hero Section --- */
@media (max-width: 768px) {
  .hero-container {
    flex-direction: column; /* image below text */
    min-height: auto; /* allow natural height */
  }

  .hero-text {
    padding: 40px 20px; /* reduce text padding */
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2rem; /* scale down heading */
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-image {
    width: 100%;
    height: 250px; /* fixed height for mobile image */
  }

  .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}


/* Overview Section */
.overview {
    padding: 5rem 2rem; /* a bit more breathing space */
    background: #ffffff;
}

.overview .container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.overview .section-title {
    font-family: 'Georgia', serif;   /* Similar to ABOUT US heading */
    font-size: 2.2rem;
    font-weight: bold;
    color: #0f766e;                  /* Use same green shade */
    margin-bottom: 1.5rem;
    text-transform: uppercase;       /* To mimic ABOUT US */
}



.overview p {
    font-family: 'Georgia', serif;   /* Same family for consistency */
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    max-width: 750px;
    margin: 0 auto;
}


/* Capabilities Section */
.capabilities {
  padding: 4rem 2rem;
  background: #f9fafb;
 
  text-align: center;
}

.capabilities .section-title {
  font-family: 'Georgia', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #0f766e;
  margin-bottom: 2rem;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* Card with background images */
.capability-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 280px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  transition: transform 0.4s ease;
  cursor: pointer;
}

.capability-card:hover {
  transform: scale(1.03);
}

/* Gradient overlay */
.capability-card .overlay {
  width: 100%;
  padding: 1.2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.25), transparent);
  color: #fff;
  text-align: left;
}

/* Add text shadow for better readability */
.capability-card h3,
.capability-card p {
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.8);
}

.capability-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  
}

.capability-card p {
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Background Images */
.bg-sea { background-image: url('images/sea.jpg'); }
.bg-air { background-image: url('images/air.jpg'); }
.bg-multimodal { background-image: url('images/multimodal.jpg'); }
.bg-special { background-image: url('images/special-cargo.jpeg'); }

/* Why Choose Us Section */
.why-choose-us {
  padding: 4rem 2rem;
  background: #ffffff;
  
  text-align: center;
}

.why-choose-us .section-title {
  font-family: 'Georgia', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #0F766E;
  margin-bottom: 0.8rem;
}

.why-choose-us .section-subtitle {
  font-size: 1rem;
  color: #475569;
  max-width: 750px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

/* Grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns */
  gap: 2.5rem;
  max-width: 900px; /* keeps it centered, not too wide */
  margin: 0 auto;
}

/* Card */
.why-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Icon styling */
.why-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: #fff;
}

.bg-blue { background: #3b82f6; }
.bg-green { background: #22c55e; }
.bg-purple { background: #8b5cf6; }
.bg-orange { background: #f97316; }

.why-card h3 {
  font-family: 'Georgia', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #0F766E;
  margin-bottom: 0.6rem;
}

.why-card p {
  font-family: 'Georgia', serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
}
/* Responsive Fix for Why Choose Us */
@media (max-width: 768px) {
  .why-choose-us {
    padding: 3rem 1rem; /* slightly tighter padding for smaller screens */
  }

  .why-grid {
    grid-template-columns: 1fr; /* single column layout */
    gap: 1.5rem;
  }

  .why-card {
    padding: 1.2rem;
  }

  .why-card h3 {
    font-size: 1.1rem;
  }

  .why-card p {
    font-size: 0.9rem;
  }

  .why-choose-us .section-title {
    font-size: 1.8rem;
  }

  .why-choose-us .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }
}

/* Commitment Section */
.commitment {
  padding: 4rem 2rem;
  background: #f9fafb;
  text-align: center;
}

.commitment .section-title {
  font-family: 'Georgia', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #0f766e;
  margin-bottom: 1rem;
}

.commitment .section-subtitle {
  font-family: 'Georgia', serif;
  font-size: 1rem;
  color: #475569;
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* Button */
.commit-btn {
  display: inline-block;
  background: #0F766E; 
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 3rem;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
  transition: background 0.3s ease;
}
.commit-btn:hover {
  background: #0F766E;
}

/* Grid for cards */
.commit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Card */
.commit-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.commit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Icon */
.commit-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.6rem;
  color: #fff;
}

.bg-green { background: #22c55e; }
.bg-blue { background: #3b82f6; }
.bg-purple { background: #8b5cf6; }

.commit-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.6rem;
}

.commit-card p {
  font-family: 'Georgia', serif;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
}



