.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-bottom: 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: "Jersey 25", cursive;
  line-height: 1.6;
  color: #333;
  background-color: #1a1a1a;
}

.policy {
  color: #fff;
}

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

/* Header Styles */
.header {
  background-color: #00ffcc;
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  color: #1a1a1a;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 2px;
}

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

.desktop-nav a {
  color: #1a1a1a;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: opacity 0.3s;
}

.desktop-nav a:hover {
  opacity: 0.7;
}

/* Mobile Menu */
.burger-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.burger-btn span {
  width: 25px;
  height: 3px;
  background-color: #1a1a1a;
  margin: 3px 0;
  transition: 0.3s;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #00ffcc;
  padding: 20px 0;
}

.mobile-nav ul {
  list-style: none;
  text-align: center;
}

.mobile-nav li {
  margin: 10px 0;
}

.mobile-nav a {
  color: #1a1a1a;
  text-decoration: none;
  font-size: 1.2rem;
}

/* Hero Section */
.hero {
  background-color: #2a2a2a;
  color: white;
  padding: 120px 0 80px;
  background-image: url("../img/hero-bg.png");
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
}

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

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  text-transform: uppercase;
  font-weight: bold;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 15px;
  opacity: 0.9;
}

.hero-description {
  font-size: 1rem;
  margin-bottom: 30px;
  max-width: 600px;
}

.cta-button {
  background-color: #00ffcc;
  color: #1a1a1a;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 50px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 204, 0.3);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  background-color: #00ffcc;
  padding: 30px;
  border-radius: 20px;
  margin-top: 30px;
}

.stat-item h3 {
  color: #1a1a1a;
  font-size: 0.9rem;
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
}

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

/* About Section */
.about {
  background-color: #1a1a1a;
  color: white;
  padding: 80px 0;
}

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

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.7;
  opacity: 0.9;
}

.secondary-button {
  background-color: #00ffcc;
  color: #1a1a1a;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  display: inline-block;
  margin-top: 20px;
  transition: transform 0.3s;
}

.secondary-button:hover {
  transform: translateY(-2px);
}

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

/* Courses Section */
.courses {
  background-color: #2a2a2a;
  color: white;
  padding: 80px 0;
}

.courses h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #00ffcc;
  font-weight: bold;
  text-transform: uppercase;
}

.section-description {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

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

.course-card {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 255, 204, 0.2);
}

.course-image img {
  margin: 20px auto 0;
  display: block;
  width: 80%;
  height: 200px;
  object-fit: cover;
}

.course-content {
  padding: 25px;
}

.course-content h3 {
  color: #1a1a1a;
  font-size: 1.1rem;
  margin-bottom: 15px;
  font-weight: bold;
  text-transform: uppercase;
}

.course-content p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Topics Section */
.topics {
  background-color: #1a1a1a;
  color: white;
  padding: 80px 0;
}

.topics h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 50px;
  color: #00ffcc;
  font-weight: bold;
  text-transform: uppercase;
}

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

.topic-card {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.topic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 255, 204, 0.2);
}

.topic-image img {
  margin: 20px auto 0;
  display: block;
  width: 80%;
  height: 200px;
  object-fit: cover;
}

.topic-content {
  padding: 25px;
}

.topic-content h3 {
  color: #1a1a1a;
  font-size: 1rem;
  margin-bottom: 15px;
  font-weight: bold;
  text-transform: uppercase;
}

.topic-content p {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Contact Section */
.contact {
  background-color: #2a2a2a;
  color: white;
  padding: 80px 0;
  text-align: center;
}

.contact h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  font-weight: bold;
  text-transform: uppercase;
}

.contact h3 {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: #00ffcc;
  text-transform: uppercase;
}

.contact p {
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 10px;
  background-color: #555;
  color: white;
  font-size: 1rem;
  font-family: "Jersey 25", cursive;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #bbb;
}

.submit-button {
  background-color: #00ffcc;
  color: #1a1a1a;
  padding: 15px 40px;
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s;
  font-family: "Jersey 25", cursive;
}

.submit-button:hover {
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background-color: #00ffcc;
  color: #1a1a1a;
  padding: 40px 0;
}

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

.footer-info p {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.company-info {
  margin-top: 20px;
}

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

.footer-links a {
  color: #1a1a1a;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: bold;
  text-transform: uppercase;
}

.footer-links a:hover {
  opacity: 0.7;
}

/* Cookies Popup */
.cookies-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: #1a1a1a;
  color: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  display: none;
  max-width: 500px;
  margin: 0 auto;
}

.cookies-popup.show {
  display: block;
}

.cookies-content h3 {
  margin-bottom: 15px;
  color: #00ffcc;
}

.cookies-content p {
  margin-bottom: 20px;
  font-size: 0.9rem;
  opacity: 0.9;
}

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

.accept-btn,
.decline-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-family: "Jersey 25", cursive;
  font-size: 0.9rem;
  transition: transform 0.3s;
}

.accept-btn {
  background-color: #00ffcc;
  color: #1a1a1a;
}

.decline-btn {
  background-color: #555;
  color: white;
}

.accept-btn:hover,
.decline-btn:hover {
  transform: translateY(-2px);
}

.settings-link {
  color: #00ffcc;
  text-decoration: none;
  padding: 10px 0;
  font-size: 0.9rem;
}

/* Success Popup */
.success-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 10001;
  display: none;
  justify-content: center;
  align-items: center;
}

.success-popup.show {
  display: flex;
}

.success-content {
  background-color: white;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  max-width: 400px;
  margin: 0 20px;
}

.success-content h3 {
  color: #1a1a1a;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.success-content p {
  color: #555;
  margin-bottom: 25px;
}

.close-btn {
  background-color: #00ffcc;
  color: #1a1a1a;
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-family: "Jersey 25", cursive;
  font-size: 1rem;
  font-weight: bold;
  transition: transform 0.3s;
}

.close-btn:hover {
  transform: translateY(-2px);
}

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

  .burger-btn {
    display: flex;
  }

  .mobile-nav.show {
    display: block;
  }

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

  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .footer-links {
    justify-content: center;
  }

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

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

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

  .courses h2,
  .topics h2,
  .contact h2 {
    font-size: 1.8rem;
  }

  .about-text h2 {
    font-size: 1.8rem;
  }

  .container {
    padding: 0 15px;
  }

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

  .about,
  .courses,
  .topics,
  .contact {
    padding: 60px 0;
  }
}
