/* ==================== CSS Variables ==================== */
:root {
  --primary: #1a365d;
  --primary-light: #2a4a7f;
  --primary-dark: #0f2440;
  --accent: #e67e22;
  --accent-light: #f39c12;
  --accent-dark: #d35400;
  --text-dark: #2c3e50;
  --text-light: #6c757d;
  --text-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border: #e9ecef;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== Reset & Base ==================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family:
    "Noto Sans SC",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--bg-white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ==================== Navigation ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.cta-btn {
  background: var(--accent);
  color: var(--text-white);
  padding: 10px 24px;
  border-radius: 25px;
  font-weight: 600;
  transition: var(--transition);
}

.cta-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ==================== Hero Section ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-particles::before,
.hero-particles::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(230, 126, 34, 0.1);
  animation: float 20s infinite ease-in-out;
}

.hero-particles::before {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 10%;
}

.hero-particles::after {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: 15%;
  animation-delay: -10s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(30px, -30px) scale(1.1);
  }
  50% {
    transform: translate(-20px, 20px) scale(0.9);
  }
  75% {
    transform: translate(15px, 15px) scale(1.05);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--text-white);
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.title-line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.8s ease forwards;
}

.title-line:nth-child(2) {
  animation-delay: 0.3s;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0.9;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeIn 1s ease 0.6s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 0.9;
  }
}

.hero-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  opacity: 0;
  animation: fadeIn 1s ease 0.8s forwards;
}

.btn {
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: var(--text-white);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(230, 126, 34, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-white);
  transform: translateY(-3px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  opacity: 0;
  animation: fadeIn 1s ease 1s forwards;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--accent-light);
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 5px;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--text-white);
  opacity: 0.7;
  animation: bounce 2s infinite;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 13px;
  margin: 0 auto 8px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--text-white);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.scroll-indicator span {
  font-size: 0.75rem;
}

/* ==================== Section Common ==================== */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--text-white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.section-title {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--primary);
  margin-bottom: 15px;
}

.section-desc {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ==================== About Section ==================== */
.about {
  background: var(--bg-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.image-frame img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: var(--transition);
}

.image-frame:hover img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 54, 93, 0.3), transparent);
  pointer-events: none;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: var(--text-white);
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.badge-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
}

.badge-text {
  font-size: 0.85rem;
}

.about-text h3 {
  font-family: "Noto Serif SC", serif;
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.about-text > p {
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.8;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-white);
}

.feature-content h4 {
  color: var(--primary);
  margin-bottom: 5px;
}

.feature-content p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ==================== Culture Section ==================== */
.culture {
  background: var(--primary);
  color: var(--text-white);
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.culture-card {
  text-align: center;
  padding: 40px 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.culture-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--text-white);
}

.culture-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.culture-card p {
  opacity: 0.85;
  line-height: 1.7;
}

/* ==================== Courses Section ==================== */
.courses {
  background: var(--bg-light);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.course-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
}

.image-placeholder svg {
  width: 48px;
  height: 48px;
  stroke-width: 1.5;
}

.gradient-1 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.gradient-2 {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}
.gradient-3 {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}
.gradient-4 {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent);
  color: var(--text-white);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
}

.card-content {
  padding: 20px;
}

.category {
  display: inline-block;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.card-content h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.card-content > p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.card-meta svg {
  vertical-align: middle;
  margin-right: 4px;
}

.btn-card {
  width: 100%;
  padding: 10px;
  background: var(--primary);
  color: var(--text-white);
  border-radius: 8px;
  font-weight: 500;
  transition: var(--transition);
}

.btn-card:hover {
  background: var(--primary-light);
}

/* ==================== Teachers Section ==================== */
.teachers {
  background: var(--bg-white);
}

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.teacher-card {
  text-align: center;
  padding: 40px 30px;
  background: var(--bg-light);
  border-radius: var(--radius);
  transition: var(--transition);
}

.teacher-card:hover {
  background: var(--bg-white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.teacher-avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
}

.avatar-1 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.avatar-2 {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}
.avatar-3 {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.teacher-avatar svg {
  width: 48px;
  height: 48px;
}

.teacher-card h3 {
  color: var(--primary);
  margin-bottom: 8px;
}

.teacher-title {
  display: block;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.teacher-card > p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.teacher-tags {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.teacher-tags span {
  background: var(--primary);
  color: var(--text-white);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.75rem;
}

/* ==================== Testimonials Section ==================== */
.testimonials {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: var(--text-white);
}

.testimonials .section-tag {
  background: var(--accent);
}

.testimonials .section-title {
  color: var(--text-white);
}

.testimonials .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 30px;
  transition: var(--transition);
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.stars {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
}

.stars svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-light);
}

.testimonial-text {
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 25px;
  opacity: 0.9;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-avatar svg {
  width: 24px;
  height: 24px;
  fill: var(--text-white);
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.author-info span {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ==================== Contact Section ==================== */
.contact {
  background: var(--bg-light);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-family: "Noto Serif SC", serif;
  font-size: 2rem;
  color: var(--primary);
  margin: 15px 0;
}

.contact-desc {
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-white);
}

.contact-text h4 {
  color: var(--primary);
  margin-bottom: 5px;
}

.contact-text p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-text a {
  color: var(--accent);
}

.contact-text a:hover {
  text-decoration: underline;
}

.qr-codes {
  display: flex;
  gap: 15px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.qr-code-item {
  text-align: center;
}

.qr-code-item img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 8px;
  border: 2px solid var(--border);
  background: var(--bg-white);
}

.qr-code-item span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 6px;
}

.contact-form {
  background: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 25px;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-white);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  font-size: 1.1rem;
}

/* ==================== Footer ==================== */
.footer {
  background: var(--primary-dark);
  color: var(--text-white);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-logo img {
  height: 35px;
}

.footer-desc {
  opacity: 0.8;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contacts a {
  opacity: 0.8;
}

.footer-contacts a:hover {
  opacity: 1;
  color: var(--accent-light);
}

.footer-contacts span {
  opacity: 0.8;
  font-size: 0.9rem;
}

.footer-links h4 {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  opacity: 0.7;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.6;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--accent-light);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
  opacity: 1;
}

/* ==================== Back to Top ==================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent-dark);
  transform: translateY(-5px);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  stroke-width: 3;
}

/* ==================== Animations ==================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    order: -1;
  }

  .experience-badge {
    right: 20px;
  }

  .culture-grid {
    grid-template-columns: 1fr;
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }

  .teachers-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 250px;
  }

  .contact-form {
    padding: 25px;
  }
}
