html {
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
:root {
  --nav-bg: #ffffff;
  --nav-text: #0f172a;
  --dropdown-bg: #ffffff;
  --dropdown-text: #0f172a;
  --dropdown-hover: rgba(0, 0, 0, 0.06);
  --border-color: rgba(0, 0, 0, 0.1);
}

/* DARK MODE */
body.dark {
  --nav-bg: #0b1220;
  --nav-text: #ffffff;
  --dropdown-bg: #0f172a;
  --dropdown-text: #ffffff;
  --dropdown-hover: rgba(255, 255, 255, 0.08);
  --border-color: rgba(255, 255, 255, 0.1);
}

body {
  background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

.premium-header {
  min-height: 78px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  position: sticky;
  top: 0;
  will-change: transform;
  z-index: 100;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-left img {
  height: 42px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.nav-left img:hover {
  transform: scale(1.05);
}

.brand-text {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  transition: color 0.3s ease;
}

.brand-text span {
  color: #7b3ff2;
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #444;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
}

.nav-link i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #1f4ed8;
  transform: translateX(-50%);
  transition: width 0.28s ease;
}

.nav-link:hover {
  color: #1f4ed8;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: #1f4ed8;
}

.dropdown {
  position: relative;
}

.dropdown:hover .nav-link i {
  transform: rotate(180deg);
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 160px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  border-radius: 8px;
  padding: 8px 0;
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content a {
  display: block;
  padding: 10px 20px;
  color: #444;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.dropdown-content a:hover {
  background: #f4f7ff;
  color: #1f4ed8;
  padding-left: 24px;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-outline {
  padding: 8px 18px;
  border-radius: 22px;
  border: 1.5px solid #c9b8ff;
  background: transparent;
  color: #7b3ff2;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.btn-outline:hover {
  background: #f4f0ff;
  transform: translateY(-1px);
}


#themeToggle {
  font-size: 18px;
  color: #777;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
}

#themeToggle:hover {
  color: #1f4ed8;
  transform: rotate(20deg);
}

/* ================= HAMBURGER MENU ================= */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background: #444;
  border-radius: 2px;
  transition: all 0.3s ease;
}

body.dark .hamburger span {
  background: #e5e7eb;
}

/* Active animation */
.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}
@media (max-width: 768px) {

  .hamburger {
    display: flex;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 12px;
  }

  .nav.active {
    display: flex;
  }
  .nav-right {
  position: relative;
  z-index: 200;
}


  /* .dropdown-content {
    position: static;
    box-shadow: none;
    margin-top: 0;
    padding-left: 12px;
  } */

  .dropdown.active .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}
/* ===== USER AVATAR ===== */
.user-avatar {
  position: relative;          /* Needed for dropdown positioning */
  display: flex;
  align-items: center;
  cursor: pointer;
}

/* Avatar image */
#avatar-icon {
  width: 40px;                 /* FIX SIZE */
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
/* ===== AVATAR DROPDOWN (THEME AWARE) ===== */
.avatar-dropdown {
  position: absolute;
  top: 110%;
  right: 0;
  min-width: 140px;
  background: var(--dropdown-bg);
  color: var(--dropdown-text);
  border-radius: 8px;
  padding: 6px 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  z-index: 999;
}

.avatar-dropdown .dropdown-item {
  padding: 10px 16px;
  color: var(--dropdown-text);
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

.avatar-dropdown .dropdown-item:hover {
  background: var(--dropdown-hover);
}



.hero {
  padding: 70px 56px;
  background: linear-gradient(135deg, #f9f7ff, #ffffff);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  transition: background 0.3s ease;
}

.hero-badge {
  display: inline-block;
  background: #efe7ff;
  color: #7b3ff2;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.hero h1 {
  font-size: 54px;
  line-height: 1.1;
  margin: 18px 0;
  color: #111;
  transition: color 0.3s ease;
}

.hero h1 span {
  background: linear-gradient(90deg, #f59e0b, #7b3ff2, #db2777);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 520px;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-primary {
  background: linear-gradient(135deg, #7b3ff2, #9f6bff);
  color: #fff;
  border: none;
  padding: 14px 30px;
  border-radius: 28px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-size: 15px;
}

.hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(123, 63, 242, 0.4);
}

.hero-secondary {
  background: #fff;
  border: 1px solid #ddd;
  padding: 14px 26px;
  border-radius: 28px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 15px;
  color: #444;
}

.hero-secondary:hover {
  background: #f4f7ff;
  border-color: #7b3ff2;
}

.hero-image {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  transform: rotate(2deg);
  will-change: transform;
  box-shadow: 0 30px 60px rgba(123, 63, 242, 0.25);
  transition: transform 0.5s ease;
}

.hero-image:hover {
  transform: rotate(0deg);
}

.hero-image img {
  width: 100%;
  display: block;
}

.hero-float {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  color: #111;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.stats {
  min-height: calc(100vh - 78px);
  text-align: center;
  padding: 60px 20px;
  transition: background 0.3s ease;
}

.stats h1 {
  margin-bottom: 30px;
  color: #1f4ed8;
  font-size: 32px;
  transition: color 0.3s ease;
  font-weight: 600;
}

.slider {
  position: relative;
  height: 520px;
  max-width: 900px;
  margin: auto;
}

.slide {
  display: none;
  animation: fadeSlide 0.6s ease;
  height: 100%;
}

.slide.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.chart-container {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 
    0 8px 32px 0 rgba(31, 78, 216, 0.15),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.6);
  width: 100%;
  max-width: 800px;
  transition: all 0.4s ease;
}

.chart-container:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 12px 48px 0 rgba(31, 78, 216, 0.25),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.slide h3 {
  margin-bottom: 25px;
  color: #1f4ed8;
  font-size: 22px;
  font-weight: 600;
  transition: color 0.3s ease;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

canvas {
  max-height: 380px;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #1f4ed8, #7b3ff2);
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 8px 20px rgba(31, 78, 216, 0.3);
}

.arrow:hover {
  background: linear-gradient(135deg, #1742c0, #6b32d8);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 30px rgba(31, 78, 216, 0.5);
}

.arrow.left {
  left: -50px;
}

.arrow.right {
  right: -50px;
}

.dots {
  margin-top: 30px;
}

.dot {
  height: 10px;
  width: 10px;
  background: #bbb;
  border-radius: 50%;
  display: inline-block;
  margin: 0 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot:hover {
  background: #777;
  transform: scale(1.2);
}

.dot.active {
  background: #1f4ed8;
  width: 24px;
  border-radius: 5px;
}

.programs {
  padding: 90px 20px;
  background: #ffffff;
  text-align: center;
  transition: background 0.3s ease;
}

.programs-header {
  max-width: 700px;
  margin: 0 auto 60px;
}

.programs-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: red;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.programs-header h2 {
  font-size: 36px;
  color: #111;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.programs-header p {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: auto;
}

.program-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 36px 32px 40px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
  text-align: center;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.program-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  margin: 0 auto 22px auto; 
  font-size: 18px;
}

.program-card h3 {
  font-size: 20px;
  margin-bottom: 18px;
  color: #111;
  transition: color 0.3s ease;
}

.program-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 26px;
}

.program-card ul li {
  font-size: 14.5px;
  color: #555;
  margin-bottom: 10px;
  padding-left: 22px;
  position: relative;
  transition: color 0.3s ease;
}

.program-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
}

.program-btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: transparent;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.program-card.basic .program-icon {
  background: #fff3e0;
  color: #f59e0b;
}

.program-card.basic ul li::before {
  color: #f59e0b;
}

.program-card.basic .program-btn {
  border: 2px solid #f59e0b;
  color: #f59e0b;
}

.program-card.basic .program-btn:hover {
  background: #f59e0b;
  color: #fff;
}

.program-card.intermediate .program-icon {
  background: #f3e8ff;
  color: #7b3ff2;
}

.program-card.intermediate ul li::before {
  color: #7b3ff2;
}

.program-card.intermediate .program-btn {
  border: 2px solid #7b3ff2;
  color: #7b3ff2;
}

.program-card.intermediate .program-btn:hover {
  background: #7b3ff2;
  color: #fff;
}

.program-card.advanced .program-icon {
  background: #fde2f3;
  color: #db2777;
}

.program-card.advanced ul li::before {
  color: #db2777;
}

.program-card.advanced .program-btn {
  border: 2px solid #db2777;
  color: #db2777;
}

.program-card.advanced .program-btn:hover {
  background: #db2777;
  color: #fff;
}

.about-final {
  padding: 110px 20px;
  background: radial-gradient(ellipse at top, #1e293b 0%, #0f172a 55%, #020617 100%);
  text-align: center;
}

.about-final-title {
  font-size: 38px;
  color: #ffffff;
  margin-bottom: 70px;
  font-weight: 600;
}

.about-final-cards {
  max-width: 1050px;
  margin: 0 auto 90px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px;
}

.about-final-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 42px;
  text-align: left;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 25px 60px rgba(0,0,0,0.55);
  transition: transform 0.3s ease;
}

.about-final-card:hover {
  transform: translateY(-5px);
}

.about-final-card h3 {
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 14px;
  text-align: center;
}

.about-final-card p {
  color: #cbd5e1;
  font-size: 14.5px;
  line-height: 1.7;
  text-align: center;
}

.about-final-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px auto; 
  font-size: 18px;
}

.about-final-icon.purple {
  background: rgba(139, 92, 246, 0.25);
  color: #c4b5fd;
}

.about-final-icon.gold {
  background: rgba(245, 158, 11, 0.25);
  color: #fde68a;
}
/* ================= PERSONAL WELCOME CARD ================= */

.personal-welcome-card {
  display: flex;
  gap: 30px;
  background: linear-gradient(135deg, #0b1220, #0f1b35);
  border-radius: 18px;
  padding: 30px;
  margin-bottom: 40px;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.welcome-left {
  flex: 0 0 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.student-profile-circle {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: #b9d3b2;
  border: 4px solid #4f7cff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  font-size: 12px;
  color: #0b1220;
  text-align: center;
  letter-spacing: 1px;
}

.welcome-right {
  flex: 1;
  color: #ffffff;
}

.welcome-badge {
  display: inline-block;
  background: #3b6cff;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 12px;
}

.welcome-badge span {
  opacity: 0.8;
  font-weight: 400;
  margin-left: 6px;
}

.welcome-right h2 {
  font-size: 28px;
  margin-bottom: 14px;
}

.welcome-right p {
  color: #cfd6e6;
  line-height: 1.7;
  margin-bottom: 12px;
  font-size: 15px;
}

.welcome-footer {
  margin-top: 10px;
  font-style: italic;
  color: #8fa8ff;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .personal-welcome-card {
    flex-direction: column;
    text-align: center;
  }
}

.contact-us {
  padding: 110px 20px;
  background: #f9fafb;
  transition: background 0.3s ease;
}

.contact-head {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}

.contact-head h2 {
  font-size: 36px;
  color: #111;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.contact-head p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.contact-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px;
}

.contact-form {
  background: #ffffff;
  padding: 36px;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.contact-form label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 6px;
  display: block;
  transition: color 0.3s ease;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  margin-bottom: 18px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #fff;
  color: #333;
}

.contact-form textarea {
  resize: none;
  min-height: 100px;
  max-height: 200px;
  overflow-y: auto;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

.send-btn {
  width: 100%;
  padding: 14px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.send-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.contact-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.map-card {
  height: 260px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,0.1);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.info-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  gap: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.info-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.info-box.full {
  grid-column: 1 / -1;
}

.info-box i {
  font-size: 18px;
  color: #2563eb;
  margin-top: 4px;
}

.info-box h4 {
  font-size: 15px;
  color: #111;
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.info-box p {
  font-size: 13.5px;
  color: #555;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.info-box span {
  font-size: 12.5px;
  color: #888;
  transition: color 0.3s ease;
}

.testimonials-ref {
  padding: 90px 20px;
  background: #f6f8ff;
  text-align: center;
  transition: background 0.3s ease;
}

.testimonials-ref h2 {
  font-size: 36px;
  color: #111;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.subtitle {
  max-width: 720px;
  margin: 12px auto 40px;
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.rating-card {
  max-width: 900px;
  margin: 0 auto 70px;
  padding: 32px;
  background: #fff;
  border-radius: 18px;
  display: flex;
  gap: 40px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.rating-left {
  flex-shrink: 0;
}

.rating-left h1 {
  font-size: 42px;
  color: #111;
  transition: color 0.3s ease;
}

.rating-left span {
  font-size: 18px;
  color: #666;
}

.stars {
  color: #7b3ff2;
  font-size: 20px;
  margin: 8px 0;
}

.rating-left p {
  color: #666;
  font-size: 14px;
  margin-top: 8px;
}

.rating-bars {
  flex: 1;
}

.rating-bars div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.rating-bars span {
  font-weight: 600;
  width: 12px;
  color: #333;
}

.bar {
  width: 100%;
  max-width: 220px;
  height: 6px;
  background: #eee;
  border-radius: 6px;
  overflow: hidden;
}

.bar div {
  height: 100%;
  background: #7b3ff2;
  border-radius: 6px;
  transition: width 0.3s ease;
}

.rating-bars b {
  width: 40px;
  text-align: right;
  font-size: 13px;
  color: #666;
}

.review-list {
  max-width: 900px;
  margin: auto;
}

.review-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 36px;
  gap: 16px;
}

.review-row.right {
  flex-direction: row-reverse;
}

.avatar {
  width: 64px;
  height: 64px;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(45deg,#7b3ff2,#ec4899);
  flex-shrink: 0;
}

.avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.review-pill {
  max-width: 620px;
  padding: 20px 28px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
  text-align: left;
  transition: all 0.3s ease;
}

.review-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.name {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  display: inline-block;
}

.name.blue { background:#3b82f6; }
.name.green { background:#22c55e; }
.name.orange { background:#f97316; }

.level {
  display: block;
  font-size: 11px;
  color: #7b3ff2;
  margin-top: 6px;
  font-weight: 500;
}

.review-pill p {
  font-size: 13.5px;
  color: #555;
  margin-top: 10px;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.share-text {
  margin-top: 40px;
  font-size: 16px;
  color: #666;
  transition: color 0.3s ease;
}

.feedback-btn {
  margin-top: 20px;
  padding: 14px 34px;
  border-radius: 999px;
  background: #7b3ff2;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.feedback-btn:hover {
  background: #6b32d8;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(123, 63, 242, 0.3);
}

.feedback-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(4px);
}

.feedback-modal {
  width: 90%;
  max-width: 420px;
  padding: 32px;
  border-radius: 20px;
  background: linear-gradient(135deg,#1f1633,#0f0a1a);
  color: #fff;
  position: relative;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}

.modal-sub {
  color: #cbd5e1;
  font-size: 14px;
  margin-bottom: 20px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(255,255,255,0.25);
  transform: rotate(90deg);
}

.feedback-modal h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.feedback-modal label {
  display: block;
  font-size: 14px;
  margin-top: 16px;
  margin-bottom: 8px;
  color: #e5e7eb;
}

.rating-stars {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.rating-stars span {
  font-size: 28px;
  cursor: pointer;
  color: rgba(255,255,255,0.3);
  transition: all 0.3s ease;
}

.rating-stars span:hover,
.rating-stars span.active {
  color: #ffdd00;
  transform: scale(1.1);
}

.feedback-modal select,
.feedback-modal textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 8px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 14px;
  transition: all 0.3s ease;
}

.feedback-modal select:focus,
.feedback-modal textarea:focus {
  outline: none;
  border-color: #7b3ff2;
  background: rgba(255,255,255,0.12);
}

.feedback-modal select option {
  background: #1f1633;
  color: #fff;
}

.feedback-modal textarea {
  resize: none;
  min-height: 100px;
  max-height: 150px;
}

.post-btn {
  width: 100%;
  padding: 13px;
  background: #7b3ff2;
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 12px;
  transition: all 0.3s ease;
}

.post-btn:hover {
  background: #6b32d8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(123, 63, 242, 0.4);
}

.support-ref {
  padding: 90px 20px;
  background: #ffffff;
  text-align: center;
}

.support-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.support-icon img {
  width: 48px;
  margin-bottom: 16px;
}

.support-ref h1 {
  font-size: 42px;
  color: #111;
  margin-bottom: 6px;
}

.support-sub {
  color: #64748b;
  font-size: 15px;
}

.support-sub span {
  color: #000;
  font-weight: 600;
  cursor: default;
  transition: opacity 0.2s ease;
}

.support-sub span:hover {
  opacity: 0.85;
}

.icon.orange { background:#fff4e5; color:#f97316; }
.icon.purple { background:#f3e8ff; color:#7b3ff2; }
.icon.yellow { background:#fff7d6; color:#eab308; }

.faq-ref {
  max-width: 900px;
  margin: auto;
  text-align: left;
}

.faq-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.faq-head h2 {
  font-size: 24px;
  color: #111;
}

.faq-head a {
  color: #7b3ff2;
  text-decoration: none;
  font-weight: 500;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.faq-grid h4 {
  font-size: 16px;
  color: #111;
  margin-bottom: 6px;
}

.faq-grid p {
  font-size: 14px;
  color: #555;
  margin-bottom: 22px;
  line-height: 1.6;
}

.support-cta {
  padding: 70px 20px 90px;
  text-align: center;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.support-cta-text {
  color: #64748b;
  font-size: 15px;
  margin-bottom: 26px;
}

.support-cta-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.cta-primary {
  background: #7b3ff2;
  color: #ffffff;
  border: none;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.cta-primary:hover {
  background: #000;
}

.cta-secondary {
  background: #ffffff;
  color: #111;
  border: 1px solid #d1d5db;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.cta-secondary:hover {
  background: #f9fafb;
}

.site-footer {
  background: #ffffff;
  padding: 90px 60px 30px;
  font-size: 14px;
}

.footer-top {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 60px;
  align-items: flex-start;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin-bottom: 14px;
}

.footer-logo img {
  height: 34px;
}

.footer-logo span span {
  color: #7b3ff2;
}

.footer-col p {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 18px;
}

.social-icons {
  display: flex;
  gap: 16px;
  margin-top: 14px;
}

.social-icons i {
  color: #64748b;
  cursor: pointer;
  transition: color 0.25s ease;
}

.social-icons i:hover {
  color: #7b3ff2;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  color: #111;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: #64748b;
  text-decoration: none;
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: #7b3ff2;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #64748b;
  margin-bottom: 12px;
}

.contact-item i {
  color: #7b3ff2;
  font-size: 14px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 70px auto 0;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #94a3b8;
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
}

.footer-links a:hover {
  color: #7b3ff2;
}

body.dark {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #f1f1f1;
}

body.dark .premium-header {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark .brand-text { color: #fff; }
body.dark .nav-link { color: #cbd5e1; }
body.dark .nav-link:hover { color: #9f6bff; }
body.dark .nav-link::after { background-color: #9f6bff; }

body.dark .dropdown-content {
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark .dropdown-content a { color: #cbd5e1; }
body.dark .dropdown-content a:hover { background: rgba(123, 63, 242, 0.2); color: #c4b5fd; }

body.dark .hero {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.8));
}

body.dark .hero h1 { color: #f1f1f1; }
body.dark .hero p { color: #cbd5e1; }

body.dark .hero-secondary {
  background: rgba(51, 65, 85, 0.6);
  backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.2);
  color: #f1f1f1;
}

body.dark .hero-secondary:hover {
  background: rgba(123, 63, 242, 0.3);
  border-color: #7b3ff2;
}

body.dark .hero-float {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

body.dark .stats h1 { color: #c4b5fd; }

body.dark .chart-container {
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6), inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

body.dark .chart-container:hover {
  box-shadow: 0 12px 48px 0 rgba(0, 0, 0, 0.8), inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark .slide h3 {
  color: #c4b5fd;
  text-shadow: 0 2px 8px rgba(159, 107, 255, 0.5);
}

body.dark .programs { background: transparent; }

body.dark .program-card {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark .program-card h3 { color: #f1f1f1; }
body.dark .program-card ul li { color: #cbd5e1; }
body.dark .programs-header h2 { color: #f1f1f1; }
body.dark .programs-header p { color: #cbd5e1; }

body.dark .contact-us { background: rgba(15, 23, 42, 0.5); }
body.dark .contact-head h2 { color: #f1f1f1; }
body.dark .contact-head p { color: #cbd5e1; }

body.dark .contact-form {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark .contact-form label { color: #e5e7eb; }

body.dark .contact-form input,
body.dark .contact-form textarea {
  background: rgba(51, 65, 85, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
  color: #f1f1f1;
}

body.dark .contact-form input::placeholder,
body.dark .contact-form textarea::placeholder { color: #94a3b8; }

body.dark .info-box,
body.dark .community-box {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark .info-box h4,
body.dark .community-box strong { color: #f1f1f1; }

body.dark .info-box p,
body.dark .community-box p { color: #cbd5e1; }

body.dark .info-box span { color: #94a3b8; }

body.dark .testimonials-ref { background: transparent; }
body.dark .testimonials-ref h2 { color: #f1f1f1; }
body.dark .subtitle { color: #cbd5e1; }

body.dark .rating-card {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark .rating-left h1 { color: #f1f1f1; }
body.dark .rating-left span,
body.dark .rating-left p { color: #cbd5e1; }

body.dark .rating-bars span,
body.dark .rating-bars b { color: #cbd5e1; }

body.dark .bar { background: rgba(255, 255, 255, 0.1); }

body.dark .review-pill {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark .review-pill p { color: #cbd5e1; }
body.dark .share-text { color: #cbd5e1; }

body.dark .support-ref { background: transparent; }
body.dark .support-ref h1 { color: #f1f1f1; }

body.dark .support-sub { color: #cbd5e1; }

body.dark .support-sub span {
  color: #fff;
  font-weight: 600;
}

body.dark .support-sub span:hover {
  opacity: 0.85;
}

body.dark .support-card {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark .support-card h3 { color: #f1f1f1; }

body.dark .faq-head h2 { color: #f1f1f1; }
body.dark .faq-grid h4 { color: #f1f1f1; }
body.dark .faq-grid p { color: #cbd5e1; }

body.dark .support-cta {
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark .support-cta-text { color: #cbd5e1; }

body.dark .cta-primary:hover {
  background: #fff;
  color: #7b3ff2;
}

body.dark .cta-secondary {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
  color: #cbd5e1;
}

body.dark .cta-secondary:hover {
  background: rgba(123, 63, 242, 0.3);
  border-color: #7b3ff2;
}

body.dark .site-footer {
  background: rgba(15, 23, 42, 0.8);
}

body.dark .footer-logo { color: #fff; }
body.dark .footer-col p { color: #94a3b8; }
body.dark .footer-col h4 { color: #f1f1f1; }
body.dark .footer-col a { color: #94a3b8; }
body.dark .footer-col a:hover { color: #c4b5fd; }
body.dark .contact-item { color: #94a3b8; }
body.dark .footer-bottom { border-top-color: rgba(255, 255, 255, 0.1); }

@media (max-width: 1200px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 50px 40px;
  }

  .hero-image {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .arrow.left { left: 10px; }
  .arrow.right { right: 10px; }

  .programs-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
}

@media (max-width: 900px) {
  .about-final-cards { grid-template-columns: 1fr; }

  .gallery-final-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-box.wide { grid-column: span 1; }

  .rating-card {
    flex-direction: column;
    gap: 24px;
  }

  .rating-bars div { flex-wrap: wrap; }
  .bar { max-width: 100%; }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .premium-header {
    padding: 16px 24px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-left { order: 1; }
  .nav-right {
    order: 2;
    margin-left: auto;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 16px;
  }

  .search-box {
    order: 4;
    width: 100%;
  }

  .hero { padding: 40px 24px; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 15px; }
  
  .chart-container { padding: 24px 20px; }
  .slider { height: 480px; }
  .slide h3 { font-size: 18px; }
  canvas { max-height: 320px; }

  .arrow.left {
    left: 5px;
    padding: 10px 12px;
  }

  .arrow.right {
    right: 5px;
    padding: 10px 12px;
  }

  .programs-header h2,
  .contact-head h2,
  .testimonials-ref h2 { font-size: 28px; }

  .about-final-title { font-size: 30px; }
  .about-final-card { padding: 32px 24px; }

  .review-row {
    flex-direction: column !important;
    align-items: center;
  }

  .review-row.right { flex-direction: column !important; }
  .review-pill { max-width: 100%; }
}

@media (max-width: 520px) {
  .premium-header { padding: 12px 16px; }
  .nav-left img { height: 36px; }
  .brand-text { font-size: 18px; }
  .nav { gap: 12px; }
  .nav-link { font-size: 14px; }

  .btn-outline,
  .btn-primary {
    padding: 7px 14px;
    font-size: 13px;
  }

  .dropdown-content { min-width: 140px; }
  .hero { padding: 30px 16px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 14px; }
  .hero-badge {
    font-size: 11px;
    padding: 5px 12px;
  }

  .hero-primary,
  .hero-secondary {
    padding: 12px 22px;
    font-size: 14px;
  }

  .stats { padding: 40px 16px; }
  .stats h1 { font-size: 24px; }
  .slider { height: 420px; }
  .chart-container { padding: 20px 16px; }
  .slide h3 {
    font-size: 16px;
    margin-bottom: 18px;
  }

  canvas { max-height: 280px; }

  .programs,
  .contact-us,
  .testimonials-ref { padding: 60px 16px; }

  .programs-header h2,
  .contact-head h2,
  .testimonials-ref h2 { font-size: 24px; }

  .programs-header p,
  .contact-head p,
  .subtitle { font-size: 14px; }

  .program-card { padding: 28px 24px; }
  .about-final { padding: 80px 16px; }
  .about-final-title {
    font-size: 26px;
    margin-bottom: 50px;
  }

  .about-final-card {
    padding: 28px 20px;
  }

  .gallery-final-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .gallery-box.tall {
    grid-row: span 1;
  }

  .contact-form,
  .info-box,
  .community-box {
    padding: 24px 20px;
  }

  .rating-card {
    padding: 24px 20px;
  }

  .rating-left h1 {
    font-size: 36px;
  }

  .avatar {
    width: 56px;
    height: 56px;
  }

  .review-pill {
    padding: 18px 22px;
  }

  .feedback-modal {
    padding: 28px 24px;
  }

  .support-ref h1 {
    font-size: 24px;
  }

  .support-card {
    padding: 22px 18px;
  }

  .faq-ref {
    padding: 0 16px;
  }
}

* {
  -webkit-tap-highlight-color: transparent;
}

button,
a,
.nav-link,
.dropdown-content a,
.lang-option,
.dot,
.arrow {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input,
textarea,
select {
  font-family: inherit;
}

button {
  font-family: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #7b3ff2;
  outline-offset: 2px;
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@media print {
  .premium-header,
  .hero-actions,
  .arrow,
  .dots,
  .feedback-btn,
  .contact-form,
  #themeToggle {
    display: none !important;
  }
}
/* ================= SCROLL TO TOP BUTTON ================= */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #1f4ed8, #7b3ff2);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(31, 78, 216, 0.35);
  transition: all 0.3s ease;
  z-index: 999;
}

#scrollTopBtn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 35px rgba(31, 78, 216, 0.55);
}
/* ================= SCROLL REVEAL ================= */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ========= PROGRAM CARDS HOVER — SAME AS SUPPORT CARDS ========= */

.program-card {
  background: #ffffff;
  border-radius: 14px;
  transition: all 0.4s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  position: relative;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.15);
}

/* make inner content also feel lifted */
.program-card:hover .program-icon {
  transform: scale(1.12);
  transition: transform 0.4s ease;
}
