/* ══════════════════════════════════════
   layout.css — Navbar, Hero, Stats, About,
                Testimonials, CTA, Footer
══════════════════════════════════════ */

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 1.2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(14, 12, 8, 0.95) 0%, transparent 100%);
  backdrop-filter: blur(2px);
}

.nav-logo {
  font-family: 'Amiri', serif;
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 0.02em;
  font-weight: 700;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  background: var(--gold);
  color: var(--ink) !important;
  padding: 0.55rem 1.5rem;
  border-radius: 50px;
  font-weight: 700 !important;
  transition: background 0.3s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 4rem;
  padding-top: 6rem;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(209, 159, 17, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Amiri', serif;
  font-size: 28rem;
  color: rgba(209, 159, 17, 0.03);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(209, 159, 17, 0.12);
  border: 1px solid rgba(209, 159, 17, 0.3);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.8s ease both;
}

.hero-badge::before {
  content: '✦';
  font-size: 0.7rem;
}

.hero-title {
  font-family: 'Amiri', serif;
  font-size: 4.5rem;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 0.5rem;
  animation: fadeSlideUp 0.9s ease 0.1s both;
}

.hero-title span {
  color: var(--gold);
  display: block;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.8rem;
  font-weight: 400;
  animation: fadeSlideUp 0.9s ease 0.15s both;
}

.hero-subject {
  font-family: 'Amiri', serif;
  font-size: 1.8rem;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.9s ease 0.2s both;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.9;
  max-width: 460px;
  margin-bottom: 2.5rem;
  animation: fadeSlideUp 0.9s ease 0.25s both;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.9s ease 0.3s both;
}

.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 85vh;
  animation: fadeIn 1.2s ease 0.3s both;
}

.teacher-frame {
  position: relative;
  width: 380px;
  height: 520px;
  border-radius: 200px 200px 0 0;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(209, 159, 17, 0.15) 0%, rgba(178, 118, 13, 0.08) 100%);
  border: 1px solid rgba(209, 159, 17, 0.2);
}

.teacher-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.teacher-frame:hover .teacher-img,
.about-img-frame:hover .teacher-img {
  transform: scale(1.08);
}



.teacher-frame::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 200px 200px 0 0;
  background: linear-gradient(160deg, var(--gold) 0%, transparent 60%);
  z-index: -1;
  opacity: 0.4;
}

.float-card {
  position: absolute;
  background: rgba(14, 12, 8, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(209, 159, 17, 0.25);
  border-radius: 16px;
  padding: 0.9rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  white-space: nowrap;
  animation: floatCard 4s ease-in-out infinite;
}

.float-card:nth-child(2) {
  animation-delay: -2s;
}

.float-card-icon {
  width: 40px;
  height: 40px;
  background: rgba(209, 159, 17, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.float-card-val {
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--gold);
  line-height: 1;
}

.float-card-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
  margin-top: 2px;
}

.float-card-1 {
  right: -60px;
  top: 100px;
}

.float-card-2 {
  left: -50px;
  bottom: 160px;
}

/* ── STATS STRIP ── */
.stats-strip {
  background: rgba(209, 159, 17, 0.06);
  border-top: 1px solid rgba(209, 159, 17, 0.15);
  border-bottom: 1px solid rgba(209, 159, 17, 0.15);
  padding: 3rem 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stats-strip::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(209, 159, 17, 0.08) 0%, transparent 70%);
}

.stat-item {
  position: relative;
  z-index: 1;
}

.stat-number {
  font-family: 'Cairo', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.stat-plus {
  color: var(--gold-light);
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.4rem;
  font-weight: 400;
}

.stat-divider {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: rgba(209, 159, 17, 0.2);
}

/* ── ABOUT ── */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-frame {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(209, 159, 17, 0.1), rgba(14, 12, 8, 0.8));
  border: 1px solid rgba(209, 159, 17, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.about-img-frame::after {
  position: absolute;
  bottom: 2rem;
  font-family: 'Amiri', serif;
  font-size: 1rem;
  color: rgba(209, 159, 17, 0.4);
}

.about-deco-rect {
  position: absolute;
  width: 80%;
  height: 80%;
  border: 1px solid rgba(209, 159, 17, 0.15);
  border-radius: 20px;
  bottom: -20px;
  right: -20px;
  z-index: -1;
}

.about-quote {
  background: rgba(209, 159, 17, 0.06);
  border-right: 3px solid var(--gold);
  padding: 1.5rem;
  border-radius: 0 12px 12px 0;
  margin-bottom: 2rem;
  font-family: 'Amiri', serif;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.about-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.point-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 0.55rem;
  flex-shrink: 0;
}

/* ── TESTIMONIALS ── */
.testimonials {
  background: var(--ink-soft);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(209, 159, 17, 0.12);
  border-radius: 20px;
  padding: 2rem;
  transition: border-color 0.3s;
}

.testimonial-card:hover {
  border-color: rgba(209, 159, 17, 0.35);
}

.stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-family: 'Amiri', serif;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(209, 159, 17, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--gold);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
}

.author-grade {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ── CTA ── */
.cta-section {
  text-align: center;
  padding: 7rem 4rem;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(209, 159, 17, 0.12) 0%, transparent 70%);
}

.cta-title {
  font-family: 'Amiri', serif;
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-title em {
  color: var(--gold);
  font-style: normal;
}

.cta-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-store:hover {
  border-color: var(--gold);
  background: rgba(209, 159, 17, 0.1);
}

.btn-store-icon {
  font-size: 1.5rem;
}

.btn-store-text-sm {
  font-size: 0.65rem;
  opacity: 0.6;
  display: block;
}

.btn-store-text-lg {
  font-size: 0.95rem;
  font-weight: 700;
  display: block;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid rgba(209, 159, 17, 0.1);
  padding: 0;
}

.footer-top {
  padding: 3.5rem 4rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
}

.footer-logo {
  font-family: 'Amiri', serif;
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 700;
  display: block;
  margin-bottom: 0.7rem;
}

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 260px;
}

.social-links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: rgba(255, 255, 255, 0.6);
  transition: fill 0.25s;
  position: relative;
  z-index: 1;
}

.social-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s;
}

.social-btn:hover {
  border-color: transparent;
  transform: translateY(-2px);
}

.social-btn:hover svg {
  fill: #fff;
}

.social-btn:hover::before {
  opacity: 1;
}

.social-btn.facebook::before {
  background: #1877f2;
}

.social-btn.instagram::before {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-btn.youtube::before {
  background: #ff0000;
}

.social-btn.tiktok::before {
  background: #000;
}

.social-btn.whatsapp::before {
  background: #25d366;
}

.social-btn.telegram::before {
  background: #229ed9;
}

.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col-links a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-col-links a:hover {
  color: var(--gold);
}

.footer-col-links a::before {
  content: '←';
  font-size: 0.7rem;
  opacity: 0.4;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.25);
  text-decoration: none;
  font-size: 0.75rem;
  transition: color 0.25s;
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 6rem 1.5rem 3rem;
    text-align: center;
  }

  .hero-visual {
    height: 350px;
  }

  .teacher-frame {
    width: 260px;
    height: 360px;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-btns {
    justify-content: center;
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 2rem 1.5rem;
  }

  section {
    padding: 4rem 1.5rem;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .float-card-1 {
    right: -10px;
    top: 60px;
  }

  .float-card-2 {
    left: -10px;
    bottom: 80px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.5rem;
    gap: 2rem;
  }

  .footer-bottom {
    padding: 1rem 1.5rem;
    flex-direction: column;
    text-align: center;
  }
}