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

.success__text {
  margin-bottom: 27px;
}

.success {
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

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

/* Typography */
h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1rem;
}

p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 30px;
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

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

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

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

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

.btn-full-width {
  width: 100%;
  padding: 18px 30px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
}

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

.nav-logo img {
  height: 40px;
}

.nav-menu {
  display: flex;
}

.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: #d946ef;
}

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

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

/* Hero Section */
.hero {
  background:  url("../img/hero-bg.png") center / cover no-repeat;
  color: white;
  padding: 120px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

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

.hero-text h1 {
  color: white;
  font-size: 3.5rem;
}

.hero-description {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #e2e8f0;
}

.hero-visual img {
  width: 100%;
  height: auto;
}

/* About Section */
.about {
  background-color: white;
  padding: 100px 0;
}

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

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

/* Learning Section */
.learning {
  background-color: #1e40af;
  color: white;
  padding: 100px 0;
}

.learning-header {
  text-align: center;
  margin-bottom: 4rem;
}

.learning-header h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.learning-header p {
  font-size: 1.3rem;
  color: #e2e8f0;
}

.learning-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.learning-card {
  background-color: white;
  color: #333;
  padding: 2rem;
  border-radius: 10px;
}

.learning-card h3 {
  color: #1e40af;
  margin-bottom: 1rem;
}

/* Purpose Section */
.purpose {
  background-color: white;
  padding: 100px 0;
}

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

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

/* Approach Section */
.approach {
  background-color: #1e40af;
  color: white;
  padding: 100px 0;
}

.approach-header {
  text-align: center;
  margin-bottom: 4rem;
}

.approach-header h2 {
  color: white;
  font-size: 2.5rem;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.approach-card {
  background-color: white;
  color: #333;
  padding: 2rem;
  border-radius: 10px;
}

.approach-card h3 {
  color: #1e40af;
  margin-bottom: 1rem;
}

/* Ready Section */
.ready {
  background-color: white;
  padding: 100px 0;
}

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

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

/* Contact Section */
.contact {
  background-color: #1e40af;
  color: white;
  padding: 100px 0;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-header h2 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.contact-header p {
  font-size: 1.2rem;
  color: #e2e8f0;
  max-width: 800px;
  margin: 0 auto 1rem;
}

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

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

.form-group input {
  width: 100%;
  padding: 18px;
  font-family: "Open Sans", sans-serif;
  font-size: 1.1rem;
  border: none;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
}

.form-group input::placeholder {
  color: #666;
}

.form-group input:focus {
  outline: none;
  background-color: white;
  box-shadow: 0 0 0 3px rgba(217, 70, 239, 0.2);
}

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

.footer-content {
  text-align: center;
}

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

.footer-company {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-address,
.footer-email,
.footer-phone {
  margin-bottom: 0.3rem;
  color: #ccc;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  border-top: 1px solid #333;
  padding-top: 2rem;
}

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

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

.footer-copyright {
  color: #666;
  font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #2d3748;
  color: white;
  padding: 2rem;
  z-index: 2000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

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

.cookie-content h3 {
  color: white;
  margin-bottom: 1rem;
}

.cookie-content p {
  margin-bottom: 1rem;
  color: #e2e8f0;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.cookie-buttons .btn {
  padding: 12px 24px;
}

/* Success Popup */
.success-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.success-content {
  background-color: white;
  padding: 3rem;
  border-radius: 10px;
  max-width: 500px;
  text-align: center;
  margin: 0 20px;
}

.success-content h3 {
  color: #1e40af;
  margin-bottom: 1.5rem;
}

.success-content p {
  margin-bottom: 1rem;
  color: #666;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: white;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: left 0.3s ease;
    padding-top: 2rem;
  }

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

  .nav-list {
    flex-direction: column;
    gap: 1.5rem;
  }

  .nav-toggle {
    display: flex;
  }

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

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

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

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    padding: 100px 0 60px;
    text-align: center;
  }

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

  .about-content,
  .purpose-content,
  .ready-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .learning-grid,
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .learning-card,
  .approach-card {
    padding: 1.5rem;
  }

  .contact-header h2 {
    font-size: 2rem;
  }

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

  .success-content {
    padding: 2rem;
    margin: 0 1rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

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

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero,
  .about,
  .learning,
  .purpose,
  .approach,
  .ready,
  .contact {
    padding: 60px 0;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .learning-card,
  .approach-card {
    padding: 1.2rem;
  }

  .form-group input {
    padding: 15px;
  }
}

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