/* Hero Section */
.express-parcel-hero {
  background: url("/assets/sarathi_app/images/assets/PartTruckImage.png") center/cover no-repeat;
  color: white;
  padding: 6.5rem 0;
  overflow: hidden;
  margin: 2rem;
  border-radius: 2rem;
  position: relative;
  min-height: 600px;
}

.express-parcel-hero .container {
  display: flex;
  justify-content: flex-end;
  height: 100%;
  padding: 0;
  position: relative;
}

.express-parcel-hero-left {
  background: linear-gradient(to right, var(--blue-dark), rgba(0, 0, 255, 0));
  padding: 3rem;
  padding-inline: 4rem;
  position: absolute;
  bottom: 0rem;
  left: 0rem;
}

.express-parcel-hero-content {
  display: flex;
  gap: 3rem;
  align-items: center;
  padding-right: 6rem;
}

.express-parcel-hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.express-parcel-hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  opacity: 0.95;
  margin-bottom: 1rem;
}

.express-parcel-hero-detail {
  font-size: large;
  font-weight: 400;
  margin-bottom: 1rem;
  max-width: 45rem;
}

.express-parcel-hero-slogan {
  font-weight: 700;
}

/* Express Parcel */
.express {
  padding: 2rem 8rem;
  background: #fafafa;
}

.express-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  flex-wrap: wrap;
}

.express-detail {
  flex: 1 1 45%;
}

.express-detail h3 {
  color: var(--blue-dark);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.express-title {
  font-size: 2rem;
  font-weight: 600;
  border-bottom: 4px solid var(--red-primary);
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--red-primary);
}

.express-text {
  color: #667B99;
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 35rem;
}

.express-image {
  flex: 1 1 45%;
  text-align: center;
}

.express-image img {
  width: 100%;
  max-width: 30rem;
  height: auto;
  border-radius: 10px 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

/* How It Works */
.how-it-works {
  padding: 6rem 1rem;
  background: #fafafa;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
  color: #222;
}

.text-red {
  color: var(--red-primary);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  justify-items: center;
}

.second-steps {
  margin-top: 6rem;
  margin-inline: 13rem;
}

.step {
  background: #fff;
  border-radius: 0.6rem;
  padding: 1.5rem;
  text-align: center;
  max-width: 22rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.step-img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  border-radius: 0.4rem;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.step-title span {
  color: var(--red-primary);
  font-weight: 600;
}

.step-desc {
  color: var(--gray-medium);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Info */
.info-div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  box-shadow: 0 5px 15px rgba(79, 79, 79, 0.2);
  overflow: hidden;
}

.info-container {
  background-color: #f8f9fb;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-header {
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  color: var(--blue-dark);
  border-bottom: 3px solid var(--red-primary);
  display: inline-block;
  margin: 0 auto 2rem;
}

.info-header span {
  color: var(--red-primary);
}

.left-column {
  margin-left: 4rem;
}

.column-header {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--blue-dark);
}

.list-detail {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.list-detail li {
  font-size: 1rem;
  font-weight: 400;
  color: #4a6078;
  display: flex;
  align-items: center;
}

.list-detail i {
  color: var(--red-primary);
  margin-right: 0.6rem;
  font-size: 1.1rem;
}

/* Right Column */
.right-column {
  background: linear-gradient(135deg, var(--red-primary), #b80f0f);
  color: var(--white);
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
  position: relative;
  z-index: 1;
}

.right-column .heading {
  font-size: 1.8rem;
  font-weight: 600;
}

.right-column .heading-two {
  font-size: 1.4rem;
  font-weight: 500;
}

.right-column .sub-heading {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  max-width: 32rem;
  margin: 0 auto;
  color: #fefefe;
}

.detailed-box {
  margin-top: 1rem;
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  font-style: italic;
  font-size: 0.95rem;
  transition: transform 0.3s ease;
}

.detailed-box:hover {
  transform: scale(1.05);
}

.box-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 14rem;
  z-index: 10;
  pointer-events: none;
}

/* Why Us */
.why-us {
  padding: 4rem 5rem;
  text-align: center;
  background: #f9fafc;
}

.why-header {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 3rem;
  color: var(--blue-dark);
  display: inline-block;
  border-bottom: 4px solid var(--red-primary);
}

.why-header span {
  color: var(--red-primary);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 3fr));
  gap: 1rem;
}

.why-card {
  background: #fff;
  padding: 1.8rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.why-card h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--blue-dark);
}

.why-card h2 i {
  color: var(--red-primary);
  margin-right: 0.5rem;
}

.why-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4a6078;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.overlay-content {
  background: #fff;
  padding: 2.5rem 3rem;
  border-radius: 16px;
  text-align: center;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  animation: slideUp 0.4s ease;
}

.overlay-icon {
  font-size: 3rem;
  color: var(--red-primary, #F04A23);
  margin-bottom: 1rem;
}

.overlay-content h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #195A94;
  margin-bottom: 1rem;
}

.overlay-content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.overlay-btn {
  background: var(--red-primary, #F04A23);
  color: #fff;
  border: none;
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.overlay-btn:hover {
  background: #d43d1c;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .express-parcel-hero {
    display: flex;
    justify-content: center;
    margin: 1rem;
    align-items: center;
  }

  .express-parcel-hero-left {
    padding: 2rem;
    display: none;
  }

  .express-parcel-hero-title {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 0.5rem;
  }

  .express-parcel-hero-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.95;
    margin-bottom: 0.5rem;
  }

  .express-parcel-hero-slogan {
    font-size: 1.1rem;
    font-weight: 500;
  }

  .express-parcel-hero .container {
    display: flex;
    flex-direction: row;
    height: 100%;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .express-parcel-hero-content {
    padding-right: 0rem;
  }

  .express {
    padding: 2rem 3rem;
    background: #fafafa;
  }

  .express-container {
    flex-direction: column;
    gap: 1rem;
  }

  .express-title {
    font-size: 1.5rem;
  }

  .express-image img {
    max-width: 18rem;
  }

  .how-it-works {
    padding-top: 0rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .container {
    justify-content: center;
  }

  .steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    justify-items: center;
    gap: 2rem;
  }

  .second-steps {
    gap: 2rem;
    margin-top: 2rem;
    margin-inline: 0rem;
  }

  .step {
    text-align: center;
  }

  .box-img {
    display: none;
  }

  .info-div {
    display: flex;
    flex-direction: column;
  }

  .info-header {
    font-size: 1.5rem;
  }

  .list-detail h1 {
    font-size: 0.9rem;
  }

  .left-column {
    margin-inline: 2rem;
  }

  .why-header {
    font-size: 1.5rem;
  }

  .why-us {
    padding: 4rem 3rem;
    text-align: center;
    background: #f9fafc;
  }

  .why-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .express-parcel-hero {
    display: flex;
    justify-content: center;
    margin: 1rem;
    align-items: center;
  }

  .express-parcel-hero-left {
    padding: 2rem;
  }

  .express-parcel-hero-title {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 0.5rem;
  }

  .express-parcel-hero-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.95;
    margin-bottom: 0.5rem;
  }

  .express-parcel-hero-slogan {
    font-size: 1.1rem;
    font-weight: 500;
  }

  .express-parcel-hero .container {
    display: flex;
    flex-direction: row;
    height: 100%;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .express-parcel-hero-content {
    padding-right: 0rem;
  }

  .express {
    padding: 2rem 3rem;
    background: #fafafa;
  }

  .express-container {
    gap: 1rem;
  }

  .express-title {
    font-size: 1.5rem;
  }

  .how-it-works {
    padding-top: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .container {
    justify-content: center;
  }

  .steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4rem;
  }

  .second-steps {
    margin-top: 6rem;
    margin-inline: 0rem;
  }

  .step {
    text-align: center;
  }

  .box-img {
    display: none;
  }

  .info-div {
    display: flex;
    flex-direction: column;
  }

  .info-header {
    font-size: 1.5rem;
  }

  .list-detail h1 {
    font-size: 0.9rem;
  }

  .left-column {
    margin-inline: 2rem;
  }

  .why-header {
    font-size: 1.5rem;
  }

  .why-us {
    padding: 4rem 3rem;
    text-align: center;
    background: #f9fafc;
  }

  .why-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .why-us {
    padding: 3rem 2rem;
  }

  .why-header {
    font-size: 1.8rem;
  }

  .why-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}
