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

::-moz-selection {
  background-color: #445276;
  color: #fff;
}

::selection {
  background-color: #445276;
  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 {
  background-color: #f7f7f7;
  line-height: 1.6;
  font-weight: 300;
  font-family: 'Lato', sans-serif;
  color: #777;
  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;
}

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

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

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

.container {
  max-width: 120rem;
  margin: 0 auto;
}

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

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

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

.line {
  margin: 6rem 0;
  width: 100%;
  height: 1px;
  background-color: #e0e0e0;
}

.alert {
  position: fixed;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 9999;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 400;
  text-align: center;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  padding: 1.6rem 15rem;
  -webkit-box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.25);
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.25);
}
.alert--success {
  background-color: rgb(80, 214, 102);
}
.alert--error {
  background-color: #445276;
}

.heading-secondary {
  font-size: 2.25rem;
  text-transform: uppercase;
  font-weight: 700;
  background-image: -webkit-gradient(
    linear,
    left top,
    right top,
    from(#f58f8e),
    to(#445276)
  );
  background-image: linear-gradient(to right, #f58f8e, #445276);
  -webkit-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(#445276),
    to(#445276)
  );
  background-image: linear-gradient(to right, #445276, #445276);
  font-size: 3.5rem;
}

.heading-tour {
  text-align: center;
  margin: 2rem 0 1rem;
}

.heading-tour span {
  font-size: 3.6rem;
  color: #0b0b45;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.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;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1em;
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* Text shadow for contrast */
  padding: 20px;
  border-radius: 10px;
}
.heading-primary {
  font-size: 5rem;
  text-align: center;
  width: 70%;
  margin: 0 auto;
}

.heading-tertirary {
  font-size: 2.5rem;
  text-align: right;
  position: absolute;
  bottom: -2rem;
  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;
  border: none;
  cursor: pointer;
}

.btnl,
.btnl:link,
.btnl:visited {
  font-size: 1.5rem;
  color: #000000;
  margin-top: 4.5rem;
  margin-bottom: 4.5rem;
  padding: 3.4rem 3rem;
  border-radius: 10rem;
  background-color: #f7f7f7;
  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;
  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: #445276;
}

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

.btn--green {
  background-color: #206387;
  color: #fff;
}
.btn--green::after {
  background-color: #206387;
}

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

.btn-small,
.btn-small:link,
.btn-small:visited {
  background-color: #206387;
  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: #445276;
}

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

.btn-text:hover {
  background-color: #445276;
  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(0, 0, 0, 0.15);
}

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

.header {
  background-color: #334445;
  padding: 0 5rem;
  top: 0;
  height: 8rem;
  position: sticky;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
@media only screen and (max-width: 62.5em) {
  .header {
    position: static;
    flex-direction: column;
  }
}
.header__logo img {
  height: 7.5rem;
  width: 7.5rem;
  margin-top: 2rem;
}
@media only screen and (max-width: 62.5em) {
  .header__logo {
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
    margin-bottom: 1.5rem;
  }
}

/* Section improvements */
.recommendations-section,
.recommendations-overview {
  background: #f7f7f7;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 2.5rem 2rem;
  margin-bottom: 3rem;
}

.recommendations-section:empty {
  display: none;
}

.main--overview {
  padding: 2rem 6rem 8rem;
}
.heading-secondary {
  color: var(--primary-dark);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}
.heading-tertiary {
  color: var(--primary);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* User view improvements */
.user-view__menu {
  background: var(--gray-light);
  border-radius: var(--card-radius);
  padding: 2rem 1rem;
  margin-bottom: 2rem;
}
.side-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.side-nav--active a {
  background: var(--primary-light);
  color: #fff;
}
.side-nav a {
  color: var(--primary-dark);
  font-weight: 500;
  padding: 0.8rem 1.6rem;
  border-radius: 0.8rem;
  display: block;
  margin-bottom: 0.6rem;
  text-decoration: none;
  /* transition:
    background var(--transition),
    color var(--transition); */
}
.side-nav a:hover {
  background: var(--primary-light);
  color: #fff;
}

.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%
  );
}
.section-header-recommendation {
  position: relative;
  text-align: center;
  height: 12vw;
  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%;
}

.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 {
  background-color: #fcfcfc;
  margin-top: calc(0px - var(--section-rotate));
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.section-description > * {
  padding: 0 8vw;
  padding-top: 14vw;
  padding-bottom: calc(1vw + var(--section-rotate));
  -webkit-box-flex: 0;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
}

.description-box .description {
  margin-right: 5rem;
}
.description-box .description__text {
  font-size: 1.7rem;
}
.description-box .description__text:not(:last-child) {
  margin-bottom: 2rem;
}

.overview-box {
  background-color: #f7f7f7;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.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: #445276;
}
.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;
  height: 65rem;
  margin-top: calc(0px - var(--section-rotate));
}

#map {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
}

.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;
  font-size: 1.4rem;
  -webkit-box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
}

.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(#445276),
    to(#206387)
  );
  background: linear-gradient(to right bottom, #445276, #206387);
  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: #445276;
}
.reviews__star--inactive {
  fill: #bbb;
}

/* Database stars */
.reviews__card .reviews__star--active {
  fill: #445276;
}

.reviews__card .reviews__star--inactive {
  fill: #bbb;
}

/* User input stars */
.review-form .reviews__star.active {
  fill: #ffb400;
}

.review-form .reviews__star.inactive {
  fill: #ccc;
}

.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(#445276),
    to(#445276)
  );
  background: linear-gradient(to right bottom, #445276, #445276);
  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;
}

.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(#445276),
    to(#445276)
  );
  background-image: linear-gradient(to right bottom, #445276, #445276);
  padding: 4rem 0;
}
.user-view__content {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding: 7rem 0;
}
.user-view__form-container {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 8rem;
}

.footer {
  background-color: #f7f7f7;
  padding: 6rem 4rem 3rem 4rem;
  font-size: 1.4rem;
  display: grid;
  grid-template-columns: auto auto;
  grid-row-gap: 0.75rem;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
@media only screen and (max-width: 50em) {
  .footer {
    grid-template-columns: 1fr;
    grid-row-gap: 1.25rem;
    justify-items: center;
  }
}
.footer__logo {
  grid-row: 1 / 3;
  -ms-flex-item-align: center;
  align-self: center;
}
@media only screen and (max-width: 50em) {
  .footer__logo {
    grid-row: 1;
  }
}
.footer__logo img {
  height: 6rem;
}
.footer__nav {
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: flex-end;
}
.footer__nav li {
  margin-left: 1.5rem;
}
.footer__nav a {
  color: #777;
  text-decoration: none !important;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
.footer__nav a:hover,
.footer__nav a:active {
  color: #445276;
}
.footer__copyright {
  justify-self: end;
  color: #999;
}
@media only screen and (max-width: 50em) {
  .footer__copyright {
    justify-self: center;
  }
}

.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 {
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
  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;
}

.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(#445276),
    to(#445276)
  ); */
  /* background-image: linear-gradient(to right bottom, #445276, #445276); */
  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: #4a4946;
}
.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;
}

.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,
.signup-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 #445276;
}
.form__input:focus:invalid {
  border-bottom: 3px solid #8b0000;
}
.form__input::-webkit-input-placeholder {
  color: #bbb;
}

.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 #445276;
  outline-offset: 3px;
}

.form__upload + label {
  color: #445276;
  display: inline-block;
  text-decoration: none;
  border-bottom: 1px solid #445276;
  padding: 3px;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  cursor: pointer;
}
.form__upload + label:hover {
  background-color: #445276;
  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);
}

.nav__text-short {
  display: none;
}

.nav__text-full {
  display: inline;
}

@media screen and (max-width: 768px) {
  .nav__text-full {
    display: none;
  }

  .nav__text-short {
    display: inline;
    margin-right: 1rem;
  }
}

/* CSS Re */
@media (max-width: 1000px) {
  .header {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  .nav--tours {
    margin-bottom: 0;
  }
}
@media (max-width: 820px) {
  body {
    padding: 0;
  }
  .header {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  .nav--tours,
  .header__logo {
    margin-bottom: 0 !important;
  }
  img.nav__user-img {
    height: 5rem;
    width: 5rem;
  }
  .card-container {
    display: flex;
    flex-direction: column;
    max-width: 60vw;
  }
  .card {
    min-height: 60vh;
  }
  .card__details {
    margin-top: 20px;
  }
  .heading-tertirary {
    font-size: 3.5rem;
  }
  .card__picture {
    height: auto;
  }
  .card__sub-heading {
    font-size: 1.8rem;
  }
  .card__text {
    font-size: 2rem;
  }
  .card__data {
    font-size: 2rem;
  }
  .card__footer-value {
    font-size: 2rem;
  }
  .card__footer-text {
    font-size: 1.8rem;
  }
  .card .btn {
    font-size: 2rem !important;
  }

  .nav__el,
  .nav__el:link,
  .nav__el:visited {
    font-size: 2rem;
  }
  .section-header {
    height: auto;
  }
  .heading-box__detail {
    font-size: 3rem !important;
    font-weight: 200;
  }
  .overview-box__text {
    font-size: 1.7rem;
  }
  .description-box .description__text {
    font-size: 2rem;
  }
  p.reviews__text {
    font-size: 1.9rem;
    max-width: 25rem;
  }
  svg.reviews__star {
    height: 2.8rem;
    width: 2.8rem;
  }
  .cta__text {
    font-size: 2.4rem;
    font-weight: 400;
    visibility: hidden;
  }
  button.btn.btn--green.span-all-rows {
    margin-top: 2rem;
    font-size: 2.2rem;
  }
  img.overview-box__img {
    height: 4rem !important;
  }
  nav.user-view__menu {
    flex: none;
  }
  .side-nav li a {
    font-size: 1.8rem !important;
  }
  .user--main {
    padding: 0;
  }
  .form__input {
    font-size: 2rem !important;
    margin-bottom: 2rem;
  }
  .form__upload + label {
    font-size: 2.2rem;
  }
  .form__user-photo {
    height: 10rem;
    width: 10rem;
  }
  button.user__update--btn,
  button.btn--save-password {
    margin-top: 2rem;
    font-size: 2rem !important;
  }
  .form__group button {
    font-size: 1.8rem !important;
  }
  a.forgot-password-link {
    font-size: 2rem;
  }
  .alert.alert--success {
    font-size: 2.5rem;
    width: 100vw;
    padding: 2rem;
  }
  .alert.alert--error {
    font-size: 2.5rem;
    width: 100vw;
    padding: 2rem;
  }
}

@media (max-width: 685px) {
  .nav__el,
  .nav__el:link,
  .nav__el:visited {
    font-size: initial;
  }
}
@media (max-width: 615px) {
  .nav__el,
  .nav__el:link,
  .nav__el:visited {
    font-size: 1.5rem;
  }
}
@media (max-width: 600px) {
  .nav__el,
  .nav__el:link,
  .nav__el:visited {
    font-size: 1.5rem;
  }

  .nav--user {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }
}
@media (max-width: 550px) {
  body {
    padding: 0;
  }
  .header {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 0.4rem;
    justify-content: flex-;
  }
  .nav--tours,
  .header__logo {
    margin-bottom: 0 !important;
  }
  .nav--user {
    flex: none;
    flex-direction: row;
    justify-content: space-around;
    flex-grow: 1;
    align-items: self-end;
  }
  .nav__el,
  .nav__el:link,
  .nav__el:visited {
    font-size: 1.4rem;
  }
  a.nav__el.nav__el--logout {
    align-self: center;
    margin-right: 1rem;
  }
  .nav__el--cta {
    padding: 1rem 1rem;
    border-radius: 5px;
    border: 1px solid currentColor !important;
    transition: all 0.3s;
    justify-content: space-between;
  }
  .header__logo img {
    height: 6rem;
  }
  img.nav__user-img {
    height: 3rem;
    width: 3rem;
  }
  .nav__user--photo {
    margin-top: 0.5rem !important;
    /* margin-right: 1rem !important; */
  }
  .main {
    padding: 4rem 3rem;
  }
  .main--overview {
    padding: 2rem 3rem 4rem;
  }
  .card-container {
    display: flex;
    flex-direction: column;
    max-width: 85vw;
  }
  .card__details {
    margin-top: 15px;
  }
  .heading-tertirary {
    font-size: 2.8rem;
  }
  .card__sub-heading {
    font-size: 1.5rem;
  }
  .card__text {
    font-size: 1.8rem;
  }
  .card__data {
    font-size: 1.5rem;
  }
  .card__footer-value {
    font-size: 1.7rem;
  }
  .card__footer-text {
    font-size: 1.5rem;
  }
  .card .btn {
    font-size: 1.2rem !important;
  }

  .user-view {
    flex-direction: column;
  }
  .user-view__menu {
    padding: 2rem 0;
  }
  .side-nav li {
    margin-left: 3px;
  }

  .heading-box__detail {
    font-size: 1.5rem !important;
    font-weight: 200;
    width: max-content;
  }
  .overview-box__text {
    font-size: 1.5rem !important;
  }
  .description-box .description__text {
    font-size: 2rem;
  }
  p.reviews__text {
    font-size: 1.5rem;
    max-width: 20rem;
  }
  svg.reviews__star {
    height: 2.4rem;
    width: 2.4rem;
  }
  .cta__text {
    font-size: 2.4rem;
    font-weight: 400;
    visibility: hidden;
  }
  button.btn.btn--green.span-all-rows {
    margin-top: 2rem;
    font-size: 1.2rem;
    margin-right: 2rem;
  }
  img.overview-box__img {
    height: 5.5rem;
  }
  nav.user-view__menu {
    flex: none;
  }
  .side-nav li a {
    font-size: 1.5rem !important;
  }
  .user--main {
    padding: 0;
  }
  .user-view__form-container {
    margin: 0 auto;
    padding: 0 2rem;
  }
  .form__input {
    font-size: 1.6rem !important;
    margin-bottom: 2rem;
  }
  .form__upload + label {
    font-size: 1.8rem;
  }
  .form__user-photo {
    height: 10rem;
    width: 10rem;
  }
  button.user__update--btn,
  button.btn--save-password {
    margin-top: 2rem;
    font-size: 2rem !important;
  }
  .form__group button {
    font-size: 1.5rem !important;
  }
  a.forgot-password-link {
    font-size: 1.5rem;
  }
  .section-header {
    height: 17vh !important;
  }
  .heading-box .heading-primary {
    font-size: 4rem;
  }
  .section-description {
    flex-direction: column;
  }
  .section-pictures {
    flex-direction: column;
  }
  .picture-box__img--1 {
    margin-top: -6rem;
    padding-bottom: 15%;
  }
  .picture-box__img--2 {
    padding-bottom: 15%;
  }
  .picture-box__img {
    margin-bottom: -3.2rem;
    -webkit-clip-path: polygon(
      0 var(--section-rotate),
      100% 0,
      100% calc(100% - var(--section-rotate)),
      0 100%
    );
  }
  .picture-box__img:last-child {
    margin-bottom: -12rem;
  }
  .cta__img {
    margin-left: 4rem;
    height: 10rem;
    width: 10rem;
  }
  .cta {
    padding: 2rem 0rem 3rem 12rem;
  }
  .heading-secondary {
    flex: 1;
  }
  .footer {
    padding: 0;
    padding-top: 5rem;
  }
  .footer__nav {
    display: inline-flex;
    padding: 0 1rem;
    line-height: 1;
    text-align: center;
  }
  .login-form {
    padding: 5rem 3rem;
  }
  .alert.alert--success {
    font-size: 1.8rem;
    width: 100vw;
    padding: 2rem;
  }
  .alert.alert--error {
    font-size: 1.8rem;
    width: 100vw;
    padding: 2rem;
  }
  .user-view__content {
    padding: 2rem 0;
  }
}

/* Itinerary Section Styling */

.itinerary-container {
  width: 100%;
  padding: 4rem;
}

.itinerary-card {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  margin: 20px auto;
  max-width: 100%;
  font-family: 'Arial', sans-serif;
}

.itinerary-header {
  background-color: #2e5077;
  color: white;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.itinerary-header .day {
  background-color: #51739a;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: bold;
}

.itinerary-header h2 {
  margin: 0;
  font-size: 1.8rem;
}

.itinerary-details {
  padding: 15px 20px;
  color: #333;
}

.itinerary-details p {
  font-size: 1.4rem;
  margin-bottom: 12px;
  line-height: 1.6;
}

.itinerary-details strong {
  color: #000;
}

/*  Itinerary Info Layout (default for Desktop) */
.itinerary-info {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  white-space: nowrap;
}

.itinerary-info span {
  flex: 1 1 auto;
}

/*  For Tablets and smaller (stacked layout) */
@media screen and (max-width: 768px) {
  .itinerary-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .itinerary-info span {
    flex: 1 1 100%;
    font-size: 1.3rem;
  }

  .itinerary-header h2 {
    font-size: 1.6rem;
  }

  .itinerary-details p {
    font-size: 1.3rem;
  }
}

/*  For Phones (extra small tweaks) */
@media screen and (max-width: 480px) {
  .itinerary-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .itinerary-header h2 {
    font-size: 1.4rem;
  }

  .itinerary-header .day {
    font-size: 1.1rem;
  }

  .itinerary-details p {
    font-size: 1.2rem;
  }
}

.section-itinerary {
  background-color: #f9f9f9;
  padding: 4rem 2rem;
}

.itinerary-container {
  max-width: 1200px;
  margin: 0 auto;
}

.hero {
  position: relative;
  width: 100%;
  height: 67vh; /* Adjust height as needed */
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
}

.overlay h1 {
  font-size: 5rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;

  background: linear-gradient(to right, #1d2b2a, #2c3c39, #3e4e46);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;

  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4); /* Soft depth */
  margin: 0 auto;
}
@media (max-width: 768px) {
  .overlay h1 {
    font-size: 2.2rem;
  }
}

/* ======= MEDIA QUERIES ======= */

/* Tablets and small laptops */
@media (max-width: 1024px) {
  .overlay {
    display: none;
  }
}

/* Phones */
@media (max-width: 600px) {
  .hero {
    height: 70vh;
  }

  .overlay {
    display: none;
  }
}

/* RECOMMENDATIONS PAGE STYLES */
.recommendations-container {
  margin-top: 3rem;
}

.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  grid-gap: 3rem;
  margin-bottom: 3rem;
}

.recommendation-stats {
  background: linear-gradient(to right bottom, #7dd3fc, #3b82f6);
  padding: 2rem;
  border-radius: 1rem;
  margin-bottom: 3rem;
  color: white;
}

.recommendation-intro {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 1rem;
  margin-bottom: 3rem;
  border-left: 4px solid #3b82f6;
}

.booking-history {
  margin-top: 2rem;
}

.booking-history__tours {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1rem;
}

.booking-history__item {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  padding: 1rem;
  border-radius: 0.8rem;
  flex: 1;
  min-width: 25rem;
}

.booking-history__img {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.booking-history__details h5 {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.booking-history__info {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
}

.recommendation-reason {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.recommendation-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 1rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.recommendation-badge--content {
  background: linear-gradient(to right, #10b981, #059669);
  color: white;
}

.recommendation-badge--collaborative {
  background: linear-gradient(to right, #8b5cf6, #7c3aed);
  color: white;
}

.recommendation-badge--popular {
  background: linear-gradient(to right, #f59e0b, #d97706);
  color: white;
}

.recommendation-text {
  font-size: 1.2rem;
  color: #666;
  font-style: italic;
}

.no-recommendations {
  text-align: center;
  padding: 4rem 2rem;
  background: #f8fafc;
  border-radius: 1rem;
}

.no-recommendations h3 {
  color: #374151;
  margin-bottom: 1rem;
}

.no-recommendations p {
  color: #6b7280;
  margin-bottom: 2rem;
}

/* Recommendations overview section */
.recommendations-overview {
  margin: 4rem 0;
  padding: 3rem;
  background: linear-gradient(to right bottom, #f8fafc, #e2e8f0);
  border-radius: 1rem;
}

.recommendations-overview .heading-secondary {
  text-align: center;
  color: #1e293b;
}

.recommendations-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  grid-gap: 2rem;
  margin-bottom: 2rem;
}

.recommendations-cta {
  text-align: center;
}

.recommendation-badge--small {
  font-size: 0.9rem;
  padding: 0.2rem 0.6rem;
  background: linear-gradient(to right, #3b82f6, #1d4ed8);
  color: white;
  border-radius: 0.8rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

/* Responsive adjustments for recommendations */
@media (max-width: 768px) {
  .recommendations-grid {
    grid-template-columns: 1fr;
    grid-gap: 2rem;
  }

  .booking-history__tours {
    flex-direction: column;
  }

  .booking-history__item {
    min-width: auto;
  }
}

/* MODERN RECOMMENDATIONS PAGE STYLES */
.recommendations-main {
  background: linear-gradient(135deg, #206387 0%, #2e5077 100%);
  min-height: 100vh;
  padding: 0;
}

.recommendations-header {
  background: linear-gradient(
    135deg,
    rgba(32, 99, 135, 0.9),
    rgba(46, 80, 119, 0.9)
  );
  padding: 3rem 0 4rem 0;
  color: white;
  text-align: center;
}

.recommendations-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.recommendations-subtitle {
  font-size: 1.8rem;
  opacity: 0.9;
}

.recommendations-wrapper {
  display: grid;
  grid-template-columns: 28rem 1fr;
  gap: 3rem;
  max-width: 140rem;
  margin: -2rem auto 0 auto;
  padding: 0 2rem 4rem 2rem;
}

.sidebar-card {
  background: white;
  border-radius: 2rem;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.sidebar-nav {
  list-style: none;
  padding: 0;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.5rem;
  border-radius: 1.2rem;
  color: #4a5568;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.sidebar-item--active .sidebar-link,
.sidebar-link:hover {
  background: linear-gradient(135deg, #206387, #2e5077);
  color: white;
}

.recommendations-content {
  background: white;
  border-radius: 2rem;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
  gap: 2.5rem;
}

.tour-card-modern {
  background: white;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.tour-card-modern:hover {
  transform: translateY(-1rem);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.tour-image {
  position: relative;
  height: 20rem;
  overflow: hidden;
}

.tour-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.match-score {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: linear-gradient(135deg, #48bb78, #38a169);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.tour-content {
  padding: 2.5rem;
}

.tour-name {
  font-size: 2rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 1rem;
}

.btn-modern {
  background: linear-gradient(135deg, #206387, #2e5077);
  color: white;
  padding: 1rem 2rem;
  border-radius: 1rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-modern:hover {
  transform: translateY(-0.2rem);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.sidebar-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 2rem;
}

.stats-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 1rem;
}

.stats-subtitle {
  font-size: 1.6rem;
  color: #718096;
}

.history-title {
  font-size: 2.2rem;
  font-weight: 600;
  color: #2d3748;
}

.history-card {
  background: linear-gradient(135deg, #f7fafc, #edf2f7);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.history-card:hover {
  transform: translateY(-0.5rem);
}

.history-image {
  position: relative;
  height: 12rem;
  overflow: hidden;
}

.history-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #206387, #2e5077);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: capitalize;
}

.history-content {
  padding: 1.5rem;
}

.history-name {
  font-size: 1.6rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 1rem;
}

.history-stats {
  display: flex;
  gap: 1.5rem;
}

.welcome-card {
  background: linear-gradient(135deg, #206387, #2e5077);
  color: white;
  padding: 4rem 3rem;
  border-radius: 2rem;
  display: inline-block;
}

.welcome-icon {
  font-size: 6rem;
  margin-bottom: 2rem;
}

.welcome-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.welcome-text {
  font-size: 1.8rem;
  opacity: 0.9;
}

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

.section-title {
  font-size: 2.6rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.section-icon {
  font-size: 3rem;
}

.section-subtitle {
  font-size: 1.6rem;
  color: #718096;
}

.rec-section {
  margin-bottom: 3rem;
}

.tour-card--collaborative {
  border-color: #206387;
}

.tour-card--popular {
  border-color: #ed8936;
}

.collab-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: linear-gradient(135deg, #206387, #2e5077);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.popular-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: linear-gradient(135deg, #ed8936, #dd6b20);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.tour-description {
  color: #4a5568;
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.tour-stats {
  margin-bottom: 2rem;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.tour-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.price-section {
  display: flex;
  flex-direction: column;
}

.price {
  font-size: 2.2rem;
  font-weight: 700;
  color: #48bb78;
}

.price-text {
  font-size: 1.2rem;
  color: #718096;
}

.btn-modern--secondary {
  background: linear-gradient(135deg, #206387, #2e5077);
}

.btn-modern--accent {
  background: linear-gradient(135deg, #ed8936, #dd6b20);
}

.btn-modern--large {
  padding: 1.5rem 3rem;
  font-size: 1.6rem;
}

.no-recommendations-modern {
  text-align: center;
  padding: 6rem 3rem;
  background: linear-gradient(135deg, #f7fafc, #edf2f7);
  border-radius: 2rem;
}

.no-rec-icon {
  font-size: 8rem;
  margin-bottom: 2rem;
}

.no-rec-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 1.5rem;
}

.no-rec-text {
  font-size: 1.8rem;
  color: #4a5568;
  margin-bottom: 3rem;
}

/* Travel Stats Section */
.travel-stats {
  margin-bottom: 2rem;
}

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

/* Booking History Section */
.booking-history-modern {
  margin-bottom: 2rem;
}

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

.history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
  gap: 2rem;
}

/* Welcome Section */
.welcome-section {
  margin-bottom: 2rem;
  text-align: center;
}

/* Recommendations Section */
.recommendations-section {
  margin-top: 1rem;
}

@media (max-width: 1024px) {
  .recommendations-wrapper {
    grid-template-columns: 1fr;
  }

  .recommendations-sidebar {
    order: 2;
  }

  .recommendations-content {
    order: 1;
  }

  .tours-grid {
    grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
  }
}

@media (max-width: 768px) {
  .recommendations-title {
    font-size: 3rem;
  }

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

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

  .stat-row {
    flex-direction: column;
    gap: 0.5rem;
  }

  .tour-footer {
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
  }
}
