:root {
  --light-color: #fff;
  --dark-color: #154a48;
  --accent-dark-color: #154a48;
  --accent-color: #1b5c5a;
  --accent-hover-color: #93c5fd;
  --bg-color: #f3f4f6;
  --error-color: #dc2626;
  --border-color: #d1d5db;
  --shadow-color: #dddddd;
  --footer-bg: #215c5a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

ul,
ol {
  list-style: none;
  padding-left: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.5s ease;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  padding: 0 20px;
  margin: 0 auto;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 260px;
  padding: 10px 0;
  font-size: 16px;
  background-color: var(--accent-color);
  color: var(--light-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.btn::before {
  content: "";
  position: absolute;
  width: 50%;
  height: 100%;
  transform: translateX(-150px) skewX(25deg);
  left: 0;
  top: 0;
  background-color: var(--accent-dark-color);
  opacity: 0.5;
  transition: all 1s ease;
  z-index: -1;
}

.btn:hover::before {
  transform: translateX(150%) skewX(25deg);
}

.logo {
  max-width: 90px;
}

.header {
  background-color: var(--light-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header__nav {
  padding: 16px 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__logo {
  font-size: 24px;
  font-weight: bold;
}
.header__logo-link {
  color: var(--accent-color);
  text-decoration: none;
}
.header__menu {
  display: flex;
  gap: 24px;
}
.header__menu--mobile {
  display: none;
  flex-direction: column;
  padding: 16px;
  background-color: var(--light-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 250px;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 100;
}
.header__menu--mobile-open {
  display: flex;
}
.header__menu--mobile ul {
  text-align: center;
  font-size: 20px;
  line-height: 1.2;
}

.header__menu--mobile li {
  margin: 10px 0;
}

.header__menu--mobile a {
  display: block;
  padding: 5px 0;
}
.header__menu-item-link {
  color: var(--dark-color);
  text-decoration: none;
  text-transform: uppercase;
}
.header__menu-item-link:hover {
  color: var(--accent-color);
}
.header__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
.header__toggle-icon {
  width: 24px;
  height: 24px;
}
.header__close {
  background: none;
  border: none;
  cursor: pointer;
  align-self: flex-end;
  padding: 16px;
}
.header__close-icon {
  width: 24px;
  height: 24px;
  color: var(--dark-color);
}
.header__close:hover .header__close-icon {
  color: var(--accent-color);
}
@media (max-width: 768px) {
  .header__menu--desktop {
    display: none;
  }
  .header__toggle {
    display: block;
  }
}

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.85)),
    url("../img/hero-1.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-color);
  padding: 64px 0px;
}
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 1s ease-in;
  min-height: 770px;
}
.hero__content--row {
  flex-direction: row;
  gap: 32px;
}
.hero__text {
  flex: 1;
  margin-bottom: 32px;
}

@media (max-width: 768.98px) {
  .hero__text {
    text-align: center;
  }
}
.hero__title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 16px;
}
.hero__description {
  font-size: 18px;
  margin-bottom: 24px;
}
.hero__form {
  flex: 1;
  max-width: 448px;
  width: 100%;
  background-color: rgba(234, 244, 255, 1);

  color: var(--dark-color);
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.hero__form-error {
  color: var(--error-color);
  font-size: 14px;
  margin-top: 4px;
  display: block;
}
.hero__form-field {
  margin-bottom: 16px;
}
.hero__form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}
.hero__form-input,
.hero__form-select,
.hero__form-textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 16px;
  box-shadow: inset 0px 2px 3px var(--shadow-color);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.hero__form-textarea {
  resize: vertical;
  min-height: 100px;
}
.hero__form-button {
  width: 100%;
  padding: 12px;
  background-color: var(--accent-color);
  color: var(--light-color);
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.hero__form-button::before {
  content: "";
  position: absolute;
  width: 50%;
  height: 100%;
  transform: translateX(-150%) skewX(-25deg);
  left: 0;
  top: 0;
  background-color: var(--accent-dark-color);
  transition: all 1s ease;
  z-index: -1;
}

.hero__form-button:hover::before {
  transform: translateX(150%) skewX(-25deg);
}
@media (min-width: 768px) {
  .hero__content {
    flex-direction: row;
  }
  .hero__text {
    text-align: left;
    margin-bottom: 0;
  }
  .hero__title {
    font-size: 48px;
  }
  .hero__description {
    font-size: 20px;
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.disclaimer-info {
  padding: 20px 0;
  background-color: var(--accent-color);
  color: var(--light-color);
  font-size: 20px;
  text-align: center;
}

.solutions {
  padding: 64px 16px;
  background-color: var(--bg-color);
}
.solutions__title {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 48px;
}
.solutions__grid {
  display: grid;
  gap: 32px;
}
.solutions__card {
  background-color: var(--light-color);
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}
.solutions__card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.solutions__card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}
.solutions__card-text {
  font-size: 16px;
}
@media (min-width: 768px) {
  .solutions__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about {
  padding: 64px 16px;
}
.about__title {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 48px;
}
.about__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about__image {
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 32px;
}
.about__text {
  font-size: 18px;
}
.about__text-paragraph {
  margin-bottom: 16px;
}
@media (min-width: 991.98px) {
  .about__content {
    flex-direction: row;
    gap: 32px;
  }
  .about__image {
    flex: 1;
    margin-bottom: 0;
  }
  .about__text {
    flex: 1;
  }
}

.reviews {
  padding: 64px 16px;
  background-color: var(--bg-color);
}
.reviews__title {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 48px;
}
.reviews__grid {
  display: grid;
  gap: 32px;
}
.reviews__card {
  background-color: var(--light-color);
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.reviews__card-text {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 16px;
}
.reviews__card-author {
  font-size: 16px;
  font-weight: 600;
}
@media (min-width: 768px) {
  .reviews__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.process {
  padding: 64px 16px;
}
.process__title {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 48px;
}
.process__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

@media (max-width: 768.98px) {
  .process__inner {
    flex-direction: column-reverse;
  }
  .process__chose {
    text-align: center;
  }
  .process__btn {
    margin: 0 auto;
  }
}

.process__inner > * {
  flex: 1 0 calc(50% - 40px);
}
.process__chose h3 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 20px;
}
.process__chose p {
  font-size: 18px;
  margin-bottom: 20px;
}
.process__list {
  max-width: 672px;
  margin: 0 auto;
  font-size: 18px;
}
.process__list-item {
  margin-bottom: 24px;
  background-color: var(--accent-color);
  color: var(--light-color);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.process__list-item-title {
  max-width: 46px;
  width: 100%;
}

.faq {
  padding: 64px 16px;
}
.faq__title {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 48px;
}
.faq__item {
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 10px;
  margin-bottom: 20px;
  background: rgba(234, 244, 255, 1);
}
.faq__item-title {
  font-size: 24px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}
.faq__item-title::before {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  font-size: 24px;
  color: var(--accent-color);
  transition: transform 0.3s ease;
}
.faq__item-title--open::before {
  transform: translateY(-50%) rotate(45deg);
}
.faq__item-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.faq__item-content--open {
  padding-top: 8px;
}
.faq__item-text {
  font-size: 16px;
  line-height: 1.5;
}

.footer {
  background-color: var(--footer-bg);
  color: var(--light-color);
  padding: 32px 16px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.footer__grid {
  display: grid;
  gap: 32px;
}
.footer__section-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer__section-text,
.footer__section-link {
  font-size: 16px;
}
.footer__section-link {
  color: var(--light-color);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}
.footer__section-link:hover {
  color: var(--accent-hover-color);
}
.footer__bottom {
  margin-top: 32px;
  text-align: center;
  font-size: 14px;
}
@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.content {
  padding: 64px 16px;
}
.content__title {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 48px;
}
.content__section {
  margin-bottom: 32px;
}
.content__section-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
}
.content__section-text {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 16px;
}
.content__link {
  color: var(--accent-color);
  text-decoration: none;
}
.content__link:hover {
  text-decoration: underline;
}

.thanks-page .content__text {
  margin-bottom: 15px;
}

.thanks-btn {
  margin: 40px auto 0;
}

/* ===== LOADER STYLES ===== */
.loader-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-in-out;
}

.loader-backdrop.show {
  display: flex;
}

.loader-container {
  max-width: 400px;
  width: 90%;
  background: var(--light-color);
  border-radius: 15px;
  box-shadow: 0 20px 40px var(--dark-color);
  padding: 2rem;
  text-align: center;
  animation: slideIn 0.4s ease-out;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.loader-spinner {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
}

.spinner-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top: 3px solid var(--dark-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loader-title {
  color: var(--dark-color);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.loader-message {
  color: var(--dark-color);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4;
}

.loader-progress {
  width: 100%;
  height: 4px;
  background: var(--dark-color);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-color), var(--light-color));
  border-radius: 2px;
  width: 0%;
  animation: progressFill 2.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: scale(0.8) translateY(-20px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes progressFill {
  0% {
    width: 0%;
  }
  30% {
    width: 30%;
  }
  60% {
    width: 60%;
  }
  90% {
    width: 90%;
  }
  100% {
    width: 100%;
  }
}

/* Responsive adjustments for loader */
@media screen and (max-width: 480px) {
  .loader-container {
    width: 95%;
    padding: 1.5rem;
  }

  .loader-title {
    font-size: 1.1rem;
  }

  .loader-message {
    font-size: 0.8rem;
  }

  .loader-spinner {
    width: 50px;
    height: 50px;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 16px;
  text-align: center;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  animation: slideUp 0.5s ease-out;
}

.cookie-banner__text {
  font-size: 14px;
  margin-right: 16px;
}

.cookie-banner__button {
  background-color: var(--accent-color);
  color: var(--light-color);
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cookie-banner__button:hover {
  background-color: var(--accent-hover-color);
}

.cookie-banner__button--reject {
  background-color: var(--light-color);
  color: var(--dark-color);
  border: 1px solid var(--dark-color);
}

.cookie-banner__button--reject:hover {
  background-color: var(--dark-color);
  color: var(--light-color);
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
