/* ============================================
   DonoAcademy — style.css
   ============================================ */

/* ── RESET & BASE ── */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Segoe UI", sans-serif;
  background: #f0f4f8;
  color: #1a1a1a;
}
.duration-300 {
  transition-duration: 0.3s;
}
/* ── LOGO ── */
.logo {
  display: flex;
  align-items: center;
  /* gap: 1px; */
  text-decoration: none;
}

.duration-300 {
  transition-duration: 0.3s;
}
.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}

.logo-sub {
  font-size: 0.65rem;
  color: #2a7f7f;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ============================================
   HEADER
   ============================================ */
header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 80px);
  max-width: 1300px;
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

header:hover {
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.12);
}

.phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2a7f7f;
  text-decoration: none;
  transition: color 0.2s;
}

.phone:hover {
  color: #1a5f5f;
}
.phone svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #444;
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2a7f7f;
  border-radius: 2px;
  transition: width 0.25s ease;
}

nav a:hover {
  color: #2a7f7f;
}
nav a:hover::after {
  width: 100%;
}

.btn-contact {
  background: #2a7f7f;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 10px;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.2s;
  white-space: nowrap;
}

.btn-contact:hover {
  background: #1a5f5f;
  transform: translateY(-1px);
}

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

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 90px;
  left: 40px;
  right: 40px;
  background: #fff;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  flex-direction: column;
  gap: 16px;
  z-index: 999;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #444;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover {
  color: #2a7f7f;
}
.mobile-nav .btn-contact {
  text-align: center;
  margin-top: 4px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background-color: #2a7f7f;
  /* min-height: 80vh; */
  display: flex;
  align-items: center;
  padding: 120px 5vw 0px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 580px;
}

.hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 460px;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-courses {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #2a7f7f;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-courses:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-aloqa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 12px;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition:
    border-color 0.2s,
    background 0.2s;
}

.btn-aloqa:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  max-width: 500px;
}

.hero-image img {
  width: 100%;
  max-width: 460px;
  object-fit: contain;
  object-position: bottom;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
  border-radius: 16px;
}

/* ============================================
   BIZ HAQIMIZDA
   ============================================ */
.about {
  background: #f0f4f8;
  padding: 96px 5vw;
}

.about-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.about-title {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  aspect-ratio: 4/3;
  background: #d0d8e0;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.about-content h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 5%;
  letter-spacing: -0.01em;
}

.about-content p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: 5%;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 10%;
}

.stat-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.stat-card .num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #2a7f7f;
  letter-spacing: -0.02em;
  display: block;
}

.stat-card .label {
  font-size: 0.78rem;
  color: #888;
  font-weight: 500;
  margin-top: 4px;
  display: block;
}

/* ============================================
   STATISTIKA
   ============================================ */
.statistika {
  background: #1a4a4a;
  padding: 70px 5vw;
  position: relative;
  overflow: hidden;
}

.statistika::before {
  content: "ث";
  position: absolute;
  top: -20px;
  left: -10px;
  font-size: 14rem;
  color: rgba(255, 255, 255, 0.05);
  font-family: serif;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.statistika::after {
  content: "ص";
  position: absolute;
  bottom: -30px;
  right: -10px;
  font-size: 14rem;
  color: rgba(255, 255, 255, 0.05);
  font-family: serif;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.statistika-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.statistika-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.statistika-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
}

.statistika-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  transition:
    background 0.25s,
    transform 0.25s;
}

.statistika-card:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-4px);
}

.statistika-card .s-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.statistika-card .s-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* ============================================
   O'QITISH USULI
   ============================================ */
.method {
  background: #f0f4f8;
  padding: 70px 5vw;
}

.method-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.method-title {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
}

.method-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}

.method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
}

.method-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: #2a7f7f;
}
.method-icon svg {
  width: 100%;
  height: 100%;
}

.method-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
  line-height: 1.3;
}

.method-card p {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.7;
}

/* ============================================
   FIKRLAR — VIDEO SLIDER
   ============================================ */
.fikrlar {
  background: #ffffff;
  padding: 96px 5vw;
}
.fikrlar-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.fikrlar-title {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.slider-track-outer {
  flex: 1;
  overflow: hidden;
  border-radius: 16px;
}

.slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-card {
  flex: 0 0 calc(33.333% - 14px);
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  position: relative;
  cursor: pointer;
}

.video-card .video-thumb {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #111;
  overflow: hidden;
}

.video-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: none;
}

.video-card iframe.active {
  display: block;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.video-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.play-btn {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}

.video-card:hover .play-btn {
  transform: scale(1.1);
}

.play-btn svg {
  width: 22px;
  height: 22px;
  color: #e00;
  margin-left: 3px;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
  z-index: 2;
}

.slider-btn:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}
.slider-btn svg {
  width: 18px;
  height: 18px;
  color: #333;
}
.slider-btn:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

/* ============================================
   FAQ — KO'P SO'RALADIGAN SAVOLLAR
   ============================================ */
.faq {
  background: #f0f4f8;
  padding: 96px 5vw;
}
.faq-inner {
  max-width: 780px;
  margin: 0 auto;
}

.faq-title {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.25s;
}

.faq-item.open {
  box-shadow: 0 4px 20px rgba(42, 127, 127, 0.12);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq-question span {
  font-size: 0.975rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid #d0d8e0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #2a7f7f;
  font-size: 1.2rem;
  font-weight: 400;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.3s;
}

.faq-item.open .faq-icon {
  background: #2a7f7f;
  border-color: #2a7f7f;
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.25s ease;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}
.faq-item.open .faq-question {
  border-bottom: 1px solid #f0f4f8;
}
.faq-answer p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.75;
}

/* ============================================
   ALOQA
   ============================================ */
.aloqa {
  background: #f0f4f8;
  padding: 96px 5vw;
}
.aloqa-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.aloqa-title {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.aloqa-sub {
  text-align: center;
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 15px;
}

.aloqa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 20px;
  max-width: 1120px;
  width: 90%;
  margin: 0 auto;
}

.aloqa-form {
  background: #ffffff;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  width: 55%;
  margin: 10px auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e0e8f0;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #1a1a1a;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  font-family: inherit;
  background: #f8fafc;
}

.form-group input::placeholder {
  color: #aab4c0;
}

.form-group input:focus {
  border-color: #2a7f7f;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(42, 127, 127, 0.1);
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: #2a7f7f;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
  font-family: inherit;
}

.btn-submit:hover {
  background: #1a5f5f;
  transform: translateY(-1px);
}

.form-success {
  display: none;
  text-align: center;
  padding: 16px;
  color: #2a7f7f;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 12px;
}

.aloqa-map {
  box-shadow: 0 0 10px 30px black;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  min-height: 340px;
}

.aloqa-map iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: none;
  display: block;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #1a4a4a;
  padding: 64px 5vw 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "ص";
  position: absolute;
  top: -20px;
  left: -20px;
  font-size: 18rem;
  color: rgba(255, 255, 255, 0.04);
  font-family: serif;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.footer::after {
  content: "ع";
  position: absolute;
  bottom: 40px;
  right: -20px;
  font-size: 18rem;
  color: rgba(255, 255, 255, 0.04);
  font-family: serif;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
}

.footer-brand .logo {
  margin-bottom: 14px;
  display: inline-flex;
}
.footer-brand .logo .logo-name {
  color: #ffffff;
}
.footer-brand .logo .logo-sub {
  color: rgba(255, 255, 255, 0.6);
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
  color: rgba(255, 255, 255, 0.8);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}
.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-item span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}
.footer-contact-item a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact-item a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}
.aloqa-map {
  border: 2px solid #2a7f7f;
}
.map-1 p {
  text-align: center;
}
/* ============================================
   RESPONSIVE
   ============================================ */

/* Planshet: 900px */
@media (max-width: 900px) {
  /* Header */
  header {
    width: calc(100% - 40px);
  }
  nav,
  .phone {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-nav {
    left: 20px;
    right: 20px;
  }

  /* Hero */
  .hero-image {
    width: 50%;
  }
  .hero-content {
    max-width: 100%;
  }

  /* Statistika */
  .statistika-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Method */
  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Video */
  .video-card {
    flex: 0 0 calc(50% - 10px);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Mobil: 768px */
@media (max-width: 768px) {
  /* Header */
  header {
    width: calc(100% - 32px);
    top: 12px;
    padding: 12px 18px;
  }
  .mobile-nav {
    left: 16px;
    right: 16px;
    top: 74px;
  }

  /* Hero */
  .hero {
    padding: 100px 5vw 0px;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-btns {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
  }

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

  .hero-image {
    display: none;
  }
  /* Aloqa */
  .aloqa-grid {
    grid-template-columns: 1fr;
  }
  .aloqa-form {
    width: 90%;
    padding: 24px 20px;
  }
}

/* Kichik mobil: 540px */
@media (max-width: 540px) {
  /* Footer */
  .hero-inner {
    flex-direction: column-reverse;
  }
  .hero-image {
    display: block;
    width: 60%;
    box-shadow: 0 1px 3px -1px #000;
    border-radius: 15px;
  }
  .footer-col {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: auto;
  }
}

/* Kichik mobil: 480px */
@media (max-width: 480px) {
  /* Statistika */
  .statistika-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* About stats */
  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  /* Method */
  .method-grid {
    grid-template-columns: 1fr;
  }

  /* FAQ */
  .faq-question {
    padding: 16px 18px;
  }
  .faq-answer {
    padding: 0 18px;
  }
  .faq-item.open .faq-answer {
    padding: 0 18px 16px;
  }
}

/* Juda kichik: 380px */
@media (max-width: 380px) {
  .statistika-grid {
    grid-template-columns: 1fr;
  }
  .about-stats {
    grid-template-columns: 1fr;
  }
  .video-card {
    flex: 0 0 100%;
  }
  .hero-btns .btn-courses,
  .hero-btns .btn-aloqa {
    width: 100%;
    justify-content: center;
  }
  .hero-inner {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
  }
  .hero-image {
    width: 60%;
    box-shadow: 0 1px 3px -1px #000;
    border-radius: 15px;
  }
}

/* ============================================
   MODAL — BOG'LANISH
   ============================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 32px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: modalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

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

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
  flex-shrink: 0;
}

.modal-close:hover {
  background: #e0e8f0;
  transform: rotate(90deg);
}

.modal-close svg {
  width: 16px;
  height: 16px;
  color: #555;
}

/* Required yulduz */
.required {
  color: #e00;
  margin-left: 2px;
}

/* Input xato holati */
.field-error {
  display: none;
  font-size: 0.78rem;
  color: #e00;
  margin-top: 5px;
}

.form-group.error input {
  border-color: #e00;
  box-shadow: 0 0 0 3px rgba(220, 0, 0, 0.08);
}

.form-group.error .field-error {
  display: block;
}

/* Loading holati */
.btn-submit.loading {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 480px) {
  .modal-box {
    padding: 24px 20px;
  }
  .modal-title {
    font-size: 1.25rem;
  }
}
