:root {
  --section-rotate: 9vw;
}

::-moz-selection {
  background-color: #55c57a;
  color: #fff;
}

::selection {
  background-color: #55c57a;
  color: #fff;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  font-size: 62.5%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  line-height: 1.6;
  font-weight: 300;
  font-family: 'Lato', sans-serif;
  color: #777;
  /* padding: 3rem; */
  min-height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

.main {
  background-color: #f7f7f7;
  padding: 8rem 6rem;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  position: relative;
}

.main.signup-page {
  display: flex; /* Use Flexbox for centering */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  height: 100vh; /* Full viewport height */
  margin: 0; /* Remove any margin */
  padding: 0; /* Remove padding */
  background-color: #f7f7f7; /* Ensure consistent background */
}

.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.span-all-rows {
  grid-row: 1 / -1;
}

/* Reusable container class */
.container {
  max-width: 1200px; /* Constrain content to 1200px */
  margin: 0 auto; /* Center the content horizontally */
  padding: 0 2rem; /* Add horizontal padding for smaller screens */
}

.ma-bt-md {
  margin-bottom: 3rem !important;
}

.ma-bt-lg {
  margin-bottom: 3.5rem !important;
}

.right {
  text-align: right !important;
}

/* Separator line */
.line {
  margin: 4rem 0; /* Add vertical spacing */
  width: 100%; /* Full width */
  height: 1px; /* Thin line */
  background-color: #e0e0e0; /* Light grey color */
  /* border: solid red 1px; */
}

/* Alert container for stacking alerts */
.alert-container {
  position: fixed;
  top: 20px; /* Adjust as needed */
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999; /* Ensure it appears above other elements */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  pointer-events: none; /* Prevent blocking clicks on other elements */
}

.alert {
  background-color: #55c57a; /* Success color */
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  font-size: 1.4rem;
  text-align: center;
  pointer-events: auto; /* Allow interaction with the alert */
}

.alert--error {
  background-color: #ff4d4d; /* Error color */
}

/* Fade-in animation for alerts */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade-out animation for alerts */
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.heading-secondary {
  font-size: 2.25rem;
  text-transform: uppercase;
  font-weight: 700;
  background-image: -webkit-gradient(
    linear,
    left top,
    right top,
    from(#7dd56f),
    to(#28b487)
  );
  background-image: linear-gradient(to right, #7dd56f, #28b487);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.1rem;
  line-height: 1.3;
  display: inline-block;
}
.heading-secondary--error {
  background-image: -webkit-gradient(
    linear,
    left top,
    right top,
    from(#ff7730),
    to(#eb4d4b)
  );
  background-image: linear-gradient(to right, #ff7730, #eb4d4b);
  font-size: 3.5rem;
}

.heading-primary,
.heading-tertirary {
  color: #fff;
  text-transform: uppercase;
  font-weight: 300;
}
.heading-primary span,
.heading-tertirary span {
  padding: 1rem 1.5rem;
  line-height: 1;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background-image: -webkit-gradient(
    linear,
    left top,
    right bottom,
    from(rgba(125, 213, 111, 0.85)),
    to(rgba(40, 180, 135, 0.85))
  );
  /* background-image: linear-gradient(
    to bottom right,
    rgba(125, 213, 111, 0.85),
    rgba(40, 180, 135, 0.85)
  ); */
}

.heading-primary {
  font-size: 5rem;
  text-align: center;
  width: 70%;
  margin: 0 auto;
}

.heading-tertirary {
  font-size: 2.75rem;
  text-align: right;
  position: absolute;
  bottom: 1rem;
  right: 2rem;
  width: 70%;
  z-index: 10;
}

.btn,
.btn:link,
.btn:visited {
  font-size: 1.6rem;
  padding: 1.4rem 3rem;
  border-radius: 10rem;
  text-transform: uppercase;
  display: inline-block;
  text-decoration: none;
  position: relative;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  font-weight: 400;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  /*Add later when we use this for the button in form*/
  border: none;
  cursor: pointer;
}

.btn:hover {
  -webkit-transform: translateY(-3px);
  transform: translateY(-3px);
  -webkit-box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.btn:active {
  -webkit-transform: translateY(-1px);
  transform: translateY(-1px);
  -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.btn:focus {
  outline: none;
  background-color: #2e864b;
}

.btn--white {
  background-color: #fff;
  color: #777;
}
.btn--white::after {
  background-color: #fff;
}

.btn--green {
  background-color: black;
  color: #fff;
  padding: 1rem 2rem;
  font-size: 1.6rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn--green:hover {
  background-color: #55c57a;
}

.btn--small {
  padding: 1.25rem 3rem !important;
  padding: 1.25rem 3rem !important;
  font-size: 1.4rem !important;
}

.btn-small,
.btn-small:link,
.btn-small:visited {
  background-color: #55c57a;
  color: #fff;
  font-size: 1.4rem;
  padding: 1.25rem 3rem;
  border-radius: 10rem;
  text-transform: uppercase;
  position: relative;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  font-weight: 400;
  border: none;
}

.btn-small:hover {
  background-color: #7dd56f;
}

.btn-text:link,
.btn-text:visited {
  color: #55c57a;
  display: inline-block;
  text-decoration: none;
  border-bottom: 1px solid #55c57a;
  padding: 3px;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.btn-text:hover {
  background-color: #55c57a;
  color: #fff;
  -webkit-box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
}

.btn-text:active {
  -webkit-transform: translateY(0);
  transform: translateY(0);
  -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  box-shadow: 0 0.5rem 1rem rgba(88, 23, 23, 0.15);
}

.btn-text:focus {
  outline: none;
  outline: 3px solid #55c57a;
  outline-offset: 3px;
}

/* Header container */
.header {
  width: 100%; /* Ensure the header spans the full width of the viewport */
  padding: 1.5rem 0; /* Add consistent vertical padding */
  background-color: #000; /* Black background */
  color: #fff; /* White text */
  display: flex;
  align-items: center; /* Vertically center elements */
}

.header .container {
  width: 1200px; /* Constrain content to 1200px */
  margin: 0 auto; /* Center the content horizontally */
  padding: 0 2rem; /* Add horizontal padding for smaller screens */
  display: flex;
  justify-content: space-between; /* Logo on the left, nav on the right */
  align-items: center; /* Vertically center items */
}

/* Logo */
.header__logo img {
  height: 3.5rem;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav__item {
  margin-left: 2rem;
}

.nav__el {
  color: #fff;
  text-decoration: none;
  font-size: 1.6rem;
  text-transform: none; /* Ensure proper capitalization */
  position: relative;
  display: inline-block;
  transition: all 0.2s;
}

.nav__el::after {
  content: '';
  position: absolute;
  bottom: -2px; /* Position the underline just below the text */
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ff7730; /* Orange underline */
  transition: width 0.3s ease-in-out;
}

.nav__el:hover::after {
  width: 100%; /* Expand the underline to match the text width */
}

/* Signup button */
.nav__el--cta {
  padding: 1rem 2rem;
  border: 1px solid #fff; /* White border */
  /* border-radius: 5px; */
  background-color: transparent;
  color: #fff;
  transition: all 0.2s;
}

/* Remove underline effect for the Sign Up button */
.nav__el--cta::after {
  content: none; /* Remove the underline pseudo-element */
}

.nav__el--cta:hover {
  background-color: #fff;
  color: #000;
}

/* Responsive Design */

/* Medium screens (tablets) */
@media (max-width: 768px) {
  .header .container {
    flex-direction: column; /* Stack items vertically */
    align-items: center;
  }

  .nav__list {
    flex-direction: column; /* Stack nav items vertically */
    align-items: center;
  }

  .nav__item {
    margin: 1rem 0;
  }

  .card-container {
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    grid-gap: 3rem; /* Reduce spacing between cards */
    padding: 0 1rem; /* Add smaller padding for the container */
  }

  .card {
    margin: 0 auto;
    width: 95%; /* Increase card width */
  }

  .card__header,
  .card__details,
  .card__footer {
    padding: 1.5rem; /* Reduce padding inside cards */
  }

  .card__sub-heading {
    font-size: 1.6rem; /* Adjust font size */
  }

  .card__text {
    font-size: 1.4rem; /* Adjust font size */
  }
}

/* Small screens (mobile phones) */
@media (max-width: 480px) {
  .header {
    padding: 1.5rem 1rem;
  }

  .header__logo img {
    height: 3rem;
  }

  .nav__el {
    font-size: 1.4rem;
  }

  .nav__el--cta {
    font-size: 1.4rem;
    padding: 0.8rem 1.5rem;
  }

  .card-container {
    grid-template-columns: 1fr; /* 1 column */
    grid-gap: 3rem; /* Adjust spacing */
    padding: 0 1rem; /* Add padding for smaller screens */
  }

  .card {
    width: 100%; /* Full width for smaller screens */
    margin: 0; /* Remove margin */
    box-shadow: none; /* Remove shadow for a cleaner look */
  }

  .card__header {
    padding: 0; /* Remove padding around the image */
  }

  .card__picture {
    clip-path: none; /* Remove the clipped border effect */
    height: auto; /* Let the image adjust naturally */
  }

  .card__details,
  .card__footer {
    padding: 1rem; /* Further reduce padding */
  }

  .card__sub-heading {
    font-size: 1.4rem; /* Smaller font size */
  }

  .card__text {
    font-size: 1.2rem; /* Smaller font size */
  }

  .card .btn {
    width: auto; /* Prevent the button from stretching */
    padding: 1rem 2rem; /* Adjust padding for smaller screens */
    font-size: 1.4rem; /* Adjust font size */
    display: block; /* Ensure proper centering */
    margin: 0 auto; /* Center the button */
  }

  .card .btn {
    width: auto; /* Prevent the button from stretching */
    padding: 1rem 2rem; /* Adjust padding for smaller screens */
    font-size: 1.4rem; /* Adjust font size */
    display: block; /* Ensure proper centering */
    margin: 0 auto; /* Center the button */
  }
}

/* Extra small screens (very small phones) */
@media (max-width: 360px) {
  .header {
    padding: 1.5rem 2rem;
  }

  .nav__el {
    font-size: 1rem;
  }

  .nav__el--cta {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }

  .header__logo img {
    height: 2.5rem;
  }

  .nav__user-img {
    height: 2.5rem;
    width: 2.5rem;
  }
}

/* For screens between 481px and 768px */
@media (max-width: 768px) and (min-width: 481px) {
  .card-container {
    grid-template-columns: 1fr; /* 1 column */
    grid-gap: 3rem; /* Adjust spacing */
    padding: 0 2rem; /* Add padding for smaller screens */
  }

  .card {
    width: 100%; /* Full width for this range */
    margin: 0 auto; /* Center the card */
    box-shadow: none; /* Remove shadow for a cleaner look */
  }

  .card__header {
    padding: 0; /* Remove padding around the image */
  }

  .card__picture {
    clip-path: none; /* Remove the clipped border effect */
    height: auto; /* Let the image adjust naturally */
  }

  .card__details,
  .card__footer {
    padding: 1.5rem; /* Adjust padding */
  }

  .card__sub-heading {
    font-size: 1.6rem; /* Adjust font size */
  }

  .card__text {
    font-size: 1.4rem; /* Adjust font size */
  }

  .card .btn {
    width: auto; /* Prevent the button from stretching */
    padding: 1rem 2rem; /* Adjust padding for smaller screens */
    font-size: 1.4rem; /* Adjust font size */
    display: block; /* Ensure proper centering */
    margin: 0 auto; /* Center the button */
  }
}

.section-header {
  position: relative;
  height: 38vw;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--section-rotate)),
    0 100%
  );
  -webkit-clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--section-rotate)),
    0 100%
  );
}

.header__hero {
  height: 100%;
}

.header__hero-img {
  -o-object-fit: cover;
  object-fit: cover;
  height: 100%;
  width: 100%;
  -o-object-position: 50% 25%;
  object-position: 50% 25%;
}

.header__hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  /* background-image: -webkit-gradient(
    linear,
    left top,
    right bottom,
    from(#7dd56f),
    to(#28b487)
  ); */
  /* background-image: linear-gradient(to right bottom, #7dd56f, #28b487); */
  opacity: 0.85;
}

.heading-box {
  position: absolute;
  bottom: 13vw;
  left: 50%;
  top: 35%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.heading-box__group {
  color: #f7f7f7;
  margin-top: 3rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.heading-box__detail {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.15);
}
.heading-box__detail svg {
  margin-right: 0.8rem;
}
.heading-box__detail:not(:last-child) {
  margin-right: 4rem;
}
.heading-box__icon {
  height: 2rem;
  width: 2rem;
  fill: currentColor;
  -webkit-filter: drop-shadow(0 0.75rem 0.5rem rgba(0, 0, 0, 0.25));
  filter: drop-shadow(0 0.75rem 0.5rem rgba(0, 0, 0, 0.25));
}

.section-description {
  display: flex;
  flex-direction: row; /* Default: side-by-side layout */
  justify-content: space-between; /* Add space between the sections */
  align-items: flex-start; /* Align items at the top */
  gap: 5rem; /* Add spacing between the sections */
  padding: 200px 10rem; /* Add 200px padding to the top and bottom, 10rem to the sides */
  background: #fff; /* Ensure a consistent white background */
  margin: 0; /* Remove unnecessary margins */
  clip-path: none; /* Remove diagonal cuts */
}

.section-description > * {
  flex: 1; /* Ensure equal width for both sections */
  padding: 3rem; /* Add consistent internal padding */
  background: #f7f7f7; /* Add a subtle background color for contrast */
  border-radius: 10px; /* Add rounded corners */
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
  display: flex;
  flex-direction: column; /* Ensure proper alignment of content */
  justify-content: center; /* Center content vertically */
}

/* Responsive Design: Stack sections vertically for screens smaller than 900px */
@media (max-width: 900px) {
  .section-description {
    flex-direction: column; /* Stack sections vertically */
    gap: 3rem; /* Adjust spacing between the sections */
    padding: 5rem 2rem; /* Adjust padding for smaller screens */
  }

  .section-description > * {
    flex: none; /* Remove equal width constraint */
    width: 100%; /* Ensure sections take full width */
  }
}

.description-box .description__text,
.overview-box__detail {
  font-size: 1.6rem; /* Adjust font size for readability */
  line-height: 1.8; /* Improve line spacing */
  margin-bottom: 2rem; /* Add spacing between paragraphs */
}

.description-box .description__text:last-child,
.overview-box__detail:last-child {
  margin-bottom: 0; /* Remove margin for the last element */
}

.description-box {
  height: inherit;
}

.description-box .description {
  margin-right: 0; /* Remove unnecessary margin */
}
.description-box .description__text {
  font-size: 1.6rem; /* Adjust font size for better readability */
  line-height: 1.8; /* Improve line spacing */
}
.description-box .description__text:not(:last-child) {
  margin-bottom: 2rem;
}

.overview-box {
  background-color: #f7f7f7; /* Ensure consistent background */
  padding: 2rem; /* Add padding for better spacing */
  border-radius: 5px; /* Add rounded corners */
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: inherit;
}

.overview-box,
.description-box {
  margin-top: -50px;
  padding-top: 150px;
}
.overview-box__group:not(:last-child) {
  margin-bottom: 7rem;
}
.overview-box__detail {
  font-size: 1.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-weight: 400;
}
.overview-box__detail svg {
  margin-right: 1.25rem;
}
.overview-box__detail:not(:last-child) {
  margin-bottom: 2.25rem;
}
.overview-box__icon {
  height: 2.25rem;
  width: 2.25rem;
  fill: #55c57a;
}
.overview-box__label {
  font-weight: 700;
  margin-right: 2.25rem;
  text-transform: uppercase;
  font-size: 1.4rem;
}
.overview-box__text {
  text-transform: capitalize;
}
.overview-box__img {
  border-radius: 50%;
  height: 3.5rem;
  margin-right: 1.25rem;
}

.section-pictures {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  clip-path: polygon(
    0 var(--section-rotate),
    100% 0,
    100% calc(100% - var(--section-rotate)),
    0 100%
  );
  -webkit-clip-path: polygon(
    0 var(--section-rotate),
    100% 0,
    100% calc(100% - var(--section-rotate)),
    0 100%
  );
  margin-top: calc(0px - var(--section-rotate));
  position: relative;
  z-index: 1000;
}

.picture-box__img {
  display: block;
  width: 100%;
  height: 110%;
  -o-object-fit: cover;
  object-fit: cover;
}
.picture-box__img--1 {
  padding-top: 15%;
}
.picture-box__img--2 {
  padding-bottom: 15%;
}
.picture-box__img--3 {
  padding-bottom: 27%;
}

.section-map {
  position: relative;
  background: #dbdbdc;
  margin-top: calc(0px - var(--section-rotate));
}

#map {
  position: relative;
  width: 100%;
  height: 500px;
  z-index: 0;
}

.marker {
  background-image: url('../img/pin.png');
  background-size: cover;
  width: 32px;
  height: 40px;
  cursor: pointer;
}

.mapboxgl-popup {
  max-width: 25rem;
}

.mapboxgl-popup-content {
  text-align: center;
  font-family: 'Lato', sans-serif;
  padding: 1.5rem !important;
  font-size: 1.4rem;
  -webkit-box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15) !important;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15) !important;
}

.section-reviews {
  margin-top: calc(0px - var(--section-rotate));
  padding: calc(5rem + var(--section-rotate)) 0;
  position: relative;
  z-index: 1000;
  background: -webkit-gradient(
    linear,
    left top,
    right bottom,
    from(#7dd56f),
    to(#28b487)
  );
  background: linear-gradient(to right bottom, grey, black, black);
  clip-path: polygon(
    0 var(--section-rotate),
    100% 0,
    100% calc(100% - var(--section-rotate)),
    0 100%
  );
  -webkit-clip-path: polygon(
    0 var(--section-rotate),
    100% 0,
    100% calc(100% - var(--section-rotate)),
    0 100%
  );
}

.reviews {
  padding: 5rem 0;
  display: grid;
  grid-column-gap: 6rem;
  grid-auto-flow: column;
  overflow-x: scroll;
  -ms-scroll-snap-type: x mandatory;
  scroll-snap-type: x mandatory;
}
.reviews__card {
  width: 30rem;
  padding: 4rem;
  background-color: #f7f7f7;
  border-radius: 3px;
  -webkit-box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.15);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.15);
  scroll-snap-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.reviews:before,
.reviews:after {
  content: '';
  width: 2rem;
}
.reviews__avatar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 2rem;
}
.reviews__avatar-img {
  height: 4.5rem;
  border-radius: 50%;
  margin-right: 1.5rem;
}
.reviews__user {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
}
.reviews__text {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-style: italic;
  font-weight: 400;
}
.reviews__rating {
  margin-top: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.reviews__star {
  height: 2rem;
  width: 2rem;
  margin-right: 1px;
}
.reviews__star--active {
  fill: #55c57a;
}
.reviews__star--inactive {
  fill: #bbb;
}

.section-cta {
  margin-top: calc(0px - var(--section-rotate));
  padding: 3rem;
  padding-bottom: 11rem;
  padding-top: calc(15rem + var(--section-rotate));
  background-color: #f7f7f7;
}

.cta {
  position: relative;
  max-width: 105rem;
  margin: 0 auto;
  overflow: hidden;
  background-color: #fff;
  padding: 9rem 5rem 9rem 21rem;
  border-radius: 2rem;
  -webkit-box-shadow: 0 3rem 8rem 0.5rem rgba(0, 0, 0, 0.15);
  box-shadow: 0 3rem 8rem 0.5rem rgba(0, 0, 0, 0.15);
}
.cta__img {
  height: 15rem;
  width: 15rem;
  position: absolute;
  left: 0;
  top: 50%;
  border-radius: 50%;
  -webkit-box-shadow: 1rem 0.5rem 3rem rgba(0, 0, 0, 0.15);
  box-shadow: 1rem 0.5rem 3rem rgba(0, 0, 0, 0.15);
}
.cta__img--logo {
  padding: 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background: -webkit-gradient(
    linear,
    left top,
    right bottom,
    from(#7dd56f),
    to(#28b487)
  );
  background: linear-gradient(to right bottom, #7dd56f, #28b487);
  z-index: 10;
  -webkit-transform: translate(-35%, -50%);
  transform: translate(-35%, -50%);
}
.cta__img--logo img {
  width: 100%;
}
.cta__img--1 {
  -webkit-transform: translate(-10%, -50%) scale(0.97);
  transform: translate(-10%, -50%) scale(0.97);
  z-index: 9;
}
.cta__img--2 {
  -webkit-transform: translate(15%, -50%) scale(0.94);
  transform: translate(15%, -50%) scale(0.94);
  z-index: 8;
}
.cta__content {
  display: grid;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr auto;
  grid-gap: 0.7rem;
  grid-auto-flow: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.cta__text {
  font-size: 1.9rem;
  font-weight: 400;
}

/* Fix the bottom box for mobile views */
@media (max-width: 768px) {
  .section-cta {
    margin-top: 20px;
    padding: 3rem 2rem; /* Adjust padding for better spacing */
    text-align: center; /* Center-align the content */
  }
  .cta__img--1,
  .cta__img--2,
  .cta__img--logo {
    display: none; /* Hide the images for mobile */
  }

  .cta {
    display: flex;
    flex-direction: column; /* Stack content vertically */
    align-items: center; /* Center-align items */
    gap: 2rem; /* Add spacing between elements */
    padding: 2rem; /* Add padding inside the box */
    background-color: #fff; /* Ensure a clean background */
    border-radius: 10px; /* Add rounded corners */
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1); /* Subtle shadow */
  }

  .cta__content {
    display: inline;
  }

  .cta__text {
    font-size: 1.6rem; /* Adjust font size for readability */
    line-height: 1.5; /* Improve line spacing */
    margin-bottom: 1.5rem; /* Add spacing below the text */
  }

  .btn--green {
    width: 100%; /* Make the button full-width */
    max-width: 300px; /* Limit the button width */
    padding: 1.5rem; /* Adjust padding for better appearance */
    font-size: 1.6rem; /* Adjust font size */
    margin: 20px 0; /* Add top and bottom margin */
  }
}

.user-view {
  background-color: #fff;
  max-width: 120rem;
  margin: 0 auto;
  min-height: 100vh;
  border-radius: 3px;
  overflow: hidden;
  -webkit-box-shadow: 0 2.5rem 8rem 2rem rgba(0, 0, 0, 0.07);
  box-shadow: 0 2.5rem 8rem 2rem rgba(0, 0, 0, 0.07);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.user-view__menu {
  -webkit-box-flex: 32rem;
  -ms-flex: 32rem 0 0px;
  flex: 32rem 0 0;
  background-image: -webkit-gradient(
    linear,
    left top,
    right bottom,
    from(#7dd56f),
    to(#28b487)
  );
  background-image: linear-gradient(to right bottom, #7dd56f, #28b487);
  padding: 4rem 0;
  display: block;
}

.user-view__tabs {
  display: none;
}

/* Responsive styles for smaller screens */
@media (max-width: 768px) {
  .user-view__menu {
    display: none; /* Hide the sidebar */
  }

  .user-view__tabs {
    display: flex;
    justify-content: space-around;
    background-color: #f7f7f7;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
  }

  .user-view__tabs .tab {
    cursor: pointer;
    font-size: 1rem;
    color: #333;
  }

  .user-view__tabs .tab.active {
    font-weight: bold;
    color: #55c57a;
  }

  .user-view__form-container {
    display: none;
  }

  .user-view__form-container.active {
    display: block;
  }
  main {
    padding: 10rem 0rem !important;
  }
}

.user-view__content {
  width: 100%; /* Full width */
  padding: 5rem 2rem; /* Add padding for spacing */
  margin: 0 auto; /* Center the content */
  background-color: #f7f7f7; /* Grey background */
  box-sizing: border-box; /* Include padding in width calculation */
}

.user-view__form-container {
  max-width: 68rem; /* Constrain the content width */
  margin: 0 auto; /* Center the form */
  padding: 3rem; /* Add internal padding */
  background-color: #fff; /* White background for the form */
  border-radius: 5px; /* Add rounded corners */
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Desktop view adjustments */
@media (min-width: 769px) {
  .user-view__content {
    width: auto; /* Default width */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
    background-color: transparent; /* No grey background */
  }

  .user-view__form-container {
    max-width: none; /* Allow full width */
    padding: 0; /* Remove internal padding */
    background-color: transparent; /* No white background */
    box-shadow: none; /* Remove shadow */
  }
}

.footer {
  color: #000;
  background-color: #f7f7f7;
  padding: 3rem 0;
}

.footer .container {
  display: flex;
  /* flex-direction: column; */
  align-items: center;
}

.footer__nav {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 2rem 0;
  padding: 0;
}

.footer__nav li {
  margin: 0 1.5rem;
}

.footer__nav a {
  text-decoration: none;
  color: #777;
  font-size: 1.6rem; /* Match the nav bar font size */
  transition: color 0.2s;
}

/* Footer logo */
.footer__logo {
  margin-bottom: 2rem;
}

.footer__logo img {
  height: 3rem;
}

/* Footer copyright */
.footer__copyright {
  font-size: 1.6rem; /* Match the nav bar font size */
  color: #777;
}

/* Responsive Design */

/* Medium screens (tablets) */
@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__nav {
    flex-direction: column; /* Stack items vertically */
    align-items: center;
  }

  .footer__nav li {
    margin: 1rem 0; /* Add spacing between items */
  }
}

/* Small screens (mobile phones) */
@media (max-width: 480px) {
  .footer {
    padding: 2rem 1rem;
  }

  .footer__logo img {
    height: 2.5rem;
  }

  .footer__nav a {
    font-size: 1.2rem;
  }

  .footer__copyright {
    font-size: 1rem;
  }
}

/* Extra small screens (very small phones) */
@media (max-width: 360px) {
  .footer {
    padding: 0.8rem 1.5rem;
  }

  .footer__logo img {
    height: 1.8rem;
  }

  .footer__copyright {
    font-size: 0.9rem;
  }
}

/* Desktop views (logo on the left) */
@media (min-width: 1024px) {
  .footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .footer__logo {
    margin-bottom: 0;
  }

  .footer__nav {
    flex-direction: row;
    margin-bottom: 0;
  }

  .footer__copyright {
    text-align: right;
  }
}

/* Footer styles */
.footer {
  background-color: #000 !important; /* Black background */
  color: #fff; /* White text for contrast */
  padding: 3rem 0;
  text-align: center;
}

.footer__nav a {
  color: white !important; /* White text for links */
  text-decoration: none;
  font-size: 1.6rem !important;
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: #55c57a; /* Green hover effect */
}

.footer__copyright {
  font-size: 1.2rem;
  color: white !important; /* White text for copyright */
}

.nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
@media only screen and (max-width: 37.5em) {
  .nav {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}
.nav--tours {
  -webkit-box-flex: 0;
  -ms-flex: 0 1 40%;
  flex: 0 1 40%;
}
@media only screen and (max-width: 62.5em) {
  .nav--tours {
    margin-bottom: 1.5rem;
  }
}
@media only screen and (max-width: 37.5em) {
  .nav--tours {
    margin-bottom: 0;
  }
}
.nav--user {
  -webkit-box-flex: 0;
  -ms-flex: 0 1 40%;
  flex: 0 1 40%;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.nav__el,
.nav__el:link,
.nav__el:visited {
  color: #f7f7f7;
  /* text-transform: uppercase; */
  font-size: 1.6rem;
  text-decoration: none;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  font-weight: 400;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.nav__el:hover,
.nav__el:active {
  text-shadow: 0 0.7rem 1rem black;
}
.nav__el:not(:last-child) {
  margin-right: 3rem;
}
@media only screen and (max-width: 37.5em) {
  .nav__el:not(:last-child) {
    margin-right: 0;
    margin-bottom: 1.2rem;
  }
}
.nav__el:focus {
  outline: none;
}
.nav__el--cta {
  padding: 1rem 3rem;
  border-radius: 10rem;
  border: 1px solid currentColor !important;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.nav__el--cta:hover {
  background-color: #f7f7f7;
  color: #777;
  text-shadow: none;
  border-color: #f7f7f7;
}
.nav__search {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
@media only screen and (max-width: 37.5em) {
  .nav__search {
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
    margin-bottom: 1.2rem;
  }
}
.nav__search-btn {
  background: none;
  border: none;
  margin-right: 0.8rem;
  -webkit-transform: translateY(1px);
  transform: translateY(1px);
}
.nav__search-btn svg {
  height: 2rem;
  width: 2rem;
  fill: #f7f7f7;
}
.nav__search-input {
  font-family: inherit;
  font-weight: inherit;
  text-transform: uppercase;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #f7f7f7;
  padding-bottom: 3px;
  border-bottom: 1px solid #999;
  width: 18rem;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.nav__search-input::-webkit-input-placeholder {
  color: #999;
}
.nav__search-input:-ms-input-placeholder {
  color: #999;
}
.nav__search-input::-ms-input-placeholder {
  color: #999;
}
.nav__search-input::placeholder {
  color: #999;
}
.nav__search-input:focus {
  outline: none;
  width: 25rem;
  border-bottom: 1px solid currentColor;
}
.nav__user-img {
  height: 3.5rem;
  width: 3.5rem;
  border-radius: 50%;
  margin-right: 1rem;
}

/* Remove underline effect from profile picture and name */
.nav__user {
  display: flex; /* Use Flexbox for alignment */
  align-items: center; /* Vertically center the children */
  text-decoration: none; /* Remove underline */
  color: inherit; /* Keep the text color consistent */
  padding-top: 5px; /* Add padding to adjust vertical alignment */
}

.nav__user:hover {
  text-decoration: none; /* Ensure no underline appears on hover */
  color: inherit; /* Prevent color change on hover */
}

.nav__user::after {
  content: none; /* Remove the underline pseudo-element */
}

.side-nav {
  list-style: none;
}
.side-nav li {
  margin: 1rem 0;
  border-left: 0 solid #fff;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.side-nav--active,
.side-nav li:hover {
  border-left: 4px solid #fff !important;
}
.side-nav--active a {
  -webkit-transform: translateX(-3px);
  transform: translateX(-3px);
}
.side-nav a:link,
.side-nav a:visited {
  padding: 1rem 4rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #fff;
  font-size: 1.5rem;
  text-transform: uppercase;
  font-weight: 400;
  text-decoration: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.side-nav a:hover,
.side-nav a:active {
  -webkit-transform: translateX(3px);
  transform: translateX(3px);
}
.side-nav svg {
  height: 1.9rem;
  width: 1.9rem;
  fill: #f7f7f7;
  margin-right: 2rem;
}

.admin-nav {
  margin-top: 5.5rem;
}
.admin-nav__heading {
  margin: 0 5rem 1.5rem 4rem;
  padding-bottom: 3px;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #f2f2f2;
  border-bottom: 1px solid currentColor;
}

.card-container {
  max-width: 120rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 7rem;
}

.card {
  border-radius: 3px;
  overflow: hidden;
  -webkit-box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.1);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.1);
  background-color: #fff;
  -webkit-transition: 0.3s all;
  transition: 0.3s all;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
.card__header {
  position: relative;
}
.card__picture {
  position: relative;
  -webkit-clip-path: polygon(0 0, 100% 0%, 100% 83%, 0% 98%);
  clip-path: polygon(0 0, 100% 0%, 100% 83%, 0% 98%);
  height: 22rem;
}
.card__picture-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  /* background-image: -webkit-gradient(
    linear,
    left top,
    right bottom,
    from(#7dd56f),
    to(#28b487)
  );
  /* background-image: linear-gradient(to right bottom, #7dd56f, #28b487); */
  opacity: 0.7;
}
.card__picture-img {
  -o-object-fit: cover;
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.card__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-row-gap: 1.75rem;
  grid-column-gap: 2rem;
  padding: 2.5rem 3rem;
}
.card__sub-heading {
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 700;
  grid-column: 1 / -1;
}
.card__text {
  grid-column: 1 / -1;
  font-size: 1.5rem;
  font-style: italic;
  margin-top: -1rem;
  margin-bottom: 0.75rem;
}
.card__data {
  font-size: 1.3rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.card__data svg {
  margin-right: 0.7rem;
}
.card__icon {
  height: 2rem;
  width: 2rem;
  fill: #55c57a;
}
.card__footer {
  background-color: #f7f7f7;
  padding: 2.5rem 3rem;
  border-top: 1px solid #f1f1f1;
  font-size: 1.4rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
  margin-top: auto;
}
.card__footer-value {
  font-weight: 700;
}
.card__footer-text {
  color: #999;
}
.card__ratings {
  grid-row: 2 / 3;
}
.card .btn-small,
.card .btn {
  grid-row: 1 / 3;
  justify-self: end;
  -ms-flex-item-align: center;
  align-self: center;
}

.card__details h2 {
  white-space: normal; /* Allow text to wrap to the next line if needed */
  overflow: visible; /* Allow text to overflow into the white space */
  font-size: 1.8rem; /* Adjust font size */
  color: black; /* Ensure the text is black */
}

/* For tablets and smaller screens */
@media (max-width: 768px) {
  .card-container {
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    grid-gap: 5rem; /* Adjust spacing */
    padding: 0 2rem; /* Add padding for smaller screens */
  }

  .card {
    margin: 0 auto;
    width: 90%; /* Reduce card width */
  }

  /* .card__header,
  .card__details,
  .card__footer {
    padding: 1.5rem; 
  } */

  .card__sub-heading {
    font-size: 1.6rem; /* Adjust font size */
  }

  .card__text {
    font-size: 1.4rem; /* Adjust font size */
  }
}

/* For mobile phones */
@media (max-width: 480px) {
  .card-container {
    grid-template-columns: 1fr; /* 1 column */
    grid-gap: 3rem; /* Adjust spacing */
    padding: 0 1rem; /* Add padding for smaller screens */
  }

  .card {
    width: 100%; /* Full width for smaller screens */
    margin: 0; /* Remove margin */
    box-shadow: none; /* Remove shadow for a cleaner look */
  }

  .card__header {
    padding: 0; /* Remove padding around the image */
  }

  .card__picture {
    clip-path: none; /* Remove the clipped border effect */
    height: auto; /* Let the image adjust naturally */
  }

  .card__details,
  .card__footer {
    padding: 1rem; /* Further reduce padding */
  }

  .card__sub-heading {
    font-size: 1.4rem; /* Smaller font size */
  }

  .card__text {
    font-size: 1.2rem; /* Smaller font size */
  }

  .card .btn {
    width: auto; /* Prevent the button from growing */
    padding: 1rem 2rem; /* Adjust padding for smaller screens */
    font-size: 1.4rem; /* Adjust font size */
  }

  .card .btn {
    width: auto; /* Prevent the button from stretching */
    padding: 1rem 2rem; /* Adjust padding for smaller screens */
    font-size: 1.4rem; /* Adjust font size */
    display: block; /* Ensure proper centering */
    margin: 0 auto; /* Center the button */
  }
}

/* Default: 3 columns for larger screens */
.card-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  grid-gap: 7rem; /* Default gap */
  max-width: 120rem;
  margin: 0 auto;
}

/* For screens 1000px and smaller: 2 columns */
@media (max-width: 1000px) {
  .card-container {
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    grid-gap: 5rem; /* Adjust gap for smaller screens */
    padding: 0 2rem; /* Add padding for smaller screens */
  }
}

/* For screens 768px and smaller: 1 column */
@media (max-width: 768px) {
  .card-container {
    grid-template-columns: 1fr; /* 1 column */
    grid-gap: 3rem; /* Adjust gap for smaller screens */
    padding: 0 1rem; /* Add padding for smaller screens */
  }
}

.error {
  position: absolute;
  top: 35%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  max-width: 80rem;
  text-align: center;
}
.error__title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.error__emoji {
  font-size: 3.75rem;
  margin-left: 1rem;
}
.error__msg {
  font-size: 2.5rem;
  font-weight: 700;
  max-width: 50rem;
  margin: 0 auto;
}

.login-form {
  margin: 0 auto;
  max-width: 55rem;
  background-color: #fff;
  -webkit-box-shadow: 0 2.5rem 8rem 2rem rgba(0, 0, 0, 0.06);
  box-shadow: 0 2.5rem 8rem 2rem rgba(0, 0, 0, 0.06);
  padding: 5rem 7rem;
  border-radius: 5px;
}

.form__input {
  display: block;
  font-family: inherit;
  font-size: 1.5rem;
  color: inherit;
  padding: 1.25rem 1.75rem;
  border: none;
  width: 100%;
  background-color: #fff;
  background-color: #f2f2f2;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border-radius: 4px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  /* Pseudo element (a visible thing that isn't really in the DOM).
      Also needs -ms- */
}
.form__input:focus {
  outline: none;
  border-bottom: 3px solid #55c57a;
}
.form__input:focus:invalid {
  border-bottom: 3px solid #ff7730;
}
.form__input::-webkit-input-placeholder {
  color: #bbb;
}

.form__group {
  width: 100%;
}

.form__group center-content {
  text-align: center;
}
/* Style for wider inputs */
.form__input {
  padding: 1.25rem 1.75rem; /* Add padding for better spacing */
  font-size: 1.6rem; /* Adjust font size */
  border: none; /* Remove border */
  border-bottom: 1px solid #ddd; /* Add a subtle bottom border */
  background-color: #f9f9f9; /* Light background color */
  border-radius: 0; /* Remove border radius */
  margin-bottom: 2rem; /* Add spacing below inputs */
}

/* Remove separator styles */
/* hr.separator {
  display: none;
} */

/* only target first child */
.file-name-centered {
  display: grid; /* Ensure the parent is a grid container */
  justify-self: center; /* Center the element horizontally */
  text-align: center; /* Align text to the center */
}

.form__group:not(:last-child) {
  margin-bottom: 2.5rem;
}

.form__label {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.form__photo-upload {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 1.6rem;
}

.form__user-photo {
  height: 7.5rem;
  width: 7.5rem;
  border-radius: 50%;
  margin-right: 2rem;
}

.form__upload {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.form__upload:focus + label {
  outline: 3px solid #55c57a;
  outline-offset: 3px;
}

.form__upload + label {
  color: #55c57a;
  display: inline-block;
  text-decoration: none;
  border-bottom: 1px solid #55c57a;
  padding: 3px;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  cursor: pointer;
}
.form__upload + label:hover {
  background-color: #55c57a;
  color: #fff;
  -webkit-box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
}

/* Center the form in a white box */
.form-container {
  margin: 0 auto;
  max-width: 55rem; /* Same width as the login form */
  background-color: #fff; /* White background */
  box-shadow: 0 2.5rem 8rem 2rem rgba(0, 0, 0, 0.06); /* Subtle shadow */
  padding: 5rem 7rem; /* Same padding as the login form */
  border-radius: 5px; /* Rounded corners */
}

.form {
  display: flex;
  flex-direction: column;
  width: 100%; /* Ensure consistent width */
}

.form__group {
  margin-bottom: 2rem;
}

.form__input {
  width: 100%; /* Ensure consistent width */
  padding: 1.5rem;
  font-size: 1.4rem;
  border: none; /* Remove border */
  border-bottom: 1px solid #ddd; /* Add a subtle bottom border */
  border-radius: 0; /* Remove border radius */
  background-color: #f9f9f9;
}

.form__input:focus {
  outline: none;
  border-bottom: 2px solid #55c57a; /* Highlight bottom border on focus */
  background-color: #fff;
}

/* Footer container */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center !important;
  justify-content: center;
  padding: 3rem 2rem;
  background-color: #f7f7f7;
  text-align: center;
}

/* Footer logo */
.footer__logo {
  margin-bottom: 2rem;
}

.footer__logo img {
  height: 3rem;
}

/* Footer navigation */
.footer__nav {
  display: flex;
  justify-content: center;
  list-style: none;
  margin-bottom: 2rem;
  padding: 0;
}

.footer__nav li {
  margin: 0 1.5rem;
}

.footer__nav a {
  text-decoration: none;
  color: #777;
  font-size: 1.6rem; /* Match the nav bar font size */
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: #55c57a;
}

/* Footer copyright */
.footer__copyright {
  font-size: 1.6rem; /* Match the nav bar font size */
  color: #777;
}

/* Responsive Design */

/* Medium screens (tablets) */
@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__nav {
    flex-direction: column; /* Stack items vertically */
    align-items: center;
  }

  .footer__nav li {
    margin: 1rem 0; /* Add spacing between items */
  }

  .form-container,
  .login-form {
    padding: 3rem; /* Reduce padding */
    max-width: 90%; /* Adjust width for smaller screens */
  }

  .btn--green {
    width: 100%; /* Full-width button */
    text-align: center;
  }
}

/* Small screens (mobile phones) */
@media (max-width: 480px) {
  .footer {
    padding: 2rem 1rem;
  }

  .footer__logo img {
    height: 2.5rem;
  }

  .footer__nav a {
    font-size: 1.2rem;
  }

  .footer__copyright {
    font-size: 1rem;
  }

  .form-container,
  .login-form {
    padding: 2rem; /* Further reduce padding */
  }

  .btn--green {
    font-size: 1.4rem; /* Smaller font size */
  }
}

/* Extra small screens (very small phones) */
@media (max-width: 360px) {
  .footer {
    padding: 0.8rem 1.5rem;
  }

  .footer__logo img {
    height: 1.8rem;
  }

  .footer__copyright {
    font-size: 0.9rem;
  }
}

/* Desktop views (logo on the left) */
@media (min-width: 1024px) {
  .footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .footer__logo {
    margin-bottom: 0;
  }

  .footer__nav {
    flex-direction: row;
    margin-bottom: 0;
  }

  .footer__copyright {
    text-align: right;
  }
}

.form-container,
.login-form {
  width: 100%;
  max-width: 50rem; /* Limit the form width */
  padding: 4rem 5rem; /* Add padding for spacing */
  background-color: #fff; /* White background */
  border-radius: 5px; /* Rounded corners */
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.form-container,
.signup-form {
  margin-top: 80px;
  margin-bottom: 120px;
}

/* Ensure the top container image is fully visible on mobile */
@media (max-width: 768px) {
  .section-header {
    height: auto; /* Allow the image to adjust naturally */
    clip-path: none; /* Remove clipping for mobile views */
    -webkit-clip-path: none;
  }

  .header__hero-img {
    object-position: center; /* Center the image */
    height: auto; /* Adjust height naturally */
  }

  .heading-box {
    top: auto; /* Adjust positioning */
    bottom: 5%; /* Add spacing from the bottom */
    transform: translate(-50%, 0); /* Center horizontally */
  }
  .heading-primary span {
    font-size: 3rem; /* Adjust font size for mobile */
    display: inline-block; /* Ensure it wraps correctly */
  }
  .heading-box__group {
    font-size: 2.5rem; /* Adjust font size for mobile */
    line-height: 1.3; /* Improve line spacing */
    margin-top: 0;
  }
}

/* Add more spacing between sections for mobile */
@media (max-width: 768px) {
  .section-description {
    /* padding: 2rem 5vw; */
    margin-top: 50px;
    gap: 3rem; /* Add more spacing between sections */
  }

  .section-description > * {
    padding: 2rem; /* Add internal padding */
  }

  .description-box {
    margin-bottom: 3rem; /* Add spacing below the description box */
  }
}

/* Ensure the text is inside the image */
@media (max-width: 768px) {
  .section-header {
    position: relative;
    height: auto; /* Allow the image to adjust naturally */
    clip-path: none; /* Remove clipping for mobile views */
    -webkit-clip-path: none;
  }

  .header__hero-img {
    object-position: center; /* Center the image */
    height: auto; /* Adjust height naturally */
    width: 100%; /* Ensure the image spans the full width */
  }

  .heading-box {
    position: absolute;
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust for centering */
    text-align: center; /* Center text */
    color: #fff; /* Ensure text is visible on the image */
    z-index: 10; /* Ensure it appears above the image */
    padding: 1rem; /* Add padding for better spacing */
  }

  .heading-box__group {
    font-size: 2rem; /* Adjust font size for mobile */
    line-height: 1.3; /* Improve line spacing */
  }

  .heading-box__detail {
    font-size: 1.5rem; /* Adjust detail font size */
    margin-top: 1rem; /* Add spacing between text elements */
  }
}

.alert {
  padding: 1rem 2rem;
  margin-bottom: 2rem;
  border-radius: 5px;
  font-size: 1.4rem;
  text-align: center;
}

.alert--success {
  background-color: #28a745;
  color: #fff;
}

.alert--error {
  background-color: #dc3545;
  color: #fff;
}

/* Email Verified Page Styles */
.email-verified-page {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Full viewport height */
  background-color: #f7f7f7; /* Match the background color of the project */
  text-align: center;
}

.email-verified-page .container {
  max-width: 60rem; /* Constrain the width */
  background-color: #fff; /* White background for the container */
  padding: 4rem 6rem; /* Add padding for spacing */
  border-radius: 5px; /* Rounded corners */
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.email-verified-page .heading-primary {
  font-size: 3rem; /* Adjust font size */
  margin-bottom: 2rem; /* Add spacing below the heading */
  color: #28b487; /* Match the green color used in the project */
}

.email-verified-page .paragraph {
  font-size: 1.6rem; /* Adjust font size for readability */
  color: #777; /* Subtle text color */
  margin-bottom: 3rem; /* Add spacing below the paragraph */
}

.email-verified-page .btn--green {
  padding: 1.5rem 3rem; /* Adjust button padding */
  font-size: 1.6rem; /* Adjust font size */
  text-transform: uppercase; /* Ensure consistent button text style */
}

/* Profile Picture Upload Styles */
#upload-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

#photo {
  display: none; /* Hide the default file input */
}

label[for='photo'] {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.6rem;
  color: #fff;
  background-color: #28b487;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
}

label[for='photo']:hover {
  background-color: #55c57a;
}

.profile-picture {
  width: 10rem;
  height: 10rem;
  border-radius: 50%; /* Make it circular */
  overflow: hidden;
  margin: 2rem auto;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.1);
}

.profile-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure the image fits inside the circle */
}

/* #file-name {
  font-size: 1.4rem;
  margin-top: 0.5rem;
  color: #555; 
  display: block;
  text-align: center;
} */

/* Center the Save Password button */
#password-form .btn--green {
  display: block; /* Ensure the button behaves like a block element */
  margin: 5rem auto; /* Center horizontally and add vertical spacing */
  text-align: center; /* Center the text inside the button */
}

.file-upload-label {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

#file-name {
  font-size: 1.4rem;
  margin: 0.5rem auto;
  color: #555; /* Default text color */
  text-align: center;
}

.file-name.invalid {
  color: #dc3545; /* Red color for invalid files */
}

/* Hide sidebar and show tabs in mobile views */
.hidden-mobile {
  display: block;
}

.visible-mobile {
  display: none;
}

@media (max-width: 768px) {
  .user-view {
    display: flex;
    flex-direction: column;
  }
  .hidden-mobile {
    display: none; /* Hide sidebar in mobile views */
  }

  .visible-mobile {
    display: block; /* Show tabs in mobile views */
    padding: 0;
  }

  /* Remove bullet points from tabs */
  .tabs {
    list-style: none; /* Remove default list styling */
    display: flex;
    background-color: #fff;
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
  }

  .tab {
    cursor: pointer;
    font-size: 1.4rem;
    color: #333;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border-radius: 5px 5px 0 0;
    transition: all 0.3s;

    /* Flexbox for vertical centering */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .tab.active {
    font-weight: bold;
    background: linear-gradient(
      to right,
      #7dd56f,
      #28b487
    ); /* Natours gradient */
    color: #fff !important;
    border-bottom: none;
  }

  .user-view__content {
    width: 100%;
    padding: 5rem 0;
    margin: 0;
    box-sizing: border-box;
  }
}

/* Hide inactive tab content */
.user-view__form-container {
  display: none; /* Hide by default */
}

/* Show active tab content */
.user-view__form-container.active {
  display: block; /* Show when active */
}

/* Ensure tabs take full width */
.user-view__tabs {
  width: 100%; /* Full width */
  list-style: none; /* Remove default list styling */
  display: flex;
  justify-content: space-around;
  border-bottom: 1px solid #ddd;
}

/* Ensure tab content takes full width */
.user-view__content {
  width: 100%; /* Full width */
  padding: 0; /* Add padding for spacing */
  margin: 0; /* Remove default margin */
  background-color: #f7f7f7; /* Grey background */
  box-sizing: border-box; /* Include padding in width calculation */
}

/* Ensure form containers are centered and constrained */
.user-view__form-container {
  margin: 0 auto; /* Center the form */
  padding: 3rem; /* Add internal padding */
  background-color: #fff; /* White background for the form */
}

/* Mobile view adjustments */
@media (max-width: 768px) {
  /* .user-view__menu {
    display: none; 
  } */

  .user-view__tabs {
    display: flex; /* Show tabs in mobile view */
    flex-direction: column; /* Stack tabs vertically */
    height: fit-content;
  }
}

/* Desktop view adjustments */
@media (min-width: 769px) {
  .user-view__menu {
    display: block; /* Show the sidebar in desktop view */
  }

  /* .user-view__tabs {
    display: none; 
  } */

  .user-view__content {
    background-color: transparent; /* No grey background */
  }
}

/* Center the button in the Name and Email Update Form */
#save-changes-form .btn {
  display: block; /* Make the button a block element */
  margin: 2rem auto; /* Center the button horizontally and add vertical spacing */
  text-align: center; /* Ensure the text inside the button is centered */
  width: fit-content;
}

/* Hide inactive sections */
.user-view__form-container {
  display: none; /* Hide by default */
}

/* Show the active section */
.user-view__form-container.active {
  display: block; /* Show when active */
}

/* Highlight the active sidebar link */
.side-nav--active {
  border-left: 4px solid #fff; /* Highlight the active link */
}

.side-nav--active a {
  font-weight: bold;
  color: #fff;
}

/* Hide mobile tabs in desktop views */
@media (min-width: 769px) {
  .user-view__tabs {
    display: none; /* Hide mobile tabs in desktop view */
  }
}

/* Show mobile tabs in mobile views */
@media (max-width: 768px) {
  .user-view__tabs {
    display: flex; /* Show mobile tabs in mobile view */
    justify-content: space-around;
    background-color: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
  }

  .tab {
    cursor: pointer;
    font-size: 1.4rem;
    color: #333;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border-radius: 5px 5px 0 0;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .tab.active {
    font-weight: bold;
    background: linear-gradient(
      to right,
      #7dd56f,
      #28b487
    ); /* Natours gradient */
    color: #fff !important;
    border-bottom: none;
  }
}
