/* Professional Univity Website */
:root {
  --primary: #22C55E;
  --primary-light: #22C55E;
  --secondary: #84CC16;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-900: #111827;
  --text-primary: #111827;
  --text-secondary: #374151;
  --text-muted: #6B7280;
  --gradient-primary: linear-gradient(135deg, #22C55E, #84CC16);
  --gradient-hero: linear-gradient(135deg, #f6fff5, #eef8f1);
  --shadow-primary: 0 10px 20px rgba(34, 197, 94, 0.28);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text-primary); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.gradient-text { background: var(--gradient-primary); -webkit-background-clip: text; color: transparent; }
.section__header { text-align: center; margin-bottom: 3rem; }
.section__title { font-size: clamp(1.75rem, 1rem + 2.5vw, 2.5rem); font-weight: 800; margin-bottom: 1rem; }
.section__subtitle { font-size: 1.125rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 1rem 1.5rem; border-radius: 2rem; font-weight: 600; transition: 0.3s ease; }
.btn--primary { background: var(--gradient-primary); color: var(--white); box-shadow: var(--shadow-primary); }
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn--ghost:hover { background: var(--primary); color: var(--white); }
.btn--large { padding: 1.25rem 2rem; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(229, 231, 235, 0.5); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; min-height: 80px; }
.nav__brand { display: flex; align-items: center; gap: 1rem; }
.nav__logo { 
  width: 48px; height: 48px; 
  border-radius: 12px; 
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  background: transparent;
}
.nav__logo svg { width: 100%; height: 100%; display: block; }
.nav__title { font-size: 1.5rem; font-weight: 900; }
.nav__menu { display: flex; align-items: center; }
.nav__list { display: flex; gap: clamp(0.75rem, 2vw, 2rem); flex-wrap: wrap; }
.nav__link { font-weight: 500; color: var(--text-secondary); padding: 0.5rem 0; transition: 0.3s ease; position: relative; }
.nav__link:hover { color: var(--primary); }
.nav__actions { display: flex; align-items: center; gap: 1rem; justify-content: flex-end; }
.nav__download { width: auto; min-width: 0; flex: 0 0 auto; white-space: nowrap; text-align: center; }
.nav__lang { width: auto; height: auto; border-radius: 0; display: inline; background: transparent; font-weight: 700; font-size: 0.9rem; color: var(--primary); padding: 0; line-height: 1; transition: color 0.15s ease; margin-right: 0.75rem; }
.nav__lang:hover { transform: none; color: var(--secondary); }
.nav__toggle { display: none; flex-direction: column; gap: 4px; width: 32px; height: 32px; }
.nav__toggle span { width: 20px; height: 2px; background: var(--text-primary); border-radius: 2px; }

.hero { 
  background: var(--gradient-hero); 
  padding: 80px 0 clamp(24px, 4vh, 64px) 0; 
  position: relative; 
  overflow: hidden; 
  min-height: 100vh;
  height: auto;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
.hero__content { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 2rem; 
  align-items: center; 
  height: auto; 
  max-height: none;
  padding: 1rem 0;
}
.hero__title { font-size: clamp(2rem, 1.25rem + 3vw, 3rem); font-weight: 900; line-height: 1.1; margin-bottom: 1.5rem; }
.hero__subtitle { font-size: 1.25rem; color: var(--text-secondary); margin-bottom: 2rem; max-width: 500px; }
.hero__stats { display: flex; gap: 2rem; margin-bottom: 2rem; }
.stat { text-align: center; }
.stat__number { display: block; font-size: 2rem; font-weight: 800; color: var(--primary); margin-bottom: 0.25rem; }
.stat__label { font-size: 1rem; color: var(--text-muted); font-weight: 600; }
.hero__actions { display: flex; gap: 1.5rem; flex-wrap: wrap; }

.hero__cta-section { 
  margin-top: 0; 
  padding-top: 0;
}
.hero__cta { text-align: center; max-width: 600px; margin: 0 auto; }
.hero__cta-title { font-size: 1.75rem; font-weight: 800; color: var(--primary); margin-bottom: 0.75rem; }
.hero__cta-subtitle { font-size: 1rem; color: var(--text-secondary); margin-bottom: 1.5rem; }
.hero__download-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.download-btn { min-width: 200px; white-space: nowrap; justify-content: center; text-align: center; }
.download-btn:first-of-type svg { transform: translateY(-2px); }
.hero__visual { position: relative; overflow: hidden; box-sizing: border-box; padding-bottom: 0.75rem; }
.hero__slider { position: relative; aspect-ratio: 1; max-width: 500px; margin: 0 auto; overflow: hidden; border-radius: 1.5rem; background: var(--white); box-shadow: 0 12px 24px rgba(0,0,0,0.06); }
.slides { display: flex; transition: transform 0.5s ease; height: 100%; width: 100%; }
.slide { 
  min-width: 100%; 
  max-width: 100%;
  width: 100%;
  flex-shrink: 0;
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: space-between; 
  padding: 1.5rem; 
  text-align: center; 
  background: var(--white); 
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
  overflow: hidden;
}
.slide:not(.is-active) { transform: translateY(20px) scale(0.95); opacity: 0.7; }
.slide.is-active { transform: translateY(0) scale(1); opacity: 1; }

.slide-image { 
  flex: 1; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  width: 100%;
  max-height: 340px;
}
.slide img { 
  width: clamp(220px, 60%, 320px); 
  height: auto; 
  object-fit: contain;
}
.slide:nth-child(3) img { 
  width: clamp(260px, 70%, 420px); 
  height: auto; 
}
.slide:nth-child(5) img { 
  width: clamp(300px, 80%, 480px); 
  height: auto; 
  margin-top: 1rem;
}

.slide-content {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
}
.slide h3 { 
  font-size: 1.5rem; 
  font-weight: 800; 
  margin-bottom: 0.75rem; 
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide p { 
  color: var(--text-secondary); 
  line-height: 1.4; 
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  font-size: 0.95rem;
}
.hero__dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; padding-bottom: 0.5rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: #D1D5DB; border: none; cursor: pointer; transition: all 0.15s ease; }
.dot.is-active { background: var(--gradient-primary); transform: scale(1.2); }

.features { padding: 3rem 0; background: var(--gray-50); }
.features__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.feature { background: var(--white); padding: 2rem; border-radius: 1rem; text-align: center; box-shadow: 0 4px 6px rgba(0,0,0,0.05); transition: all 0.3s ease; border: 1px solid #E5E7EB; }
.feature:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.feature__icon { font-size: 3rem; margin-bottom: 1.5rem; display: block; }
.feature__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }
.feature__desc { color: var(--text-secondary); line-height: 1.6; }

.about { 
  padding: 0 0 1rem 0;
  min-height: 50vh;
  height: auto;
  display: flex;
  align-items: center;
}
.about__content { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; height: 100%; }
.about__desc { font-size: 1rem; color: var(--text-secondary); margin-bottom: 1.5rem; line-height: 1.6; }
.about__features { display: grid; gap: 1rem; }
.about__feature { display: flex; align-items: center; gap: 1rem; }
.about__feature-icon { width: 20px; height: 20px; background: var(--gradient-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 600; font-size: 0.8rem; }
.about__image { border-radius: 1rem; overflow: hidden; box-shadow: 0 15px 30px rgba(0,0,0,0.1); width: 100%; max-width: 400px; height: auto; display: flex; align-items: center; justify-content: center; }
.about__image img { width: auto; height: auto; max-height: 340px; object-fit: contain; }

.universities { 
  padding: 1rem 0 2rem 0; 
  background: var(--gray-50);
  min-height: 42vh;
  height: auto;
  display: flex;
  align-items: center;
}
.universities .section__title { margin-top: 2rem; margin-bottom: 0.5rem; }
.universities .section__subtitle { margin-top: 0; }
.universities .section__header { margin-bottom: 1rem; }
.universities__content { height: 100%; display: flex; flex-direction: column; justify-content: center; }
.universities__grid { 
  display: grid; 
  grid-template-columns: repeat(6, 1fr); 
  grid-template-rows: repeat(2, 1fr);
  gap: 1rem; 
  margin-bottom: 1rem; 
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.university { background: var(--white); padding: 1rem 0.75rem; border-radius: 10px; text-align: center; font-weight: 600; border: 1px solid #E5E7EB; transition: all 0.15s ease; font-size: 0.9rem; }
.university--center { display: flex; align-items: center; justify-content: center; }
.university:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-color: var(--primary); }
.universities__more { text-align: center; color: var(--text-muted); font-style: italic; }

.testimonials { padding: 3.5rem 0; }
.testimonials__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.testimonial { background: var(--white); padding: 2rem; border-radius: 1rem; box-shadow: 0 4px 6px rgba(0,0,0,0.05); border: 1px solid #E5E7EB; position: relative; }
.testimonial::before { content: '"'; position: absolute; top: 1rem; left: 1rem; font-size: 3rem; color: var(--primary); font-weight: 900; line-height: 1; }
.testimonial__content { font-size: 1.125rem; margin: 1.5rem 0; color: var(--text-secondary); }
.testimonial__name { font-weight: 600; }
.testimonial__school { font-size: 0.875rem; color: var(--text-muted); }





.footer { background: var(--gray-900); color: var(--white); padding: 2rem 0 1.5rem; }
.footer__content { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; align-items: start; }
.footer__logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer__logo-icon { 
  width: 32px; height: 32px; 
  background: transparent; 
  border-radius: 8px; 
  display: flex; align-items: center; justify-content: center;
  padding: 0;
}
.footer__logo-icon svg { width: 100%; height: 100%; display: block; }
.footer__logo span { font-size: 1.125rem; font-weight: 800; }
.footer__desc { color: #D1D5DB; line-height: 1.5; font-size: 0.875rem; }
.footer__group { }
.footer__title { font-weight: 700; margin-bottom: 1rem; font-size: 0.875rem; color: var(--white); text-transform: uppercase; letter-spacing: 0.5px; }
.footer__list { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__list a { color: #9CA3AF; text-decoration: none; transition: color 0.15s ease; font-size: 0.8rem; line-height: 1.4; }
.footer__list a:hover { color: var(--white); }
.footer__list li { display: flex; align-items: center; gap: 0.5rem; color: #9CA3AF; font-size: 0.8rem; line-height: 1.4; transition: color 0.15s ease; }
.footer__list li:hover { color: var(--white); }

.footer__contact-icon { width: 14px; height: 14px; display: flex; align-items: center; justify-content: center; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; border-top: 1px solid #374151; color: #9CA3AF; font-size: 0.8rem; }
.footer__social { display: flex; gap: 0.75rem; }
.footer__social a { width: 32px; height: 32px; background: #374151; border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: all 0.15s ease; font-size: 0.875rem; }
.footer__social a:hover { background: var(--primary); transform: translateY(-2px); }

.back-to-top { position: fixed; bottom: 2rem; right: 2rem; width: 48px; height: 48px; background: var(--gradient-primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 20px rgba(0,0,0,0.2); opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 100; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); }

@media (max-width: 1024px) {
  .hero__content, .about__content { grid-template-columns: 1fr; gap: 2rem; }
  .hero__visual { order: -1; }
  .about { height: auto; padding: 2rem 0; }
  .universities { height: auto; padding: 2rem 0; }
  .universities__grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; }
  .footer__content { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
  .footer__group { margin-bottom: 1.5rem; }
}
@media (max-width: 768px) {
  .container { padding: 0 1rem; }
  
  /* Mobile header logo size -> match hamburger background (40x40) */
  .nav__logo { width: 40px; height: 40px; }
  .nav__logo svg { width: 100%; height: 100%; }
  
  /* Navigation */
  .nav { 
    padding: 0.75rem 0; 
    min-height: 70px;
    align-items: center;
    justify-content: space-between;
  }
  .nav__menu { 
    position: absolute;
    top: 70px;
    right: 0.75rem;
    left: auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(229, 231, 235, 0.5);
    border-radius: 12px;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 999;
    display: inline-block;
    width: max-content;
    max-width: 90vw;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: left;
  }
  .nav__menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav__list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
  }
  .nav__item {
    width: 100%;
    border-bottom: 1px solid rgba(229, 231, 235, 0.3);
  }
  .nav__item:last-child { border-bottom: none; }
  .nav__link {
    display: block;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: left;
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
    white-space: nowrap;
  }
  .nav__link:hover {
    color: var(--primary);
    background: rgba(34, 197, 94, 0.05);
    border-left-color: var(--primary);
  }
  .nav__toggle { 
    display: flex; 
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.1);
    position: relative;
    margin-right: 0.5rem;
  }
  .nav__toggle span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: all 0.3s ease;
    transform-origin: center;
    margin: 0;
  }
  .nav__toggle span:nth-child(1) { top: 12px; }
  .nav__toggle span:nth-child(2) { top: 50%; transform: translate(-50%, -50%); }
  .nav__toggle span:nth-child(3) { bottom: 12px; }
  /* Hamburger to X animation */
  .nav__toggle.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .nav__toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .nav__toggle.active span:nth-child(3) {
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  .nav__download { display: none; }
  .nav__brand { 
    gap: 0.75rem; 
    flex: 1;
    justify-content: flex-start;
    margin-left: 0.5rem;
  }
  .nav__logo { width: 40px; height: 40px; }
  .nav__logo svg { width: 100%; height: 100%; }
  .nav__title { font-size: 1.3rem; font-weight: 700; }
  .nav__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-right: 0.5rem;
  }
  .nav__lang {
    background: transparent;
    color: var(--primary);
    border: none;
    padding: 0;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 700;
    min-width: auto;
    min-height: auto;
    cursor: pointer;
    transition: color 0.15s ease;
  }
  .nav__lang:hover { color: var(--secondary); transform: none; }
  
  /* Hero Section */
  .hero { 
    padding: 70px 0 2rem 0; 
    height: auto; 
    min-height: 100vh; 
    display: flex;
    flex-direction: column;
  }
  
  .hero__content { 
    grid-template-columns: 1fr; 
    gap: 2rem; 
    height: auto; 
    max-height: none; 
    padding: 1rem 0;
    align-items: stretch;
  }
  
  .hero__visual { 
    order: 1;
    margin-bottom: 1rem;
  }
  
  .hero__text {
    order: 2;
    text-align: center;
  }
  
  .hero__title { 
    font-size: 2.5rem; 
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .hero__subtitle { 
    font-size: 1.1rem; 
    margin-bottom: 1.5rem;
    max-width: none;
  }
  
  .hero__stats { 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 1rem;
    margin-bottom: 0;
  }
  
  .stat__number { font-size: 1.5rem; }
  .stat__label { font-size: 0.9rem; }
  
  .hero__actions { 
    flex-direction: column; 
    align-items: center; 
    gap: 1rem;
  }
  
  .hero__cta-section { 
    margin-top: 0; 
    padding-top: 0;
    order: 3;
  }
  
  .hero__download-buttons { 
    flex-direction: column; 
    gap: 0.75rem;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .download-btn { 
    min-width: auto; 
    width: 100%;
    padding: 1rem;
  }
  
  .hero__cta-title { font-size: 1.5rem; }
  .hero__cta-subtitle { font-size: 0.95rem; }
  
  .hero__slider { 
    width: 100%; 
    max-width: 480px; 
    aspect-ratio: 1; 
    height: auto;
    margin: 0 auto;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
  }
  
  .slides { height: auto; width: 100%; }
  
  .slide { 
    height: 100%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    flex-shrink: 0;
    overflow: hidden;
    box-sizing: border-box;
  }
  
  .slide-image { 
    height: 68%;
    max-height: none;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .slide img { 
    width: auto; 
    height: 100%; 
    max-width: 100%;
    object-fit: contain;
  }
  
  /* Make Q&A (5th slide) image fill slider on mobile */
  .slide:nth-child(5) .slide-image { height: 100%; margin-top: 0; }
  /* Keep text visible by overlaying on image for 5th slide */
  .slide:nth-child(5) .slide-content { 
    position: absolute;
    left: 50%;
    bottom: 3rem;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    z-index: 20;
    padding: 0.5rem 0.75rem;
    background: rgba(255,255,255,0.9);
    border-radius: 10px;
  }
  /* Scale image to 105% within masked slider - reduced to prevent overflow */
  .slide:nth-child(5) img { 
    transform: translateY(-2.5rem) scale(1.05);
    transform-origin: center center;
  }
  
  .slide-content { 
    position: static;
    transform: none;
    bottom: auto;
    left: auto;
    width: 100%;
    padding: 0;
    margin-top: -0.5rem;
  }
  
  .slide h3 { 
    font-size: 1.1rem; 
    height: auto;
    margin-bottom: 0.25rem;
  }
  
  .slide p { 
    font-size: 0.85rem;
    height: auto;
    line-height: 1.3;
  }
  
  .hero__dots { margin-top: 1rem; padding-bottom: 0.9rem; }
  
  /* Features Section */
  .features { padding: 3rem 0; }
  .features__grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 1.5rem;
  }
  .feature { 
    padding: 1.25rem;
    text-align: center;
  }
  .feature__title { font-size: 1.1rem; margin-bottom: 0.75rem; }
  .feature__desc { font-size: 0.85rem; line-height: 1.4; }
  .feature__icon { 
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
  }
  
  /* About Section */
  .about { height: auto; padding: 3rem 0; }
  .about__content { 
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .about__text { order: 1; }
  .about__image { 
    order: 2; 
    display: none;
  }
  .about__image img { max-height: 260px; }
  
  /* Universities Section */
  .universities { height: auto; padding: 3rem 0; }
  .universities .section__title { margin-top: 1rem; }
  .universities .section__header { margin-bottom: 1rem; }
  .universities__grid { 
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .university { 
    padding: 0.75rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  .university h3 { 
    font-size: 0.85rem; 
    text-align: center;
    line-height: 1.2;
  }

  
  /* Testimonials Section */
  .testimonials { padding: 3rem 0; }
  .testimonials__grid { 
    grid-template-columns: 1fr; 
    gap: 1.5rem;
  }
  .testimonial { 
    padding: 1.5rem;
    text-align: center;
  }
  .testimonial__content { font-size: 0.95rem; margin-bottom: 1rem; }
  .testimonial__author { font-size: 0.9rem; }
  .testimonial__school { font-size: 0.85rem; }
  
  /* General Typography */
  .section__title { font-size: 2rem; margin-bottom: 0.75rem; }
  .section__subtitle { 
    font-size: 1rem; 
    padding: 0 0.5rem; 
    word-break: break-word; 
    hyphens: auto; 
  }
  
  /* Buttons */
  .btn { 
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
    min-height: 44px;
  }
  .btn--large { 
    padding: 1rem 1.5rem; 
    font-size: 1rem;
    min-height: 48px;
  }
  
  /* Footer */
  .footer { padding: 1rem 0 0.75rem; }
  .footer__content { 
    grid-template-columns: repeat(2, 1fr); 
    text-align: left;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
  }
  .footer__brand { 
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 0.5rem;
  }
  .footer__logo { margin-bottom: 0.375rem; justify-content: center; }
  .footer__logo-icon { width: 24px; height: 24px; }
  .footer__logo span { font-size: 1rem; }
  .footer__desc { 
    font-size: 0.75rem; 
    margin-bottom: 0;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
    white-space: nowrap;
  }
  .footer__group { margin-bottom: 0.5rem; }
  .footer__group h4 { 
    font-size: 0.8rem; 
    margin-bottom: 0.375rem; 
  }
  .footer__list { gap: 0.125rem; }
  .footer__list a,
  .footer__list li { 
    font-size: 0.7rem; 
    padding: 0.125rem 0;
    line-height: 1.2;
  }
  .footer__bottom { 
    flex-direction: column; 
    gap: 0.5rem;
    text-align: center;
    font-size: 0.65rem;
    padding-top: 0.5rem;
    line-height: 1.2;
  }
  .footer__social { justify-content: center; }
  
  /* Back to Top */
  .back-to-top { 
    bottom: 1.5rem; 
    right: 1.5rem; 
    width: 44px; 
    height: 44px;
  }
}
@media (max-width: 480px) {
  .container { padding: 0 0.75rem; }
  
  /* Navigation */
  .nav { 
    padding: 0.5rem 0; 
    min-height: 60px;
    align-items: center;
    justify-content: space-between;
  }
  .nav__toggle { 
    width: 36px;
    height: 36px;
    padding: 6px;
  }
  .nav__toggle span {
    width: 18px;
    height: 2px;
  }
  .nav__toggle span:not(:last-child) {
    margin-bottom: 3px;
  }
  .nav__title { font-size: 1.25rem; font-weight: 700; }
  .nav__logo { width: 40px; height: 40px; padding: 0; }
  .nav__logo svg { width: 100%; height: 100%; }
  .nav__brand { gap: 0.5rem; flex: 1; }
  .nav__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .nav__lang {
    background: transparent;
    color: var(--primary);
    border: none;
    padding: 0;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 700;
    min-width: 0;
    min-height: 0;
    cursor: pointer;
    transition: color 0.15s ease;
  }
  .nav__lang:hover {
    color: var(--secondary);
    transform: none;
  }
  
  /* Hero Section */
  .hero { padding: 60px 0 1.5rem 0; }
  .hero__content { gap: 1.5rem; }
  
  .hero__title { 
    font-size: 2rem; 
    margin-bottom: 0.75rem;
  }
  .hero__subtitle { 
    font-size: 1rem; 
    margin-bottom: 1.25rem;
  }
  
  .hero__stats { 
    gap: 0.75rem;
    margin-bottom: 0.5rem;
  }
  .stat__number { font-size: 1.3rem; }
  .stat__label { font-size: 0.8rem; }
  
  .hero__cta-section { 
    margin-top: 0.5rem; 
    padding-top: 0.5rem;
  }
  .hero__cta-title { font-size: 1.3rem; }
  .hero__cta-subtitle { font-size: 0.9rem; }
  
  .hero__download-buttons { max-width: 260px; margin: 0 auto; }
  .download-btn { 
    padding: 0.875rem; 
    font-size: 0.9rem; 
  }

  /* Ensure Features section heading/subtitle fit on a single line on small phones */
  .features .section__title {
    font-size: 1.25rem;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.5rem;
  }
  .features .section__subtitle {
    font-size: 0.9rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    padding: 0 0.25rem;
    margin: 0 auto;
  }
  
  .hero__slider { 
    max-width: 380px;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.03);
  }
  
  .slide { 
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    flex-shrink: 0;
    overflow: hidden;
    box-sizing: border-box;
  }
  .slide img { height: 280px; }
  .slide:nth-child(3) img,
  .slide:nth-child(5) img { height: 280px; }
  .slide:nth-child(5) .slide-image { max-height: 420px; }
  .slide:nth-child(5) img { height: 360px; }
  .slide h3 { font-size: 1rem; margin-bottom: 0.125rem; }
  .slide p { font-size: 0.8rem; }
  .slide-content { margin-top: -0.5rem; flex: 0 0 auto; }
  
  /* Features Section */
  .features { padding: 2.5rem 0; }
  .features__grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 1rem; 
  }
  .feature { padding: 0.875rem; }
  .feature__title { font-size: 1rem; margin-bottom: 0.5rem; }
  .feature__desc { font-size: 0.8rem; line-height: 1.3; }
  .feature__icon { 
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
  }
  
  /* About Section */
  .about { padding: 2.5rem 0; }
  .about__content { gap: 1.5rem; }
  .about__image { display: none; }
  .about__image img { max-height: 220px; }
  
  /* Universities Section */
  .universities { padding: 2.5rem 0; }
  .universities__grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 0.5rem;
  }
  .university { 
    padding: 0.625rem;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  .university h3 { 
    font-size: 0.8rem; 
    text-align: center;
    line-height: 1.1;
  }

  
  /* Testimonials Section */
  .testimonials { padding: 2.5rem 0; }
  .testimonials__grid { gap: 1.25rem; }
  .testimonial { padding: 1.25rem; }
  .testimonial__content { font-size: 0.9rem; }
  .testimonial__author { font-size: 0.85rem; }
  .testimonial__school { font-size: 0.8rem; }
  
  /* Typography */
  .section__title { font-size: 1.75rem; }
  .section__subtitle { font-size: 0.95rem; }
  
  /* Buttons */
  .btn { 
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    min-height: 42px;
  }
  .btn--large { 
    padding: 0.875rem 1.25rem; 
    font-size: 0.95rem;
    min-height: 44px;
  }
  
  /* Footer */
  .footer { padding: 0.75rem 0 0.5rem; }
  .footer__content { 
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
    gap: 0.5rem;
    margin-bottom: 0.375rem;
  }
  .footer__brand { 
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 0.375rem;
  }
  .footer__logo { margin-bottom: 0.25rem; }
  .footer__logo-icon { width: 20px; height: 20px; }
  .footer__logo span { font-size: 0.9rem; }
  .footer__desc { 
    font-size: 0.65rem; 
    margin-bottom: 0;
    max-width: none;
    line-height: 1.2;
    white-space: nowrap;
  }
  .footer__group { margin-bottom: 0.25rem; }
  .footer__group h4 { 
    font-size: 0.75rem; 
    margin-bottom: 0.25rem;
  }
  .footer__list { gap: 0.0625rem; }
  .footer__list a,
  .footer__list li { 
    font-size: 0.65rem; 
    padding: 0.0625rem 0;
    line-height: 1.1;
  }
  .footer__bottom { 
    gap: 0.25rem;
    font-size: 0.6rem;
    padding-top: 0.375rem;
    line-height: 1.1;
  }
  
  /* Back to Top */
  .back-to-top { 
    bottom: 1rem; 
    right: 1rem; 
    width: 40px; 
    height: 40px;
  }
}

/* About Page Spacing Adjustments */
.mission-vision-section .container > div > div:first-child {
  margin-bottom: 2.5rem !important;
}

/* About Page Mobile Responsiveness */
@media (max-width: 768px) {
  /* About Hero Section */
  .about-hero {
    padding: 100px 0 60px !important;
  }
  .about-hero h1 {
    font-size: 2.25rem !important;
    margin-bottom: 1rem !important;
  }
  .about-hero p {
    font-size: 1rem !important;
    margin-bottom: 1.5rem !important;
  }
  .about-hero .stats-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
    margin-top: 2rem !important;
  }
  .about-hero .stat-item {
    text-align: center !important;
  }
  .about-hero .stat-number {
    font-size: 2rem !important;
  }

  /* Story Section */
  .story-section {
    padding: 60px 0 !important;
  }
  .story-grid {
    display: block !important;
    gap: 0 !important;
  }
  .story-content {
    margin-bottom: 2rem !important;
  }
  .story-card {
    margin-bottom: 2rem !important;
    padding: 1.5rem !important;
  }
  .story-section h2 {
    font-size: 2rem !important;
  }
  .story-section h3 {
    font-size: 1.25rem !important;
  }

  /* Mission & Vision */
  .mission-vision-section .section__header,
  .mission-vision-section > .container > div > div:first-child {
    margin-bottom: 2rem !important;
  }
  .mission-vision-grid {
    display: block !important;
    gap: 0 !important;
  }
  .mission-vision-card {
    margin-bottom: 2rem !important;
    padding: 2rem !important;
  }
  .mission-vision-section h2 {
    font-size: 2rem !important;
  }

  /* Values Section */
  .values-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .values-item {
    padding: 1.5rem !important;
  }
  .values-section h2 {
    font-size: 2rem !important;
  }

  /* Team Section */
  .team-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .team-card {
    padding: 1.5rem !important;
  }
  .team-section h2 {
    font-size: 2rem !important;
  }
}

@media (max-width: 480px) {
  /* About Hero Section - Small Mobile */
  .about-hero {
    padding: 80px 0 40px !important;
  }
  .about-hero h1 {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
  }
  .about-hero p {
    font-size: 0.95rem !important;
    padding: 0 0.5rem !important;
  }
  .about-hero .stats-grid {
    gap: 1rem !important;
    margin-top: 1.5rem !important;
  }
  .about-hero .stat-number {
    font-size: 1.75rem !important;
  }
  .about-hero .stat-label {
    font-size: 0.85rem !important;
  }

  /* Story Section - Small Mobile */
  .story-section {
    padding: 40px 0 !important;
  }
  .story-section h2 {
    font-size: 1.75rem !important;
  }
  .story-section h3 {
    font-size: 1.1rem !important;
  }
  .story-section p {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
  }
  .story-card {
    padding: 1.25rem !important;
  }

  /* Mission & Vision - Small Mobile */
  .mission-vision-section {
    padding: 40px 0 !important;
  }
  .mission-vision-card {
    padding: 1.5rem !important;
  }
  .mission-vision-section h2 {
    font-size: 1.75rem !important;
  }
  .mission-vision-section h3 {
    font-size: 1.25rem !important;
  }

  /* Values Section - Small Mobile */
  .values-section {
    padding: 40px 0 !important;
  }
  .values-item {
    padding: 1.25rem !important;
  }
  .values-section h2 {
    font-size: 1.75rem !important;
  }
  .values-section h3 {
    font-size: 1.1rem !important;
  }
  .values-icon {
    width: 48px !important;
    height: 48px !important;
  }

  /* Team Section - Small Mobile */
  .team-section {
    padding: 40px 0 !important;
  }
  .team-card {
    padding: 1.25rem !important;
  }
  .team-section h2 {
    font-size: 1.75rem !important;
  }
  .team-section h3 {
    font-size: 1rem !important;
  }
  .team-icon {
    width: 64px !important;
    height: 64px !important;
  }
}

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.scroll-animate { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.scroll-animate.in-view { opacity: 1; transform: translateY(0); }
/* Keep hero download buttons side-by-side when English is selected */
@media (max-width: 768px) {
  html[lang="en"] .hero__download-buttons {
    flex-direction: row;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }
  html[lang="en"] .hero__download-buttons .download-btn {
    width: auto;
    flex: 1 1 0;
    min-width: 160px;
  }
}
@media (max-width: 480px) {
  html[lang="en"] .hero__download-buttons {
    max-width: 320px;
  }
  html[lang="en"] .hero__download-buttons .download-btn {
    padding: 0.75rem;
    font-size: 0.85rem;
  }
}
/* Always keep hero download buttons side-by-side (all languages) */
@media (max-width: 768px) {
  .hero__download-buttons {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    gap: 0.75rem;
  }
  .hero__download-buttons .download-btn {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 0.875rem 0.5rem;
  }
}
@media (max-width: 480px) {
  .hero__download-buttons {
    max-width: 320px;
  }
  .hero__download-buttons .download-btn {
    padding: 0.75rem 0.4rem;
    font-size: 0.75rem;
    white-space: nowrap;
    min-width: 0;
  }
}
/* Desktop: keep hero download buttons side-by-side even with long EN labels */
@media (min-width: 769px) {
  .hero__download-buttons {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 1rem;
  }
  .hero__download-buttons .download-btn {
    flex: 0 0 auto;
    min-width: 0;
  }
  .hero__download-buttons .download-btn span {
    white-space: nowrap;
  }
}
