/* ============================================
   KUNAL BOTHRA - SEBI Registered Research Analyst
   Website Stylesheet - 2025 Modern Design
   Color Theme: Teal + Dark Blue + Navy + Yellow Accent
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --primary: #00bfa5;
  --primary-dark: #009688;
  --primary-light: #b2dfdb;
  --secondary: #1a237e;
  --secondary-light: #3949ab;
  --accent: #ffc107;
  --accent-dark: #ff8f00;
  --dark: #0d1b2a;
  --dark-2: #1b2838;
  --dark-3: #243447;
  --light: #f8f9fa;
  --light-2: #e9ecef;
  --white: #ffffff;
  --gray: #6c757d;
  --gray-light: #adb5bd;
  --text-dark: #212529;
  --text-light: #ced4da;
  --success: #28a745;
  --danger: #dc3545;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.25);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --font-main: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-heading: 'Poppins', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
}

/* ---- Utility Classes ---- */
.container {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-light {
  background: var(--light);
}

.section-navy {
  background: var(--secondary);
  color: var(--white);
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-secondary { color: var(--secondary); }
.text-gray { color: var(--gray); }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
  text-align: center;
  justify-content: center;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 191, 165, 0.4);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--secondary-light);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-outline-light:hover {
  background: var(--white);
  color: var(--dark);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: var(--dark);
}

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
}

/* ---- Stock Ticker ---- */
.stock-ticker {
  background: var(--dark);
  color: var(--primary);
  padding: 6px 0;
  font-size: 13px;
  font-family: var(--font-mono);
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 191, 165, 0.2);
}

.ticker-wrap {
  display: flex;
  animation: ticker-scroll 40s linear infinite;
}

.ticker-wrap:hover {
  animation-play-state: paused;
}

.ticker-item {
  white-space: nowrap;
  padding: 0 30px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticker-item .symbol {
  font-weight: 700;
  color: var(--white);
}

.ticker-item .price {
  color: var(--text-light);
}

.ticker-item .change-up {
  color: var(--success);
}

.ticker-item .change-down {
  color: var(--danger);
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Live Ticker Enhancements ---- */
/* Info bar removed - only rates shown, no DELAYED/MARKET CLOSED/Updated text */

/* Ticker Item Update Flash */
.ticker-updated {
  animation: tickerFlash 0.6s ease;
}

@keyframes tickerFlash {
  0% { background: rgba(0, 191, 165, 0.15); }
  100% { background: transparent; }
}

/* Ticker price change animation */
.ticker-item .price {
  transition: color 0.3s ease;
}

.ticker-item.flash-up .price {
  color: var(--success) !important;
  text-shadow: 0 0 6px rgba(40, 167, 69, 0.4);
}

.ticker-item.flash-down .price {
  color: var(--danger) !important;
  text-shadow: 0 0 6px rgba(220, 53, 69, 0.4);
}

/* ---- Header / Navbar ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 22px;
  color: var(--secondary);
}

.nav-logo .logo-icon {
  width: 44px;
  height: 44px;
  background: var(--secondary);
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
}

.nav-logo span {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  padding: 8px 14px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: rgba(0, 191, 165, 0.08);
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-actions .btn {
  padding: 8px 20px;
  font-size: 13px;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: ' \f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 11px;
  margin-left: 4px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

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

.dropdown-menu a {
  padding: 10px 20px;
  display: block;
  font-size: 13px;
}

.dropdown-menu a:hover {
  background: var(--light);
}

/* ---- Hero Section ---- */
.hero {
  background: var(--dark);
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
  width: 100%;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 191, 165, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(26, 35, 126, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 60% 80%, rgba(255, 193, 7, 0.08) 0%, transparent 50%);
  z-index: 1;
}

/* Animated grid background */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 191, 165, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 191, 165, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 191, 165, 0.15);
  border: 1px solid rgba(0, 191, 165, 0.3);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-badge i {
  font-size: 10px;
}

.hero h1 {
  font-size: 52px;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.15;
}

.hero h1 .highlight {
  color: var(--primary);
}

.hero .subtitle {
  font-size: 18px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.hero .description {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 520px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-reg-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 420px;
}

.hero-reg-info .reg-label {
  font-size: 11px;
  color: var(--gray-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-reg-info .reg-number {
  font-size: 14px;
  font-family: var(--font-mono);
  color: var(--primary);
  font-weight: 600;
}

.hero-reg-info .reg-disclaimer {
  font-size: 11px;
  color: var(--gray);
  margin-top: 4px;
}

/* Hero Visual - Chart Card */
.hero-visual {
  position: relative;
}

.chart-card {
  background: var(--dark-2);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 191, 165, 0.2);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

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

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.chart-header .symbol {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.chart-header .price-info {
  text-align: right;
}

.chart-header .price {
  font-size: 22px;
  font-weight: 700;
  color: var(--success);
}

.chart-header .change {
  font-size: 13px;
  color: var(--success);
}

.chart-svg {
  width: 100%;
  height: 160px;
}

.chart-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.chart-stat {
  text-align: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
}

.chart-stat .label {
  font-size: 10px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.chart-stat .value {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-mono);
}

/* Floating Elements */
.float-badge {
  position: absolute;
  background: var(--dark-2);
  border: 1px solid rgba(0, 191, 165, 0.2);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 3s ease-in-out infinite;
  z-index: 3;
}

.float-badge-1 {
  top: 20px;
  right: -20px;
}

.float-badge-2 {
  bottom: 40px;
  left: -30px;
  animation-delay: 1.5s;
}

.float-badge .icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.float-badge .icon.green {
  background: rgba(40, 167, 69, 0.2);
  color: var(--success);
}

.float-badge .icon.yellow {
  background: rgba(255, 193, 7, 0.2);
  color: var(--accent);
}

.float-badge .text {
  font-size: 12px;
  color: var(--white);
  font-weight: 600;
}

.float-badge .text small {
  display: block;
  font-size: 10px;
  color: var(--gray);
  font-weight: 400;
}

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

/* ---- Quick Links Bar (RA, MITC, SCORES, ODR) ---- */
.quick-links {
  background: var(--white);
  padding: 0;
  border-bottom: 1px solid var(--light-2);
}

.quick-links .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.quick-link-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 20px;
  border-right: 1px solid var(--light-2);
  transition: var(--transition);
  cursor: pointer;
}

.quick-link-item:last-child {
  border-right: none;
}

.quick-link-item:hover {
  background: var(--light);
}

.quick-link-item .icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.quick-link-item:nth-child(1) .icon { background: rgba(0, 191, 165, 0.12); color: var(--primary); }
.quick-link-item:nth-child(2) .icon { background: rgba(26, 35, 126, 0.12); color: var(--secondary); }
.quick-link-item:nth-child(3) .icon { background: rgba(255, 193, 7, 0.12); color: var(--accent-dark); }
.quick-link-item:nth-child(4) .icon { background: rgba(40, 167, 69, 0.12); color: var(--success); }

.quick-link-item h4 {
  font-size: 14px;
  color: var(--secondary);
  margin-bottom: 2px;
}

.quick-link-item p {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.4;
}

/* ---- Section Titles ---- */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title .overline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title .overline::before,
.section-title .overline::after {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.section-title h2 {
  font-size: 38px;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-dark .section-title h2 {
  color: var(--white);
}

.section-title p {
  font-size: 16px;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-title p {
  color: var(--text-light);
}

/* ---- Stats Counter ---- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  padding: 30px 20px;
}

.stat-item .stat-icon {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 12px;
}

.stat-item .stat-number {
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-mono);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item .stat-number .suffix {
  font-size: 24px;
  color: var(--primary);
}

.stat-item .stat-label {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}

/* ---- Services / Products Cards ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--light-2);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.service-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(0, 191, 165, 0.1), rgba(26, 35, 126, 0.1));
  color: var(--primary);
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.service-card p {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.7;
}

.service-card .features-list {
  margin-bottom: 20px;
}

.service-card .features-list li {
  font-size: 13px;
  color: var(--text-dark);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card .features-list li i {
  color: var(--primary);
  font-size: 11px;
}

.service-card .card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
}

.service-card .card-price .amount {
  font-size: 28px;
  font-weight: 800;
  color: var(--secondary);
}

.service-card .card-price .period {
  font-size: 13px;
  color: var(--gray);
}

/* ---- Why Choose Us ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--dark-2);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 191, 165, 0.1);
  transition: var(--transition);
}

.why-card:hover {
  border-color: rgba(0, 191, 165, 0.3);
  transform: translateY(-3px);
}

.why-card .icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  background: rgba(0, 191, 165, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.why-card h4 {
  font-size: 17px;
  color: var(--white);
  margin-bottom: 6px;
}

.why-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ---- No Guarantee Section ---- */
.no-guarantee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.no-guarantee-item {
  background: var(--dark-2);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid rgba(220, 53, 69, 0.15);
  transition: var(--transition);
}

.no-guarantee-item:hover {
  border-color: rgba(220, 53, 69, 0.3);
}

.no-guarantee-item .icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(220, 53, 69, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--danger);
  margin: 0 auto 16px;
}

.no-guarantee-item h4 {
  font-size: 15px;
  color: var(--white);
  margin-bottom: 8px;
}

.no-guarantee-item p {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
}

.no-guarantee-item .tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 50px;
  margin-top: 10px;
}

.tag-prohibited { background: rgba(220, 53, 69, 0.2); color: var(--danger); }
.tag-not-allowed { background: rgba(255, 152, 0, 0.2); color: var(--accent-dark); }
.tag-not-promised { background: rgba(108, 117, 125, 0.3); color: var(--gray-light); }

/* ---- Complaint Data Table ---- */
.complaint-section {
  background: var(--dark-2);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 191, 165, 0.15);
  overflow: hidden;
}

.complaint-header {
  padding: 20px 28px;
  background: rgba(0, 191, 165, 0.08);
  border-bottom: 1px solid rgba(0, 191, 165, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.complaint-header h3 {
  font-size: 18px;
  color: var(--white);
}

.complaint-header .update-date {
  font-size: 12px;
  color: var(--primary);
  font-family: var(--font-mono);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  background: rgba(0, 191, 165, 0.05);
  border-bottom: 1px solid rgba(0, 191, 165, 0.15);
  font-weight: 600;
}

.data-table td {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table .total-row {
  background: rgba(0, 191, 165, 0.05);
  font-weight: 700;
}

.data-table .total-row td {
  color: var(--white);
}

/* ---- SEBI Disclaimer Bar ---- */
.sebi-disclaimer {
  background: var(--secondary);
  color: var(--white);
  padding: 14px 0;
  font-size: 12px;
  text-align: center;
  line-height: 1.6;
}

.sebi-disclaimer i {
  color: var(--accent);
  margin-right: 6px;
}

/* ---- Testimonials ---- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--light-2);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.testimonial-card .stars {
  color: var(--accent);
  margin-bottom: 12px;
  font-size: 14px;
}

.testimonial-card .quote {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card .author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.testimonial-card .author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.testimonial-card .author-title {
  font-size: 12px;
  color: var(--gray);
}

/* ---- CTA Section ---- */
.cta-section {
  background: var(--dark);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 191, 165, 0.1) 0%, transparent 70%);
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-size: 38px;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
}

/* ---- Footer ---- */
.footer {
  background: var(--dark);
  color: var(--text-light);
  padding: 60px 0 0;
  border-top: 3px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand .footer-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--secondary);
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
}

.footer-brand .footer-logo .name {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.footer-brand .footer-logo .name span {
  color: var(--primary);
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 16px;
}

.footer-brand .sebi-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 191, 165, 0.1);
  border: 1px solid rgba(0, 191, 165, 0.2);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
}

.footer h4 {
  font-size: 15px;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-links a {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  color: var(--gray);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.footer-links a i {
  margin-right: 6px;
  font-size: 10px;
  color: var(--primary);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 13px;
}

.footer-contact-item i {
  color: var(--primary);
  margin-top: 3px;
  width: 16px;
  text-align: center;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dark-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 14px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* Footer Disclaimer */
.footer-disclaimer {
  background: var(--dark-2);
  padding: 20px 0;
  margin-top: 40px;
}

.footer-disclaimer p {
  font-size: 11px;
  color: var(--gray);
  line-height: 1.7;
  text-align: center;
}

/* Footer Bottom */
.footer-bottom {
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--gray);
}

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

.footer-bottom-links a {
  color: var(--gray);
  font-size: 12px;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ---- Page Header (For internal pages) ---- */
.page-header {
  background: var(--dark);
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 30% 50%, rgba(0, 191, 165, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(26, 35, 126, 0.15) 0%, transparent 50%);
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header .breadcrumb {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 16px;
}

.page-header .breadcrumb a {
  color: var(--primary);
}

.page-header h1 {
  font-size: 40px;
  color: var(--white);
  margin-bottom: 12px;
}

.page-header p {
  font-size: 16px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ---- Content Page Layout ---- */
.content-page {
  padding: 60px 0;
}

.content-page .container {
  max-width: 90%;
}

.content-page h2 {
  font-size: 26px;
  color: var(--secondary);
  margin: 36px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-2);
}

.content-page h3 {
  font-size: 20px;
  color: var(--text-dark);
  margin: 28px 0 12px;
}

.content-page p {
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.8;
}

.content-page ul, .content-page ol {
  margin: 12px 0 16px 20px;
}

.content-page ul li, .content-page ol li {
  font-size: 14px;
  color: var(--text-dark);
  padding: 4px 0;
  line-height: 1.7;
}

.content-page ul {
  list-style: disc;
}

.content-page ol {
  list-style: decimal;
}

.content-page .highlight-box {
  background: var(--light);
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 20px 0;
}

.content-page .highlight-box p {
  margin-bottom: 0;
}

.content-page .warning-box {
  background: #fff3cd;
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 20px 0;
}

.content-page .danger-box {
  background: #f8d7da;
  border-left: 4px solid var(--danger);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 20px 0;
}

/* Escalation Matrix */
.escalation-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.escalation-step {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  position: relative;
}

.escalation-step .step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin: 0 auto 12px;
}

.escalation-step h4 {
  font-size: 16px;
  color: var(--secondary);
  margin-bottom: 8px;
}

.escalation-step p {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 0;
}

.escalation-step .step-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
}

/* Contact Card in Grievance */
.contact-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.contact-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  background: var(--secondary);
  font-weight: 600;
}

.contact-table td {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-dark);
  border-bottom: 1px solid var(--light-2);
}

/* Quick Nav (Side) */
.quick-nav {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 30px;
}

.quick-nav h4 {
  font-size: 14px;
  color: var(--secondary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.quick-nav a {
  display: block;
  padding: 6px 0;
  font-size: 13px;
  color: var(--primary);
  border-bottom: 1px solid var(--light-2);
}

.quick-nav a:last-child {
  border-bottom: none;
}

.quick-nav a:hover {
  color: var(--primary-dark);
  padding-left: 4px;
}

/* ---- WhatsApp Float Button ---- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--white);
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
}

/* ---- Scroll to Top ---- */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 90px;
  width: 44px;
  height: 44px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* ---- Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .no-guarantee-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 20px 30px;
    gap: 0;
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    overflow-y: auto;
  }

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

  .nav-menu a {
    padding: 12px 16px;
    border-bottom: 1px solid var(--light-2);
    width: 100%;
  }

  .nav-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 20px;
    display: none;
  }

  .nav-dropdown.open .dropdown-menu {
    display: block;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero h1 { font-size: 32px; }
  .hero .subtitle { font-size: 15px; }

  .quick-links .container {
    grid-template-columns: 1fr 1fr;
  }

  .quick-link-item {
    border-right: none;
    border-bottom: 1px solid var(--light-2);
  }

  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .no-guarantee-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .escalation-matrix { grid-template-columns: 1fr; }
  .section { padding: 50px 0; }
  .section-title h2 { font-size: 28px; }

  .float-badge { display: none; }

  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; }
  .cta-btns { flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
  .quick-links .container { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .no-guarantee-grid { grid-template-columns: 1fr; }
  .page-header h1 { font-size: 28px; }
}

/* ---- Live Ticker Responsive ---- */
/* Info bar styles removed - only rates shown */

/* ---- Print Styles ---- */
@media print {
  .navbar, .stock-ticker, .whatsapp-float, .scroll-top, .footer-social {
    display: none !important;
  }
  body { color: #000; background: #fff; }
}


/* ============================================
   PHP-SPECIFIC STYLES - Courses, Webinars, Auth, Payment
   These styles are needed by the PHP application pages
   that don't exist in the original static website
   ============================================ */

/* ---- Button Variants (PHP additions) ---- */
.btn-danger {
  background: var(--danger);
  color: var(--white);
}

.btn-danger:hover {
  background: #c82333;
  transform: translateY(-2px);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ---- User Dropdown Toggle ---- */
.user-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--secondary) !important;
}

.user-dropdown-toggle i {
  font-size: 18px;
  color: var(--primary);
}

/* ---- Dropdown Menu Right ---- */
.dropdown-menu-right {
  right: 0;
  left: auto;
}

/* ---- Course & Webinar Cards ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.course-card, .webinar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--light-2);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.course-card:hover, .webinar-card:hover {
  border-color: transparent;
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--light);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .card-image img,
.webinar-card:hover .card-image img {
  transform: scale(1.08);
}

.card-image .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-category {
  background: rgba(0, 191, 165, 0.9);
  color: var(--white);
}

.badge-availability {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-upcoming {
  background: rgba(255, 193, 7, 0.9);
  color: var(--dark);
}

.badge-live {
  background: rgba(220, 53, 69, 0.9);
  color: var(--white);
  animation: pulse-badge 1.5s infinite;
}

.badge-recorded {
  background: rgba(108, 117, 125, 0.9);
  color: var(--white);
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(220, 53, 69, 0); }
}

.card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body .card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-body .card-title a {
  color: var(--text-dark);
}

.card-body .card-title a:hover {
  color: var(--primary);
}

.card-body .card-subtitle {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-skills {
  font-size: 12px;
  color: var(--primary);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-skills i {
  margin-right: 4px;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 8px;
}

.card-meta i {
  color: var(--primary);
  width: 14px;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.card-rating .stars {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 1px;
}

.card-rating .rating-text {
  font-size: 13px;
  color: var(--gray);
}

.card-rating .rating-text strong {
  color: var(--text-dark);
}

.card-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.card-price-row .current-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-mono);
}

.card-price-row .original-price {
  font-size: 14px;
  color: var(--gray);
  text-decoration: line-through;
}

.card-price-row .free-label {
  font-size: 20px;
  font-weight: 800;
  color: var(--success);
}

.card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.card-tags .tag {
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  text-transform: capitalize;
}

.tag-basic {
  background: rgba(40, 167, 69, 0.15);
  color: var(--success);
}

.tag-intermediate {
  background: rgba(255, 193, 7, 0.15);
  color: var(--accent);
}

.tag-advanced {
  background: rgba(220, 53, 69, 0.15);
  color: var(--danger);
}

.tag-self-paced {
  background: rgba(0, 191, 165, 0.15);
  color: var(--primary);
}

.tag-live {
  background: rgba(220, 53, 69, 0.15);
  color: var(--danger);
}

.tag-recorded {
  background: rgba(108, 117, 125, 0.2);
  color: var(--gray-light);
}

.tag-live-and-self-paced {
  background: rgba(26, 35, 126, 0.2);
  color: var(--secondary-light);
}

.card-footer-btn {
  margin-top: auto;
}

.card-footer-btn .btn {
  width: 100%;
}

/* ---- Listing Page Layout ---- */
.listing-page {
  padding: 40px 0 80px;
  background: var(--light);
  min-height: 60vh;
}

.listing-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
}

/* Filter Sidebar */
.filter-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-2);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow-sm);
}

.filter-sidebar h3 {
  font-size: 16px;
  color: var(--secondary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-sidebar h3 i {
  color: var(--primary);
}

.filter-group {
  margin-bottom: 20px;
}

.filter-group h4 {
  font-size: 13px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0, 191, 165, 0.15);
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-dark);
  transition: var(--transition);
}

.filter-option:hover {
  color: var(--primary);
}

.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
  accent-color: var(--primary);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.filter-option .count {
  margin-left: auto;
  font-size: 11px;
  color: var(--gray);
  background: var(--light);
  padding: 1px 8px;
  border-radius: 50px;
}

.filter-clear {
  display: inline-block;
  font-size: 12px;
  color: var(--danger);
  cursor: pointer;
  margin-top: 10px;
  transition: var(--transition);
}

.filter-clear:hover {
  color: var(--accent-dark);
}

/* Search Bar */
.search-bar {
  margin-bottom: 24px;
}

.search-bar .search-input-wrap {
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  background: var(--white);
  border: 1px solid var(--light-2);
  border-radius: var(--radius-lg);
  color: var(--text-dark);
  font-size: 14px;
  font-family: var(--font-main);
  transition: var(--transition);
}

.search-bar input::placeholder {
  color: var(--gray);
}

.search-bar input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 191, 165, 0.15);
}

.search-bar .search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
  font-size: 14px;
}

/* Mobile Filter Toggle */
.filter-toggle-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid var(--light-2);
  border-radius: var(--radius);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 20px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.filter-toggle-btn:hover {
  border-color: var(--primary);
}

.filter-toggle-btn i {
  font-size: 16px;
}

/* Results Header */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.results-header .results-count {
  font-size: 14px;
  color: var(--gray);
}

.results-header .results-count strong {
  color: var(--text-dark);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
}

.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.pagination a {
  background: var(--white);
  color: var(--text-dark);
  border: 1px solid var(--light-2);
  box-shadow: var(--shadow-sm);
}

.pagination a:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.pagination .active {
  background: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
}

.pagination .disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ---- Detail Page ---- */
.detail-hero {
  background: var(--dark);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.detail-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 30% 50%, rgba(0, 191, 165, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(26, 35, 126, 0.15) 0%, transparent 50%);
}

.detail-hero .container {
  position: relative;
  z-index: 2;
}

.detail-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.detail-hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 191, 165, 0.2);
}

.detail-hero-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.detail-hero-info .breadcrumb {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 16px;
}

.detail-hero-info .breadcrumb a {
  color: var(--primary);
}

.detail-hero-info .breadcrumb a:hover {
  text-decoration: underline;
}

.detail-hero-info h1 {
  font-size: 32px;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}

.detail-hero-info .subtitle {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.detail-hero-info .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}

.detail-hero-info .meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-light);
}

.detail-hero-info .meta-item i {
  color: var(--primary);
}

.detail-hero-info .rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.detail-hero-info .rating-row .stars {
  color: var(--accent);
  font-size: 16px;
}

.detail-hero-info .rating-row .rating-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.detail-hero-info .rating-row .rating-count {
  font-size: 13px;
  color: var(--gray);
}

.detail-hero-info .enrolled-count {
  font-size: 13px;
  color: var(--gray-light);
}

.detail-hero-info .enrolled-count i {
  color: var(--primary);
}

/* Detail Content Layout */
.detail-content-area {
  padding: 40px 0 80px;
  background: var(--light);
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 30px;
  align-items: start;
}

.detail-main {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.detail-main h2 {
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-2);
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-main h2 i {
  color: var(--primary);
  font-size: 20px;
}

.detail-main h3 {
  font-size: 18px;
  color: var(--dark);
  margin: 24px 0 12px;
}

.detail-main p {
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.8;
}

.detail-main ul {
  margin: 12px 0 16px 20px;
  list-style: disc;
}

.detail-main ul li {
  font-size: 14px;
  color: var(--text-dark);
  padding: 4px 0;
  line-height: 1.7;
}

.detail-main .learn-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
}

.detail-main .learn-item i {
  color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
}

.detail-main .learn-item span {
  font-size: 14px;
  color: var(--text-dark);
}

/* Curriculum Section */
.curriculum-list {
  margin-top: 12px;
}

.curriculum-item {
  background: var(--light);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.curriculum-item i {
  color: var(--primary);
}

.curriculum-item span {
  font-size: 14px;
  color: var(--text-dark);
}

/* Sidebar Price Card */
.detail-sidebar {
  position: sticky;
  top: 100px;
}

.price-card {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(0, 191, 165, 0.2);
  box-shadow: var(--shadow-lg);
}

.price-card .price-display {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.price-card .price-display .current-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-mono);
}

.price-card .price-display .original-price {
  font-size: 18px;
  color: var(--gray);
  text-decoration: line-through;
}

.price-card .price-display .free-label {
  font-size: 28px;
  font-weight: 800;
  color: var(--success);
}

.price-card .discount-note {
  font-size: 12px;
  color: var(--success);
  margin-bottom: 20px;
}

.price-card .enroll-btn {
  width: 100%;
  margin-bottom: 16px;
}

.price-card .course-info-list {
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
}

.price-card .info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.price-card .info-item:last-child {
  border-bottom: none;
}

.price-card .info-item .info-label {
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-card .info-item .info-label i {
  color: var(--primary);
  width: 16px;
  text-align: center;
}

.price-card .info-item .info-value {
  color: var(--white);
  font-weight: 600;
}

/* Related Courses Section */
.related-section {
  padding: 60px 0;
  background: var(--dark);
}

.related-section .section-title h2 {
  color: var(--white);
  font-size: 28px;
}

/* ---- Auth Pages ---- */
.auth-page {
  background: var(--dark);
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
}

.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
}

.auth-card .auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-card .auth-header .auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.auth-card .auth-header .auth-logo .logo-icon {
  width: 44px;
  height: 44px;
  background: var(--secondary);
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
}

.auth-card .auth-header .auth-logo span {
  font-size: 20px;
  font-weight: 800;
  color: var(--secondary);
}

.auth-card .auth-header .auth-logo span em {
  font-style: normal;
  color: var(--primary);
}

.auth-card .auth-header h2 {
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.auth-card .auth-header p {
  font-size: 14px;
  color: var(--gray);
}

/* ---- Form Styles ---- */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group label .required {
  color: var(--danger);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--light-2);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font-main);
  color: var(--text-dark);
  transition: var(--transition);
  background: var(--white);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 191, 165, 0.12);
}

.form-control::placeholder {
  color: var(--gray-light);
}

.form-group.has-error .form-control {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-error {
  font-size: 12px;
  color: var(--danger);
  margin-top: 4px;
  display: none;
}

.form-group.has-error .form-error {
  display: block;
}

.input-group {
  position: relative;
}

.input-group .toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
  cursor: pointer;
  background: none;
  border: none;
  font-size: 14px;
  padding: 4px;
}

.input-group .toggle-password:hover {
  color: var(--primary);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 16px;
}

.form-check input[type="checkbox"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}

.form-check label {
  font-size: 13px;
  color: var(--gray);
  cursor: pointer;
}

.form-check label a {
  color: var(--primary);
  font-weight: 600;
}

.password-strength {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.strength-bar {
  flex: 1;
  height: 4px;
  background: var(--light-2);
  border-radius: 2px;
  transition: var(--transition);
}

.strength-bar.weak { background: var(--danger); }
.strength-bar.medium { background: var(--accent); }
.strength-bar.strong { background: var(--success); }

.strength-text {
  font-size: 11px;
  margin-top: 4px;
  color: var(--gray);
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--gray);
}

.auth-footer a {
  color: var(--primary);
  font-weight: 600;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--gray-light);
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--light-2);
}

/* ---- Alerts ---- */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 20px;
  display: none;
  align-items: center;
  gap: 10px;
}

.alert.show {
  display: flex;
}

.alert-success {
  background: rgba(40, 167, 69, 0.1);
  color: var(--success);
  border: 1px solid rgba(40, 167, 69, 0.2);
}

.alert-error {
  background: rgba(220, 53, 69, 0.1);
  color: var(--danger);
  border: 1px solid rgba(220, 53, 69, 0.2);
}

.alert-info {
  background: rgba(0, 191, 165, 0.1);
  color: var(--primary);
  border: 1px solid rgba(0, 191, 165, 0.2);
}

.alert-dismissible {
  position: relative;
}

.alert-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 20px;
  color: inherit;
  cursor: pointer;
  opacity: 0.6;
}

.alert-close:hover {
  opacity: 1;
}

/* ---- Payment Page ---- */
.payment-page {
  background: var(--dark);
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
}

.payment-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 520px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.payment-card .payment-header {
  margin-bottom: 30px;
}

.payment-card .payment-header h2 {
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.payment-card .payment-header p {
  font-size: 14px;
  color: var(--gray);
}

.payment-card .order-summary {
  background: var(--light);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
  text-align: left;
}

.payment-card .order-summary .item-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.payment-card .order-summary .item-type {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 12px;
}

.payment-card .order-summary .price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--light-2);
}

.payment-card .order-summary .price-row .amount {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}

/* ---- Success/Failed Page ---- */
.result-page {
  background: var(--dark);
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
}

.result-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  width: 100%;
  max-width: 520px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.result-card .result-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 24px;
}

.result-card .result-icon.success {
  background: rgba(40, 167, 69, 0.1);
  color: var(--success);
}

.result-card .result-icon.failed {
  background: rgba(220, 53, 69, 0.1);
  color: var(--danger);
}

.result-card h2 {
  font-size: 26px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.result-card p {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 8px;
}

.result-card .order-info {
  background: var(--light);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0;
  text-align: left;
}

.result-card .order-info .info-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
}

.result-card .order-info .info-row .label {
  color: var(--gray);
}

.result-card .order-info .info-row .value {
  color: var(--text-dark);
  font-weight: 600;
}

.result-card .result-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

/* ---- No Results ---- */
.no-results {
  text-align: center;
  padding: 60px 20px;
}

.no-results i {
  font-size: 48px;
  color: var(--gray);
  margin-bottom: 20px;
}

.no-results h3 {
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.no-results p {
  font-size: 14px;
  color: var(--gray);
}

/* ---- Loading Spinner ---- */
.btn.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.btn.loading::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---- Filter Overlay ---- */
.filter-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1001;
}

.filter-overlay.active {
  display: block;
}

/* ---- PHP-Specific Responsive Additions ---- */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-hero-inner { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .listing-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .cards-grid { grid-template-columns: 1fr; }
  .filter-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1002;
    border-radius: 0;
    overflow-y: auto;
  }

  .filter-sidebar.active {
    display: block;
  }

  .filter-toggle-btn {
    display: flex;
  }

  .detail-hero-info h1 { font-size: 24px; }

  .result-card .result-btns {
    flex-direction: column;
  }

  .auth-card {
    padding: 28px 20px;
  }

  .payment-card {
    padding: 28px 20px;
  }
}
