/* ============================================
   DESIGN TOKENS & VARIABLES
   ============================================ */
:root {
  /* Colors */
  --primary: #ff0158;
  --secondary: #002e60;

  /* Neutrals */
  --white: #ffffff;
  --black: #000000;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0f172a;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
}

/* ============================================
   GLOBAL STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto,
    "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

.hero .container-box .row {
  align-items: center;
}

.container-box {
  max-width: 1216px;
  margin: 0 auto;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

a:visited {
  color: inherit;
}

.cta-btn:visited {
  color: #fff;
}

.btn-white:visited {
  color: #000;
}

input,
select,
textarea {
  padding: 0.5rem 1rem !important;
  border-radius: 0.75rem !important;
  border: 1px solid var(--slate-200) !important;
  font-size: 0.875rem !important;
  outline: none !important;
  transition: border-color 0.3s !important;
  height: 50px !important;
  color: #999;
}

.modal-box input,
.modal-box select,
.modal-box textarea {
  height: 40px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.1);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
}

/* ============================================
   Language 
   ============================================ */

.language-switcher {
  position: relative;
  display: inline-block;
}

.lang-toggle {
  color: #85888e;
  transition: 0.3s;
  padding: 7px 8px;
  border-radius: 32px;
  border: 1px solid #85888e;
  font-size: 0.875rem;
  display: flex;
  gap: 4px;
  background: #fff;
}

.lang-toggle:focus {
  background: none !important;
}

.lang-toggle:hover {
  color: var(--primary);
}

.lang-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #85888e;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  min-width: 110px;
  z-index: 1000;
  margin-top: 8px;
  padding: 8px 0;
  font-size: 0.875rem;
}

.lang-item {
  font-weight: 400;
  display: block;
  padding: 6px 15px;
  color: #212529;
  transition: 0.2s;
  font-size: 14px;
  line-height: 20px;
}

.lang-item:hover {
  background: #f5f5f5;
  color: var(--primary);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--slate-100);
}

header .content {
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--slate-900);
  max-width: 240px;
  width: 100%;
}

.site-branding img {
  width: 3rem;
  height: auto;
  object-fit: cover;
}

.site-title a {
  font-size: 1rem;
  font-weight: 600;
  color: #000;
}

.logo-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.logo span {
  font-weight: 600;
}

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 16px;
}

nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

nav a {
  font-size: 0.875rem;
  color: var(--slate-700);
  text-decoration: none;
  transition: color 0.3s;
  font-family: "Lora" serif;
}

nav a:hover {
  color: var(--slate-900);
}

nav .desktop:hover {
  color: #fff;
}

/* ============================================
   BUTTONS & CTA
   ============================================ */
.cta-btn {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 500;
  border: none;
  background: var(--primary);
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s;
}

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

.btn {
  padding: 0.75rem 1.3rem;
  border-radius: 9999px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}

.btn-white {
  background: var(--white);
  color: var(--slate-900);
}

.btn-white:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

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

.hero-subtitle {
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0.9;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 1rem 0;
  line-height: 1.2;
}

.hero p {
  opacity: 0.9;
  margin-bottom: 1rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-image {
  display: none;
}

/* ============================================
   BANNER & SLIDER
   ============================================ */
.banner-image img {
  border-radius: 16px;
  height: 440px;
  object-fit: cover;
}

.video-wrapper {
  width: 100%;
  height: 440px;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.myBannerSlider {
  position: relative;
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.swiper-pagination {
  text-align: left !important;
  padding: 0 12px;
  bottom: -36px !important;
}

.swiper-pagination .swiper-pagination-bullet {
  background-color: #fff;
  opacity: 0.7;
  transition: all 0.3s ease;
  margin: 0 6px !important;
}

.swiper-pagination .swiper-pagination-bullet-active {
  background-color: #fff;
  opacity: 1;
  transform: scale(1.2);
  width: 32px;
  height: 8px;
  border-radius: 4px;
}

/* ============================================
   CARDS & CONTAINERS
   ============================================ */
.card {
  border-radius: 1rem;
  border: 1px solid var(--slate-200);
  background: var(--white);
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}

.card-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

#group .tags {
  margin-top: 0;
}

.teachersSwiper {
  padding: 6px !important;
}

.teacher-card {
  border-radius: 1rem;
  border: 1px solid var(--slate-200);
  background: var(--white);
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
  cursor: default !important;
  min-height:450px;
}

.card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.card-action {
  display: flex;
  align-items: center;
  justify-content: end;
}

.card-action button {
  font-size: 0.875em;
  background-color: var(--primary);
}

.info-box {
  border-radius: 1rem;
  border: 1px solid var(--slate-200);
  background: var(--white);
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.card-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate-900);
  margin-bottom: 0.25rem;
}

.card-desc {
  font-size: 0.875rem;
  color: var(--slate-700);
}

.card-sub {
  font-size: 0.75rem;
  color: var(--slate-700);
  margin-bottom: 0.5rem;
}

.action-btns {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 1rem;
}

.more-btn {
  font-size: 0.875em;
  background-color: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 40px;
  transition: all 0.3s;
}

.cst-btn {
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 500;
  border: none;
  background: rgba(255, 1, 90, 0.705);
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 16px;
}

.subbtn {
  margin-top: 0 !important;
  padding: 0.8rem 1rem;
}

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

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

button:focus {
  outline: none;
}

/* ============================================
   TYPOGRAPHY & HEADINGS
   ============================================ */
h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

#group .title-subtitle,
#courses .title-subtitle,
#apply .title-subtitle {
  margin-bottom: 2rem;
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--secondary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--slate-600);
  margin-top: 0.25rem;
}

/* ============================================
   TAGS & BADGES
   ============================================ */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.tag {
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  border: 1px solid var(--slate-200);
}

.level-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--slate-200);
  border-radius: 9999px;
}

/* ============================================
   GRID LAYOUTS
   ============================================ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

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

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.lang-switcher {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 50;
  display: flex;
  gap: 0.5rem;
}

.lang-btn {
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  border: 1px solid var(--slate-200);
  background: var(--white);
  cursor: pointer;
  transition: all 0.3s;
}

.lang-btn.active {
  background: var(--slate-900);
  color: var(--white);
}

/* ============================================
   MODAL STYLES - YANGI
   ============================================ */

/* Barcha modallarda o'zgarmas uslublar */
.modal-overlay {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 1rem;
}

/* Modal ochilganda */
.modal-overlay.active {
  display: flex;
}

/* Modal qutisi */
.modal-box {
  background: #fff;
  width: 100%;
  max-width: 420px;
  padding: 20px 30px 30px 30px;
  border-radius: 12px;
  position: relative;
  max-height: min(90vh, calc(100vh - 40px));
  overflow-y: auto;
}

/* Modal yopish tugmasi (X) */
.modal-close {
  position: absolute;
  right: 16px;
  top: 8px;
  padding: 0;
  cursor: pointer;
  font-size: 24px;
  background: none;
  border: none;
  color: #333;
  transition: color 0.3s;
}

.modal-teacher-info {
  display: flex;
  gap: 1rem;
}

#teacherModal .modal-box {
  max-width: 480px;
}

.modal-close:hover {
  color: #ff0158;
}

/* Modal ichidagi inputlar */
.modal-input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.modal-input:focus {
  border-color: var(--primary);
  outline: none;
}

.cstform {
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

/* Modal formasi */
.modal-box form {
  display: grid;
}

.modal-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* Modal sarlavhasi */

.modal-overlay .modal-box h2 {
  border-bottom: 1px solid #ccc;
}

.modal-box h2 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 500;
  padding: 4px;
}

.title-sub {
  padding-bottom: 4px;
  border-bottom: 1px solid #ccc;
  margin: 0.5rem 0;
}

.modal-box h4 {
  font-weight: 400;
  color: #666;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.modal-box p {
  font-size: 0.875rem;
  color: #666;
}

label {
  margin-bottom: 0.25rem;
  color: #666;
  font-size: 0.875rem;
}

.input-group {
  position: relative;
  margin-bottom: 1rem;
}

.input-checkbox label {
  justify-content: left;
  display: flex;
  align-items: center;
  width: 100%;
  gap: 4px;
  height: 20px;
  margin-bottom: 1rem;
  font-size: 0.75rem;
}

.input-checkbox input[type="checkbox"] {
  width: 14px;
  height: 14px;
  box-shadow: none;
}

.input-checkbox input[type="checkbox"]:hover {
  border-color: var(--primary);
}

.input-checkbox input[type="checkbox"]:checked {
  background-color: var(--primary);
}

.input-group i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 14px;
  z-index: 2;
  pointer-events: none;
}

.input-group input {
  width: 100%;
  padding: 14px 14px 14px 36px !important; /* chap tomondan joy ochish */
}

.input-group input::placeholder {
  color: #999;
  font-weight: 400;
  font-size: 0.875rem;
}

.input-group input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 18px;
  z-index: 2;
  pointer-events: none;
}

/* Focusda icon rangi o'zgarsin (ixtiyoriy, chiroyli bo'ladi) */
.input-group input:focus + .input-icon,
.input-group input:valid + .input-icon {
  color: #007bff;
}

/* Tugmalarni modal ichida */
.modal-box .cta-btn,
.modal-box .btn-submit {
  padding: 8px 20px;
  font-weight: 500;
  border: none;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.3s;
  background-color: var(--primary);
  color: #fff;
}

.mod-content ul {
  margin: 8px 0 0 16px !important;
  padding: 0px !important;
}

.modal-box .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 1, 88, 0.3);
}

.modal-box .btn-submit:hover {
  background: var(--primary);
}

.privacy-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 999999;
}

.privacy-window {
  background: #fff;
  width: 90%;
  max-width: 700px;
  max-height: 80vh;
  padding: 20px 30px;
  border-radius: 10px;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.privacy-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 28px;
  cursor: pointer;
  font-weight: bold;
}

.privacy-content p {
  line-height: 1.6;
  margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .modal-box {
    padding: 20px;
    max-width: 100%;
  }

  .modal-teacher-info {
    flex-direction: column;
  }

  .contact-grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 24px;
  }

  .modal-overlay {
    padding: 1rem;
  }

  .modal-avatar img {
    width: 100px;
    height: 100px;
  }
}

/* ============================================
   MISCELLANEOUS
   ============================================ */
section {
  padding: 3rem 0;
}

.section-with-search {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

.teacher-avatar {
  aspect-ratio: 1;
  width: 100%;
  border-radius: 0.75rem;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.teacher-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.form-grid {
  display: grid;
}

.info-list {
  list-style: disc;
  padding-left: 1.25rem;
  color: var(--slate-600);
  font-size: 0.875rem;
}

.info-list li {
  margin: 0.25rem 0;
}

.social-list {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
}

.social-list .btn {
  background: var(--secondary);
  color: var(--white);
  padding: 0.25rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-list {
  margin-top: 0.5rem;
  display: grid;
  gap: 0.5rem;
  color: var(--slate-700);
}

.map-container {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  height: 320px;
}

.map-container iframe {
  border: none !important;
  border-radius: 16px;
  overflow: hidden;
  height: 320px;
}

.success-msg {
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid #86efac;
  background: #f0fdf4;
  color: #166534;
  margin-top: 1rem;
}

.success-msg strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  margin-top: 1rem;
  border-top: 1px solid var(--slate-200);
  background: var(--white);
  padding: 24px 0px;
}

.site-info p {
  font-size: 0.875rem;
  color: var(--slate-500);
  text-align: center;
}

.post,
.page {
  margin: 0;
}

.footer-menu li a {
  color: var(--slate-500);
  font-size: 0.875rem;
}

.footer-bottom {
  font-size: 0.75rem;
  color: var(--slate-500);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-200);
}

.mobile-menu {
  display: none;
}
#menu-toggle {
  display: none;
}

/* Success Modal Styles */
.modal-overlay.active {
  display: flex !important;
}

/* Telegram link tugmasi */
.cta-btn {
  background: var(--primary);
  color: white;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 40px;
  font-weight: 500;
  transition: all 0.3s;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 1, 88, 0.3);
}

/* Yopish tugmasi */
.success-modal-close:hover {
  background: #e0e0e0;
}

/* ============================================
   MEDIA QUERIES
   ============================================ */

/* Tablet (768px and up) */
@media (min-width: 768px) and (max-width: 1023px) {
  h2 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  nav {
    display: flex;
  }

  .grid-2 {
    grid-template-columns: repeat(5, 1fr);
  }

  .main-navigation .desktop {
    display: none;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .banner-image img {
    height: 420px;
  }

  .video-wrapper {
    height: 420px;
  }

  .container-box {
    max-width: 100%;
    padding: 10px;
  }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }

  .hero-image {
    display: flex;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .review-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .container-box {
    max-width: 100%;
    padding: 10px;
  }


  #group .container-box > h2,
  #courses .container-box > h2 {
    margin-bottom: 0.5rem;
  }

  .cstform {
    max-width: 90% !important;
  }

  .menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--slate-200);
    background: none;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0;
  }

  .mobile-menu {
    position: fixed;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);

    transition: all 0.35s ease-in-out;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
  }

  .mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  /* Close button */
  .mobile-menu-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    z-index: 10000;
  }

  .mobile-menu-close svg {
    stroke: #fff;
    transition: transform 0.2s;
  }

  .mobile-menu-close:hover svg {
    transform: rotate(90deg);
  }

  /* Mobil menu linklari */
  .mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: center;
  }

  .mobile-nav-menu li {
    margin: 0.75rem 0;
  }

  .mobile-nav-menu a {
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s;
  }

  .mobile-nav-menu a:hover {
    color: #cfcfcf;
  }
  .main-navigation .desk-menu,
  .main-navigation .desktop {
    display: none;
  }

  .mobile-menu {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    height: 400px;
    padding-top: 40px;
  }
  #mobile-menu-list {
    list-style: none;
  }
  .site-title a {
    font-size: 0.875rem;
  }
  #site-navigation {
    width: 50%;
    gap: 16px;
  }
  .site-branding {
    width: 50%;
  }
  h2 {
    font-size: 1.2rem;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .card,
  .teacher-card {
    padding: 20px 12px;
  }
  .card-title {
    font-size: 1rem;
  }
  section {
    padding: 2rem 0;
  }

  #courses .grid-3 {
    grid-template-columns: repeat(1, 1fr);
  }

  .grid-6 {
    grid-template-columns: repeat(1, 1fr);
  }

  #page {
    overflow-x: hidden;
  }

  .footer-menus {
    flex-wrap: wrap;
    gap: 16px;
  }

  footer {
    padding: 24px 0px;
  }

  .site-info p {
    font-size: 0.75rem;
    margin-top: 16px;
  }
  .footer-desc {
    font-size: 0.875rem;
  }
  #menu-toggle {
    display: block;
  }
  .banner-image img {
    margin-top: 56px;
    height: 240px;
  }
  .video-wrapper {
    height: 210px;
    margin-top: 64px;
  }
  .swiper-pagination {
    bottom: -40px !important;
  }
  .stat-value {
    font-size: 1rem;
  }
}
