/* ==========================================================================
   RJ COMPUTERS - Production Stylesheet
   Website: rjcomputers.online
   Managed by Believers Capital
   Live Online Course Platform
   ========================================================================== */

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

/* --- CSS Variables & Design Tokens --- */
:root {
  --primary: #1e3a8a;        /* Deep Navy Blue */
  --primary-hover: #172554;  /* Darker Navy */
  --accent: #2563eb;         /* Modern Indigo / Blue Accent */
  --accent-hover: #1d4ed8;
  --accent-light: #eff6ff;   /* Soft Ice Blue */
  --secondary: #059669;      /* Success / Live Green */
  --secondary-light: #ecfdf5;
  --live-red: #dc2626;       /* Live Badge Red */
  --live-red-light: #fef2f2;
  --dark: #0f172a;           /* Dark Slate 900 */
  --text-main: #1e293b;      /* Slate 800 */
  --text-muted: #64748b;     /* Slate 500 */
  --text-light: #94a3b8;     /* Slate 400 */
  --bg-main: #ffffff;
  --bg-alt: #f8fafc;         /* Light Slate 50 */
  --bg-card: #ffffff;
  --border: #e2e8f0;         /* Slate 200 */
  --border-focus: #3b82f6;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.05);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container-max: 1200px;
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-main);
  background-color: var(--bg-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Focus outline for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}

/* --- Layout Container & Section Utilities --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.125rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-live {
  background-color: var(--live-red-light);
  color: var(--live-red);
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.badge-live-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--live-red);
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.badge-blue {
  background-color: var(--accent-light);
  color: var(--accent);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.badge-green {
  background-color: var(--secondary-light);
  color: var(--secondary);
  border: 1px solid rgba(5, 150, 105, 0.2);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.6875rem 1.375rem;
  border-radius: var(--radius);
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.4375rem 0.875rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.875rem 1.875rem;
  font-size: 1.0625rem;
  border-radius: var(--radius);
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
  transform: translateY(-1px);
}

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

.btn-dark:hover {
  background-color: var(--primary);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background-color: var(--accent-light);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.btn-success {
  background-color: var(--secondary);
  color: #ffffff;
}

.btn-success:hover {
  background-color: #047857;
}

.btn-block {
  width: 100%;
}

/* --- Top Announcement Bar --- */
.top-bar {
  background-color: var(--dark);
  color: #cbd5e1;
  font-size: 0.8125rem;
  padding: 0.4375rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar a:hover {
  color: #ffffff;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

/* --- Navigation Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
  gap: 1.5rem;
}

/* Brand Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.1875rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.brand-subtitle {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Nav Menu */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.5rem 0.25rem;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
  border-radius: var(--radius-full);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

/* Hamburger Toggle */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 32px;
  padding: 4px;
  border-radius: var(--radius-sm);
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--dark);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer Overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  z-index: 101;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.is-open {
  display: block;
  opacity: 1;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85%;
  height: 100%;
  background-color: var(--bg-main);
  z-index: 102;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-drawer.is-open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}

.drawer-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 1.5rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background-color: var(--accent-light);
  color: var(--accent);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* --- Hero Section --- */
.hero {
  padding: 4.5rem 0 5rem 0;
  background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.05), transparent 40%),
              radial-gradient(circle at bottom left, rgba(5, 150, 105, 0.04), transparent 40%),
              var(--bg-main);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  max-width: 600px;
}

.hero-badge-wrap {
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: var(--accent);
}

.hero-lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-main);
  font-weight: 500;
}

.trust-item svg {
  color: var(--secondary);
  flex-shrink: 0;
}

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

.hero-card-preview {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--live-red);
  background-color: var(--live-red-light);
  padding: 0.3125rem 0.75rem;
  border-radius: var(--radius-full);
}

.live-indicator .pulse {
  width: 8px;
  height: 8px;
  background-color: var(--live-red);
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}

.hero-screen-mockup {
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border-radius: var(--radius);
  color: #ffffff;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  position: relative;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  color: #94a3b8;
}

.mockup-status {
  color: #34d399;
  font-weight: 600;
}

.mockup-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.mockup-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8125rem;
  color: #cbd5e1;
}

.hero-floating-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-alt);
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.stat-group {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-val {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--dark);
}

/* --- Course Card Component --- */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.course-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.course-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f1f5f9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-thumb-wrap svg, .course-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.course-card:hover .course-thumb-wrap svg,
.course-card:hover .course-thumb-wrap img {
  transform: scale(1.03);
}

.course-thumb-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.course-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.course-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.course-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.course-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.8125rem;
}

.rating-box {
  display: flex;
  align-items: center;
  gap: 0.3125rem;
}

.stars {
  color: #f59e0b; /* Amber 500 */
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.rating-score {
  font-weight: 700;
  color: var(--dark);
  margin-left: 0.125rem;
}

.students-count {
  color: var(--text-muted);
  font-weight: 500;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.price-box {
  display: flex;
  flex-direction: column;
}

.price-current {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
}

.price-original {
  font-size: 0.8125rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.course-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --- Benefit Cards (Why Choose Us) --- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.75rem;
}

.benefit-card {
  background-color: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background-color: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.benefit-card:nth-child(2) .benefit-icon {
  background-color: var(--secondary-light);
  color: var(--secondary);
}

.benefit-card:nth-child(3) .benefit-icon {
  background-color: #fef3c7;
  color: #d97706;
}

.benefit-card:nth-child(4) .benefit-icon {
  background-color: #f3e8ff;
  color: #7e22ce;
}

.benefit-title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.625rem;
}

.benefit-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- How It Works Steps --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.step-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
  text-align: center;
}

.step-number {
  font-size: 2.25rem;
  font-weight: 900;
  color: #e2e8f0;
  line-height: 1;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.step-card:hover .step-number {
  color: var(--accent);
}

.step-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --- Learning Benefits Section --- */
.learning-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.checklist-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--secondary-light);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.checklist-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.checklist-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.benefits-card-highlight {
  background: linear-gradient(135deg, #1e3a8a, #0f172a);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.benefits-card-highlight h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.benefits-card-highlight p {
  color: #cbd5e1;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.live-highlights-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
}

/* --- Student Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.testimonial-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.testimonial-quote {
  font-size: 0.9375rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: normal;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--dark);
}

.author-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- FAQ Accordion --- */
.faq-container {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-item.is-open {
  border-color: var(--accent);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--dark);
  background: none;
  gap: 1rem;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.faq-item.is-open .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem 1.5rem;
}

/* --- Final Call To Action Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--dark), var(--primary));
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.3), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-desc {
  font-size: 1.125rem;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 2.25rem auto;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  background-color: #0b1120;
  color: #94a3b8;
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.3fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand .brand-name {
  color: #ffffff;
}

.footer-brand .brand-subtitle {
  color: #94a3b8;
}

.footer-bio {
  margin: 1.25rem 0;
  line-height: 1.6;
  font-size: 0.875rem;
  color: #94a3b8;
}

.footer-badges {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: #cbd5e1;
}

.footer-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.5;
}

.footer-contact-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: #64748b;
}

.footer-bottom a {
  color: #94a3b8;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Page Specific: Courses Catalog (courses.html)
   ========================================================================== */
.catalog-header {
  padding: 3.5rem 0 2.5rem 0;
  background-color: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  background-color: var(--bg-card);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.filter-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 260px;
}

.search-input-wrap input {
  width: 100%;
  padding: 0.625rem 1rem 0.625rem 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--bg-alt);
  font-size: 0.875rem;
  color: var(--text-main);
  transition: var(--transition);
}

.search-input-wrap input:focus {
  background-color: #ffffff;
  border-color: var(--border-focus);
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 0.875rem;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}

.sort-select-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sort-select-wrap label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.sort-select {
  padding: 0.625rem 1.75rem 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--bg-alt);
  font-size: 0.875rem;
  color: var(--text-main);
  cursor: pointer;
}

.category-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.pill-btn {
  padding: 0.4375rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background-color: var(--bg-alt);
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.pill-btn:hover {
  background-color: #e2e8f0;
  color: var(--dark);
}

.pill-btn.is-active {
  background-color: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.catalog-count-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.no-results-msg {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Page Specific: Course Details (course-details.php & course-details.html)
   ========================================================================== */
.course-details-container {
  width: 100%;
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 1.25rem;
}

.breadcrumbs a {
  color: #cbd5e1;
  font-weight: 500;
}

.breadcrumbs a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.breadcrumbs span {
  color: #64748b;
}

.breadcrumbs .breadcrumb-current {
  color: #ffffff;
  font-weight: 600;
}

.course-details-hero {
  background: linear-gradient(135deg, #0f172a 0%, #172554 100%);
  color: #ffffff;
  padding: 3rem 0 3.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.course-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(390px, 1fr);
  gap: 2.75rem;
  align-items: start;
}

.course-headline {
  display: flex;
  flex-direction: column;
}

.course-badge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 1rem;
}

.course-category-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: #93c5fd;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.course-headline h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.course-lead-desc {
  font-size: 1.0625rem;
  color: #e2e8f0;
  line-height: 1.65;
  margin-bottom: 1rem;
  max-width: 68ch;
}

.course-sub-desc {
  font-size: 0.96875rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 68ch;
}

.course-stats-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: #f1f5f9;
  margin-bottom: 1.75rem;
}

.course-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
}

.course-stat-chip svg {
  color: #60a5fa;
  flex-shrink: 0;
}

/* Left Column Hero Highlights Panel */
.hero-highlights-panel {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.hero-highlights-title {
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #93c5fd;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.25rem;
}

.hero-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: #e2e8f0;
  line-height: 1.5;
}

.hero-highlight-item svg {
  color: #34d399;
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-highlight-item strong {
  color: #ffffff;
  font-weight: 600;
}

.hero-trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  color: #cbd5e1;
}

.hero-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-trust-pill strong {
  color: #ffffff;
}

/* Right Column: Course Purchase & Checkout Card */
.enrollment-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  color: var(--text-main);
  width: 100%;
}

.enrollment-card-banner {
  background: linear-gradient(90deg, #047857 0%, #059669 100%);
  color: #ffffff;
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.enrollment-card-banner-left {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
}

.enrollment-card-banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a7f3d0;
  box-shadow: 0 0 8px #ffffff;
}

.enrollment-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #f1f5f9;
  position: relative;
}

.enrollment-card-body {
  padding: 1.75rem;
}

.enrollment-price-header {
  padding-bottom: 1.125rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.enrollment-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.375rem;
}

.enrollment-price-current {
  font-size: 2.125rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.enrollment-price-old {
  font-size: 1.125rem;
  color: var(--text-light);
  text-decoration: line-through;
  font-weight: 500;
}

.enrollment-discount-badge {
  background-color: #ecfdf5;
  color: #047857;
  border: 1px solid rgba(5, 150, 105, 0.25);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.enrollment-fee-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* Checkout Form & Tabs inside Enrollment Card */
.checkout-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.875rem;
}

.checkout-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}

.checkout-tabs-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  background: #f1f5f9;
  padding: 0.3125rem;
  border-radius: var(--radius);
  margin-bottom: 1.125rem;
  border: 1px solid var(--border);
}

.checkout-tab {
  padding: 0.5625rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
  transition: var(--transition);
  text-align: center;
}

.checkout-tab.active {
  background: #ffffff;
  color: var(--dark);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.checkout-summary-strip {
  background: var(--bg-alt);
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.875rem;
  margin-bottom: 1.125rem;
  font-size: 0.875rem;
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.checkout-summary-row + .checkout-summary-row {
  margin-top: 0.35rem;
}

.enrollment-card .form-group {
  margin-bottom: 1rem;
}

.enrollment-card .form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.375rem;
}

.enrollment-card .form-input {
  width: 100%;
  padding: 0.75rem 0.875rem;
  font-size: 0.9375rem;
  line-height: 1.4;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--text-main);
}

.enrollment-card .form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.password-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.375rem;
}

.password-label-row .form-label {
  margin-bottom: 0;
}

.password-toggle-btn {
  font-size: 0.8125rem;
  color: var(--accent);
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
}

.password-toggle-btn:hover {
  background-color: var(--accent-light);
}

/* Payment Method Selector Grid */
.payment-method-section {
  margin-top: 1.125rem;
  margin-bottom: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.payment-method-heading {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.625rem;
}

.payment-method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.payment-method-option {
  border: 2px solid var(--border);
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.875rem;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  transition: var(--transition);
}

.payment-method-option:hover {
  border-color: #93c5fd;
}

.payment-method-option input[type="radio"] {
  margin-top: 0.2rem;
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  flex-shrink: 0;
  cursor: pointer;
}

.payment-option-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
}

.payment-option-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 0.2rem;
}

.enrollment-cta-btn {
  width: 100%;
  padding: 0.9375rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius);
  white-space: normal;
  line-height: 1.35;
}

.guarantee-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.625rem;
  line-height: 1.4;
}

.course-highlights-list {
  margin-top: 1.375rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.course-highlights-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.125rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-main);
  line-height: 1.45;
}

.highlight-item svg {
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Course Main Details Lower Section */
.course-content-section {
  padding: 4rem 0;
  background-color: var(--bg-main);
}

.course-main-content {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(340px, 0.95fr);
  gap: 3rem;
  align-items: start;
  margin-top: 0;
}

.content-block {
  margin-bottom: 2.75rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid var(--border);
}

.content-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.content-block h2 {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1.125rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.content-block p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-main);
  margin-bottom: 1rem;
  max-width: 74ch;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.125rem;
}

.learn-box {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  background-color: var(--bg-alt);
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--text-main);
  line-height: 1.6;
  transition: var(--transition);
}

.learn-box:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-sm);
}

.learn-box svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Audience Grid (Who Should Join) */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.125rem;
}

.audience-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  box-shadow: var(--shadow-sm);
}

.audience-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background-color: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.audience-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.audience-card p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* Schedule Box */
.schedule-banner {
  background-color: var(--accent-light);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.schedule-banner h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.schedule-cell {
  background-color: #ffffff;
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.schedule-cell .sc-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.schedule-cell .sc-val {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 0.35rem;
  line-height: 1.4;
}

.zoom-joining-card {
  background-color: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.375rem 1.5rem;
}

.zoom-joining-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.zoom-joining-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

/* Right Sidebar in Lower Content */
.course-details-sidebar {
  position: sticky;
  top: 5.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-info-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-info-card.alt {
  background-color: var(--bg-alt);
}

.sidebar-info-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.mentor-profile-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.mentor-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.mentor-meta h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.125rem;
}

.mentor-meta p {
  font-size: 0.8125rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0;
}

.sidebar-card-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.sidebar-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

/* UPI QR Modal Responsive Styles */
.upi-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(4px);
  z-index: 9999;
  overflow-y: auto;
  padding: 1.25rem 1rem;
}

.upi-modal-dialog {
  width: 100%;
  max-width: 480px;
  margin: 1.5rem auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  border: 1px solid var(--border);
}

.upi-modal-header {
  padding: 1rem 1.25rem;
  background: var(--dark);
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.upi-modal-body {
  padding: 1.25rem;
}

.upi-qr-img {
  width: 210px;
  height: 210px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}

/* ==========================================================================
   Page Specific: About, Contact, Legal, Auth
   ========================================================================== */
/* Generic Page Header Banner */
.page-hero {
  background-color: var(--dark);
  color: #ffffff;
  padding: 4rem 0 3.5rem 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.page-hero p {
  font-size: 1.0625rem;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto;
}

/* Business Card Box */
.business-info-card {
  background-color: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

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

.business-info-table tr {
  border-bottom: 1px solid var(--border);
}

.business-info-table tr:last-child {
  border-bottom: none;
}

.business-info-table th {
  text-align: left;
  padding: 0.875rem 0.5rem 0.875rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  width: 35%;
}

.business-info-table td {
  padding: 0.875rem 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--dark);
}

/* Contact Page Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
}

.contact-card-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background-color: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.contact-card-content p, .contact-card-content a {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-form-wrap {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.375rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.6875rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: #ffffff;
  color: var(--text-main);
  font-size: 0.9375rem;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.form-check input[type="checkbox"] {
  margin-top: 3px;
  cursor: pointer;
}

.form-feedback {
  display: none;
  padding: 1rem;
  border-radius: var(--radius);
  margin-top: 1rem;
  font-size: 0.875rem;
}

.form-feedback.success {
  display: block;
  background-color: var(--secondary-light);
  color: var(--secondary);
  border: 1px solid rgba(5, 150, 105, 0.2);
}

/* Map Placeholder */
.map-container {
  margin-top: 3.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-alt);
}

.map-placeholder-box {
  width: 100%;
  height: 340px;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  gap: 1rem;
  color: var(--text-muted);
}

/* Auth Cards (Login/Register) */
.auth-wrapper {
  padding: 4rem 1.25rem;
  min-height: calc(100vh - 4.5rem - 300px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-alt);
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.auth-header p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.auth-switch {
  text-align: center;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.auth-switch a {
  color: var(--accent);
  font-weight: 600;
}

.auth-switch a:hover {
  text-decoration: underline;
}

/* Legal Document Styles */
.legal-content-wrap {
  max-width: 820px;
  margin: 0 auto;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}

.legal-content-wrap h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--dark);
  margin: 2rem 0 0.875rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-content-wrap h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark);
  margin: 1.25rem 0 0.5rem 0;
}

.legal-content-wrap p, .legal-content-wrap li {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.legal-content-wrap ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.legal-meta-box {
  background-color: var(--bg-alt);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* --- Responsive Media Queries --- */
@media (max-width: 1199px) and (min-width: 961px) {
  .course-details-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(360px, 1fr);
    gap: 2rem;
  }
  .course-main-content {
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .learning-benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .course-details-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .course-main-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .course-details-sidebar {
    position: static;
  }
  .hero-highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .nav-links, .nav-actions {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .section {
    padding: 3.5rem 0;
  }
  .hero {
    padding: 3rem 0 3.5rem 0;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .legal-content-wrap {
    padding: 1.75rem;
  }
  .learn-grid {
    grid-template-columns: 1fr;
  }
  .audience-grid {
    grid-template-columns: 1fr;
  }
  .schedule-grid {
    grid-template-columns: 1fr;
  }
  .course-details-hero {
    padding: 2.5rem 0 3rem 0;
  }
  .course-headline h1 {
    font-size: 2rem;
  }
  .course-lead-desc {
    font-size: 1rem;
  }
  .hero-highlights-grid {
    grid-template-columns: 1fr;
  }
  .course-details-container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

@media (max-width: 540px) {
  .payment-method-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.875rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .course-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .course-actions {
    width: 100%;
  }
  .course-actions .btn {
    flex: 1;
  }
  .filter-controls-row {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-banner {
    padding: 2.5rem 1.25rem;
  }
  .cta-title {
    font-size: 1.625rem;
  }
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  .cta-buttons .btn {
    width: 100%;
  }
  .course-headline h1 {
    font-size: 1.75rem;
  }
  .enrollment-card-body {
    padding: 1.25rem 1rem;
  }
  .enrollment-price-current {
    font-size: 1.875rem;
  }
  .course-details-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .content-block h2 {
    font-size: 1.375rem;
  }
  .sidebar-info-card {
    padding: 1.25rem 1rem;
  }
  .upi-modal-dialog {
    margin: 0.5rem auto;
  }
  .upi-modal-body {
    padding: 1rem 0.875rem;
  }
  .upi-qr-img {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 360px) {
  .course-headline h1 {
    font-size: 1.625rem;
  }
  .course-stat-chip {
    width: 100%;
  }
  .checkout-tab {
    font-size: 0.8125rem;
    padding: 0.5rem 0.25rem;
  }
}
