.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: 28x;
}

.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 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: "Raleway", 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.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

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

.cookie-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

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

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

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

.cookie-btn {
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Raleway", sans-serif;
}

.cookie-btn.accept {
  background: #4caf50;
  color: white;
}

.cookie-btn.accept:hover {
  background: #45a049;
  transform: translateY(-2px);
}

.cookie-btn.manage {
  background: #4caf50;
  color: white;
}

.cookie-btn.manage:hover {
  background: #45a049;
  transform: translateY(-2px);
}

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

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

.nav-logo a {
  font-size: 28px;
  font-weight: 800;
  color: #ff5722;
  text-decoration: none;
}

.nav-menu {
  display: flex;
}

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

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

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

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #666;
  font-size: 14px;
  font-weight: 400;
}

.nav-links a:hover {
  color: #ff5722;
}

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

.nav-toggle-bar {
  width: 25px;
  height: 3px;
  background: #333;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #ff5722 0%, #ff7043 100%);
  color: white;
  padding: 120px 0 80px;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 30px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0.95;
}

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

.hero-btn:hover {
  background: #45a049;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4);
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
}

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

.benefits h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #333;
  position: relative;
  width: fit-content;
  margin: 0 auto 60px;
}

.benefits h2::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  left: -70px;
  background: url("../img/title-icon-1.png") center / contain no-repeat;
}

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

.benefit-card {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

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

.benefit-icon img {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
}

.benefit-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ff5722;
}

.benefit-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #666;
}

.section-btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
  background: #4caf50;
  color: white;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.section-btn:hover {
  background: #45a049;
  transform: translateY(-3px);
}

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

.courses h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;

  color: #333;
    position: relative;
  width: fit-content;
  margin: 0 auto 60px;
}

.courses h2::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  left: -70px;
  background: url("../img/title-icon-2.png") center / contain no-repeat;
}

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

.course-card {
  border-radius: 20px;
  padding: 40px 30px;
  color: white;
  position: relative;
  overflow: hidden;
}

.course-card.blue {
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
}

.course-card.purple {
  background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
}

.course-card.yellow {
  background: linear-gradient(135deg, #ffc107 0%, #f57c00 100%);
}

.course-card.purple-light {
  background: linear-gradient(135deg, #673ab7 0%, #512da8 100%);
}

.course-card.orange {
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.course-card.blue-light {
  background: linear-gradient(135deg, #03a9f4 0%, #0288d1 100%);
}

.course-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.course-price {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
}

.course-card p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 25px;
  opacity: 0.95;
}

.course-image {
  margin: 25px 0;
}

.course-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.course-btn {
  display: inline-block;
  background: #4caf50;
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.course-btn:hover {
  background: #45a049;
  transform: translateY(-2px);
}

/* Stats Section */
.stats {
  background: linear-gradient(135deg, #ff5722 0%, #ff7043 100%);
  color: white;
  padding: 80px 0;
  position: relative;
}

.stats-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.stats h2 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  width: fit-content;
  margin: 0 auto 60px;
}

.stats h2::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  left: -70px;
  background: url("../img/title-icon-3.png") center / contain no-repeat;
}


.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 16px;
  font-weight: 500;
  opacity: 0.9;
}

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

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

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

.blog h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #333;
   position: relative;
  width: fit-content;
  margin: 0 auto 60px;
}


.blog h2::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  left: -70px;
  background: url("../img/title-icon-4.png") center / contain no-repeat;
}


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

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

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

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

.blog-content {
  padding: 30px;
}

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

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

/* Contact Section */
.contact {
  background: linear-gradient(135deg, #ff5722 0%, #ff7043 100%);
  color: white;
  padding: 80px 0;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

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

.contact p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0.95;
}

.contact-info {
  margin-bottom: 50px;
}

.contact-info p {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 500;
}

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

.contact-form input,
.contact-form textarea {
  padding: 18px 25px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-family: "Raleway", sans-serif;
  background: white;
  color: #333;
}

.contact-form textarea {
  border-radius: 25px;
  resize: vertical;
  min-height: 120px;
}

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

.form-btn {
  background: #4caf50;
  color: white;
  padding: 18px 40px;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Raleway", sans-serif;
}

.form-btn:hover {
  background: #45a049;
  transform: translateY(-3px);
}

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

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

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

.footer-logo a {
  font-size: 28px;
  font-weight: 800;
  color: #ff5722;
  text-decoration: none;
}

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

.footer-links a {
  text-decoration: none;
  color: #ccc;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.footer-info {
  margin-bottom: 30px;
}

.footer-info p {
  margin-bottom: 10px;
  color: #ccc;
}

.footer-copyright {
  padding-top: 30px;
  border-top: 1px solid #555;
}

.footer-copyright p {
  color: #999;
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 50px;
    transition: left 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  }

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

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

  .nav-link {
    font-size: 20px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

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

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

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

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

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

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

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

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

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

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

  .hero-container {
    padding: 0 15px;
  }

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

  .hero-content p {
    font-size: 15px;
  }

  .benefits,
  .courses,
  .blog {
    padding: 60px 0;
  }

  .benefits h2,
  .courses h2,
  .blog h2 {
    font-size: 28px;
  }

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

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

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

  .stats {
    padding: 60px 0;
  }

  .stats h2 {
    font-size: 28px;
  }

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

  .stat-number {
    font-size: 36px;
  }

  .contact {
    padding: 60px 0;
  }

  .contact h2 {
    font-size: 28px;
  }

  .contact-container {
    padding: 0 15px;
  }

  .footer {
    padding: 40px 0 20px;
  }

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

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

  .cookie-content h3 {
    font-size: 20px;
  }
}

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

/* Focus States for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid #ff5722;
  outline-offset: 2px;
}

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

.benefit-card,
.course-card,
.blog-card {
  animation: fadeInUp 0.6s ease forwards;
}
