/* ===================================
        GLOBAL
=================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, sans-serif;
}
html {
  scroll-behavior: smooth;
}
body {
  background: #020617;
  color: white;
  min-height: 100vh;
  transition: 0.5s;
}
a {
  text-decoration: none;
  color: white;
}
/* ===================================
        BLUE THEME
=================================== */
body.blue-theme {
  background: #082f49;
}
body.blue-theme .lesson-card,
body.blue-theme .homework-card,
body.blue-theme .feedback-box {
  background: rgba(14, 116, 144, 0.25);
}
.hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(2, 21, 23, 0.88),
    rgba(37, 99, 235, 0.45)
  );
}
/* ===================================
        NAVBAR
=================================== */
.navbar,
.lesson-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 25px 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
}
.lesson-header {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
}
.logo {
  font-size: 24px;
  font-weight: 800;
}
#theme-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 22px;
  background: rgba(3, 132, 207, 0.301);
  color: white;
  backdrop-filter: blur(15px);
}
/* ===================================
        PAGE ONE HERO
=================================== */
.hero-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background-image: url("../media/image/hero.jpg");
  background-size: cover;
  background-position: center;
}
.lessons-body {
  min-height: 100vh;
  background-image:
    linear-gradient(rgba(2, 6, 23, 0.7), rgba(2, 6, 23, 0.85)),
    url("../media/image/hero.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(2, 21, 23, 0.88),
    rgba(37, 99, 235, 0.45)
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 900px;
}
.glass-box {
  padding: 45px;
  border-radius: 35px;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: showUp 1s ease;
}
.glass-box h1 {
  font-size: clamp(38px, 6vw, 70px);
  font-weight: 900;
  margin-bottom: 30px;
}
.glass-box p {
  font-size: 20px;
  line-height: 2;
  color: #e2e8f0;
  margin-bottom: 35px;
}
#start-btn {
  display: inline-block;
  padding: 18px 45px;
  border-radius: 50px;
  font-weight: 700;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  transition: 0.4s;
  color: #f104beee;
  font-weight: bold;
  font-size: large;
}
#start-btn:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.4);
}
/* ===================================
        LESSON PAGE
=================================== */
.lessons-body {
  background: linear-gradient(180deg, #020617, #0f172a);
  .learning-container {
    padding: 40px 5%;
  }
  .page-title {
    text-align: center;
    margin-bottom: 70px;
  }
  .page-title h1 {
    font-size: 50px;
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    color: transparent;
  }
  .page-title p {
    color: #94a3b8;
    font-size: 20px;
  }
  /* ===================================
        LESSON SECTIONS
=================================== */
  .lesson-area,
  .feedback-area {
    margin-bottom: 80px;
  }
  .lesson-area h2,
  .feedback-area h2 {
    font-size: 34px;
    margin-bottom: 35px;
  }
  .cards-container {
    display: grid;
    grid-template: columns;
    gap: 30px;
  }
  /* ===================================
        CARDS
=================================== */
  .lesson-card,
  .homework-card {
    padding: 30px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: 0.4s;
  }
  .lesson-card:hover,
  .homework-card:hover {
    transform: translateY(-10px);
    border-color: #38bdf8;
  }
  .lesson-card h3,
  .homework-card h3 {
    font-size: 27px;
    margin-bottom: 15px;
  }
  .lesson-card p,
  .homework-card p {
    color: #cbd5e1;
    line-height: 1.8;
  }
  .example-box {
    margin-top: 25px;
    padding: 20px;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.7);
    line-height: 2;
  }
  .example-box span {
    color: #94a3b8;
  }
  /* ===================================
        FEEDBACK
=================================== */
  .feedback-box {
    max-width: 800px;
    padding: 35px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
  }
  .feedback-box input,
  .feedback-box textarea {
    width: 100%;
    padding: 17px;
    margin-bottom: 20px;
    border-radius: 18px;
    border: none;
    outline: none;
    font-size: 16px;
    color: #020617;
  }
  .feedback-box textarea {
    min-height: 150px;
  }
  #send-comment {
    width: 100%;
    padding: 17px;
    border: none;
    border-radius: 25px;
    color: rgb(255, 255, 255);
    font-weight: bold;
    cursor: pointer;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
  }
  .comment-item {
    margin-top: 25px;
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
  }
  /* ===================================
        ANIMATION
=================================== */
  @keyframes showUp {
    from {
      opacity: 0;
      transform: translateY(40px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  /* ===================================
        MOBILE
=================================== */
  @media (max-width: 768px) {
    .navbar,
    .lesson-header {
      padding: 20px;
    }
    .logo {
      font-size: 19px;
    }
    .glass-box {
      padding: 25px;
    }
    .glass-box p {
      font-size: 17px;
    }
    .page-title h1 {
      font-size: 38px;
    }
  }
  .h3 {
    color: #f10606;
    font-weight: bold;
    font-style: italic;
  }
}
.start {
  font-style: italic;
  color: #c1ec02;
}
@media (max-width: 768px) {

  .glass-box {
    padding: 20px;
    overflow: hidden;
  }

  .glass-box h1 {
    font-size: 34px;
    word-break: break-word;
  }

}
.paragraph {
  font-style: italic;
  font-weight: bolder;
}
body.lessons-body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(2, 6, 23, 0.82), rgba(30, 64, 175, 0.55)),
    url("../media/image/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}
.comment-item {
  background: rgba(255, 255, 255, 0.12);
  padding: 15px;
  margin-top: 15px;
  border-radius: 12px;
  color: white;
  backdrop-filter: blur(5px);
}
.comment-item strong {
  color: #facc15;
  font-size: 18px;
}
.comment-item p {
  margin-top: 8px;
  line-height: 1.6;
}
@media (max-width: 768px) {

  .hero-content {
    padding-top: 100px;
  }

  .glass-box {
    margin-top: 100px;
    margin-bottom: 100px;
  }

}
