/* =========================================================
   Alomine.com Computer Academy - Modern Vanilla CSS
   Global Design System, Components, Layouts & Modals
   ========================================================= */

:root {
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Color Palette - Clean Professional Light Theme */
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --bg-input: #ffffff;

  --border-subtle: #e2e8f0;
  --border-focus: rgba(2, 132, 199, 0.5);

  --accent-primary: #0284c7;
  --accent-secondary: #06b6d4;
  --accent-gradient: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
  --accent-gradient-purple: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --accent-gradient-amber: linear-gradient(135deg, #d97706 0%, #ea580c 100%);
  --accent-gradient-emerald: linear-gradient(135deg, #059669 0%, #10b981 100%);
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-accent: #0284c7;

  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #0284c7;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.07), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 36px -4px rgba(15, 23, 42, 0.1), 0 6px 12px -2px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(at 15% 15%, rgba(6, 182, 212, 0.06) 0px, transparent 50%),
    radial-gradient(at 85% 85%, rgba(2, 132, 199, 0.06) 0px, transparent 50%);
  min-height: 100vh;
}

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

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Utility Containers */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.22);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #0284c7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.35rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  color: #0b2545;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
  filter: brightness(1.05);
}

.btn-secondary {
  background: #f1f5f9;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #0284c7;
  border: 1.5px solid #0284c7;
}

.btn-outline:hover {
  background: rgba(2, 132, 199, 0.08);
  border-color: #0369a1;
  color: #0369a1;
}

.btn-danger {
  background: #ef4444;
  color: #ffffff;
}

.btn-danger:hover {
  background: #dc2626;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.w-100 {
  width: 100%;
}

.text-accent { color: var(--accent-primary); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }
.text-gold { color: #d97706; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }

/* Card Styles */
.card-glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.card-glass:hover {
  border-color: rgba(2, 132, 199, 0.25);
  box-shadow: var(--shadow-lg);
}

/* ==================== NAVBAR ==================== */
.navbar-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
  filter: drop-shadow(0 2px 4px rgba(2, 132, 199, 0.15));
}

.brand-logo:hover .brand-logo-icon {
  transform: scale(1.06);
}

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

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: 0.04em;
  color: #0b2545;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #0284c7;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-item {
  color: #475569;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s;
  padding: 0.4rem 0.2rem;
  position: relative;
}

.nav-item:hover {
  color: #0284c7;
}

.nav-item:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #0284c7;
  border-radius: 2px;
}

.portal-status-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.25);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.portal-name {
  font-weight: 700;
  color: #0284c7;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
}

.user-name {
  color: var(--text-secondary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-logout {
  padding: 0.45rem 0.75rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-drawer {
  display: none;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
  position: relative;
  padding: 5rem 0 3.5rem;
  overflow: hidden;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.25);
  color: #0284c7;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
  color: #0b2545;
}

.gradient-text {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 50%, #0891b2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

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

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #0b2545;
  line-height: 1.1;
}

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

.metric-divider {
  width: 1px;
  height: 35px;
  background: var(--border-subtle);
}

/* Terminal Card */
.hero-visual {
  position: relative;
}

.code-terminal-card {
  position: relative;
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.25), 0 0 25px rgba(2, 132, 199, 0.1);
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1rem;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-title {
  font-family: monospace;
  font-size: 0.85rem;
  color: #94a3b8;
}

.terminal-badge {
  font-size: 0.75rem;
  color: #34d399;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.terminal-body {
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #e2e8f0;
}

.indent-1 { padding-left: 1.25rem; }
.indent-2 { padding-left: 2.5rem; }

.c-keyword { color: #f43f5e; font-weight: 600; }
.c-entity { color: #38bdf8; }
.c-string { color: #a7f3d0; }
.c-comment { color: #64748b; font-style: italic; }
.c-var { color: #fbbf24; }
.c-boolean { color: #c084fc; }
.c-func { color: #60a5fa; }

.console-output {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  color: #34d399;
  font-weight: 600;
}

.terminal-floating-tag {
  position: absolute;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f172a;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
}

.tag-top {
  top: -15px;
  right: -10px;
}

.tag-bottom {
  bottom: -20px;
  left: 15px;
}

/* 4 Pillars */
.pillars-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4.5rem;
}

.pillar-card {
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.icon-blue { background: rgba(2, 132, 199, 0.1); color: #0284c7; }
.icon-cyan { background: rgba(6, 182, 212, 0.12); color: #0891b2; }
.icon-emerald { background: rgba(16, 185, 129, 0.12); color: #059669; }
.icon-purple { background: rgba(124, 58, 237, 0.12); color: #7c3aed; }

.pillar-info h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: #0f172a;
}

.pillar-info p {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

/* ==================== COURSES SECTION ==================== */
.courses-section {
  position: relative;
}

.courses-filter-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}

.filter-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: #475569;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.filter-tab:hover {
  background: rgba(2, 132, 199, 0.08);
  color: #0284c7;
  border-color: rgba(2, 132, 199, 0.3);
}

.filter-tab.active {
  background: var(--accent-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
}

.search-box {
  position: relative;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}

.search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-input {
  width: 100%;
  padding: 0.8rem 1.1rem 0.8rem 2.8rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-full);
  color: #0f172a;
  font-size: 0.92rem;
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.search-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

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

.course-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  position: relative;
}

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

.course-badge {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.25);
  color: #0284c7;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.course-level {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.course-card-title {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
  color: #0b2545;
}

.course-card-desc {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  flex-grow: 0;
}

.course-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.meta-tag {
  font-size: 0.78rem;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.course-syllabus-preview {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.syllabus-header-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.65rem;
}

.syllabus-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.syllabus-list li {
  font-size: 0.85rem;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.check-icon {
  color: var(--success);
  margin-top: 0.25rem;
  font-size: 0.75rem;
}

.more-modules {
  font-size: 0.8rem !important;
  color: #0284c7 !important;
  font-weight: 600;
  margin-top: 0.2rem;
}

.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.course-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.price-current {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #0b2545;
}

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

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

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 500px;
  margin: 0 auto;
}

.empty-icon {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ==================== LIVE CLASSES SECTION ==================== */
.live-classes-section {
  position: relative;
  background: #f1f5f9;
}

.live-classes-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.bullet-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.bullet-text strong {
  display: block;
  font-size: 1.05rem;
  color: #0b2545;
  margin-bottom: 0.25rem;
}

.bullet-text p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.live-schedule-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border-color: var(--border-subtle);
}

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

.schedule-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0b2545;
}

.live-now-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: pulse 1.5s infinite;
}

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

.session-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.session-item:hover {
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: var(--shadow-md);
}

.session-item.is-live-now {
  border-color: rgba(239, 68, 68, 0.3);
  background: #fff8f8;
}

.session-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ef4444;
  margin-bottom: 0.35rem;
}

.session-topic {
  font-size: 1.05rem;
  color: #0b2545;
  margin-bottom: 0.4rem;
}

.session-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.session-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.portal-callout {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(2, 132, 199, 0.06);
  border-radius: var(--radius-md);
  border: 1px dashed rgba(2, 132, 199, 0.3);
  font-size: 0.85rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.portal-callout strong {
  color: #0284c7;
}

/* ==================== FACULTY SECTION ==================== */
.faculty-section {
  position: relative;
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.faculty-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
}

.faculty-card:hover {
  transform: translateY(-5px);
}

.faculty-avatar-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.25);
  overflow: hidden;
}

.faculty-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.faculty-name {
  font-size: 1.2rem;
  color: #0b2545;
  margin-bottom: 0.25rem;
}

.faculty-role {
  font-size: 0.82rem;
  color: #0284c7;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.faculty-specialization {
  font-size: 0.82rem;
  background: #f1f5f9;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  color: #475569;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.faculty-skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.faculty-skill-tag {
  font-size: 0.72rem;
  background: rgba(2, 132, 199, 0.08);
  color: #0284c7;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  font-weight: 500;
}

.faculty-bio {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.faculty-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==================== SUCCESS STORIES & TESTIMONIALS ==================== */
.stories-section {
  position: relative;
  background: #f8fafc;
}

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

.story-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

.story-stars {
  color: #f59e0b;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.25rem;
}

.story-quote {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-style: italic;
}

.story-author-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.story-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #0284c7;
  font-size: 1.1rem;
}

.story-info h5 {
  font-size: 0.98rem;
  color: #0b2545;
}

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

.placement-badge {
  display: inline-block;
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  font-weight: 600;
  margin-top: 0.2rem;
}

/* ==================== RESOURCES & DOWNLOADS ==================== */
.resources-section {
  position: relative;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.resource-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.25s ease;
}

.resource-card:hover {
  transform: translateY(-4px);
}

.resource-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.resource-title {
  font-size: 1.1rem;
  color: #0b2545;
  margin-bottom: 0.5rem;
}

.resource-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.resource-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ==================== FAQ ACCORDION ==================== */
.faq-section {
  position: relative;
  background: #f1f5f9;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.faq-item.active {
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.5rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0b2545;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-question:hover {
  color: #0284c7;
}

.faq-icon {
  font-size: 0.95rem;
  color: #0284c7;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 1.5rem 1.35rem;
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
  position: relative;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.info-blocks {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.info-block {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.info-details h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: #0b2545;
}

.info-details p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #475569;
}

.contact-form-card {
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border-color: var(--border-subtle);
}

.form-title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: #0b2545;
}

.form-desc {
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
  color: #475569;
}

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

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  color: #0f172a;
  font-size: 0.92rem;
  outline: none;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.select-control {
  cursor: pointer;
}

.textarea-control {
  resize: vertical;
}

/* ==================== FOOTER ==================== */
.footer-section {
  background: #0b2545;
  color: #e2e8f0;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.footer-brand .brand-subtitle {
  color: #38bdf8;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: #94a3b8;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: #64748b;
}

/* ==================== MODALS ==================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.2s ease;
}

.modal-dialog {
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
  animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-dialog-large {
  max-width: 860px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.35rem;
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: #ef4444;
}

.modal-body {
  padding: 1.75rem;
}

/* Role Selector Tabs (Auth Modal) */
.role-selector-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #f1f5f9;
  padding: 0.35rem;
  gap: 0.35rem;
  border-bottom: 1px solid var(--border-subtle);
}

.role-tab {
  padding: 0.65rem 0.5rem;
  background: transparent;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all 0.2s;
}

.role-tab.active {
  background: #ffffff;
  color: #0284c7;
  box-shadow: var(--shadow-sm);
}

.demo-quick-box {
  background: #f8fafc;
  border: 1px dashed rgba(2, 132, 199, 0.3);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.demo-box-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0b2545;
  margin-bottom: 0.35rem;
}

.demo-box-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.divider-text {
  text-align: center;
  position: relative;
  margin: 1.25rem 0;
}

.divider-text::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: var(--border-subtle);
}

.divider-text span {
  position: relative;
  background: #ffffff;
  padding: 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.auth-toggle-link {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.toggle-link {
  color: #0284c7;
  font-weight: 600;
}

/* Course Modal Curriculum & Specs */
.modal-specs-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
}

.spec-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0b2545;
}

.modal-content-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
}

.sub-heading {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: #0b2545;
}

.course-long-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.modal-syllabus-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.modal-syllabus-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.mod-num {
  font-weight: 800;
  color: #0284c7;
  font-size: 0.8rem;
}

.prereq-box {
  background: rgba(2, 132, 199, 0.05);
  border: 1px solid rgba(2, 132, 199, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  color: #334155;
}

.enroll-box {
  padding: 1.5rem;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.enroll-box-title {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: #0b2545;
}

.enroll-box-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.fee-summary {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  margin: 1rem 0;
}

.fee-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1rem;
  color: #0b2545;
}

.fee-subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Demo Modal Benefits */
.demo-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0 1.25rem;
  font-size: 0.85rem;
  color: #334155;
}

.success-box {
  text-align: center;
  padding: 2rem 1rem;
}

.success-check {
  font-size: 3.5rem;
  color: #10b981;
  margin-bottom: 1rem;
}

/* ==================== TOAST NOTIFICATIONS ==================== */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast-item {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  color: #0f172a;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  animation: slideInRight 0.3s ease;
  font-size: 0.95rem;
  max-width: 380px;
  cursor: pointer;
}

.toast-success { border-left: 4px solid var(--success); }
.toast-error { border-left: 4px solid var(--danger); }
.toast-info { border-left: 4px solid var(--info); }

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==================== RESPONSIVE BREAKPOINTS ==================== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .mobile-drawer {
    display: block;
    position: absolute;
    top: 74px;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease-in-out;
  }
  .mobile-drawer.open { max-height: 600px; }
  .mobile-nav-items {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .mobile-link {
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 600;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
  }
  .mobile-auth-actions {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-description { margin: 0 auto 2rem; }
  .hero-actions, .hero-metrics { justify-content: center; }
  .pillars-container { grid-template-columns: repeat(2, 1fr); }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .live-classes-layout { grid-template-columns: 1fr; }
  .faculty-grid { grid-template-columns: repeat(2, 1fr); }
  .stories-grid { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-title { font-size: 2.2rem; }
  .hero-metrics { flex-wrap: wrap; gap: 1rem; }
  .metric-divider { display: none; }
  .pillars-container { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: 1fr; }
  .faculty-grid { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .modal-specs-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}
