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

.success__text {
  margin-bottom: 27px;
}

.policy__title,
.success__title {
  font-weight: 700;
  font-size: 35px;
  line-height: 110%;
  letter-spacing: 0%;
  vertical-align: middle;
  margin-bottom: 28px;
}

.policy__text h2 {
  text-align: left;
  font-size: 22px;
}

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

.policy__text h2,
.policy__text p,
.policy__text ul {
  margin-bottom: 19px;
}

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

.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;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-family: "Arturito Slab", serif;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(180deg, #39dae5 0%, #3434d5 100%);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(180deg, #209ea7 0%, #1c1c99 100%);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #6c7b7f;
  color: white;
}

.btn-secondary:hover {
  background: #5a6b70;
}

.btn-dark {
  background: #2d3748;
  color: white;
  width: 100%;
  padding: 16px 24px;
  font-size: 16px;
}

.btn-dark:hover {
  background: #1a202c;
}

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

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

.cookies-content {
  background: white;
  padding: 30px;
  border-radius: 12px;
  max-width: 400px;
  margin: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cookies-content h3 {
  margin-bottom: 15px;
  color: #2d3748;
}

.cookies-content p {
  margin-bottom: 20px;
  color: #4a5568;
}

.cookies-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.cookies-buttons .btn {
  flex: 1;
  max-width: 120px;
}

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

.navbar {
  padding: 15px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #000;
  text-decoration: none;
}

.nav-logo .logo {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

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

.nav-link:hover {
  color: #4a90e2;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  transition: all 0.3s ease;
}

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

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: white;
  padding: 20px;
  display: none;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.mobile-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.mobile-btn {
  margin-top: 10px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 32px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
}

/* About Section */
.about {
  padding: 80px 0;
  background: #f8f9fa;
}

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

.about-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 16px;
}

.about-text p {
  font-size: 1.2rem;
  color: #4a5568;
  margin-bottom: 40px;
}

.about-features {
  display: grid;
  gap: 30px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.feature-icon {
  padding: 15px;

  flex-shrink: 0;
}


.feature-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 8px;
}

.feature-content p {
  color: #4a5568;
  line-height: 1.6;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Courses Section */
.courses {
  padding: 80px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}

.courses h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.courses > p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 60px;
  opacity: 0.95;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.course-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.course-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}


.course-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.course-card p {
  line-height: 1.6;
  opacity: 0.9;
}

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

.testimonials h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
  text-align: center;
  margin-bottom: 16px;
}

.testimonials > p {
  text-align: center;
  font-size: 1.2rem;
  color: #4a5568;
  margin-bottom: 60px;
}

.testimonials-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 50px;
}

.testimonials-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.testimonials-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.testimonial {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid #4a90e2;
}

.testimonial p {
  color: #2d3748;
  font-style: italic;
  margin-bottom: 15px;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author span {
  font-weight: 600;
  color: #2d3748;
}

.testimonials .btn {
  display: block;
  margin: 0 auto;
  width: fit-content;
}

/* Form Section */
.form-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}

.form-section h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.form-section > p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 50px;
  opacity: 0.95;
}

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

.contact-form input {
  padding: 16px 20px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 16px;
  font-family: "Arturito Slab", serif;
}

.contact-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
}

/* Footer */
.footer {
  background: #2d3748;
  color: white;
  padding: 40px 0;
}

.footer-logo {
  text-align: center;
  margin-bottom: 30px;
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-right {
  display: flex;
  gap: 30px;
}

.footer-right a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-right a:hover {
  color: #4a90e2;
}

/* Responsive Design */
@media (max-width: 968px) {
  .nav-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .about .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    order: -1;
  }

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

  .courses-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}

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

  .hero {
    padding: 100px 0 60px;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .about,
  .courses,
  .testimonials,
  .form-section {
    padding: 60px 0;
  }

  .about-content h2,
  .courses h2,
  .testimonials h2,
  .form-section h2 {
    font-size: 2.2rem;
  }

  .feature {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .course-card {
    padding: 30px 20px;
  }

  .testimonials-list {
    gap: 20px;
  }

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

  .cookies-content {
    margin: 15px;
    padding: 25px;
  }

  .cookies-buttons {
    flex-direction: column;
  }

  .cookies-buttons .btn {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .about-content h2,
  .courses h2,
  .testimonials h2,
  .form-section h2 {
    font-size: 1.9rem;
  }

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

  .contact-form input {
    padding: 14px 16px;
    font-size: 14px;
  }

  .btn-dark {
    padding: 14px 20px;
    font-size: 14px;
  }
}


@media (max-width: 768px) {
  .header-btn {
    display: none;
  }
}