* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: #f8f8f8;
  color: #222;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HEADER */

.header {
  border-right: none;
  border-left: none;
  background: #ffffff7c;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  border: solid 1px #ccc;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  align-items: center;
}

.logo {
  font-size: 22px;
  font-weight: bold;
}

.nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #222;
  transition: 0.3s;
  font-weight: 800;
}

.nav a:hover {
  color: #0077ff;
}

.burger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* MOBILE MENU */

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgb(0, 0, 0);
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  font-size: 24px;
  transform: translateX(-100%);
  transition: 0.3s;
  z-index: 1001;
}

.home-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  color: rgb(7, 11, 219);
}

.text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.text-wrapper li {
  margin-bottom: 10px;
  text-decoration: none;
  list-style: none;
}

.pages-wrap {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 100px;
  margin-bottom: 20px;
  background-color: #aad0db;
  border-radius: 30px;
  padding: 30px;
}

.mobile-menu a {
  text-decoration: none;
  color: rgb(196, 238, 240);
  transition: 0.2s;
}

.mobile-menu a:hover {
  color: #0077ff;
}

.mobile-close {
  color: rgb(196, 238, 240);
  font-size: 32px;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 20px;
}

/* HERO */

.hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, #e1f0ff, #aad0db);
}

.hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.hero-text h1 {
  font-size: 40px;
  margin-bottom: 15px;
}

.hero-text p {
  margin-bottom: 20px;
  font-size: 18px;
}

.btn {
  padding: 12px 22px;
  background: #0077ff;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s;
  display: inline-block;
  font-weight: bold;
  cursor: pointer;
}

.btn:hover {
  background: #005fcc;
}

.hero-img img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;

  @media (min-width: 954px) {
    max-width: fit-content;
  }
}

/* SECTIONS */

.section {
  padding: 100px 0;
}

.section.light {
  background: #eef5ff;
}

.section h2 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 50px;
}

/* CARDS */

.cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  width: calc((100% - 40px) / 3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card img {
  width: 100%;
  margin-bottom: 15px;
  border-radius: 8px;
}

.card h3 {
  margin-bottom: 10px;
}

.text-btn {
  color: #0077ff;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 10px;
}

.text-btn:hover {
  color: #005fcc;
}

/* PROGRAMS */

.program-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.program {
  display: flex;
  gap: 30px;
  align-items: center;
}

.program-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.program img {
  width: 260px;
  border-radius: 8px;
}

/* PROCESS */

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.step {
  width: calc((100% - 40px) / 3);
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.step span {
  font-size: 32px;
  font-weight: bold;
  color: #0077ff;
}

/* REVIEWS */

.reviews {
  display: flex;
  gap: 20px;
}

.review {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: calc((100% - 40px) / 3);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

/* FORM */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 450px;
  max-width: 100%;
  margin: auto;
}

input[type="text"],
input[type="email"] {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-message {
  margin-top: 10px;
  color: green;
}

/* FOOTER */

.footer {
  background: #222;
  color: #ddd;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-block h4 {
  margin-bottom: 15px;
}

.footer a {
  display: block;
  color: #ddd;
  text-decoration: none;
  margin-bottom: 5px;
}

.footer a:hover {
  color: white;
}

.copyright {
  text-align: center;
  margin-top: 15px;
  color: #61a0e79a;
}

/* COOKIE POPUP */

.cookie-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.cookie-content p {
  margin-bottom: 15px;
}

/* ADAPTIVE */

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .burger {
    display: block;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .cards,
  .reviews {
    flex-direction: column;
  }

  .card,
  .review {
    width: 100%;
  }

  .steps .step {
    width: 100%;
  }

  .program {
    flex-direction: column;
  }

  .program img {
    width: 100%;
  }
}
