﻿/* ==========================================================================
   EduNirbhar - Minimalist Liquid Glass Theme
   Strict Palette | Asymmetric Geometry | Custom Fonts
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;0,9..144,800;1,9..144,400;1,9..144,600&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');
/* Google Fonts preconnected & loaded via <link> in HTML <head> to prevent CSS render blocking */

:root {
  color-scheme: light;

  /* STRICT 4-COLOR PALETTE */
  --color-orange: #ff6801;      /* Vivid Warm Orange */
  --color-dark: #0c5446;        /* Deep Forest Green */
  --color-mid: #dbd0be;         /* Warm Sand Beige */
  --color-light: #fcfaee;       /* Off-White Canvas */

  /* Strict Typography: Headings in Fraunces, Body in Inter */
  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --fn-head: 'Fraunces', Georgia, serif;
  --fn-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --fn-btn: 'Inter', sans-serif;

  /* Light Mode Assignment */
  --page-bg: var(--color-light); 
  --text-main: #1f2924;         /* Deep Slate-Charcoal for WCAG AAA legibility */
  --text-muted: #52635c;        /* Secondary supporting text */
  --accent: var(--color-orange);
  
  /* Modern Design System Tokens */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Premium Card & Surface Shadows */
  --glass-bg: rgba(252, 250, 238, 0.88);
  --glass-border: rgba(12, 84, 70, 0.12); 
  --glass-shadow: rgba(12, 84, 70, 0.08); 
  --card-bg: rgba(255, 255, 255, 0.94);
  --card-border: rgba(12, 84, 70, 0.12);
  --card-shadow: 0 6px 24px rgba(12, 84, 70, 0.07);
  --card-shadow-hover: 0 14px 36px rgba(12, 84, 70, 0.14);
  --code-bg: rgba(219, 208, 190, 0.18);
}

[data-bs-theme="dark"] {
  color-scheme: dark;

  /* Dark Mode Assignment */
  --page-bg: #093b31; 
  --text-main: var(--color-light);
  --text-muted: rgba(252, 250, 238, 0.78);
  --accent: var(--color-orange);
  
  /* Dark Glass & Card Base */
  --glass-bg: rgba(12, 84, 70, 0.88);
  --glass-border: rgba(252, 250, 238, 0.16); 
  --glass-shadow: rgba(0, 0, 0, 0.35); 
  --card-bg: rgba(10, 68, 56, 0.90);
  --card-border: rgba(252, 250, 238, 0.16);
  --card-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  --card-shadow-hover: 0 14px 40px rgba(0, 0, 0, 0.5);
  --code-bg: rgba(252, 250, 238, 0.08);
}

/* --- Base Styles --- */
/* ==========================================================================
   STRICT TYPOGRAPHY: Fraunces Headings & Inter Body
   ========================================================================== */
body {
  font-family: var(--font-body, 'Inter', sans-serif) !important;
  color: var(--text-main);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
.hero-title, .lp-section-title, .brand-title, .display-4, .hero-content h1, .lp-hero-content h1,
.centered-title, .wd-hero-title, .learn-hero-title, .title, .cb-title, .ct-name {
  font-family: var(--font-heading, 'Fraunces', serif) !important;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p, li, blockquote {
  font-family: var(--font-body, 'Inter', sans-serif);
  text-wrap: pretty;
}

button, input, select, textarea, .nav-btn, .btn-primary, .btn-ghost, .btn-primary-wd, .btn-ghost-wd {
  font-family: var(--font-body, 'Inter', sans-serif) !important;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--page-bg) !important;
  color: var(--text-main) !important;
  line-height: 1.65;
  font-weight: 500;
  font-size: 1.05rem; 
  margin: 0;
  padding: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.35s ease, color 0.35s ease; 
}

p, li, blockquote {
  text-wrap: pretty;
}

h1, h2, h3, h4, h5 { 
  font-family: 'Fraunces', sans-serif; 
  font-weight: 700; 
  letter-spacing: -0.015em; 
  color: var(--text-main);
  margin-bottom: 1rem;
  text-wrap: balance;
}

h1 { font-size: 3rem; text-align: center}
h2 { font-size: 2.25rem; }

a { color: var(--text-main); transition: color 0.2s ease, opacity 0.2s ease; }
a:hover { color: var(--accent); opacity: 1; }


/* 1. Hide Quarto's auto-generated title block that is floating above the navbar */
header#title-block-header {
  display: none !important;
}
.quarto-title-banner {
  display: none !important;
}

/* 2. Safely hide Quarto's default navbar (so JS can still click the search button) */
#quarto-header {
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  pointer-events: none !important;
}



/* ==========================================================================
   Custom Liquid Glass Header (Floating Pill Design)
   ========================================================================== */
.custom-liquid-header {
  font-family: 'Inter', sans-serif;
  background: var(--glass-bg); 
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  
  /* 1. Full border instead of just bottom */
  border: 1px solid var(--glass-border);
  
  /* 2. The Pill Shape */
  border-radius: 100px;
  
  /* 3. Pull away from the edges to make it float */
  width: 100%; 
  max-width: 1400px;
  margin: 1rem auto; 
  
  /* 4. Keep it sticky, but push it slightly down from the top edge */
  position: sticky;
  top: 0.5rem;
  
  box-shadow: 0 10px 40px var(--glass-shadow);
  z-index: 1000;
  transition: background-color 0.4s ease, border-color 0.4s ease;
}


.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.30rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}



.brand-logo {
  height: 70px; /* Adjust this to make your logo larger or smaller */
  width: auto;
  display: block;
  flex-shrink: 0; /* Prevents the image from squishing on small screens */
}



.brand-brackets { color: var(--color-orange); }
.nav-brand:hover { opacity: 0.9; color: var(--text-main); }

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  margin-left: 2.5rem;
}

.nav-links {
  display: flex;
  list-style: none; 
  gap: 1.8rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--color-orange); }

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

/* ==========================================================================
   Section-Specific Navbar Visibility (Services vs SkillHub vs Homepage)
   ========================================================================== */

/* By default, hide section-specific groups */
.nav-links-services,
.nav-links-skillhub,
.nav-actions-services,
.nav-actions-skillhub {
  display: none !important;
}

/* Default group displayed on general pages */
.nav-links-default,
.nav-actions-default {
  display: flex !important;
}

/* Services section: Left: Home, Services, Reach Us | Right: Theme Toggle, LinkedIn */
body.section-services .nav-links-services,
body.section-services .nav-actions-services,
body:has(.services-page) .nav-links-services,
body:has(.services-page) .nav-actions-services {
  display: flex !important;
}
body.section-services .nav-links-default,
body.section-services .nav-links-skillhub,
body.section-services .nav-actions-default,
body.section-services .nav-actions-skillhub,
body:has(.services-page) .nav-links-default,
body:has(.services-page) .nav-links-skillhub,
body:has(.services-page) .nav-actions-default,
body:has(.services-page) .nav-actions-skillhub {
  display: none !important;
}

/* SkillHub section: Left: Home, Courses, Reach Us | Right: Theme Toggle, Instagram, Facebook, LinkedIn */
body.section-skillhub .nav-links-skillhub,
body.section-skillhub .nav-actions-skillhub,
body:has(.skillhub-page) .nav-links-skillhub,
body:has(.skillhub-page) .nav-actions-skillhub,
body:has(.learn-page) .nav-links-skillhub,
body:has(.learn-page) .nav-actions-skillhub {
  display: flex !important;
}
body.section-skillhub .nav-links-default,
body.section-skillhub .nav-links-services,
body.section-skillhub .nav-actions-default,
body.section-skillhub .nav-actions-services,
body:has(.skillhub-page) .nav-links-default,
body:has(.skillhub-page) .nav-links-services,
body:has(.skillhub-page) .nav-actions-default,
body:has(.skillhub-page) .nav-actions-services,
body:has(.learn-page) .nav-links-default,
body:has(.learn-page) .nav-links-services,
body:has(.learn-page) .nav-actions-default,
body:has(.learn-page) .nav-actions-services {
  display: none !important;
}

/* ================================================================
   HOMEPAGE: Full-width layout — no navbar, no side gutters
   ================================================================ */
body:has(.landing-page) .custom-liquid-header,
body:has(.landing-page) #main-site-header,
body.section-home .custom-liquid-header,
.home-page .custom-liquid-header { display: none !important; }

/* Remove body top padding Quarto adds for the navbar */
body:has(.landing-page) {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Strip all chrome padding — zero side margins everywhere */
body:has(.landing-page) #quarto-content,
body:has(.landing-page) #quarto-document-content,
body:has(.landing-page) .quarto-container,
body:has(.landing-page) main.content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Hide unused sidebar columns so they don't push content right */
body:has(.landing-page) #quarto-margin-sidebar,
body:has(.landing-page) #quarto-sidebar {
  display: none !important;
  width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Flatten the grid — single-column, full-width */
body:has(.landing-page) .page-columns,
body:has(.landing-page) .page-full {
  display: block !important;
  grid-template-columns: 1fr !important;
  grid-template-areas: none !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* The main content column must fill the full width — override column-page */
body:has(.landing-page) #quarto-document-content,
body:has(.landing-page) main.content,
body:has(.landing-page) .column-page,
body:has(.landing-page) .column-body,
body:has(.landing-page) .column-screen {
  grid-column: 1 / -1 !important;
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Navbar Action Groups & Social Icons */
.nav-actions-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: var(--text-main);
  text-decoration: none !important;
  font-size: 1.15rem;
  transition: all 0.25s ease;
  background: transparent;
  border: 1px solid var(--glass-border);
}
.nav-social-icon:hover {
  color: var(--color-orange);
  background: var(--code-bg);
  border-color: var(--color-orange);
  transform: translateY(-1px);
}
[data-bs-theme="dark"] .nav-social-icon {
  color: var(--text-main);
  border-color: rgba(252, 250, 238, 0.15);
}
[data-bs-theme="dark"] .nav-social-icon:hover {
  color: var(--color-orange);
  background: rgba(255, 104, 1, 0.15);
  border-color: var(--color-orange);
}

@media (max-width: 991px) {
  .nav-actions-group {
    justify-content: center;
    width: 100%;
    margin-top: 0.5rem;
    flex-wrap: wrap;
    gap: 14px;
  }
}

/* --- Search Pill --- */
.custom-search-container { position: relative; display: flex; align-items: center; }
.search-icon { position: absolute; left: 14px; color: var(--text-main); opacity: 0.5; font-size: 0.85rem; }

.custom-search-input {
  background-color: var(--code-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  border-radius: 20px;
  padding: 8px 40px 8px 36px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  width: 240px;
  transition: all 0.3s ease;
}

.custom-search-input:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 2px rgba(255, 104, 1, 0.2);
  background-color: transparent;
}

.search-shortcut {
  position: absolute;
  right: 12px;
  background: var(--glass-border);
  color: var(--text-main);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-family: monospace;
  opacity: 0.6;
  pointer-events: none;
}

/* --- ASYMMETRIC BUTTON GEOMETRY --- */
.nav-btn, .btn-primary {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 19px;
  padding: 10px 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-login {
  background-color: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  border-radius: 16px 0 16px 0 !important;
}

.btn-login:hover {
  background-color: var(--code-bg);
  border-color: var(--text-main);
}

.btn-signup, .btn-primary, .btn-submit-solid {
  background-color: var(--color-dark); 
  color: var(--color-light); 
  border: 1px solid var(--color-dark);
  border-radius: var(--radius-md, 12px) !important;
}

.btn-signup:hover, .btn-primary:hover, .btn-submit-solid:hover {
  background-color: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 104, 1, 0.25);
}

[data-bs-theme="dark"] .btn-signup, 
[data-bs-theme="dark"] .btn-primary, 
[data-bs-theme="dark"] .btn-submit-solid {
  background-color: var(--color-light);
  color: var(--color-dark);
  border-color: var(--color-light);
}

[data-bs-theme="dark"] .btn-signup:hover, 
[data-bs-theme="dark"] .btn-primary:hover, 
[data-bs-theme="dark"] .btn-submit-solid:hover {
  background-color: var(--color-orange);
  color: var(--color-light);
  border-color: var(--color-orange);
}

/* --- Sun/Moon Theme Toggle --- */
.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  border-radius: 6px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.theme-toggle-btn:hover {
  background: var(--code-bg);
  color: var(--color-orange);
  border-color: var(--color-orange);
}

.light-icon { display: none; }
.dark-icon { display: block; }
[data-bs-theme="dark"] .light-icon { display: block; color: var(--color-orange); }
[data-bs-theme="dark"] .dark-icon { display: none; }

/* --- Mobile Menu --- */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  font-size: 1.25rem;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
}

@media (max-width: 992px) {
  .mobile-menu-btn { display: block; }
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.5rem;
    margin: 0;
    gap: 1.5rem;
    border-radius: 0 0 24px 24px;
  }
  .nav-menu.active { display: flex; }
  .nav-links { flex-direction: column; width: 100%; text-align: center; gap: 1rem; }
  .nav-actions { flex-direction: column; width: 100%; }
  .custom-search-input, .custom-search-container, .nav-btn { width: 100%; text-align: center; }
}


/* ==========================================================================
   Header Dropdown Menus (Liquid Glass) - BOOTSTRAP CONFLICT FIXED
   ========================================================================== */
.liquid-drop-item {
  position: relative;
}

.liquid-drop-btn {
  background: none;
  border: none;
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  transition: color 0.2s ease;
}

.liquid-drop-btn:hover {
  color: var(--color-orange);
}

.drop-icon {
  font-size: 0.8em;
  transition: transform 0.3s ease;
}

/* The Glass Dropdown Box */
.liquid-drop-menu {
  position: absolute;
  top: 150%;
  left: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 40px var(--glass-shadow);
  border-radius: 12px;
  list-style: none;
  padding: 0.75rem 0;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none; 
  transform: translateY(15px);
  transition: all 0.3s ease;
  z-index: 1001;
}

/* Desktop Hover Trigger */
@media (min-width: 993px) {
  .liquid-drop-item:hover .liquid-drop-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    top: 100%;
  }
  
  .liquid-drop-item:hover .drop-icon {
    transform: rotate(180deg);
  }
}

/* JS Click Trigger (Fallback/Mobile) */
.liquid-drop-item.open .liquid-drop-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  top: 100%;
}

.liquid-drop-menu li { margin: 0; }

/* Links inside the dropdown */
.liquid-drop-menu a {
  display: block;
  padding: 12px 24px;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(219, 208, 190, 0.1);
  transition: all 0.2s ease;
}

[data-bs-theme="dark"] .liquid-drop-menu a {
  border-bottom: 1px solid rgba(252, 250, 238, 0.05);
}

.liquid-drop-menu li:last-child a { border-bottom: none; }

.liquid-drop-menu a:hover {
  background: var(--code-bg);
  color: var(--color-orange);
  padding-left: 28px;
}

/* --- Mobile Menu Dropdown Overrides --- */
@media (max-width: 992px) {
  .liquid-drop-item { width: 100%; }
  
  .liquid-drop-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 0;
  }
  
  .liquid-drop-menu {
    position: static;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.03); 
    border: none;
    border-left: 2px solid var(--color-orange); 
    border-radius: 0 12px 12px 0;
    margin-top: 10px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    display: none; 
  }
  
  [data-bs-theme="dark"] .liquid-drop-menu {
    background: rgba(255, 255, 255, 0.03);
  }
  
  .liquid-drop-item.open .liquid-drop-menu {
    display: block; 
  }
  
  .liquid-drop-menu a {
    padding: 12px 20px;
    border-bottom: none;
  }
}



/* ==========================================================================
   Content & Code Styling
   ========================================================================== */

pre, code {
  background-color: var(--code-bg) !important;
  color: var(--text-main) !important;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
}

code { padding: 0.2em 0.4em; font-size: 0.9em; font-family: monospace; }
pre { padding: 1.25rem; overflow-x: auto; }
pre code { padding: 0; border: none; }

@media (min-width: 768px) {
  h1 { font-size: 4rem; }
  h2 { font-size: 3rem; }
  .content-section { padding: var(--section-gap, 5rem) 2rem; max-width: 100%; margin: 0 auto; }
}






/* ==========================================================================
   Contact Page & General Cards - Asymmetric Geometry
   ========================================================================== */
.contact-card {
  border-radius: 0 40px 0 40px; 
  overflow: hidden; 
  margin-top: 2rem;
  box-shadow: 0 15px 35px var(--glass-shadow); 
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
}

.contact-sidebar {
  background-color: var(--color-dark) !important; 
  color: var(--color-light) !important; 
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
}

.contact-sidebar h2 { color: var(--color-light) !important; font-size: 2.5rem; margin-bottom: 1rem; }
.contact-info-block { 
  display: flex; 
  align-items: flex-start; 
  gap: 16px;
  margin-bottom: 1.5rem; 
  font-size: 1rem; 
  color: var(--color-light) !important; 
}
.contact-info-block i { margin-top: 4px; opacity: 0.8; color: var(--color-orange); }
.contact-info-block span { word-wrap: break-word; line-height: 1.4; }
.hours-block { margin-top: 2rem; line-height: 1.6; opacity: 0.9; color: var(--color-light) !important; }

.social-icons-contact { margin-top: auto; padding-top: 3rem; display: flex; gap: 20px; }
.social-icons-contact a { font-size: 1.25rem; color: var(--color-light) !important; opacity: 0.8; transition: all 0.3s ease; }
.social-icons-contact a:hover { opacity: 1; color: var(--color-orange) !important; transform: translateY(-2px); }

.contact-form-area { padding: 3rem 2rem; background-color: transparent; }
.form-group, .contact-form-area .grid div { margin-bottom: 1.25rem; }
label { font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; display: block; }

.form-control {
  background-color: var(--code-bg) !important; 
  border: 1px solid var(--glass-border);
  color: var(--text-main) !important;
  border-radius: 8px;
  padding: 12px 16px;
  width: 100%;
  font-family: 'Inter', sans-serif;
}

.form-control:focus { outline: none; border-color: var(--color-orange); box-shadow: 0 0 0 2px rgba(255, 104, 1, 0.2); }

@media (min-width: 992px) {
  .contact-sidebar, .contact-form-area { padding: 4rem 3rem; }
}



/* ===========================
   Custom 4-Column Footer
   =========================== */

/* Prevents horizontal scrollbars caused by the full-width breakout hack */
body { overflow-x: hidden; }

.akademiyaa-footer {
  /* --- Global Full-Bleed Positioning --- */
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
  
  /* --- Standard Styles & Height Compression --- */
  font-family: 'Inter', sans-serif;
  background-color: var(--color-dark, #0c5446);
  color: var(--color-light, #fcfaee);
  padding: 1.6rem 1.5rem 0.85rem;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(252, 250, 238, 0.12);
}

body:has(.landing-page) .akademiyaa-footer,
body:has(.services-page) .akademiyaa-footer,
body.section-services .akademiyaa-footer,
body.section-home .akademiyaa-footer {
  left: 0 !important;
  right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.footer-grid-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(252, 250, 238, 0.12);
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .footer-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 992px) {
  .footer-grid-container {
    grid-template-columns: 1.5fr 1fr 1fr 1.15fr;
    gap: 2rem;
  }
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-brand-link {
  display: inline-block;
  text-decoration: none !important;
  transition: transform 0.22s ease;
}

.footer-brand-link:hover {
  transform: scale(1.03);
}

.footer-brand-logo {
  height: 38px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
}

.footer-mission {
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(252, 250, 238, 0.82);
  margin: 0;
  max-width: 320px;
}

.footer-location-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: rgba(252, 250, 238, 0.72);
  margin-top: 0.15rem;
}

.footer-location-tag i {
  color: var(--color-orange, #ff6801);
  font-size: 0.85rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-orange, #ff6801);
  margin: 0 0 0.35rem 0;
}

.footer-col a {
  color: rgba(252, 250, 238, 0.80);
  text-decoration: none !important;
  font-size: 0.84rem;
  line-height: 1.35;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col a i {
  font-size: 0.88rem;
  width: 14px;
  text-align: center;
  color: rgba(252, 250, 238, 0.65);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-col a:hover i {
  color: var(--color-orange, #ff6801);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  font-size: 0.8rem;
  color: rgba(252, 250, 238, 0.7);
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-copyright {
  text-align: left;
}




/* ==========================================================================
   Service Page: Remote Assistance specific styling
   ========================================================================== */

/* -- Hero ------------------------------------------------------- */
.hero-section {
  padding: 1rem 0 1.5rem; /* Shrunk bottom padding from 3.5rem to pull stats up */
  text-align: center;
  position: relative;
}


.hero-title {
  font-family: 'Fraunces', sans-serif;
  font-size: clamp(4.5rem, 8vw, 6rem);
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 1.4rem;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.hero-title em {
  font-style: italic;
  color: var(--color-orange);
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: var(--text-main);
  opacity: 0.8;
  max-width: 100%;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* -- Stats Bar -------------------------------------------------- */
.stats-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 1rem auto 4rem; /* NEGATIVE top margin pulls it towards the hero, 4rem bottom keeps flow fast */
  max-width: 760px;
  background: var(--glass-bg);
  /* ... keep your existing borders, blur, and shadows ... */
  border: 1px solid var(--glass-border);
  border-radius: 0 24px 0 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  box-shadow: 0 10px 30px var(--glass-shadow);
  position: relative;
  z-index: 10; /* Ensures it sits on top if it overlaps */
}

.stat-item {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 1.5rem 1rem;
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; height: 60%;
  width: 1px;
  background: var(--glass-border);
}

.stat-number {
  font-family: 'Fraunces', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-orange);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-family: 'Fraunces', sans-serif;
  font-size: 0.75rem;
  color: var(--text-main);
  opacity: 0.7;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}



/* -- Trust Banner Layout -- */
.trust-banner {
  text-align: center;
  margin: 3.5rem 0 5rem !important;
  display: block; 
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}

.trust-eyebrow {
  font-family: 'Fraunces', sans-serif; 
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-main);
  opacity: 0.8; /* Increased opacity so it sits well above the bright strip */
  margin-bottom: 2rem;
  display: block;
}

.trust-eyebrow .anchorjs-link {
  display: none !important;
}

/* 1. The Full-Width Solid Orange Strip */
.trust-logo-strip {
  background: var(--color-orange); 
  border-top: 1px solid var(--color-orange);
  border-bottom: 1px solid var(--color-orange);
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-top: 1.8rem !important;
  padding-bottom: 1.8rem !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  box-sizing: border-box;
}

/* 2. Keeps the logos perfectly centered */
.trust-logos-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

/* 3. Raw, Untouched Logos (No Filters, No Hover) */
.trust-logo {
  height: 60px; 
  width: auto;
  
  /* Absolutely zero CSS manipulation */
  filter: none !important; 
  mix-blend-mode: normal !important; 
  opacity: 1 !important; 
  
  /* Disabled all transitions and pointers */
  pointer-events: none; 
}


.trust-logo_1 {
  height: 45px; 
  width: auto;
  
  /* Absolutely zero CSS manipulation */
  filter: none !important; 
  mix-blend-mode: normal !important; 
  opacity: 1 !important; 
  
  /* Disabled all transitions and pointers */
  pointer-events: none; 
}



/* -- Mobile Adjustments -- */
@media (max-width: 768px) {
  .trust-logos-inner { gap: 3rem; }
  .trust-logo { height: 32px; }
  .trust-logo-strip { padding-top: 2rem; padding-bottom: 2rem; }
}




/* -- Section headings ------------------------------------------- */
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 0.5rem;
  text-align: center;
  display: block;
}

.section-hero-title {
  position: relative;
  font-family: 'Fraunces', sans-serif;
  font-size: clamp(3rem, 5vw, 4rem);
  color: var(--text-main);
  margin-bottom: 1.2rem;
  line-height: 1;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  text-align: center;
  z-index: 1;
}

.section-hero-title::before {
  content: '';
  position: absolute;
  inset: -0.5rem -2rem;
  z-index: -1;
  background: radial-gradient(circle, rgba(250, 17, 17, 1) 0%, rgba(237, 117, 62, 1) 48%, rgba(252, 175, 66, 1) 84%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
}

.section-hero-title .anchorjs-link {
  display: none !important;
}


.section-title {
  font-family: 'Fraunces', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-main);
  margin-bottom: 0.8rem;
  line-height: 1.2;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  text-align: center;
}

.section-body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  opacity: 0.85;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 820px;
  margin: 0.5rem auto 1.5rem !important;
  text-align: center;
}

.section-divider {
  width: 56px;
  height: 3px;
  background: var(--color-orange, #ff6801);
  border-radius: 9999px;
  margin: 1.25rem auto 2.5rem;
}


.sub-section-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--text-main);
  margin-bottom: 0.8rem;
  line-height: 1.2;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  text-align: center;
}


.sub-section-title .anchorjs-link {
  display: none !important;
}



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

@media (max-width: 960px) {
  .overview-grid { grid-template-columns: 1fr; }
}

/* Same soft gradient tint on both cards, independent of the .featured class */
.overview-grid .tier-card {
  background: linear-gradient(160deg, rgba(255,92,0,0.08) 0%, var(--glass-bg) 60%);
  border-color: rgba(255,92,0,0.35);
}

.overview-grid .tier-card:hover {
  border-color: var(--color-orange);
}

/* Both buttons solid-filled, white text � no outline style here */
.overview-grid .tier-cta {
  margin-top: auto;
  background: var(--color-orange);
  color: var(--color-light);
  border-color: var(--color-orange);
  box-shadow: 0 4px 15px rgba(255, 104, 1, 0.3);
}

.overview-grid .tier-cta:hover {
  background: transparent;
  color: var(--color-orange);
  box-shadow: none;
}


/* -- Overview Grid: Align Icon and Heading -- */
.overview-grid .tier-top {
  display: flex;
  align-items: center; /* Vertically centers the icon and text */
  gap: 1.25rem; /* Space between the icon box and the heading */
  padding-bottom: 2rem; 
}

.overview-grid .tier-icon {
  margin-bottom: 0 !important; /* Removes the default margin pushing the text down */
  flex-shrink: 0; /* Prevents the icon box from getting squished */
}

.overview-grid .tier-name {
  margin: 0 !important; /* Removes default heading margins for perfect centering */
  text-align: left;
  line-height: 1.1;
}




/* -- Premium Service Cards (Using your exact HTML) -- */
/* -- 4-column responsive grid -- */
.service-grid {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.service-col {
  min-width: 0;
  margin-bottom: 0;
}

@media (min-width: 576px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .service-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
  }
}

.service-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px !important; /* Forces the clean, symmetrical rounding you wanted */
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px var(--glass-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* The Premium Hover State (Orange border, levitation, slight glow) */
.service-card:hover {
  border-color: var(--color-orange);
  background: var(--page-bg);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(255, 104, 1, 0.1);
}

/* -- Header Area -- */
.service-card-top {
  margin-bottom: 1.5rem;
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* The Icon Box */
.service-icon-wrap, 
.service-icon-wrap-1 {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(255, 104, 1, 0.08);
  border: 1px solid rgba(255, 104, 1, 0.2);
  border-radius: 14px; /* Symmetrical squircle shape */
  transition: all 0.4s ease;
  margin: 0 !important; /* Overrides any legacy margins */
}

/* Subtle icon tilt on card hover */
.service-card:hover .service-icon-wrap,
.service-card:hover .service-icon-wrap-1 {
  background: rgba(255, 104, 1, 0.15);
  transform: scale(1.05) rotate(-5deg);
}

/* The Title */
.service-card-header h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  color: var(--text-main);
  margin: 0 !important;
  line-height: 1.2;
}

/* -- Body Area -- */
/* Ensures the paragraph stays top-aligned while tags drop to the bottom */
.service-card-bottom {
  display: flex;
  flex-direction: column;
  flex-grow: 1; 
  opacity: 1 !important; /* Overrides any legacy hidden states */
  display: flex !important; 
}

.service-card-bottom p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-main);
  opacity: 0.85;
  line-height: 1.7;
  margin: 0 0 2rem 0;
  text-align: left;
}

/* -- Tags Area -- */
.service-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: auto; /* Forces the tags to lock perfectly to the bottom of the card */
}

.service-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-main);
  opacity: 0.8;
  background: var(--code-bg);
  border: 1px solid var(--glass-border);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  transition: all 0.3s ease;
}

/* Tags light up slightly when the main card is hovered */
.service-card:hover .service-tag {
  border-color: rgba(255, 104, 1, 0.3);
  opacity: 1;
}



/* -- Density tightens once 4 cards sit side by side -- */
@media (min-width: 1200px) {
  .service-card { padding: 2rem 1.5rem; }
  .service-card-header { gap: 1rem; }
  .service-icon-wrap,
  .service-icon-wrap-1 { width: 46px; height: 46px; font-size: 1.3rem; }
  .service-card-header h3 { font-size: 1.15rem; }
  .service-card-bottom p { font-size: 0.88rem; line-height: 1.6; margin-bottom: 1.5rem; }
  .service-tag { font-size: 0.65rem; padding: 0.35rem 0.75rem; }
}



/* -- Web dev intro: subtle glow behind the normal heading, no hero grid -- */
#webdev {
  position: relative;
  overflow: hidden;
}
#webdev::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.wd-showcase {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.wd-showcase .enrollment-badge { margin-bottom: 1.5rem; }

/* was max-width: 550px � widened now that it's not squeezed into half a hero grid */
.hero-carousel-container { max-width: 640px; }

/* -- Carousel category tags (replaces the plain muted subtitle line) -- */
.carousel-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  margin-bottom: 0.5rem;
}
.tag-portfolio { color: var(--color-orange); background: rgba(255,104,1,0.08); border: 1px solid rgba(255,104,1,0.2); }
.tag-lab { color: var(--color-dark); background: rgba(12,84,70,0.08); border: 1px solid rgba(12,84,70,0.2); }
.tag-conference { color: #b45309; background: rgba(217,119,6,0.08); border: 1px solid rgba(217,119,6,0.2); }

/* -- Tier grid: 3 columns now, with a 2-col tablet stage -- */
.tier-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 100%) {
  .tier-grid { grid-template-columns: 1fr !important; }
}



/* Slightly tighter padding once cards are 3-across */
@media (min-width: 1100px) {
  .tier-top {
  display: grid;
  /* 'min-content' forces the left column to be exactly the width of the icon */
  grid-template-columns: min-content 1fr; 
  align-items: center; 
  column-gap: 1rem; /* Slightly tighter gap to pull the heading in */
  row-gap: 1rem; 
}
  .tier-body { padding: 1.25rem 1.5rem 2rem; }
}

/* -- Per-tier accent color (same pattern as your Linux/AWS module cards) -- */
.tier-card { position: relative; } /* needed for the accent bar + number below */

.tier-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--card-accent, var(--color-orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.tier-card:hover::before { transform: scaleX(1); }

.tier-card::after {
  content: attr(data-num);
  position: absolute; top: -10px; right: 18px;
  font-family: 'Fraunces', sans-serif;
  font-size: 6rem;
  font-weight: 800;
  color: rgba(0,0,0,0.03);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.tc-portfolio  { --card-accent: var(--color-orange); }
.tc-lab        { --card-accent: var(--color-dark); }
.tc-conference { --card-accent: #d97706; }

/* Icon and CTA now pick up whichever accent the card was given */
.tier-icon {
  grid-column: 1;
  grid-row: 1;
  margin: 0 !important; 
  justify-self: start; /* Forces the icon to the absolute left edge of its column */
}

.tier-name {
  grid-column: 2;
  grid-row: 1;
  margin: 0 !important; 
  text-align: left;
  line-height: 1.2;
}

.tier-tagline {
  grid-column: 1 / 3; 
  grid-row: 2;
  margin: 0;
  text-align: left;
}

.tier-cta {
  border-color: var(--card-accent, var(--color-orange));
  color: var(--card-accent, var(--color-orange));
}
.tier-cta:hover {
  background: var(--card-accent, var(--color-orange));
  color: var(--color-light);
}



.wd-cta {
  margin-top: 6rem;
  padding: 5rem 3rem;
  border-radius: 0 40px 0 40px;
  
  /* The Glassmorphism Version of Your Colors */
  background: linear-gradient(
    90deg, 
    rgba(255, 94, 116, 0.18) 0%, 
    rgba(237, 192, 192, 0.15) 50%, 
    rgba(252, 176, 69, 0.18) 100%
  );
  
  border: 1px solid var(--glass-border);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px var(--glass-shadow);
  
  /* Optional: Adds a subtle blur to enhance the glass effect */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}


.wd-cta h2 {
  font-family: 'Fraunces', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-main);
  margin-bottom: 0.75rem;
  border-bottom: none !important;
}

.wd-cta p {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: var(--text-main);
  opacity: 0.8;
  margin-bottom: 2rem;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}


/* ==========================================================================
   Ascending "Uplift" Staircase (Growth & Progress Motif)
   ========================================================================== */
.uplift-stair-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0; 
  max-width: 1000px; 
  margin: 2rem auto 3rem auto; 
  padding: 0 1.5rem;
}

.uplift-step {
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.uplift-step:hover {
  transform: translateY(-4px); /* Subtle physical uplift on hover */
}

/* 1. ASCENDING STAGGER (Bottom-Left to Top-Right) */
.step-1 { padding-top: 14rem; }
.step-2 { padding-top: 7rem; }
.step-3 { padding-top: 0; }

/* 2. Top Text Styling */
.stair-text-top {
  min-height: 85px; 
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 1rem 1rem 1rem; 
}

.stair-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  text-align: right;
}

.stair-text-top h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 !important;
  line-height: 1.2;
  text-align: right;
}

.stair-text-top h4 .anchorjs-link { display: none !important; }

/* 3. The Connecting Horizontal Lines */
.stair-line {
  height: 1.5px;
  width: 100%;
  background-color: var(--color-orange);
  position: relative;
}

/* 4. The UPWARD Vertical Risers */
/* Since Step 2 is HIGHER than Step 1, this line drops down from Step 2 to perfectly meet Step 1 */
.step-2 .stair-line::before,
.step-3 .stair-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0; 
  width: 1.5px;
  height: calc(7rem + 1.5px); /* Mathematically bridges the 7rem gap */
  /* Gradient fades upward to subconsciously imply upward motion */
  background: linear-gradient(to top, rgba(255, 104, 1, 0.15), var(--color-orange)); 
}

/* 5. The "Uplift" Joints (Glowing anchor points) */
.stair-node {
  position: absolute;
  left: 0;
  top: 7rem; /* Anchors exactly at the bottom joint where the lower step meets the riser */
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background-color: var(--page-bg);
  border: 2px solid var(--color-orange);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(255, 104, 1, 0.4);
  z-index: 2;
  transition: all 0.3s ease;
}

/* Removes the joint from Step 1 since there is no lower step feeding into it */
.step-1 .stair-node { display: none; }

.uplift-step:hover .stair-node {
  background-color: var(--color-orange);
  transform: translate(-50%, -50%) scale(1.4);
}

/* 6. Bottom Text Styling */
.stair-text-bottom {
  padding: 1rem 1rem 0 1rem;
}

.stair-text-bottom p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-main);
  opacity: 0.9;
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   Mobile & Tablet Fallback (Clean Vertical Stack)
   ========================================================================== */
@media (max-width: 768px) {
  .uplift-stair-container {
    grid-template-columns: 1fr;
    padding: 0 1.5rem;
    gap: 3rem;
    margin-top: 2rem;
  }
  
  .uplift-step:hover { transform: none; }
  
  /* Remove the staggered climbing effect on mobile */
  .step-1, .step-2, .step-3 { padding-top: 0; }
  
  .stair-text-top {
    min-height: auto;
    padding: 0 0 1rem 0;
  }
  
  .stair-text-bottom {
    padding: 1.5rem 0 0 0;
  }
  
  /* Hide the complex architectural lines on mobile */
  .step-2 .stair-line::before,
  .step-3 .stair-line::before,
  .stair-node {
    display: none;
  }
}



.carousel-dots { display: flex; align-items: center; gap: 0.5rem; }
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--glass-border); border: none; padding: 0;
  cursor: pointer; transition: all 0.3s ease;
}
.carousel-dot[aria-current="true"] {
  background: var(--color-orange); width: 22px; border-radius: 100px;
}







/* -- CTA Banner ------------------------------------------------- */
.cta-banner {
  margin-top: 4rem; /* Reduced from 5rem to prevent scrolling fatigue before the button */
  padding: 3.5rem 2.5rem;
  /* ... keep the rest of your CTA styles ... */
  border-radius: 0 48px 0 48px;
  background: var(--glass-bg);
  border: 1px solid var(--color-orange);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(255, 104, 1, 0.1);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,92,0,0.15);
  pointer-events: none;
}

.cta-banner h2 {
  font-family: 'Fraunces', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-main);
  margin-bottom: 0.75rem;
  border-bottom: none !important;
}

.cta-banner p {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: var(--text-main);
  opacity: 0.8;
  margin-bottom: 2rem;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

/* -- Responsive ------------------------------------------------- */
@media (max-width: 768px) {
  .stats-bar { border-radius: 16px 0 16px 0 !important; }
  .stat-item + .stat-item::before { display: none; }
  .stat-item { border-top: 1px solid var(--glass-border); }
  .stat-item:first-child { border-top: none; }
}



/* ==========================================================================
   Web Development Services Page
   ========================================================================== */

/* -- Shared utilities ------------------------------------------- */
.wd-eyebrow {
  display: none !important;
}

/* -- Global Primary Buttons (Web Dev & CTA) -- */
.btn-primary-wd {
  display: inline-flex;       
  align-items: center;        
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 19px;
  color: #ffffff !important;
  background-color: var(--color-dark, #3e2407); 
  border: 1.5px solid var(--color-dark, #3e2407);
  padding: 16px 36px !important; 
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 15px rgba(12, 84, 70, 0.2);
  border-radius: 16px 0 16px 0 !important; 
}

.btn-primary-wd:hover {
  background-color: var(--color-orange);
  border-color: var(--color-orange);
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 104, 1, 0.25);
}

.btn-primary-wd svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.btn-primary-wd:hover svg {
  transform: translateX(3px);
}

/* -- Global Secondary Buttons (Ghost) -- */
.btn-ghost-wd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 19px;
  color: var(--text-main);
  background: transparent;
  border: 1.5px solid var(--glass-border);
  padding: 0.85rem 2.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 16px 0 16px 0; 
}

.btn-ghost-wd:hover {
  border-color: var(--color-orange);
  color: var(--color-orange) !important;
  background: rgba(255, 104, 1, 0.05);
  transform: translateY(-3px);
}

.btn-ghost-wd svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.btn-ghost-wd:hover svg {
  transform: translateX(3px);
}

[data-bs-theme="dark"] .btn-primary-wd {
  background: var(--color-light);
  color: var(--color-dark) !important;
  border-color: var(--color-light);
}

[data-bs-theme="dark"] .btn-primary-wd:hover {
  background: var(--color-orange);
  color: var(--color-light) !important;
  border-color: var(--color-orange);
}

/* -- HERO ------------------------------------------------------- */
.wd-hero {
  padding: 5rem 0 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .wd-hero { grid-template-columns: 1fr; }
  .wd-hero-visual { margin-top: -5rem; }
}

.wd-hero-title {
  font-family: 'Fraunces', sans-serif;
  font-size: clamp(5.5rem, 6vw, 5rem);
  line-height: 1.12;
  color: var(--text-main);
  margin: 0.5rem 0 1.2rem;
}

.wd-hero-title em { color: var(--color-orange); }

.wd-hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: var(--text-main);
  max-width: 100%;
  opacity: 0.8;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.wd-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* -- Hero Carousel & Screenshot Previews ------------------------ */
.hero-carousel-container {
  position: relative;
  width: 100%;
  max-width: 550px;
  margin: 0 auto;
}

.hero-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; 
  -ms-overflow-style: none; 
  scroll-behavior: smooth;
  padding-bottom: 1rem;
}

.hero-carousel::-webkit-scrollbar {
  display: none; 
}

.hero-carousel-card {
  flex: 0 0 100%;
  scroll-snap-align: center;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 0 40px 0 40px; 
  padding: 1.0rem;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.carousel-preview {
  height: 270px;
  background: var(--code-bg);
  border: 1px solid var(--glass-border);
  border-radius: 0 25px 0 25px; 
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Mac-style dots */
.mini-browser-bar {
  background: rgba(219, 208, 190, 0.15);
  padding: 8px 12px;
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--glass-border);
  z-index: 2;
}

.mini-browser-bar .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--glass-border);
}
.mini-browser-bar .dot.red { background: rgba(255,95,87,0.8); }
.mini-browser-bar .dot.yellow { background: rgba(254,188,46,0.8); }
.mini-browser-bar .dot.green { background: rgba(40,200,64,0.8); }

/* Image Container */
.preview-image-container {
  flex: 1;
  width: 100%;
  overflow: hidden;
  background: var(--color-light); 
}

.carousel-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: top; 
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-carousel-card:hover .carousel-screenshot {
  transform: scale(1.05);
}

/* Carousel Info & Live Button */
.carousel-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end; 
  padding: 0 0.5rem;
}

.carousel-info-text h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  color: var(--text-main);
  margin: 0 0 0.25rem 0;
  line-height: 1.1;
}

.carousel-info-text p {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--text-main);
  opacity: 0.7;
  margin: 0;
}

.carousel-live-btn {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6rem 1.2rem;
  background: var(--color-orange);
  color: var(--color-light) !important;
  border: 1px solid var(--color-orange);
  border-radius: 0 14px 0 14px; 
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.carousel-live-btn:hover {
  background: transparent;
  color: var(--color-orange) !important;
  transform: translateY(-2px);
}

[data-bs-theme="dark"] .carousel-live-btn {
  background: var(--color-light);
  color: var(--color-dark) !important;
  border-color: var(--color-light);
}

[data-bs-theme="dark"] .carousel-live-btn:hover {
  background: var(--color-orange);
  color: var(--color-light) !important;
  border-color: var(--color-orange);
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding-right: 1.5rem;
}

.carousel-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.carousel-btn:hover {
  background: var(--color-orange);
  color: var(--color-light);
  border-color: var(--color-orange);
  transform: scale(1.05);
}

/* -- SERVICE TIERS ---------------------------------------------- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns */
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 900px) { .tier-grid { grid-template-columns: 1fr; } }

.tier-card {
  border-radius: 0 40px 0 40px; 
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px var(--glass-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(255,92,0,0.15);
  border-color: var(--color-orange);
}

.tier-card.featured {
  border-color: rgba(255,92,0,0.5);
  background: linear-gradient(160deg, rgba(255,92,0,0.08) 0%, var(--glass-bg) 60%);
  position: relative;
}

.featured-badge {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-orange);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
}

.tier-top {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--glass-border);
}

.tier-icon {
  width: 56px; height: 56px;
  border-radius: 16px 0 16px 0 !important;
  background: rgba(255,92,0,0.15);
  border: 1px solid rgba(255,92,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.tier-name {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
  line-height: 1;
}

.tier-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--text-main);
  opacity: 0.7;
  line-height: 1.6;
}

.tier-body {
  padding: 1.5rem 2rem 2.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tier-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  color: var(--text-main);
  opacity: 0.8;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.tier-features {
  list-style: none;
  padding: 0; margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.87rem;
  color: var(--text-main);
  opacity: 0.85;
  line-height: 1.5;
}

.tier-features li::before {
  content: '?'; /* Swapped from '?' */
  color: var(--color-orange);
  font-weight: 900; /* Made bolder */
  font-size: 1.1rem; /* Slightly larger */
  flex-shrink: 0;
}

.tier-cta {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.85rem 1.5rem;
  border-radius: 16px 0 16px 0 !important;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all 0.25s ease;
  border: 1.5px solid var(--color-orange);
  color: var(--color-orange);
  background: transparent;
}

.tier-cta:hover {
  background: var(--color-orange);
  color: var(--color-light);
}

.tier-card.featured .tier-cta {
  background: var(--color-orange);
  color: var(--color-light);
  box-shadow: 0 4px 15px rgba(255, 104, 1, 0.3); /* Added a subtle glow */
  transform: scale(1.02); /* Makes it slightly larger than the standard button */
}

.tier-card.featured .tier-cta:hover {
  background: transparent;
  color: var(--color-orange);
  box-shadow: none;
  transform: scale(1);
}

/* -- TECH STACK ------------------------------------------------- */
.stack-section { margin-top: 5rem; }

.stack-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.stack-pill {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
  background: var(--code-bg);
  border: 1px solid var(--glass-border);
  border-radius: 0 12px 0 12px;
  padding: 0.5rem 1.2rem;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  cursor: default;
}

.stack-pill:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
  background: rgba(255,92,0,0.05);
}

.stack-category {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-main);
  opacity: 0.6;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  width: 100%;
}

/* -- COMPARISON TABLE ------------------------------------------- */
.compare-section { margin-top: 5rem; }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  min-width: 600px;
}

.compare-table th {
  background: rgba(219, 208, 190, 0.1);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 1.2rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}

.compare-table th:not(:first-child) { text-align: center; }

.compare-table td {
  padding: 1rem 1.5rem;
  color: var(--text-main);
  opacity: 0.85;
  border-bottom: 1px solid rgba(219, 208, 190, 0.15);
  vertical-align: middle;
}

.compare-table td:not(:first-child) { text-align: center; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: rgba(219, 208, 190, 0.05); }

.compare-table .col-highlight {
  background: rgba(255,92,0,0.04);
  border-left: 1px solid rgba(255,92,0,0.15);
  border-right: 1px solid rgba(255,92,0,0.15);
}

.check { color: var(--color-orange); font-size: 1.1rem; font-weight: bold; }
.dash  { color: var(--glass-border); font-weight: bold; }






/* ==========================================================================
   LINUX COURSE PAGE COMPONENTS
   ========================================================================== */

.linux-page {
  background-color: transparent; 
}

/* -- Section Headings -- */
.linux-page .section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--color-orange); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.linux-page .section-heading {
  font-family: 'Fraunces', sans-serif !important;
  font-size: clamp(2.2rem, 4vw, 3.5rem) !important;
  color: var(--text-main) !important;
  margin: 0 0 0.8rem !important;
  line-height: 1.1;
}

/* -- Blinking Enrollment Badge -- */
.enrollment-badge {
  display: flex;             
  width: fit-content;        
  margin: 0 auto 1.5rem;     
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #16a34a; 
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 6px 16px;
  border-radius: 100px;
}

.blink-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  animation: blink 1.2s infinite;
}

/* -- Massive Hero Typography -- */
.linux-page .wd-hero-title {
  font-family: 'Fraunces', sans-serif !important;
  font-size: clamp(3.5rem, 9vw, 6.5rem) !important;
  color: var(--text-main) !important;
  margin: 0 0 1rem !important; 
  line-height: 1.05 !important;
  max-width: 100%;
  letter-spacing: 0em; 
}
.linux-page .wd-hero-title .accent { 
  font-style: italic; 
  color: var(--color-orange); 
}
.linux-page .wd-hero-title .rhel { 
  color: #F43F5E; 
}

/* -- Box-less Terminal Prompt -- */
.linux-page .terminal-prompt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  display: flex; 
  align-items: center; 
  gap: 0.4rem; 
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.linux-page .prompt-user  { color: var(--color-orange); font-weight: 600; }
.linux-page .prompt-at    { color: var(--text-main); opacity: 0.6; }
.linux-page .prompt-host  { color: var(--color-orange); font-weight: 600; }
.linux-page .prompt-path  { color: var(--text-main); opacity: 0.6; }
.linux-page .prompt-cmd   { color: var(--text-main); font-weight: 600; letter-spacing: 0.03em;}
.linux-page .cursor {
  display: inline-block; width: 9px; height: 1.2em;
  background: var(--color-orange);
  animation: blink 1s step-end infinite;
  vertical-align: middle; margin-left: 2px;
}
@keyframes blink { 50% { opacity: 0; } }

/* -- Hero Right-Side Stats Grid -- */
.linux-stats-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 320px;
  margin-left: auto;
}
.linux-stat-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--color-orange);
  padding: 1.5rem 2rem;
  border-radius: 0 24px 0 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px var(--glass-shadow);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.linux-stat-card:hover { 
  transform: translateY(-5px); 
  border-color: var(--color-orange);
}
.linux-stat-num {
  font-family: 'Fraunces', sans-serif;
  font-size: 2.5rem;
  color: var(--color-orange);
  line-height: 1;
  display: block;
}
.linux-stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-main);
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
  display: block;
}

/* -- Premium Benefits Grid -- */
.linux-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.benefit-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 1rem 1rem;
  border-radius: 0 24px 0 24px; 
  box-shadow: 0 10px 30px var(--glass-shadow);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.benefit-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-orange);
}
.benefit-icon {
  font-size: 2rem;
  margin-bottom: 0rem;
  margin-top: 0rem;
}
.benefit-card h4 {
  font-family: 'Fraunces', sans-serif;
  font-size: 1.6rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  margin-top:0rem;
  line-height: 1.1;
}
.benefit-card p {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-main);
  opacity: 0.8;
  line-height: 1.6;
  margin: 0;
}


/* -- Center-Aligned Tools Strip (Box shape) -- */
.tools-strip { text-align: center; }
.tools-label { 
  font-family: 'JetBrains Mono', monospace; 
  font-size: 0.8rem; 
  letter-spacing: 0.2em; 
  text-transform: uppercase; 
  color: var(--color-mid); 
  margin-bottom: 2rem; 
}
.tools-row { 
  display: flex; 
  flex-wrap: wrap; 
  justify-content: center; 
  gap: 12px; 
  max-width: 800px; 
  margin: 0 auto; 
}
.tool-box {
  font-family: 'JetBrains Mono', monospace; font-size: 0.85rem;
  color: var(--text-main);
  padding: 0.5rem 1.2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px; 
  transition: all 0.3s ease;
  display: flex; align-items: center; gap: 0.5rem;
}
.tool-box:hover {
  color: var(--color-orange);
  border-color: var(--color-orange);
  background: var(--color-orange-soft);
  transform: translateY(-2px);
}
.tool-box .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-orange); opacity: 0.8;
}

/* -- Expanding Module Cards (2x2 Grid Layout) -- */
.linux-modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 2rem;
}
.linux-mod-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px var(--glass-shadow);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.linux-mod-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

/* Accent lines and watermarks */
.linux-mod-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--card-accent, var(--color-orange));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.linux-mod-card:hover::before { transform: scaleX(1); }
.linux-mod-card::after {
  content: attr(data-num); position: absolute; bottom: -5px; right: 15px;
  font-family: 'Fraunces', sans-serif; font-size: 6rem; 
  color: rgba(0,0,0,0.03); line-height: 1; pointer-events: none; z-index: 0;
}

.linux-mod-card.mod-1 { --card-accent: var(--color-orange); }
.linux-mod-card.mod-2 { --card-accent: var(--red-rhel); }
.linux-mod-card.mod-3 { --card-accent: var(--amber); }
.linux-mod-card.mod-4 { --card-accent: #a8a29e; }

.mod-icon {
  width: 48px; height: 48px; background: var(--color-orange-soft);
  border: 1px solid rgba(255,92,0,0.2); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.5rem; position: relative; z-index: 1;
}
.linux-mod-card.mod-2 .mod-icon { background: var(--red-dim); border-color: rgba(225,29,72,.2); }
.linux-mod-card.mod-3 .mod-icon { background: rgba(245,158,11,.08); border-color: rgba(245,158,11,.2); }
.linux-mod-card.mod-4 .mod-icon { background: rgba(0,0,0,.03); border-color: rgba(0,0,0,.06); }

.mod-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; letter-spacing: 0.15em; 
  text-transform: uppercase; color: var(--card-accent); margin-bottom: 0.5rem; display: block;
}
.mod-title {
  font-family: 'Fraunces', sans-serif; font-size: 1.8rem; 
  color: var(--text-main); margin-bottom: 1rem; line-height: 1.1; position: relative; z-index: 1;
}
.mod-desc {
  font-family: 'Inter', sans-serif; font-size: 0.95rem; color: var(--text-main); opacity: 0.8;
  line-height: 1.7; flex: 1; margin: 0; position: relative; z-index: 1;
}

/* Hover-to-expand CSS trick */
.mod-topics-expand {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease-out;
  position: relative; z-index: 1;
}
.linux-mod-card:hover .mod-topics-expand {
  grid-template-rows: 1fr;
}
.mod-topics-inner {
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, margin-top 0.3s ease;
}
.linux-mod-card:hover .mod-topics-inner {
  opacity: 1;
  transform: translateY(0);
  margin-top: 1.5rem; 
}
.mod-topic {
  font-family: 'JetBrains Mono', monospace; font-size: 0.7rem;
  color: var(--text-main); background: var(--code-bg);
  border: 1px solid var(--glass-border);
  padding: 0.3rem 0.8rem; border-radius: 6px;
}

/* -- RHCSA Vertical Timeline (No Numbers) -- */
.rhcsa-timeline {
  display: flex; flex-direction: column; gap: 0;
  margin-top: 2rem; position: relative; max-width: 800px;
}
/* Vertical Connecting Line */
.rhcsa-timeline::before {
  content: ''; position: absolute;
  left: 7px; top: 15px; bottom: 25px; width: 2px;
  background: linear-gradient(to bottom, var(--color-orange), transparent); z-index: 0;
}
.rhcsa-step {
  display: flex; gap: 2rem; padding: 1.5rem 0;
  position: relative; z-index: 1;
}
.rhcsa-dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--color-orange);
  box-shadow: 0 0 0 6px var(--page-bg), 0 0 0 8px rgba(255, 104, 1, 0.2);
  flex-shrink: 0; margin-top: 0.4rem;
}
.rhcsa-content h4 {
  font-family: 'Fraunces', sans-serif; font-size: 1.8rem;
  color: var(--text-main); margin: 0 0 0.5rem 0; line-height: 1.2;
}
.rhcsa-content p {
  font-family: 'Inter', sans-serif; font-size: 1rem;
  color: var(--text-main); opacity: 0.8; line-height: 1.7; margin: 0;
}
.rhcsa-duration {
  font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 600;
  color: var(--color-orange); background: var(--code-bg);
  padding: 0.4rem 1.2rem; border-radius: 100px; display: inline-block;
  margin-top: 1.2rem; border: 1px solid var(--glass-border);
}

@media (max-width: 992px) {
  .linux-benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .linux-modules-grid { grid-template-columns: 1fr; } 
  .linux-stats-grid { margin-left: 0; max-width: 100%; flex-direction: row; flex-wrap: wrap; }
  .linux-stat-card { flex: 1; min-width: 140px; }
  .rhcsa-step { gap: 1.5rem; padding: 1.5rem 0; }
  .linux-benefits-grid { grid-template-columns: 1fr; }
}




/* ==========================================================================
   AWS COURSE PAGE COMPONENTS
   ========================================================================== */

.aws-page {
  background-color: transparent; 
}

/* -- Hero Typography -- */
.aws-page .wd-hero-title {
  font-family: 'Fraunces', sans-serif !important;
  font-size: clamp(3.5rem, 9vw, 6.5rem) !important;
  color: var(--text-main) !important;
  margin: 0 0 1rem !important; 
  line-height: 1.05 !important;
  max-width: 16ch;
  letter-spacing: -0.02em; 
}
.aws-page .wd-hero-title .accent { font-style: italic; color: var(--color-orange); }
.aws-page .wd-hero-title .aws-text { color: var(--color-dark); }
[data-bs-theme="dark"] .aws-page .wd-hero-title .aws-text { color: var(--color-light); }

.aws-page .hero-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--text-main);
  opacity: 0.8;
  margin-bottom: 2rem;
}

/* -- Hero Floating Service Pills -- */
.aws-hero-services {
  display: flex; flex-direction: column; gap: 1rem;
  max-width: 260px; margin-left: auto;
  position: relative; z-index: 2;
}
.aws-svc-pill {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.8rem 1.2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03); 
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease;
  animation: floatInRight 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}
.aws-svc-pill:hover { transform: translateX(-8px); border-color: var(--color-orange); }
.aws-svc-pill:nth-child(1) { animation-delay: 0.1s; }
.aws-svc-pill:nth-child(2) { animation-delay: 0.2s; }
.aws-svc-pill:nth-child(3) { animation-delay: 0.3s; }
.aws-svc-pill:nth-child(4) { animation-delay: 0.4s; }
.aws-svc-pill:nth-child(5) { animation-delay: 0.5s; }
.aws-svc-pill:nth-child(6) { animation-delay: 0.6s; }

@keyframes floatInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

.aws-page .svc-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
  background: var(--color-orange-soft); border: 1px solid rgba(255,92,0,0.2);
}
.aws-page .svc-icon.docker { background: rgba(2, 132, 199, 0.1); border-color: rgba(2, 132, 199, 0.2); }
.aws-page .svc-icon.green  { background: rgba(22, 163, 74, 0.1); border-color: rgba(22, 163, 74, 0.2); }
.aws-page .svc-name { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.9rem; color: var(--text-main); line-height: 1.2;}
.aws-page .svc-cat  { font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; color: var(--color-orange); text-transform: uppercase; letter-spacing: 0.05em;}


/* -- AWS Vertical Timeline -- */
.aws-timeline {
  display: flex; flex-direction: column; gap: 0;
  margin-top: 2rem; position: relative; max-width: 800px;
}
.aws-timeline::before {
  content: ''; position: absolute;
  left: 7px; top: 15px; bottom: 25px; width: 2px;
  background: linear-gradient(to bottom, var(--color-orange), transparent); z-index: 0;
}
.aws-step {
  display: flex; gap: 2rem; padding: 1.5rem 0;
  position: relative; z-index: 1;
}
.aws-dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--color-orange);
  box-shadow: 0 0 0 6px var(--page-bg), 0 0 0 8px rgba(255, 104, 1, 0.2);
  flex-shrink: 0; margin-top: 0.4rem;
}
.aws-content h4 {
  font-family: 'Fraunces', sans-serif; font-size: 1.8rem;
  color: var(--text-main); margin: 0 0 0.5rem 0; line-height: 1.2;
}
.aws-content p {
  font-family: 'Inter', sans-serif; font-size: 1rem;
  color: var(--text-main); opacity: 0.8; line-height: 1.7; margin: 0;
}
.aws-duration {
  font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 600;
  color: var(--color-orange); background: var(--code-bg);
  padding: 0.4rem 1.2rem; border-radius: 100px; display: inline-block;
  margin-top: 1.2rem; border: 1px solid var(--glass-border);
}


/* -- Expanding Module Cards (AWS specific colors) -- */
.aws-modules-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
}
.aws-mod-card {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: 24px; padding: 2.5rem;
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 10px 30px var(--glass-shadow);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}
.aws-mod-card:hover { 
  transform: translateY(-6px); 
  box-shadow: 0 20px 40px rgba(0,0,0,0.06); 
}
.aws-mod-card.wide-card { grid-column: 1 / -1; }

.aws-mod-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--card-accent, var(--color-orange));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.aws-mod-card:hover::before { transform: scaleX(1); }
.aws-mod-card::after {
  content: attr(data-num); position: absolute; bottom: -5px; right: 15px;
  font-family: 'Fraunces', sans-serif; font-size: 6rem; 
  color: rgba(0,0,0,0.03); line-height: 1; pointer-events: none; z-index: 0;
}


.mod-header {
  display: flex;
  align-items: center;      
  justify-content: center;  
  position: relative;
  margin-bottom: 1.5rem;
  min-height: 48px;         
  z-index: 1;
}

.mod-icon {
  position: absolute;       
  left: 0;
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--color-orange-soft); border: 1px solid rgba(255,92,0,0.2); 
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; 
  margin: 0; 
  z-index: 1;
}

.mod-title {
  font-family: 'Fraunces', sans-serif; font-size: 1.8rem; 
  color: var(--text-main); 
  margin: 0; 
  line-height: 1.1; 
  text-align: center;       
  padding: 0 50px;          
}


.mod-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; letter-spacing: 0.15em; 
  text-transform: uppercase; color: var(--card-accent); 
  margin-bottom: 0.2rem; 
  display: block;
}

.aws-mod-card.mod-1 { --card-accent: var(--color-orange); }
.aws-mod-card.mc-sage { --card-accent: #16a34a; }
.aws-mod-card.mc-blue { --card-accent: #0284c7; }
.aws-mod-card.mc-amber { --card-accent: #d97706; }

.aws-mod-card.mc-sage .mod-icon { background: rgba(22, 163, 74, 0.1); border-color: rgba(22, 163, 74, 0.2); }
.aws-mod-card.mc-blue .mod-icon { background: rgba(2, 132, 199, 0.1); border-color: rgba(2, 132, 199, 0.2); }
.aws-mod-card.mc-amber .mod-icon { background: rgba(217, 119, 6, 0.1); border-color: rgba(217, 119, 6, 0.2); }

.mod-desc {
  font-family: 'Inter', sans-serif; font-size: 0.95rem; color: var(--text-main); opacity: 0.8;
  line-height: 1.7; flex: 1; margin: 0; position: relative; z-index: 1;
}

/* Hover-to-expand CSS trick */
.mod-topics-expand {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease-out;
  position: relative; z-index: 1;
}
.aws-mod-card:hover .mod-topics-expand {
  grid-template-rows: 1fr;
}
.mod-topics-inner {
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, margin-top 0.3s ease;
}
.aws-mod-card:hover .mod-topics-inner {
  opacity: 1;
  transform: translateY(0);
  margin-top: 1.5rem; 
}
.mod-topic {
  font-family: 'JetBrains Mono', monospace; font-size: 0.7rem;
  color: var(--text-main); background: var(--code-bg);
  border: 1px solid var(--glass-border);
  padding: 0.3rem 0.8rem; border-radius: 6px;
}

/* -- AWS Services Categories -- */
.aws-svc-categories {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.aws-cat-card {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: 16px; padding: 1.5rem; box-shadow: 0 10px 25px var(--glass-shadow);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.aws-cat-card:hover {
  transform: translateY(-4px); border-color: var(--color-orange);
}
.aws-cat-header {
  display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.2rem;
}
.cat-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--color-orange-soft); border: 1px solid rgba(255,92,0,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.aws-cat-header h4 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; color: var(--text-main); margin: 0; }
.aws-svc-list { display: flex; flex-wrap: wrap; gap: 8px; }

/* -- Projects Grid -- */
.aws-projects-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}

/* -- Teaser Cards (Upcoming CSPs) -- */
.aws-teaser-row { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 1.5rem; 
}
.teaser-card {
  flex: 1; 
  min-width: 220px; 
  padding: 1.5rem 1.5rem;
  background: var(--glass-bg); 
  border: 1px solid var(--glass-border);
  border-radius: 16px; 
  position: relative; 
  overflow: hidden;
  box-shadow: 0 10px 30px var(--glass-shadow);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease;
}
.teaser-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-orange);
}
.teaser-card.active { 
  border-color: rgba(255,92,0,0.4); 
  background: rgba(255,92,0,0.03); 
}
.teaser-card .t-logo { 
  font-family: 'Inter', sans-serif; 
  font-size: 1.1rem; 
  font-weight: 600; 
  color: var(--text-main); 
  margin-bottom: 0.3rem; 
}
.teaser-card.active .t-logo { 
  color: var(--color-orange); 
}
.teaser-card .t-status { 
  font-family: 'JetBrains Mono', monospace; 
  font-size: 0.65rem; 
  letter-spacing: 0.15em; 
  text-transform: uppercase; 
  color: #16a34a; 
}
.teaser-card .t-info { 
  font-family: 'Inter', sans-serif; 
  font-size: 0.85rem; 
  color: var(--text-main); 
  opacity: 0.8; 
  line-height: 1.5; 
  margin-top: 0.8rem; 
}

/* -- Responsive Rules -- */
@media (max-width: 992px) { 
  .aws-svc-categories { grid-template-columns: repeat(2, 1fr); }
  .aws-projects-grid { grid-template-columns: repeat(2, 1fr); } 
}
@media (max-width: 768px) {
  .aws-hero-services { margin-left: 0; max-width: 100%; flex-direction: row; flex-wrap: wrap; }
  .aws-svc-pill { flex: 1; min-width: 140px; }
  .aws-modules-grid { grid-template-columns: 1fr; }
  .aws-step { gap: 1.5rem; padding: 1.5rem 0; }
}
@media (max-width: 600px) { 
  .aws-svc-categories { grid-template-columns: 1fr; }
  .aws-projects-grid { grid-template-columns: 1fr; } 
}




/* ==========================================================================
   LEARN HUB PAGE COMPONENTS (Liquid Glass)
   ========================================================================== */

.learn-page { background: transparent; }

/* -- Learn Page Specific Hero (Single Column Stacked) -- */
.learn-hero {
  display: flex;
  flex-direction: column;
  align-items: center;     
  text-align: center;      
  padding: 6rem 1rem 4rem; 
  max-width: 1000px;
  margin: 0 auto;          
}

.learn-hero-title {
  font-family: 'Fraunces', sans-serif;
  font-size: clamp(3.5rem, 9vw, 6.5rem); 
  color: var(--text-main);
  line-height: 1;
  margin: 1.5rem 0 1.5rem 0;
  letter-spacing: -0.02em;
}

.learn-hero-title .accent { font-style: italic; color: var(--color-orange); }
.learn-hero-title .pro-text { color: var(--color-orange); }

.learn-hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: var(--text-main);
  opacity: 0.8;
  max-width: 650px;
  line-height: 1.7;
  margin: 0 auto 3rem auto;
}

.learn-page .enrollment-badge {
  margin: 0 auto; 
}

/* -- Hero Stats Row -- */
.hero-stats-row {
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center;
  max-width: 900px; margin: 0 auto;
}
.hs-pill {
  font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; 
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-main); opacity: 0.8;
  background: var(--code-bg); border: 1px solid var(--glass-border);
  padding: 0.4rem 1rem; border-radius: 100px;
  display: flex; align-items: center; gap: 0.4rem;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hs-pill b { color: var(--color-orange); }

/* -- Common Tools Banner -- */
.common-banner {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: 24px; padding: 2.5rem;
  box-shadow: 0 10px 30px var(--glass-shadow);
  margin-bottom: 4rem; position: relative; overflow: hidden;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.common-banner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #0284c7, #ec4899);
}
.cb-head { margin-bottom: 2rem; }
.cb-badge {
  font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--color-orange);
  background: var(--color-orange-soft); border: 1px solid rgba(255,92,0,0.2);
  padding: 0.3rem 0.8rem; border-radius: 100px; display: inline-block; margin-bottom: 1rem;
}
.cb-title { 
  font-family: 'Fraunces', sans-serif; 
  font-size: clamp(1.8rem, 3vw, 2.4rem); 
  color: var(--text-main); margin: 0 0 0.5rem; line-height: 1.1; 
}
.cb-subtitle { font-family: 'Inter', sans-serif; font-size: 0.9rem; color: var(--text-main); opacity: 0.7; }

.common-tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.ct-card {
  background: var(--code-bg); border: 1px solid var(--glass-border);
  border-radius: 16px; padding: 1.5rem;
  display: flex; align-items: flex-start; gap: 1rem;
  transition: border-color 0.4s ease;
}
.ct-card:hover { border-color: var(--ctc); }
.ct-ico {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  background: color-mix(in srgb, var(--ctc) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--ctc) 30%, transparent);
}
.ct-label { font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ctc); display: block; margin-bottom: 0.3rem; }
.ct-name { font-family: 'Fraunces', sans-serif; font-size: 1.5rem; color: var(--text-main); margin: 0 0 0.4rem; line-height: 1.1; }
.ct-desc { font-family: 'Inter', sans-serif; font-size: 0.85rem; color: var(--text-main); opacity: 0.8; line-height: 1.6; margin-bottom: 1rem; }
.ct-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.ct-pill {
  font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; color: var(--ctc);
  background: color-mix(in srgb, var(--ctc) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--ctc) 20%, transparent);
  padding: 0.2rem 0.6rem; border-radius: 100px;
}

/* -- Category Tabs -- */
.cat-area { margin-bottom: 4rem; }
.cat-hint { text-align: center; font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-mid); margin-bottom: 1.5rem; }
.cat-tabs { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 2rem; }

.cat-tab {
  font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 500;
  padding: 0.7rem 1.4rem; border-radius: 100px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  color: var(--text-main); cursor: pointer; user-select: none;
  display: flex; align-items: center; gap: 0.6rem; white-space: nowrap;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 15px var(--glass-shadow);
}
.tab-n {
  font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; letter-spacing: 0.1em;
  background: var(--code-bg); padding: 0.2rem 0.6rem; border-radius: 100px; opacity: 0.8;
  transition: all 0.3s ease;
}
.cat-tab:hover, .cat-tab.on {
  border-color: var(--tc);
  background: color-mix(in srgb, var(--tc) 8%, transparent);
  color: var(--text-main); transform: translateY(-3px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--tc) 15%, transparent);
}
.cat-tab.on .tab-n { background: color-mix(in srgb, var(--tc) 20%, transparent); color: var(--tc); opacity: 1; font-weight: 600; }

/* -- Interactive Panels -- */
.learn-panel { display: none; animation: panIn 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; }
.learn-panel.on { display: block; }
@keyframes panIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.ph-header {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  margin-bottom: 3rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--glass-border);
}
.ph-bar { width: 4px; height: 50px; border-radius: 2px; background: var(--pac); flex-shrink: 0; }
.ph-titles { flex: 1; min-width: 250px; }
.ph-name { 
  font-family: 'Fraunces', sans-serif; 
  font-size: clamp(2rem, 4vw, 2.5rem); 
  color: var(--text-main); margin: 0 0 0.3rem; line-height: 1.1; 
}
.ph-sub { font-family: 'Inter', sans-serif; font-size: 0.95rem; color: var(--text-main); opacity: 0.8; margin: 0; }
.ph-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--pac); background: color-mix(in srgb, var(--pac) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--pac) 30%, transparent);
  padding: 0.4rem 1rem; border-radius: 100px; white-space: nowrap; margin-left: auto;
}

/* -- Track Cards (Dynamic CSS Color-Mix) -- */
.learn-grid { display: grid; gap: 2rem; margin-bottom: 4rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.track-card {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  padding: 2.5rem 2rem; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px var(--glass-shadow);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}
.track-card.shape-1 { border-radius: 0 32px 0 32px; }
.track-card.shape-2 { border-radius: 32px 0 32px 0; }

.track-card:hover {
  transform: translateY(-6px);
  border-color: var(--ca);
  box-shadow: 0 20px 40px color-mix(in srgb, var(--ca) 15%, transparent);
}
.track-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--ca); transform: scaleX(0); transform-origin: left; transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.track-card:hover::before { transform: scaleX(1); }

.tc-head { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.2rem; position: relative; z-index: 1;}
.tc-ico {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  background: color-mix(in srgb, var(--ca) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--ca) 30%, transparent);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.track-card:hover .tc-ico { transform: scale(1.08) rotate(-5deg); }
.tc-track { font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ca); display: block; margin-bottom: 0.3rem; }
.tc-name { font-family: 'Fraunces', sans-serif; font-size: 1.6rem; color: var(--text-main); margin: 0; line-height: 1.1; }

.tc-desc { 
  font-family: 'Inter', sans-serif; 
  font-size: 0.9rem; 
  color: var(--text-main); 
  opacity: 0.8; 
  line-height: 1.6; 
  margin-bottom: 1.5rem; 
  position: relative; 
  z-index: 1;
  text-align: justify;
}

.tc-learns { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; padding: 0; position: relative; z-index: 1;}
.tc-learns li { font-family: 'Inter', sans-serif; font-size: 0.85rem; color: var(--text-main); opacity: 0.9; display: flex; align-items: flex-start; gap: 0.6rem; line-height: 1.4; }
.tc-learns li::before { content: '?'; color: var(--ca); font-weight: bold; flex-shrink: 0; }

.tc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.5rem; position: relative; z-index: 1;}
.chip { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: var(--text-main); background: var(--code-bg); border: 1px solid var(--glass-border); padding: 0.3rem 0.8rem; border-radius: 100px; display: flex; align-items: center; gap: 0.4rem; }
.chip b { color: var(--ca); }

.tc-incl {
  display: inline-flex; font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: #0284c7; background: rgba(2, 132, 199, 0.08); border: 1px solid rgba(2, 132, 199, 0.2);
  padding: 0.3rem 0.8rem; border-radius: 100px; margin-bottom: 1.5rem; width: fit-content; position: relative; z-index: 1;
}

/* Solo Full Width Card - FIXED */
.solo-card { 
  grid-column: 1 / -1; 
  display: grid !important; 
  grid-template-columns: 1fr 1fr; 
  gap: 3rem; 
  align-items: stretch; 
  border-radius: 24px !important; 
}
.tc-main { display: flex; flex-direction: column; }
.tc-side-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; align-content: start; position: relative; z-index: 1;}
.side-mod { background: var(--code-bg); border: 1px solid var(--glass-border); border-radius: 12px; padding: 1.5rem 1.2rem; transition: all 0.3s ease; }
.solo-card:hover .side-mod { border-color: color-mix(in srgb, var(--ca) 30%, transparent); background: color-mix(in srgb, var(--ca) 3%, var(--code-bg));}

.sm-head { 
  display: flex; 
  align-items: center; 
  gap: 0.6rem; 
  margin-bottom: 0.6rem; 
}
.sm-i { 
  font-size: 1.3rem; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  margin: 0; 
}
.sm-n { 
  font-family: 'Inter', sans-serif; 
  font-size: 0.95rem; 
  font-weight: 600; 
  color: var(--text-main); 
  margin: 0; 
  line-height: 1.2;
}
.sm-d { font-family: 'Inter', sans-serif; font-size: 0.85rem; color: var(--text-main); opacity: 0.8; margin: 0; line-height: 1.5; }

/* Utilities */
.mt-auto { margin-top: auto; }
.mb-auto { margin-bottom: auto; }
.mb-3 { margin-bottom: 1.5rem; }

/* -- Responsive Rules -- */
@media (max-width: 992px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .common-tools-grid { grid-template-columns: 1fr; }
  .solo-card { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .ph-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .ph-bar { display: none; }
  .ph-tag { margin-left: 0; }
  .hero-stats-row { flex-direction: column; align-items: stretch; }
  .hs-pill { justify-content: center; }
  .tc-side-grid { grid-template-columns: 1fr; }
}

.wd-btn-group {
  display: flex;
  gap: 2rem;  /* <-- INCREASE THIS VALUE */
  margin-top: 2.5rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}



/* ==========================================================================
   PROGRAMMING LANGUAGES TRACK (Liquid Glass Theme Sync)
   ========================================================================== */

/* Scoped variables mapped perfectly to your Universal Typography & Aesthetics */
.track-page {
  /* Universal Font Sync */
  --fn-head: 'Fraunces', sans-serif;
  --fn-body: 'Inter', sans-serif;
  --fn-btn: 'Inter', sans-serif;
  --fn-mono: 'JetBrains Mono', monospace;
  
  --r: 24px; /* Matches Akademiyaa card rounding */
  overflow-x: hidden;
}

/* Dynamic Language Accent Colors */
.lang-c   { --ac: #0284c7; --ac-rgb: 2, 132, 199; }
.lang-cpp { --ac: #9333ea; --ac-rgb: 147, 51, 234; }
.lang-py  { --ac: #d97706; --ac-rgb: 217, 119, 6; }

/* Dynamic Hero Section (Transparent background allows global theme to show) */
.track-page .c-hero {
  min-height: 80vh;
  display: flex; 
  flex-direction: column; 
  justify-content: center;
  /* Changed the 3rd value (bottom padding) to 1rem to kill the gap */
  padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 7vw, 7rem) 0rem;
  position: relative; 
  overflow: hidden;
  background: transparent; 
}

.track-page .c-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 10% 50%, rgba(var(--ac-rgb), 0.08) 0%, transparent 70%);
  z-index: 0;
}

/* Typography */
.track-page .c-kicker { font-family: var(--fn-mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ac); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.6rem; position: relative; z-index: 2; }
.track-page .c-kicker::before { content: ''; width: 22px; height: 2px; background: var(--ac); }
.track-page .c-h1 { font-family: var(--fn-head) !important; font-size: clamp(3.5rem, 8vw, 6.5rem) !important; font-weight: 400 !important; line-height: 1.05 !important; color: var(--text-main) !important; letter-spacing: -0.02em; margin-bottom: 0.4em !important; max-width: 16ch; position: relative; z-index: 2; }
.track-page .hi { color: var(--ac); } 
.track-page .it { font-style: italic; color: var(--color-orange); }
.track-page .c-desc { font-family: var(--fn-body); font-size: 1.05rem; color: var(--text-main); opacity: 0.8; line-height: 1.75; max-width: 54ch; margin-bottom: 2rem; position: relative; z-index: 2; }

/* Meta Chips */
.track-page .c-meta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2.8rem; position: relative; z-index: 2; }
.track-page .c-chip { font-family: var(--fn-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-main); opacity: 0.9; background: var(--code-bg); border: 1px solid var(--glass-border); padding: 0.4rem 1.2rem; border-radius: 100px; display: flex; align-items: center; gap: 0.5rem; backdrop-filter: blur(8px); }
.track-page .c-chip b { color: var(--ac); }

/* -- Asymmetric Buttons (Synced with Universal Akademiyaa Theme) -- */
.track-page .c-hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; position: relative; z-index: 2; }

.track-page .btn-ac { 
  font-family: var(--fn-btn); font-weight: 600; font-size: 0.95rem; 
  color: #ffffff !important; background: var(--color-dark); border: 1.5px solid var(--color-dark);
  padding: 0.85rem 2.2rem; border-radius: 16px 0 16px 0 !important; 
  transition: all 0.3s ease; box-shadow: 0 4px 15px var(--glass-shadow); 
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
}
.track-page .btn-ac:hover { background: var(--ac); border-color: var(--ac); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(var(--ac-rgb), 0.3); }

.track-page .btn-ghost { 
  font-family: var(--fn-btn); font-weight: 500; font-size: 0.95rem; 
  color: var(--text-main) !important; background: transparent; border: 1.5px solid var(--glass-border);
  padding: 0.85rem 2.2rem; border-radius: 16px 0 16px 0; 
  transition: all 0.3s ease; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
}
.track-page .btn-ghost:hover { border-color: var(--ac); color: var(--ac) !important; background: rgba(var(--ac-rgb), 0.05); transform: translateY(-3px); }

/* SVG formatting for buttons */
.track-page .btn-ac svg, .track-page .btn-ghost svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.3s ease; }
.track-page .btn-ac:hover svg, .track-page .btn-ghost:hover svg { transform: translateX(3px); }

/* Dark Mode Button Overrides */
[data-bs-theme="dark"] .track-page .btn-ac { background: var(--color-light); color: var(--color-dark) !important; border-color: var(--color-light); }
[data-bs-theme="dark"] .track-page .btn-ac:hover { background: var(--ac); color: #ffffff !important; border-color: var(--ac); }

/* Sections & Grids */
.track-page .s { 
  /* Top (Moderate) | Left/Right (Wide) | Bottom (Very tight) */
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 7vw, 7rem) 1rem; 
  max-width: 1400px; 
  margin: 0 auto; 
}

.track-page .s-alt { 
  background: transparent; 
  position: relative; 
} 

.track-page .s-lbl { font-family: var(--fn-mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ac); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem; }
.track-page .s-lbl::after { content: ''; display: block; height: 2px; width: 32px; background: var(--ac); opacity: 0.6; border-radius: 2px; }
.track-page .s-title { font-family: var(--fn-head) !important; font-size: clamp(2.2rem, 4vw, 3.2rem) !important; color: var(--text-main) !important; margin-bottom: 0.8rem !important; line-height: 1.1 !important; }
.track-page .s-title em { font-style: italic; color: var(--ac); }
.track-page .s-desc { font-family: var(--fn-body); font-size: 1rem; color: var(--text-main); opacity: 0.8; max-width: 65ch; line-height: 1.7; margin-bottom: 3rem; }

/* Frosted Glass Curriculum Grid */
.track-page .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; background: transparent; border: none; overflow: visible; }
.track-page .gc { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--r); padding: 2rem 1.8rem; transition: transform 0.3s ease, border-color 0.3s ease; cursor: default; box-shadow: 0 10px 30px var(--glass-shadow); backdrop-filter: blur(16px); }
.track-page .gc:hover { transform: translateY(-5px); border-color: var(--ac); }
.track-page .gc-num { font-family: var(--fn-head); font-size: 3rem; color: rgba(var(--ac-rgb), 0.15); line-height: 1; margin-bottom: 0.5rem; display: block; }
.track-page .gc-name { font-family: var(--fn-body); font-size: 1.1rem; font-weight: 600; color: var(--text-main); margin-bottom: 0.6rem; }
.track-page .gc-desc { font-family: var(--fn-body); font-size: 0.88rem; color: var(--text-main); opacity: 0.8; line-height: 1.65; margin-bottom: 1.2rem; }

/* Small Category Pills */
.track-page .pills { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.track-page .pill { font-family: var(--fn-mono); font-size: 0.65rem; color: var(--text-main); opacity: 0.8; background: var(--code-bg); border: 1px solid var(--glass-border); padding: 0.25rem 0.6rem; border-radius: 4px; transition: all 0.2s; }
.track-page .gc:hover .pill { color: var(--ac); border-color: rgba(var(--ac-rgb), 0.3); background: rgba(var(--ac-rgb), 0.05); opacity: 1;}

/* Frosted Glass Projects Grid */
.track-page .proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.track-page .pc { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--r); padding: 2rem; transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1); cursor: default; position: relative; overflow: hidden; box-shadow: 0 10px 30px var(--glass-shadow); backdrop-filter: blur(16px); }
.track-page .pc:hover { border-color: var(--ac); transform: translateY(-5px); box-shadow: 0 15px 40px rgba(var(--ac-rgb), 0.1); }
.track-page .pc::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--ac); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.track-page .pc:hover::before { transform: scaleX(1); }
.track-page .pc-num { font-family: var(--fn-mono); font-size: 0.65rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-main); opacity: 0.6; margin-bottom: 0.8rem; display: block; }
.track-page .pc-name { font-family: var(--fn-head); font-size: 1.6rem; color: var(--text-main); margin-bottom: 0.8rem; line-height: 1.1; }
.track-page .pc-desc { font-family: var(--fn-body); font-size: 0.9rem; color: var(--text-main); opacity: 0.8; line-height: 1.65; margin-bottom: 1.5rem; }
.track-page .pc-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.track-page .pc-tag { font-family: var(--fn-mono); font-size: 0.65rem; color: var(--ac); background: rgba(var(--ac-rgb), 0.08); border: 1px solid rgba(var(--ac-rgb), 0.25); padding: 0.25rem 0.7rem; border-radius: 4px; }

/* Memory Diagram (C Language) */
.track-page .mem-diagram { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--r); padding: 2.5rem; font-family: var(--fn-mono); font-size: 0.85rem; overflow-x: auto; box-shadow: 0 10px 30px var(--glass-shadow); backdrop-filter: blur(16px); }
.track-page .mem-row { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 0.8rem; flex-wrap: wrap; }
.track-page .mem-addr { color: var(--text-main); opacity: 0.6; min-width: 100px; font-size: 0.75rem; }
.track-page .mem-box { padding: 0.4rem 1rem; border: 1px solid var(--glass-border); border-radius: 6px; color: var(--text-main); min-width: 80px; text-align: center; background: var(--code-bg); }
.track-page .mem-box.hi-box { border-color: var(--ac); color: var(--ac); background: rgba(var(--ac-rgb), 0.05); box-shadow: 0 0 15px rgba(var(--ac-rgb), 0.15); }
.track-page .mem-label { color: var(--text-main); opacity: 0.8; font-size: 0.8rem; }

/* CTA Section */
.track-page .c-cta { 
  text-align: center; 
  padding: 3rem clamp(1.5rem, 7vw, 7rem); /* <-- Changed first value to 3rem */
  background: var(--glass-bg); 
  border: 1px solid var(--glass-border); 
  border-radius: 0 40px 0 40px; 
  margin: 2rem auto 5rem; 
  max-width: 1200px; 
  position: relative; 
  overflow: hidden; 
}
.track-page .c-cta::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 60% at 50% 100%, rgba(var(--ac-rgb), 0.08) 0%, transparent 70%); }
.track-page .cta-badge { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--fn-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ac); background: rgba(var(--ac-rgb), 0.08); border: 1px solid rgba(var(--ac-rgb), 0.25); padding: 0.4rem 1.2rem; border-radius: 100px; margin-bottom: 2rem; position: relative; z-index: 1;}
.track-page .cta-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ac); animation: pd 2s ease-in-out infinite; }
.track-page .c-cta h2 { font-family: var(--fn-head) !important; font-size: clamp(2.5rem, 5vw, 4rem) !important; color: var(--text-main) !important; margin: 0 auto 1.2rem !important; max-width: 22ch; line-height: 1 !important; position: relative; z-index: 1; }
.track-page .c-cta h2 em { font-style: italic; color: var(--ac); }
.track-page .c-cta p { font-family: var(--fn-body); font-size: 1.05rem; color: var(--text-main); max-width: 50ch; margin: 0 auto 2.5rem; line-height: 1.7; position: relative; z-index: 1; opacity: 0.8; }
.track-page .cta-btns { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; position: relative; z-index: 1; }

@media(max-width: 640px) { .track-page .c-hero { padding: 5rem 1.5rem 3rem; } .track-page .s { padding: 4rem 1.5rem; } .track-page .c-cta { border-radius: 0; border-left: none; border-right: none;} }



/* ==============
   Homepage
   ============== */

/* Scope strictly to the homepage */
.home-page {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: transparent; 
}

/* -- Hero Section (Strictly Centered, No Lines) -- */
.home-page .hero-section {
  min-height: auto !important;
  display: flex;
  align-items: center;
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
  padding: 8rem 0rem 0rem 0rem !important;
  border-bottom: none; /* Removed line after the hero section */
}

.home-page .hero-content { 
  max-width: 100%; 
  margin: 0 auto;
  margin-top: -6rem;
  display: flex;
  flex-direction: column;
  align-items: center; 
}

.home-page:not(.landing-page) h1 { 
  font-family: 'Fraunces', sans-serif;
  font-size: clamp(4.5rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.1; 
  margin-bottom: 1.5rem; 
  max-width: 100%; 
  text-align: center;
  color: var(--text-main);
}

.home-page h1 em { 
  font-style: italic; 
  color: var(--color-orange);
  font-size: 90px;
  font-weight: 700;
}

.home-page .hero-body { 
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem; 
  max-width: 100%; 
  margin: 0 auto 2.5rem auto; 
  text-align: center;
  color: var(--text-main);
  opacity: 0.95;
  line-height: 1.5;
}

.home-page .hero-actions { 
  display: flex; 
  gap: 1.5rem; 
  flex-wrap: wrap; 
  justify-content: center; 
  align-items: center;
}

/* -- Hero Buttons Sizing -- */
.home-page .hero-actions .btn-primary,
.home-page .hero-actions .btn-ghost {
  font-size: 1.1rem !important;        /* Bumps up the text size */
  padding: 16px 36px !important;       /* Increases top/bottom and left/right spacing */
  letter-spacing: 0.02em;              /* Adds a tiny bit of breathing room to the letters */
}

/* -- Universal Asymmetric Ghost Button Fallback -- */
/* Your global CSS handles .btn-primary perfectly, this ensures .btn-ghost matches identically */
.home-page .btn-ghost {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 19px;
  padding: 10px 20px;
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  background: transparent;
  border-radius: 16px 0 16px 0; /* Asymmetric Geometry matching .btn-primary */
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.home-page .btn-ghost:hover {
  background: var(--code-bg);
  border-color: var(--text-main);
}

/* -- Typography & General Structure -- */
.home-page h2 { 
  font-family: 'Fraunces', sans-serif; 
  font-size: clamp(2.2rem, 4vw, 3.2rem); 
  margin-bottom: 1rem;
  margin-top: 3rem;
  color: var(--text-main);
  border-bottom: none !important;
}
.home-page h3 { font-family: 'Fraunces', sans-serif; font-size: 1.8rem; margin-bottom: 0.5rem; color: var(--text-main); line-height: 1.1; }
.home-page h4 { font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 600; margin-bottom: 0.2rem; color: var(--text-main); }
.home-page p { color: var(--text-main); opacity: 0.85; line-height: 1.7; margin-bottom: 1rem; }


/* -- Uniform Section Spacing -- */
:root { --section-gap: 2.75rem; }

.home-page:not(.landing-page) .section,
.home-page:not(.landing-page) section,
.home-page:not(.landing-page) .content-section {
  padding-top: var(--section-gap) !important;
  padding-bottom: var(--section-gap) !important;
  padding-left: 2rem;
  padding-right: 2rem;
  margin: 0 auto !important;
  max-width: 1400px;
  border-bottom: none !important;
}

.home-page .section:last-child { 
  border-bottom: none; 
}


/* -- Liquid Glass Cards & Grids -- */
.home-page .glass-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.home-page .alt-grid { 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
}

.home-page .glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px 0 24px 0; /* Asymmetric Geometry mapping */
  padding: 2.5rem;
  box-shadow: 0 10px 30px var(--glass-shadow);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.home-page .glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-orange);
}

.home-page .card-top { 
  display: flex; 
  align-items: baseline; 
  gap: 1rem; 
  margin-bottom: 1rem; 
}

.home-page .card-num { 
  font-family: 'Fraunces', sans-serif; 
  font-size: 2rem; 
  color: var(--color-orange); 
  opacity: 0.5; 
}

/* -- Tags -- */
.home-page .tags { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 0.5rem; 
  margin-top: 1.5rem; 
}

.home-page .tags span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-main);
  background: var(--code-bg);
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--glass-border);
  border-radius: 100px;
}


/* -- Centered Titles & Stacked Layouts -- */
.home-page .centered-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

.home-page .centered-title .anchorjs-link {
  display: none !important;
}


.home-page .text-center {
  display: block;
  text-align: center;
  max-width: 100%;
}

.home-page .stack-section {
  display: flex;
  flex-direction: column;
  align-items: left;
  padding-bottom: 2rem !important;
}

/* ==========================================================================
   Minimalist Hierarchy Tree
   ========================================================================== */

.clean-tree-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 1000px; /* Kept tight to prevent the lines from stretching too far */
  margin: 0rem auto;
  padding: 0 1rem;
}

.tree-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* -- 1. Root Node (Top Titles) -- */
.tree-root {
  position: relative;
  margin-bottom: 2rem;
  z-index: 2;
}

.root-pill {
  background: var(--glass-bg);
  border: 1px solid var(--color-orange);
  padding: 0.75rem 2.5rem;
  border-radius: 100px;
  box-shadow: 0 8px 25px var(--glass-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.root-pill h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  color: var(--text-main);
  margin: 0 !important;
  text-align: center;
}

.root-pill h3 .anchorjs-link {
  display: none !important;
}

/* Vertical line dropping DOWN from the Root */
.tree-root::after {
  content: '';
  position: absolute;
  bottom: -2rem; /* Must exactly match the margin-bottom of tree-root */
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 2rem;
  background-color: #2e2e2e; /* Refined, subtle orange line */
}

/* -- 2. Branches Container -- */
.tree-branches {
  display: flex;
  justify-content: center;
  width: 100%;
  position: relative;
}

.tree-node {
  position: relative;
  padding-top: 2rem; /* Space for the vertical line dropping into the pill */
  flex: 1;
  display: flex;
  justify-content: center;
}

/* Horizontal line spanning across the top of the branches */
.tree-node::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #2e2e2e;
}

/* Erase the left half of the horizontal line for the first child */
.tree-node:first-child::before {
  left: 50%;
}

/* Erase the right half of the horizontal line for the last child */
.tree-node:last-child::before {
  right: 50%;
}

/* Vertical line dropping DOWN to each individual pill */
.tree-node::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 2rem;
  background-color: #2e2e2e;
}

/* -- 3. Child Nodes (Headings Only) -- */
.node-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--code-bg);
  border: 1px solid var(--glass-border);
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  transition: all 0.3s ease;
  white-space: nowrap; /* Keeps the text on one single line */
  z-index: 2;
}

.node-pill:hover {
  border-color: var(--color-orange);
  background: rgba(255, 104, 1, 0.05);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 104, 1, 0.12);
}

.node-pill i {
  font-size: 1.1rem;
  color: var(--color-orange);
}

.node-pill span {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
}

/* -- 4. Mobile Responsiveness (Clean Stacking) -- */
@media (max-width: 768px) {
  .tree-branches {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .tree-node {
    padding-top: 0;
    width: 100%;
  }
  /* Hide the complex connecting lines on mobile so pills stack cleanly */
  .tree-node::before, 
  .tree-node::after, 
  .tree-root::after {
    display: none;
  }
  .node-pill {
    width: auto;
    min-width: 240px;
    justify-content: center;
  }
}



/* -- Process Grid (Forced 3-Column Layout) -- */

.home-page .process-list {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important; /* Exactly 3 equal columns */
  gap: 2rem;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  margin-bottom: 0rem !important;
  align-items: center !important;
}

/* Make the 3rd step span across both columns for perfect symmetry */
.home-page .process-list .step:nth-child(3) {
  grid-column: auto !important; 
}

/* -- Mobile Fallback -- */
@media (max-width: 768px) {
  .home-page .process-grid,
  .home-page .process-list {
    grid-template-columns: 1fr !important; /* Stacks vertically on mobile */
  }
}



/* -- Fix for the Crushed 'Step' Text -- */
.home-page .step-num { 
  width: auto !important;         /* Overrides the global 48px width */
  height: auto !important;        /* Overrides the global 48px height */
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  font-family: 'Inter', sans-serif; 
  font-size: 0.95rem; 
  font-weight: 650; 
  color: var(--color-orange); 
  display: block; 
  margin-bottom: 0.5rem; 
  text-transform: uppercase;
  letter-spacing: 0.1em;
}



/* -- Center Align Process Grid Content (Updated) -- */
.home-page .process-list .step {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;  /* Horizontally centers the items */
  text-align: left !important;   /* Centers the text */
}

/* Ensure the step numbers and paragraphs respect the center alignment */
.home-page .process-list .step .step-num,
.home-page .process-list .step p {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 100%; 
}




/* -- Mobile Responsive Fallback -- */
@media (max-width: 768px) {
  .home-page .process-grid {
    grid-template-columns: 1fr; /* Drops back to 1 column on phones */
  }
  .home-page .process-grid .step-card:nth-child(3) {
    grid-column: auto;
  }
}



/* -- Remove section borders -- */
.home-page .no-border {
  border-top: none !important;
  border-bottom: none !important;
}

/* -- Why Choose Grid Enhancements -- */
.home-page .why-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  max-width: 100% !important;
}

.home-page .why-item {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  border-radius: 16px;
}

.home-page .why-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  margin-top: 0rem!important;
}

.home-page .why-item h4 .anchorjs-link {
  display: none !important;
}

.home-page .why-item p {
  font-size: 0.95rem;
  opacity: 0.90;
  margin: 0;
  text-align: start; line-height: 1.65;
  line-height: 1.5;
}

/* -- Trust Signals (Testimonials & Stats) -- */
.home-page .trust-signals {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: none; /* Removed the line above the trust signals */
  width: 100%;
  max-width: 1200px;
}

.home-page .trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.home-page .stat-num {
  font-family: 'Fraunces', sans-serif;
  font-size: 4.5rem;
  font-weight: 600;
  color: var(--color-orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.home-page .stat-label {
  font-family: 'Fraunces', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

/* -- Mobile Fallbacks for Trust Signals -- */
@media (max-width: 768px) {
  .home-page .trust-grid {
    grid-template-columns: repeat(2, 1fr); /* 2x2 grid on mobile */
    gap: 2rem;
  }
  .home-page .stat-num {
    font-size: 3.5rem;
  }
}



/* -- CTA & Academy Stacked Layout -- */
.home-page .cta-section,
.home-page .academy-section { 
  display: flex;
  justify-content: center;
  width: 100%;
}

.home-page .cta-box { 
  width: 100%;
  max-width: 100%; /* Constrains the width so it doesn't stretch too far */
  padding: 1rem 2.5rem 3rem 2.5rem; 
  background: var(--glass-bg); 
  border-radius: var(--radius-xl, 24px); 
  border: 1px solid var(--glass-border); 
  display: flex; 
  flex-direction: column; 
  align-items: center; /* Centers the content */
  box-shadow: 0 10px 30px var(--glass-shadow); 
  backdrop-filter: blur(16px); 
}

.home-page .academy-box { 
  width: 100%;
  max-width: 100%;
  padding: 1rem 2.5rem 3rem 2.5rem; 
  border: 4px dashed var(--glass-border); 
  border-radius: var(--radius-xl, 24px); 
  display: flex; 
  flex-direction: column; 
  align-items: center; /* Centers the content */
}

/* -- Mobile Responsive Overrides -- */
@media (max-width: 992px) {
  .home-page .cta-box, 
  .home-page .academy-box { 
    padding: 3.5rem 2rem; 
  }
}


/* -- Responsive Adjustments -- */
@media (max-width: 992px) {
  .home-page .dual-section, .home-page .cta-section { grid-template-columns: 1fr; gap: 3rem; }
  .home-page .cta-box, .home-page .academy-box { padding: 2.5rem; }
  .home-page .tech-stack-box { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .home-page:not(.landing-page) h1 { font-size: 2.5rem; }
  .home-page .section, .home-page .hero-section { padding: 4rem 1.5rem; }
}



/* ==========================================================================
   LOCK NAVBAR TO LIGHT MODE (Ignores Theme Toggle)
   ========================================================================== */
.custom-liquid-header, 
[data-bs-theme="dark"] .custom-liquid-header {
  /* 1. Force the Light Mode variables just for the header */
  --text-main: #2e2e2e !important;
  --glass-bg: rgba(252, 250, 238, 0.75) !important;
  --glass-border: rgba(219, 208, 190, 0.3) !important;
  --glass-shadow: rgba(12, 84, 70, 0.08) !important;
  --code-bg: rgba(219, 208, 190, 0.1) !important;
}

/* 2. Force the Logo to stay on the Light Mode version */
[data-bs-theme="dark"] .custom-liquid-header .logo-light-mode { 
  display: block !important; 
}
[data-bs-theme="dark"] .custom-liquid-header .logo-dark-mode { 
  display: none !important; 
}

/* 3. Fix the dropdown menu border colors */
[data-bs-theme="dark"] .custom-liquid-header .liquid-drop-menu a {
  border-bottom: 1px solid rgba(219, 208, 190, 0.1) !important;
}

/* 4. Fix the Primary Button inside the dark mode header */
[data-bs-theme="dark"] .custom-liquid-header .btn-primary,
[data-bs-theme="dark"] .custom-liquid-header .btn-signup {
  background-color: var(--color-dark) !important; 
  color: var(--color-light) !important; 
  border-color: var(--color-dark) !important;
}
[data-bs-theme="dark"] .custom-liquid-header .btn-primary:hover,
[data-bs-theme="dark"] .custom-liquid-header .btn-signup:hover {
  background-color: var(--color-orange) !important;
  color: var(--color-light) !important;
  border-color: var(--color-orange) !important;
}


/* ==========================================================================
   AUTH NAVIGATION STYLES
   Sign In Button, User Dropdown, Dashboard Link
   ========================================================================== */

/* Sign In Button */
.nav-sign-in-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-main);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  transition: all 0.2s ease;
}

.nav-sign-in-btn:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
  text-decoration: none;
  color: #3b82f6;
}

[data-bs-theme="dark"] .nav-sign-in-btn {
  color: var(--color-light);
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

[data-bs-theme="dark"] .nav-sign-in-btn:hover {
  background: rgba(59, 130, 246, 0.25);
  color: #60a5fa;
}

/* User Menu Container */
.nav-user-menu {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-user-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(128, 128, 128, 0.2);
  border-radius: 0.5rem;
  background: transparent;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  color: inherit;
  transition: all 0.2s ease;
}

.nav-user-btn:hover {
  background: rgba(128, 128, 128, 0.08);
  border-color: rgba(128, 128, 128, 0.3);
}

.nav-user-btn .fa-circle-user {
  font-size: 1.2rem;
  color: #3b82f6;
}

.nav-user-chevron {
  font-size: 0.65rem;
  opacity: 0.5;
  transition: transform 0.25s ease;
}

/* User Dropdown */
.nav-user-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 180px;
  background: var(--glass-bg, rgba(255,255,255,0.95));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border, rgba(200,200,200,0.3));
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 1000;
}

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

[data-bs-theme="dark"] .nav-user-dropdown {
  background: rgba(30, 35, 45, 0.95);
  border-color: rgba(255, 255, 255, 0.1);
}

.nav-user-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.4rem;
  font-size: 0.85rem;
  color: inherit;
  text-decoration: none;
  transition: background 0.15s ease;
}

.nav-user-dropdown a:hover {
  background: rgba(128, 128, 128, 0.1);
}

.nav-user-dropdown a i {
  width: 1.1rem;
  text-align: center;
  opacity: 0.6;
}

/* Mobile auth styles */
@media (max-width: 768px) {
  .nav-sign-in-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
  }

  .nav-user-dropdown {
    right: -1rem;
  }

  .nav-search-box {
    display: none; /* hide on mobile � Quarto search works via hamburger */
  }
}

/* ==========================================================================
   NAVBAR SEARCH BOX
   ========================================================================== */
.nav-search-box {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: 0.5rem;
}

.nav-search-icon {
  position: absolute;
  left: 10px;
  font-size: 0.78rem;
  opacity: 0.45;
  pointer-events: none;
}

#nav-search-input {
  padding: 0.38rem 0.6rem 0.38rem 1.9rem;
  border-radius: 20px;
  border: 1px solid rgba(128,128,128,0.25);
  background: rgba(128,128,128,0.06);
  color: inherit;
  font-size: 0.82rem;
  width: 150px;
  outline: none;
  transition: width 0.3s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

#nav-search-input:focus {
  width: 200px;
  border-color: rgba(59,130,246,0.5);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.08);
}

#nav-search-input::placeholder {
  opacity: 0.45;
  font-size: 0.8rem;
}

[data-bs-theme="dark"] #nav-search-input {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
}

[data-bs-theme="dark"] #nav-search-input:focus {
  border-color: rgba(96,165,250,0.5);
  box-shadow: 0 0 0 3px rgba(96,165,250,0.1);
}

/* ==========================================================================
   VISITOR COUNTER � dark mode
   ========================================================================== */
[data-bs-theme="dark"] #visitor-counter-badge {
  background: rgba(30,35,45,0.6);
  border-color: rgba(255,255,255,0.08);
}

/* ==========================================================================
   Global Native HTML5 Enroll Dialog (ui-components/dialog.md standard)
   ========================================================================== */
dialog.native-enroll-dialog {
  border: 1px solid var(--card-border, rgba(12, 84, 70, 0.12));
  border-radius: var(--radius-lg, 16px);
  background: var(--card-bg, #ffffff);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  padding: 2.25rem;
  width: 90%;
  max-width: 440px;
  position: fixed;
  inset: 0;
  margin: auto;
  color: var(--text-main);
}
dialog.native-enroll-dialog:modal {
  overscroll-behavior: contain;
}
dialog.native-enroll-dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  overscroll-behavior: contain;
}
[data-bs-theme="dark"] dialog.native-enroll-dialog {
  background: #0a4438;
  border-color: rgba(252, 250, 238, 0.18);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

.enroll-box {
  position: relative;
  width: 100%;
}
.form-control-modal {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm, 8px);
  border: 1.5px solid var(--card-border, rgba(150, 150, 150, 0.3));
  background: rgba(0, 0, 0, 0.03);
  color: inherit;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.form-control-modal:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(255, 104, 1, 0.2);
}
[data-bs-theme="dark"] .form-control-modal {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(252, 250, 238, 0.2);
}

/* ==========================================================================
   FOOTER BOTTOM & VISITOR COUNTER � pinned to bottom right corner
   ========================================================================== */
.footer-bottom {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap;
  gap: 1.25rem;
  border-top: 1px solid rgba(128,128,128,0.2);
  margin-top: 3rem;
  padding-top: 1.5rem;
}
.footer-copy {
  flex: 1;
  text-align: left;
  font-size: 0.85rem;
  opacity: 0.75;
  min-width: 200px;
}
.footer-center {
  flex: 1;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.75;
  min-width: 160px;
}
.footer-visitor {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 200px;
}
.visitor-counter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--glass-border);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
  user-select: none;
}
[data-bs-theme="dark"] .visitor-counter-pill {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}
.visitor-counter-pill:hover {
  transform: translateY(-1px);
  border-color: var(--color-orange);
  box-shadow: 0 4px 14px rgba(255, 104, 1, 0.18);
}
.visitor-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  animation: pulse-green 2.5s infinite;
  flex-shrink: 0;
}
@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.visitor-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.85;
}
.visitor-label i {
  color: var(--color-orange);
}
.visitor-badge-wrap {
  display: inline-flex;
  align-items: center;
}
.visitor-badge-img {
  height: 20px;
  vertical-align: middle;
  border-radius: 4px;
}
.visitor-badge-fallback {
  background: var(--color-dark, #0c5446);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.03em;
}
#visitor-counter-badge {
  display: none !important;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.75rem !important;
  }
  .footer-copy,
  .footer-center,
  .footer-visitor {
    text-align: center !important;
    justify-content: center !important;
    width: 100% !important;
  }
}




/* Course icon SVG sizing */
.tc-ico svg, .ct-ico svg, .course-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}


/* ==========================================================================
   GLOBAL SEARCH & BUTTON CONSISTENCY & HERO TITLE CONTRAST
   ========================================================================== */

/* 1. Suppress native browser search cancel cross mark to avoid double crosses */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: none !important;
}
input[type="search"]::-ms-clear {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* 2. Unified button shape across site matching the Details button (16px 0 16px 0) */
.btn-primary-wd,
.btn-ghost-wd,
.enroll-btn,
.lp-hero-btn:not(.researcher),
.lp-main-cta-btn {
  border-radius: 16px 0 16px 0 !important;
}

/* Reversed dimension for "For Researchers" button */
.lp-hero-btn.researcher {
  border-radius: 0 16px 0 16px !important;
}

/* 3. Hero section title: uniform style, no italics, Indian Tricolor */
.landing-page .lp-hero-title,
.home-page .lp-hero-title,
.lp-hero-title,
.lp-hero-content h1,
.lp-hero h1 {
  font-family: 'Fraunces', Georgia, serif !important;
  font-weight: 900 !important;
  font-style: normal !important;
  letter-spacing: -0.025em;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.95)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.9));
}

.flying-tricolor {
  background: linear-gradient(
    115deg,
    #FF671F 0%,
    #FFA033 26%,
    #FFFFFF 48%,
    #FFFFFF 56%,
    #34D399 76%,
    #059669 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  font-style: normal !important;
  font-weight: 900 !important;
}

.tricolor-saffron {
  color: #FF7722 !important;
  font-style: normal !important;
  font-weight: 900 !important;
  text-shadow: 0 0 35px rgba(255, 119, 34, 0.45), 0 4px 24px rgba(0, 0, 0, 0.95) !important;
}

.tricolor-white {
  color: #FFFFFF !important;
  font-style: normal !important;
  font-weight: 900 !important;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.95), 0 2px 8px rgba(0, 0, 0, 0.8) !important;
}

.tricolor-green {
  color: #22C55E !important;
  font-style: normal !important;
  font-weight: 900 !important;
  text-shadow: 0 0 35px rgba(34, 197, 94, 0.45), 0 4px 24px rgba(0, 0, 0, 0.95) !important;
  display: inline-block;
  margin-top: 0.25rem;
}

/* 21st.dev Shimmer Announcement Pill */
.lp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.28s ease;
}
.lp-hero-badge:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 104, 1, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 104, 1, 0.25);
  color: #ffffff !important;
}
.lp-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6801;
  box-shadow: 0 0 10px #ff6801;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

/* 21st.dev Glow Horizon by @ahammed.bashar9 */
.glow-horizon-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 25%, rgba(255, 104, 1, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 90% 65% at 50% 85%, rgba(12, 84, 70, 0.55) 0%, rgba(3, 23, 18, 0.95) 100%);
  z-index: 0;
  pointer-events: none;
}
.glow-horizon-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  isolation: isolate;
}
.glow-horizon-motion {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transform: translateY(-50%);
  isolation: isolate;
  animation: glow-horizon-fade-in 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards, glow-horizon-pulse 6s ease-in-out infinite 1.2s;
}
@keyframes glow-horizon-fade-in {
  from { opacity: 0; filter: blur(20px); transform: translateY(-50%) scale(0.95); }
  to { opacity: 1; filter: blur(0px); transform: translateY(-50%) scale(1); }
}
@keyframes glow-horizon-pulse {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-48.6%) scale(1.025); }
}
.glow-horizon-rim {
  position: absolute;
  inset: 0;
  border-radius: 100%;
  background: #ffffff;
  box-shadow: 0px -4px 23px 0px rgba(255, 255, 255, 0.71), 0px 0px 45px 6px rgba(255, 104, 1, 0.55);
  transform: scale(1.32);
  animation: glow-rim-breathe 5s ease-in-out infinite alternate;
}
@keyframes glow-rim-breathe {
  0% { box-shadow: 0px -4px 23px 0px rgba(255, 255, 255, 0.71), 0px 0px 40px 4px rgba(255, 104, 1, 0.45); opacity: 0.9; }
  100% { box-shadow: 0px -6px 36px 4px rgba(255, 255, 255, 0.95), 0px 0px 65px 10px rgba(255, 104, 1, 0.75); opacity: 1; }
}
.glow-horizon-bloom {
  position: absolute;
  inset: 0;
  border-radius: 100%;
  background: rgb(255, 104, 1);
  filter: blur(31px);
  transform: scale(1.2);
  animation: glow-bloom-float 8s ease-in-out infinite alternate;
}
@keyframes glow-bloom-float {
  0% { transform: scale(1.18); opacity: 0.82; filter: blur(28px); }
  100% { transform: scale(1.26); opacity: 1; filter: blur(36px); }
}
.glow-horizon-aura {
  position: absolute;
  inset: 0;
  border-radius: 100%;
  background: rgb(12, 84, 70);
  filter: blur(21px);
  transform: scale(1.24);
  animation: glow-aura-drift 10s ease-in-out infinite alternate;
}
@keyframes glow-aura-drift {
  0% { transform: scale(1.20) rotate(-1deg); opacity: 0.8; }
  100% { transform: scale(1.30) rotate(1deg); opacity: 0.95; }
}
.glow-horizon-mask {
  position: absolute;
  inset: 0;
  border-radius: 100%;
  background: rgb(4, 31, 25);
  filter: blur(51px);
  transform: scale(1.2);
}

/* Staggered character reveal styles */
.hero-title-line { display: block; }
.hero-word-saffron {
  color: #FF7722 !important;
  -webkit-text-fill-color: #FF7722 !important;
  text-shadow: 0 0 35px rgba(255, 119, 34, 0.45), 0 4px 24px rgba(0, 0, 0, 0.95);
  font-style: normal !important;
  font-weight: 900 !important;
}
.hero-word-emerald {
  color: #22C55E !important;
  -webkit-text-fill-color: #22C55E !important;
  text-shadow: 0 0 35px rgba(34, 197, 94, 0.45), 0 4px 24px rgba(0, 0, 0, 0.95);
  font-style: normal !important;
  font-weight: 900 !important;
}
.hero-char-span {
  display: inline-block;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  text-shadow: inherit;
  will-change: opacity, transform, filter;
}

/* 21st.dev Trust Metric Strip */
.lp-hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 18px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.88);
  font-family: 'Inter', sans-serif !important;
  margin-top: 0.25rem;
  flex-wrap: wrap;
  justify-content: center;
}
.lp-hero-trust i { color: #ff6801; margin-right: 4px; }
.lp-hero-trust-sep { opacity: 0.45; }


/* ================================================================
   FLOWCHART DECISION TREE (Academicians & Freshers / Students)
   ================================================================ */
.lp-flowchart-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
}
.lp-tree-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
}

/* Root Node */
.lp-tree-root-wrap {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.lp-tree-root {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 44px;
  border-radius: 9999px;
  border: 2px solid #ff6801;
  background: #ffffff;
  color: var(--bs-body-color, #1f2924);
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem);
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(255, 104, 1, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  text-align: center;
  transition: all 0.25s ease;
}
[data-bs-theme="dark"] .lp-tree-root {
  background: #0d4a3e;
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.lp-tree-root:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 104, 1, 0.22);
}

/* Vertical stem from root to the horizontal crossbar */
.lp-tree-stem {
  width: 2px;
  height: 32px;
  background-color: #3b454e;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
[data-bs-theme="dark"] .lp-tree-stem {
  background-color: #94a3b8;
}

/* Branch row container */
.lp-tree-branches {
  display: flex;
  width: 100%;
  position: relative;
  justify-content: center;
  margin: 0;
  padding: 0;
}

/* Each child column */
.lp-tree-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 28px 10px 0;
}

/* Horizontal crossbar lines */
.lp-tree-col::before {
  content: '';
  position: absolute;
  top: 0;
  height: 2px;
  background-color: #3b454e;
  z-index: 1;
}
[data-bs-theme="dark"] .lp-tree-col::before {
  background-color: #94a3b8;
}

/* Drop line down into child pill */
.lp-tree-col::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 28px;
  background-color: #3b454e;
  z-index: 1;
}
[data-bs-theme="dark"] .lp-tree-col::after {
  background-color: #94a3b8;
}

/* 3-column branch crossbar configuration */
.lp-tree-branches-3 .lp-tree-col:first-child::before {
  left: 50%;
  right: 0;
}
.lp-tree-branches-3 .lp-tree-col:nth-child(2)::before {
  left: 0;
  right: 0;
}
.lp-tree-branches-3 .lp-tree-col:last-child::before {
  left: 0;
  right: 50%;
}

/* 2-column branch crossbar configuration */
.lp-tree-branches-2 {
  max-width: 620px;
}
.lp-tree-branches-2 .lp-tree-col:first-child::before {
  left: 50%;
  right: 0;
}
.lp-tree-branches-2 .lp-tree-col:last-child::before {
  left: 0;
  right: 50%;
}

/* Child leaf pill */
.lp-tree-leaf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 26px;
  border-radius: 9999px;
  background: #f4efe6;
  border: 1px solid rgba(12, 84, 70, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  font-family: 'Inter', sans-serif !important;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--bs-body-color, #1f2924);
  white-space: nowrap;
  position: relative;
  z-index: 2;
  transition: all 0.25s ease;
}
[data-bs-theme="dark"] .lp-tree-leaf {
  background: #09372e;
  border-color: rgba(255, 255, 255, 0.12);
  color: #e6edea;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.lp-tree-leaf:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  border-color: rgba(255, 104, 1, 0.45);
}
.lp-leaf-icon {
  color: #ff6801;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
}
.lp-leaf-text {
  font-family: 'Inter', sans-serif !important;
}

/* Action button container below each tree */
.lp-tree-action {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  width: 100%;
}
.lp-tree-action .lp-hero-btn {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

@media (max-width: 680px) {
  .lp-flowchart-wrapper {
    gap: 2.75rem;
  }
  .lp-tree-root {
    padding: 9px 28px;
    font-size: 1.15rem;
  }
  .lp-tree-branches {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    padding-left: 0;
  }
  .lp-tree-col {
    width: 100%;
    max-width: 290px;
    padding: 0;
  }
  .lp-tree-col::before,
  .lp-tree-col::after {
    display: none;
  }
  .lp-tree-stem {
    height: 20px;
  }
  .lp-tree-leaf {
    width: 100%;
    justify-content: center;
    padding: 10px 18px;
    font-size: 0.95rem;
  }
  .lp-tree-action {
    margin-top: 1.5rem;
  }
  .lp-tree-action .lp-hero-btn {
    width: 100%;
    max-width: 290px;
  }
}


/* ================================================================
   SERVICES PAGE: Full-bleed edge-to-edge layout matching landing-page
   Allows Hero (.services-hero) and Trust Banner (.trust-banner) to span
   100% full screen width, while keeping the floating navbar centered
   and all content sections centered at max-width 1200px.
   ================================================================ */
body:has(.services-page) #title-block-header {
  display: none !important;
}

/* Strip all container side padding and margins on services page */
body:has(.services-page) #quarto-content,
body:has(.services-page) #quarto-document-content,
body:has(.services-page) .quarto-container,
body:has(.services-page) main.content,
body.section-services #quarto-content,
body.section-services #quarto-document-content,
body.section-services .quarto-container,
body.section-services main.content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

body:has(.services-page) #quarto-margin-sidebar,
body:has(.services-page) #quarto-sidebar,
body.section-services #quarto-margin-sidebar,
body.section-services #quarto-sidebar {
  display: none !important;
  width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

body:has(.services-page) .page-columns,
body:has(.services-page) .page-full,
body.section-services .page-columns,
body.section-services .page-full {
  display: block !important;
  grid-template-columns: 1fr !important;
  grid-template-areas: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body:has(.services-page) #quarto-document-content,
body:has(.services-page) main.content,
body:has(.services-page) .column-page,
body:has(.services-page) .column-body,
body:has(.services-page) .column-screen,
body.section-services #quarto-document-content,
body.section-services main.content,
body.section-services .column-page,
body.section-services .column-body,
body.section-services .column-screen {
  grid-column: 1 / -1 !important;
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.services-page {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
  overflow-x: clip;
}

/* 1. Services Hero: 100% edge-to-edge full screen width */
.services-hero {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  min-height: 58vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 5rem 1.5rem 5.5rem;
  overflow: hidden;
  background: radial-gradient(circle at 50% 35%, rgba(12, 84, 70, 0.45) 0%, rgba(4, 31, 25, 0.98) 80%), #041f19;
  border-radius: 0 !important;
  box-shadow: 0 20px 50px rgba(4, 31, 25, 0.25);
  margin-top: 0 !important;
  margin-bottom: 3.5rem !important;
  box-sizing: border-box;
}

/* 2. Floating Navbar: Rest keep everything same (pill navbar stays centered with margins) */
body:has(.services-page) .custom-liquid-header,
body.section-services .custom-liquid-header {
  width: min(1135px, calc(100% - 2rem)) !important;
  max-width: 1200px !important;
  margin: 1.25rem auto !important;
  border-radius: 100px !important;
  box-sizing: border-box;
}

/* 3. Rest keep everything same: Content sections centered at max-width 1200px */
.services-page .overview-section,
.services-page .content-section,
.services-page .fcb-section,
.services-page section.content-section {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  box-sizing: border-box;
}

/* 4. Footer reset on Services Page: Prevents horizontal overflow from legacy -50vw breakout */
body:has(.services-page),
body.section-services {
  overflow-x: hidden !important;
}

body:has(.services-page) .akademiyaa-footer,
body.section-services .akademiyaa-footer {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

.services-hero-canvas-wrap,
.services-hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.services-hero-canvas-wrap canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.services-hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
}

.services-hero-title {
  font-family: 'Fraunces', serif !important;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem) !important;
  font-weight: 700 !important;
  font-style: normal !important;
  color: #fcfaee !important;
  line-height: 1.16 !important;
  margin: 0 0 1.25rem 0 !important;
  letter-spacing: -0.02em;
  text-align: center;
}

.services-hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.75;
  color: rgba(252, 250, 238, 0.85);
  max-width: 800px;
  margin: 0 auto 2.2rem;
  text-align: center;
}

.services-hero-subtitle strong {
  color: #ffb070;
  font-weight: 600;
}

.services-quick-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  align-items: center;
}

.services-jump-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  border-radius: 9999px;
  background: rgba(252, 250, 238, 0.08);
  border: 1px solid rgba(252, 250, 238, 0.22);
  color: #fcfaee !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.services-jump-pill:hover {
  background: rgba(255, 104, 1, 0.22);
  border-color: #ff6801;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 104, 1, 0.35);
}

/* Unified 20px card shape across all service cards matching .conf-card */
.tier-card,
.service-card,
.conf-card,
.overview-grid .tier-card,
.hero-carousel-card {
  border-radius: 20px !important;
}

/* ================================================================
   CONFERENCE SUPPORT & MANAGEMENT SECTION (.conf-*)
   ================================================================ */
.conf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 960px) {
  .conf-grid {
    grid-template-columns: 1fr;
  }
}

.conf-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.25rem 1.85rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.conf-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6801, #0c5446);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.conf-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 104, 1, 0.45);
  box-shadow: 0 16px 36px var(--glass-shadow);
}

.conf-card:hover::before {
  opacity: 1;
}

.conf-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.conf-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 104, 1, 0.12);
  border: 1px solid rgba(255, 104, 1, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #ff6801;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.conf-card:hover .conf-icon-wrap {
  transform: scale(1.08);
  background: #ff6801;
  color: #ffffff;
}

.conf-card-header h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
  line-height: 1.25;
}

.conf-card-body p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-main);
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

.conf-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.conf-features li {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-main);
  opacity: 0.85;
  padding: 0.4rem 0 0.4rem 1.4rem;
  position: relative;
}

.conf-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #ff6801;
  font-weight: 700;
}

.conf-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--glass-border);
}

.conf-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--color-orange);
  background: rgba(255, 104, 1, 0.08);
  border: 1px solid rgba(255, 104, 1, 0.2);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
}

.conf-cta-box {
  background: linear-gradient(135deg, rgba(255, 104, 1, 0.08) 0%, rgba(12, 84, 70, 0.12) 100%);
  border: 1px dashed rgba(255, 104, 1, 0.4);
  border-radius: 18px;
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1rem;
}

.conf-cta-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
}

.conf-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-orange);
  color: #ffffff !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(255, 104, 1, 0.3);
}

.conf-cta-btn:hover {
  background: #e65c00;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 104, 1, 0.4);
  color: #ffffff !important;
}

/* ================================================================
   21st.dev GRADIENT BLINDS CTA BANNER (.fcb-*)
   Adapted from @dev.brijosh/components/final-cta-banner
   ================================================================ */
.fcb-section {
  --cta-void: #041f19;
  --cta-ink: #fcfaee;
  --cta-paper: #fcfaee;
  --cta-signal: #ff6801;
  --cta-signal-soft: color-mix(in srgb, var(--cta-signal) 72%, white);

  position: relative;
  z-index: 2;
  padding: clamp(3rem, 7vw, 4.5rem) 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.fcb-banner {
  /* Exact container-query scaling matching Brijosh Baby's final-cta-banner */
  --cta-pad-y: clamp(1.5rem, 7cqh, 3.5rem);
  --cta-pad-x: clamp(1.25rem, 5cqw, 3.5rem);
  --cta-gap: clamp(0.5rem, 2.5cqh, 1rem);
  --cta-eyebrow: clamp(0.72rem, 1.35cqw, 0.82rem);
  --cta-heading: clamp(1.6rem, 3.8cqw + 1.2cqh, 2.85rem);
  --cta-body: clamp(0.88rem, 1.2cqw + 0.45cqh, 1.05rem);
  --cta-action: clamp(0.82rem, 1.15cqw + 0.35cqh, 0.95rem);
  --cta-btn-y: clamp(0.65rem, 2.2cqh, 0.9rem);
  --cta-btn-x: clamp(1.1rem, 2.8cqw, 1.5rem);

  position: relative;
  isolation: isolate;
  container-type: size;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: min(100%, 78rem);
  margin-inline: auto;
  aspect-ratio: 2.4 / 1;
  min-height: 380px;
  padding: var(--cta-pad-y) var(--cta-pad-x);
  border-radius: clamp(1rem, 2.2cqw, 1.6rem);
  background: var(--cta-void);
  color: var(--cta-paper);
  border: 1px solid rgba(255, 104, 1, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 28px 56px -28px rgba(0, 0, 0, 0.55);
}

.fcb-blinds {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: auto;
  border-radius: inherit;
  overflow: hidden;
}

.gradient-blinds-container,
.fcb-blindsCanvas {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block;
  mix-blend-mode: normal !important;
}

.gradient-blinds-canvas,
.fcb-blinds-canvas {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block;
  pointer-events: none;
  z-index: 0;
}

.fcb-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(
      180deg,
      rgba(4, 31, 25, 0.85) 0%,
      rgba(4, 31, 25, 0.52) 50%,
      rgba(4, 31, 25, 0.85) 100%
    ),
    radial-gradient(
      80% 80% at 50% 50%,
      rgba(255, 104, 1, 0.18),
      transparent 65%
    );
}

.fcb-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 48rem);
  max-width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--cta-gap);
  pointer-events: none;
}

.fcb-copy a,
.fcb-copy button,
.fcb-actions,
.fcb-actions a,
.fcb-actions button {
  pointer-events: auto !important;
  cursor: pointer !important;
}

.fcb-eyebrow,
.home-page .fcb-eyebrow,
.landing-page .fcb-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 auto;
  font-family: 'Inter', monospace, sans-serif;
  font-size: var(--cta-eyebrow);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-orange, #ff6801) !important;
}

.fcb-eyebrowRule {
  width: clamp(1rem, 3cqw, 1.8rem);
  height: 2px;
  background: var(--color-orange, #ff6801);
  border-radius: 2px;
}

.fcb-heading,
.home-page .fcb-heading,
.landing-page .fcb-heading {
  margin: 0 auto !important;
  max-width: 44rem;
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: var(--cta-heading) !important;
  font-weight: 700 !important;
  font-style: normal !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em;
  color: #ffffff !important;
  text-wrap: balance;
  text-align: center !important;
}

.fcb-body,
.home-page .fcb-body,
.landing-page .fcb-body,
.fcb-copy p,
.home-page .fcb-copy p {
  margin: 0 auto !important;
  max-width: 44rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: var(--cta-body);
  line-height: 1.65;
  color: rgba(252, 250, 238, 0.90) !important;
  opacity: 1 !important;
  text-align: center !important;
}

.fcb-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2cqh, 1.1rem) clamp(0.85rem, 2cqw, 1.35rem);
  margin-top: clamp(0.4rem, 1.5cqh, 0.9rem);
  position: relative;
  z-index: 10;
  pointer-events: auto !important;
}

.fcb-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 34px !important;
  border-radius: 0 16px 0 16px !important;
  background: var(--cta-signal, #ff6801) !important;
  border: 2px solid transparent !important;
  color: #ffffff !important;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: var(--cta-action);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  box-shadow: 0 8px 24px -4px rgba(255, 104, 1, 0.65);
  transition: all 0.28s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer !important;
  pointer-events: auto !important;
  position: relative;
  z-index: 10;
}

.fcb-primary:hover {
  background: #e55a00 !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -6px rgba(255, 104, 1, 0.85);
  color: #ffffff !important;
}

.fcb-primary:focus-visible {
  outline: 2px solid var(--cta-signal-soft);
  outline-offset: 3px;
}

.fcb-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 28px !important;
  border-radius: 16px 0 16px 0 !important;
  background: rgba(12, 84, 70, 0.75) !important;
  border: 2px solid rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: var(--cta-action);
  font-weight: 600;
  text-decoration: none !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.28s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer !important;
  pointer-events: auto !important;
  position: relative;
  z-index: 10;
}

.fcb-secondary:hover {
  background: #0c5446 !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(12, 84, 70, 0.7);
  color: #ffffff !important;
}

@container (max-width: 48rem) {
  .fcb-banner {
    aspect-ratio: auto;
    min-height: auto;
    align-items: center;
    text-align: center;
  }
  .fcb-copy {
    max-width: 100%;
    text-align: center;
    justify-items: center;
  }
  .fcb-heading,
  .fcb-body {
    text-align: center !important;
  }
  .fcb-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .fcb-banner {
    aspect-ratio: auto;
    min-height: auto;
    padding: 2.25rem 1.5rem;
  }
  .fcb-copy {
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .fcb-heading,
  .fcb-body {
    text-align: center !important;
  }
  .fcb-actions {
    justify-content: center;
  }
}
@media (max-width: 640px) {
  .fcb-banner { padding: 2.25rem 1.25rem; min-height: auto; border-radius: 20px; }
  .fcb-actions { flex-direction: column; width: 100%; }
  .fcb-primary, .fcb-secondary { width: 100%; justify-content: center; }
}

/* ================================================================
   UNIVERSAL CTA STANDARDIZATION
   Enforces centered alignment, balanced typography, and symmetrical
   button positioning across any legacy or future CTA section.
   ================================================================ */
.c-cta,
.wd-cta,
.bottom-cta,
.ab-cta-section {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.c-cta h2,
.wd-cta h2,
.bottom-cta h2,
.ab-cta-section h2 {
  text-align: center !important;
  margin-inline: auto !important;
}

.c-cta p,
.wd-cta p,
.bottom-cta p,
.ab-cta-section p {
  text-align: center !important;
  margin-inline: auto !important;
}

.c-cta .cta-btns,
.wd-cta-actions,
.wd-btn-group,
.bottom-cta .btn-group {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin-inline: auto !important;
}

/* ================================================================
   SERVICES PAGE: UNIFIED SECTION WIDTHS & 3-COLUMN CARD GRIDS
   Strictly unifies Priority 1, 2, and 3 container dimensions
   ================================================================ */
.services-page .content-section,
.services-page section.content-section {
  width: 100% !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  box-sizing: border-box !important;
}

.services-page .tier-grid,
.services-page .conf-grid,
.services-page .service-grid {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 2.5rem auto 0 auto !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.75rem !important;
  box-sizing: border-box !important;
}

@media (max-width: 960px) {
  .services-page .tier-grid,
  .services-page .conf-grid,
  .services-page .service-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ================================================================
   CYBER MATRIX HERO COMPONENT (@dhileepkumargm / 21st.dev)
   Full-bleed futuristic matrix grid with cursor proximity glow
   ================================================================ */
#cyber-matrix-hero {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  min-height: 82vh;
  background: #040908;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
  padding: 5rem 1.5rem 4rem 1.5rem;
}

#tiles {
  --intensity: 0;
  display: grid;
  grid-template-columns: repeat(var(--columns), 1fr);
  grid-template-rows: repeat(var(--rows), 1fr);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: auto;
  z-index: 1;
}

.tile {
  position: relative;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Courier New', Courier, 'JetBrains Mono', monospace;
  font-size: 1.25rem;
  user-select: none;
  
  /* Use CSS variable for dynamic styling */
  opacity: calc(0.1 + var(--intensity, 0) * 0.9);
  color: hsl(120, 100%, calc(48% + var(--intensity, 0) * 52%));
  text-shadow: 0 0 calc(var(--intensity, 0) * 16px) hsl(120, 100%, 50%);
  transform: scale(calc(1 + var(--intensity, 0) * 0.22));
  transition: color 0.2s ease, text-shadow 0.2s ease, transform 0.2s ease;
}

.tile.glitch {
  animation: glitch-anim 0.22s ease;
}

@keyframes glitch-anim {
  0% { transform: scale(1); color: #00ff66; }
  50% { transform: scale(1.25); color: #ffffff; text-shadow: 0 0 12px #ffffff; }
  100% { transform: scale(1); color: #00ff66; }
}

/* Floating Glassmorphic Hero Card */
.cyber-hero-card {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 3rem 2.5rem;
  background: rgba(4, 16, 12, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 24px;
  border: 1px solid rgba(16, 185, 129, 0.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(16, 185, 129, 0.08);
  max-width: 860px;
  width: 100%;
  box-sizing: border-box;
}

.cyber-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.cyber-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: cyberPulse 2s infinite ease-in-out;
}

@keyframes cyberPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.cyber-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.24;
  margin: 0 0 2.25rem 0;
  padding-bottom: 0.25rem;
  background: linear-gradient(180deg, #ffffff 20%, #e2e8f0 60%, #a7f3d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

.cyber-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  line-height: 1.68;
  color: rgba(226, 232, 240, 0.88);
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
}

.cyber-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.cyber-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  border-radius: 0 24px 0 24px;
  background: linear-gradient(135deg, #ff6801 0%, #e05b00 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(255, 104, 1, 0.35), 0 0 20px rgba(255, 104, 1, 0.25);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(255, 104, 1, 0.8);
}

.cyber-btn-primary:hover {
  background: linear-gradient(135deg, #ff7b24 0%, #ff6801 100%);
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 104, 1, 0.5), 0 0 30px rgba(255, 104, 1, 0.45);
}

.cyber-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.85rem;
  border-radius: 24px 0 24px 0;
  background: rgba(16, 185, 129, 0.12);
  color: #a7f3d0;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid rgba(16, 185, 129, 0.35);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.cyber-btn-secondary:hover {
  background: rgba(16, 185, 129, 0.22);
  color: #ffffff;
  border-color: rgba(16, 185, 129, 0.6);
  transform: translateY(-3px);
}

/* Lucrative Stats Strip */
.cyber-stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cyber-stat-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.85);
}

.cyber-stat-item i {
  color: #ff6801;
}

@media (max-width: 640px) {
  #cyber-matrix-hero { padding: 3.5rem 1rem 3rem 1rem; min-height: 75vh; }
  .cyber-hero-card { padding: 2rem 1.25rem; }
  .cyber-actions { flex-direction: column; width: 100%; }
  .cyber-btn-primary, .cyber-btn-secondary { width: 100%; justify-content: center; }
  .cyber-stats-strip { flex-direction: column; gap: 0.65rem; }
}


/* ================================================================
   COURSE DETAIL PAGES: UNIFIED 21ST.DEV MINIMALIST DESIGN SYSTEM
   Standardized layout for all 11 SkillHub course pages
   ================================================================ */
.course-detail-page {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem 1.5rem;
  box-sizing: border-box;
}

/* Breadcrumb Navigation */
.cd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: var(--text-muted, #94a3b8);
  margin-bottom: 2rem;
  padding-top: 1.5rem;
}
.cd-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.cd-breadcrumb a:hover {
  color: var(--color-orange, #ff6801);
}
.cd-breadcrumb span.sep {
  opacity: 0.5;
}
.cd-breadcrumb span.current {
  color: var(--color-orange, #ff6801);
  font-weight: 600;
}

/* Course Hero Section — 21st.dev hero-4 pattern */
.cd-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--glass-bg, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: clamp(2.5rem, 5vw, 4.25rem) clamp(1.5rem, 4vw, 3.5rem);
  margin-bottom: 3.5rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}
.cd-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 540px;
  max-width: 90vw;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 104, 1, 0.16) 0%, rgba(16, 185, 129, 0.07) 50%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.cd-kicker-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}
.cd-track-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 104, 1, 0.12);
  border: 1px solid rgba(255, 104, 1, 0.3);
  color: var(--color-orange, #ff6801);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cd-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10b981;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Official Course Logo Box in Hero */
.cd-hero-logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22), 0 0 24px rgba(255, 104, 1, 0.12);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}
.cd-hero-logo-box:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 32px rgba(255, 104, 1, 0.28);
}
.cd-hero-logo-box svg,
.cd-hero-logo-box img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}
[data-bs-theme="light"] .cd-hero-logo-box {
  background: rgba(255, 255, 255, 0.88);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.cd-hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.3rem, 4.8vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text-main, #ffffff);
  margin: 0 auto 1.25rem auto;
  max-width: 920px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cd-hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, #ff9147 0%, #ff6801 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.cd-hero-desc {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-muted, rgba(255, 255, 255, 0.82));
  max-width: 800px;
  margin: 0 auto 2.25rem auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Hero Meta Chips */
.cd-chips-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  margin: 0 auto 2.25rem auto;
  max-width: 960px;
  position: relative;
  z-index: 1;
}
.cd-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: 14px;
  background: var(--code-bg, rgba(255, 255, 255, 0.06));
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.12));
  font-size: 0.86rem;
  color: var(--text-main, #ffffff);
}
.cd-chip i {
  color: var(--color-orange, #ff6801);
}
.cd-chip b {
  color: var(--text-main, #ffffff);
  font-weight: 600;
}

/* Hero Action Buttons */
.cd-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cd-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2.2rem;
  border-radius: 0 22px 0 22px;
  background: linear-gradient(135deg, #ff6801 0%, #e05b00 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(255, 104, 1, 0.35);
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 104, 1, 0.8);
  cursor: pointer;
}
.cd-btn-primary:hover {
  background: linear-gradient(135deg, #ff7b24 0%, #ff6801 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 104, 1, 0.45);
}
.cd-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.85rem;
  border-radius: 22px 0 22px 0;
  background: var(--code-bg, rgba(255, 255, 255, 0.06));
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.2));
  color: var(--text-main, #ffffff) !important;
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}
.cd-btn-secondary:hover {
  border-color: var(--color-orange, #ff6801);
  color: var(--color-orange, #ff6801) !important;
  transform: translateY(-2px);
}

/* Sections */
.cd-section {
  margin-bottom: 4rem;
  width: 100%;
}
.cd-sec-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-orange, #ff6801);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 auto 0.6rem auto;
  width: 100%;
  max-width: 100%;
  text-align: center;
}
.cd-sec-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 auto 0.85rem auto;
  width: 100%;
  max-width: 100%;
  text-align: center;
  color: var(--text-main, #ffffff);
}
.cd-sec-title em {
  font-style: italic;
  color: var(--color-orange, #ff6801);
}
.cd-sec-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted, rgba(255, 255, 255, 0.78));
  width: 100%;
  max-width: 100%;
  margin: 0 auto 2.5rem auto;
  text-align: center;
}

/* AI Spotlight Box */
.cd-ai-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(12, 84, 70, 0.15) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
  width: 100%;
}
.cd-ai-box::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
  pointer-events: none;
}
.cd-ai-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0 auto 1rem auto;
  width: 100%;
  max-width: 100%;
  text-align: center;
}
.cd-ai-header > div:not(.cd-ai-icon) {
  width: 100%;
  max-width: 100%;
  text-align: center;
}
.cd-ai-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  font-size: 1.25rem;
  margin: 0 auto;
}
.cd-ai-heading {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main, #ffffff);
  margin: 0.25rem auto 0 auto;
  text-align: center;
  width: 100%;
}
.cd-ai-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #34d399;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  width: 100%;
}
.cd-ai-desc {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--text-main, #1e293b);
  opacity: 0.92;
  margin: 0 auto 1.5rem auto;
  width: 100%;
  max-width: 100%;
  text-align: center;
}
[data-bs-theme="dark"] .cd-ai-desc {
  color: rgba(226, 232, 240, 0.9);
}
.cd-ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.cd-ai-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 14px;
  padding: 1.25rem;
}
.cd-ai-card h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #a7f3d0;
  margin: 0 0 0.4rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cd-ai-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted, rgba(255, 255, 255, 0.75));
  margin: 0;
}

/* Feature & ROI Grid */
.cd-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.cd-card {
  background: var(--glass-bg, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
  border-radius: 20px;
  padding: 2rem 1.75rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.cd-card:hover {
  border-color: rgba(255, 104, 1, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}
.cd-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(255, 104, 1, 0.12);
  color: var(--color-orange, #ff6801);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}
.cd-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main, #ffffff);
  margin: 0 0 0.6rem 0;
}
.cd-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted, rgba(255, 255, 255, 0.78));
  margin: 0 0 1rem 0;
}

/* Curriculum Timeline Cards */
.cd-curriculum-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cd-curr-item {
  background: var(--glass-bg, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.08));
  border-radius: 18px;
  padding: 1.5rem 1.75rem;
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  align-items: center;
  gap: 1.25rem;
  transition: all 0.2s ease;
}
.cd-curr-item:hover {
  background: var(--card-h, rgba(255, 255, 255, 0.07));
  border-color: rgba(255, 104, 1, 0.3);
}
.cd-curr-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-orange, #ff6801);
}
.cd-curr-topic h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main, #ffffff);
  margin: 0 0 0.25rem 0;
}
.cd-curr-topic p {
  font-size: 0.88rem;
  color: var(--text-muted, rgba(255, 255, 255, 0.75));
  margin: 0;
  line-height: 1.45;
}
.cd-curr-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}
.cd-curr-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  background: var(--code-bg, rgba(255, 255, 255, 0.06));
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.12));
  color: var(--text-muted, #cbd5e1);
}

/* Projects Showcase */
.cd-proj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.cd-proj-card {
  background: var(--glass-bg, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
  border-radius: 20px;
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
}
.cd-proj-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-orange, #ff6801);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.cd-proj-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main, #ffffff);
  margin: 0 0 0.5rem 0;
}
.cd-proj-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted, rgba(255, 255, 255, 0.78));
  margin: 0 0 1.25rem 0;
  flex-grow: 1;
}
.cd-proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}
.cd-proj-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

@media (max-width: 860px) {
  .cd-curr-item { grid-template-columns: 1fr; gap: 0.75rem; }
  .cd-curr-tags { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .cd-hero { padding: 2.25rem 1.25rem; border-radius: 20px; }
  .cd-hero-actions { flex-direction: column; width: 100%; }
  .cd-btn-primary, .cd-btn-secondary { width: 100%; justify-content: center; }
}
