@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #2D1B69;
  --primary-light: #4A2D8A;
  --secondary: #FF6B35;
  --secondary-light: #FF8C5A;
  --accent: #F7C59F;
  --gold: #D4A84B;
  --dark: #1A0A3E;
  --text: #2D2D2D;
  --text-light: #6B6B6B;
  --bg: #FAFAFA;
  --white: #FFFFFF;
  --gradient-1: linear-gradient(135deg, #2D1B69 0%, #1A0A3E 100%);
  --gradient-2: linear-gradient(135deg, #FF6B35 0%, #F7C59F 100%);
  --gradient-3: linear-gradient(135deg, #2D1B69 0%, #4A2D8A 50%, #FF6B35 100%);
  --shadow: 0 10px 40px rgba(45, 27, 105, 0.1);
  --shadow-hover: 0 20px 60px rgba(45, 27, 105, 0.2);
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --radius: 20px;
  --radius-sm: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 35px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
  background: var(--secondary-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
}

.btn-secondary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 25px rgba(45, 27, 105, 0.3);
}

.btn-secondary:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(45, 27, 105, 0.4);
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-tag {
  display: inline-block;
  background: rgba(255, 107, 53, 0.1);
  color: var(--secondary);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.section-title {
  font-size: 42px;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 50px;
  text-align: center;
}

.text-center {
  text-align: center;
}

/* ===== ANIMATED BACKGROUNDS ===== */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.animated-bg .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: floatOrb 20s ease-in-out infinite;
}

.animated-bg .orb:nth-child(1) {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -200px;
  left: -200px;
  animation-delay: 0s;
}

.animated-bg .orb:nth-child(2) {
  width: 500px;
  height: 500px;
  background: var(--secondary);
  top: 50%;
  right: -150px;
  animation-delay: -5s;
}

.animated-bg .orb:nth-child(3) {
  width: 400px;
  height: 400px;
  background: var(--gold);
  bottom: -100px;
  left: 30%;
  animation-delay: -10s;
}

.animated-bg .orb:nth-child(4) {
  width: 300px;
  height: 300px;
  background: var(--primary-light);
  top: 30%;
  left: -100px;
  animation-delay: -15s;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(100px, -80px) scale(1.1); }
  50% { transform: translate(50px, 100px) scale(0.9); }
  75% { transform: translate(-80px, 50px) scale(1.05); }
}

/* ===== PARTICLES ===== */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.2;
  animation: particleFloat 15s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; animation-delay: -2s; animation-duration: 15s; width: 6px; height: 6px; }
.particle:nth-child(3) { left: 30%; animation-delay: -4s; animation-duration: 10s; }
.particle:nth-child(4) { left: 40%; animation-delay: -6s; animation-duration: 14s; width: 3px; height: 3px; }
.particle:nth-child(5) { left: 50%; animation-delay: -8s; animation-duration: 11s; }
.particle:nth-child(6) { left: 60%; animation-delay: -3s; animation-duration: 13s; width: 5px; height: 5px; background: var(--secondary); }
.particle:nth-child(7) { left: 70%; animation-delay: -7s; animation-duration: 16s; }
.particle:nth-child(8) { left: 80%; animation-delay: -5s; animation-duration: 12s; width: 4px; height: 4px; background: var(--gold); }
.particle:nth-child(9) { left: 90%; animation-delay: -9s; animation-duration: 14s; }
.particle:nth-child(10) { left: 15%; animation-delay: -1s; animation-duration: 9s; width: 3px; height: 3px; background: var(--secondary); }

@keyframes particleFloat {
  0% { bottom: -10px; opacity: 0; transform: translateX(0); }
  10% { opacity: 0.3; }
  90% { opacity: 0.3; }
  100% { bottom: 100%; opacity: 0; transform: translateX(50px); }
}

/* ===== FLOATING SHAPES ===== */
.floating-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  opacity: 0.06;
  animation: shapeFloat 25s ease-in-out infinite;
}

.shape:nth-child(1) {
  width: 100px;
  height: 100px;
  border: 3px solid var(--primary);
  border-radius: 50%;
  top: 15%;
  left: 5%;
  animation-delay: 0s;
}

.shape:nth-child(2) {
  width: 150px;
  height: 150px;
  border: 3px solid var(--secondary);
  border-radius: 30% 70% 70% 30%;
  top: 60%;
  right: 10%;
  animation-delay: -5s;
}

.shape:nth-child(3) {
  width: 80px;
  height: 80px;
  background: var(--primary);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  top: 30%;
  right: 20%;
  animation-delay: -10s;
}

.shape:nth-child(4) {
  width: 120px;
  height: 120px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  bottom: 20%;
  left: 15%;
  animation-delay: -15s;
}

.shape:nth-child(5) {
  width: 60px;
  height: 60px;
  background: var(--secondary);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  top: 70%;
  left: 5%;
  animation-delay: -8s;
}

@keyframes shapeFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -40px) rotate(120deg); }
  66% { transform: translate(-20px, 30px) rotate(240deg); }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
  padding: 12px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  transition: var(--transition);
}

.navbar.scrolled .logo {
  color: var(--primary);
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: var(--gradient-2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
}

.logo-text span {
  color: var(--secondary);
}

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

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  font-size: 15px;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
}

.navbar.scrolled .nav-links a {
  color: var(--text);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

.nav-links a.active {
  color: var(--secondary);
}

.nav-links .btn {
  padding: 10px 24px;
  font-size: 14px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 2.5px;
  background: var(--white);
  border-radius: 10px;
  transition: var(--transition);
}

.navbar.scrolled .hamburger span {
  background: var(--primary);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1588072432836-e10032774350?q=80&w=2072&auto=format&fit=crop') center/cover;
  opacity: 0.08;
  animation: heroBgZoom 30s ease-in-out infinite alternate;
}

@keyframes heroBgZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

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

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text .hero-tag {
  display: inline-block;
  background: rgba(255, 107, 53, 0.2);
  color: var(--secondary);
  padding: 8px 25px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 107, 53, 0.3);
}

.hero-text h1 {
  font-size: 56px;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-text h1 span {
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 35px;
  max-width: 540px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 30px 25px;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-5px);
}

.stat-card .stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--secondary);
  display: block;
}

.stat-card .stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 5px;
}

.stat-card .stat-icon {
  font-size: 30px;
  margin-bottom: 10px;
  display: block;
}

/* WAVE DIVIDER */
.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ===== FEATURES SECTION ===== */
.features {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(45, 27, 105, 0.05);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-2);
  transform: scaleX(0);
  transition: var(--transition);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(45, 27, 105, 0.08), rgba(255, 107, 53, 0.08));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
  color: var(--primary);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--gradient-1);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== ABOUT SECTION ===== */
.about {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?q=80&w=2022&auto=format&fit=crop') center/cover;
  opacity: 0.03;
  animation: heroBgZoom 25s ease-in-out infinite alternate;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(45, 27, 105, 0.3), rgba(255, 107, 53, 0.1));
}

.about-text h2 {
  font-size: 42px;
  color: var(--primary);
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 25px;
}

.about-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.about-item i {
  color: var(--secondary);
  font-size: 18px;
}

.about-item span {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

/* ===== SUBJECTS SECTION ===== */
.subjects {
  background: var(--white);
}

.subjects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.subject-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(45, 27, 105, 0.05);
  position: relative;
  overflow: hidden;
}

.subject-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-2);
}

.subject-card:nth-child(2)::before {
  background: var(--gradient-1);
}

.subject-card:nth-child(3)::before {
  background: linear-gradient(135deg, var(--gold), var(--secondary));
}

.subject-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.subject-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 35px;
  transition: var(--transition);
}

.subject-card:nth-child(1) .subject-icon {
  background: linear-gradient(135deg, rgba(45, 27, 105, 0.1), rgba(45, 27, 105, 0.2));
  color: var(--primary);
}

.subject-card:nth-child(2) .subject-icon {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.2));
  color: var(--secondary);
}

.subject-card:nth-child(3) .subject-icon {
  background: linear-gradient(135deg, rgba(212, 168, 75, 0.1), rgba(212, 168, 75, 0.2));
  color: var(--gold);
}

.subject-card:hover .subject-icon {
  transform: scale(1.15) rotate(10deg);
}

.subject-card h3 {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 12px;
}

.subject-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

.subject-features {
  list-style: none;
  margin-top: 20px;
  text-align: left;
}

.subject-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.subject-features li i {
  color: var(--secondary);
  font-size: 14px;
}

/* ===== SCHEDULE SECTION ===== */
.schedule {
  background: var(--bg);
}

.schedule-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.schedule-info h2 {
  font-size: 42px;
  color: var(--primary);
  margin-bottom: 20px;
}

.schedule-info > p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 30px;
}

.schedule-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.schedule-header {
  background: var(--gradient-1);
  color: var(--white);
  padding: 25px 30px;
  text-align: center;
}

.schedule-header h3 {
  font-size: 24px;
  margin-bottom: 5px;
}

.schedule-header p {
  font-size: 15px;
  opacity: 0.85;
}

.schedule-body {
  padding: 30px;
}

.schedule-day {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(45, 27, 105, 0.08);
}

.schedule-day:last-child {
  border-bottom: none;
}

.schedule-day .day {
  font-weight: 600;
  color: var(--primary);
  font-size: 16px;
}

.schedule-day .time {
  color: var(--secondary);
  font-weight: 500;
  font-size: 15px;
}

.schedule-note {
  margin-top: 20px;
  padding: 20px;
  background: rgba(255, 107, 53, 0.05);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--secondary);
}

.schedule-note p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

.schedule-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.schedule-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.schedule-image:hover img {
  transform: scale(1.05);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 35px 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(45, 27, 105, 0.05);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 16px;
  margin-bottom: 15px;
}

.testimonial-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author .avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author .name {
  font-weight: 600;
  color: var(--primary);
  font-size: 15px;
}

.testimonial-author .role {
  font-size: 13px;
  color: var(--text-light);
}

/* ===== CTA SECTION ===== */
.cta {
  padding: 100px 0;
  background: var(--gradient-3);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?q=80&w=2070&auto=format&fit=crop') center/cover;
  opacity: 0.06;
  animation: heroBgZoom 25s ease-in-out infinite alternate;
}

.cta .container {
  position: relative;
  z-index: 2;
}

.cta h2 {
  font-size: 42px;
  color: var(--white);
  margin-bottom: 15px;
}

.cta p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 35px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.whatsapp-btn {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
  background: #20BD5A;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 20px;
  font-size: 22px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.footer-brand .logo span {
  color: var(--secondary);
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.7;
  max-width: 350px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  font-size: 18px;
}

.footer-social a:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer h4 {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 25px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 15px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 15px;
  margin-bottom: 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact li i {
  color: var(--secondary);
  font-size: 18px;
  margin-top: 3px;
}

.footer-bottom {
  padding: 25px 0;
  text-align: center;
  font-size: 14px;
  opacity: 0.5;
}

/* ===== PAGE HERO (Inner Pages) ===== */
.page-hero {
  padding: 180px 0 100px;
  background: var(--gradient-1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1571260899304-425eee4c7efc?q=80&w=2070&auto=format&fit=crop') center/cover;
  opacity: 0.06;
  animation: heroBgZoom 30s ease-in-out infinite alternate;
}

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

.page-hero h1 {
  font-size: 52px;
  color: var(--white);
  margin-bottom: 15px;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  backdrop-filter: blur(10px);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--secondary);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.breadcrumb .current {
  color: var(--secondary);
}

/* ===== CONTACT PAGE ===== */
.contact-section {
  padding: 100px 0;
  background: var(--white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(45, 27, 105, 0.05);
  transition: var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.contact-card-icon {
  width: 55px;
  height: 55px;
  min-width: 55px;
  background: linear-gradient(135deg, rgba(45, 27, 105, 0.08), rgba(255, 107, 53, 0.08));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--primary);
}

.contact-card h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 5px;
}

.contact-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.contact-card a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
}

.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(45, 27, 105, 0.05);
}

.contact-form-wrapper h3 {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-form-wrapper p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(45, 27, 105, 0.08);
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  transition: var(--transition);
  background: var(--bg);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(45, 27, 105, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ===== ABOUT PAGE EXTRA ===== */
.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.mission-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(45, 27, 105, 0.05);
  transition: var(--transition);
}

.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.mission-card .icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.mission-card:nth-child(1) .icon {
  background: linear-gradient(135deg, rgba(45, 27, 105, 0.1), rgba(45, 27, 105, 0.2));
  color: var(--primary);
}

.mission-card:nth-child(2) .icon {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.2));
  color: var(--secondary);
}

.mission-card h3 {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 12px;
}

.mission-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.why-choose-item {
  text-align: center;
  padding: 35px 25px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(45, 27, 105, 0.05);
}

.why-choose-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.why-choose-item .num {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 10px;
}

.why-choose-item h4 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 8px;
  font-family: 'Poppins', sans-serif;
}

.why-choose-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== SUBJECTS PAGE EXTRA ===== */
.subjects-detailed {
  padding: 100px 0;
  background: var(--bg);
}

.subject-detailed-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
  transition: var(--transition);
}

.subject-detailed-card:hover {
  box-shadow: var(--shadow-hover);
}

.subject-detailed-card:nth-child(even) .subject-detailed-image {
  order: 2;
}

.subject-detailed-card:nth-child(even) .subject-detailed-text {
  order: 1;
}

.subject-detailed-image {
  height: 100%;
  min-height: 350px;
  overflow: hidden;
}

.subject-detailed-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.subject-detailed-card:hover .subject-detailed-image img {
  transform: scale(1.08);
}

.subject-detailed-text {
  padding: 40px;
}

.subject-detailed-text .subject-tag {
  display: inline-block;
  padding: 5px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 15px;
}

.subject-detailed-text .subject-tag.english {
  background: rgba(45, 27, 105, 0.1);
  color: var(--primary);
}

.subject-detailed-text .subject-tag.maths {
  background: rgba(255, 107, 53, 0.1);
  color: var(--secondary);
}

.subject-detailed-text .subject-tag.social {
  background: rgba(212, 168, 75, 0.15);
  color: var(--gold);
}

.subject-detailed-text h3 {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 12px;
}

.subject-detailed-text p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 15px;
}

.subject-detailed-text ul {
  list-style: none;
}

.subject-detailed-text ul li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.subject-detailed-text ul li i {
  color: var(--secondary);
}

/* ===== SCHEDULE PAGE EXTRA ===== */
.schedule-detailed {
  padding: 100px 0;
  background: var(--white);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 40px auto 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  border-radius: 10px;
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding: 15px 0;
  position: relative;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  align-self: flex-start;
  justify-content: flex-start;
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--secondary);
  border: 4px solid var(--white);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
  z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

.timeline-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 25px 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(45, 27, 105, 0.05);
  width: 90%;
  transition: var(--transition);
}

.timeline-content:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.timeline-content .day-label {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 5px;
}

.timeline-content .time-range {
  color: var(--secondary);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 10px;
}

.timeline-content .subjects-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.timeline-content .subjects-list span {
  padding: 4px 14px;
  background: rgba(45, 27, 105, 0.06);
  border-radius: 50px;
  font-size: 13px;
  color: var(--primary);
}

/* ===== 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(-40px);
  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(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p {
    margin: 0 auto 35px;
  }

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

  .hero-stats {
    max-width: 500px;
    margin: 40px auto 0;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-text {
    order: -1;
  }

  .schedule-content {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

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

  .features-grid,
  .subjects-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title {
    font-size: 36px;
  }

  .hero-text h1 {
    font-size: 44px;
  }

  .page-hero h1 {
    font-size: 42px;
  }

  .subject-detailed-card {
    grid-template-columns: 1fr;
  }

  .subject-detailed-card:nth-child(even) .subject-detailed-image {
    order: -1;
  }

  .subject-detailed-card:nth-child(even) .subject-detailed-text {
    order: 1;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 100px 40px 40px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    gap: 20px;
    align-items: flex-start;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    color: var(--text) !important;
    font-size: 18px;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .stat-card {
    padding: 20px 15px;
  }

  .stat-card .stat-number {
    font-size: 30px;
  }

  .section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 30px;
  }

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

  .why-choose-grid,
  .mission-vision,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 150px 0 70px;
  }

  .page-hero h1 {
    font-size: 34px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .cta h2 {
    font-size: 32px;
  }

  .schedule-header h3 {
    font-size: 20px;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 60px;
  }

  .timeline-dot {
    left: 20px !important;
    right: auto !important;
  }

  .timeline-content {
    width: 100%;
  }

  .subject-detailed-text {
    padding: 30px 25px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 30px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .section-title {
    font-size: 26px;
  }

  .contact-form-wrapper {
    padding: 25px 20px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}
