:root {
  --color-white: rgba(255, 255, 255, 1);
  --color-black: rgba(0, 0, 0, 1);
  --color-cream-50: rgba(252, 252, 249, 1);
  --color-cream-100: rgba(255, 255, 253, 1);
  --color-gray-200: rgba(245, 245, 245, 1);
  --color-gray-300: rgba(167, 169, 169, 1);
  --color-gray-400: rgba(119, 124, 124, 1);
  --color-slate-500: rgba(98, 108, 113, 1);
  --color-brown-600: rgba(94, 82, 64, 1);
  --color-charcoal-700: rgba(31, 33, 33, 1);
  --color-charcoal-800: rgba(38, 40, 40, 1);
  --color-slate-900: rgba(19, 52, 59, 1);
  --color-teal-300: rgba(50, 184, 198, 1);
  --color-teal-400: rgba(45, 166, 178, 1);
  --color-teal-500: rgba(33, 128, 141, 1);
  --color-teal-600: rgba(29, 116, 128, 1);
  --color-teal-700: rgba(26, 104, 115, 1);
  --color-teal-800: rgba(41, 150, 161, 1);
  --color-red-400: rgba(255, 84, 89, 1);
  --color-red-500: rgba(192, 21, 47, 1);
  --color-orange-400: rgba(230, 129, 97, 1);
  --color-orange-500: rgba(168, 75, 47, 1);
  --color-whatsapp: #25D366;
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;
  --color-slate-500-rgb: 98, 108, 113;
  --color-red-500-rgb: 192, 21, 47;
  --color-red-400-rgb: 255, 84, 89;
  --color-orange-500-rgb: 168, 75, 47;
  --color-orange-400-rgb: 230, 129, 97;
  --color-bg-1: rgba(59, 130, 246, 0.08);
  --color-bg-2: rgba(245, 158, 11, 0.08);
  --color-bg-3: rgba(34, 197, 94, 0.08);
  --color-bg-4: rgba(239, 68, 68, 0.08);
  --color-bg-5: rgba(147, 51, 234, 0.08);
  --color-bg-6: rgba(249, 115, 22, 0.08);
  --color-bg-7: rgba(236, 72, 153, 0.08);
  --color-bg-8: rgba(6, 182, 212, 0.08);
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);
  --color-select-caret: rgba(var(--color-slate-900-rgb), 0.8);
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --font-family-base: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-base: 14px;
  --font-size-md: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-2xl: 20px;
  --font-size-3xl: 24px;
  --font-size-4xl: 30px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 550;
  --font-weight-bold: 600;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --letter-spacing-tight: -0.01em;
  --space-0: 0;
  --space-1: 1px;
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);
  
  --primary-navy: #1a237e;
  --accent-gold: #ff8c00;
  --primary-light: #283593;
  --accent-light: #ffa726;
}

@keyframes sectionGlow {
  0% {
    box-shadow: 0 0 0 rgba(255, 140, 0, 0);
    background-color: var(--color-background);
  }
  10% {
    box-shadow: 0 0 30px rgba(255, 140, 0, 0.4), 0 0 60px rgba(255, 140, 0, 0.2), inset 0 0 40px rgba(255, 140, 0, 0.1);
    background-color: rgba(255, 140, 0, 0.05);
  }
  90% {
    box-shadow: 0 0 30px rgba(255, 140, 0, 0.4), 0 0 60px rgba(255, 140, 0, 0.2), inset 0 0 40px rgba(255, 140, 0, 0.1);
    background-color: rgba(255, 140, 0, 0.05);
  }
  100% {
    box-shadow: 0 0 0 rgba(255, 140, 0, 0);
    background-color: var(--color-background);
  }
}

.section-highlight {
  animation: sectionGlow 2.5s ease-in-out;
  border-radius: var(--radius-lg);
  padding: 5rem 2rem;
  transition: all 0.3s ease;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-background: var(--color-charcoal-700);
    --color-surface: var(--color-charcoal-800);
    --color-text: var(--color-gray-200);
    --color-text-secondary: rgba(167, 169, 169, 0.7);
  }
}

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

html {
  font-family: var(--font-family-base);
}

body {
  font-family: var(--font-family-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-background);
  overflow-x: hidden;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

@media (prefers-color-scheme: dark) {
  .header {
    background: rgba(31, 33, 33, 0.98);
  }
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-navy);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-right: auto;
}

@media (prefers-color-scheme: dark) {
  .logo {
    color: var(--color-teal-300);
  }
}

.logo-icon {
  font-size: 2rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  margin-right: 3rem;
}

.nav-menu a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-menu a:hover {
  color: var(--primary-navy);
}

@media (prefers-color-scheme: dark) {
  .nav-menu a:hover {
    color: var(--color-teal-300);
  }
}

.header-buttons {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}

.btn {
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  border: none;
  font-size: 0.9rem;
}

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

.btn-outline:hover {
  background: var(--primary-navy);
  color: white;
}

@media (prefers-color-scheme: dark) {
  .btn-outline {
    color: var(--color-teal-300);
    border-color: var(--color-teal-300);
  }
  .btn-outline:hover {
    background: var(--color-teal-300);
    color: var(--color-slate-900);
  }
}

.btn-primary {
  background: var(--accent-gold);
  color: white;
  border: 2px solid var(--accent-gold);
}

.btn-primary:hover {
  background: #e67e00;
  border-color: #e67e00;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  flex-shrink: 0;
  margin-left: 0.8rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--color-text);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-light) 100%);
  color: white;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

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

.hero-stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  display: block;
}

.hero-stat-label {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-top: 0.3rem;
}

.btn-hero {
  padding: 1rem 3rem;
  font-size: 1.1rem;
  background: var(--accent-gold);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-hero:hover {
  background: #e67e00;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 140, 0, 0.4);
}

.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  scroll-margin-top: 100px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-navy);
}

@media (prefers-color-scheme: dark) {
  .section-title {
    color: var(--color-teal-300);
  }
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 1024px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }
}

#facultyGrid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

#facultyGrid .faculty-card {
  flex: 0 1 calc(33.333% - 2rem);
  min-width: 300px;
}

#facultyGrid .faculty-card:nth-child(n+4) {
  flex: 0 1 calc(33.333% - 2rem);
  max-width: 350px;
}

.course-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 2px solid var(--color-card-border);
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-navy), var(--accent-gold));
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.course-level {
  display: inline-block;
  background: var(--accent-gold);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.course-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--primary-navy);
}

@media (prefers-color-scheme: dark) {
  .course-card h3 {
    color: var(--color-teal-300);
  }
}

.course-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.course-description {
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.course-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin: 1.5rem 0;
}

.course-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.course-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.course-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: 700;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--color-card-border);
}

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

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--primary-navy);
}

@media (prefers-color-scheme: dark) {
  .feature-card h3 {
    color: var(--color-teal-300);
  }
}

.feature-card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.community-section {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-light) 100%);
  color: white;
  text-align: center;
  padding: 5rem 2rem;
}

.community-section .section-title {
  color: white;
}

.community-section .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.community-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.community-stat {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

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

.community-stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  display: block;
  margin-bottom: 0.5rem;
}

.community-stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.social-link {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
  font-weight: 500;
}

.social-link:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.event-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--color-card-border);
}

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

.event-header {
  background: linear-gradient(135deg, var(--primary-navy), var(--primary-light));
  color: white;
  padding: 1.5rem;
  text-align: center;
}

.event-date {
  font-size: 2rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.3rem;
}

.event-type {
  display: inline-block;
  background: var(--accent-gold);
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
}

.event-body {
  padding: 1.5rem;
}

.event-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--primary-navy);
}

@media (prefers-color-scheme: dark) {
  .event-card h3 {
    color: var(--color-teal-300);
  }
}

.event-location {
  color: var(--color-text-secondary);
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.event-description {
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.event-attendees {
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 1.1rem;
}

.testimonials-carousel {
  max-width: 800px;
  margin: 3rem auto 0;
  position: relative;
}

.testimonial-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.testimonial-slide.active {
  display: block;
  opacity: 1;
}

.testimonial-card {
  background: var(--color-surface);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--color-card-border);
  position: relative;
  min-height: 350px;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-navy), var(--accent-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  flex-shrink: 0;
}

.testimonial-info {
  flex: 1;
}

.video-badge {
  display: inline-block;
  background: var(--accent-gold);
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 0.5rem;
}

.testimonial-card::before {
  content: '\"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--accent-gold);
  opacity: 0.2;
  font-family: Georgia, serif;
}

.testimonial-text {
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-style: italic;
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

@media (prefers-color-scheme: dark) {
  .testimonial-author {
    color: var(--color-teal-300);
  }
}

.testimonial-rating {
  color: var(--accent-gold);
  font-size: 1.3rem;
  margin-top: 0.5rem;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.carousel-btn {
  background: var(--primary-navy);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.carousel-btn:hover {
  background: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.carousel-btn:active {
  transform: translateY(0);
}

.carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (prefers-color-scheme: dark) {
  .carousel-btn {
    background: var(--color-teal-300);
    color: var(--color-slate-900);
  }
  .carousel-btn:hover {
    background: var(--accent-gold);
  }
}

.play-pause-btn {
  background: var(--accent-gold);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.play-pause-btn:hover {
  background: #e67e00;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.carousel-indicator {
  color: var(--color-text-secondary);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  background: var(--color-secondary);
  border-radius: var(--radius-full);
}

.about-section {
  background: var(--color-bg-1);
  padding: 5rem 2rem;
}

.faculty-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 2px solid var(--color-card-border);
  text-align: center;
}

.faculty-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.faculty-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-navy), var(--accent-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
  margin: 0 auto 1rem;
}

.faculty-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-navy);
  padding: 0.5rem;
  border-radius: var(--radius-base);
  transition: all 0.3s ease;
}

.faculty-card h3:hover {
  background: linear-gradient(135deg, var(--accent-gold), #e67e00);
  color: white;
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
  transform: scale(1.05);
}

@media (prefers-color-scheme: dark) {
  .faculty-card h3 {
    color: var(--color-teal-300);
  }
  
  .faculty-card h3:hover {
    background: linear-gradient(135deg, var(--accent-gold), #e67e00);
    color: white;
  }
}

.faculty-qualification {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.faculty-specialization {
  display: inline-block;
  background: var(--accent-gold);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0.8rem 0;
}

.faculty-experience {
  color: var(--primary-navy);
  font-weight: 600;
  font-size: 1rem;
  margin: 0.5rem 0;
}

@media (prefers-color-scheme: dark) {
  .faculty-experience {
    color: var(--color-teal-300);
  }
}

.faculty-bio {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 1rem;
}

.faculty-social {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.faculty-social a {
  width: 35px;
  height: 35px;
  background: var(--color-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.faculty-social a:hover {
  background: var(--accent-gold);
  transform: translateY(-2px);
}

.instructor-content {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
}

.instructor-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-navy), var(--accent-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  color: white;
}

.instructor-info h3 {
  font-size: 2rem;
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

@media (prefers-color-scheme: dark) {
  .instructor-info h3 {
    color: var(--color-teal-300);
  }
}

.instructor-info p {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.instructor-credentials {
  list-style: none;
  margin-top: 1.5rem;
}

.instructor-credentials li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-text);
}

.instructor-credentials li::before {
  content: '⭐';
  position: absolute;
  left: 0;
}

.footer {
  background: var(--primary-navy);
  color: white;
  padding: 4rem 2rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--accent-gold);
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-gold);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--accent-gold);
  transform: translateY(-3px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-navy);
  background: transparent;
  color: var(--primary-navy);
  font-size: 0.9rem;
}

.filter-btn.active {
  background: var(--primary-navy);
  color: white;
}

.filter-btn:hover {
  background: var(--primary-navy);
  color: white;
}

@media (prefers-color-scheme: dark) {
  .filter-btn {
    border-color: var(--color-teal-300);
    color: var(--color-teal-300);
  }
  .filter-btn.active,
  .filter-btn:hover {
    background: var(--color-teal-300);
    color: var(--color-slate-900);
  }
}

.gallery-item {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--color-card-border);
  cursor: pointer;
  position: relative;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.gallery-thumbnail {
    background-color: #000;
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-navy), var(--accent-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
  position: relative;
}

.media-type-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
}

.gallery-info {
  padding: 1.5rem;
}

.gallery-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-navy);
}

@media (prefers-color-scheme: dark) {
  .gallery-item h3 {
    color: var(--color-teal-300);
  }
}

.gallery-description {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.award-card {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-card-border);
  transition: all 0.3s ease;
}

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

.award-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.award-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-navy);
}

@media (prefers-color-scheme: dark) {
  .award-card h3 {
    color: var(--color-teal-300);
  }
}

.award-year {
  display: inline-block;
  background: var(--accent-gold);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.award-issuer {
  color: var(--color-text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.award-description {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 3rem auto 0;
}

.social-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

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

.social-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.social-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: white;
}

.social-followers {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-top: 0.5rem;
}

.testimonial-result {
  background: var(--accent-gold);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-block;
  margin-top: 0.5rem;
}

.testimonial-level {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--accent-gold);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-top-btn:hover {
  background: #e67e00;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem;
  border: none;
  border-radius: var(--radius-base);
  font-size: 0.9rem;
}

.newsletter-form button {
  padding: 0.8rem 1.5rem;
  background: var(--accent-gold);
  color: white;
  border: none;
  border-radius: var(--radius-base);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: #e67e00;
}

.contact-section {
  background: var(--color-bg-1);
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-info-block,
.social-media-block,
.contact-form-block {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-md);
}

.contact-info-block h3,
.social-media-block h3,
.contact-form-block h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-navy);
}

@media (prefers-color-scheme: dark) {
  .contact-info-block h3,
  .social-media-block h3,
  .contact-form-block h3 {
    color: var(--color-teal-300);
  }
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}



.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.contact-details strong {
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.95rem;
}

.contact-details a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--accent-gold);
  text-decoration: underline;
}

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

.social-links-grid {
  display: grid;
  gap: 1rem;
}

.social-link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--color-secondary);
  border-radius: var(--radius-base);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--color-border);
}

.social-link-card:hover {
  transform: translateX(5px);
  border-color: transparent;
}

.social-link-card[href*="instagram"]:hover {
  background: #E4405F;
}

.social-link-card[href*="facebook"]:hover {
  background: #1877F2;
}

.social-link-card[href*="linkedin"]:hover {
  background: #0A66C2;
}

.social-link-card[href*="youtube"]:hover {
  background: #FF0000;
}

.social-link-card:hover .social-logo {
  color: white;
}

.social-link-card:hover .social-handle {
  color: white;
}

.social-logo {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.social-link-card[href*="instagram"] .social-logo {
  color: #E4405F;
}

.social-link-card[href*="facebook"] .social-logo {
  color: #1877F2;
}

.social-link-card[href*="linkedin"] .social-logo {
  color: #0A66C2;
}

.social-link-card[href*="youtube"] .social-logo {
  color: #FF0000;
}

.social-handle {
  font-weight: 500;
  color: var(--color-text);
  transition: color 0.3s ease;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-group {
  margin-bottom: 1rem;
}

.footer-two-column {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column h4 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--accent-gold);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 0.5rem;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-info p {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 1rem;
}

.footer-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.footer-contact-info a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-info a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.footer-social-bottom {
  display: flex;
  gap: 1rem;
}

.footer-social-bottom a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social-bottom a[href*="instagram"]:hover {
  background: #E4405F;
  transform: translateY(-3px);
}

.footer-social-bottom a[href*="facebook"]:hover {
  background: #1877F2;
  transform: translateY(-3px);
}

.footer-social-bottom a[href*="linkedin"]:hover {
  background: #0A66C2;
  transform: translateY(-3px);
}

.footer-social-bottom a[href*="youtube"]:hover {
  background: #FF0000;
  transform: translateY(-3px);
}

.footer-social-bottom svg {
  width: 20px;
  height: 20px;
  color: white;
}

@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .footer-two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.payment-logos {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.payment-logo {
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-base);
  font-weight: 600;
  color: var(--primary-navy);
  font-size: 0.85rem;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--color-text-secondary);
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--color-error);
}

.modal-header h2 {
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

@media (prefers-color-scheme: dark) {
  .modal-header h2 {
    color: var(--color-teal-300);
  }
}

.modal-body {
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background: var(--color-surface);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    align-items: flex-start;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .header-buttons {
    display: flex;
    margin-left: auto;
  }

  .header-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .header-container {
    padding: 0.8rem 1rem;
    gap: 0.8rem;
  }

  .logo {
    font-size: 1.4rem;
    margin-right: auto;
  }

  .logo-icon {
    font-size: 1.5rem;
  }

  .hamburger {
    margin-left: 0.8rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .hero-stat-value {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

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

  .instructor-image {
    max-width: 300px;
    margin: 0 auto;
  }

  .scroll-top-btn {
    bottom: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
  }

  .modal-content {
    padding: 1.5rem;
    max-width: 95%;
  }

  .modal {
    padding: 1rem;
  }
}

/* === Contact form alignment override (Name, Email, Message same alignment) === */
.contact-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form .form-group {
  margin-bottom: 1rem;
}

.contact-form .form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.contact-form .form-control {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid #ccc;
  border-radius: 0.75rem;
  font-size: 1rem;
  box-sizing: border-box;
}

.contact-form button {
  width: 100%;
  padding: 0.9rem;
  border-radius: 0.75rem;
  font-size: 1rem;
}


/* LOGO */
.logo-img {
  height: 48px;
  border-radius: 14px;
}

/* ABOUT US LOGO */
.about-logo {
  width: 260px;
  display: block;
  margin: 0 auto;
  border-radius: 20px;
}

/* FACULTY IMAGES */
.faculty-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .logo-img { height: 42px; }
  .about-logo { width: 220px; }
}

/* ================= FACULTY IMAGE FINAL FIX ================= */
.faculty-photo {
  width: 160px;
  height: 160px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-navy), var(--accent-gold));
  display: flex;
  align-items: center;
  justify-content: center;
}

.faculty-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

/* ================= MOBILE OPTIMIZATION ================= */
@media (max-width: 768px) {
  .faculty-photo {
    width: 140px;
    height: 140px;
  }

  .faculty-photo img {
    object-position: center 30%;
  }

  #facultyGrid {
    flex-direction: column;
    align-items: center;
  }

  .faculty-card {
    width: 100%;
    max-width: 320px;
  }
}

.gallery-modal-image {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #000;
}

.gallery-modal-image img {
    display: block;
    margin: auto;
    background: #000;
}

/* FINAL FIX: remove background image repetition in modal */
.modal-body {
    background-image: none !important;
    background: transparent !important;
}

.modal-content {
    background-image: none !important;
}
