/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #1a1a2e; background: #fff; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* ===== VARIABLES ===== */
:root {
  --primary: #0A58CA;
  --primary-dark: #0847a8;
  --primary-light: #e8f0fe;
  --orange: #FF6B00;
  --orange-dark: #e05e00;
  --white: #ffffff;
  --gray: #f8f9fa;
  --gray-2: #e9ecef;
  --text: #1a1a2e;
  --text-muted: #6c757d;
  --shadow: 0 4px 20px rgba(10,88,202,0.12);
  --shadow-lg: 0 8px 40px rgba(10,88,202,0.18);
  --radius: 12px;
  --radius-lg: 20px;
}

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange); color: #fff; padding: 14px 28px;
  border-radius: 8px; font-weight: 700; font-size: 15px;
  border: none; cursor: pointer; transition: all 0.3s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,0,0.35); }
.btn-primary.full-width { width: 100%; }

.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff; padding: 14px 24px;
  border-radius: 8px; font-weight: 700; font-size: 15px;
  transition: all 0.3s;
}
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.35); }
.btn-whatsapp.large { padding: 16px 28px; font-size: 16px; }
.btn-whatsapp.small { padding: 10px 18px; font-size: 14px; margin-top: 12px; }

.btn-nav {
  background: var(--orange); color: #fff; padding: 10px 20px;
  border-radius: 8px; font-weight: 600; font-size: 14px; transition: all 0.3s;
}
.btn-nav:hover { background: var(--orange-dark); }

/* ===== HIGHLIGHT ===== */
.highlight { color: var(--orange); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08); transition: all 0.3s;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 28px; }
.logo-text { font-size: 20px; font-weight: 800; color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text); transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }
.hamburger { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--primary); }

/* ===== HERO ===== */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #0A58CA 0%, #0847a8 50%, #063a8a 100%);
  color: #fff; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: rgba(255,255,255,0.05); pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -30%; left: -5%;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,107,0,0.1); pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center; position: relative; z-index: 1; }
.badge {
  display: inline-block; background: rgba(255,107,0,0.2); color: #ffb366;
  border: 1px solid rgba(255,107,0,0.4); padding: 6px 16px;
  border-radius: 50px; font-size: 13px; font-weight: 600; margin-bottom: 16px;
}
.hero-text h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero-text p { font-size: 17px; opacity: 0.9; margin-bottom: 32px; max-width: 520px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 32px; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 28px; font-weight: 800; color: var(--orange); }
.stat span { font-size: 13px; opacity: 0.8; }

/* ===== LEAD FORM ===== */
.lead-form {
  background: #fff; border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-lg); color: var(--text);
}
.lead-form h3 { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.lead-form p { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; padding: 12px 16px; border: 2px solid var(--gray-2);
  border-radius: 8px; font-size: 14px; font-family: inherit;
  margin-bottom: 12px; transition: border-color 0.2s; outline: none;
  background: #fff; color: var(--text);
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  border-color: var(--primary);
}
.lead-form textarea { resize: vertical; }

/* ===== TICKER ===== */
.ticker-wrap {
  background: var(--primary); color: #fff; padding: 12px 0;
  overflow: hidden; white-space: nowrap;
}
.ticker {
  display: inline-flex; gap: 60px;
  animation: ticker 30s linear infinite;
}
.ticker span { font-size: 14px; font-weight: 500; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== SECTION COMMON ===== */
.section-header { text-align: center; margin-bottom: 50px; }
.section-badge {
  display: inline-block; background: var(--primary-light); color: var(--primary);
  padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 600; margin-bottom: 12px;
}
.section-header h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; margin-bottom: 12px; }
.section-header p { font-size: 16px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* ===== COURSES ===== */
.courses { padding: 80px 0; background: var(--gray); }
.course-category { margin-bottom: 50px; }
.cat-title {
  font-size: 20px; font-weight: 700; margin-bottom: 24px;
  padding: 10px 20px; border-radius: 8px; display: inline-block;
}
.cat-title.neet-ug { background: #e8f0fe; color: var(--primary); }
.cat-title.neet-pg { background: #fff3e0; color: #e65100; }
.cat-title.other { background: #e8f5e9; color: #2e7d32; }
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.course-card {
  background: #fff; border-radius: var(--radius); padding: 24px 20px;
  text-align: center; cursor: pointer; transition: all 0.3s;
  border: 2px solid transparent; position: relative;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.course-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow); }
.course-icon { font-size: 36px; margin-bottom: 12px; }
.course-card h4 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.course-card p { font-size: 12px; color: var(--text-muted); }
.course-tag {
  display: inline-block; background: var(--primary); color: #fff;
  font-size: 10px; font-weight: 600; padding: 3px 10px;
  border-radius: 50px; margin-top: 10px;
}
.course-tag.orange { background: var(--orange); }
.highlight-card { border-color: var(--orange) !important; background: #fff8f3; }

/* ===== WHY US ===== */
.why-us { padding: 80px 0; background: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.feature-card {
  background: var(--gray); border-radius: var(--radius); padding: 32px 28px;
  transition: all 0.3s; border: 2px solid transparent;
}
.feature-card:hover { border-color: var(--primary); background: var(--primary-light); transform: translateY(-3px); }
.feature-icon { font-size: 40px; margin-bottom: 16px; }
.feature-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--primary); }
.feature-card p { font-size: 14px; color: var(--text-muted); }

/* ===== PROCESS ===== */
.process { padding: 80px 0; background: var(--primary); color: #fff; }
.process .section-badge { background: rgba(255,255,255,0.15); color: #fff; }
.process .section-header h2 { color: #fff; }
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 16px; flex-wrap: wrap; }
.step { text-align: center; max-width: 200px; }
.step-num {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--orange); color: #fff; font-size: 24px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 13px; opacity: 0.85; }
.step-arrow { font-size: 28px; color: rgba(255,255,255,0.4); margin-top: 20px; }

/* ===== CTA BANNER ===== */
.cta-banner { background: linear-gradient(135deg, #FF6B00, #e05e00); padding: 60px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(22px, 2.5vw, 32px); font-weight: 800; color: #fff; margin-bottom: 8px; }
.cta-inner p { color: rgba(255,255,255,0.9); font-size: 16px; }
.cta-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-banner .btn-primary { background: #fff; color: var(--orange); }
.cta-banner .btn-primary:hover { background: #f0f0f0; }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 80px 0; background: var(--gray); }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.testimonial-card {
  background: #fff; border-radius: var(--radius); padding: 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06); transition: all 0.3s;
}
.testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.stars { color: #ffc107; font-size: 18px; margin-bottom: 14px; }
.testimonial-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; font-style: italic; line-height: 1.7; }
.student-info { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.student-info strong { display: block; font-size: 14px; font-weight: 700; }
.student-info span { font-size: 12px; color: var(--text-muted); }

/* ===== CONTACT ===== */
.contact { padding: 80px 0; background: #fff; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info .section-badge { margin-bottom: 12px; }
.contact-info h2 { font-size: clamp(24px, 2.5vw, 36px); font-weight: 800; margin-bottom: 16px; }
.contact-info > p { font-size: 16px; color: var(--text-muted); margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon { font-size: 24px; flex-shrink: 0; }
.contact-item strong { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.contact-item a, .contact-item span { font-size: 16px; font-weight: 600; color: var(--primary); }
.contact-item a:hover { color: var(--orange); }

/* ===== FOOTER ===== */
.footer { background: #0d1b3e; color: rgba(255,255,255,0.8); padding: 60px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer .logo-text { color: #fff; }
.footer-col > p { font-size: 14px; margin: 16px 0 20px; line-height: 1.7; }
.footer-col h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-col p a { color: rgba(255,255,255,0.8); font-size: 14px; }
.footer-col p a:hover { color: var(--orange); }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #fff; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.social-links a:hover { background: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0;
  text-align: center; font-size: 13px; color: rgba(255,255,255,0.5);
}

/* ===== FLOATING WHATSAPP ===== */
.float-whatsapp {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5); transition: all 0.3s;
  animation: pulse 2s infinite;
}
.float-whatsapp:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.6); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.8), 0 0 0 8px rgba(37,211,102,0.15); }
}

/* ===== MODAL ===== */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal {
  background: #fff; border-radius: var(--radius-lg); padding: 36px;
  max-width: 460px; width: 100%; position: relative;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--gray-2); border: none; width: 32px; height: 32px;
  border-radius: 50%; cursor: pointer; font-size: 16px; transition: all 0.2s;
}
.modal-close:hover { background: #dc3545; color: #fff; }
.modal h3 { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.modal p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.modal input, .modal select {
  width: 100%; padding: 12px 16px; border: 2px solid var(--gray-2);
  border-radius: 8px; font-size: 14px; font-family: inherit;
  margin-bottom: 12px; outline: none; transition: border-color 0.2s;
}
.modal input:focus, .modal select:focus { border-color: var(--primary); }

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: #1a1a2e; color: #fff; padding: 14px 28px;
  border-radius: 50px; font-size: 15px; font-weight: 500;
  z-index: 3000; opacity: 0; transition: all 0.4s; pointer-events: none;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-form-wrap { max-width: 500px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: #fff; padding: 20px; box-shadow: 0 8px 20px rgba(0,0,0,0.1); gap: 16px; }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .hero { padding: 100px 0 60px; }
  .hero-stats { gap: 20px; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); margin: 0; }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-inner { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns a { text-align: center; justify-content: center; }
}

@media (max-width: 480px) {
  .lead-form { padding: 24px 20px; }
  .modal { padding: 28px 20px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .float-whatsapp { bottom: 20px; right: 20px; width: 52px; height: 52px; }
}
