/* ===== BASE VARIABLES & RESET ===== */
:root {
  --bg: #f0fdf4;
  --bg-card: #ffffff;
  --text: #475569;
  --muted: #64748b;
  --primary: #059669;
  --primary-hover: #047857;
  --secondary: #022c22;
  --panel-bg: rgba(255, 255, 255, 0.9);
  --border: #e2e8f0;
  --glass-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
  --radius: 12px;

  --bg-hero: linear-gradient(135deg, #022c22 0%, #064e3b 35%, #047857 70%, #059669 100%);
  --text-dark: #0f172a;
}

html {
  font-size: clamp(14px, 1.2vw + 0.5rem, 18px);
  min-height: 100vh;
  scroll-behavior: smooth;
  background: linear-gradient(
    135deg,
    hsl(calc(30 + var(--scroll-p, 0) * 120), 85%, 93%) 0%,
    hsl(calc(195 + var(--scroll-p, 0) * 80), 80%, 91%) 50%,
    hsl(calc(140 + var(--scroll-p, 0) * 110), 75%, 93%) 100%
  ) !important;
  background-attachment: fixed !important;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: transparent;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  word-break: break-word;
  overflow-wrap: break-word;
}

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

ul {
  list-style: none;
}

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: clamp(0.6rem, 1.5vw, 0.85rem) clamp(1rem, 3vw, 1.75rem);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(5, 150, 105, 0.5), 0 6px 20px rgba(5, 150, 105, 0.35);
}

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

.btn-secondary:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== HEADER ===== */
.page-header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 100;
  margin: 0 auto;
  width: 96%;
  max-width: 1400px;
  height: 90px;
  transition: all 0.3s ease;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(1px) url(#lg-filter) blur(2px) saturate(1.5) brightness(1.1);
  -webkit-backdrop-filter: blur(8px) saturate(1.8) brightness(1.15) contrast(1.05);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.15),
    inset 1.5px 1.5px 0 rgba(255, 255, 255, 0.5),
    inset 0 0 12px rgba(255, 255, 255, 0.2),
    0 8px 32px rgba(0, 0, 0, 0.2);
  border-bottom: none;
  padding: 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5mm;
  padding-top: 4px;
}

.logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

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

.logo-text h1 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

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

.main-nav ul {


  background: transparent;
  border: 1px solid #1ba104;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 6px 16px;
  border-radius: 8px;
  box-shadow: none;


  display: flex;
  gap: 0.5rem;
  align-items: center;


}

.main-nav a {
  color: #013220;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);

  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.4rem 0.7rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: inline-block;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.nav-active {
  color: #000000;
  background: transparent !important;
  box-shadow: none !important;
  transform: translateY(-2px);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #0f172a;
  cursor: pointer;
  padding: 4px;
}

/* ===== HERO SECTION ===== */
.hero-section {
  padding: 140px 0 3rem;
  position: relative;
  overflow: hidden;
  background: transparent;
  color: var(--text);
}

.emerald-mesh-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(5, 150, 105, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 150, 105, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center center;
  opacity: 0.6;
  animation: panMesh 30s linear infinite;
}

@keyframes panMesh {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 40px 40px;
  }
}

.emerald-mesh-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(52, 211, 153, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(5, 150, 105, 0.1) 0%, transparent 40%);
  filter: blur(20px);
  animation: pulseGlow 8s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }

  100% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-text {
  flex: 1.2;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  max-width: 100%;
  overflow: hidden;
}

/* Hero Graphic Component */
.glass-hero-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.glass-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.6;
  animation: floatOrb 8s infinite alternate ease-in-out;
}

.orb-top {
  width: 150px;
  height: 150px;
  background: #09af06;
  top: -40px;
  right: -20px;
}

.orb-bottom {
  width: 200px;
  height: 200px;
  background: #04af0f;
  bottom: -60px;
  left: -40px;
  animation-delay: -4s;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(20px, 30px) scale(1.1);
  }
}

.glass-card-inner {
  position: relative;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  padding: 30px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.graphic-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dots-wrap {
  display: flex;
  gap: 8px;
}

.graphic-header .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.graphic-header .dot:nth-child(1) {
  background: #ff5f56;
}

.graphic-header .dot:nth-child(2) {
  background: #ffbd2e;
}

.graphic-header .dot:nth-child(3) {
  background: #27c93f;
}

.live-datetime {
  font-family: 'Courier New', Courier, monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.glass-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}

.glass-card-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: -12px;
}

.glass-card-code {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  color: #047857;
  line-height: 1.6;
  min-height: 180px;
  overflow-x: auto;
  text-align: left;
}

.glass-card-code pre {
  margin: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.glass-card-code .cursor {
  display: inline-block;
  width: 8px;
  animation: blink 1s step-end infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.hero-tag {
  display: inline-block;
  background-color: #d1fae5;
  color: #047857;
  padding: 0.4rem 1rem;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.hero-title,
.section-title,
.section-heading,
.page-title,
.hero-banner h1,
.hero-content h1,
.stat-value,
.logo-text h1 {
  background: linear-gradient(
    135deg,
    hsl(calc(15 + var(--scroll-p, 0) * 160), 90%, 25%) 0%,
    hsl(calc(160 + var(--scroll-p, 0) * 140), 85%, 35%) 100%
  ) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  transition: background 0.1s ease-out;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--muted);
  max-width: 50ch;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.feature-item span {
  font-size: 1.25rem;
}

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

/* ===== STATS SECTION ===== */
.stats-section {
  background: transparent;
  padding: 4rem 0;
}

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

.stat-item {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.stat-item:hover {
  transform: translateY(-5px);
  border-color: rgba(5, 150, 105, 0.3);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.stat-value {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.stat-label {
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
}

/* ===== BUBBLE HOVER EFFECT (all glassy cards) ===== */
/* Mouse-tracking spotlight radial glow via --mx / --my CSS vars set by JS */
.stat-item,
.path-card,
.about-brief-item {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.stat-item::after,
.path-card::after,
.about-brief-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    280px circle at var(--mx, 50%) var(--my, 50%),
    rgba(5, 150, 105, 0.13) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.stat-item:hover::after,
.path-card:hover::after,
.about-brief-item:hover::after {
  opacity: 1;
}

/* Ripple effect on click */
.ripple-ring {
  position: absolute;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.25);
  transform: scale(0);
  animation: ripple-expand 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  pointer-events: none;
  z-index: 10;
}

@keyframes ripple-expand {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Scroll-reveal .visible class (used by IntersectionObserver) */
.path-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.path-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Ensure card content stays above the bubble overlay */
.stat-item > *,
.path-card > *,
.about-brief-item > * {
  position: relative;
  z-index: 1;
}

/* ===== PATH SECTION ===== */
.path-section {
  padding: 6rem 0;
  text-align: center;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--muted);
  margin-bottom: 4rem;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  text-align: left;
}

.path-card {
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--glass-shadow);
}

.path-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 15px 30px rgba(5, 150, 105, 0.1), inset 0 0 20px rgba(5, 150, 105, 0.05);
}

.path-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 1.5rem 0 1rem;
}

.path-card p {
  color: var(--muted);
  flex-grow: 1;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.path-icon {
  font-size: 2rem;
  background: rgba(5, 150, 105, 0.1);
  border: 1px solid rgba(5, 150, 105, 0.2);
  color: var(--primary);
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 16px;
}

/* ===== ABOUT BRIEF SECTION (Homepage SEO content) ===== */
.about-brief-section {
  padding: 4rem 0;
  background: transparent;
}

.about-brief-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.about-brief-item {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s ease;
}

.about-brief-item:hover {
  transform: translateY(-4px);
  border-color: rgba(5, 150, 105, 0.3);
}

.about-brief-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.about-brief-item p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ===== FOOTER ===== */
.site-footer {
  text-align: center;
  padding: 2.5rem 0;
  color: rgba(255, 255, 255, 0.7);
  background: var(--secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer small {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}

.site-footer a {
  color: #34d399;
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover {
  color: #6ee7b7;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #fff;
}

/* Logo brand text (replaces H1 in logo) */
.logo-brand {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.logo-tagline-text {
  font-size: 0.75rem;
  color: #279b04;

  font-weight: 700;
  text-align: center;
}

.logo {
  text-decoration: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5mm;
  padding-top: 4px;
}

.footer small,
.footer-nav a {
  /* ensure old .footer class doesn't clash */
}

/* Legacy .footer support */
.footer {
  text-align: center;
  padding: 3rem 0;
  color: rgba(255, 255, 255, 0.7);
  background: var(--secondary);
}

.footer small {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .hero-text {
    flex: none;
    width: 100%;
  }

  .hero-image {
    flex: none;
    width: 100%;
    justify-content: center;
  }

  .glass-hero-card {
    max-width: 340px;
    margin: 0 auto;
  }

  .glass-card-inner {
    max-width: 100%;
    min-height: 240px;
    padding: 18px;
  }

  .glass-card-code {
    min-height: 160px;
  }

  .hero-subtitle {
    max-width: 100%;
    margin: 0 auto 2rem;
  }

  .hero-features {
    margin: 0 auto 2.5rem;
  }

  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 960px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    border-radius: 16px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.4);
    margin-top: 10px;
    margin-bottom: 20px;
    width: 96%;
    left: 2%;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.5rem;
    border-bottom: 1px solid var(--secondary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 100;
  }

  .main-nav.active,
  .main-nav.show {
    display: block;
    animation: slideDownNav 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes slideDownNav {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .main-nav a {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 1rem;
    border-radius: 8px;
  }

  .main-nav a:hover,
  .main-nav a.nav-active {
    color: #000000;
    background: transparent !important;
    box-shadow: none !important;
    transform: translateY(-2px);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .hero-features {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    gap: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .path-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 120px 0 2rem;
  }

  .hero-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .hero-tag {
    font-size: 0.65rem;
    padding: 0.35rem 0.75rem;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
  }

  .hero-features {
    gap: 0.6rem;
  }

  .feature-item {
    font-size: 0.85rem;
    gap: 0.5rem;
  }

  .feature-item span {
    font-size: 1.1rem;
  }

  .glass-hero-card {
    max-width: 100%;
  }

  .glass-card-inner {
    padding: 18px 16px;
    min-height: 240px;
    border-radius: 16px;
  }

  .live-datetime {
    font-size: 9px;
  }

  .glass-card-code {
    font-size: 0.75rem;
    padding: 12px;
    min-height: 120px;
  }

  .glass-card-code pre {
    font-size: 0.75rem;
  }

  /* Make stats 2x2 grid on mobile for a tighter layout */
  .stats-section {
    padding: 2.5rem 0;
  }

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

  .stat-item {
    padding: 1.25rem 1rem;
    border-radius: 12px;
  }

  .stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .stat-value {
    font-size: 1.35rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

  .about-brief-section {
    padding: 3rem 0;
  }

  .about-brief-item {
    padding: 1.5rem;
    border-radius: 12px;
  }

  .about-brief-item h3 {
    font-size: 1.05rem;
  }

  .about-brief-item p {
    font-size: 0.85rem;
  }

  .path-section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
  }

  .section-subtitle {
    font-size: 0.85rem;
    margin-bottom: 2rem;
  }

  .path-card {
    padding: 1.5rem 1.25rem;
    border-radius: 16px;
  }

  .path-icon {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    border-radius: 12px;
  }

  .path-card h4 {
    margin: 1rem 0 0.5rem;
    font-size: 1.15rem;
  }

  .path-card p {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }

  .btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .site-footer {
    padding: 2rem 0;
  }

  .site-footer small {
    font-size: 0.7rem;
  }

  .footer-nav {
    gap: 0.8rem;
    margin-bottom: 1rem;
  }

  .footer-nav a {
    font-size: 0.8rem;
  }
}

@media (max-width: 360px) {
  .container {
    width: 95%;
  }

  .hero-title {
    font-size: 1.35rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}




.page-header .container {
  height: 100%;
}

.page-header .header-content {
  height: 100%;
}

.mobile-menu-btn:hover {
  color: #000000;
}

.main-nav ul {
  position: relative;
  z-index: 1;
}

.main-nav ul li {
  z-index: 2;
}

.hover-pill {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.3, 1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.15) 100%);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-radius: 24px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5),
    inset 0 2px 6px rgba(255, 255, 255, 0.8);
  opacity: 0;
  top: 0;
  left: 0;
}

/* ==========================================================================
   GLOBAL RESPONSIVE RESET & SMOOTH SCALING
   Ensures no horizontal scroll, fluid images, and smooth transitions
   ========================================================================== */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

img, picture, video, canvas, svg {
    max-width: 100%;
    height: auto;
}

* {
    -webkit-tap-highlight-color: transparent;
}

