/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600&family=Poppins:wght@400;500&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  /* Header */
  --header-height: 3.5rem;

  /* Colors */
  --primary-color: hsl(160, 50%, 40%);
  --primary-color-light: hsl(160, 50%, 45%);
  --title-color: hsl(0, 0%, 95%);
  --text-color: hsl(0, 0%, 70%);
  --text-color-light: hsl(0, 0%, 60%);
  --body-color: hsl(0, 0%, 0%);
  --container-color: hsl(0, 0%, 8%);
  --hover-color: hsl(0, 0%, 85%);
  --active-color: hsl(0, 0%, 75%);
  
  /* Gradients */
  --gradient-1: linear-gradient(180deg, hsla(0, 0%, 0%, 0.3) 0%, hsl(0, 0%, 0%) 95%);
  --gradient-2: linear-gradient(180deg, hsla(0, 0%, 0%, 0) 50%, hsl(0, 0%, 0%) 125%);
  
  /* Typography */
  --body-font: "Poppins", sans-serif;
  --heading-font: "Montserrat", sans-serif;
  
  /* Font sizes */
  --fs-largest: clamp(2.75rem, 5vw, 5.5rem);
  --fs-h1: clamp(1.5rem, 3vw, 2.5rem);
  --fs-h2: clamp(1.25rem, 2vw, 1.5rem);
  --fs-h3: clamp(1rem, 1.5vw, 1.25rem);
  --fs-normal: clamp(0.938rem, 1vw, 1rem);
  --fs-small: clamp(0.813rem, 0.875vw, 0.875rem);
  --fs-smaller: clamp(0.75rem, 0.813vw, 0.813rem);

  /* Font weight */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;

  /* z-index */
  --z-tooltip: 10;
  --z-fixed: 100;

  /* Transitions */
  --transition-normal: 0.3s ease;
  --transition-slow: 0.4s ease;

  /* Border Radius */
  --radius-small: 0.5rem;
  --radius-normal: 1rem;

  /* Shadows */
  --shadow-normal: 0 4px 12px hsla(0, 0%, 0%, 0.2);
  --shadow-hover: 0 6px 16px hsla(0, 0%, 0%, 0.3);
}


/*========== Responsive typography ==========*/
@media screen and (min-width: 1152px) {
  :root {
    --biggest-font-size: 5.5rem;
    --h1-font-size: 2.5rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--body-font);
  font-size: var(--fs-normal);
  color: var(--text-color);
  background-color: var(--body-color);
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  will-change: transform;
}

button,
input {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-normal);
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-family: var(--heading-font);
  font-weight: var(--fw-semibold);
  line-height: 1.2;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: min(1120px, 90%);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 5rem 1rem;
}

.section__title {
  text-align: center;
  font-size: var(--fs-h1);
  margin-bottom: 1.5rem;
}

.main {
  overflow: hidden;
}

/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  transition: background-color var(--transition-normal);
}

.header.scrolled {
  background-color: hsla(0, 0%, 0%, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--title-color);
  font-family: var(--heading-font);
  font-weight: var(--fw-semibold);
}

.nav__logo-text {
  font-size: 1.25rem;
  font-weight: var(--fw-semibold);
  display: none;
}

.nav__toggle,
.nav__close {
  display: flex;
  font-size: 1.25rem;
  color: var(--title-color);
  cursor: pointer;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1023px) {
  .nav__menu {
    position: fixed;
    top: -100%;
    left: 0;
    background-color: hsla(0, 0%, 0%, .8);
    width: 100%;
    padding-block: 3rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: top .3s ease-in-out;
  }
}

.nav__list {
  text-align: center;
  display: flex;
  flex-direction: column;
  row-gap: 2.5rem;
}

.nav__link {
  color: var(--title-color);
  font-family: var(--second-font);
  font-weight: var(--font-medium);
}

.nav__link:hover {
  color: var(--hover-color);
  transition: color .3s ease;
}

.nav__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;

}

/* Show menu */
.show-menu {
  top: 0;
}

/* Add blur to header */
.blur-header::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: hsla(0, 0%, 0%, .3);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px); /* For Safari */
  top: 0;
  left: 0;
  z-index: -1;
}

/* Active link */
.active-link {
  position: relative;
  color: var(--title-color);
}

.active-link::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--title-color);
  left: 0;
  bottom: -0.5rem;
}

/*=============== HOME ===============*/
.home {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.home__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}

.home__shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  z-index: 1;
}

.home__container {
  position: relative;
  z-index: 2;
}

.home__data {
  text-align: center;
}

.home__subtitle {
  font-size: var(--h3-font-size);
  margin-bottom: .5rem;
}

.home__title {
  font-size: var(--biggest-font-size);
  margin-bottom: 1rem;
}

.home__description {
  margin-bottom: 2rem;
  color: var(--title-color);
}


/*=============== BUTTON ===============*/
.button {
  background-color: hsla(0, 0%, 100%, .2);
  padding: 1.25rem 1.5rem;
  color: var(--title-color);
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
  font-family: var(--second-font);
  font-weight: var(--font-semi-bold);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: transform .3s ease, background-color .3s ease;
}

.button:hover {
  transform: translateY(-2px);
  background-color: var(--hover-color);
}

.button:active {
  transform: translateY(0);
  background-color: var(--active-color);
}

.button i {
  font-size: 1.25rem;
  transition: transform .4s;
  font-weight: initial;
}

.button:hover i {
  transform: translateX(.25rem);
}

/*=============== ABOUT ===============*/
.about__container {
  row-gap: 3rem;
}

.about__data{
 text-align: center; 
}

.about__description {
  margin-bottom: 2rem;
}

.about__image {
  position: relative;
  justify-self: center;
  overflow: hidden;
}

.about__img {
  width: 300px;
  transition: transform .4s;
}

.about__shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
              hsla(0, 0%, 0%, 0) 50%,
              hsl(0, 0%, 0%) 125%);
}

.about__image:hover .about__img {
  transform: scale(1.2);
}

/*=============== JOIN ===============*/
.join__container {
  row-gap: 3rem;
  padding-bottom: 2.5rem;
}

.join__data {
  text-align: center;
}

.join__description {
  margin-bottom: 2rem;
}

.join__form {
  display: grid;
  row-gap: 1rem;
}

.join__input {
  padding: 1.25rem 1rem;
  background-color: var(--container-color);
  color: var(--text-color);
  font-size: var(--normal-font-size);
}

.join__button {
  padding: 1.25rem;
  cursor: pointer;
}

.join__image {
  position: relative;
  justify-self: center;
  overflow: hidden;
}

.join__img {
  width: 300px;
  transition: transform .4s;
}

.join__shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
              hsla(0, 0%, 0%, 0) 50%,
              hsl(0, 0%, 0%) 125%);
}

.join__image:hover .join__img {
  transform: scale(1.2);
}

/*=============== FOOTER ===============*/
.footer {
  padding-block: 3rem 2rem;
}

.footer__container {
  row-gap: 3rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer__logo-text {
  font-size: 1.5rem;
  font-weight: var(--fw-semibold);
  color: var(--title-color);
  display: none;
}

.footer__description {
  font-size: var(--small-font-size);
}

.footer__content {
  row-gap: 3rem;
}

.footer__data {
  grid-template-columns: repeat(2, max-content);
  gap: 2.5rem 3.5rem;
}

.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
}

.footer__links {
  display: grid;
  row-gap: .75rem;
}

.footer__link {
  color: var(--text-color);
  transition: color .4s;
}

.footer__link:hover {
  color: var(--title-color);
}

.footer__group {
  display: grid;
  margin-top: 5rem;
  justify-content: center;
  text-align: center;
  row-gap: 2rem;
}

.footer__social {
  display: flex;
  column-gap: 1.5rem;
}

.footer__social-link {
  color: var(--text-color);
  font-size: 1.25rem;
  transition: color .4s, transform .4s;
}

.footer__social-link:hover {
  color: var(--title-color);
  transform: translateY(-.25rem);
}

.footer__copy {
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: .6rem;
  border-radius: .5rem;
  background-color: hsl(0, 0%, 10%);
}

::-webkit-scrollbar-thumb {
  border-radius: .5rem;
  background-color: hsl(0, 0%, 20%);
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(0, 0%, 30%);
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -50%;
  background-color: hsla(0, 0%, 100%, .1);
  padding: 6px;
  display: inline-flex;
  color: var(--title-color);
  font-size: 1.25rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px); /* For Safari */
  z-index: var(--z-tooltip);
  transition: bottom .4s, transform .4s;
}

.scrollup:hover {
  transform: translateY(-.25rem);
}

/* Show Scroll Up */
.show-scroll {
  bottom: 3rem;
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }

  .footer__data {
    grid-template-columns: max-content;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .home {
    height: 100vh;
  }
  
  .home__bg {
    object-position: center 20%;
  }
  
  .home__container {
    grid-template-columns: .8fr;
    justify-content: center;
  }

  .transport__img,
  .packages__img {
    height: 260px;
  }

  .join__img {
    width: 100%;
    height: 420px;
  }

  .footer__content {
    grid-template-columns: repeat(2, max-content);
    justify-content: space-between;
  }
}

@media screen and (min-width: 768px) {
  .home__bg {
    object-position: center 30%;
  }

  .transport__img,
  .packages__img {
    height: 280px;
  }

  .join__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    padding-bottom: 5rem;
  }
  
  .join__img {
    height: 400px;
  }

  .transport__container {
    grid-template-columns: repeat(2, 340px);
  }
  
  .packages__container {
    grid-template-columns: repeat(2, 340px);
  }

  .join__data {
    text-align: initial;
  }

  .join__form {
    display: flex;
    column-gap: .5rem;
  }

  .join__input {
    width: 100%;
  }

  .footer__content {
    grid-template-columns: repeat(4, max-content);
  }
}

/* For large devices */
@media screen and (min-width: 1023px) {
  .nav__close,
  .nav__toggle {
    display: none;
  }

  .nav__list {
    flex-direction: row;
    column-gap: 4rem;
  }

  .transport__container {
    grid-template-columns: repeat(3, 300px);
  }
  
  .packages__container {
    grid-template-columns: repeat(3, 300px);
  }

  .footer__data {
    grid-template-columns: repeat(2, max-content);
    gap: 3rem 4rem;
  }

  .footer__group {
    margin-top: 7rem;
    flex-direction: row;
    justify-content: space-between;
  }
}

@media screen and (min-width: 1152px) {
  .container {
    margin-inline: auto;
  }

  .section {
    padding-block: 7rem 2rem;
  }

  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }

  .blur-header::after {
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
  }

  .home {
    height: 100vh;
    min-height: 800px;
  }
  
  .home__bg {
    object-position: center 25%;
  }
  
  .home__shadow {
    background: linear-gradient(180deg,
                hsla(0, 0%, 0%, 0.2) 0%,
                hsl(0, 0%, 0%) 90%);
  }

  .home__container {
    grid-template-columns: initial;
    justify-content: initial;
    row-gap: 4rem;
    padding-top: 6.5rem;
  }

  .home__shadow {
    height: 100%;
  }

  .home__data {
    text-align: initial;
    width: 480px;
  }

  .home__subtitle {
    font-size: var(--h2-font-size);
  }

  .home__description {
    margin-bottom: 2.5rem;
  }

  .transport__img,
  .packages__img {
    height: 300px;
  }
  
  .join__img {
    height: 500px;
  }

  .button {
    column-gap: 1.5rem;
  }

  .about__container {
    grid-template-columns: 400px 460px;
    justify-content: center;
    column-gap: 8.5rem;
  }

  .about__data {
    text-align: initial;
  }

  .about__img {
    width: 460px;
  }

  .explore__container,
  .join__container {
    column-gap: 8rem;
  }

  .explore__img,
  .join__img {
    width: 460px;
  }

  .explore__data,
  .join__data {
    text-align: initial;
    width: 460px;
  }

  .explore__user {
    justify-content: flex-start;
    column-gap: 1rem;
  }

  .explore__perfil {
    width: 48px;
  }

  .explore__name {
    font-size: var(--normal-font-size);
  }

  .footer {
    padding-block: 5rem 3rem;
  }

  .footer__title {
    margin-bottom: 1.5rem;
  }

  .footer__links {
    row-gap: 1rem;
  }

  .footer__group {
    margin-top: 9rem;
  }

  .footer__social {
    column-gap: 2rem;
  }

  .footer__social-link {
    font-size: 1.5rem;
  }

  .scrollup {
    right: 3rem;
  }
}

/*=============== RENTALS ===============*/
.rentals__container {
  padding-top: 1.5rem;
  grid-template-columns: 240px;
  justify-content: center;
  row-gap: 2.5rem;
}

.rentals__image {
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
  border-radius: 8px;
}

.rentals__img {
  transition: transform .4s;
  height: 200px;
  object-fit: cover;
}

.rentals__shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
              hsla(0, 0%, 0%, 0) 50%,
              hsl(0, 0%, 0%) 125%);
}

.rentals__title {
  font-size: var(--h3-font-size);
  margin-bottom: .75rem;
}

.rentals__details {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.5rem;
}

.rentals__price,
.rentals__capacity {
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
  font-size: var(--small-font-size);
  font-weight: 500;
  color: var(--title-color);
}

.rentals__price i,
.rentals__capacity i {
  font-size: 1rem;
  color: var(--title-color);
}

.rentals__button {
  width: 100%;
  justify-content: center;
}

.rentals__image:hover .rentals__img {
  transform: scale(1.2);
}

/* Add styles for the rentals description and phone number */
.rentals__info {
  text-align: center;
  margin-bottom: 2rem;
}

.rentals__description {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.rentals__phone {
  display: inline-flex;
  align-items: center;
  font-weight: var(--font-medium);
  color: var(--title-color);
  font-size: 1.1rem;
  margin: 0 .5rem;
}

.rentals__phone i {
  font-size: 1.25rem;
  margin-right: .5rem;
  color: var(--title-color);
}

@media screen and (min-width: 1152px) {
  .rentals__description {
    font-size: var(--normal-font-size);
  }
  
  .rentals__phone {
    font-size: 1.2rem;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .rentals__container {
    grid-template-columns: repeat(2, 240px);
  }
}

@media screen and (min-width: 768px) {
  .rentals__container {
    grid-template-columns: repeat(3, 240px);
  }
}

@media screen and (min-width: 1152px) {
  .rentals__container {
    grid-template-columns: repeat(3, 320px);
    gap: 3.5rem;
  }
  
  .rentals__img {
    height: 220px;
  }
  
  .rentals__title {
    font-size: var(--h2-font-size);
  }
  
  .rentals__price,
  .rentals__capacity {
    font-size: var(--normal-font-size);
  }
}

/*=============== PAYMENT ===============*/
.payment__container {
  padding-top: 1rem;
}

.payment__content {
  row-gap: 2rem;
}

.payment__data {
  text-align: center;
}

.payment__description {
  margin-bottom: 2rem;
}

.payment__subtitle {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
  color: var(--title-color);
}

.payment__cards {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.payment__card {
  width: 60px;
  filter: grayscale(80%);
  transition: .4s;
}

.payment__card:hover {
  filter: grayscale(0);
  transform: translateY(-4px);
}

.payment__form {
  background-color: var(--container-color);
  padding: 2rem 1.5rem;
  border-radius: 8px;
  display: grid;
  row-gap: 1.5rem;
}

.payment__group {
  display: grid;
  row-gap: .5rem;
}

.payment__label {
  font-size: var(--small-font-size);
  color: var(--title-color);
}

.payment__input {
  width: 100%;
  background-color: var(--body-color);
  color: var(--text-color);
  padding: 1rem;
  border-radius: 4px;
  font-size: var(--normal-font-size);
}

.payment__input::placeholder {
  color: var(--text-color-light);
}

.payment__flex {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 1rem;
}

.payment__button {
  width: 100%;
  justify-content: center;
  margin-top: .5rem;
}

.payment__button i {
  font-size: 1.25rem;
}

/* For medium devices */
@media screen and (min-width: 768px) {
  .payment__content {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    column-gap: 2rem;
  }
  
  .payment__data {
    text-align: initial;
  }
  
  .payment__cards {
    justify-content: flex-start;
  }
}

@media screen and (min-width: 1152px) {
  .payment__card {
    width: 80px;
  }
  
  .payment__form {
    padding: 3rem;
  }
}

/*=============== LOCATION ===============*/
.location__container {
  padding-top: 1rem;
}

.location__content {
  row-gap: 3rem;
}

.location__data {
  text-align: center;
}

.location__description {
  margin-bottom: 2rem;
}

.location__info {
  display: grid;
  row-gap: 2rem;
}

.location__item {
  display: flex;
  column-gap: 1.5rem;
  text-align: left;
}

.location__icon {
  font-size: 1.5rem;
  color: var(--title-color);
}

.location__subtitle {
  font-size: var(--h3-font-size);
  margin-bottom: .5rem;
  color: var(--title-color);
}

.location__text {
  font-size: var(--small-font-size);
  line-height: 1.6;
}

.location__map {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

#google-map {
  width: 100%;
  height: 350px;
  border: none;
  filter: grayscale(20%) invert(10%);
  transition: filter .4s;
}

#google-map:hover {
  filter: grayscale(0%) invert(0%);
}

/* For medium devices */
@media screen and (min-width: 768px) {
  .location__content {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    column-gap: 2rem;
  }
  
  .location__data {
    text-align: initial;
  }
  
  .location__info {
    justify-content: initial;
  }
  
  #google-map {
    height: 400px;
  }
}

@media screen and (min-width: 1152px) {
  .location__info {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 3rem;
  }
  
  #google-map {
    height: 500px;
  }
}

.location__link {
  color: var(--title-color);
  transition: color .4s;
  text-decoration: underline;
}

.location__link:hover {
  color: hsl(0, 0%, 80%);
}

/*=============== TRANSPORT ===============*/
.transport__container {
  display: grid;
  row-gap: 2.5rem;
}

.transport__info {
  text-align: center;
  margin-bottom: 2rem;
}

.transport__description {
  margin-bottom: 1.5rem;
}

.transport__phone {
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

.transport__payment-info {
  background-color: var(--container-color);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1.5rem;
  display: inline-block;
}

.transport__bank-account {
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  margin-top: 0.5rem;
}

.transport__bank-account span {
  background-color: hsla(0, 0%, 100%, .1);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 1px;
}

.transport__image {
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
  border-radius: 8px;
}

.transport__img {
  width: 100%;
  height: 280px; /* Increased from 220px */
  object-fit: cover;
  transition: transform .4s;
}

.transport__shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
              hsla(0, 0%, 0%, 0) 50%,
              hsl(0, 0%, 0%) 125%);
}

.transport__title {
  font-size: var(--h3-font-size);
  margin-bottom: .75rem;
}

.transport__details {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.5rem;
}

.transport__price,
.transport__capacity {
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
  font-size: var(--small-font-size);
  font-weight: 500;
  color: var(--title-color);
}

.transport__price i,
.transport__capacity i {
  font-size: 1rem;
  color: var(--title-color);
}

.transport__button {
  width: 100%;
  justify-content: center;
}

.transport__image:hover .transport__img {
  transform: scale(1.2);
}

/* Add styles for the transport description and phone number */
.transport__info {
  text-align: center;
  margin-bottom: 2rem;
}

.transport__description {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.transport__phone {
  display: inline-flex;
  align-items: center;
  font-weight: var(--font-medium);
  color: var(--title-color);
  font-size: 1.1rem;
  margin: 0 .5rem;
}

.transport__phone i {
  font-size: 1.25rem;
  margin-right: .5rem;
  color: var(--title-color);
}

@media screen and (min-width: 1152px) {
  .transport__description {
    font-size: var(--normal-font-size);
  }
  
  .transport__phone {
    font-size: 1.2rem;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .transport__container {
    grid-template-columns: repeat(2, 240px);
  }
}

@media screen and (min-width: 768px) {
  .transport__container {
    grid-template-columns: repeat(3, 240px);
  }
}

@media screen and (min-width: 1152px) {
  .transport__container {
    grid-template-columns: repeat(3, 320px);
    gap: 3.5rem;
  }
  
  .transport__img {
    height: 220px;
  }
  
  .transport__title {
    font-size: var(--h2-font-size);
  }
  
  .transport__price,
  .transport__capacity {
    font-size: var(--normal-font-size);
  }
}

/*=============== PACKAGES ===============*/
.packages__container {
  display: grid;
  row-gap: 2.5rem;
}

.packages__info {
  text-align: center;
  margin-bottom: 2rem;
}

.packages__description {
  margin-bottom: 1.5rem;
}

.packages__phone {
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

.packages__payment-info {
  background-color: var(--container-color);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1.5rem;
  display: inline-block;
}

.packages__bank-account {
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  margin-top: 0.5rem;
}

.packages__bank-account span {
  background-color: hsla(0, 0%, 100%, .1);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 1px;
}

.packages__image {
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
  border-radius: 8px;
}

.packages__img {
  width: 100%;
  height: 280px; /* Increased from 220px */
  object-fit: cover;
  transition: transform .4s;
}

.packages__shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
              hsla(0, 0%, 0%, 0) 50%,
              hsl(0, 0%, 0%) 125%);
}

.packages__days {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--title-color);
  color: var(--body-color);
  padding: .5rem .75rem;
  border-radius: .5rem;
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  z-index: 1;
}

.packages__title {
  font-size: var(--h3-font-size);
  margin-bottom: .75rem;
}

.packages__details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.packages__text {
  font-size: var(--small-font-size);
  line-height: 1.5;
}

.packages__price-group {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.packages__price,
.packages__includes {
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
  font-size: var(--small-font-size);
  font-weight: 500;
  color: var(--title-color);
}

.packages__price i,
.packages__includes i {
  font-size: 1rem;
  color: var(--title-color);
}

.packages__includes i {
  color: hsl(144, 63%, 60%);
}

.packages__button {
  width: 100%;
  justify-content: center;
}

.packages__image:hover .packages__img {
  transform: scale(1.2);
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .packages__container {
    grid-template-columns: repeat(2, 240px);
    gap: 2.5rem;
  }
}

@media screen and (min-width: 768px) {
  .packages__container {
    grid-template-columns: repeat(2, 340px);
  }
}

@media screen and (min-width: 1152px) {
  .packages__container {
    grid-template-columns: repeat(3, 320px);
    gap: 3rem;
  }
  
  .packages__img {
    height: 240px;
  }
  
  .packages__title {
    font-size: var(--h2-font-size);
  }
  
  .packages__text,
  .packages__price,
  .packages__includes {
    font-size: var(--normal-font-size);
  }
  
  .packages__description {
    font-size: var(--normal-font-size);
  }
  
  .packages__phone {
    font-size: 1.2rem;
  }
  
  .packages__days {
    font-size: var(--small-font-size);
    padding: .5rem 1rem;
  }
}

/*=============== THANK YOU PAGE ===============*/
.thank-you__container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding-top: 5rem;
}

.thank-you__content {
  text-align: center;
  max-width: 600px;
  padding: 2rem;
  background-color: var(--container-color);
  border-radius: 1rem;
  box-shadow: 0 8px 32px hsla(0, 0%, 0%, .3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.thank-you__icon {
  font-size: 4rem;
  color: var(--title-color);
  margin-bottom: 1rem;
  display: block;
}

.thank-you__description {
  margin-bottom: 2rem;
  line-height: 1.6;
}

.thank-you__button {
  margin: 0 auto;
  display: inline-flex;
}

@media screen and (min-width: 768px) {
  .thank-you__content {
    padding: 3rem;
  }
  
  .thank-you__icon {
    font-size: 5rem;
  }
}

/* Update styles for circular logos */
.nav__logo-img {
  max-height: 40px;
  width: auto;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--title-color);
  padding: 2px;
  background-color: var(--container-color);
}

.footer__logo-img {
  max-height: 48px;
  width: auto;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--title-color);
  padding: 2px;
  background-color: var(--container-color);
}

@media screen and (max-width: 340px) {
  .nav__logo-img {
    max-height: 32px;
  }
  
  .footer__logo-img {
    max-height: 40px;
  }
}

@media screen and (min-width: 1152px) {
  .nav__logo-img {
    max-height: 44px;
  }
  
  .footer__logo-img {
    max-height: 52px;
  }
}

/* Show logo text on larger screens */
@media screen and (min-width: 576px) {
  .nav__logo-text,
  .footer__logo-text {
    display: inline-block;
  }
}

@media screen and (min-width: 768px) {
  .nav__logo-text {
    font-size: 1.5rem;
  }
  
  .footer__logo-text {
    font-size: 1.75rem;
  }
}

/* Improved mobile responsiveness */
/* Base mobile styles */
.nav__logo-text {
  font-size: 1.1rem;
  font-weight: var(--fw-semibold);
  display: inline-block;
  margin-left: 0.25rem;
  color: var(--title-color);
}

.nav__logo-img {
  width: 32px;
  height: 32px;
}

.nav__logo {
  display: flex;
  align-items: center;
  column-gap: 0.25rem;
}

/* Adjust container padding for mobile */
@media screen and (max-width: 576px) {
  .container {
    margin-inline: 1rem;
    padding-inline: 0;
  }
  
  .section {
    padding-block: 4rem 1rem;
  }
  
  /* Improve card layouts on small screens */
  .transport__card,
  .packages__card {
    max-width: 100%;
  }
  
  .transport__container,
  .packages__container {
    grid-template-columns: 1fr;
    justify-content: center;
  }
  
  /* Adjust font sizes for mobile */
  .section__title {
    font-size: var(--h2-font-size);
    margin-bottom: 1.5rem;
  }
  
  .home__title {
    font-size: 2.5rem;
  }
  
  .home__description {
    font-size: var(--small-font-size);
  }
  
  /* Improve footer layout on mobile */
  .footer__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer__group {
    margin-top: 3rem;
  }
}

/* Extra small devices */
@media screen and (max-width: 340px) {
  .nav__logo-text {
    font-size: 0.9rem;
  }
  
  .nav__logo-img {
    width: 28px;
    height: 28px;
  }
  
  .nav {
    height: var(--header-height);
    padding-inline: 0.5rem;
  }
  
  .home__title {
    font-size: 2rem;
  }
  
  .button {
    padding: 1rem 1.25rem;
  }
  
  .transport__title,
  .packages__title {
    font-size: var(--normal-font-size);
  }
  
  .transport__details,
  .packages__details {
    font-size: var(--smaller-font-size);
  }
}

/* Improved navigation for mobile */
@media screen and (max-width: 1023px) {
  .nav__menu {
    position: fixed;
    top: -100%;
    left: 0;
    background-color: hsla(0, 0%, 0%, .9);
    width: 100%;
    padding-block: 3rem 2rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: top .4s;
    z-index: var(--z-fixed);
  }
  
  .nav__list {
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
    text-align: center;
  }
  
  .nav__link {
    color: var(--title-color);
    font-weight: var(--font-medium);
    font-size: var(--h3-font-size);
  }
  
  .nav__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
  }
}

/* Show menu */
.show-menu {
  top: 0;
}

/* Improved transport and packages sections for mobile */
@media screen and (max-width: 576px) {
  .transport__info,
  .packages__info {
    margin-bottom: 1.5rem;
  }
  
  .transport__description,
  .packages__description {
    font-size: var(--smaller-font-size);
  }
  
  .transport__phone,
  .packages__phone {
    display: block;
    margin: 0.5rem 0;
    font-size: 1rem;
  }
  
  .transport__emergency {
    margin-top: 1rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    background-color: rgba(255, 0, 0, 0.1);
    display: inline-block;
  }
  
  .transport__emergency-link {
    color: var(--title-color);
    font-weight: var(--font-medium);
  }
}

/* Improved button styles for mobile */
@media screen and (max-width: 576px) {
  .button {
    width: 100%;
    justify-content: center;
  }
  
  .transport__button,
  .packages__button {
    margin-top: 0.5rem;
  }
}

/*=============== RENTALS ===============*/
.rentals__container {
  padding-top: 1.5rem;
  grid-template-columns: 240px;
  justify-content: center;
  row-gap: 2.5rem;
}

.rentals__image {
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
  border-radius: 8px;
}

.rentals__img {
  transition: transform .4s;
  height: 200px;
  object-fit: cover;
}

.rentals__shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
              hsla(0, 0%, 0%, 0) 50%,
              hsl(0, 0%, 0%) 125%);
}

.rentals__title {
  font-size: var(--h3-font-size);
  margin-bottom: .75rem;
}

.rentals__details {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.5rem;
}

.rentals__price,
.rentals__capacity {
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
  font-size: var(--small-font-size);
  font-weight: 500;
  color: var(--title-color);
}

.rentals__price i,
.rentals__capacity i {
  font-size: 1rem;
  color: var(--title-color);
}

.rentals__button {
  width: 100%;
  justify-content: center;
}

.rentals__image:hover .rentals__img {
  transform: scale(1.2);
}

/* Add styles for the rentals description and phone number */
.rentals__info {
  text-align: center;
  margin-bottom: 2rem;
}

.rentals__description {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.rentals__phone {
  display: inline-flex;
  align-items: center;
  font-weight: var(--font-medium);
  color: var(--title-color);
  font-size: 1.1rem;
  margin: 0 .5rem;
}

.rentals__phone i {
  font-size: 1.25rem;
  margin-right: .5rem;
  color: var(--title-color);
}

@media screen and (min-width: 1152px) {
  .rentals__description {
    font-size: var(--normal-font-size);
  }
  
  .rentals__phone {
    font-size: 1.2rem;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .rentals__container {
    grid-template-columns: repeat(2, 240px);
  }
}

@media screen and (min-width: 768px) {
  .rentals__container {
    grid-template-columns: repeat(3, 240px);
  }
}

@media screen and (min-width: 1152px) {
  .rentals__container {
    grid-template-columns: repeat(3, 320px);
    gap: 3.5rem;
  }
  
  .rentals__img {
    height: 220px;
  }
  
  .rentals__title {
    font-size: var(--h2-font-size);
  }
  
  .rentals__price,
  .rentals__capacity {
    font-size: var(--normal-font-size);
  }
}

/*=============== PAYMENT ===============*/
.payment__container {
  padding-top: 1rem;
}

.payment__content {
  row-gap: 2rem;
}

.payment__data {
  text-align: center;
}

.payment__description {
  margin-bottom: 2rem;
}

.payment__subtitle {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
  color: var(--title-color);
}

.payment__cards {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.payment__card {
  width: 60px;
  filter: grayscale(80%);
  transition: .4s;
}

.payment__card:hover {
  filter: grayscale(0);
  transform: translateY(-4px);
}

.payment__form {
  background-color: var(--container-color);
  padding: 2rem 1.5rem;
  border-radius: 8px;
  display: grid;
  row-gap: 1.5rem;
}

.payment__group {
  display: grid;
  row-gap: .5rem;
}

.payment__label {
  font-size: var(--small-font-size);
  color: var(--title-color);
}

.payment__input {
  width: 100%;
  background-color: var(--body-color);
  color: var(--text-color);
  padding: 1rem;
  border-radius: 4px;
  font-size: var(--normal-font-size);
}

.payment__input::placeholder {
  color: var(--text-color-light);
}

.payment__flex {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 1rem;
}

.payment__button {
  width: 100%;
  justify-content: center;
  margin-top: .5rem;
}

.payment__button i {
  font-size: 1.25rem;
}

/* For medium devices */
@media screen and (min-width: 768px) {
  .payment__content {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    column-gap: 2rem;
  }
  
  .payment__data {
    text-align: initial;
  }
  
  .payment__cards {
    justify-content: flex-start;
  }
}

@media screen and (min-width: 1152px) {
  .payment__card {
    width: 80px;
  }
  
  .payment__form {
    padding: 3rem;
  }
}

/*=============== LOCATION ===============*/
.location__container {
  padding-top: 1rem;
}

.location__content {
  row-gap: 3rem;
}

.location__data {
  text-align: center;
}

.location__description {
  margin-bottom: 2rem;
}

.location__info {
  display: grid;
  row-gap: 2rem;
}

.location__item {
  display: flex;
  column-gap: 1.5rem;
  text-align: left;
}

.location__icon {
  font-size: 1.5rem;
  color: var(--title-color);
}

.location__subtitle {
  font-size: var(--h3-font-size);
  margin-bottom: .5rem;
  color: var(--title-color);
}

.location__text {
  font-size: var(--small-font-size);
  line-height: 1.6;
}

.location__map {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

#google-map {
  width: 100%;
  height: 350px;
  border: none;
  filter: grayscale(20%) invert(10%);
  transition: filter .4s;
}

#google-map:hover {
  filter: grayscale(0%) invert(0%);
}

/* For medium devices */
@media screen and (min-width: 768px) {
  .location__content {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    column-gap: 2rem;
  }
  
  .location__data {
    text-align: initial;
  }
  
  .location__info {
    justify-content: initial;
  }
  
  #google-map {
    height: 400px;
  }
}

@media screen and (min-width: 1152px) {
  .location__info {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 3rem;
  }
  
  #google-map {
    height: 500px;
  }
}

.location__link {
  color: var(--title-color);
  transition: color .4s;
  text-decoration: underline;
}

.location__link:hover {
  color: hsl(0, 0%, 80%);
}

/*=============== TRANSPORT ===============*/
.transport__container {
  display: grid;
  row-gap: 2.5rem;
}

.transport__info {
  text-align: center;
  margin-bottom: 2rem;
}

.transport__description {
  margin-bottom: 1.5rem;
}

.transport__phone {
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

.transport__payment-info {
  background-color: var(--container-color);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1.5rem;
  display: inline-block;
}

.transport__bank-account {
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  margin-top: 0.5rem;
}

.transport__bank-account span {
  background-color: hsla(0, 0%, 100%, .1);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 1px;
}

.transport__image {
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
  border-radius: 8px;
}

.transport__img {
  width: 100%;
  height: 280px; /* Increased from 220px */
  object-fit: cover;
  transition: transform .4s;
}

.transport__shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
              hsla(0, 0%, 0%, 0) 50%,
              hsl(0, 0%, 0%) 125%);
}

.transport__title {
  font-size: var(--h3-font-size);
  margin-bottom: .75rem;
}

.transport__details {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.5rem;
}

.transport__price,
.transport__capacity {
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
  font-size: var(--small-font-size);
  font-weight: 500;
  color: var(--title-color);
}

.transport__price i,
.transport__capacity i {
  font-size: 1rem;
  color: var(--title-color);
}

.transport__button {
  width: 100%;
  justify-content: center;
}

.transport__image:hover .transport__img {
  transform: scale(1.2);
}

/* Add styles for the transport description and phone number */
.transport__info {
  text-align: center;
  margin-bottom: 2rem;
}

.transport__description {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.transport__phone {
  display: inline-flex;
  align-items: center;
  font-weight: var(--font-medium);
  color: var(--title-color);
  font-size: 1.1rem;
  margin: 0 .5rem;
}

.transport__phone i {
  font-size: 1.25rem;
  margin-right: .5rem;
  color: var(--title-color);
}

@media screen and (min-width: 1152px) {
  .transport__description {
    font-size: var(--normal-font-size);
  }
  
  .transport__phone {
    font-size: 1.2rem;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .transport__container {
    grid-template-columns: repeat(2, 240px);
  }
}

@media screen and (min-width: 768px) {
  .transport__container {
    grid-template-columns: repeat(3, 240px);
  }
}

@media screen and (min-width: 1152px) {
  .transport__container {
    grid-template-columns: repeat(3, 320px);
    gap: 3.5rem;
  }
  
  .transport__img {
    height: 220px;
  }
  
  .transport__title {
    font-size: var(--h2-font-size);
  }
  
  .transport__price,
  .transport__capacity {
    font-size: var(--normal-font-size);
  }
}

/*=============== PACKAGES ===============*/
.packages__container {
  display: grid;
  row-gap: 2.5rem;
}

.packages__info {
  text-align: center;
  margin-bottom: 2rem;
}

.packages__description {
  margin-bottom: 1.5rem;
}

.packages__phone {
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

.packages__payment-info {
  background-color: var(--container-color);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1.5rem;
  display: inline-block;
}

.packages__bank-account {
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  margin-top: 0.5rem;
}

.packages__bank-account span {
  background-color: hsla(0, 0%, 100%, .1);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 1px;
}

.packages__image {
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
  border-radius: 8px;
}

.packages__img {
  width: 100%;
  height: 280px; /* Increased from 220px */
  object-fit: cover;
  transition: transform .4s;
}

.packages__shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
              hsla(0, 0%, 0%, 0) 50%,
              hsl(0, 0%, 0%) 125%);
}

.packages__days {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--title-color);
  color: var(--body-color);
  padding: .5rem .75rem;
  border-radius: .5rem;
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  z-index: 1;
}

.packages__title {
  font-size: var(--h3-font-size);
  margin-bottom: .75rem;
}

.packages__details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.packages__text {
  font-size: var(--small-font-size);
  line-height: 1.5;
}

.packages__price-group {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.packages__price,
.packages__includes {
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
  font-size: var(--small-font-size);
  font-weight: 500;
  color: var(--title-color);
}

.packages__price i,
.packages__includes i {
  font-size: 1rem;
  color: var(--title-color);
}

.packages__includes i {
  color: hsl(144, 63%, 60%);
}

.packages__button {
  width: 100%;
  justify-content: center;
}

.packages__image:hover .packages__img {
  transform: scale(1.2);
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .packages__container {
    grid-template-columns: repeat(2, 240px);
    gap: 2.5rem;
  }
}

@media screen and (min-width: 768px) {
  .packages__container {
    grid-template-columns: repeat(2, 340px);
  }
}

@media screen and (min-width: 1152px) {
  .packages__container {
    grid-template-columns: repeat(3, 320px);
    gap: 3rem;
  }
  
  .packages__img {
    height: 240px;
  }
  
  .packages__title {
    font-size: var(--h2-font-size);
  }
  
  .packages__text,
  .packages__price,
  .packages__includes {
    font-size: var(--normal-font-size);
  }
  
  .packages__description {
    font-size: var(--normal-font-size);
  }
  
  .packages__phone {
    font-size: 1.2rem;
  }
  
  .packages__days {
    font-size: var(--small-font-size);
    padding: .5rem 1rem;
  }
}

/*=============== THANK YOU PAGE ===============*/
.thank-you__container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding-top: 5rem;
}

.thank-you__content {
  text-align: center;
  max-width: 600px;
  padding: 2rem;
  background-color: var(--container-color);
  border-radius: 1rem;
  box-shadow: 0 8px 32px hsla(0, 0%, 0%, .3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.thank-you__icon {
  font-size: 4rem;
  color: var(--title-color);
  margin-bottom: 1rem;
  display: block;
}

.thank-you__description {
  margin-bottom: 2rem;
  line-height: 1.6;
}

.thank-you__button {
  margin: 0 auto;
  display: inline-flex;
}

@media screen and (min-width: 768px) {
  .thank-you__content {
    padding: 3rem;
  }
  
  .thank-you__icon {
    font-size: 5rem;
  }
}

/* Update styles for circular logos */
.nav__logo-img {
  max-height: 40px;
  width: auto;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--title-color);
  padding: 2px;
  background-color: var(--container-color);
}

.footer__logo-img {
  max-height: 48px;
  width: auto;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--title-color);
  padding: 2px;
  background-color: var(--container-color);
}

@media screen and (max-width: 340px) {
  .nav__logo-img {
    max-height: 32px;
  }
  
  .footer__logo-img {
    max-height: 40px;
  }
}

@media screen and (min-width: 1152px) {
  .nav__logo-img {
    max-height: 44px;
  }
  
  .footer__logo-img {
    max-height: 52px;
  }
}

/* Show logo text on larger screens */
@media screen and (min-width: 576px) {
  .nav__logo-text,
  .footer__logo-text {
    display: inline-block;
  }
}

@media screen and (min-width: 768px) {
  .nav__logo-text {
    font-size: 1.5rem;
  }
  
  .footer__logo-text {
    font-size: 1.75rem;
  }
}

/* Improved mobile responsiveness */
/* Base mobile styles */
.nav__logo-text {
  font-size: 1.1rem;
  font-weight: var(--fw-semibold);
  display: inline-block;
  margin-left: 0.25rem;
  color: var(--title-color);
}

.nav__logo-img {
  width: 32px;
  height: 32px;
}

.nav__logo {
  display: flex;
  align-items: center;
  column-gap: 0.25rem;
}

/* Adjust container padding for mobile */
@media screen and (max-width: 576px) {
  .container {
    margin-inline: 1rem;
    padding-inline: 0;
  }
  
  .section {
    padding-block: 4rem 1rem;
  }
  
  /* Improve card layouts on small screens */
  .transport__card,
  .packages__card {
    max-width: 100%;
  }
  
  .transport__container,
  .packages__container {
    grid-template-columns: 1fr;
    justify-content: center;
  }
  
  /* Adjust font sizes for mobile */
  .section__title {
    font-size: var(--h2-font-size);
    margin-bottom: 1.5rem;
  }
  
  .home__title {
    font-size: 2.5rem;
  }
  
  .home__description {
    font-size: var(--small-font-size);
  }
  
  /* Improve footer layout on mobile */
  .footer__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer__group {
    margin-top: 3rem;
  }
}

/* Extra small devices */
@media screen and (max-width: 340px) {
  .nav__logo-text {
    font-size: 0.9rem;
  }
  
  .nav__logo-img {
    width: 28px;
    height: 28px;
  }
  
  .nav {
    height: var(--header-height);
    padding-inline: 0.5rem;
  }
  
  .home__title {
    font-size: 2rem;
  }
  
  .button {
    padding: 1rem 1.25rem;
  }
  
  .transport__title,
  .packages__title {
    font-size: var(--normal-font-size);
  }
  
  .transport__details,
  .packages__details {
    font-size: var(--smaller-font-size);
  }
}

/* Improved navigation for mobile */
@media screen and (max-width: 1023px) {
  .nav__menu {
    position: fixed;
    top: -100%;
    left: 0;
    background-color: hsla(0, 0%, 0%, .9);
    width: 100%;
    padding-block: 3rem 2rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: top .4s;
    z-index: var(--z-fixed);
  }
  
  .nav__list {
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
    text-align: center;
  }
  
  .nav__link {
    color: var(--title-color);
    font-weight: var(--font-medium);
    font-size: var(--h3-font-size);
  }
  
  .nav__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
  }
}

/* Show menu */
.show-menu {
  top: 0;
}

/* Improved transport and packages sections for mobile */
@media screen and (max-width: 576px) {
  .transport__info,
  .packages__info {
    margin-bottom: 1.5rem;
  }
  
  .transport__description,
  .packages__description {
    font-size: var(--smaller-font-size);
  }
  
  .transport__phone,
  .packages__phone {
    display: block;
    margin: 0.5rem 0;
    font-size: 1rem;
  }
  
  .transport__emergency {
    margin-top: 1rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    background-color: rgba(255, 0, 0, 0.1);
    display: inline-block;
  }
  
  .transport__emergency-link {
    color: var(--title-color);
    font-weight: var(--font-medium);
  }
}

/* Improved button styles for mobile */
@media screen and (max-width: 576px) {
  .button {
    width: 100%;
    justify-content: center;
  }
  
  .transport__button,
  .packages__button {
    margin-top: 0.5rem;
  }
}

/*=============== RENTALS ===============*/
.rentals__container {
  padding-top: 1.5rem;
  grid-template-columns: 240px;
  justify-content: center;
  row-gap: 2.5rem;
}

.rentals__image {
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
  border-radius: 8px;
}

.rentals__img {
  transition: transform .4s;
  height: 200px;
  object-fit: cover;
}

.rentals__shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
              hsla(0, 0%, 0%, 0) 50%,
              hsl(0, 0%, 0%) 125%);
}

.rentals__title {
  font-size: var(--h3-font-size);
  margin-bottom: .75rem;
}

.rentals__details {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.5rem;
}

.rentals__price,
.rentals__capacity {
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
  font-size: var(--small-font-size);
  font-weight: 500;
  color: var(--title-color);
}

.rentals__price i,
.rentals__capacity i {
  font-size: 1rem;
  color: var(--title-color);
}

.rentals__button {
  width: 100%;
  justify-content: center;
}

.rentals__image:hover .rentals__img {
  transform: scale(1.2);
}

/* Add styles for the rentals description and phone number */
.rentals__info {
  text-align: center;
  margin-bottom: 2rem;
}

.rentals__description {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.rentals__phone {
  display: inline-flex;
  align-items: center;
  font-weight: var(--font-medium);
  color: var(--title-color);
  font-size: 1.1rem;
  margin: 0 .5rem;
}

.rentals__phone i {
  font-size: 1.25rem;
  margin-right: .5rem;
  color: var(--title-color);
}

@media screen and (min-width: 1152px) {
  .rentals__description {
    font-size: var(--normal-font-size);
  }
  
  .rentals__phone {
    font-size: 1.2rem;
  }
}
