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

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

.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;
}

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

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

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

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

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

.shipping-form {
  background: white;
  width: 30rem;
  color: #333;
  border-radius: 1rem;
  padding: 2rem;
  margin-top: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.tab-content {
  display: block;
}

.tab-content h1 {
  color: var(--red-primary);
}

.tab-content h2 {
  color: #737B7D;
  font-weight: 400;
  font-size: medium;
}

.form-group {
  margin-bottom: 1.5rem;
}

.input-wrapper {
  position: relative;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.input-wrapper i {
  position: absolute;
  left: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
  color: var(--gray-medium);
  cursor: pointer;
}

.form-input {
  width: 100%;
  padding: 0.75rem 0.75rem 0.75rem 3rem;
  border: 2px solid #E5E7EB;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--red-primary);
}

.btn-primary {
  width: 100%;
  padding: 0.75rem;
  background: linear-gradient(to right, var(--red-primary), #FF5959);
  color: var(--white);
  border: none;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary:hover {
  background: #EA580C;
}

.form-footer {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--gray-medium);
}

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

.link:hover {
  text-decoration: underline;
}

/* Full Truckload */
.fulltruck {
  padding: 2rem 8rem;
  background: #fafafa;
}

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

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

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

.fulltruck-detail h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--blue-dark);
}

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

.fulltruck-image {
  flex: 1 1 45%;
  text-align: center;
  max-width: 25rem;
}

.fulltruck-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;
  gap: 2rem;
}

.second-steps {
  margin-top: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.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 Section */
.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(300px, 1fr));
  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;
}

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

  .hero-left {
    display: none;
  }

  .hero .container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-content {
    padding-right: 0;
  }

  .shipping-form {
    max-width: 30rem;
    margin: 0 auto;
  }

  .fulltruck {
    padding: 2rem 2rem;
  }

  .fulltruck-container {
    flex-direction: column;
  }

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

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

  .box-img {
    display: none;
  }

  .why-us {
    padding: 4rem 2rem;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .hero {
    margin: 1rem;
  }

  .shipping-form {
    max-width: 24rem;
  }

  .fulltruck {
    padding: 2rem 1rem;
  }

  .fulltruck-image {
    display: none;
  }

  .why-us {
    padding: 3rem 1rem;
  }

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