* {
  box-sizing: border-box;
}
@font-face {
  font-family: 'dronesquad';
  src: url('fonts/DroneSquad.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Improves loading performance */
}

.custom-btn {
  text-decoration: none;
}


body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: radial-gradient(circle, #f5ebd8, #efc3a4);
  font-family: 'Poppins', sans-serif;
  position: relative;
}


/* ======================
   HEADER
====================== */

.logo {
  width: 95px;
}

.back-btn {
  width: 79px;
  cursor: pointer;
  transition: .25s;
}
.home-btn {
  width: 56px;
  cursor: pointer;
  transition: .25s;
  margin-top: -40px;
}
.back-btn:hover, .home-btn:hover {
  transform: scale(1.08);
}

/* ======================
   LOGIN CARD
====================== */

.login-card {
  width: 100%;
  max-width: 500px;
  background: #f8f8f8;
  border-radius: 20px;
  padding: 38px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, .05);
}

.login-title {
  color: #0c4c87;
  font-weight: 700;
  font-size: 54px;
  margin-bottom: 8px;
}

.welcome-text {
  color: #7d7d7d;
  font-size: 20px;
  margin-bottom: 35px;
}

/* ======================
   INPUT
====================== */

.input-group-custom {
  background: #efefef;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.input-group-custom i {
  color: #7c7c7c;
  font-size: 22px;
}

.form-control-custom {
  border: none;
  outline: none;
  background: transparent;
  box-shadow: none;
  width: 100%;
  font-size: 20px;
  margin-left: 14px;
}

.form-control-custom::placeholder {
  color: #6f6f6f;
}

.toggle-password {
  cursor: pointer;
}

/* ======================
   BUTTON
====================== */

.signin-btn {
  width: 100%;
  border: none;
  background: #0d4d87;
  color: white;
  border-radius: 16px;
  padding: 16px;
  font-size: 28px;
  font-weight: 600;
  transition: .25s;
}

.signin-btn:hover {
  transform: translateY(-2px);
}

/* ======================
   FOOTER WAVE
====================== */

.footer-wave {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  z-index: -1;
}

.footer-wave span {
  width: 120px;
  height: 60px;
  background: #bf6a2f;
  border-radius: 120px 120px 0 0;
  flex-shrink: 0;
}
.input-group-custom .form-item__label {
  display: none;
}
.input-group-custom .form-item {
  margin: 0;
  max-width: 90%;
}

.input-group-custom .form-element {
  border: 0px;
  background: none;
}
.input-group-custom .form-element:hover {
  border: 0px;
  background: none;
  box-shadow: none;
}
.input-group-custom .form-element:focus {
  border: 0px;
  background: none;
  box-shadow: none;
}
.input-group-custom .form-element:hover:focus {
  border: 0px;
  background: none;
  box-shadow: none;
}
.login-wrapper .form-submit {
  width: 100%;
  border: none;
  background: #0d4d87;
  color: white;
  border-radius: 16px;
  padding: 16px;
  font-size: 28px;
  font-weight: 600;
  transition: .25s;
}
.login-wrapper .form-actions {
  display: block;
}

.back-btn {
  cursor: pointer;
}

.register-card {
  background: #f8f8f8;
  border-radius: 24px;
  padding: 36px;
  max-width: 920px;
  margin: auto;
  box-shadow: 0 6px 25px rgba(0, 0, 0, .05);
}

.title {
  color: #0d4f88;
  font-size: 52px;
  font-weight: 700;
}

.subtitle {
  color: #777;
  margin-bottom: 24px;
}

/* tabs */
.tab-wrapper {
  background: #ececec;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 28px;
}

.tab-btn {
  border: none;
  width: 100%;
  background: transparent;
  padding: 16px;
  font-weight: 600;
  color: #666;
  transition: .2s;
}

.tab-btn.active {
  background: #0d4f88;
  color: #fff;
}

/* form */
.input-box {
  background: #efefef;
  border-radius: 14px;
  height: 58px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  margin-bottom: 16px;
}

.input-box i {
  color: #777;
  font-size: 20px;
}

.custom-input,
.custom-select {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  margin-left: 12px;
  box-shadow: none;
}

.custom-input::placeholder {
  color: #666;
}

.password-toggle {
  cursor: pointer;
}

.signup-btn input {
  width: 100%;
  border: none;
  background: #0d4f88;
  color: #fff;
  border-radius: 14px;
  padding: 16px;
  font-size: 28px;
  font-weight: 600;
  margin-top: 12px;
}

.form-section {
  display: none;
}

.form-section.active {
  display: block;
}
.form-item__description {
  display: none;
}

.image-card {
  max-width: 520px;
  margin: auto;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, .4);
  padding: 10px;
}

.browser-top {
  height: 28px;
  background: #d85a2c;
  border: 2px solid #2f3740;
  border-bottom: none;
  border-radius: 22px 22px 0 0;
  display: flex;
  align-items: center;
  padding: 0 18px;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: white;
}

.triangle {
  color: white;
  font-size: 12px;
}

.image-wrapper {
  overflow: hidden;
  border-radius: 0 0 22px 22px;
}

.image-wrapper img {
  width: 100%;
  height: auto;
}
.menu-wrap {padding: 5vh 3vw 120px}
.menu-item {display: flex;align-items: center;justify-content: center;gap: 22px;padding: 10px;transition: .25s}
.menu-item:hover {transform: translateY(-3px)}
.menu-item img {width: 140px;height: auto;object-fit: contain}
.menu-item span {font-size: clamp(24px, 2vw, 34px);color: #004b93;font-weight: 500}

/* ==========================
    TITLE
========================== */

.hero-title {
  font-family: 'Yeseva One', serif;
  color: #df5b31;
  font-size: clamp(55px, 7vw, 90px);
  letter-spacing: 2px;
}

/* ==========================
    BUTTONS
========================== */

.custom-btn {
  border: 2px solid #111;
  border-radius: 50px;
  background: linear-gradient(to right,
  #c75427,
  #f0a321);
  color: white;
  padding: 16px 42px;
  font-size: 30px;
  min-width: 240px;
  transition: .3s ease;
}

.custom-btn:hover {
  transform: translateY(-2px);
}

/* ==========================
    LANGUAGE DROPDOWN
========================== */

.language-box {
  border: 2px solid #0b4e8a;
  border-radius: 50px;
  background: transparent;
  color: #0b4e8a;
  padding: 14px 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
}

.language-box:hover {
  color: #0b4e8a;
}

.language-box i {
  font-size: 30px;
}

.language-menu {
  border: none;
  border-radius: 18px;
  overflow: hidden;
  min-width: 220px;
}

.language-item {
  font-size: 18px;
  padding: 12px 20px;
}

.language-item:hover {
  background: #f3f3f3;
}

/* ==========================
    SOCIAL
========================== */

.social-icons i {
  color: #0b4e8a;
  font-size: 55px;
  margin-left: 28px;
  cursor: pointer;
  transition: .3s;
}

.social-icons i:hover {
  transform: scale(1.08);
}

/* ==========================
    FOOTER CIRCLES
========================== */

.footer-wave {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
}

.footer-wave span {
  width: 120px;
  height: 60px;
  background: #bf6a2f;
  border-radius: 120px 120px 0 0;
  flex-shrink: 0;
}

.copyright {
  position: absolute;
  right: 30px;
  bottom: 45px;
  color: #0b4e8a;
  font-size: 22px;
}
.logedin-page .row .col-12 {
  display: flex;
}
.my-home .menu-item {
  cursor: pointer;
}
/* ==========================
    RESPONSIVE
========================== */

@media (max-width: 991px) {

  .main-section {
    text-align: center;
    padding-bottom: 150px;
  }

  .hero-title {
    margin-top: 50px;
  }

  .button-group {
    justify-content: center !important;
  }

  .social-group {
    justify-content: center !important;
  }

  .image-wrapper img {
    height: 350px;
  }
}

@media (max-width: 576px) {

  .button-group {
    flex-direction: column;
  }

  .social-group {
    flex-direction: column;
    gap: 20px;
  }

  .custom-btn {
    width: 100%;
    min-width: unset;
    font-size: 24px;
  }

  .social-icons i {
    margin: 0 14px;
  }

  .copyright {
    font-size: 16px;
    right: 15px;
  }
}


/* ======================
   RESPONSIVE
====================== */

@media (max-width: 768px) {
  .menu-item {flex-direction: column;text-align: center}
  .menu-item img {width: 120px}
  .title {
    font-size: 36px;
  }

  .register-card {
    padding: 24px;
  }
  .login-card {
    padding: 30px 24px;
  }

  .login-title {
    font-size: 40px;
  }

  .welcome-text {
    font-size: 16px;
  }

  .signin-btn {
    font-size: 22px;
  }

  .logo {
    width: 70px;
  }

  .back-btn {
    width: 79px;
  }
  .home-btn {
    margin-top: 0px;
  }
  .logedin-page.my-home .col-12 {
    width: 50%;
  }

}

/* Calculator */

.calculator-wrapper {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.calculator {
  width: 380px;
  background: #222;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .3);
}

.display {
  width: 100%;
  height: 70px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 10px;
  text-align: right;
  padding: 15px;
  font-size: 2rem;
  margin-bottom: 20px;
}

.calc-btn {
  height: 65px;
  font-size: 1.5rem;
  border: none;
  border-radius: 12px;
}

@media (max-width: 768px) {

  .calculator {
    width: 100%;
  }

  .question-body {
    font-size: 1.5rem;
  }
}
/* Question Card */
.question-card {
  background: #eee;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .1);
}

.question-header {
  background: #e6c6ad;
  color: #6b4423;
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  padding: 8px;
}

.question-body {
  min-height: 110px;
  text-align: center;
  font-size: 2rem;
  padding: 10px;
}

.answer-title {
  border-top: 1px solid #ccc;
  color: #888;
  text-align: center;
  padding: 8px;
}

.answer-input {
  margin: 10px;
  height: 50px;
  border-radius: 10px;
  text-align: center;
  font-size: 1.4rem;
  width: 92%;
}
.page-learn-title {
  text-align: center;
  margin-top: 40px;
  color: #1e67c7;
  font-size: 2rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .15);
}

.feature-item img {
  max-width: 180px;
  width: 100%;
  height: auto;
}

.feature-title {
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  margin-top: 15px;
}

/* Title */
.main-title {
  color: #e45d35;
  font-size: 6rem;
  font-weight: 300;
  text-align: center;
  margin-top: 120px;
  margin-bottom: 70px;
  font-family: Georgia, serif;
}

@media (max-width: 992px) {
  .main-title {
    font-size: 4rem;
    margin-top: 100px;
  }
}

@media (max-width: 768px) {
  .main-title {
    font-size: 3rem;
    margin-top: 90px;
    margin-bottom: 40px;
  }

  .feature-item {
    margin-bottom: 40px;
  }

  .feature-item img {
    max-width: 140px;
  }

  .feature-title {
    font-size: 1.5rem;
  }

}

/* spacing desktop */
.feature-section {
  margin-top: 40px;
}

/* Tablet */
@media (max-width: 991px) {
  .main-title {
    margin-top: 100px;
    margin-bottom: 50px;
  }

  .feature-card {
    margin-bottom: 50px;
  }
}

/* Mobile */
@media (max-width: 576px) {

  .logo-box img {
    width: 75px;
  }

  .main-title {
    font-size: 42px;
    margin-top: 90px;
    margin-bottom: 35px;
  }

  .feature-card img {
    max-width: 180px;
  }

  .feature-title {
    font-size: 24px;
  }
}

.page-title {
  text-align: center;
  color: #e15d39;
  font-family: Georgia, serif;
  font-weight: 300;
  font-size: clamp(48px, 8vw, 90px);
  margin-top: 80px;
  margin-bottom: 60px;
}

.levels-container {
  max-width: 950px;
  margin: auto;
}

.level-card {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 16px;
  background: #d9d9d9;
  border: 2px solid #b8b8b8;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #6f6f6f;
  font-weight: 600;
  transition: .3s;
}

.level-card.unlocked {
  background: #efefef;
  border: 2px solid #e0a59a;
  color: #2d2d2d;
}

.level-card:hover {
  transform: translateY(-4px);
}

.badge-status {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 18px;
}

.badge-status.success {
  color: #4caf50;
}

.badge-status.lock {
  color: #666;
}

.level-link {
  text-decoration: none;
}
.page-wrapper {
  min-height: 100vh;
  position: relative;
  padding: 20px;
  padding-bottom: 120px;
}
.page-title-lesson {
  font-family: 'Cormorant Garamond', serif;
}

@media (max-width: 768px) {

  .page-title {
    margin-top: 90px;
    margin-bottom: 40px;
  }

  .levels-container {
    max-width: 100%;
  }

  .level-card {
    font-size: 22px;
  }
  .pagination-box {
    width: 100%;
    overflow-x: auto;
  }

  .pagination {
    flex-wrap: nowrap;
    width: max-content;
  }

}
@media (max-width: 992px) {

  .controls {
    flex-direction: column;
    gap: 15px;
  }

  .progress-custom {
    width: 100%;
  }

  .controls-left,
  .controls-right {
    width: 100%;
    justify-content: center;
  }

}
.lesson-player {
  width: 100%;
  max-width: 1280px;
  margin: 15px auto;
  background: #d1cbc2;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .12);
}

.player-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.lesson-title {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

.close-btn {
  color: #fff;
  font-size: 34px;
  text-decoration: none;
}

/* VIDEO */

.video-frame {
  background: #fff;
  border: 4px solid #f2a9ca;
  border-radius: 12px;
  padding: 8px;
}

.video-wrapper {
  background: #000;
  overflow: hidden;
  border-radius: 8px;
}

.video-wrapper video {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* CONTROLS */

.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.controls-left,
.controls-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-circle {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #0058b7;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-circle.dark {
  background: #666;
}

.lesson-count {
  color: #202f90;
  font-weight: 700;
}

.progress-custom {
  width: 700px;
}

.progress-custom input {
  width: 100%;
}

.time {
  color: #202f90;
  font-size: 14px;
}

/* PAGINATION */

.pagination-container {
  display: flex;
  justify-content: center;
}

.pagination-box {
  background: #fff;
  padding: 16px 22px;
  border-radius: 4px;
}

.pagination {
  margin: 0;
  gap: 8px;
}

.pagination .page-link {
  border: none;
  background: #edf1fb;
  color: #2c5ccc;
  min-width: 42px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.pagination .active .page-link {
  background: #2f5ed7;
  color: #fff;
}
/* Title */

.page-title {
  text-align: center;
  color: var(--primary);
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 5rem);
  letter-spacing: 2px;
  margin-top: 20px;
  margin-bottom: 70px;
}

/* Card */

.lesson-card {
  background: #f7f7f7;
  border-radius: 10px;
  padding: 10px;
  height: 100px;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
  transition: .3s;
}

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

.thumb {
  width: 72%;
  height: 86px;
  background: #c8d1d5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a5e69;
  font-size: 72px;
  font-weight: 700;
}

.lesson-info {
  width: 28%;
  padding-left: 12px;
}

.lesson-title {
  color: var(--primary);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
}

.progress {
  height: 8px;
  border-radius: 20px;
  background: #ececec;
}

.progress-bar {
  background: var(--primary);
}

.lesson-percent {
  color: #777;
  font-size: 12px;
  margin-top: 4px;
}

.disabled-card {
  opacity: .45;
}

.content-wrap {
  max-width: 720px;
  margin: auto;
}

/* Mobile */

@media (max-width: 768px) {

  .page-title {
    margin-top: 90px;
    margin-bottom: 40px;
  }

  .lesson-card {
    height: auto;
  }

  .thumb {
    height: 80px;
    font-size: 60px;
  }

}
.main-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}
.row-item {
  margin-right: 50px;
}

.menu-card {
  width: 230px;
  height: 230px;
  background: #ececec;
  border-radius: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
  transition: .3s;
  cursor: pointer;
}

.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, .12);
}

.math-icon {
  color: #d548ff;
  font-size: 90px;
  line-height: 1;
}

.menu-title {
  margin-top: 18px;
  font-size: 2rem;
  font-weight: 700;
  color: #07356d;
}

@media (max-width: 768px) {

  .menu-card {
    width: 180px;
    height: 180px;
  }

  .math-icon {
    font-size: 70px;
  }

  .menu-title {
    font-size: 1.5rem;
  }

  .logo {
    width: 65px;
  }
}

.top-header {background: #0d6efd;color: #fff;padding: 15px 25px;border-radius: 15px;margin-top: 15px}
.app-title {font-size: 32px;font-weight: bold}


.exercise-card {
  background: #e8e3ea;
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
  transition: .3s;
  cursor: pointer;
}

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

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #63c164;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.exercise-title {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
}

.exercise-sub {
  color: #777;
  font-size: .95rem;
}

@media (max-width: 768px) {
  .exercise-title {
    font-size: 1.4rem;
  }

  .page-title {
    font-size: 1.8rem;
  }
}
/* TIMER */

.timer-box {
  width: 140px;
  margin: 20px auto 10px;
  background: #0d6efd;
  color: #fff;
  text-align: center;
  font-size: 40px;
  font-weight: bold;
  border-radius: 20px;
  padding: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
}

.submit-btn {
  display: block;
  margin: 10px auto;
}

/* CARD */

.quiz-card {
  max-width: 420px;
  margin: 20px auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
}

.quiz-header {
  background: #e7c7af;
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  padding: 15px;
}

.quiz-body {
  background: #fff;
  padding: 30px;
}

.number {
  text-align: center;
  font-size: 46px;
  line-height: 1.5;
}

.answer-input {
  text-align: center;
  font-size: 28px;
  height: 60px;
}

/* BUTTON */

.nav-area {
  text-align: center;
  margin-top: 20px;
}

.nav-area button {
  min-width: 120px;
  margin: 0 10px;
}

.soroban-frame {width: max-content;min-width: 1400px;margin: auto;background: linear-gradient(180deg, #4b4039, #111 25%, #444 50%, #111 75%, #4b4039);border: 6px solid #2b211c;border-radius: 28px;padding: 35px;position: relative;box-shadow: 0 10px 30px rgba(0, 0, 0, .35)}
.middle-bar {position: absolute;left: 30px;right: 30px;top: 108px;height: 14px;border-radius: 10px;background: linear-gradient(#fff, #d8ccb8, #fff)}
.columns {display: flex;gap: 12px}
.column {width: 48px;position: relative;display: flex;flex-direction: column;align-items: center}
.rod {position: absolute;width: 6px;top: 8px;bottom: 8px;background: linear-gradient(#ffce88, #d16219, #ffce88);z-index: 1}
.upper-area {height: 85px;z-index: 2}
.lower-area {margin-top: 55px;z-index: 2}
.bead {width: 38px;height: 26px;margin: 4px 0;cursor: pointer;transition: transform .12s ease;clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);background: linear-gradient(90deg, #8f4716, #db8e43 35%, #f2b05f 50%, #db8e43 65%, #8f4716);box-shadow: inset 0 0 5px rgba(255, 255, 255, .5), 0 2px 3px rgba(0, 0, 0, .3)}
.upper-bead.active {transform: translateY(48px)}
.lower-bead.active {transform: translateY(-34px)}
.locator {width: 0;height: 0;border-left: 12px solid transparent;border-right: 12px solid transparent;border-top: 22px solid #ff4d3d;position: absolute;top: -15px;left: 50%;transform: translateX(-50%);cursor: grab;touch-action: none;z-index: 20}
.value-box {background: #fff;border-radius: 20px;padding: 15px 30px;box-shadow: 0 5px 15px rgba(0, 0, 0, .1)}