.smarter-commute-section {
  padding: 4rem 1rem 0.5rem 1rem;
  text-align: center;
  background-color: var(--white);
}

.smarter-commute-section .heading {
  font-size: 2rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 1rem;
  font-family: "Urbanist", sans-serif;
}

.smarter-commute-section .description {
  color: var(--text);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  font-family: "Urbanist", sans-serif;
  line-height: 1.6;
}

.smarter-commute-section .image-wrapper {
  display: flex;
  justify-content: center;
}

.smarter-commute-section .img-fluid {
  max-width: 100%;
  width: 500px;
  height: auto;
  object-fit: cover;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .smarter-commute-section .heading {
    font-size: 2.5rem;
  }

  .smarter-commute-section .description {
    font-size: 1.1rem;
  }
}
.find-ride-section {
  padding: 4rem 0rem;
  background-color: var(--light-gray);
  font-family: "Urbanist", sans-serif;
}

/* .container {
  max-width: 1200px;
  margin: auto;
} */

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.image-side {
  position: relative;
  text-align: center;
}

.image-side img {
  max-width: 300px;
}
.image-side-for-driver img {
  margin-left: -115px;
}
/* 
.image-side .note {
  position: absolute;
  right: 0rem;
  bottom: -6rem;
  font-family: "Square Peg", cursive;
  font-size: 1.3rem;
} */

/* .image-side .left-arrow {
  position: absolute;
  scale: -1;
  right: 7rem;
  bottom: -7rem;
  width: 50px;
} */

.text-side h2 {
  color: var(--green);
  font-size: 1.7rem;
  font-weight: 700;
  text-align: left;
  margin-bottom: 2.5rem;
}
.text-side {
  margin: 0 auto;
}

/* Responsive Styles */
@media (min-width: 768px) {
  .find-ride-section {
    padding: 4rem 1rem;
  }
  .content-wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .text-side {
    flex: 1;
    padding-left: 2rem;
  }

  /* .image-side .left-arrow {
    position: absolute;
    right: -30px;
    top: -150px;
  } */
  .text-side h2 {
    text-align: left;
    font-size: 3rem;
    margin-bottom: 1.5rem;
  }

  .image-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .image-side img {
    max-width: 500px;
  }
  .image-side-for-driver img {
    margin-left: -150px;
  }
}

.ride-smart-section {
  padding: 3rem 1rem 0rem 1rem;
  background-color: var(--white);
}
.smart-mobility-section {
  padding: 3rem 1rem 3rem 1rem;
  background-color: var(--light-gray);
}

.ride-smart-section .container {
  max-width: 1440px;
  margin: 0 auto;
}

.smart-mobility-section .container {
  max-width: 1440px;
  margin: 0 auto;
}

.section-title,
.smart-section-title {
  text-align: center;
  margin-bottom: 8.5rem;
  position: relative;
}

.section-title img {
  display: block;
  margin: 0.5rem auto;
  max-width: 80px;
}

.section-title .enterprise-ride-tagline {
  position: absolute;
  left: -80px;
  top: 100px;
  font-family: "Square Peg", cursive;
  font-size: 1.3rem;
  color: var(--text);
  rotate: 20deg;
}

.smart-section-title .enterprise-tagline {
  font-family: "Square Peg", cursive;
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  position: absolute;
  right: -165px;
  top: 120px;
  rotate: -30deg;
}

.section-title .enterprise-arrow2 {
  position: absolute;
  left: -50px;
  top: 40px;
  max-width: 80px;
}
.smart-section-title .arrow5 {
  position: absolute;
  right: -100px;
  top: 25px;
}

.section-title h2 {
  color: var(--green);
  font-weight: 700;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
.smart-section-title h2 {
  color: var(--green);
  font-weight: 700;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.section-title .desc {
  color: var(--text);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.smart-section-title .desc {
  color: var(--text);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.feature-box {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  margin-bottom: 6.5rem;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 0 1rem;
}

.feature-box.reverse {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1 1 300px;
  max-width: 500px; /* Add a max-width to keep consistent size */
}

.feature-text h3 {
  color: var(--green);
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.feature-text ul {
  list-style: none;
  padding: 0;
  color: var(--text);
  font-size: 1.3rem;
  line-height: 32px;
}

.feature-text ul li {
  position: relative;
  margin-bottom: 0.6rem;
}

.qoute-marks-passengers img {
  padding-right: 1rem;
}

.feature-image {
  flex: 1 1 250px;
  text-align: center;
  max-width: 400px; /* Add a max-width to keep consistent size */
}

.feature-image img {
  max-width: 100%;
  width: 300px;
  height: auto;
}

@media (min-width: 768px) and (max-width: 1220px) {
  .smart-section-title .enterprise-tagline {
    right: 5rem;
    top: 10rem;
    rotate: -20deg;
    width: 100px;
  }
  .smart-section-title .arrow5 {
    position: absolute;
    right: 10rem;
    top: 45px;
  }
}

@media (max-width: 768px) {
  .feature-box,
  .feature-box.reverse {
    flex-direction: column-reverse;
    text-align: center;
  }

  .feature-text {
    text-align: left;
    max-width: 100%; /* Full width on mobile */
  }

  .feature-image {
    max-width: 100%; /* Full width on mobile */
  }

  .ride-smart-section .container {
    margin: 0 0rem;
    padding-top: 5rem;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }
  .smart-section-title h2 {
    font-size: 1.5rem;
  }

  .section-title .desc {
    font-size: 1rem;
    line-height: 1.4;
  }
  .smart-section-title .desc {
    font-size: 1rem;
    line-height: 1.4;
  }

  .feature-text {
    flex: 1 1 100%; /* Take full width on mobile */
  }

  .feature-text h3 {
    font-size: 1.5rem;
  }

  .feature-text ul {
    font-size: 1rem;
    line-height: 1.4;
    text-align: left;
  }

  .feature-text ul li {
    padding-left: 0rem;
  }

  .feature-image {
    flex: 1 1 100%; /* Take full width on mobile */
  }

  .section-title .enterprise-ride-tagline {
    left: 6rem;
    top: -5rem;
    rotate: -10deg;
    width: 100px;
  }
  .section-title .enterprise-arrow2 {
    left: 110px;
    top: -3rem;
    rotate: -210deg;
    width: 40px;
    margin: 0 0;
  }

  .smart-section-title .enterprise-tagline {
    right: -1rem;
    top: 5rem;
    rotate: -20deg;
    width: 100px;
  }

  .smart-section-title .arrow5 {
    right: 50px;
    top: 3rem;
    /* rotate: -210deg; */
    width: 40px;
  }

  .section-title .enterprise-taglineForPassenger {
    left: 12rem;
    top: -5rem;
    rotate: -10deg;
    width: 100px;
  }

  .section-title .enterprise-arrowForPassenger {
    right: 70px;
    top: -3rem;
    rotate: -210deg;
    width: 40px;
  }
}

.travel-smarter-heading,
.travel-smarter-description,
.travel-smarter-image-wrapper {
  opacity: 0;
  animation: 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}
.travel-smarter-heading {
  animation-name: passenger-hero-title;
}
.travel-smarter-description {
  animation-name: passenger-hero-text;
}
.travel-smarter-image-wrapper {
  animation-name: passenger-hero-image;
}

@keyframes passenger-hero-title {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translate(0);
  }
}
@keyframes passenger-hero-text {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translate(0);
  }
}
@keyframes passenger-hero-image {
  from {
    opacity: 0;
    transform: translateX(-200px);
  }
  to {
    opacity: 1;
    transform: translate(0);
  }
}

.image-side,
.text-side,
.feature-box,
.section-title,
.cta-section,
.left-arrow,
.note,
.enterprise-arrow2,
.enterprise-tagline,
.enterprise-ride-tagline,
.arrow5,
.smart-mobility-heading,
.smart-card,
.smart-card-title,
.smart-card-description {
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.feature-box,
.section-title,
.cta-section {
  transform: translateY(200px);
}

.animate {
  opacity: 1;
  transform: translateY(0);
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 30px;
}

/* Media query for tablets */
@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .smart-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

/* Media query for desktops */
@media (min-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card styling */
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 4rem;
}

.smart-card-icon {
  margin-bottom: 20px;
}

.smart-card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--green);
  margin-top: 1.5rem;
}

.smart-card-description {
  font-size: 20px;
  color: var(--text);
  line-height: 1.5;
  max-width: 100%;
  word-wrap: break-word;
}

.smart-icon-img {
  width: 170%;
  height: 170%;
  object-fit: contain;
}

.form-group-2 {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

@media (max-width: 480px) {
  .form-group-2 {
    flex-direction: column;
  }
  .bottom-row {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
}
@media (min-width: 786px) and (max-width: 992px) {
  .bottom-row {
    display: flex;
    flex-direction: column;
  }
}

.smarter-commute-section {
  position: relative;
  overflow: hidden;
  max-width: 1440px;
  margin: 0 auto;
}

.decorative-item {
  position: absolute;
  width: 30px;
  z-index: 1;
}
