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

.success__text {
  margin-bottom: 30px;
}

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

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

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

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

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cabin", sans-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: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: #4285f4;
  color: white;
}

.btn-primary:hover {
  background: #3367d6;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #4285f4;
  color: white;
  width: 100%;
}

.btn-secondary:hover {
  background: #3367d6;
}

.btn-support {
  background: #4285f4;
  color: white;
  padding: 10px 20px;
  font-size: 14px;
}

.btn-support:hover {
  background: #3367d6;
}

.btn-cookie-accept {
  background: #4285f4;
  color: white;
  padding: 10px 20px;
  font-size: 14px;
  margin-right: 10px;
}

.btn-cookie-decline {
  background: #666;
  color: white;
  padding: 10px 20px;
  font-size: 14px;
}

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

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

.nav-brand a {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

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

.nav-link:hover {
  color: #4285f4;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: url("../img/hero-bg.png")  center / cover no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}



.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 80px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Courses Section */
.courses {
  padding: 5rem 0;
  background: #fff;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: #333;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.course-card {
  text-align: center;
  padding: 2rem 1rem;
}

.course-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 50%;
}

.course-icon img {
  width: 40px;
  height: 40px;
}

.course-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.course-description {
  color: #666;
  line-height: 1.5;
}

.courses-image {
  text-align: center;
  margin-top: 3rem;
}

.courses-image img {
  max-width: 500px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* How It Works Section */
.how-it-works {
  padding: 5rem 0;
  background: #f8f9fa;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background: #4285f4;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.step-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon img {
  width: 40px;
  height: 40px;
}

.step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.step-description {
  color: #666;
  line-height: 1.5;
}

/* Benefits Section */
.benefits {
  padding: 5rem 0;
  background: #fff;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.benefit-card {
  text-align: center;
  padding: 2rem 1rem;
}

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 50%;
}

.benefit-icon img {
  width: 40px;
  height: 40px;
}

.benefit-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.benefit-description {
  color: #666;
  line-height: 1.5;
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  background: #f8f9fa;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
}

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

.testimonial-text {
  color: #666;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

/* Registration Section */
.registration {
  padding: 5rem 0;
  background: linear-gradient(135deg, #4285f4 0%, #3367d6 100%);
  color: white;
}

.registration-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.registration-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.registration-subtitle {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.registration-form {
  background: white;
  padding: 3rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-row {
  margin-bottom: 1.5rem;
}

.form-input {
  width: 100%;
  padding: 15px;
  border: 2px solid #e9ecef;
  border-radius: 6px;
  font-size: 16px;
  font-family: "Cabin", sans-serif;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #4285f4;
}

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

/* Footer */
.footer {
  background: #2c3e50;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-description {
  color: #bdc3c7;
  line-height: 1.6;
}

.footer-info p {
  color: #bdc3c7;
  margin-bottom: 0.5rem;
}

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

.footer-link {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #4285f4;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #34495e;
  color: #bdc3c7;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.3s ease;
  max-width: 400px;
}

.cookie-popup.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.cookie-text {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.5;
  font-size: 14px;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cookie-link {
  color: #4285f4;
  text-decoration: none;
  font-size: 14px;
}

.cookie-link:hover {
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
    padding: 2rem 0;
    gap: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

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

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .registration-title {
    font-size: 2rem;
  }

  .registration-form {
    padding: 2rem 1.5rem;
  }

  .cookie-popup {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .cookie-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-buttons .btn {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

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

  .nav {
    padding: 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .registration-title {
    font-size: 1.8rem;
  }

  .registration-form {
    padding: 1.5rem;
  }
}

/* Smooth scrolling offset for fixed header */
section {
  scroll-margin-top: 80px;
}
