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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto Serif", serif;
  line-height: 1.6;
  color: #fff;
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
  min-height: 100vh;
}

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

/* Typography */
h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #fff;
  line-height: 1.2;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: #fff;
}

p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: #e2e8f0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 32px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
  color: #fff;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

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

.btn-secondary:hover {
  background: #8b5cf6;
  color: #fff;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

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

.nav-brand h1 {
  font-size: 1.8rem;
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

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

.nav-link:hover {
  color: #8b5cf6;
}

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

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  transition: all 0.3s ease;
}

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

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

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

/* Hero Section */
.hero {
  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 h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #fff 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #cbd5e1;
}

.hero-image {
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(139, 92, 246, 0.3));
}

/* Courses Section */
.courses {
  padding: 80px 0;
  background: rgba(15, 23, 42, 0.5);
}

.courses h2 {
  text-align: center;
  color: #4ade80;
  margin-bottom: 1rem;
}

.courses-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

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

.course-card {
  background: rgba(30, 41, 59, 0.8);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.course-icon {
  margin-bottom: 1.5rem;
}

.course-icon img {
  width: 60px;
  height: 60px;
  filter: hue-rotate(270deg) saturate(1.5);
}

.course-card h3 {
  color: #8b5cf6;
  margin-bottom: 1rem;
}

/* Why Us Section */
.why-us {
  padding: 80px 0;
}

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

.why-us-image {
  text-align: center;
}

.why-us-image img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(139, 92, 246, 0.3));
}

.why-us-text h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.why-us-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* Tips Section */
.tips {
  padding: 80px 0;
  background: rgba(15, 23, 42, 0.3);
}

.tips h2 {
  text-align: center;
  color: #4ade80;
  margin-bottom: 3rem;
}

.tips-list {
  max-width: 900px;
  margin: 0 auto;
}

.tip-item {
  background: rgba(30, 41, 59, 0.6);
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 15px;
  border-left: 4px solid #8b5cf6;
}

.tip-item h3 {
  color: #8b5cf6;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.tip-item p {
  font-size: 1rem;
  line-height: 1.7;
}

/* Professional Advice Section */
.professional-advice {
  padding: 80px 0;
}

.professional-advice h2 {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.advice-item {
  background: rgba(30, 41, 59, 0.8);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.advice-icon {
  margin-bottom: 1.5rem;
}

.advice-icon img {
  width: 90px;
  height: 90px;

}

.advice-item h3 {
  color: #8b5cf6;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.advice-author {
  font-size: 0.9rem;
  color: #8b5cf6;
  font-style: italic;
  margin-top: 1rem;
}

/* Hidden Layer Section */
.hidden-layer {
  padding: 80px 0;
  background: rgba(15, 23, 42, 0.5);
}

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

.hidden-layer-text h2 {
  color: #4ade80;
  margin-bottom: 2rem;
}

.hidden-layer-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.hidden-layer-image {
  text-align: center;
}

.hidden-layer-image img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(139, 92, 246, 0.3));
}

/* Advanced Lessons Section */
.advanced-lessons {
  padding: 80px 0;
}

.advanced-lessons h2 {
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.advanced-item {
  background: rgba(30, 41, 59, 0.8);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  transition: transform 0.3s ease;
}

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

.advanced-icon {
  margin-bottom: 1.5rem;
}

.advanced-icon img {
  width: 50px;
  height: 50px;
  filter: hue-rotate(270deg) saturate(1.5);
}

.advanced-item h3 {
  color: #8b5cf6;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

/* Contact Form Section */
.contact-form {
  padding: 80px 0;
  background: rgba(15, 23, 42, 0.8);
}

.contact-form h2 {
  text-align: center;
  color: #4ade80;
  margin-bottom: 1rem;
}

.contact-form > .container > p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

.contact-form-form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(30, 41, 59, 0.9);
  padding: 3rem;
  border-radius: 15px;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #e2e8f0;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.8);
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 8px;
  color: #fff;
  font-family: "Roboto Serif", serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form-form .btn {
  width: 100%;
  margin-top: 1rem;
}

/* Footer */
.footer {
  background: rgba(15, 23, 42, 0.9);
  padding: 40px 0 20px;
  border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  color: #8b5cf6;
  font-size: 1.5rem;
}

.footer-contact h4,
.footer-links h4 {
  color: #4ade80;
  margin-bottom: 1rem;
}

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

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

.footer-links a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.footer-bottom p {
  font-size: 0.9rem;
  color: #94a3b8;
  margin: 0;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  margin: 0 auto;
  z-index: 2000;
  background: rgba(30, 41, 59, 0.98);
  border-radius: 15px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  backdrop-filter: blur(10px);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}

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

.cookie-content {
  padding: 2rem;
  text-align: center;
}

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

.cookie-icon img {
  width: 60px;
  height: 60px;
}

.cookie-content h3 {
  color: #8b5cf6;
  margin-bottom: 1rem;
}

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

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

.cookie-buttons .btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* 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: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.success-content {
  background: rgba(30, 41, 59, 0.98);
  padding: 3rem;
  border-radius: 15px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  border: 1px solid rgba(139, 92, 246, 0.3);
  backdrop-filter: blur(10px);
}

.success-content h3 {
  color: #4ade80;
  margin-bottom: 1rem;
}

.success-content p {
  margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(30, 41, 59, 0.98);
    flex-direction: column;
    padding: 2rem;
    transform: translateY(-100vh);
    transition: transform 0.3s ease;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
  }

  .nav-menu.active {
    transform: translateY(0);
  }

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

  .hero-text h2 {
    font-size: 2.5rem;
  }

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

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

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

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

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

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

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

  h2 {
    font-size: 2rem;
  }

  .container {
    padding: 0 15px;
  }

  .contact-form-form {
    padding: 2rem;
  }
}

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

  h2 {
    font-size: 1.8rem;
  }

  .tip-item,
  .advice-item,
  .advanced-item,
  .course-card {
    padding: 1.5rem;
  }

  .cookie-popup {
    left: 10px;
    right: 10px;
  }

  .cookie-content {
    padding: 1.5rem;
  }

  .success-content {
    padding: 2rem;
  }
}

/* Hidden class for popups */
.hidden {
  display: none !important;
}
