/* ---- styles/base.css ---- */
/* Global rules (:root, *, element selectors) moved here unchanged from index.css, info.css and terms.css, in their original order. They apply on every page. */
:root {
  --green: #008a00;
  --orange: #ff981f;
  --blue: #1a96f0;
  --light-gray: #e9edeb;
  --white: #ffffff;
  --text: #000;
}
* {
  margin: 0;
  padding: 0;
  font-family: "Urbanist", sans-serif;
  box-sizing: border-box;
  scroll-behavior: smooth;
  letter-spacing: 0.05rem;
}
* {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  /* -webkit-user-select: none; */
  /* user-select: none; */
}
* {
  margin: 0;
  padding: 0;
  font-family: "Urbanist", sans-serif;
  box-sizing: border-box;
  scroll-behavior: smooth;
  letter-spacing: 0.05rem;
}
h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #111;
}
ul {
  list-style-type: disc;
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 0.05rem;
}
h1 {
  text-align: center;
  color: var(--green);
  font-size: 2rem;
  margin-bottom: 20px;
}
ol {
  line-height: 1.7;
}

/* ---- styles/index.css ---- */





.body {
  height: 100%;
  width: 100%;
  max-width: 1440px;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Hero Section Styles */

.hero-section {
  padding-top: 1rem;
  padding-bottom: 4rem;
}
.hero-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.hero-left-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 40%;
  margin-left: 2rem;
  flex-direction: column;
}

.app-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.hero-line {
  position: relative;
}

.hero-heading {
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0rem;
  color: var(--green);
  margin-bottom: 1rem;
  padding-right: 1rem;
}

.hero-text {
  font-size: 1rem;
  letter-spacing: 0.05rem;
  color: var(--text);
  margin-bottom: 1.5rem;
}

/* Hero Heading Colors */
.heading-green {
  display: block;
  color: var(--green);
}

.heading-orange {
  display: block;
  color: var(--orange);
}

/* Hero Feature Badges */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* .hero-badge img {
  width: 20px;
  height: 20px;
} */

.badge-text-orange {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--orange);
}

.badge-text-green {
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
}

/* Hero Tagline */
.hero-tagline {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 100%;
  color: var(--orange);
  margin-bottom: 1.5rem;
}

/* Hero Download Button */
.hero-download-btn {
  background-color: var(--green);
  color: var(--white);
  padding: 0.9rem 1.8rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hero-download-btn:hover {
  background-color: #006d00;
}

.app-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.hero-right-content {
  background-image: url("../../asset/hero-frame-1.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 60%;
  max-width: 720px;
  height: 400px;

  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

.hero-car-cont {
  background-image: url("../../asset/car.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom;
  width: 350px;
  height: 350px;
  position: relative;
}

.hero-car-cont::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../../asset/car.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom;
  z-index: 1;
  pointer-events: none;
}

.hero-wheel-1,
.hero-wheel-2 {
  position: absolute;
  bottom: -4%;
  width: 56px;
  z-index: 2;
}

.hero-wheel-1 {
  left: 10.5%;
}
.hero-wheel-2 {
  right: 10.5%;
}

.hero-frame-3 {
  position: absolute;
  bottom: 2%;
  width: 120px;
  left: 5%;
  z-index: 0;
}

.frame-point {
  position: absolute;
  width: 55px;
  height: 55px;
  z-index: 3;
  left: 50%; /* Center horizontally */
  top: 50%; /* Center vertically */
  transform: translate(calc(-50% + 50px), calc(-50% - 50px));
  /* Adjust the pixel values (50px) to position points precisely */
}

.point-1 {
  /* Shift right/down from center */
  transform: translate(calc(-50% + 55px), calc(-50% + 35px));
}

.point-2 {
  /* Shift left/up from center */
  transform: translate(calc(-50% + 125px), calc(-50% - 46px));
}

.point-3 {
  /* Shift left/down from center */
  transform: translate(calc(-50% + 170px), calc(-50% - 155px));
}

.point-4 {
  /* Shift right/up from center */
  transform: translate(calc(-50% + 240px), calc(-50% - 155px));
}

.proudlycanadian,
.heroObject {
  position: absolute;
  transform: translate(-50%, -50%) rotate(-30deg);
  width: 15%;
  max-width: 100px;
}
.proudlycanadian {
  width: 100px;
  top: -20%;
  left: 30%;
  transform: translate(-50%, -50%) rotate(-20deg);
}

.heroObject {
  width: 50px;
  top: -15%;
  left: 5%;
  transform: translate(-50%, -50%) rotate(-20deg);
}

@media (min-width: 481px) and (max-width: 1024px) {
  .hero-left-content {
    margin-left: 0%;
  }
  .hero-right-content {
    width: 450px; /* Adjust as needed */
    margin-bottom: 2rem;
    z-index: -2;
  }

  .hero-car-cont {
    width: 250px;
    height: 250px;
  }

  .hero-wheel-1,
  .hero-wheel-2 {
    width: 40px;
  }

  .hero-frame-3 {
    width: 100px;
  }

  .frame-point {
    width: 45px;
    height: 45px;
  }

  .point-1 {
    transform: translate(calc(-50% + 45px), calc(-50% + 30px));
  }

  .point-2 {
    transform: translate(calc(-50% + 100px), calc(-50% - 35px));
  }

  .point-3 {
    transform: translate(calc(-50% + 135px), calc(-50% - 130px));
  }

  .point-4 {
    transform: translate(calc(-50% + 190px), calc(-50% - 130px));
  }

  .proudlycanadian {
    top: -25%;
    width: 80px;
    left: 45%;
  }

  .heroObject {
    top: -20%;
    left: 8%;
    width: 60px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    flex-direction: column-reverse;
  }
  .hero-right-content {
    width: 100%;
    height: 300px;
    margin-bottom: 2rem;
  }
  .hero-left-content {
    width: 100%;
    justify-content: center;
    margin-left: 0;
    align-items: flex-start;
  }
  .desktop-break {
    display: none;
  }
  .hero-heading {
    font-size: 1.3rem;
  }
  .hero-badges {
    gap: 0.5rem;
  }
  .hero-badge {
    padding: 0.3rem 0.5rem;
  }
  .badge-text-orange,
  .badge-text-green {
    font-size: 0.75rem;
  }
  .hero-badge img {
    width: 16px;
    height: 16px;
  }
  .hero-tagline {
    font-size: 1rem;
  }
  .hero-download-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  .hero-car-cont {
    width: 200px;
    height: 200px;
  }
  .hero-wheel-1,
  .hero-wheel-2 {
    width: 32px;
  }
  .hero-wheel-1 {
    left: 10.5%;
  }
  .hero-wheel-2 {
    right: 10.5%;
  }

  .hero-frame-3 {
    width: 80px;
  }

  .frame-point {
    position: absolute;
    width: 40px;
    height: 40px;
    z-index: 3;
    left: 50%; /* Center horizontally */
    top: 50%; /* Center vertically */
    transform: translate(calc(-50% + 50px), calc(-50% - 50px));
    /* Adjust the pixel values (50px) to position points precisely */
  }

  .point-1 {
    /* Shift right/down from center */
    transform: translate(calc(-50% + 32px), calc(-50% + 20px));
  }

  .point-2 {
    /* Shift left/up from center */
    transform: translate(calc(-50% + 75px), calc(-50% - 30px));
  }

  .point-3 {
    /* Shift left/down from center */
    transform: translate(calc(-50% + 100px), calc(-50% - 100px));
  }

  .point-4 {
    /* Shift right/up from center */
    transform: translate(calc(-50% + 145px), calc(-50% - 100px));
  }

  .proudlycanadian {
    top: -300%;
    width: 20%;
    z-index: 30;
    left: 10%;
  }

  .heroObject {
    top: -25%;
    left: 10%;
    transform: translate(-50%, -50%) rotate(-10deg);
    z-index: 30;
  }
}

@media screen and (min-width: 992px) and (max-width: 1132px) {
  .hero-right-content {
    width: 450px; /* Adjust as needed */
    margin-bottom: 2rem;
  }
  .desktop-break {
    display: none;
  }
  .hero-heading {
    font-size: 1rem;
  }
  .proudlycanadian {
    width: 100px;
    top: -15%;
    left: 25%;
    transform: translate(-50%, -50%) rotate(-20deg);
  }

  .heroObject {
    width: 50px;
    top: -12%;
    left: 5%;
    transform: translate(-50%, -50%) rotate(-20deg);
  }
}
@media (min-width: 480px) and (max-width: 700px) {
  .hero-right-content {
    width: 100%;
    max-width: 100%;
    height: 300px;
    margin-bottom: 2rem;
    /* overflow: hidden; */
    position: relative;
  }

  .hero-car-cont {
    width: 200px;
    height: 200px;
  }

  .hero-wheel-1,
  .hero-wheel-2 {
    width: 32px;
  }

  .hero-wheel-1 {
    left: 12%;
  }

  .hero-wheel-2 {
    right: 12%;
  }

  .frame-point {
    width: 35px;
    height: 35px;
  }

  .point-1 {
    transform: translate(calc(-50% + 32px), calc(-50% + 20px));
  }

  .point-2 {
    transform: translate(calc(-50% + 74px), calc(-50% - 30px));
  }

  .point-3 {
    transform: translate(calc(-50% + 100px), calc(-50% - 95px));
  }

  .point-4 {
    transform: translate(calc(-50% + 142px), calc(-50% - 95px));
  }

  .proudlycanadian {
    top: -250%;
    left: 15%;
    width: 20%;
  }

  .heroObject {
    top: -20%;
    left: 10%;
    width: 40px;
    transform: translate(-50%, -50%) rotate(-10deg);
  }
}

/* Carpool Section Styles */
.carpool-info {
  padding: 3rem 0;
}

.carpool-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.carpool-image-container {
  width: 100%;
  text-align: center;
  padding-bottom: 2rem;
}

.carpool-img {
  max-width: 100%;
}

.carpool-text-container {
  width: 100%;
  text-align: left;
}

.carpool-heading {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--green);
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.carpool-text {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 2rem;
  max-width: 400px;
  /* margin-left: auto; */
  /* margin-right: auto; */
}

.carpool-cta {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.find-ride-btn {
  background-color: var(--blue);
  color: var(--white);
  padding: 0.8rem 1.5rem;
  border-radius: 1px;
  font-weight: 500;
  text-decoration: none;
  font-size: 1rem;
  border: none;
  display: inline-block;
}

.icon-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap: -0.5rem; */
}

.mini-icon {
  width: 50px;
  height: auto;
}

.mini-icon2 {
  width: 30px;
  height: auto;
}
@media (min-width: 470px) and (max-width: 768px) {
  .carpool-text-container {
    text-align: center;
  }
  .carpool-text {
    margin: 0 auto;
  }
  .carpool-cta {
    position: relative;
    justify-content: center;
    margin-top: 1rem;
  }
  .icon-row {
    position: absolute;
    right: 0;
  }
}

@media (min-width: 786px) {
  .carpool-content {
    flex-direction: row;
    gap: 2rem;
  }

  .carpool-image-container {
    flex: 1;
    padding-left: 0;
    padding-bottom: 0;
  }

  .carpool-text-container {
    flex: 1;
    text-align: left;
  }
  .find-ride-btn {
    padding: 0.5rem;
  }
  .carpool-cta {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

@media (min-width: 992px) {
  .find-ride-btn {
    background-color: var(--blue);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 1px;
    font-weight: 500;
    text-decoration: none;
    font-size: 1rem;
    border: none;
    display: inline-block;
  }
}

/* Why Ride Section Styles */
.why-ride-section {
  padding: 6rem 0rem 6rem 0rem;
  background-color: var(--white);
}

.why-ride-content {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
}

.why-ride-text {
  width: 100%;
  text-align: left;
  margin-bottom: 2rem;
}

.why-ride-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.why-ride-description {
  font-size: 1rem;
  color: var(--text);
  max-width: 410px;
  margin-bottom: 2rem;
}

.post-trip-btn {
  background-color: var(--orange);
  color: var(--white);
  border: none;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  transition: 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.ride-image-container {
  width: 100%;
  text-align: center;
  position: relative;
}

.spiral-icon-container,
.arrow-icon-container {
  position: relative;
}
.postTagline {
  display: block;
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translate(calc(-50% + 50px), -50%);
  font-family: "Square Peg", cursive;
  font-size: 1.3rem;
  rotate: 20deg;
}

.arrow3-icon,
.heart-icon,
.elderTagline {
  display: block;
}
.spiral-icon,
.arrow-icon {
  display: block;
}
.spiral-icon {
  display: block;
  position: absolute;
  top: -25px;
  left: 10px;
  transform: translate(calc(-50% + 50px), -25%);
  width: 30px;
}

.arrow-icon {
  display: block;
  position: absolute;
  width: 60px;
  top: 0px;
  left: 40%;
  scale: -1;
  transform: translate(calc(-50% + 150px), -40%);
}
.driver-illustration-mobile,
.driver-illustration {
  max-width: 100%;
  height: auto;
}
.driver-illustration {
  display: none;
}
@media (min-width: 470px) and (max-width: 768px) {
  .why-ride-text {
    text-align: center;
  }
  .why-ride-description {
    margin: 0 auto;
    margin-bottom: 1rem;
  }
}

@media (min-width: 786px) {
  .why-ride-section {
    padding: 3rem 0;
    background-color: var(--white);
  }
  .why-ride-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
  .why-ride-heading {
    font-size: 2rem;
    margin-top: 0rem;
  }
  .why-ride-description {
    font-size: 1.1rem;
  }
  .why-ride-text {
    flex: 1;
    text-align: left;
    margin-bottom: 0;
  }
  .driver-illustration {
    display: block;
  }

  .driver-illustration-mobile {
    display: none;
  }
  .post-trip-btn {
    padding: 0.8rem 2rem;
  }

  .ride-image-container {
    flex: 1;
  }
}

@media (min-width: 992px) {
  .spiral-icon {
    display: block;
    position: absolute;
    top: 70px;
    left: 140px;
    width: 50px;
  }
  .why-ride-text {
    margin-left: 2rem;
  }
  .postTagline {
    display: block;
    position: absolute;
    top: 470px;
    left: -30%;
    font-family: "Square Peg", cursive;
    font-size: 1.5rem;
    rotate: -10deg;
    transform: translate(calc(-50% + 150px), -30%) translateY(50px);
    opacity: 0;
    transition:
      opacity 0.8s ease,
      transform 0.8s ease;
  }

  .arrow-icon {
    display: block;
    position: absolute;
    top: 350px;
    width: 100px;
    left: -14px;
    scale: 1;
  }
}
@media (min-width: 760px) and (max-width: 992px) {
  .spiral-icon {
    display: block;
    position: absolute;
    top: 50px;
    left: 140px;
    width: 40px;
  }
  .arrow-icon {
    display: block;
    position: absolute;
    top: 250px;
    width: 100px;
    left: -14px;
    scale: 1;
  }
  .postTagline {
    display: block;
    position: absolute;
    top: 370px;
    left: -35%;
    font-family: "Square Peg", cursive;
    font-size: 1.5rem;
    rotate: -10deg;
    transform: translate(calc(-50% + 150px), -30%) translateY(50px);
    opacity: 0;
    transition:
      opacity 0.8s ease,
      transform 0.8s ease;
  }
}

/* Environmental Section Styles */
.environmental-section {
  background-color: var(--light-gray);
  padding: 2rem 0;
  position: relative;
}

.environmental-container {
  padding: 2rem 1rem;
}

.environmental-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.green-section {
  position: relative;
}

.green-section-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--green);
  margin-bottom: 1.5rem;
}

.green-section-text {
  font-size: 1rem;
  color: var(--text);
  max-width: 510px;
  line-height: 25px;
}

.co2-icon,
.leaf-icon {
  display: block;
}
.co2-icon img {
  position: absolute;
  top: -155%;
  left: 1%;
  transform: translate(-50%, -50%)-50px;
  width: 120px;
}
.leaf-icon img {
  position: absolute;
  top: -5%;
  right: 2%;
  transform: translate(-50%, -50%)-50px;
  width: 60px;
}

@media (min-width: 768px) {
  .environmental-section {
    padding: 4rem 0;
  }
  .environmental-container {
    padding: 0.8rem 2rem;
  }
  .green-section-title {
    font-size: 2rem;
  }
  .green-section-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
}
@media (min-width: 992px) {
  .co2-icon,
  .leaf-icon {
    display: block;
  }

  .co2-icon img {
    position: absolute;
    top: -135%;
    left: -50%;
    transform: translate(-50%, -50%)-50px;
    width: 160px;
    max-width: 100%;
  }

  .leaf-icon img {
    position: absolute;
    top: 0;
    right: 2%;
    transform: translate(-50%, -50%)-50px;
    width: 70px;
    max-width: 100%;
  }
}

/* Elders Section Styles */
.elders-section {
  background-color: var(--white);
  padding: 6rem 0rem 1rem 0rem;
  margin-top: 6rem;
  margin-bottom: 6rem;
}

.elders-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.elders-image-container {
  width: 100%;
  text-align: center;
  padding-bottom: 2rem;
}

.elders-img {
  max-width: 80%;
  height: auto;
}

.elders-text-container {
  width: 100%;
  text-align: left;
}

.elders-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.elders-text {
  font-size: 1rem;
  color: var(--text);
  max-width: 450px;
  margin-bottom: 2rem;
}

.extra-mile-btn {
  background-color: var(--green);
  color: var(--white);
  padding: 0.8rem 1.5rem;
  border-radius: 1px;
  font-weight: 500;
  text-decoration: none;
  font-size: 1rem;
  border: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.elderTagline {
  position: absolute;
  top: -80px;
  left: 10px;
  rotate: -20deg;
  font-family: "Square Peg", cursive;
  font-size: 1.8rem;
}
.arrow3-icon {
  position: absolute;
  top: -20%;
  left: 35%;
  width: 80px;
  rotate: 20deg;
}
.heart-icon {
  position: absolute;
  top: -40%;
  left: 45%;
  width: 50px;
}
@media (min-width: 470px) and (max-width: 786px) {
  .elders-text-container {
    text-align: center;
  }
  .elders-text {
    margin: 0 auto;
    margin-bottom: 1rem;
  }
}
@media (min-width: 786px) {
  .elders-content {
    flex-direction: row;
    gap: 2rem;
  }

  .elders-image-container {
    flex: 1;
    padding-left: 0;
    padding-bottom: 0;
  }

  .elders-text-container {
    flex: 1;
    text-align: left;
  }
  .elders-heading {
    font-size: 2rem;
  }
  .elders-text {
    font-size: 1.1rem;
  }
  .extra-mile-btn {
    padding: 0.8rem 2rem;
  }
}
@media (min-width: 992px) {
  .heart-icon {
    position: absolute;
    display: block;
    top: -90px;
    left: 130px;
  }
  .arrow3-icon {
    position: absolute;
    display: block;
    top: -50px;
    left: 200px;
  }
  .elderTagline {
    position: absolute;
    display: block;
    top: -20px;
    left: 80px;
    font-family: "Square Peg", cursive;
    font-size: 1.5rem;
    rotate: -30deg;
  }
}
@media (min-width: 768px) and (max-width: 992px) {
  /* Elders Section */
  .arrow3-icon {
    top: -30px;
    left: 35%;
    width: 60px;
    rotate: 10deg;
  }

  .heart-icon {
    top: -20%;
    left: 35%;
    width: 30px;
  }

  .elderTagline {
    top: -27px;
    left: 50px;
    font-size: 1.2rem;
    rotate: -20deg;
  }
}

/* Passenger Driver Section Styles */
.passenger-driver-section {
  background-color: var(--white);
  padding: 3rem 0;
}

.roles-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.role-card {
  padding: 2rem 2rem 1rem 2rem;
  border-radius: 3px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
}

.passenger-card {
  background-color: var(--blue);
}

.driver-card {
  background-color: var(--orange);
}

.role-title {
  font-weight: 600;
  font-size: 2rem;
  position: relative;
  color: var(--white);
}

.role-description {
  font-size: 1.2rem;
  margin-top: 1rem;
  margin-right: 1rem;
  /* line-height: 1.4; */
  letter-spacing: 0.05rem;
}

.arrow-circle {
  width: 80px;
  height: 80px;
  border: 1px solid var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  font-size: 1rem;
  margin: 0rem 0rem;
  transition: all 0.3s ease;
  cursor: pointer;
  transform: rotate(-30deg);
}

.arrow-circle {
  color: var(--white);
}

.arrow-circle:hover {
  background-color: rgba(255, 255, 255, 0.2);
  rotate: 30deg;
  transition: all 0.3s ease;
  scale: 1.01;
}
@media (min-width: 470px) and (max-width: 786px) {
  .role-description {
    font-size: 1.2rem;
    line-height: 1.4;
  }
}

@media (min-width: 768px) {
  .roles-container {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }

  .role-card {
    flex: 1;
    max-width: 610px;
  }
  .role-card {
    padding: 3rem 2rem 2rem 2rem;
    border-radius: 3px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--white);
  }
  .role-title {
    font-weight: 600;
    font-size: 3rem;
    position: relative;
    color: var(--white);
  }
  .qoute-marks-hero img {
    padding-bottom: 1rem;
  }

  .role-description {
    font-size: 1.5rem;
    margin-top: 3rem;
    margin-right: 1rem;
    letter-spacing: 0.05rem;
  }
}

@media (min-width: 992px) {
  .hero-heading,
  .carpool-heading,
  .why-ride-heading,
  .green-section-title,
  .elders-heading {
    font-size: 2.5rem;
  }
  .hero-text,
  .carpool-text,
  .why-ride-description,
  .green-section-text,
  .elders-text {
    font-size: 1.3rem;
  }
}

@media (max-width: 360px) {
  .role-description {
    font-size: 1rem;
    margin-top: 0rem;
    margin-right: 1rem;
    letter-spacing: 0.05rem;
  }
}

/* Testimonial Section Styles */
.testimonials-section {
  padding: 0;
  margin: 4rem 1rem;
}

.testimonials-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.testimonials-header {
  background-color: var(--green);
  color: var(--white);
  padding: 2rem 1rem;
  position: relative;
  height: 300px;
  text-align: left;
}

.testimonials-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.testimonials-subtitle {
  font-size: 1rem;
  max-width: 550px;
  line-height: 25px;
}

.testi-quotes {
  display: block;
  position: absolute;
  top: 10%;
  right: 2%;
  width: 70px;
  z-index: -1;
}
.testimonials-slider {
  position: relative;
  background-color: var(--white);
  padding: 1rem;
  width: 90%;
  text-align: left;
  margin: -5rem auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.testimonial-card {
  display: none;
  padding: 1rem 0;
}

.testimonial-card.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

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

.testimonial-author {
  color: var(--text);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: var(--text);
  font-size: 1rem;
  line-height: 25px;
}

.testimonial-navigation {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 10rem;
}

.nav-button {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1px solid var(--light-gray);
  background-color: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.next-button,
.prev-button {
  color: var(--green);
}
.next-button {
  border-color: var(--green);
}

.nav-button:hover {
  background-color: var(--green);
  color: var(--white);
  border-color: var(--green);
}

/* Media queries for responsive design */
@media (min-width: 768px) {
  .testimonials-section {
    margin-bottom: 25rem;
  }
  .testimonials-container {
    flex-direction: column;
    position: relative;
  }

  .testimonials-title {
    font-size: 2.5rem;
  }

  .testimonials-subtitle {
    font-size: 1.3rem;
    max-width: 600px;
  }

  .testimonials-header {
    width: 100%;
    padding: 4rem 4rem 10rem 8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
  }

  .testimonials-slider {
    width: 80%;
    padding: 3rem;
    position: absolute;
    top: 220px;
    margin: 0 auto;
    left: 120px;
    text-align: left;
  }

  .testimonial-author {
    font-size: 1.5rem;
    color: var(--green);
  }
  .testimonial-text {
    font-size: 1.3rem;
  }

  .testimonial-navigation {
    position: absolute;
    top: 31rem;
    left: 50%;
    transform: translateX(-50%);
    padding-bottom: 4rem;
    margin-top: 3rem;
  }

  .testi-quotes {
    display: block;
    position: absolute;
    right: 100px;
    width: 120px;
  }
  .testi-stars {
    display: block;
    position: absolute;
    left: 50%;
    width: 80px;
  }
}

@media (min-width: 992px) {
  .testi-stars {
    display: block;
    position: absolute;
    left: 40%;
    width: 80px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .testimonials-section {
    margin: 2rem 2rem 0rem;
  }

  .testimonials-header {
    padding: 3rem 2rem 8rem 3rem;
    height: auto;
  }

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

  .testimonials-subtitle {
    font-size: 1.2rem;
    max-width: 90%;
    line-height: 1.6;
  }

  .testimonials-slider {
    width: 90%;
    padding: 2rem;
    position: relative;
    top: -6rem;
    left: 0;
    margin: 0 auto;
  }

  .testimonial-author {
    font-size: 1.3rem;
  }

  .testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
  }

  .testimonial-navigation {
    position: relative;
    top: 0;
    right: 0;
    margin-top: 0rem;
    transform: translateX(-50%);
  }

  .testi-quotes {
    width: 80px;
    top: 5%;
    right: 5%;
  }

  .testi-stars {
    width: 60px;
    top: 5%;
    left: auto;
    right: 25%;
  }
}

@keyframes pulse {
  0% {
    scale: 1;
    opacity: 1;
  }
  25% {
    scale: 0.95;
    opacity: 0.8;
  }
  50% {
    scale: 1.05;
    opacity: 0.9;
  }
  75% {
    scale: 0.98;
    opacity: 0.85;
  }
  100% {
    scale: 1;
    opacity: 1;
  }
}

.prev-button.disabled,
.next-button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.animated-point {
  animation: pulse 1.5s ease-in-out;
}

/* ---- styles/navbar.css ---- */
/* Top Bar Styles */
.top-bar {
  background-color: var(--light-gray);
  font-size: 0.9rem;
  padding: 0.8rem 1rem;
}

/* Mobile styles (default) */
@media (max-width: 767px) {
  .top-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .top-links {
    display: flex;
    flex-direction: row;
  }

  .top-links button {
    margin-left: 0;
    margin-right: 1rem;
    text-decoration: none;
    font-weight: 500;
    background-color: transparent;
    border: none;
  }

  /* Hide sign in link on mobile */
  .top-links .green {
    display: none;
  }
}

/* Desktop styles */
@media (min-width: 768px) {
  .top-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 5rem;
  }

  .top-links {
    display: block;
  }

  .top-links button {
    margin-left: 1rem;
    text-decoration: none;
    font-weight: 500;
    border: none;
    background-color: transparent;
  }
}

/* Link colors */
.top-links .blue {
  color: var(--blue);
}

.top-links .orange {
  color: var(--orange);
}

.top-links .green {
  color: var(--green);
}

/* Navbar Styles */
.main-nav {
  background-color: var(--white);
  padding: 0.8rem 0;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px;
  position: relative;
  z-index: 10000;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

.logo-img {
  width: 3rem;
  height: 3rem;
  margin-bottom: -1rem;
  object-fit: cover;
}

.menu-toggle {
  display: none;
}

.menu-icon {
  display: block;
  cursor: pointer;
  border-radius: 50%;
  padding: 0.8rem;
  border: 1px solid var(--green);
  width: 45px;
  height: 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.menu-line {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--green);
  margin: 2px 0;
  transition: all 0.3s ease;
  transform-origin: center;
}
/* Animation for the menu icon when it's toggled */
.menu-toggle:checked ~ label .menu-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle:checked ~ label .menu-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle:checked ~ label .menu-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.navbar-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--light-gray);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 100;
}

.menu-toggle:checked ~ .navbar-menu {
  max-height: 500px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
}

.navbar-nav {
  list-style: none;
  padding: 1rem;
  margin-bottom: 0rem;
}

.nav-item {
  /* margin-bottom: 0.8rem; */
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  display: block;
  padding: 1.5rem 0;
}

.nav-link.active {
  color: var(--green);
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown-arrow {
  font-size: 0.7rem;
}

.dropdown-menu {
  display: none;
  list-style: none;
  background-color: var(--white);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  margin-left: 1rem;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-item {
  color: var(--text);
  text-decoration: none;
  padding: 0.5rem 1rem;
  display: block;
}

.dropdown-item:hover {
  background-color: var(--light-gray);
}

@media (min-width: 768px) {
  .logo-img {
    margin-bottom: 0rem;
  }
  .menu-icon {
    display: none;
  }
  .navbar-container {
    justify-content: space-between;
  }

  .nav-item {
    margin-bottom: 0rem;
  }
  .nav-link.active {
    color: var(--green);
    border-bottom: 3px solid var(--green);
  }

  .navbar-brand {
    margin-right: 2rem;
    margin-bottom: 0rem;
  }

  .navbar-menu {
    position: static;
    max-height: none;
    overflow: visible;
    background-color: transparent;
    flex: 1;
    display: flex;
    align-items: center;
  }

  .navbar-nav {
    display: flex;
    padding: 0;
    margin: 0 auto;
  }
  .nav-link {
    padding: 0.5rem 1.4rem;
  }

  .dropdown-menu {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    margin-left: 0;
  }
}

/* Auth Buttons */
.navbar-auth {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  align-items: center;
}

.btn {
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
  white-space: nowrap;
}

.btn-login {
  background-color: var(--green);
  color: var(--white);
  border: 1px solid var(--green);
}

.btn-signup {
  background-color: var(--blue);
  color: var(--white);
  border: 1px solid var(--blue);
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .navbar-auth {
    padding: 0;
    margin-left: 1rem;
  }
}

/* ---- styles/footer.css ---- */
/* Footer styles */
footer {
  background-color: var(--light-gray);
  padding: 2rem 0rem 0rem 0rem;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.footer-container {
  max-width: 100vw;
  height: 400px;
  max-height: 100%;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  z-index: 2;
}

/* Content layout */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}

/* Left section - Canadian Badge */
.support-badge {
  flex: 0 0 auto;
  position: absolute;
  top: 0;
  left: 5rem;
  opacity: 0.5;
  rotate: -10deg;
}

.support-badge img {
  height: 40px;
  width: auto;
}

/* Center section */
.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 auto;
  gap: 1rem;
}

/* Logo */
.logo {
  margin-bottom: 1rem;
}

.logo img {
  width: 60px;
  height: auto;
}

/* Social media links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  list-style: none;
  text-decoration: none;
}

.social-link i {
  font-size: 14px;
  color: var(--green);
}

.social-link:hover {
  background-color: var(--green);
}

.social-link:hover i {
  color: var(--white);
}
/* Navigation */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(7, auto); /* 6 columns for large screens */
  justify-content: center;
  gap: 1rem 2.5rem;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.footer-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
  text-align: center;
  font-weight: 500;
  padding: 0.5rem 0;
}

.footer-nav a:hover {
  color: var(--green);
}

/* Media query for small screens */
@media screen and (max-width: 768px) {
  .footer-nav {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for small screens */
    grid-template-rows: repeat(3, auto); /* 3 rows */
    gap: 0.75rem;
    padding: 0 1rem;
  }

  .footer-nav a:last-child {
    grid-column: 1 / -1;
    justify-self: center;
  }
}

/* Even smaller screens */
@media screen and (max-width: 480px) {
  .footer-nav {
    gap: 0.5rem;
  }
}

/* Right section - Download */
.download-section {
  flex: 0 0 auto;
  text-align: center;
  position: absolute;
  right: 5rem;
  bottom: -7rem;
}

.download-heading {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.download-buttons {
  display: flex;
  flex-direction: row;
  gap: 5px;
}

.download-button {
  height: 40px;
}

/* Bottom section */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  background-color: #d9d9d9;
  width: 100%; /* Ensure it takes full width */
}

.copyright {
  font-size: 0.75rem;
  color: var(--text);
  padding-left: 1rem; /* Add some padding for the text */
}

.legal-links {
  font-size: 0.75rem;
  padding-right: 1rem; /* Add some padding for the links */
}

.legal-links a {
  color: var(--text);
  text-decoration: none;
}

/* Background watermark */
.watermark {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  width: 300px;
  pointer-events: none;
}

/* Media queries for responsiveness */
@media screen and (max-width: 768px) {
  .footer-container {
    height: 500px; /* Allow height to be dynamic on smaller screens */
    padding: 0rem 0rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .support-badge {
    margin-bottom: 1.5rem;
  }

  .footer-center {
    margin-bottom: 1.5rem;
    order: -1;
  }

  /* Content layout */
  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
  }

  /* Left section - Canadian Badge */
  .support-badge {
    flex: 0 0 auto;
    position: absolute;
    top: 0;
    left: 5rem;
    opacity: 0.5;
    rotate: -10deg;
  }

  .support-badge img {
    height: 40px;
    width: auto;
  }

  /* Center section */
  .footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 auto;
    gap: 1rem;
  }

  /* Right section - Download */
  .download-section {
    flex: 0 0 auto;
    text-align: center;
    position: absolute;
    right: 5rem;
    bottom: -2rem;
  }

  .download-heading {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }

  .download-buttons {
    display: flex;
    flex-direction: row;
    gap: 5px;
  }

  .download-button {
    height: 30px;
  }

  /* Media queries for responsiveness */
  @media screen and (max-width: 768px) {
    .footer-container {
      height: auto; /* Allow height to be dynamic on smaller screens */
      padding: 0rem 0rem;
    }

    .footer-content {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    /* Remove absolute positioning for mobile */
    .support-badge {
      position: absolute;
      left: 1rem;
    }
    .support-badge img {
      height: 30px;
    }

    .footer-center {
      margin-bottom: 1.5rem;
      order: -1;
    }
    .download-section {
      position: static;
      margin-bottom: 2rem;
      margin-top: 2rem;
      text-align: center;
    }

    .download-buttons {
      flex-direction: row;
      justify-content: center;
    }
    .footer-bottom {
      flex-direction: column-reverse;
      gap: 0.5rem;
      padding: 1rem;
    }

    .copyright,
    .legal-links {
      padding: 0;
    }

    .watermark {
      position: absolute;
      bottom: 4rem;
      left: 0;
      width: 100%;
      pointer-events: none;
    }
  }

  @media screen and (max-width: 480px) {
    .download-buttons {
      flex-direction: row;
      align-items: center;
    }
  }
}
