/* ==========================================================================
   INTELEE Data Centres - Intelligent Infrastructure for the AI Era
   Theme: Next-Gen Hyperscale & AI Infrastructure (Pleasant Light Gradient Theme)
   ========================================================================== */

:root {
  --bg-base: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-surface-card: rgba(255, 255, 255, 0.95);
  --border-color: #e2e8f0;
  --border-subtle: #f1f5f9;
  --border-glow: rgba(2, 132, 199, 0.3);
  
  --text-main: #334155;
  --text-muted: #64748b;
  --text-heading: #0f172a;
  
  --grad-cyan: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  --grad-ai: linear-gradient(135deg, #7c3aed 0%, #2563eb 60%, #0284c7 100%);
  --grad-green: linear-gradient(135deg, #059669 0%, #0284c7 100%);
  --grad-gold: linear-gradient(135deg, #d97706 0%, #ea580c 100%);
  --grad-card: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  --grad-hero-bg: radial-gradient(circle at 50% 0%, rgba(224, 242, 254, 0.8) 0%, rgba(243, 232, 255, 0.4) 40%, rgba(248, 250, 252, 0.9) 70%);
}

body {
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  line-height: 1.6;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(2, 132, 199, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 30%, rgba(124, 58, 237, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(16, 185, 129, 0.03) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Typography & Gradients */
.text-gradient-cyan {
  background: var(--grad-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-ai {
  background: var(--grad-ai);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-green {
  background: var(--grad-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0284c7;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: 50rem;
  margin-bottom: 1.25rem;
}
.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: #0284c7;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(2, 132, 199, 0.5);
}

/* Cards & Glassmorphism (Light Theme) */
.intelee-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.intelee-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0284c7, #2563eb, #7c3aed);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.intelee-card:hover {
  transform: translateY(-4px);
  border-color: #bae6fd;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09), 0 0 20px rgba(2, 132, 199, 0.08);
}
.intelee-card:hover::before {
  opacity: 1;
}

.intelee-card-accent {
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
  border: 1px solid #bae6fd;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.07);
}

/* Top Announcement Bar */
.top-announcement-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.82rem;
}
.hover-primary {
  transition: color 0.2s ease;
}
.hover-primary:hover {
  color: #0284c7 !important;
}

/* Header & Navigation */
.intelee-navbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #e2e8f0;
  padding: 0.65rem 0;
  z-index: 1050;
  transition: all 0.3s ease;
}
.intelee-navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: #cbd5e1;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}
.brand-logo-img {
  height: 38px;
  width: auto;
  display: block;
}

/* Nav Links & Items */
.navbar-nav {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}
.navbar-nav .nav-item {
  list-style: none !important;
  list-style-type: none !important;
}
.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155 !important;
  padding: 0.45rem 0.75rem !important;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav-link:hover {
  color: #0284c7 !important;
  background-color: #f0f7ff;
}
.nav-link.active {
  color: #0284c7 !important;
  background-color: #e0f2fe;
}
.nav-highlight-ai {
  color: #7c3aed !important;
  font-weight: 700;
  background: rgba(124, 58, 237, 0.06);
}
.nav-highlight-ai:hover {
  color: #6d28d9 !important;
  background-color: rgba(124, 58, 237, 0.12);
}
.nav-highlight-ai.active {
  color: #6d28d9 !important;
  background-color: #ede9fe;
}

/* Dropdown Menus */
.dropdown-menu {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0.5rem !important;
  margin: 0.25rem 0 0 !important;
  border-radius: 0.75rem !important;
  border: 1px solid #e2e8f0 !important;
  background-color: #ffffff !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1) !important;
  min-width: 220px;
  z-index: 1060;
}
.dropdown-menu li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.dropdown-item {
  font-size: 0.86rem;
  font-weight: 500;
  border-radius: 0.45rem;
  padding: 0.5rem 0.85rem;
  color: #334155;
  transition: all 0.15s ease;
  display: block;
}
.dropdown-item:hover, .dropdown-item:focus {
  background-color: #f0f7ff;
  color: #0284c7;
}
.dropdown-item.active {
  background-color: #e0f2fe;
  color: #0284c7;
  font-weight: 600;
}
.dropdown-item-desc {
  font-size: 0.75rem;
  color: #64748b;
  display: block;
  font-weight: 400;
  margin-top: 0.1rem;
}

/* Desktop Hover Dropdown */
@media (min-width: 992px) {
  .navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
    animation: navDropdownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
}
@keyframes navDropdownFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Toggler & Collapsed Menu */
.navbar-toggler {
  padding: 0.4rem 0.65rem;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  color: #0284c7;
  display: none;
}
@media (max-width: 991.98px) {
  .navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .navbar-collapse {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem;
    margin-top: 0.75rem;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
  }
  .navbar-collapse.collapse:not(.show) {
    display: none !important;
  }
  .navbar-collapse.collapse.show {
    display: block !important;
  }
  .navbar-nav {
    gap: 0.35rem;
  }
  .navbar-nav .nav-link {
    padding: 0.6rem 0.85rem !important;
    font-size: 0.92rem;
    width: 100%;
  }
  .dropdown-menu {
    position: static !important;
    box-shadow: none !important;
    border: 1px solid #f1f5f9 !important;
    background-color: #f8fafc !important;
    margin-top: 0.35rem !important;
    margin-bottom: 0.35rem !important;
    padding: 0.35rem !important;
  }
}

/* Hero Section (Light Gradient with Grid & Architectural Overlay) */
.hero-wrapper {
  position: relative;
  padding: 3.5rem 0 3rem;
  overflow: hidden;
  background-color: #f8fafc;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.06) 0%, transparent 45%),
    url('../images/grid-pattern.svg');
  background-size: auto, auto, 40px 40px;
  border-bottom: 1px solid #e2e8f0;
}
.hero-glow-bg {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 600px;
  background: radial-gradient(circle, rgba(224, 242, 254, 0.7) 0%, rgba(243, 232, 255, 0.35) 45%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.hero-visual-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid #bae6fd;
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 20px 40px -15px rgba(2, 132, 199, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  position: relative;
  overflow: hidden;
}
.hero-visual-card img {
  border-radius: 0.75rem;
  width: 100%;
  height: auto;
  display: block;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 50rem;
  font-size: 0.82rem;
  color: #334155;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}
.hero-headline {
  font-size: clamp(2rem, 3.5vw, 3.3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.15rem;
  color: #0f172a;
  letter-spacing: -0.03em;
}
.hero-lead {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Background Pattern Utilities */
.bg-tech-pattern {
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(2, 132, 199, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(124, 58, 237, 0.04) 0%, transparent 40%),
    url('../images/grid-pattern.svg');
  background-size: auto, auto, 40px 40px;
}
.bg-soft-gradient {
  background: linear-gradient(180deg, #f8fafc 0%, #f0f7ff 50%, #f8fafc 100%);
  background-image: url('../images/grid-pattern.svg'), linear-gradient(180deg, #f8fafc 0%, #f0f7ff 50%, #f8fafc 100%);
  background-size: 40px 40px, auto;
}
/* Lifecycle Stepper (Responsive Grid & No Scrollbar) */
.lifecycle-stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  overflow: visible !important;
  padding: 0;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.lifecycle-stepper::-webkit-scrollbar {
  display: none !important;
}

.lifecycle-step-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 0.75rem 0.9rem;
  border-radius: 0.85rem;
  color: #475569;
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  text-align: left;
  width: 100%;
}
.lifecycle-step-btn .step-num {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0f172a;
  transition: all 0.2s ease;
}
.lifecycle-step-btn:hover {
  border-color: #0284c7;
  color: #0284c7;
  background: #f0f9ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(2, 132, 199, 0.08);
}
.lifecycle-step-btn.active {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  border-color: #0284c7;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}
.lifecycle-step-btn.active .step-num {
  background: #ffffff;
  color: #0284c7;
}

@media (max-width: 991.98px) {
  .lifecycle-stepper {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
  .lifecycle-step-btn {
    padding: 0.65rem 0.75rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .lifecycle-stepper {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .lifecycle-step-btn {
    padding: 0.55rem 0.65rem;
    font-size: 0.78rem;
    gap: 0.4rem;
  }
  .lifecycle-step-btn .step-num {
    width: 22px;
    height: 22px;
    min-width: 22px;
    font-size: 0.7rem;
  }
}

/* Feature Icon Boxes (Light Theme) */
.icon-box {
  width: 50px;
  height: 50px;
  border-radius: 0.85rem;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0284c7;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}
.icon-box-purple {
  background: #f3e8ff;
  border-color: #e9d5ff;
  color: #7e22ce;
}
.icon-box-green {
  background: #dcfce7;
  border-color: #bbf7d0;
  color: #15803d;
}
.icon-box-gold {
  background: #fef3c7;
  border-color: #fde68a;
  color: #b45309;
}
.intelee-card:hover .icon-box {
  transform: scale(1.08);
}

/* Interactive Project Gateway Tool */
.gateway-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}
.gateway-step-pill {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 50rem;
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}
.gateway-step-pill.active {
  background: #e0f2fe;
  color: #0284c7;
  border-color: #0284c7;
}
.choice-card {
  border: 1px solid #e2e8f0;
  background: #ffffff;
  border-radius: 0.85rem;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  height: 100%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.choice-card:hover {
  background: #f0f9ff;
  border-color: #7dd3fc;
}
.choice-card.selected {
  background: #f0f9ff;
  border-color: #0284c7;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.15);
}

/* Stats Counter Pill */
.stat-pill {
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.stat-value {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Global Presence Location Cards */
.location-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.25rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.location-card:hover {
  border-color: #0284c7;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.1);
}
.location-flag {
  font-size: 1.4rem;
  margin-right: 0.5rem;
}

/* Section Background Themes */
.bg-light-surface {
  background-color: #ffffff;
}
.bg-soft-gradient {
  background: linear-gradient(180deg, #f8fafc 0%, #f0f7ff 100%);
}
.bg-subtle-mesh {
  background: radial-gradient(circle at 10% 10%, #e0f2fe 0%, #f8fafc 60%);
}

/* Footer (Pleasant High-Contrast Dark Slate) */
.intelee-footer {
  background: #0f172a;
  color: #94a3b8;
  border-top: 1px solid #1e293b;
  padding: 4.5rem 0 2.5rem;
  position: relative;
}
.intelee-footer .text-white {
  color: #ffffff !important;
}
.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.65rem;
}
.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: #38bdf8;
  text-decoration: none;
  padding-left: 4px;
}

/* Cross-links pill tags */
.cross-tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 0.4rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #334155;
  text-decoration: none;
  margin: 0.2rem;
  transition: all 0.2s ease;
}
.cross-tag:hover {
  background: #e0f2fe;
  border-color: #bae6fd;
  color: #0284c7;
  text-decoration: none;
}

/* Badge dots */
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}
.badge-dot.cyan { background-color: #0284c7; }
.badge-dot.green { background-color: #059669; }
.badge-dot.purple { background-color: #7c3aed; }
.badge-dot.orange, .badge-dot.gold { background-color: #d97706; }

/* ==========================================================================
   Project Gateway & Scoping Wizard
   ========================================================================== */
.gateway-box {
  background: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: 1.25rem;
  padding: 2.25rem;
  box-shadow: 0 16px 36px rgba(2, 132, 199, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

/* Step Indicator Pills */
.gateway-step-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}
.gateway-step-pill {
  padding: 0.45rem 0.95rem;
  border-radius: 50rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.gateway-step-pill.active {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  border-color: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}
.gateway-step-pill.completed {
  background: #e0f2fe;
  border-color: #bae6fd;
  color: #0284c7;
}

/* Choice Cards */
.choice-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 0.95rem;
  padding: 1.15rem;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}
.choice-card:hover {
  border-color: #38bdf8;
  background-color: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.08);
}
.choice-card.selected {
  border-color: #0284c7 !important;
  background: linear-gradient(145deg, #ffffff 0%, #f0f9ff 100%) !important;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.14) !important;
}
.choice-card.selected::after {
  content: "✓";
  position: absolute;
  top: 10px;
  right: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.choice-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
  padding-right: 1.25rem;
}
.choice-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0;
  line-height: 1.25;
}
.choice-card-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 50rem;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.choice-card-desc {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 0;
  flex-grow: 1;
}

/* Custom Range Slider */
.form-range {
  height: 1.5rem;
}
.form-range::-webkit-slider-thumb {
  background: #0284c7;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  cursor: pointer;
}
.form-range::-webkit-slider-runnable-track {
  background: #e2e8f0;
  height: 0.5rem;
  border-radius: 1rem;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .hero-headline { font-size: 2.1rem; }
  .intelee-card { padding: 1.5rem; }
  .gateway-box { padding: 1.5rem; }
}

/* Page-specific banner illustrations retain their complete diagrams on every screen. */
.page-banner-visual {
  z-index: 1;
  margin-top: 2rem;
}
.page-banner-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}
@media (max-width: 575.98px) {
  .page-banner-visual { margin-top: 1.25rem; }
  .page-banner-image { border-radius: 0.75rem; }
}
/* Shared, restrained motion across every page. */
.motion-reveal {
  transition: opacity 650ms ease, transform 650ms cubic-bezier(.2,.65,.3,1);
}
.motion-pending {
  opacity: 0;
  transform: translateY(22px);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-glow-bg { animation: hero-atmosphere 9s ease-in-out infinite alternate; }
  .btn { transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease; }
  @media (hover: hover) {
    .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(2,132,199,.14); }
    .page-banner-image { transition: box-shadow 300ms ease; }
    .page-banner-image:hover { box-shadow: 0 18px 40px rgba(2,132,199,.14); }
  }
}
@keyframes hero-atmosphere {
  from { opacity: .55; transform: translateX(-50%) scale(1); }
  to { opacity: .95; transform: translateX(-48%) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .motion-pending { opacity: 1; transform: none; }
}
@media print {
  .motion-pending { opacity: 1; transform: none; }
}

.banner-photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: #0f172a;
  box-shadow: 0 14px 38px rgba(15,23,42,.13);
}
.banner-photo {
  display: block;
  width: 100%;
  height: clamp(240px, 32vw, 420px);
  object-fit: cover;
  object-position: center 45%;
}
.banner-photo-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 2.5rem 1.5rem 1.2rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  color: #fff;
  text-align: left;
  font-weight: 600;
  background: linear-gradient(transparent, rgba(2,6,23,.88));
}
.banner-photo-credit { font-size: .7rem; font-weight: 400; }
.banner-diagram { margin-top: .85rem; text-align: left; }
.banner-diagram summary { color: #0369a1; cursor: pointer; font-size: .85rem; padding: .5rem 0; }
.banner-diagram[open] summary { margin-bottom: .75rem; }
@media (max-width: 575.98px) {
  .banner-photo-caption { flex-direction: column; align-items: start; gap: .25rem; padding: 2rem 1rem 1rem; }
}

.contact-details svg { width: 42px; height: 42px; color: #1677ff; }
.contact-details { padding: 2rem 0; background: #fff; border-radius: 1rem; }
.contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#contact-form { scroll-margin-top: 110px; }
