.policy,
.success,
.contact-section {
  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-bottom: 14px;
}

.policy__link {
  color: #fff;
}

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

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

/* Utility Classes */
.hidden {
  display: none;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

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

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

.btn-secondary {
  background: transparent;
  color: #333;
  border: 2px solid #ddd;
}

.btn-secondary:hover {
  background: #f8f9fa;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  padding: 20px;
}

.cookie-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-content p {
  color: white;
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
  min-width: 300px;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

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

.cookie-buttons .btn-primary {
  padding: 10px 20px;
  font-size: 14px;
}

/* Header */
.header {
  background: #f8f2f0;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

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

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

.nav-link:hover {
  color: #e67e5b;
}

.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: #f8f2f0;
  padding: 80px 0 100px;
  min-height: 70vh;
  height: fit-content !important;
}

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

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

.hero-text p {
  font-size: 16px;
  color: #666;
  margin-bottom: 32px;
  line-height: 1.6;
}


.hero-img {
  width: 100%;
  object-fit: contain;
}

.hero-img-1 {
  width: 180px;
  height: 180px;
  top: 0;
  left: 50px;
  z-index: 3;
}

.hero-img-2 {
  width: 160px;
  height: 160px;
  top: 120px;
  left: 0;
  z-index: 2;
}

.hero-img-3 {
  width: 140px;
  height: 140px;
  top: 60px;
  right: 0;
  z-index: 1;
}

/* Benefits Section */
.benefits {
  padding: 100px 0;
  background: white;
}

.benefits-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  margin-bottom: 60px;
  align-items: start;
}

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

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

.benefit-item {
  margin-bottom: 32px;
}

.benefit-item p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 8px;
}

.benefit-item strong {
  color: #333;
  font-weight: 600;
}

.quote {
  background: #e67e5b;
  padding: 60px 40px;
  border-radius: 12px;
  text-align: center;
  margin-top: 60px;
}

.quote blockquote {
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  line-height: 1.3;
}

.quote cite {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-style: normal;
}

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

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

.courses-intro {
  font-size: 16px;
  color: #666;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

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

.course-card {
  background: white;
  padding: 32px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.course-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #333;
  line-height: 1.3;
}

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

/* Pricing Section */
.pricing {
  padding: 100px 0;
  background: white;
  text-align: center;
}

.pricing h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #333;
}

.pricing-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 24px;
  font-style: italic;
}

.pricing-description {
  font-size: 16px;
  color: #666;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.pricing-features {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 12px;
  margin: 40px 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-features h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

.pricing-features ul {
  list-style: none;
  text-align: left;
}

.pricing-features li {
  font-size: 16px;
  color: #666;
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #e67e5b;
  font-weight: bold;
}

.pricing-cta {
  font-size: 16px;
  color: #666;
  margin: 40px auto;
  max-width: 600px;
  line-height: 1.6;
}

.pricing-image {
  margin-top: 60px;
}

.pricing-image img {
  width: 100%;
  max-width: 600px;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
}

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

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

.testimonials-intro {
  font-size: 16px;
  color: #666;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

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

.testimonial-card {
  background: white;
  padding: 32px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  display: block;
}

.testimonial-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #333;
}

.testimonial-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  text-align: left;
}

/* Blog Section */
.blog {
  padding: 100px 0;
  background: white;
}

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

.blog-intro {
  font-size: 16px;
  color: #666;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

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

.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.blog-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 24px;
}

.blog-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #333;
  line-height: 1.3;
}

.blog-content p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Registration Section */
.registration {
  padding: 100px 0;
  background: #f8f2f0;
}

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

.registration-subtitle {
  font-size: 16px;
  color: #666;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

.registration-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e67e5b;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Footer */
.footer {
  background: #e67e5b;
  color: white;
  padding: 60px 0 20px;
}

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

.footer-contact h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-contact p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-links {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

/* 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);
    padding: 30px 0;
  }

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

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

  .nav-toggle {
    display: flex;
  }

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

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

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

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

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


  .hero-img-1 {
    width: 140px;
    height: 140px;
    left: 20px;
  }

  .hero-img-2 {
    width: 120px;
    height: 120px;
    top: 100px;
  }

  .hero-img-3 {
    width: 100px;
    height: 100px;
    top: 40px;
    right: 20px;
  }

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

  .quote {
    padding: 40px 20px;
  }

  .quote blockquote {
    font-size: 24px;
  }

  .courses h2,
  .pricing h2,
  .testimonials h2,
  .blog h2,
  .registration h2 {
    font-size: 28px;
  }

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

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

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

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

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    justify-content: center;
    width: 100%;
  }
}

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

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

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

  .sections {
    padding: 80px 0;
  }

  .course-card,
  .testimonial-card {
    padding: 24px 20px;
  }

  .registration-form {
    padding: 30px 20px;
  }

  .quote blockquote {
    font-size: 20px;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Animation for cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.course-card,
.testimonial-card,
.blog-card {
  animation: fadeInUp 0.6s ease-out;
}
