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

.success__text {
  margin-bottom: 27px;
}

.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: 17px;
}

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

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

.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: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: #666;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

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

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

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

.btn-secondary:hover {
  background: #2563eb;
  color: white;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.cookie-content {
  padding: 2rem;
}

.cookie-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cookie-popup h3 {
  color: #2563eb;
  margin-bottom: 1rem;
}

.cookie-popup p {
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-buttons .btn {
  flex: 1;
  text-align: center;
  min-width: 150px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid 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: 1.5rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
}

.desktop-menu {
  display: flex;
  gap: 2rem;
}

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

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

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 24px;
  justify-content: space-between;
}

.mobile-menu-btn span {
  width: 100%;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-menu {
  position: fixed;
  top: 70px;
  right: -100%;
  width: 300px;
  height: fit-content;
  background: white;
  display: flex;
  flex-direction: column;
  padding: 5rem 2rem 2rem;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 999;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu a {
  padding: 1rem 0;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  border-bottom: 1px solid #eee;
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: #2563eb;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white;
  padding: 8rem 0 4rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

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

.hero-left h1 {
  margin-bottom: 2rem;
  color: white;
}

.hero-left p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

.hero-right {
  display: flex;
  justify-content: center;
}

.hero-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 400px;
}

.hero-images img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 16px;
}

.hero-img-2 {
  margin-top: 2rem;
}

/* About Section */
.about {
  padding: 6rem 0;
  background: #f8fafc;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-left h2 {
  text-align: left;
  margin-bottom: 2rem;
}

.about-left p {
  margin-bottom: 1.5rem;
}

.about-right {
  position: relative;
}

.about-right img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 2rem;
}

.about-highlight {
  background: #2563eb;
  color: white;
  padding: 2rem;
  border-radius: 16px;
  margin-top: -3rem;
  margin-left: 2rem;
  position: relative;
  z-index: 2;
}

.about-highlight h3 {
  color: white;
  margin-bottom: 1rem;
}

.about-highlight p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Courses Section */
.courses {
  padding: 6rem 0;
  background: white;
}

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

.course-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.course-content {
  padding: 2rem;
}

.course-content h3 {
  color: #2563eb;
  margin-bottom: 1rem;
}

.course-content p {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.course-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 1.5rem;
}

/* Blog Section */
.blog {
  padding: 6rem 0;
  background: #f8fafc;
}

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

.blog-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
}

.blog-card.large {
  grid-row: span 2;
}

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

.blog-card.large img {
  height: 300px;
}

.blog-content {
  padding: 1.5rem;
}

.blog-content h3 {
  color: #2563eb;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.blog-content p {
  margin: 0;
  font-size: 0.9rem;
}

/* FAQ Section */
.faq {
  padding: 6rem 0;
  background: white;
}

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

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: white;
  border: none;
  padding: 1.5rem;
  text-align: left;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f8fafc;
}

.faq-icon {
  font-size: 1.2rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: #f8fafc;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  margin: 0;
}

/* Contact Section */
.contact {
  padding: 6rem 0;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-left img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
}

.contact-right h2 {
  color: white;
  text-align: left;
  margin-bottom: 1rem;
}

.contact-right p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-info p {
  color: white;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(10px);
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.2);
}

/* Footer */
.footer {
  background: white;
  padding: 3rem 0 2rem;
  border-top: 1px solid #e5e7eb;
}

.footer-brand h3 {
  color: #2563eb;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  text-decoration: none;
  color: #666;
  font-size: 0.9rem;
}

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

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

.copyright {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
  color: #999;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  /* Header */
  .desktop-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  /* Hero */
  .hero {
    padding: 6rem 0 3rem;
    text-align: center;
  }

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

  .hero-images {
    max-width: 300px;
    margin: 0 auto;
  }

  /* About */
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-highlight {
    margin-left: 0;
    margin-top: 1rem;
  }

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

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

  .blog-card.large {
    grid-row: span 1;
  }

  /* FAQ */
  .faq-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Cookie Popup */
  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-buttons .btn {
    width: 100%;
  }
}

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

  .hero-images {
    grid-template-columns: 1fr;
    max-width: 250px;
  }

  .hero-img-2 {
    margin-top: 0;
  }

  .course-card,
  .courses-grid {
    min-width: unset;
  }

  .nav {
    padding: 1rem;
  }

  .mobile-menu {
    width: 250px;
  }
}
