/* ===========================================================
   THEME VARIABLES & RESET
   =========================================================== */
:root {
  --primary-color: #00f2ff; /* Neon Cyan */
  --primary-glow: rgba(0, 242, 255, 0.6);
  --secondary-color: #007bff;
  --bg-dark: #02040a;
  --bg-panel: #0a1118;
  --text-main: #e6f7ff;
  --text-muted: #94a3b8;
  --glass-bg: rgba(20, 30, 48, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
  --gradient-btn: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
  --font-main: 'Outfit', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  -webkit-tap-highlight-color: transparent;
}

html, body {
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(0, 242, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 114, 255, 0.1) 0%, transparent 40%);
  color: var(--text-main);
  overflow-x: hidden;
}

/* ===========================================================
   UTILITIES & ANIMATIONS
   =========================================================== */
.hidden { display: none !important; }

.glass-effect {
  background: rgba(5, 10, 20, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
}

.glass-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  border-radius: 16px;
}

.glass-panel {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  backdrop-filter: blur(5px);
}

/* Animations */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 242, 255, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(0, 242, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 242, 255, 0); } }

.fade-in { animation: fadeIn 0.6s ease-out forwards; }
.zoom-in { animation: fadeIn 0.3s ease-out forwards; }
.slide-up { animation: fadeIn 0.4s ease-out forwards; }
.pulse-anim { animation: pulse 2s infinite; }

/* ===========================================================
   HEADER
   =========================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 10px 0;
  z-index: 1000;
  height: 70px;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
}

.navbar-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #fff, var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navigation */
.nav-right { position: relative; }

.menu-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.menu-icon span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.menu-dropdown {
  position: absolute;
  top: 55px;
  right: 0;
  width: 200px;
  padding: 10px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #0f172a; 
}
.menu-dropdown.glass-panel {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--primary-color);
}

.nav-btn {
  padding: 10px;
  border-radius: 8px;
  border: none;
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: 0.3s;
}
.nav-btn:hover {
  background: var(--primary-color);
  color: #000;
  transform: translateX(5px);
}
.danger-btn:hover { background: #ff4757; color: white; }

/* ===========================================================
   HERO SECTION
   =========================================================== */
.home-section { padding-top: 90px; padding-bottom: 40px; }

.hero-container { padding: 0 16px; margin-bottom: 30px; }

.unique-hero {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center; 
  justify-content: center;
}

.unique-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 242, 255, 0.1);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 242, 255, 0.3);
  font-weight: 600;
}

/* FIX HERO LOGO */
.hero-logo { 
    height: 150px !important;
    width: auto;
    margin-bottom: 15px; 
    drop-shadow: 0 0 15px rgba(0,242,255,0.4); 
}

.unique-hero h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
  line-height: 1.2;
}

.lead {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 25px;
  max-width: 600px;
}

.btn {
  padding: 12px 28px;
  border-radius: 30px;
  border: none;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 114, 255, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 242, 255, 0.6);
}
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text-main);
}
.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.btn-lg { padding: 14px 36px; font-size: 16px; }

/* Marquee */
.marquee-container {
  background: linear-gradient(90deg, #000, #0a1520, #000);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 40px;
}
.marquee-wrap { overflow: hidden; padding: 10px 0; }
.marquee {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 500;
}
@keyframes marquee { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

/* ===========================================================
   COURSES GRID
   =========================================================== */
.our-courses { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

.section-title { text-align: center; margin-bottom: 30px; }
.section-title h2 { font-size: 26px; margin-bottom: 8px; color: #fff; }
.underline {
  width: 60px; height: 3px; background: var(--primary-color); margin: 0 auto; border-radius: 2px;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding-bottom: 40px;
}

.course-card {
  overflow: hidden;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
}
.course-card:hover { transform: translateY(-5px); border-color: var(--primary-color); }

/* FIX IMAGE FILL */
.card-image { position: relative; height: 199px; background: #000; }
.card-image img {
  width: 100%;
  height: 110%;
  object-fit: fill; 
  background: #02040a; 
}

.tag {
  position: absolute; top: 10px; right: 10px;
  background: rgba(0,0,0,0.8); color: #fff;
  padding: 4px 10px; border-radius: 4px; font-size: 10px;
  border: 1px solid var(--primary-color);
  font-weight: bold;
}

.card-content { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.course-card h3 { font-size: 18px; margin-bottom: 10px; color: #fff; }

.price-row { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; margin-top: auto; }
.old-price { text-decoration: line-through; color: var(--text-muted); font-size: 14px; }
.new-price { color: var(--primary-color); font-weight: 800; font-size: 20px; }

.full-width { width: 100%; }

/* ===========================================================
   FULLSCREEN FORMS & MODALS
   =========================================================== */
.fullscreen-page {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.full-wrapper {
  width: 100%;
  max-width: 450px;
  padding: 30px;
  position: relative;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 0 50px rgba(0, 242, 255, 0.15);
  margin: auto;
}

.full-wrapper h2 { text-align: center; color: var(--primary-color); margin-bottom: 15px; font-size: 24px; }
.sub-text { text-align: center; color: var(--text-muted); margin-bottom: 25px; font-size: 13px; }

/* Form Styles */
.input-group { margin-bottom: 15px; }
label { display: block; margin-bottom: 6px; font-size: 13px; color: #ccc; }
input, textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #0f172a;
  color: #fff;
  font-size: 14px;
  transition: 0.3s;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 242, 255, 0.1);
}

.form-actions { display: flex; gap: 10px; margin-top: 20px; }
.form-actions button { flex: 1; }

.register-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.register-grid .input-group:nth-child(1),
.register-grid .input-group:last-child { grid-column: span 2; }
.sponsor-preview { display: block; font-size: 11px; color: var(--primary-color); margin-top: 4px; height: 16px; font-weight: bold; }

/* ===========================================================
   START MENU (Dashboard)
   =========================================================== */
.menu-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 20px 0;
}
.menu-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    font-size: 14px;
    line-height: 1.5;
}
.menu-item:hover {
    background: rgba(0, 242, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

/* ===========================================================
   PAGE PANELS
   =========================================================== */
.page-panel {
  position: fixed; inset: 0; z-index: 1500;
  background: var(--bg-dark); padding: 0;
  overflow-y: auto;
  animation: slideLeft 0.3s ease-out;
}
@keyframes slideLeft { from { transform: translateX(100%); } to { transform: translateX(0); } }

.panel-inner {
  max-width: 800px; margin: 0 auto;
  padding: 80px 20px 80px; 
}

.panel-header {
  position: fixed; top: 0; left: 0; right: 0; height: 60px;
  background: rgba(2, 4, 10, 0.95);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; border-bottom: 1px solid var(--glass-border);
  z-index: 10;
}
.btn-icon { background: none; border: none; font-size: 24px; color: #fff; cursor: pointer; }

/* Income Tabs */
.income-tabs {
  display: flex; margin-bottom: 20px; padding: 5px; border-radius: 10px;
  background: #0f172a; gap: 5px;
}
.income-tab {
  flex: 1; padding: 10px; background: none; border: none; color: #94a3b8; font-weight: 600; cursor: pointer; border-radius: 6px;
}
.income-tab.active { background: var(--gradient-btn); color: #fff; }

/* Team Controls */
.team-controls { display: flex; gap: 10px; margin-bottom: 15px; }
.team-controls button {
    flex: 1; padding: 10px; background: #0f172a; border: 1px solid #334155; color: #fff; border-radius: 8px; cursor: pointer; font-weight: 600;
}
.team-controls button.active { border-color: var(--primary-color); color: var(--primary-color); background: rgba(0,242,255,0.1); }

/* ===========================================================
   PAYMENT
   =========================================================== */
.payment-card { text-align: center; }
.amount-badge { font-size: 22px; font-weight: 700; color: #00f2ff; margin: 10px 0 20px; }
.pay-box { background: rgba(0,0,0,0.4); padding: 20px; border-radius: 12px; }
.qr-wrap img { width: 220px; border-radius: 10px; border: 4px solid #fff; margin: 15px 0; }
.upi-line { background: #1e293b; padding: 10px; border-radius: 6px; display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 15px; font-size: 14px; }
.btn-xs { font-size: 11px; padding: 4px 10px; border-radius: 4px; border: 1px solid var(--primary-color); background: none; color: var(--primary-color); cursor: pointer; }

/* ===========================================================
   ADMIN
   =========================================================== */
.admin-wrapper { max-width: 1000px; max-height: 90vh; display: flex; flex-direction: column; }
.admin-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.admin-table-wrap { overflow: auto; flex: 1; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 12px; min-width: 800px; }
.admin-table th { background: #1e293b; padding: 12px; position: sticky; top: 0; text-align: left; color: var(--primary-color); }
.admin-table td { padding: 10px; border-bottom: 1px solid rgba(255,255,255,0.05); }

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer {
  background: linear-gradient(180deg, #000810 0%, #010205 100%);
  border-top: 2px solid rgba(0, 242, 255, 0.2);
  margin-top: 60px; padding-top: 50px;
  font-size: 14px; color: var(--text-muted);
  position: relative;
}
.site-footer::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px;
    background: radial-gradient(ellipse at top, rgba(0, 242, 255, 0.4), transparent 70%);
}

.footer-container {
  max-width: 1100px; margin: 0 auto; padding: 0 20px 40px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px; text-align: left;
}

.footer-col {
    background: rgba(255,255,255,0.02); padding: 20px;
    border-radius: 12px; border: 1px solid rgba(255,255,255,0.05);
}

.footer-title {
  color: #fff; font-size: 20px; margin-bottom: 20px;
  position: relative; display: inline-block; font-weight: 800; letter-spacing: 0.5px;
}
.footer-title::after {
  content: ''; display: block; width: 50px; height: 3px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  margin-top: 8px; border-radius: 2px;
}

.footer-text { line-height: 1.7; font-size: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
  color: var(--text-muted); text-decoration: none; transition: 0.3s;
  cursor: pointer; display: flex; align-items: center; gap: 10px;
}
.footer-links a::before {
    content: '›'; color: var(--primary-color); font-size: 18px; font-weight: bold; transition: 0.3s;
}
.footer-links a:hover { color: var(--primary-color); padding-left: 10px; }
.footer-links a:hover::before { transform: translateX(5px); }

.contact-row {
  display: flex; align-items: center; gap: 15px; margin-bottom: 18px;
  padding: 10px; background: rgba(255,255,255,0.03);
  border-radius: 8px; transition: 0.3s;
}
.contact-row:hover { border-color: var(--primary-color); background: rgba(0, 242, 255, 0.05); }
.contact-row span {
  font-size: 20px; color: var(--primary-color);
  filter: drop-shadow(0 0 5px rgba(0, 242, 255, 0.5));
}
.contact-row p { margin: 0; font-weight: 500; }

.footer-bottom {
  background: #000; padding: 20px; text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-bottom p { margin-bottom: 5px; }

@media (max-width: 768px) {
  .footer-container { grid-template-columns: 1fr; text-align: center; gap: 25px; }
  .footer-col { padding: 15px; }
  .footer-title::after { margin: 8px auto 0; background: linear-gradient(90deg, transparent, var(--primary-color), transparent); }
  .footer-links a { justify-content: center; }
  .contact-row { justify-content: center; flex-direction: column; gap: 5px; text-align: center; }
  .contact-row span { margin-bottom: 5px; }
}

/* ===========================================================
   🔥 ADDED: MENTORS SECTION (Fixed & Beautiful)
   =========================================================== */
.mentors-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 25px; 
    padding: 20px 0; 
}

.mentor-card { 
    text-align: center; 
    padding: 30px 20px; 
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.mentor-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
}

.mentor-img-wrap {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    padding: 5px;
    border: 2px solid var(--primary-color);
    margin: 0 auto 15px auto;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}

.mentor-img { 
    width: 100%; height: 100%; border-radius: 50%; object-fit: cover; 
}

.mentor-card h3 {
    margin-bottom: 5px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.mentor-subject {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mentor-badges {
    display: flex; justify-content: center; gap: 10px; margin-bottom: 15px; flex-wrap: wrap;
}

.m-badge {
    font-size: 12px; background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px; border-radius: 20px; color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mentor-desc {
    font-size: 13px; color: var(--text-muted); line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px; width: 100%;
}

/* ===========================================================
   🔥 ADDED: NEW UI FEATURES
   =========================================================== */

/* 1. MATH DROPDOWN */
.class-select {
    width: 100%; padding: 12px; margin-bottom: 15px;
    background: #000; border: 2px solid #e056fd; color: white;
    border-radius: 8px; font-size: 14px; cursor: pointer; outline: none;
}
.class-select option { background: #333; color: white; padding: 10px; }

/* 2. PASSWORD EYE ICON */
.password-wrapper { position: relative; width: 100%; }
.toggle-eye {
    position: absolute; right: 15px; top: 50%;
    transform: translateY(-50%); cursor: pointer;
    font-size: 18px; color: #00f2ff; z-index: 10;
}

/* 3. REFERRAL BOX (DASHBOARD) */
.referral-box {
    background: rgba(255,255,255,0.05);
    border: 1px dashed #00f2ff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}
.ref-code-display {
    font-size: 22px; font-weight: 800; letter-spacing: 2px;
    color: #fff; background: #000; padding: 8px 15px;
    border-radius: 5px; display: inline-block; margin: 10px 0;
}
.ref-actions { display: flex; justify-content: center; gap: 10px; }

/* 4. ADMIN EDIT FORM */
#mentorForm {
    background: #1e293b; padding: 15px; margin-bottom: 15px;
    border-radius: 10px; border: 1px solid #334155;
}
#mentorForm input, #mentorForm textarea {
    background: #0f172a; border: 1px solid #334155;
    color: #fff; margin-bottom: 10px; width: 100%;
}
#mentorForm input:focus, #mentorForm textarea:focus {
    border-color: #00f2ff;
    outline: none;
}