/* ============================================================
   NSE Trading Mentor — Premium Design (Bull & Bear Version)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&family=Rajdhani:wght@600;700&display=swap');

:root {
  --gold:      #F0B429;
  --bg:        #04070D;
  --bg-2:      #060A14;
  --card:      #0F172A;
  --border:    rgba(255,255,255,0.08);
  --white:     #FFFFFF;
  --muted:     #94A3B8;
  --green:     #00C896; /* Bullish Green */
  --red:       #FF4D4D; /* Bearish Red */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  background-image: 
    radial-gradient(at 0% 0%, hsla(166,100%,39%,0.12) 0, transparent 50%), /* Green Glow */
    radial-gradient(at 100% 0%, hsla(0,100%,65%,0.1) 0, transparent 50%),   /* Red Glow */
    radial-gradient(at 50% 100%, hsla(166,100%,39%,0.08) 0, transparent 50%),
    radial-gradient(at 0% 100%, hsla(0,100%,65%,0.08) 0, transparent 50%);
  background-attachment: fixed;
  color: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5 { font-family: 'Rajdhani', sans-serif; color: var(--white); }

/* --- Navbar --- */
header.nse-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(4, 7, 13, 0.95);
  backdrop-filter: blur(15px);
  padding: 15px 0;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 50px; border-radius: 5px; }
.nav-links a {
  color: var(--white); font-size: 14px; font-weight: 600; 
  text-transform: uppercase; margin-left: 20px; text-decoration: none;
  transition: 0.3s;
}
.nav-links a:hover { color: var(--green); }
.nav-cta {
  background: var(--gold); color: #000 !important;
  padding: 10px 22px; border-radius: 5px; font-weight: 700;
  box-shadow: 0 4px 15px rgba(240,180,41,0.3);
}

/* --- Hero --- */
.hero {
  padding: 100px 20px;
  background: radial-gradient(circle at 80% 20%, rgba(0,200,150,0.1) 0%, transparent 40%);
}
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 40px;
}
.hero-content { flex: 1.2; min-width: 300px; }
.hero-badge {
  display: inline-block; background: rgba(0,200,150,0.12); color: var(--green);
  padding: 6px 16px; border-radius: 20px; font-size: 12px; font-weight: 700; margin-bottom: 15px;
  border: 1px solid rgba(0,200,150,0.2);
}
.hero-title { font-size: 56px; font-weight: 800; margin-bottom: 20px; line-height: 1.1; }
.highlight { color: var(--gold); text-shadow: 0 0 25px rgba(240,180,41,0.4); }
.hero-desc { font-size: 18px; color: var(--muted); margin-bottom: 35px; max-width: 550px; }
.btn-primary {
  background: var(--green); color: #000; padding: 14px 35px; 
  border-radius: 8px; font-weight: 700; text-decoration: none; display: inline-block;
  box-shadow: 0 8px 20px rgba(0,200,150,0.25);
  transition: 0.3s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(0,200,150,0.4); }
.btn-outline {
  border: 1px solid rgba(255,255,255,0.1); color: var(--white); padding: 14px 35px;
  border-radius: 8px; font-weight: 600; text-decoration: none; display: inline-block; margin-left: 10px;
  transition: 0.3s;
}
.btn-outline:hover { background: rgba(255,255,255,0.05); border-color: var(--green); }
.hero-image { flex: 0.8; min-width: 300px; text-align: center; }
.hero-image img { 
  max-width: 380px; width: 100%; border-radius: 20px; 
  box-shadow: 0 30px 60px rgba(0,0,0,0.7); 
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* --- Stats --- */
.hero-stats { display: flex; gap: 20px; margin-top: 45px; }
.stat-box {
  background: rgba(15, 23, 42, 0.6); border: 1px solid var(--border);
  border-radius: 15px; padding: 20px; text-align: center; flex: 1;
  backdrop-filter: blur(10px);
}
.stat-box strong { display: block; font-size: 28px; color: var(--green); font-family: 'Rajdhani', sans-serif; }
.stat-box span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* --- Pulse --- */
.pulse {
  display: inline-block; width: 8px; height: 8px; background: var(--green);
  border-radius: 50%; margin-left: 8px; vertical-align: middle;
  box-shadow: 0 0 10px var(--green); animation: pulse-anim 2s infinite;
}
@keyframes pulse-anim {
  0% { box-shadow: 0 0 0 0 rgba(0, 200, 150, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(0, 200, 150, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 200, 150, 0); }
}

/* --- Sections --- */
.section { padding: 100px 20px; position: relative; overflow: hidden; }
.section-dark { background-color: #060A14; }
.container { max-width: 1200px; margin: 0 auto; position: relative; z-index: 5; }
.section-head { text-align: center; margin-bottom: 50px; position: relative; z-index: 2; }
.section-title { font-size: 42px; margin-bottom: 12px; }
.section-title span { color: var(--green); }
.section-sub { color: var(--muted); font-size: 17px; max-width: 700px; margin: 0 auto; }
.section-tag {
  display: inline-block; background: rgba(0,200,150,0.12); color: var(--green);
  padding: 5px 15px; border-radius: 20px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px;
  border: 1px solid rgba(0,200,150,0.2);
}

/* --- Shading Accents --- */
.section::after {
  content: ''; position: absolute; top: 50%; left: 50%; 
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(0,200,150,0.04) 0%, transparent 70%);
  z-index: 0; pointer-events: none;
}
.section-dark::after {
  background: radial-gradient(circle, rgba(255,77,77,0.03) 0%, transparent 70%);
}

/* --- About & Contact Grids --- */
.about-grid, .mission-grid, .contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  align-items: center;
}
.about-img img { width: 100%; border-radius: 15px; border: 1px solid var(--border); }
.about-list { list-style: none; margin-top: 20px; }
.about-list li { color: var(--muted); margin-bottom: 12px; position: relative; padding-left: 25px; }
.about-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; }

.mission-card {
  background: linear-gradient(145deg, rgba(15,23,42,0.9), rgba(15,23,42,0.5));
  border: 1px solid var(--border);
  padding: 40px; border-radius: 20px; text-align: center;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  height: 100%;
}
.mission-card:hover { 
  transform: translateY(-8px); 
  border-color: rgba(0,200,150,0.4); 
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(0,200,150,0.1);
}
.mission-icon { font-size: 45px; margin-bottom: 20px; }

/* --- Cards --- */
.courses-grid, .row { 
  display: flex; flex-wrap: wrap; gap: 35px; justify-content: center;
}
.course-card, .contact-card {
  background: linear-gradient(145deg, rgba(15,23,42,0.9), rgba(15,23,42,0.5));
  border: 1px solid var(--border);
  border-radius: 20px; padding: 30px; width: 360px;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  display: flex; flex-direction: column;
}
.course-card:hover { 
  transform: translateY(-12px); 
  border-color: rgba(0,200,150,0.4); 
  box-shadow: 0 25px 50px rgba(0,0,0,0.5), 0 0 25px rgba(0,200,150,0.15);
}
.course-img { height: 260px; background: #fff; border-radius: 12px; margin-bottom: 25px; padding: 12px; }
.course-img img { width: 100%; height: 100%; object-fit: contain; }

.contact-icon-wrap { font-size: 40px; margin-bottom: 25px; text-align: center; }

/* --- Social Buttons --- */
.social-row { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-top: 40px; }
.social-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 30px; border: 1px solid var(--border);
  border-radius: 12px; color: var(--white); text-decoration: none;
  font-weight: 700; transition: 0.3s;
  background: rgba(255,255,255,0.03);
}
.social-btn img { width: 28px; }
.social-btn:hover { border-color: var(--green); color: var(--green); transform: translateY(-5px); background: rgba(0,200,150,0.05); }

/* --- FAQ --- */
.faq-item { background: rgba(15, 23, 42, 0.6); border: 1px solid var(--border); border-radius: 15px; margin-bottom: 20px; padding: 25px; transition: 0.3s; }
.faq-item h5 { color: var(--green); margin-bottom: 12px; font-size: 18px; cursor: pointer; }
.faq-item p { color: var(--muted); font-size: 15px; margin-bottom: 0; }
.faq-item:hover { border-color: rgba(0,200,150,0.5); background: rgba(15, 23, 42, 0.8); }

/* --- Floating Button --- */
.wa-float {
  position: fixed; bottom: 35px; right: 35px; z-index: 2000;
  width: 65px; height: 65px; background: #25D366;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  transition: 0.3s;
}
.wa-float:hover { transform: scale(1.1) rotate(10deg); }
.wa-float img { width: 35px; }

/* --- Footer --- */
footer.nse-footer { padding: 100px 20px 50px; background: #03060C; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 60px; justify-content: space-between; }
.footer-brand img { height: 50px; margin-bottom: 25px; }
.footer-brand p { color: var(--muted); max-width: 380px; font-size: 15px; }
.footer-col h5 { color: var(--green); margin-bottom: 25px; font-size: 20px; }
.footer-col ul li { list-style: none; margin-bottom: 15px; }
.footer-col ul li a { color: var(--muted); text-decoration: none; transition: 0.3s; }
.footer-col ul li a:hover { color: var(--green); padding-left: 5px; }
.footer-bottom { margin-top: 60px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.05); text-align: center; color: var(--muted); font-size: 14px; }
.footer-bottom span { color: var(--green); font-weight: 700; }

@media (max-width: 991px) {
  .hero-title { font-size: 48px; }
  .section { padding: 80px 20px; }
}

@media (max-width: 768px) {
  /* --- Navigation --- */
  .nav-inner { flex-direction: column; gap: 15px; }
  .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .nav-links a { margin-left: 0; font-size: 12px; }
  .nav-cta { margin-top: 10px; width: 100%; text-align: center; }

  /* --- Hero --- */
  .hero { padding: 60px 20px; }
  .hero-inner { flex-direction: column; text-align: center; gap: 30px; }
  .hero-title { font-size: 36px; }
  .hero-desc { margin: 0 auto 30px; }
  .hero-actions { display: flex; flex-direction: column; gap: 15px; }
  .btn-outline { margin-left: 0; }
  
  .hero-stats { flex-direction: column; }
  .stat-box { width: 100%; }

  .hero-image img { max-width: 300px; }

  /* --- Sections --- */
  .section { padding: 60px 20px; }
  .section-title { font-size: 32px; }
  .section-sub { font-size: 15px; }

  /* --- Grids & Cards --- */
  .about-grid, .mission-grid, .contact-grid { grid-template-columns: 1fr; }
  .course-card, .contact-card { width: 100%; max-width: 400px; margin: 0 auto; }
  
  .social-row { flex-direction: column; align-items: stretch; }
  .social-btn { justify-content: center; }

  /* --- Footer --- */
  footer.nse-footer { padding: 60px 20px 30px; }
  .footer-inner { flex-direction: column; gap: 40px; text-align: center; }
  .footer-brand p { margin: 0 auto; }
  .footer-col h5 { margin-bottom: 15px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .section-title { font-size: 28px; }
  .wa-float { width: 55px; height: 55px; bottom: 20px; right: 20px; }
  .wa-float img { width: 28px; }
}

