.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__text ul {
  padding-left: 20px;
}

.policy__link {
  color: #fff;
}

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

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

/* Utilities */
.hidden {
  display: none !important;
}

.btn-primary {
  background: linear-gradient(45deg, #0ea5e9, #06b6d4);
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  font-size: 16px;
  text-transform: uppercase;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  padding: 15px 30px;
  border: 2px solid #64748b;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 10px 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;
  gap: 30px;
}

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

.nav-link:hover {
  color: #0ea5e9;
}

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

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url("../img/hero-bg.png") center / cover no-repeat;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  color: white;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

/* Education Section */
.education {
  padding: 100px 0;
  background: #f8fafc;
}

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

.education-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #1e293b;
}

.education-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #475569;
}

.education-text ul {
  margin: 20px 0;
  padding-left: 20px;
}

.education-text li {
  margin-bottom: 10px;
  color: #475569;
}

.education-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Investment Basics Section */
.investment-basics {
  padding: 100px 0;
  background: white;
}

.investment-basics h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1e293b;
}

.investment-basics > .container > p {
  text-align: center;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 60px;
  color: #475569;
}

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

.basic-item {
  padding: 40px 30px;
  background: #f8fafc;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.basic-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.basic-item h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #1e293b;
}

.basic-item p {
  color: #475569;
  line-height: 1.7;
}

/* Support Section */
.support {
  padding: 100px 0;
  background: #f8fafc;
}

.support h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1e293b;
}

.support > .container > p {
  text-align: center;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 60px;
  color: #475569;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
}

.support-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.support-item:hover {
  transform: translateY(-10px);
}

.support-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.support-item h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 20px 30px 15px;
  color: #1e293b;
}

.support-item p {
  margin: 0 30px 30px;
  color: #475569;
  line-height: 1.7;
}

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

.about-img {
  width: 100%;
  object-fit: contain;
  height: fit-content;
}

@media (min-width: 908px) {
  .about-img {
    width: 546px;
  }
}

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

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #1e293b;
}

.about-text p {
  margin-bottom: 20px;
  color: #475569;
  line-height: 1.7;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.stat-item {
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
}

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

.testimonials h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 60px;
  color: #1e293b;
}

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

.testimonial-item {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.testimonial-item p {
  font-style: italic;
  margin-bottom: 20px;
  color: #475569;
  line-height: 1.7;
}

.testimonial-author {
  font-weight: 600;
  color: #1e293b;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: white;
}

.contact h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.contact-form input,
.contact-form textarea {
  padding: 15px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-family: "Open Sans", sans-serif;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: white;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
}

.contact-form button {
  align-self: center;
  margin-top: 20px;
}

/* Footer */
.footer {
  background: #0f172a;
  color: white;
  padding: 50px 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

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

.footer-links h4 {
  margin-bottom: 20px;
  color: white;
}

.footer-links p {
  margin-bottom: 10px;
  color: #94a3b8;
}

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

.footer-link {
  color: #fff;
  text-decoration: none;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #475569;
  color: white;
  padding: 30px;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

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

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.cookie-content p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.cookie-content ul {
  margin: 15px 0;
  padding-left: 20px;
}

.cookie-content li {
  margin-bottom: 5px;
}

.cookie-buttons {
  display: flex;
  gap: 20px;
  margin-top: 25px;
}

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

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

.success-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #1e293b;
}

.success-content p {
  margin-bottom: 30px;
  color: #475569;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Navigation */
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(15, 23, 42, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 50px;
    transition: left 0.3s ease;
  }

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

  .nav-toggle {
    display: flex;
  }

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

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

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

  /* Hero */
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-background {
    width: 100%;
    opacity: 0.1;
  }

  /* Education */
  .education-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .education-text h2 {
    font-size: 2rem;
  }

  /* Support */
  .support-grid {
    grid-template-columns: 1fr;
  }

  .support-item {
    min-width: auto;
  }

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

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

  .about-stats {
    flex-direction: row;
    justify-content: space-around;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact h2 {
    font-size: 2rem;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

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

  /* Basics Grid */
  .basics-grid {
    grid-template-columns: 1fr;
  }

  /* General */
  .container {
    padding: 0 15px;
  }

  h2 {
    font-size: 2rem !important;
  }

  section {
    padding: 60px 0 !important;
  }
}

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

  .btn-primary,
  .btn-secondary {
    padding: 12px 25px;
    font-size: 14px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .cookie-content {
    padding: 0 15px;
  }
}
