/* =========================
   1) THEME TOKENS
   ========================= */

:root{
  --bg: #0A0E27;                 /* main constellation background */
  --bg-deep: #121B2D;            /* fallback page bg */
  --color-magenta: #C804AC;
  --color-orange: #FE513E;
  --color-black-plum: #2a1f2d;
  --text: rgba(255,255,255,0.92);
  --text-strong: rgba(255,255,255,0.96);
  --text-muted: rgba(255,255,255,0.78);

  /* gradient border preset */
  --grad-border: linear-gradient(135deg, var(--color-magenta), var(--color-orange));

  --accent: #00D9FF;             /* aurora cyan */
  --accent-2: #0EA5E9;           /* sky blue */
  --accent-3: #3B82F6;           /* blue */

  --border: rgba(255,255,255,0.14);
  --shadow: 0 20px 45px rgba(0,0,0,0.35);

  --radius-lg: 18px;
  --radius-md: 14px;

  --nav-bg: #121B2D;
  --nav-height: 72px;
}


/* =========================
   2) BASE STYLES
   ========================= */

html{
  scroll-behavior: smooth;
}

body{
  background-color: var(--bg-deep);
  color: var(--text);
  margin: 0;
  padding: 0;
  min-height: 100vh;

  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height:1.6;
}

section{
  scroll-margin-top: var(--nav-height);
}

h1, h2, h3{
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 400;
  color: var(--text-strong);
  
}

h2 {font-size: clamp(1.6rem, 1.53768rem + 0.164vw, 1.8rem);}


a{
  text-decoration: none;
}

p{
  color: var(--text-muted);
  line-height: 1.75;
}


/* ========================================
   GLOBAL PAGE SPACING HELPERS (NAV SAFE)
   ======================================== */

/* Use this class on any top section after the nav
   to prevent overlapping with fixed navbar */
.page-top-space{
  padding-top: calc(var(--nav-height) + 28px);
  
}

.constellation-section.page-top-space {
  position: relative;
  z-index: 2; /* sits above the announcement bar */
}



/* =========================
   3) NAVIGATION
   ========================= */

#navigation{
  position: fixed;        /* always fixed */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  display: flex;
  justify-content: center;
  padding-top: 1px;      /* space from top */
  pointer-events: none;   /* hero remains usable */
}

#navigation .nav-link{
  color: #fff;
  font-weight: 500;
}

#navigation .nav-link:hover{
  color: rgba(255,255,255,0.75);
}

#navigation header{
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  backdrop-filter: none !important;
  border-radius: 0 !important;
}

.navbar-brand {
  display: flex;
  align-items: center;
  padding: 0 !important;
}

.nav-logo {
  height: 34px;      /* controls size */
  width: auto;
  display: block;
}

.navbar-brand:hover .nav-logo {
  transform: translateY(-2px) scale(1.05);
  filter: drop-shadow(0 6px 14px rgba(200, 4, 172, 0.35))
          drop-shadow(0 2px 6px rgba(254, 81, 62, 0.25));
}

.nav-status {
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C804AC, #FE513E);
  box-shadow: 0 0 8px rgba(200,4,172,0.6);
}



/* =========================
   Glass / Pill Navbar
   ========================= */

.glass-nav{
  width: min(1100px, calc(100vw - 24px));
  margin: 0 auto;
  max-width: 1100px;

  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);

  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);

  border-radius: var(--radius-lg);
  color: var(--text);
  padding: 8px 14px;
}

/* nav items look */
.nav-pills-custom .nav-link{
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-pills-custom .nav-link:hover{
  color: rgba(255,255,255,0.30);
  transform: translateY(-1px);
  border-bottom: rgba(14, 165, 233, 0.1) solid 1px;
}

/* active state - optional */
.nav-pills-custom .nav-link.active{
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
}

/* Keep navbar height consistent */
#navigation .navbar{
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: auto !important;
}

/* allow clicking inside the pill */
#navigation .glass-nav{
  padding: 8px 14px !important;
  margin: 10px auto !important;
  max-width: 1100px;
  pointer-events: auto;
}

/* Remove extra padding bootstrap adds to brand/toggler area */



#navigation .navbar-brand{
  padding: 0 !important;
  line-height: 1 !important;
}

#navigation .nav-link{
  padding: 10px 14px !important;
  line-height: 1.1 !important;
}

/* Keep toggler centered and compact */
#navigation .navbar-toggler{
  padding: 6px 10px !important;
}

/* Tighten nav link padding so bar doesn't grow */
#navigation .nav-pills-custom .nav-link{
  padding: 10px 14px !important;
  line-height: 1.1 !important;
}

/* Mobile: when menu drops down, make it look clean */
@media (max-width: 991px){
  .glass-nav{
    border-radius: 22px;
    padding: 10px 14px;
  }

  .navbar-collapse{
    margin-top: 10px;
  }

  .nav-pills-custom{
    padding: 12px;
    border-radius: 18px;
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.10);
  }

  .nav-pills-custom .nav-link{
    display: block;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-logo,
  .navbar-brand::before,
  .navbar-brand::after {
    transition: none !important;
    animation: none !important;
  }
}


/* =========================
   4) CONSTELLATION / AURORA BACKGROUND
   ========================= */

.constellation-section{
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.constellation-section::before{
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg,
      transparent 0%,
      rgba(0, 217, 255, 0.05) 20%,
      rgba(14, 165, 233, 0.08) 40%,
      rgba(59, 130, 246, 0.06) 60%,
      transparent 80%
    );
  animation: auroraFlow 15s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.constellation-section::after{
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(240deg,
      transparent 0%,
      rgba(0, 217, 255, 0.04) 30%,
      rgba(14, 165, 233, 0.06) 50%,
      transparent 70%
    );
  animation: auroraFlow 20s ease-in-out infinite reverse;
  pointer-events: none;
  z-index: 0;
}

@keyframes auroraFlow{
  0%, 100%{
    transform: translateX(-10%) translateY(-10%);
    opacity: 0.6;
  }
  50%{
    transform: translateX(10%) translateY(10%);
    opacity: 1;
  }
}

/* When you want content above aurora overlays */
.constellation-container{
  position: relative;
  z-index: 1;
}

/* Make headers and lead paragraphs readable on dark aurora */
.constellation-section .section-title{
  color: var(--text-strong) !important;
}

.constellation-section .section-lead{
  color: rgba(255,255,255,0.72) !important;
  line-height: 1.8;
  max-width: 90ch;
  margin-left: auto;
  margin-right: auto;
}



/* =========================
   5) HOME SECTION
   ========================= */

/* HERO VIDEO SECTION */
.hero-video{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  isolation: isolate;
}

/* Fallback image layer */
.hero-fallback-img{
  position: absolute;
  inset: 0;
  background: url("../images/B-roll-screenshot_enhanced@2x.jpg") center/cover no-repeat;
  z-index: 0;
  filter: contrast(1.05) saturate(1.1);
}

/* Video background layer */
.hero-bg-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: contrast(1.05) saturate(1.15);
}

/* Dark overlay for readability */
.hero-overlay{
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 14, 0.55);
  z-index: 2;
}

/* Keep content above overlays */
.hero-content{
  top: 3rem;
  position: relative;
  z-index: 3;
}

/* Ensure aurora gradient sits above video but behind text */
#home.constellation-section::before,
#home.constellation-section::after{
  z-index: -1;
}

/* Original Discover More button */
.home-btn{
  --bs-btn-padding-y: 1em;
  --bs-btn-padding-x: 8rem;
  background-color: #159A9C;
  border-color: #159A9C;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  z-index: 2;
}

.home-btn:hover,
.home-btn:active:focus{
  background-color: #0d797a;
  border-color: #159A9C;
  opacity: 0.95;
  color: #fff;
}

.lead {
  font-size: clamp(1.6rem, 1.53768rem + 0.164vw, 1.8rem);
  text-align: center;
  line-height: 1.4;
}

.about-first-line {
  text-align: left;
  font-size: clamp(1.6rem, 1.6rem + 0vw, 1.6rem);
  line-height: 1.4;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(26,188,156,0.1); border: 1px solid rgba(26,188,156,0.3);
  border-radius: 20px; padding: 6px 14px; margin-bottom: 24px;
  font-size: 12px; font-weight: 500; color: var(--teal-light);
}

.hero-badge-dot { width: 6px; height: 6px; background: var(--teal-light); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }



/* =======================================================
   ABOUT SECTION
   ======================================================= */

.about-section{
  position: relative;
}

/* Photo styling */
.about-photo-wrap{
  width: min(340px, 85vw);
  aspect-ratio: 1 / 1.1;
  margin: 0 auto;
  border-radius: 28px;
  position: relative;
  overflow: hidden;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);

  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);

  animation: floaty 6s ease-in-out infinite;
  will-change: transform;
}

/* Aurora glow behind picture */
.about-photo-wrap::before{
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 30% 40%,
      rgba(230, 64, 135, 0.35) 0%,
      transparent 55%
    ),
    radial-gradient(circle at 70% 60%,
      rgba(249, 215, 241, 0.18) 0%,
      transparent 60%
    );
  filter: blur(18px);
  transform: rotate(10deg);
  z-index: 0;
  animation: glowPulse 7s ease-in-out infinite;
  will-change: transform, opacity;
}

.about-photo{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;

  position: relative;
  z-index: 1;
  transform: scale(1.02);
}

/* About text card */
.about-card{
  padding: 28px;
  border-radius: 28px;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);

  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.about-card h2{
  letter-spacing: -0.5px;
}

/* Chips */
.about-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-chips .chip{
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.95rem;
  background: rgba(230, 64, 135, 0.10);
  border: 1px solid rgba(230, 64, 135, 0.30);
  color: rgba(255, 255, 255, 0.9);
}

.problem-intro {
  color: rgba(255,255,255,0.72); 
  max-width: 75ch; 
  margin: 0 auto;
}

.problem{
  color: rgba(255,255,255,0.72);
}

.problem-closing {
  color: rgba(255,255,255,0.6);
  margin-bottom: 0;
}

/* Animations */
@keyframes floaty{
  0%, 100%{
    transform: translateY(0) rotate(-0.4deg);
  }
  50%{
    transform: translateY(-10px) rotate(0.4deg);
  }
}

@keyframes glowPulse{
  0%, 100%{
    opacity: 0.55;
    transform: scale(1) rotate(10deg);
  }
  50%{
    opacity: 0.85;
    transform: scale(1.05) rotate(12deg);
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce){
  .about-photo-wrap,
  .about-photo-wrap::before{
    animation: none !important;
  }
}

@media (max-width: 991px){
  .about-card{
    padding: 22px;
  }
}

@media (max-width: 768px){
  .hero-bg-video{ display: none; }
}



/* =========================
   6) GLASS SYSTEM
   ========================= */

.glass-surface{
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);

  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);

  border-radius: var(--radius-lg);
  color: var(--text);
}

.glass-card{
  position: relative;
  padding: 1.5rem;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;

  height: 100%;
  display: flex;
  flex-direction: column;
}

.glass-card{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-radius: var(--radius-lg);
}

.glass-card:hover{
  transform: translateY(-6px);
  border-color: rgba(230, 64, 135, 0.30);
  box-shadow: 0 28px 70px rgba(0,0,0,0.45);
}

.glass-card h1,
.glass-card h2,
.glass-card h3{
  color: var(--text-strong);
}

.glass-card p,
.glass-card li{
  color: rgba(255,255,255,0.78);
}

.glass-card .card-body{
  flex: 1;
  display: flex;
  flex-direction: column;
}



/* =========================
   7) GLASS PROJECT CARDS
   ========================= */

.glass-project-card{
  border-radius: var(--radius-lg);
  overflow: hidden;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow);

  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);

  color: var(--text);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;

  height: 100%;
  display: flex;
  flex-direction: column;
}

.glass-project-card:hover{
  transform: translateY(-6px);
  border-color: rgba(230, 64, 135, 0.30);
  box-shadow: 0 28px 70px rgba(0,0,0,0.45);
}

.project-image{
  height: 190px;
  overflow: hidden;
  position: relative;
}

.project-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 250ms ease;
}

.glass-project-card:hover .project-image img{
  transform: scale(1.08);
}

.project-image::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.55) 100%
  );
}

.project-content{
  padding: 1.2rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-title{
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.25rem;
  margin: 0 0 0.6rem;
  color: var(--text-strong);
}

.project-desc{
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.80);
}

.project-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1rem;
}

.tag{
  font-size: 0.78rem;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(230, 64, 135, 0.10);
  border: 1px solid rgba(230, 64, 135, 0.30);
  color: rgba(255,255,255,0.90);
}

.project-footer{
  margin-top: auto;
}

.project-btn{
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 10px 14px;
  border-radius: 12px;
  margin-top: 2rem;

  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);

  color: rgba(255,255,255,0.92);
  font-weight: 800;
  text-decoration: none;

  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.project-btn:hover{
  background: rgba(230, 64, 135, 0.10);
  border-color: rgba(230, 64, 135, 0.30);
  transform: translateY(-2px);
  color: rgba(255,255,255,0.95);
}

.gradient-icon {
  color: var(--color-magenta)
}

.feature-icon {
  font-size: 36px;
}

.feature-icon.gradient-icon {
  filter: drop-shadow(0 4px 12px rgba(200, 4, 172, 0.25));
}

.feature-icon:hover {
  background: linear-gradient(135deg, var(--color-magenta), var(--color-orange));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* BRAND GRADIENT ICONS */
.icon-gradient {
  background: linear-gradient(135deg, #C804AC, #FE513E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;

  display: inline-flex;      /* prevents clipping */
  align-items: center;
  justify-content: center;
  min-width: 1.6em;          /* gives icon breathing room */
  padding-left: 2px; 
  line-height: 1;         /* tiny nudge right */
}


/* Old price crossed out */
.price-old {
  font-size: 20px;
  text-decoration: line-through;
  opacity: 0.5;
  margin-right: 8px;
}

/* Make the offer chip stand out */
.chip-pulse {
  position: relative;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.announcement-bar{
  background: linear-gradient(-135deg,  #2a1f2d, #C804AC );
  color: white;
  text-align: center;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  z-index: 1;
}



.announcement-link{
  color: #ffffff;
  font-weight: 600;
  margin-left: 8px;
  text-decoration: none;
  position: relative;
  transition: all 0.25s ease;
}

/* underline animation */
.announcement-link::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #C804AC, #FE513E);
  transition: width 0.25s ease;
}

/* hover state */
.announcement-link:hover{
  color: #ffe9f9; /* slightly softer white */
  transform: translateY(-1px);
}

.announcement-link:hover::after{
  width: 100%;
}



.hero-training-badge{
  margin-top: 18px;
  font-size: 14px;
  opacity: 0.85;
  text-align: center;
}


/* Optional glow for dark backgrounds */
.icon-gradient--glow {
  filter: drop-shadow(0 0 6px rgba(200, 4, 172, 0.35))
          drop-shadow(0 0 10px rgba(254, 81, 62, 0.25));
}

/* Slight hover animation */
.icon-gradient-hover {
  transition: transform 0.25s ease, filter 0.25s ease;
}

.icon-gradient-hover:hover {
  transform: translateY(-2px) scale(1.08);
  filter: drop-shadow(0 0 8px rgba(200, 4, 172, 0.5))
          drop-shadow(0 0 14px rgba(254, 81, 62, 0.35));
}


/* =========================
   WIDB HERO IMAGE
   ========================= */

.widb-hero{
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background photo */
.widb-hero-img{
  position: absolute;
  inset: 0;
  background: url("../images/widb/widb-hero.jpg") center/cover no-repeat;
  z-index: 0;
  filter: brightness(0.75) contrast(1.05) saturate(1.05);
}

/* Gradient overlay for readability */
.widb-hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,14,39,0.65) 0%,
    rgba(10,14,39,0.85) 50%,
    rgba(10,14,39,0.95) 100%
  );
  z-index: 1;
}

/* Ensure content sits above overlay */
.widb-hero .constellation-container{
  position: relative;
  z-index: 2;
}

/* Optional brand glow */
.widb-hero-img::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(200,4,172,0.25), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(254,81,62,0.25), transparent 40%);
  mix-blend-mode: screen;
}

/* Service card bullet styling */
.service-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
}

.service-list li i {
  margin-top: 4px;   /* aligns check with first text line */
  flex-shrink: 0;
}

.tally-wrapper {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow:
    0 20px 50px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.6);
}

/* Ensure iframe respects rounded corners */
.tally-wrapper iframe {
  border-radius: 12px;
}


/* =========================
   8) GLASS CTA BUTTONS
   ========================= */

.glass-cta{
  --bs-btn-padding-y: 1em;
  --bs-btn-padding-x: 3.2rem;
  margin-top: 3rem;

  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.10);

  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);

  color: rgba(255,255,255,0.92);
  font-weight: 500;
  letter-spacing: 0.2px;

  box-shadow: 0 18px 40px rgba(0,0,0,0.32);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.glass-cta:hover{
  transform: translateY(-3px);
  background: rgba(230, 64, 135, 0.10);
  border-color: rgba(230, 64, 135, 0.30);
  color: rgba(255,255,255,0.95);
}

.glass-cta--muted{
  opacity: 0.92;
  filter: saturate(95%);
  background: transparent;
  border-color: rgba(230, 64, 135, 0.30);
}
.glass-cta--muted:hover{
  opacity: 1;
}

/* ===== FINAL CTA LIVE DOT ===== */

.chip-pulse {
  position: relative;
  padding-left: 14px;
}

/* Animated status dot */
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C804AC, #FE513E);
  box-shadow: 0 0 0 rgba(254, 81, 62, 0.6);
  animation: pulseDot 2s infinite;
  margin-right: 8px;
}

/* Pulse animation */
@keyframes pulseDot {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(254, 81, 62, 0.6);
  }
  70% {
    transform: scale(1.4);
    box-shadow: 0 0 0 8px rgba(254, 81, 62, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(254, 81, 62, 0);
  }
}


/* WIDB PROGRAMME SUMMARY */
.widb-summary .section-lead {
  max-width: 75ch;
  margin: 0 auto;
}

.widb-summary .section-list li {
  margin-bottom: 8px;
  color: rgba(255,255,255,0.75);
}

/* TRUSTED BY LOGOS SECTION */
.trusted-section {
  text-align: center;
}

.trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 80px;
}

.trusted-logos img {
  max-height: 200px;   /* BIGGER logos */
  width: auto;
  opacity: 0.85;
  transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
  filter: brightness(1.1) contrast(1.05);
}

.trusted-logos img:hover {
  transform: translateY(-6px) scale(1.05);
  opacity: 1;
  filter: brightness(1.25) contrast(1.1);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .trusted-logos {
    gap: 40px;
  }

  .trusted-logos img {
    max-height: 150px;
  }
}



/* =========================
   9) CONTACT SECTION + FORM GLASS
   ========================= */

#contact{
  flex: 1;
  padding: 2rem;
  color: #fff;
  z-index: 100;
  overflow: hidden;
}

.glass-form{
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 22px 55px rgba(0,0,0,0.40);

  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.glass-form .form-control{
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.25);
  color: rgba(255,255,255,0.90);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  padding: 0.85rem 1rem;
}

.glass-form .form-control::placeholder{
  color: rgba(255,255,255,0.55);
}

.glass-form .form-control:focus{
  border-color: rgba(0,217,255,0.45);
  box-shadow: 0 0 0 0.2rem rgba(0,217,255,0.12);
  background: rgba(0,0,0,0.28);
  color: rgba(255,255,255,0.94);
}

.glass-form textarea.form-control{
  min-height: 220px;
  resize: vertical;
}

/* Glass buttons inside form */
.glass-btn{
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.10);

  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);

  color: rgba(255,255,255,0.92);
  font-weight: 400;

  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.glass-btn:hover{
  transform: translateY(-2px);
  background: rgba(230, 64, 135, 0.10);
  border-color: rgba(230, 64, 135, 0.35);
  color: rgba(255,255,255,0.95);
}

.glass-btn--muted{
  opacity: 0.92;
  filter: saturate(95%);
  background: transparent;
  border-color: rgba(230, 64, 135, 0.30);
}

.glass-btn--muted:hover{
  background: rgba(255,255,255,0.10);
  border-color: rgba(230, 64, 135, 0.30);
}



/* =========================
   10) BACK TO TOP
   ========================= */

#btn-back-to-top{
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  font-size: 1.5rem;
  color: var(--color-magenta);
  z-index: 1000;
}

#btn-back-to-top:hover {
  background: linear-gradient(135deg, var(--color-magenta), var(--color-orange));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

footer{
  margin-top:28px;
  color:var(--text-muted);
  font-size:13px;
  text-align:center;
}



/* ==========================================
   11) NOTEBOOK PROJECT PREMIUM TEMPLATE CSS
   (embedded for all notebook projects)
   ========================================== */

.case-hero{
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 55px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08);
  padding: 28px;
}


.case-hero-top{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom: 10px;
}

.case-title{
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 10px 0 10px;
  color: rgba(255,255,255,0.96);
}

.case-lead{
  color: rgba(255,255,255,0.78);
  max-width: 95ch;
  margin: 0;
}

.case-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.25);
  color: rgba(255,255,255,0.70);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.92rem;

  /* mobile overflow protection */
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.section-muted{ color: rgba(255,255,255,0.70); }
.section-text{ color: rgba(255,255,255,0.78); }

.section-list{
  color: rgba(255,255,255,0.78);
  margin-bottom: 0;
}

.section-title-mini{
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.92);
  margin-bottom: 10px;
}

/* chips */
.chiprow{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 14px;
}

.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.78);
  padding: 8px 12px;
  border:1px solid rgba(255,255,255,0.14);
  border-radius:999px;
  background: rgba(0,0,0,0.20);

  max-width: 100%;
  overflow-wrap: anywhere;
}

/* glass container panel */
.glass-panel{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  padding: 18px;
  box-shadow: 0 18px 55px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
}

/* action buttons */
.case-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top: 16px;
}

.case-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(230, 64, 135, 0.12);
  color: rgba(255,255,255,0.92);
  font-weight: 500;
  text-decoration:none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.case-btn:hover{
  transform: translateY(-2px);
  background: rgba(230, 64, 135, 0.18);
  border-color: rgba(230, 64, 135, 0.30);;
  color: rgba(255,255,255,0.95);
}

.case-btn--ghost{
  background: rgba(255,255,255,0.06);
}

.case-btn--ghost:hover{
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.22);
}

/* metrics */
.metric{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.20);
  height: 100%;
}

.metric i{
  font-size: 16px;
  opacity: 0.9;
  margin-top: 2px;
}

.metric b{
  font-size: 1.05rem;
  display:block;
  margin-bottom: 4px;
  color: rgba(255,255,255,0.92);
}

.metric span{
  color: rgba(255,255,255,0.70);
  font-size: 0.95rem;
  line-height: 1.35;
}

/* gallery */
.gallery-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

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

@media (min-width: 1100px){
  .gallery-grid{ grid-template-columns: repeat(3, 1fr); }
}

.gallery-card{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.20);
  cursor: zoom-in;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.gallery-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.22);
}

.gallery-card img{
  width: 100%;
  height: 250px;
  object-fit: cover;
  display:block;
}

.gallery-cap{
  padding: 12px 12px;
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  border-top: 1px solid rgba(255,255,255,0.10);
}

/* notebook embed */
.notebook-embed{
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.25);
}

.notebook-embed iframe{
  width: 100%;
  height: 78vh;
  min-height: 720px;
  border: 0;
  display: block;
  background: #ffffff;
}

.notebook-note{
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
}

/* lightbox modal */
.lightbox-modal{
  background: rgba(12,12,16,0.92);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 22px;
  
}

.lightbox-header{
  
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.lightbox-header .modal-title{
  color: rgba(255,255,255,0.92);
}

.lightbox-footer{
  border-top: 1px solid rgba(255,255,255,0.12);
  justify-content: space-between;
  color: rgba(255,255,255,0.65);
}

.lightbox-img{
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  transition: opacity 0.15s ease;
  max-height: 65vh;
  object-fit: contain;
  transform-origin: center center;
}

.lightbox-navbtn{
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  z-index:10;
  border:1px solid rgba(255,255,255,0.14);
  background:rgba(0,0,0,0.35);
  color:rgba(255,255,255,0.88);
  border-radius:999px;
  padding:10px 14px;
}

.lightbox-navbtn--right{
  left:auto;
  right:14px;
}

.lightbox-img.zoomed {
  cursor: grab;
}
.lightbox-img.zoomed:active {
  cursor: grabbing;
}

.modal-dialog {
   margin-top: 90px;
}

#lightboxModal .modal-body {
  scrollbar-width: thin;
}
#lightboxModal .modal-body::-webkit-scrollbar {
  width: 6px;
}
#lightboxModal .modal-body::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 6px;
}




/* footer */
.case-footer{
  text-align:center;
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
  padding: 28px 0 10px;
}



/* =========================
   12) RESPONSIVE
   ========================= */


/* mobile: badge and chips avoid overflow */
@media (max-width: 420px){
  .case-hero-top{
    justify-content: center;
  }
  .case-badge{
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .modal-dialog {
    margin-top: 70px;
  }
}

/* Prevent modal from sitting under fixed navbar on large screens */
@media (min-width: 1200px) {

  #lightboxModal .modal-dialog {
    max-height: calc(100vh - 120px); /* space for navbar + breathing room */
    margin-top: 80px;                /* pushes modal below nav */
    margin-bottom: 40px;
  }

  #lightboxModal .modal-content {
    max-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
  }

  #lightboxModal .modal-body {
    overflow: auto;                  /* scroll inside modal if needed */
    text-align: center;
  }

  .lightbox-img {
    max-height: calc(100vh - 260px); /* keeps image inside modal */
    width: auto;
    max-width: 100%;
  }
}




@media (max-width: 700px){
  .home-btn{
    --bs-btn-padding-x: 2rem;
  }

  .glass-cta{
    --bs-btn-padding-x: 1.6rem;
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 180px) and (max-width: 402px){
  #navigation .nav-link{
    font-size: 0.85rem;
  }

  #home p{
    font-size: 1rem;
  }

  .project-image{
    height: 165px;
  }
}
