﻿*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --orange: #F58220;
      --orange-dark: #e67410;
      --blue: #1F5AA6;
      --blue-light: #EEF6FF;
      --bg: #FAF7F2;
      --text: #2A2A2A;
      --text-muted: rgba(42, 42, 42, 0.65);
      --white: #ffffff;
      --radius: 16px;
      --radius-lg: 24px;
      --shadow: 0 4px 24px rgba(42, 42, 42, 0.06);
      --shadow-hover: 0 8px 32px rgba(42, 42, 42, 0.1);
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Vazirmatn', Tahoma, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.7;
      overflow-x: hidden;
    }

    a { text-decoration: none; color: inherit; }
    img { max-width: 100%; height: auto; display: block; }
    ul { list-style: none; }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* ── Header ── */
    .header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(250, 247, 242, 0.92);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(42, 42, 42, 0.06);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 14px 0;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-shrink: 0;
    }

    .logo img {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      object-fit: cover;
    }

    .logo-text {
      font-size: 13px;
      font-weight: 700;
      line-height: 1.5;
    }

    .logo-text span {
      display: block;
      color: var(--orange);
      font-size: 15px;
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .nav a {
      padding: 8px 14px;
      border-radius: 10px;
      font-size: 14px;
      color: var(--text-muted);
      transition: color 0.2s, background 0.2s;
    }

    .nav a:hover { color: var(--blue); background: var(--white); }
    .nav a.active { color: var(--orange); font-weight: 600; }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-shrink: 0;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 10px 22px;
      border-radius: 12px;
      font-family: inherit;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      border: 2px solid transparent;
      transition: all 0.2s;
    }

    .btn-outline {
      background: var(--white);
      border-color: var(--blue);
      color: var(--blue);
    }

    .btn-outline:hover { background: var(--blue-light); }

    .btn-primary {
      background: var(--orange);
      color: var(--white);
      box-shadow: 0 2px 12px rgba(245, 130, 32, 0.3);
    }

    .btn-primary:hover {
      background: var(--orange-dark);
      box-shadow: 0 4px 16px rgba(245, 130, 32, 0.4);
    }

    .btn-white {
      background: var(--white);
      color: var(--blue);
      border-color: var(--blue);
    }

    .btn-white:hover { background: var(--blue-light); }

    .btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 14px; }

    .mobile-nav {
      display: none;
      overflow-x: auto;
      gap: 4px;
      padding: 8px 0 10px;
      border-top: 1px solid rgba(42, 42, 42, 0.06);
    }

    .mobile-nav a {
      flex-shrink: 0;
      padding: 6px 12px;
      font-size: 12px;
      color: var(--text-muted);
      border-radius: 8px;
    }

    /* ── Hero ── */
    .hero {
      position: relative;
      padding: 12px 0;
      overflow: hidden;
    }

    .hero-deco {
      position: absolute;
      pointer-events: none;
    }

    .hero-deco.star {
      width: 28px;
      height: 28px;
      color: #FFD54F;
    }

    .hero-deco.star-1 { top: 12%; right: 8%; animation: float 4s ease-in-out infinite; }
    .hero-deco.star-2 { top: 30%; left: 5%; width: 20px; height: 20px; animation: float 5s ease-in-out infinite 1s; }
    .hero-deco.star-3 { bottom: 20%; right: 15%; width: 16px; height: 16px; animation: float 3.5s ease-in-out infinite 0.5s; }

    .hero-deco.dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--blue);
      opacity: 0.3;
    }

    .hero-deco.dot-1 { top: 18%; left: 20%; }
    .hero-deco.dot-2 { bottom: 30%; left: 10%; background: var(--orange); opacity: 0.4; }
    .hero-deco.dot-3 { top: 45%; right: 5%; }

    .hero-wave {
      position: absolute;
      bottom: 10%;
      left: 5%;
      width: 120px;
      opacity: 0.15;
    }

    @keyframes float {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-10px); }
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
      gap: 32px 48px;
      min-height: 360px;
    }

    .hero-content {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
    }

    .hero-headlines {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      width: 100%;
      margin-bottom: 20px;
    }

    .hero h1 {
      font-size: clamp(28px, 4vw, 44px);
      font-weight: 800;
      line-height: 1.35;
      color: var(--text);
      margin-bottom: 12px;
    }

    .hero-badge {
      display: inline-block;
      background: rgba(245, 130, 32, 0.12);
      color: var(--orange);
      font-size: 15px;
      font-weight: 700;
      padding: 6px 18px;
      border-radius: 50px;
      margin-bottom: 0;
    }

    .hero-desc {
      font-size: 16px;
      color: var(--text-muted);
      max-width: 480px;
      margin: 0 auto 32px;
      line-height: 1.9;
      text-align: center;
    }

    .hero-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      justify-content: center;
    }

    .hero-image {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: flex-end;
      height: 100%;
    }

    .hero-image-wrap {
      position: relative;
      width: 100%;
      max-width: 540px;
      display: flex;
      align-items: flex-end;
      justify-content: center;
    }

    .hero-image-wrap img {
      width: 100%;
      max-height: min(580px, 78vh);
      height: auto;
      object-fit: contain;
      display: block;
      background: transparent;
      transform: scaleX(-1);
      filter: drop-shadow(0 16px 32px rgba(42, 42, 42, 0.15));
    }

    /* ── Section common ── */
    .section { padding: 72px 0; }

    #courses.section {
      padding-top: 24px;
    }

    .section-title {
      text-align: center;
      font-size: clamp(22px, 3vw, 30px);
      font-weight: 800;
      margin-bottom: 48px;
      color: var(--text);
    }

    /* ── Service Cards ── */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }

    .service-card {
      background: var(--white);
      border-radius: var(--radius-lg);
      padding: 28px 20px;
      box-shadow: var(--shadow);
      transition: transform 0.25s, box-shadow 0.25s;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .service-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }

    .service-icon {
      width: 80px;
      height: 80px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 16px;
    }

    .service-icon img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .service-card h3 {
      font-size: 15px;
      font-weight: 700;
      margin-bottom: 10px;
      line-height: 1.5;
    }

    .service-card p {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.8;
      margin-bottom: 16px;
      flex: 1;
    }

    .service-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      font-weight: 600;
      color: var(--blue);
      transition: gap 0.2s;
    }

    .service-link:hover { gap: 10px; }

    /* ── Why Luma ── */
    .why-section { background: var(--white); }

    .why-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 28px;
    }

    .why-item {
      text-align: center;
      padding: 24px 16px;
    }

    .why-icon {
      width: 96px;
      height: 96px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
    }

    .why-icon svg { width: 80px; height: 80px; }

    .why-icon img {
      width: 96px;
      height: 96px;
      object-fit: contain;
    }

    .why-item h3 {
      font-size: clamp(14px, 1.15vw, 16px);
      font-weight: 700;
      line-height: 1.7;
      color: var(--text);
    }

    /* ── Workshops ── */
    .workshops-header {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      margin-bottom: 40px;
    }

    .workshops-header .section-title { margin-bottom: 0; }

    .carousel-wrap {
      position: relative;
    }

    .carousel-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: 2px solid var(--blue);
      background: var(--white);
      color: var(--blue);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 2;
      transition: background 0.2s, color 0.2s;
    }

    .carousel-btn:hover { background: var(--blue); color: var(--white); }
    .carousel-btn.prev { left: -20px; }
    .carousel-btn.next { right: -20px; }

    .carousel-track {
      display: flex;
      gap: 20px;
      overflow-x: auto;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      scroll-snap-type: x proximity;
      scrollbar-width: none;
      -ms-overflow-style: none;
      touch-action: pan-x;
    }

    .carousel-track::-webkit-scrollbar {
      display: none;
    }

    .workshop-card {
      flex: 0 0 calc(25% - 15px);
      scroll-snap-align: start;
      background: var(--white);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: transform 0.25s, box-shadow 0.25s;
    }

    .workshop-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-hover);
    }

    .workshop-img {
      position: relative;
      height: 160px;
      overflow: hidden;
    }

    .workshop-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .workshop-tag {
      position: absolute;
      top: 12px;
      right: 12px;
      padding: 4px 12px;
      border-radius: 50px;
      font-size: 11px;
      font-weight: 700;
      color: var(--white);
    }

    .tag-green { background: #4CAF50; }
    .tag-orange { background: var(--orange); }
    .tag-blue { background: var(--blue); }
    .tag-purple { background: #7B61FF; }

    .workshop-body { padding: 18px; }

    .workshop-date {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 8px;
    }

    .workshop-body h3 {
      font-size: 14px;
      font-weight: 700;
      margin-bottom: 6px;
      line-height: 1.5;
    }

    .workshop-age {
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 12px;
    }

    .workshop-link {
      font-size: 13px;
      font-weight: 600;
      color: var(--blue);
    }

    /* ── Testimonials ── */
    .testimonials {
      background: var(--blue-light);
      border-radius: var(--radius-lg);
      padding: 56px 48px;
      margin: 0 24px;
      max-width: calc(1200px + 48px);
      margin-left: auto;
      margin-right: auto;
    }

    .testimonials .section-title { margin-bottom: 36px; }

    .testimonial-slider {
      display: flex;
      align-items: center;
      gap: 32px 48px;
    }

    .testimonial-avatar {
      flex-shrink: 0;
      width: 190px;
      height: 190px;
      border-radius: 50%;
      overflow: hidden;
      border: 5px solid var(--white);
      box-shadow: var(--shadow);
    }

    .testimonial-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .testimonial-content {
      flex: 1;
      text-align: center;
      position: relative;
    }

    .quote-mark {
      font-size: 64px;
      line-height: 1;
      color: var(--blue);
      opacity: 0.25;
      font-family: Georgia, serif;
      position: absolute;
      top: -20px;
      right: 50%;
      transform: translateX(50%);
    }

    .testimonial-text {
      font-size: 16px;
      line-height: 2;
      color: var(--text);
      max-width: 560px;
      margin: 0 auto 16px;
      padding-top: 20px;
    }

    .testimonial-author {
      font-size: 15px;
      font-weight: 700;
      color: var(--text);
    }

    .testimonial-role {
      font-size: 13px;
      color: var(--text-muted);
    }

    .testimonial-dots {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 20px;
    }

    .testimonial-dots button {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      border: none;
      background: rgba(31, 90, 166, 0.25);
      cursor: pointer;
      padding: 0;
      transition: background 0.2s, transform 0.2s;
    }

    .testimonial-dots button.active {
      background: var(--blue);
      transform: scale(1.2);
    }

    .testimonial-mascot {
      flex-shrink: 0;
      width: 210px;
      align-self: center;
    }

    .testimonial-mascot img {
      width: 100%;
      height: auto;
      display: block;
      background: transparent;
      filter: drop-shadow(0 6px 14px rgba(42, 42, 42, 0.12));
    }

    /* ── About ── */
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
      gap: 48px;
    }

    .about-image img {
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow);
    }

    .about-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .about-content h2 {
      font-size: 28px;
      font-weight: 800;
      margin-bottom: 20px;
    }

    .about-content p {
      font-size: 15px;
      color: var(--text-muted);
      line-height: 2;
      margin-bottom: 28px;
      max-width: 520px;
    }

    /* ── CTA Banner ── */
    .cta-banner {
      background: var(--orange);
      border-radius: var(--radius-lg);
      padding: 48px 56px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      box-shadow: 0 8px 32px rgba(245, 130, 32, 0.3);
    }

    .cta-text h2 {
      font-size: clamp(20px, 3vw, 28px);
      font-weight: 800;
      color: var(--white);
      margin-bottom: 8px;
    }

    .cta-text p {
      font-size: 14px;
      color: rgba(255, 255, 255, 0.85);
    }

    .cta-banner .btn-white {
      flex-shrink: 0;
      font-weight: 700;
      padding: 14px 32px;
    }

    /* ── Footer ── */
    .footer {
      background: var(--white);
      border-top: 1px solid rgba(42, 42, 42, 0.06);
      padding: 56px 0 0;
      margin-top: 72px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.4fr 1fr 1fr 1fr;
      gap: 40px;
      padding-bottom: 40px;
    }

    .footer-contact li {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 14px;
      line-height: 1.7;
    }

    .footer-contact svg {
      flex-shrink: 0;
      width: 18px;
      height: 18px;
      color: var(--orange);
      margin-top: 3px;
    }

    .footer-col h4 {
      font-size: 15px;
      font-weight: 700;
      margin-bottom: 18px;
    }

    .footer-col a {
      display: block;
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 10px;
      transition: color 0.2s;
    }

    .footer-col a:hover { color: var(--blue); }

    .footer-bottom {
      border-top: 1px solid rgba(42, 42, 42, 0.06);
      padding: 24px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      flex-wrap: wrap;
    }

    .footer-brand {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .footer-brand img {
      width: 40px;
      height: 40px;
      border-radius: 10px;
    }

    .social-links {
      display: flex;
      gap: 10px;
    }

    .social-links a {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: var(--blue-light);
      color: var(--blue);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s, color 0.2s;
    }

    .social-links a:hover {
      background: var(--blue);
      color: var(--white);
    }

    .social-links svg { width: 16px; height: 16px; }

    .copyright {
      font-size: 12px;
      color: rgba(42, 42, 42, 0.45);
      text-align: center;
      flex: 1;
    }

    /* ── Responsive ── */
    @media (max-width: 1024px) {
      .nav { display: none; }
      .mobile-nav { display: flex; }
      .services-grid { grid-template-columns: repeat(2, 1fr); }
      .why-grid { grid-template-columns: repeat(3, 1fr); }
      .workshop-card { flex: 0 0 calc(33.333% - 14px); }
    }

    @media (max-width: 768px) {
      .hero-grid { grid-template-columns: 1fr; text-align: center; min-height: auto; }
      .hero-desc { margin-left: auto; margin-right: auto; }
      .hero-buttons { justify-content: center; }
      .hero-image { order: -1; }
      .hero-image-wrap { max-width: 340px; }
      .hero-image-wrap img { max-height: 400px; }
      .services-grid { grid-template-columns: repeat(2, 1fr); }
      .why-grid { grid-template-columns: repeat(2, 1fr); }
      .workshop-card { flex: 0 0 calc(50% - 10px); }
      .testimonial-slider { flex-direction: column; }
      .testimonial-avatar { width: 150px; height: 150px; }
      .testimonial-mascot { width: 150px; }
      .about-grid { grid-template-columns: 1fr; }
      .cta-banner { flex-direction: column; text-align: center; padding: 36px 28px; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .carousel-btn { display: none; }
      .carousel-track {
        scroll-snap-type: x mandatory;
        padding-inline: 4px;
      }
      .workshop-card { scroll-snap-align: center; }
      .testimonials { padding: 36px 24px; margin: 0 16px; }
    }

    @media (max-width: 480px) {
      .services-grid { grid-template-columns: 1fr; }
      .why-grid { grid-template-columns: 1fr; }
      .workshop-card { flex: 0 0 100%; }
      .footer-grid { grid-template-columns: 1fr; }
      .header-actions .btn-outline { display: none; }
    }
