:root {
  --aidan-white: #fbfdfcff;
  --aidan-baby-blue-ice: #88baf0ff;
  --aidan-prussian-blue: #062346ff;
  --aidan-prussian-blue-2: #052140ff;
  --aidan-deep-space-blue: #15273bff;
}

/* Global scroll behavior */
* { 
  scroll-behavior: smooth; 
}

/* Global layout fixes to prevent horizontal overflow and weird side bars */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Ensure the page background is consistent edge‑to‑edge */
html,
body.landing-page {
  font-family: "Rubik", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(
      circle at top left,
      rgba(136, 186, 240, 0.25),
      transparent 55%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(21, 39, 59, 0.9),
      rgba(5, 33, 64, 0.98)
    );
  color: var(--aidan-white);
  position: relative;
  overflow-x: hidden;
}

/* Hexagon background pattern */
body.landing-page::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 140'%3E%3Cg opacity='0.08' stroke='%237dd4ff' stroke-width='1.5' fill='none'%3E%3Cpath d='M30 15 L60 0 L90 15 L90 45 L60 60 L30 45 Z'/%3E%3Cpath d='M30 75 L60 60 L90 75 L90 105 L60 120 L30 105 Z'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 140'%3E%3Cg opacity='0.06' stroke='%2388baf0' stroke-width='1' fill='none'%3E%3Cpath d='M30 15 L60 0 L90 15 L90 45 L60 60 L30 45 Z'/%3E%3Cpath d='M30 75 L60 60 L90 75 L90 105 L60 120 L30 105 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 300px 350px, 450px 525px;
  background-position: 0 0, 75px 87px;
  background-repeat: repeat;
  pointer-events: none;
  z-index: 0;
  animation: hexagonDrift 40s ease-in-out infinite;
}

@keyframes hexagonDrift {
  0%, 100% {
    background-position: 0 0, 75px 87px;
  }
  50% {
    background-position: 30px -20px, 105px 67px;
  }
}

.aidan-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.aidan-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at top left,
      rgba(136, 186, 240, 0.45),
      transparent 55%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(6, 35, 70, 0.9),
      rgba(21, 39, 59, 1)
    );
  z-index: -1;
}

.aidan-hero-card {
  max-width: 960px;
  margin: 0 auto;
  background: rgba(11, 21, 35, 0.9);
  backdrop-filter: blur(22px);
  border-radius: 1.5rem;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.6);
  padding: 3rem 2.5rem;
  border: 1px solid rgba(136, 186, 240, 0.35);
}

@media (min-width: 992px) {
  .aidan-hero-card {
    padding: 4rem 4.5rem;
  }
}

.aidan-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(136, 186, 240, 0.2);
  color: var(--aidan-baby-blue-ice);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.aidan-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--aidan-baby-blue-ice);
  box-shadow: 0 0 0 4px rgba(136, 186, 240, 0.35);
}

.aidan-title {
  font-family: "Outfit", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-size: clamp(2.6rem, 4vw + 1.4rem, 3.8rem);
  margin-bottom: 1.25rem;
  color: var(--aidan-white);
}

.aidan-title span {
  color: var(--aidan-baby-blue-ice);
}

.aidan-motto {
  font-size: 1.02rem;
  color: rgba(203, 213, 225, 0.95);
  margin-bottom: 1.75rem;
}

.aidan-description {
  font-size: 0.98rem;
  color: rgba(148, 163, 184, 0.98);
  max-width: 42rem;
}

.aidan-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  font-size: 0.82rem;
  color: rgba(161, 172, 190, 0.98);
  border: 1px solid rgba(136, 186, 240, 0.25);
}

.aidan-pill strong {
  color: var(--aidan-baby-blue-ice);
}

.aidan-cta-row {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.aidan-btn-primary,
.aidan-btn-outline,
.aidan-btn-subtle {
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.16s ease,
    background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.aidan-btn-primary {
  background: linear-gradient(
    135deg,
    var(--aidan-baby-blue-ice),
    var(--aidan-prussian-blue)
  );
  color: var(--aidan-white);
  box-shadow: 0 16px 32px rgba(3, 15, 35, 0.8);
}

.aidan-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 44px rgba(3, 15, 35, 0.9);
  color: var(--aidan-white);
}

.aidan-btn-outline {
  background: transparent;
  border-color: rgba(136, 186, 240, 0.6);
  color: var(--aidan-baby-blue-ice);
}

.aidan-btn-outline:hover {
  background: rgba(6, 35, 70, 0.9);
  border-color: var(--aidan-baby-blue-ice);
  color: var(--aidan-white);
}

.aidan-btn-subtle {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(51, 65, 85, 0.9);
  color: rgba(226, 232, 240, 0.96);
}

.aidan-btn-subtle:hover {
  background: rgba(15, 23, 42, 1);
  border-color: rgba(136, 186, 240, 0.6);
  color: var(--aidan-baby-blue-ice);
}

.aidan-btn-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(136, 186, 240, 0.18);
  color: inherit;
}

.aidan-meta-row {
  margin-top: 2.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.86rem;
  color: rgba(148, 163, 184, 0.98);
}

.aidan-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.aidan-meta-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--aidan-baby-blue-ice);
}

.aidan-nav {
  border-bottom: 1px solid rgba(136, 186, 240, 0.65);
  background:
    radial-gradient(
      circle at 0% 0%,
      rgba(136, 186, 240, 0.24),
      transparent 55%
    ),
    linear-gradient(
      135deg,
      rgba(5, 21, 40, 0.98),
      rgba(6, 35, 70, 0.96)
    );
  backdrop-filter: blur(22px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  z-index: 1030;
}

/* Ensure the entire navbar is a horizontal strip across the top */
.aidan-nav.landing-navbar {
  height: 4.2rem !important;
  min-height: 4.2rem !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
}

.aidan-nav.landing-navbar .container-fluid {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
  margin: 0 !important;
}

.aidan-nav .navbar-brand {
  font-family: "Outfit", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--aidan-white);
  text-transform: uppercase;
  font-size: 0.8rem;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.aidan-nav .navbar-brand span {
  color: var(--aidan-baby-blue-ice);
  text-shadow: 0 0 18px rgba(136, 186, 240, 0.9);
}

.aidan-nav .nav-link {
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.98);
  font-weight: 500;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
}

.aidan-nav .nav-link.active,
.aidan-nav .nav-link:hover {
  color: var(--aidan-baby-blue-ice);
}

.aidan-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(136, 186, 240, 0.1),
    rgba(136, 186, 240, 0.9),
    rgba(136, 186, 240, 0.1)
  );
  transform: translateX(-50%);
  transition: width 0.2s ease-out;
  box-shadow: 0 0 10px rgba(136, 186, 240, 0.8);
}

.aidan-nav .nav-link:hover::after,
.aidan-nav .nav-link.active::after {
  width: 110%;
}

/* Force navbar into a horizontal top nav layout */
.aidan-nav .navbar-nav {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.9rem !important;
  margin: 0 !important;
  padding: 0 !important;
}

.aidan-nav .nav-item {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
}

/* Desktop navbar collapse - hidden for logo-only navbar on landing page */
.landing-page .aidan-nav .navbar-collapse {
  display: none !important;
}

/* But show it on admin pages */
.admin-page .aidan-nav .navbar-collapse {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  position: static !important;
  opacity: 1 !important;
  transform: none !important;
  padding: 0 !important;
  background: none !important;
  width: auto !important;
  max-height: none !important;
  overflow: visible !important;
  margin: 0 !important;
}

.admin-page .aidan-nav .navbar-nav {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.9rem !important;
  margin: 0 !important;
  padding: 0 !important;
}

.admin-page .aidan-nav .nav-item {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
}

@media (max-width: 576px) {
  .aidan-nav .navbar-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

.aidan-footer {
  padding: 1.75rem 1.5rem 2.5rem;
  font-size: 0.82rem;
  color: rgba(148, 163, 184, 0.95);
  text-align: center;
  background: radial-gradient(
    circle at top,
    rgba(136, 186, 240, 0.15),
    rgba(5, 21, 40, 1)
  );
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  position: relative;
  z-index: 1;
}

.aidan-footer strong {
  color: var(--aidan-white);
}

@media (max-width: 576px) {
  .aidan-hero-card {
    padding: 2.25rem 1.75rem;
  }

  .aidan-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .aidan-btn-primary,
  .aidan-btn-outline,
  .aidan-btn-subtle {
    width: 100%;
  }
}





/* Navbar container centering + better mobile spacing */
.aidan-nav.landing-navbar {
  height: 4.2rem !important;
  min-height: 4.2rem !important;
}

.aidan-nav.landing-navbar .container-fluid {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ===== FUTURISTIC LANDING PAGE STYLES ===== */

/* Override body styling for landing page futuristic look */
body {
  background: radial-gradient(ellipse at top left, #0f2847 0%, #1a3f5c 25%, #0d1519 75%, #050709 100%);
  color: #e8f0ff;
  position: relative;
  overflow-x: hidden;
}

/* Animated grid background overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(125, 212, 255, 0.03) 2px, rgba(125, 212, 255, 0.03) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(125, 212, 255, 0.03) 2px, rgba(125, 212, 255, 0.03) 4px),
    radial-gradient(circle at 20% 50%, rgba(15, 100, 200, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(100, 50, 200, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
  animation: gridShift 20s linear infinite;
}

/* Page wrapper for content centering */
.page-wrapper {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  padding-top: 120px;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* Hero box with glassmorphic effect */
.hero-box {
  width: min(1024px, 100%);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(20, 45, 90, .97), rgba(10, 20, 45, .96), rgba(15, 30, 65, .95));
  border: 1px solid rgba(100, 180, 255, .35);
  box-shadow: 
    0 32px 64px rgba(0, 8, 24, .65),
    0 0 60px rgba(50, 120, 255, .2),
    0 0 120px rgba(30, 80, 200, .1),
    inset 0 0 1px rgba(132, 185, 255, .25);
  backdrop-filter: blur(12px);
  padding: 2.5rem;
  animation: fadeInUp 0.8s ease-out, float 6s ease-in-out infinite;
}

/* Animated hero title with gradient text */
.hero-title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  margin: 0 0 0.5rem;
  background: linear-gradient(90deg, #7dd4ff 0%, #c4e1ff 25%, #a0d8ff 50%, #c4e1ff 75%, #7dd4ff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.01em;
  animation: gradientFlow 8s linear infinite;
  filter: drop-shadow(0 0 20px rgba(125, 212, 255, 0.4));
}

/* Hero subtitle and text */
.hero-subtitle { 
  text-align: center; 
  font-size: 1.15rem; 
  opacity: .92; 
  margin-top: 0.5rem; 
  font-weight: 500; 
}

.hero-text { 
  text-align: center; 
  margin-top: 1.2rem; 
  opacity: .86; 
  max-width: 800px; 
  margin-left: auto; 
  margin-right: auto; 
  font-size: 1.05rem; 
  line-height: 1.6; 
}

/* CTA grid layout */
.cta-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}

/* CTA card with hover effects */
.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.3rem 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(110, 180, 255, .45);
  background: linear-gradient(145deg, rgba(15, 45, 100, .85), rgba(25, 60, 120, .7));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(50, 120, 220, 0.1);
  color: #f0f6ff;
  cursor: pointer;
  transition: all .3s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
  overflow: hidden;
  animation: cardReveal 0.6s ease-out backwards;
}

.cta-card:nth-child(1) { animation-delay: 0.1s; }
.cta-card:nth-child(2) { animation-delay: 0.2s; }
.cta-card:nth-child(3) { animation-delay: 0.3s; }

/* Shine effect on CTA cards */
.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left .6s ease;
}

.cta-card:hover::before {
  left: 100%;
}

.cta-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(6, 18, 50, .8), 0 0 40px rgba(100, 150, 255, 0.35);
  background: linear-gradient(145deg, rgba(30, 70, 140, .98), rgba(45, 100, 170, .88));
  border-color: rgba(160, 210, 255, .7);
}

.cta-card:active {
  transform: translateY(-3px);
}

/* CTA card content layout */
.cta-info { 
  display: grid; 
  gap: .2rem; 
  position: relative; 
  z-index: 1; 
}

.cta-title { 
  font-weight: 700; 
  font-size: 1.08rem; 
}

.cta-sub { 
  font-size: .95rem; 
  opacity: .87; 
}

/* Arrow icon animation */
.cta-card .fa-arrow-right {
  position: relative;
  z-index: 1;
  transition: transform .3s ease;
  opacity: .75;
}

.cta-card:hover .fa-arrow-right {
  transform: translateX(4px);
  opacity: 1;
}

/* CTA icon styling */
.cta-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(125, 212, 255, .2), rgba(100, 180, 255, .1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9dd4ff;
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 1px solid rgba(125, 212, 255, .3);
  transition: all .3s ease;
}

.cta-card:hover .cta-icon {
  background: linear-gradient(135deg, rgba(125, 212, 255, .4), rgba(100, 180, 255, .25));
  border-color: rgba(125, 212, 255, .6);
  box-shadow: 0 0 20px rgba(125, 212, 255, 0.5);
  animation: iconPulse 0.6s ease-out;
}

/* Value list styling */
.value-list { 
  margin-top: 2rem; 
  display: grid; 
  gap: .8rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(50, 100, 180, .12), rgba(30, 70, 140, .08));
  border-radius: 16px;
  border: 1px solid rgba(100, 180, 255, .2);
  animation: valueReveal 0.8s ease-out 0.4s backwards;
}

/* Individual value items */
.value-item { 
  display: flex; 
  align-items: center; 
  gap: .8rem; 
  letter-spacing: .01em; 
  opacity: .94; 
  font-size: 1.05rem;
  transition: transform .2s ease;
}

.value-item:hover {
  transform: translateX(4px);
}

.value-item i { 
  color: #6ee193; 
  flex-shrink: 0;
  font-size: 1.2rem;
}

/* Footer branding */
.footer-brand {
  margin-top: 2rem;
  text-align: center;
  opacity: .8;
  font-weight: 600;
  font-size: 1.05rem;
  background: linear-gradient(90deg, #a5c9ff, #92d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.05em;
}

/* Mobile-first responsive adjustments */
@media (max-width: 750px) { 
  .page-wrapper { padding-top: 100px; }
  .hero-box { padding: 1.5rem; } 
  .hero-title { font-size: 1.6rem; }
  .hero-subtitle { font-size: 1rem; } 
  .hero-text { font-size: 1rem; }
  .cta-card { padding: 1rem 1.2rem; }
  .cta-title { font-size: 1rem; }
  .value-list { padding: 1.2rem; }
}

