/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Lobster&family=Poppins:wght@100..900&display=swap");

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

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: #58a8a0;
  --second-color: #c39177;
  --first-gradient: linear-gradient(90deg, #2b7c74, #58a8a0);
  --title-color: hsl(255, 12%, 12%);
  --text-color: hsl(225, 12%, 24%);
  --text-color-light: hsl(255, 4%, 70%);
  --body-color: hsl(0, 0%, 100%);
  --container-color: hsl(0, 0%, 100%);
  --white-color: hsl(0, 0%, 100%);
  --black-color: hsl(255, 20%, 10%);
  --gray-border: hsl(255, 6%, 90%);
  --black-border: hsl(255, 10%, 20%);
  --christmas-red: hsl(1, 100%, 38%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Poppins", sans-serif;
  --second-font: "Lobster", cursive;
  --biggest-font-size: 3rem;
  --big-font-size: 2.25rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --tiny-font-size: 0.75rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

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

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
  :root {
    --biggest-font-size: 4.5rem;
    --big-font-size: 3.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --tiny-font-size: 0.813rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
}

h1,
h2,
h3,
h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

html {
  font-size: 100%;
}

@media only screen and (min-width: 1980px) {
  html {
    font-size: 110%;
  }
}

@media only screen and (min-width: 2560px) {
  html {
    font-size: 120%;
  }
}

@media only screen and (min-width: 3840px) {
  html {
    font-size: 140%;
  }
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  /* max-width: 1120px; */
  padding-inline: 1.5rem;
}

.main {
  overflow: hidden;
}

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

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

.section__title,
.section__subtitle {
  text-align: center;
  text-transform: uppercase;
}

.section__title {
  font-size: var(--h1-font-size);
  font-weight: var(--font-bold);
  margin-bottom: 1.5rem;
}

.section__subtitle {
  display: block;
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--second-color);
  margin-bottom: 0.5rem;
}

.main {
  overflow: hidden;
}

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

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

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

.nav__logo img {
  width: 7.5rem;
  height: 4.5rem;
}

.nav__toggle,
.nav__close {
  font-size: 1.5rem;
  color: var(--white-color);
  cursor: pointer;
  transition: transform 0.4s;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1150px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    background-color: var(--black-color);
    padding: 7.5rem 3.5rem 0;
    border-left: 2px solid var(--black-border);
    transition: right 0.4s;
  }
}

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

.nav__link {
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  transition: color 0.4s;
}

.nav__link:hover {
  color: var(--first-color);
}

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

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

/* Change background header */
.bg-header {
  background-color: var(--body-color);
  box-shadow: 0 4px 16px hsla(255, 90%, 8%, 0.1);
}

.bg-header .nav__logo img {
  filter: invert(1);
}

.bg-header .nav__toggle {
  color: var(--title-color);
}

/* Active link */
.active-link {
  color: var(--first-color);
}

/*=============== HOME ===============*/

.home {
  position: relative;
}

.home__container {
  height: 100svh;
  overflow: hidden;
}

.home__bg,
.home__cloud-1,
.home__cloud-2,
.home__sled,
.home__images img,
.home__title {
  position: absolute;
}

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

.home__images img {
  max-width: initial;
  width: 56.25rem;
  right: -16rem;
  bottom: 0;
}

.home__sled {
  width: 12.5rem;
  top: 11rem;
  left: 0;
  animation: sled 10s linear infinite;
  transition: transform 0.4s;
}

.home__cloud-1,
.home__cloud-2 {
  width: 5rem;
}

.home__cloud-1 {
  top: 5rem;
  left: 2rem;
  animation: cloud-1 12s linear infinite;
}

.home__cloud-2 {
  top: 8.5rem;
  right: 2rem;
  animation: cloud-2 12s linear infinite;
}

.home__title {
  bottom: 1.5rem;
  left: 0;
  right: 0;
  color: var(--christmas-red);
  font: var(--font-regular) var(--biggest-font-size) var(--second-font);
  line-height: 100%;
  text-align: center;
}

/* Animated Clouds */

@keyframes cloud-1 {
  0% {
    margin-left: 100%;
  }
  100% {
    margin-left: -1000px;
  }
}
@keyframes cloud-2 {
  0% {
    margin-right: -1000px;
  }
  100% {
    margin-right: 100%;
  }
}

/* Animated sled */
@keyframes sled {
  0% {
    transform: translateX(-150vw) rotate(15deg) scale(0.2);
  }
  15% {
    transform: translateX(0vw) rotate(10deg) scale(1);
  }
  30% {
    transform: translateX(10vw) rotate(7deg);
  }
  45% {
    transform: translateX(20vw) rotate(6deg);
  }
  60% {
    transform: translateX(30vw) rotate(5deg);
  }
  75% {
    transform: translateX(40vw) rotate(4deg);
  }
  90% {
    transform: translateX(50vw) rotate(-2deg);
  }
  100% {
    transform: translateX(150vw) rotate(-15deg) scale(0.2);
  }
}

/* Snow color */
#embedim--snow .embedim-snow {
  background-color: white;
}

/*=============== BUTTON ===============*/
.button {
  display: inline-flex;
  background: var(--first-gradient);
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  padding: 1rem 2rem;
  transition: box-shadow 0.4s;
}

.button:hover {
  box-shadow: 0 8px 32px hsla(181, 95%, 55%, 0.3);
  color: var(--white-color);
}

.button__link {
  display: flex;
  align-items: center;
  column-gap: 0.25rem;
  color: var(--first-color);
}

.button__link span {
  font-weight: var(--font-semi-bold);
}

.button__link i {
  font-size: 1.5rem;
  transition: transform 0.4s;
}

.button__link:hover i {
  transform: translateX(0.25rem);
}

/*=============== ABOUT ===============*/
.about {
  background-color: var(--christmas-red);
}

.about__container {
  row-gap: 8rem;
}

.about__data {
  text-align: center;
}

.about__data
  :is(
    .section__title,
    .section__subtitle,
    .about__description,
    .about__list-item,
    .about__list-item i
  ) {
  color: var(--white-color);
}
.about__description {
  margin-bottom: 2rem;
}

.about__list {
  text-align: initial;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.about__list-item {
  display: flex;
  column-gap: 0.5rem;
  color: var(--title-color);
}

.about__list-item i {
  font-size: 1.25rem;
  color: var(--first-color);
}

.about__images {
  position: relative;
  justify-self: center;
}

.about__img-1 {
  width: 12.5rem;
  border: 5px solid var(--body-color);
  position: absolute;
  top: -5rem;
  left: -1rem;
  z-index: 2;
}

.about__img-2 {
  width: 15.625rem;
  margin-right: 2.5rem;
  z-index: 1;
}

/*=============== TESTIMONIALS ===============*/
.testimonials {
  position: relative;
}

.testimonials__container {
  max-width: 70rem;
  margin: 0 auto;
  position: relative;
  row-gap: 3rem;
}

.testimonials__card {
  width: 100%;
  background-color: var(--container-color);
  border: 2px solid var(--gray-border);
  padding: 2rem 1rem 3.5rem;
  transition: border-color 0.4s;
}

.testimonials__card:hover {
  border-color: var(--first-color);
}

.testimonials__shape {
  position: absolute;
  width: 100%;
  height: 15.3125rem;
  bottom: 0;
  left: 0;
  background-color: var(--black-color);
}

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

/* Swiper class */
.swiper {
  margin-inline: initial;
  padding-bottom: 4rem;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  content: "";
}

.swiper-button-prev,
.swiper-button-next {
  top: initial;
  bottom: 0;
  width: 2rem;
  height: 2rem;
  background-color: var(--container-color);
  box-shadow: 0 2px 8px hsla(255, 8%, 4%, 0.1);
  border-radius: 50%;
  color: var(--title-color);
  font-size: 1.5rem;
}

.swiper-button-prev {
  left: calc(50% - 3rem);
}

.swiper-button-next {
  right: calc(50% - 3rem);
}

/*=============== OFFER ===============*/
.offer {
  background-color: var(--black-color);
}

.offer .section__title {
  color: var(--white-color);
}

.offer__container {
  padding-block: 1.5rem 3rem;
}

.offer__card {
  background-color: var(--container-color);
  border: 2px solid transparent;
  background-clip: content-box;
  transition: border-color 0.4s;
  display: flex;
  flex-direction: column;
}

.offer__card:hover {
  border-color: var(--first-color);
}

.offer__img {
  margin-inline: auto;
}

.offer__data {
  padding: 0 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.offer__title {
  font-size: var(--h3-font-size);
  text-align: center;
  margin-top: 0.75rem;
}
.offer__description {
  font-size: var(--tiny-font-size);
}

.offer__price-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.offer__price-save {
  font-size: var(--h3-font-size);
  color: #dc3545;
  text-decoration: line-through;
  opacity: 0.7;
  font-weight: var(--font-semi-bold);
}

.offer__price-value {
  font-size: var(--h2-font-size);
  color: #28a745;
  font-weight: var(--font-bold);
  animation: pricePulse 2s ease-in-out infinite;
}

@keyframes pricePulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.offer__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.offer__form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.offer__form-label {
  font-size: var(--tiny-font-size);
  font-weight: var(--font-medium);
  color: var(--text-color);
}

.offer__form-input,
.offer__form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: var(--small-font-size);
  font-family: var(--body-font);
  color: var(--text-color);
  background-color: var(--body-color);
  border: 2px solid var(--gray-border);
  border-radius: 0.5rem;
  outline: none;
  transition: border-color 0.4s;
}

.offer__form-group {
  position: relative;
}

.offer__form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 0.75rem;
  padding-right: 2.5rem;
  position: relative;
  z-index: 1;
  touch-action: manipulation;
  transform: translateZ(0);
}

.offer__form-select:focus,
.offer__form-select:active {
  z-index: 10;
  position: relative;
}

.offer__form-select option {
  padding: 0.75rem 1rem;
  font-size: var(--small-font-size);
}

.offer__form-select::-ms-expand {
  display: none;
}

.offer__form-input:focus,
.offer__form-select:focus {
  border-color: var(--first-color);
}

.offer__form-input:invalid:not(:placeholder-shown),
.offer__form-select:invalid:not(:placeholder-shown) {
  border-color: var(--second-color);
}

.offer__form-input--error,
.offer__form-select--error {
  border-color: #dc3545;
}

.offer__form-error {
  font-size: var(--tiny-font-size);
  color: #dc3545;
  min-height: 1.25rem;
  display: block;
}

.offer__form-error:empty {
  display: none;
}

.offer__card .button,
.offer__button {
  display: block;
  margin-inline: auto;
  border: none;
  margin-top: auto;
  width: 100%;
}

.offer__button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/*=============== CONTACT ===============*/
.contact {
  background-color: var(--christmas-red);
}

.contact__container {
  max-width: 70rem;
  margin: 0 auto;
  position: relative;
  row-gap: 3rem;
  padding-block: 1.5rem 3rem;
}

.contact__img {
  width: 20rem;
  justify-self: center;
}

.contact__data {
  grid-template-columns: 14.375rem;
  justify-content: center;
  row-gap: 1.5rem;
}
a.contact__card {
  text-decoration: none;
  color: var(--text-color);
}

.contact__card {
  background-color: var(--container-color);
  border: 2px solid var(--gray-border);
  padding: 1.5rem 2rem;
  text-align: center;
  transition: border-color 0.4s;
}

.contact__card:hover {
  border-color: var(--first-color);
}

.contact__info {
  text-align: center;
}

.contact__icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--black-color);
  color: var(--white-color);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem;
}

.contact :is(.section__title, .section__subtitle) {
  color: var(--white-color);
}

.contact__title {
  font-size: var(--h2-font-size);
  margin-bottom: 0.5rem;
}

.contact__info {
  font-style: normal;
}

.contact__social {
  display: flex;
  justify-content: center;
  column-gap: 1rem;
}

.contact__social-link {
  font-size: 1.5rem;
  color: var(--first-color);
  transition: transform 0.4s;
}

.contact__social-link:hover {
  transform: translateY(-0.25rem);
}

/*=============== FOOTER ===============*/
.footer {
  background-color: var(--black-color);
  color: var(--text-color-light);
  padding-block: 3.5rem 2rem;
}

.footer__container {
  row-gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--black-border);
}

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

.footer__logo img {
  width: 5rem;
  height: 3.125rem;
}

.footer__description {
  margin-block: 1rem;
}

.footer__email,
.footer__info {
  font-style: normal;
}

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

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

.footer__list {
  display: grid;
  row-gap: 0.5rem;
}

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

.footer__link:hover {
  color: var(--first-color);
}
.footer__social {
  display: flex;
  column-gap: 1rem;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s;
}

.footer__social-link i {
  font-size: 1.5rem;
  color: var(--first-color);
}

.footer__social-link:hover {
  transform: translateY(-0.25rem);
}

.footer__copy {
  display: block;
  text-align: center;
  font-size: var(--small-font-size);
  margin-top: 4rem;
}

.footer__info a,
.footer__email a {
  color: var(--second-color);
}

.hidden-email {
  display: none;
}

.contact-form-modal {
  cursor: pointer;
}
/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: 0.6rem;
  background-color: hsl(0, 5%, 75%);
}

::-webkit-scrollbar-thumb {
  background-color: hsl(255, 5%, 65%);
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(255, 5%, 55%);
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -50%;
  background-color: var(--first-color);
  box-shadow: 0 4px 16px hsla(255, 90%, 8%, 0.15);
  padding: 0.375rem;
  display: inline-flex;
  color: var(--white-color);
  z-index: var(--z-tooltip);
  transition: bottom 0.4s, transform 0.4s;
}

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

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

/*=============== CONTACT MODAL ===============*/
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.show-modal {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: hsla(0, 0%, 0%, 0.7);
  backdrop-filter: blur(4px);
}

.modal__container {
  position: relative;
  width: 90%;
  max-width: 31.25rem;
  max-height: 90vh;
  background-color: var(--container-color);
  border: 2px solid var(--gray-border);
  padding: 2rem 1.5rem;
  overflow-y: auto;
  transform: scale(0.8) translateY(-2rem);
  transition: transform 0.3s ease;
  z-index: 1001;
}

.modal.show-modal .modal__container {
  transform: scale(1) translateY(0);
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--black-color);
  color: var(--white-color);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
  z-index: 1002;
}

.modal__close:hover {
  background-color: var(--first-color);
  transform: rotate(90deg);
}

.modal__content {
  padding-top: 0.5rem;
}

.modal__title {
  font-size: var(--h1-font-size);
  color: var(--title-color);
  margin-bottom: 0.5rem;
  text-align: center;
}

.modal__subtitle {
  font-size: var(--normal-font-size);
  color: var(--text-color-light);
  text-align: left;
  margin-bottom: 2rem;
}

/*=============== CONTACT FORM ===============*/
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form__label {
  font-size: var(--tiny-font-size);
  color: var(--title-color);
}

.form__input {
  width: 100%;
  padding: 0.85rem;
  border: 2px solid var(--gray-border);
  border-radius: 0.5rem;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  color: var(--text-color);
  background-color: var(--container-color);
  transition: border-color 0.3s;
}

.form__input:focus {
  outline: none;
  border-color: var(--first-color);
}

.form__input:invalid:not(:placeholder-shown) {
  border-color: var(--christmas-red);
}

.form__textarea {
  resize: vertical;
  min-height: 7.5rem;
  font-family: var(--body-font);
}

.form__group--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}

.form__checkbox {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.25rem;
  cursor: pointer;
  accent-color: var(--first-color);
  flex-shrink: 0;
}

.form__label--checkbox {
  font-size: var(--tiny-font-size);
  color: var(--text-color);
  cursor: pointer;
  line-height: 1.5;
}

.form__error {
  font-size: var(--tiny-font-size);
  color: var(--christmas-red);
  min-height: 1.25rem;
  display: block;
}

.form__submit {
  justify-content: center;
  width: 100%;
  margin-top: 0.5rem;
  cursor: pointer;
  border: none;
  font-size: var(--normal-font-size);
}

.form__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.form__submit:disabled:hover {
  box-shadow: none;
  transform: none;
}

/*=============== NOTIFICATION TOAST ===============*/
.notification {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transform: translateX(25rem);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.notification.show-notification {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.notification__content {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--container-color);
  border: 2px solid var(--gray-border);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 8px 32px hsla(0, 0%, 0%, 0.15);
  min-width: 17.5rem;
  max-width: 90vw;
}

.notification--success .notification__content {
  border-color: var(--first-color);
  background: linear-gradient(
    135deg,
    var(--container-color) 0%,
    hsla(181, 50%, 95%, 0.5) 100%
  );
}

.notification--error .notification__content {
  border-color: var(--christmas-red);
  background: linear-gradient(
    135deg,
    var(--container-color) 0%,
    hsla(1, 100%, 95%, 0.5) 100%
  );
}

.notification__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.notification--success .notification__icon {
  background-color: var(--first-color);
  color: var(--white-color);
}

.notification--error .notification__icon {
  background-color: var(--christmas-red);
  color: var(--white-color);
}

.notification__icon--success,
.notification__icon--error {
  font-size: 1.5rem;
  display: none;
}

.notification--success .notification__icon--success {
  display: block;
}

.notification--error .notification__icon--error {
  display: block;
}

.notification__message {
  flex: 1;
}

.notification__text {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  color: var(--title-color);
  margin: 0;
  line-height: 1.5;
}

.notification__close {
  background: none;
  border: none;
  color: var(--text-color-light);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s, transform 0.3s;
  flex-shrink: 0;
}

.notification__close:hover {
  color: var(--title-color);
  transform: rotate(90deg);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .section__title {
    font-size: 1.25rem;
  }

  .notification {
    right: 0.5rem;
    left: 0.5rem;
    max-width: calc(100% - 1rem);
  }

  .notification__content {
    padding: 0.875rem 1rem;
    min-width: auto;
  }

  .about__list {
    grid-template-columns: repeat(1, 200px);
  }

  .about__img-1 {
    width: 9.375rem;
    left: -2rem;
  }

  .about__img-2 {
    width: 9.375rem;
    margin-right: 0;
  }

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

/* For medium devices */
@media screen and (min-width: 540px) {
  .about__container,
  .testimonials__container,
  .offer__container,
  .contact__container {
    grid-template-columns: 22.5rem;
    justify-content: center;
  }

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

@media screen and (min-width: 576px) {
  .home__images img {
    width: 100%;
    right: 0;
  }
  .home__title {
    bottom: 0.5rem;
  }
}

@media screen and (min-width: 768px) {
  .nav__menu {
    width: 50%;
  }

  .home__sled {
    width: 18.75rem;
  }

  .about__img-1 {
    left: 6rem;
  }

  .offer__container {
    grid-template-columns: repeat(2, 20.625rem);
  }

  .offer__form-select {
    z-index: auto;
  }

  .offer__form-select:focus,
  .offer__form-select:active {
    z-index: auto;
  }

  .contact__data {
    grid-template-columns: repeat(2, 15rem);
  }

  .footer__container {
    grid-template-columns: repeat(2, max-content);
    justify-content: space-between;
  }
  .hidden-email {
    display: block;
  }
}

/* For large devices */
@media screen and (min-width: 1150px) {
  .container {
    margin-inline: auto;
  }

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

  .modal__container {
    padding: 3rem 2.5rem;
    max-width: 37.5rem;
  }

  .modal__title {
    font-size: var(--h1-font-size);
  }

  .contact-form {
    gap: 0.5rem;
  }

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

  .nav__toggle,
  .nav__close {
    display: none;
  }

  .nav__menu {
    width: initial;
  }

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

  .bg-header .nav__link {
    color: var(--text-color);
  }

  .bg-header .active-link,
  .bg-header .nav__link:hover {
    color: var(--first-color);
  }

  .bg-header .button,
  .bg-header .button:hover {
    color: var(--white-color);
  }

  .container {
    margin-inline: auto;
  }

  .nav__logo {
    font-size: var(--h3-font-size);
  }

  .home__cloud-1,
  .home__cloud-2 {
    width: 9.375rem;
  }

  .home__cloud-1 {
    top: 8rem;
  }
  .home__cloud-2 {
    top: 12rem;
  }
  .home__sled {
    width: 30rem;
    top: 7rem;
  }

  .about__container {
    grid-template-columns: repeat(2, 30rem);
    column-gap: 9rem;
    padding-block: 9rem 2rem;
  }

  .about__images {
    order: -1;
  }

  .about__img-1 {
    width: 23.125rem;
    border-width: 10px;
    top: -9rem;
    left: 11rem;
  }

  .about__img-2 {
    width: 23.125rem;
    transform: rotate(-40deg);
  }

  .about__data,
  .about__data :is(.section__title, .section__subtitle) {
    text-align: initial;
  }

  .about__list {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 3.5rem;
  }

  .testimonials__container {
    grid-template-columns: initial;
    row-gap: 5rem;
    padding-bottom: 4.5rem;
  }

  .testimonials__data {
    display: grid;
    grid-template-columns: 25.9375rem 23.125rem max-content;
    justify-content: space-between;
    align-items: center;
  }

  .testimonials__data :is(.section__title, .section__subtitle),
  .testimonials__description {
    text-align: initial;
  }

  .testimonials__data .testimonials__title {
    margin-bottom: 0;
  }

  .testimonials__card {
    width: 31.25rem;
    border-width: 3px;
  }

  .testimonials__shape {
    height: 20.625rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    bottom: 3rem;
  }

  .offer__container {
    grid-template-columns: repeat(3, 21.875rem);
    column-gap: 2rem;
    padding-block: 5rem 4rem;
  }

  .offer__card {
    border-width: 3px;
  }

  .offer__data {
    padding: 0rem 1.5rem 1rem;
  }

  .contact :is(.section__title, .section__subtitle) {
    text-align: initial;
  }

  .contact__container {
    grid-template-columns: 33.125rem 32.1875rem;
    justify-content: initial;
    align-items: flex-start;
    column-gap: 3.5rem;
    padding-block: 3.5rem 4rem;
  }

  .contact__img {
    width: 33.125rem;
  }

  .contact__data {
    gap: 2rem;
  }

  .contact__card {
    border-width: 3px;
  }

  .contact__title {
    font-size: var(--h3-font-size);
  }

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

  .footer__container {
    padding-bottom: 3rem;
  }

  .footer__content {
    column-gap: 7rem;
  }

  .footer__description,
  .footer__title {
    margin-block: 1.5rem;
  }

  .footer__social,
  .footer__list {
    row-gap: 1em;
  }

  .scrollup {
    right: 3rem;
  }

  .modal__subtitle {
    text-align: center;
  }
}

@media screen and (min-width: 1500px) {
  .home__images img {
    bottom: -4rem;
  }
  .home__title {
    bottom: 1rem;
  }
}

/* For taller devices */
@media screen and (min-width: 1150px) and (min-height: 860px) {
  .home__container {
    height: 100svh;
  }
}

/*=============== COUNTDOWN SECTION ===============*/
.countdown {
  background-color: var(--christmas-red);
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.countdown__container {
  max-width: 70rem;
  margin: 0 auto;
  text-align: center;
}

.countdown__data {
  padding-block: 5rem 2rem;
}

.countdown__data .section__title {
  color: var(--white-color);
  margin-bottom: 2rem;
}

.countdown__data .section__subtitle {
  color: var(--white-color);
}

.countdown__description {
  color: var(--white-color);
  font-size: var(--normal-font-size);
  margin-bottom: 3rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.countdown__timer {
  margin-top: 3rem;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 50rem;
  margin: 0 auto;
}

.countdown-item {
  background-color: var(--container-color);
  border: 3px solid var(--white-color);
  border-radius: 1rem;
  padding: 2rem 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.countdown-item:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 8px 32px hsla(0, 0%, 0%, 0.2);
}

.countdown-value {
  font-size: var(--big-font-size);
  font-weight: var(--font-bold);
  color: var(--christmas-red);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.countdown-label {
  font-size: var(--small-font-size);
  color: var(--text-color);
  text-transform: uppercase;
  font-weight: var(--font-medium);
}

.countdown-message {
  font-size: var(--h2-font-size);
  color: var(--white-color);
  font-weight: var(--font-bold);
}

/*=============== AFTER SEASON SECTION ===============*/
.after-season {
  background-color: var(--black-color);
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.after-season__container {
  max-width: 70rem;
  margin: 0 auto;
  text-align: center;
}

.after-season__data {
  padding-block: 5rem 2rem;
}

.after-season__data .section__title {
  color: var(--white-color);
  margin-bottom: 2rem;
}

.after-season__data .section__subtitle {
  color: var(--second-color);
}

.after-season__description {
  color: var(--text-color-light);
  font-size: var(--normal-font-size);
  margin-bottom: 3rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/*=============== RESPONSIVE COUNTDOWN ===============*/
@media screen and (max-width: 768px) {
  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .countdown-value {
    font-size: var(--h1-font-size);
  }

  .countdown-item {
    padding: 1.5rem 0.75rem;
  }
}

@media screen and (max-width: 340px) {
  .countdown-grid {
    grid-template-columns: 1fr;
  }

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