.policy,
.success {
  padding-block: 130px 60px;
  min-height: 92vh;
}

.success__text {
  margin-bottom: 30px;
}

.policy__title,
.success__title {
  font-weight: 700;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;

  margin-bottom: 30px;
}

.policy__text {
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: 0%;
}

.policy__text h2,
.policy__text p,
.policy__text ul {
  margin-block: 14px;
}

.policy__text ul {
  padding-left: 20px;
}

.policy__link {
  color: #fff;
}

h1,
h2,
h3,
h4 {
  word-break: break-word;
}

html {
  scroll-behavior: smooth;
}

.container {
  margin: 0 auto;
  max-width: 1200px;
  padding-inline: 20px;
}

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

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

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

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cookie-popup.show {
  opacity: 1;
  visibility: visible;
}

.cookie-content {
  background: white;
  max-width: 500px;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin: 20px;
}

.cookie-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

.cookie-content p {
  margin-bottom: 30px;
  color: #666;
  line-height: 1.6;
}

.cookie-content a {
  color: #8b5cf6;
  text-decoration: none;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.btn-accept,
.btn-reject {
  padding: 12px 30px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;
}

.btn-accept {
  background: #8b5cf6;
  color: white;
}

.btn-accept:hover {
  background: #7c3aed;
}

.btn-reject {
  background: #a855f7;
  color: white;
}

.btn-reject:hover {
  background: #9333ea;
}

/* Header */
.header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

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

.logo h1 {
  font-size: 32px;
  font-weight: 800;
  color: #333;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-list a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-list a:hover {
  color: #8b5cf6;
}

.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 30px;
  justify-content: space-between;
  padding: 5px 0;
}

.burger-menu span {
  width: 100%;
  height: 3px;
  background: #333;
  transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Hero Section */
.hero {
  margin-top: 80px;
  padding: 80px 0;
  background: #f8f9fa;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-images {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  height: 500px;
}

.hero-img-main {
  grid-row: 1 / 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.hero-img-secondary {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.hero-img-small {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 800;
  color: #8b5cf6;
  margin-bottom: 30px;
  line-height: 1.2;
}

.hero-text p {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-button {
  display: inline-block;
  background: #8b5cf6;
  color: white;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #7c3aed;
  transform: translateY(-2px);
}

/* About Section */
.about {
  padding: 100px 0;
  background: #8b5cf6;
  color: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
}

/* Courses Section */
.courses {
  padding: 100px 0;
  background: white;
}

.courses h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 60px;
  color: #333;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.course-item {
  text-align: left;
}

.course-number {
  font-size: 72px;
  font-weight: 800;
  color: #8b5cf6;
  margin-bottom: 20px;
  line-height: 1;
}

.course-item h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

.course-item p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

/* Advantages Section */
.advantages {
  padding: 100px 0;
  background: #f8f9fa;
}

.advantages-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.advantages-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
}

.advantages-text h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

.advantages-text > p {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.7;
}

.advantages-text ul {
  list-style: none;
}

.advantages-text li {
  font-size: 16px;
  color: #333;
  margin-bottom: 15px;
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.advantages-text li::before {
  content: "•";
  color: #8b5cf6;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background: white;
}

.testimonials h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

.testimonials-subtitle {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.testimonial-item {
  background: #8b5cf6;
  color: white;
  padding: 30px;
  border-radius: 15px;
  text-align: left;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
}

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

.testimonial-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.testimonial-item p {
  font-size: 14px;
  line-height: 1.6;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: #8b5cf6;
}

.contact-content {
  text-align: center;
}

.contact h2 {
  color: white;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 18px 25px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #999;
}

.form-submit {
  background: white;
  color: #8b5cf6;
  padding: 18px 40px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;
  margin-top: 10px;
}

.form-submit:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: #7c3aed;
  color: white;
  padding: 60px 0 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-logo h3 {
  font-size: 32px;
  font-weight: 800;
}

.footer-social {
  display: flex;
  gap: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.social-link:hover {
  transform: translateY(-2px);
}

.social-link img {
  width: 20px;
  height: 20px;
}

.footer-links {
  display: flex;
  gap: 40px;
  justify-content: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #e879f9;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .burger-menu {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-images {
    order: 2;
    height: 300px;
  }

  .hero-text {
    order: 1;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .about-image {
    order: 1;
  }

  .about-text {
    order: 2;
  }

  .courses-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .advantages-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 20px;
  }

  .cookie-content {
    padding: 30px 20px;
    margin: 20px;
  }

  .cookie-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .btn-accept,
  .btn-reject {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .course-number {
    font-size: 56px;
  }

  .courses h2,
  .about-text h2,
  .advantages-text h2,
  .testimonials h2,
  .contact h2 {
    font-size: 28px;
  }

  .hero,
  .about,
  .courses,
  .advantages,
  .testimonials,
  .contact {
    padding: 60px 0;
  }
}
