/* ========== CA Company - Logo-inspired palette (light theme) ========== */
:root {
  --purple: #5E50A1;
  --purple-light: #7D71C1;
  --pink: #E94C7D;
  --pink-light: #F3739B;
  --yellow: #F4BF2F;
  --yellow-light: #FBD85E;
  --bg: #f8f7fc;
  --bg-soft: #f0eef8;
  --white: #ffffff;
  --text: #1a1a1e;
  --text-soft: #4a4a52;
  --gray: #6b6b75;
  --gray-light: #9a9aa6;
  --border: rgba(94, 80, 161, 0.2);
  --shadow: rgba(94, 80, 161, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Tajawal', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body.rtl {
  direction: rtl;
  text-align: right;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========== HEADER & NAV ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(248, 247, 252, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 24px var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 1rem;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.nav-logo:hover .logo-img {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-link {
  color: var(--text-soft);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--pink);
  background: rgba(233, 76, 125, 0.1);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown .arrow {
  font-size: 0.65em;
  opacity: 0.8;
  transition: transform 0.3s;
}

.nav-dropdown:hover .arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  box-shadow: 0 10px 30px var(--shadow);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--text-soft);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.dropdown-menu a:hover {
  background: rgba(233, 76, 125, 0.1);
  color: var(--pink);
}

.nav-lang {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.5rem;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--gray);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.lang-btn:hover,
.lang-btn.active {
  color: var(--purple);
  background: rgba(94, 80, 161, 0.1);
}

.lang-sep {
  color: var(--gray-light);
  font-size: 0.85rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(233, 76, 125, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(233, 76, 125, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--yellow);
  border: 2px solid var(--yellow);
}

.btn-secondary:hover {
  background: rgba(244, 191, 47, 0.15);
  transform: translateY(-2px);
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 6rem 1.5rem 4rem;
  overflow: hidden;
}

/* Hero background image (slightly transparent) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('images/front.jpeg') center center / cover no-repeat;
  opacity: 0.4;
  pointer-events: none;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
  animation: float 12s ease-in-out infinite;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--purple);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 350px;
  height: 350px;
  background: var(--pink);
  bottom: -80px;
  left: -80px;
  animation-delay: -4s;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--yellow);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -8s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -30px); }
  66% { transform: translate(-20px, 20px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
}
.slogin{
  color: var(--purple);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

@keyframes shimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.15); }
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-soft);
  max-width: 520px;
  margin: 0 auto 2rem;
  font-weight: bold;
}

.animate-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s ease forwards;
}

.animate-in.delay-1 { animation-delay: 0.2s; }
.animate-in.delay-2 { animation-delay: 0.4s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== SECTIONS COMMON ========== */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text);
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--text-soft);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* ========== ABOUT ========== */
.about {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text {
  font-size: 1.1rem;
  color: var(--text-soft);
  line-height: 1.8;
  text-align: justify;
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* About image – fade on all sides, no border */
.about-image-wrap {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-composite: intersect;
}

.about-image {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: cover;
  border: none;
}

.floating {
  animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ========== STATS ========== */
.stats {
  padding-top: 0;
  padding-bottom: 1.75rem;
}

.stats + .vmw {
  padding-top: 3.25rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 10px 30px var(--shadow);
  backdrop-filter: blur(10px);
  transform: translateY(-20px);
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.4rem 1.25rem;
  text-align: center;
  box-shadow: 0 4px 16px var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px var(--shadow);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.6rem;
}

.stat-label {
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.95rem;
}

/* ========== VMW (Vision Mission Values) ========== */
.vmw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.vmw-card {
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  box-shadow: 0 4px 20px var(--shadow);
}

.vmw-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px var(--shadow);
  border-color: rgba(233, 76, 125, 0.35);
}

.vmw-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.vmw-card.card-1 .vmw-icon { color: var(--purple-light); }
.vmw-card.card-2 .vmw-icon { color: var(--pink); }
.vmw-card.card-3 .vmw-icon { color: var(--yellow); }

.vmw-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.vmw-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* ========== AUDIENCE ========== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.audience-card {
  padding: 1.75rem;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 16px var(--shadow);
}

.audience-card:hover {
  transform: translateY(-4px);
  border-color: var(--pink);
  box-shadow: 0 8px 28px var(--shadow);
}

.audience-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.audience-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.audience-card p {
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* ========== COURSES (coding-themed background) ========== */
.courses {
  position: relative;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  overflow: hidden;
}

/* Subtle code-grid pattern */
.courses::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(94, 80, 161, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 80, 161, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

/* Floating code brackets decoration */
/* .courses::after {
  content: '</>';
  position: absolute;
  right: 8%;
  top: 15%;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 800;
  color: rgba(94, 80, 161, 0.08);
  font-family: 'Consolas', 'Monaco', monospace;
  pointer-events: none;
  z-index: 0;
} */

body.rtl .courses::after {
  right: auto;
  left: 8%;
}

.courses .container {
  position: relative;
  z-index: 1;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.course-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  border-left: 4px solid var(--yellow);
  transition: transform 0.3s, border-left-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 16px var(--shadow);
}

body.rtl .course-card {
  border-left: none;
  border-right: 4px solid var(--yellow);
}

.course-card:hover {
  transform: translateX(6px);
  border-left-color: var(--pink);
}

body.rtl .course-card:hover {
  transform: translateX(-6px);
  border-right-color: var(--pink);
}

.course-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--purple-light);
  opacity: 0.8;
  margin-bottom: 0.75rem;
}

.course-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.course-card p {
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* ========== PRODUCTS ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  position: relative;
  padding: 0;
  text-align: center;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 20px var(--shadow);
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--gray-light);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card h4,
.product-card p {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  border-radius: 16px 16px 0 0;
}

.product-card-1::before {
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
}

.product-card-2::before {
  background: linear-gradient(90deg, var(--pink), var(--pink-light));
}

.product-card-3::before {
  background: linear-gradient(90deg, var(--yellow), var(--yellow-light));
}

.product-card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 36px var(--shadow);
}

.product-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  padding-top: 1.25rem;
  color: var(--text);
}

.product-card p {
  font-size: 0.95rem;
  color: var(--text-soft);
  padding-bottom: 1.5rem;
}

/* ========== LMS SECTION ========== */
.lms-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.lms-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.lms-text {
  font-size: 1.1rem;
  color: var(--text-soft);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* ========== FAQ ========== */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--white);
  transition: border-color 0.3s;
  box-shadow: 0 2px 12px var(--shadow);
}

.faq-item:hover {
  border-color: rgba(233, 76, 125, 0.35);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}

body.rtl .faq-question {
  text-align: right;
}

.faq-question:hover {
  background: rgba(233, 76, 125, 0.06);
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--yellow);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}

body.rtl .faq-icon {
  margin-left: 0;
  margin-right: 1rem;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========== FOUNDERS ========== */
.founders {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 0 auto;
}

.founder-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 24px var(--shadow);
}

.founder-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px var(--shadow);
}

.founder-image-wrap {
  width: 160px;
  height: 160px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--purple);
  box-shadow: 0 8px 24px rgba(94, 80, 161, 0.3);
}

.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-name {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.founder-role {
  color: var(--yellow);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.founder-bio {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.7;
}

/* ========== PARTNERS (LOGO MARQUEE) ========== */
/* Force LTR so marquee works in Arabic (RTL) mode */
.partners,
.partners-track-wrap,
.partners-track {
  direction: ltr;
}

.partners {
  padding: 4rem 0;
  overflow: hidden;
}

.partners-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.partners-track {
  display: flex;
  gap: 3rem;
  animation: marquee 25s linear infinite;
  width: max-content;
}

.partners-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-logo {
  flex-shrink: 0;
  min-width: 180px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: var(--white); */
  /* border: 1px solid var(--border); */
  border-radius: 12px;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s, border-color 0.2s;
  box-shadow: 0 2px 12px var(--shadow);
}

.partner-logo:hover {
  border-color: var(--pink);
}

.partner-logo img {
  max-width: 140px;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ========== CONTACT ========== */
.contact {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 800px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-label {
  font-size: 0.9rem;
  color: var(--gray);
}

.contact-item a,
.contact-item span {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--pink);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.9rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--gray-light);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(233, 76, 125, 0.15);
}

.contact-form button {
  align-self: flex-start;
}

/* Google map embed */
.contact-map {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 4px 18px var(--shadow);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
}

/* ========== FOOTER ========== */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  height: 36px;
  width: auto;
  opacity: 0.9;
}

.footer-copy {
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .vmw-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: calc(100vh - 72px);
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 2rem;
    gap: 0;
    border-right: 1px solid rgba(94, 80, 161, 0.3);
    transition: left 0.35s ease;
    overflow-y: auto;
  }

  .nav-menu.open {
    left: 0;
  }

  .nav-link {
    padding: 0.9rem;
    border-radius: 8px;
  }

  .nav-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    border: none;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.2);
    margin-top: 0;
    padding: 0;
    transition: max-height 0.3s ease;
  }

  .nav-dropdown.open .dropdown-menu {
    max-height: 200px;
    padding: 0.5rem 0;
  }

  .nav-lang {
    margin-left: 0;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(94, 80, 161, 0.3);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    transform: translateY(-12px);
  }
  .courses-grid {
    grid-template-columns: 1fr;
  }
  .founders-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .founders-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3.5rem 0;
  }
  .hero {
    padding: 5rem 1rem 3rem;
  }
  .partner-logo {
    min-width: 140px;
    height: 64px;
  }
  .partner-logo img {
    max-width: 120px;
    max-height: 48px;
  }
}
