@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Variables & Design System --- */
:root {
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Base Color Tokens */
  --color-dark: #000a1d;
  --color-dark-surface: #050f24;
  --color-light: #f4f7fc;
  --color-light-surface: #ffffff;
  --color-white: #ffffff;
  --color-muted: #8c9bb4;
  --color-accent-default: rgba(52, 130, 255, 0.85);

  /* Default Active Theme Values (Will be overridden by page-specific themes) */
  --theme-primary: #021637;
  --theme-secondary: #012579;
  --theme-accent: #003dd6;
  --theme-accent-rgb: 0, 61, 214;
  --theme-bg-gradient: linear-gradient(135deg, #021637 0%, #000a1d 100%);
  --theme-card-bg: rgba(5, 15, 36, 0.7);
  --theme-card-border: rgba(255, 255, 255, 0.08);
  --theme-text: #f4f7fc;
  --theme-text-muted: #8c9bb4;
  --theme-glow: 0 0 20px rgba(0, 61, 214, 0.15);

  /* Transition & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 24px;
  --shadow-premium: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --shadow-inset: inset 0 2px 4px 0 rgba(255, 255, 255, 0.06);

  /* About Us */

  --primary-color: #0f172a;
  /* Deep Slate / Dark Theme Base */
  --accent-color: #2563eb;
  /* Tech Blue Accent */
  --text-main: #334155;
  /* Charcoal Body Text */
  --text-light: #64748b;
  /* Muted Text */
  --bg-light: #ffffff;
  /* White background */
  --bg-alt: #f8fafc;
  /* Soft gray background */
}

@keyframes pulse-dot {

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

  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

.hero-stat .stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}

.hero-stat .stat-label {
  font-size: 0.8rem;
  color: #8c9bb4;
}

/* -- Hero right side graphic -- */
.hero-visual {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

/* Products Page */

.product-hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.product-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f4f7fc 0%, #e0ecff 100%);
  z-index: 0;
}

.product-hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* --  Products Grid -- */
.spec-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.spec-intro h2 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.spec-intro p {
  color: rgba(52, 130, 255, 0.85);
  font-size: 1.05rem;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.spec-card {
  background: rgba(4, 10, 28, 0.94);
  border: 1px solid rgba(255, 255, 255, 0);
  border-radius: 16px;
  padding: 24px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Always align core text groups from the base */
  min-height: 280px;
  --card-accent: rgba(52, 130, 255, 1);
}



/* Permanent bottom gradient layer */
.spec-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 68%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  z-index: 2;
}

/* Bluish color accent overlay — floods in smoothly on hover */
.spec-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      var(--card-accent)0%,
      rgba(5, 10, 35, 0.95) 100%);
  opacity: 0;
  z-index: 3;
  transition: opacity 0.4s ease;
}

.spec-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.14);
}

.spec-card:hover::after {
  opacity: 0.92;
}


/* Title Element Layout rules */
.spec-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #f4f7fc;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 5;
  line-height: 1.3;
}

/* Description Element — Fully hidden state by default */
.spec-desc {
  font-size: 0.85rem;
  color: rgba(244, 247, 252, 0.85);
  line-height: 1.55;
  padding: 0;
  position: relative;
  z-index: 5;
  margin: 0;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: opacity 0.35s ease, max-height 0.35s ease, margin-top 0.35s ease;
}

/* Expands open flawlessly right under the title when hovered */
.spec-card:hover .spec-desc {
  opacity: 1;
  max-height: 100px;
  margin-top: 10px;
}

/* -- Why Astralinx Section -- */
.why-section {
  background: rgba(1, 17, 50, 1);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.why-item {
  text-align: center;
}

.why-num {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #003dd6;
  display: block;
  margin-bottom: 8px;
}

.why-label {
  font-size: 0.95rem;
  color: #8c9bb4;
}

/* -- CTA Banner -- */
.cta-banner {
  background: linear-gradient(135deg, #003dd6 0%, #012579 100%);
  border-radius: 16px;
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/ASLX-Assets/Background/bg2.jpg') center/cover no-repeat;
  opacity: 0.05;
}

.cta-banner h2 {
  font-size: 2.4rem;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 32px;
  position: relative;
}

/* -- Animate on scroll -- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

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

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

  .hero-visual {
    display: none;
  }

  .cta-banner {
    padding: 40px 24px;
  }
}

/* ---- Intro Animation ---- */
.intro-container {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url('assets/ASLX-Assets/Background/bg2.jpg') no-repeat center center;
  background-size: cover;
  animation: zoomBackground 6s ease-out forwards;
}

.logo-wrapper {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 72px;
}

.logo-img {
  width: 100%;
  height: auto;
  opacity: 0;
  filter: blur(10px) drop-shadow(0 0 15px rgba(0, 162, 255, 0.6));
  transform: scale(0.9);
  animation: revealLogo 1.5s cubic-bezier(0.25, 1, 0.5, 1) 0.8s forwards;
}

.intro-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: revealLogo 1.5s cubic-bezier(0.25, 1, 0.5, 1) 0.8s forwards;
}

.intro-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: revealLogo 1.5s cubic-bezier(0.25, 1, 0.5, 1) 0.8s forwards;
}

@keyframes zoomBackground {
  0% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1.0);
  }
}

@keyframes revealLogo {
  0% {
    opacity: 0;
    filter: blur(15px) drop-shadow(0 0 20px rgba(0, 162, 255, 0));
    transform: scale(0.9);
  }

  50% {
    opacity: 0.8;
    filter: blur(5px) drop-shadow(0 0 25px rgba(255, 255, 255, 0.8));
  }

  100% {
    opacity: 1;
    filter: blur(0px) drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 10px rgba(100, 180, 255, 0.3));
    transform: scale(1.0);
  }
}

@keyframes ambientGlow {
  0% {
    opacity: 0.2;
  }

  100% {
    opacity: 0.5;
  }
}

/* Landing Page (01) */
body.theme-landing {
  --theme-primary: rgba(255, 255, 255, 0.85);
  --theme-accent: #011039;
  --theme-accent-header: rgba(52, 130, 255, 0.85);
  --theme-accent-rgb: 0, 61, 214;
  --theme-bg-gradient: rgba(255, 255, 255, 0.85);
  --theme-card-bg: rgba(5, 19, 48, 0.75);
  --theme-text: #f4f7fc;
}

/* ══ About Section (index.html) ══ */
.about-section {
  background: #00040d;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* --- Text Side --- */
.about-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-heading {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #f4f7fc;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.about-accent {
  background: linear-gradient(90deg, #3480ff, #6b9eff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-body {
  font-size: 1rem;
  color: #8c9bb4;
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-checklist {
  list-style: none;
  padding: 0;
  margin: 8px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #c5d0e0;
  font-weight: 500;
}

.about-checklist li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: rgba(52, 130, 255, 0.15);
  border: 1px solid rgba(52, 130, 255, 0.35);
  border-radius: 50%;
  color: #3480ff;
  font-size: 0.7rem;
  font-weight: 800;
}

.about-cta {
  align-self: flex-start;
  margin-top: 4px;
}

/* --- Image Panel Side --- */
.about-image-panel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image-panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65);
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.about-image-panel:hover .about-img {
  transform: scale(1.04);
}

.about-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      transparent 40%,
      rgba(0, 4, 13, 0.65) 100%);
  pointer-events: none;
}

/* Floating badge pinned to bottom-left of image panel */
.about-img-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 5;
  background: rgba(52, 130, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(52, 130, 255, 0.35);
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.badge-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.badge-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Responsive */
@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-panel {
    aspect-ratio: 16 / 9;
  }
}

.product-img {
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  width: 100%;
  z-index: 1;
  opacity: 0.55;
  transition: opacity 0.4s ease;
}

.spec-card:hover .product-img {
  opacity: 0.25;
}

/* Partners Page - Light Premium Theme */
body.theme-partners {
  --theme-primary: #ffffff;
  --theme-accent: #011039;
  --theme-accent-header: rgba(52, 130, 255, 0.85);
  --theme-accent-rgb: 1, 16, 45;
  --theme-bg-gradient: linear-gradient(135deg, #ffffff 0%, #f4f7fc 100%);
  --theme-card-bg: rgba(255, 255, 255, 0.95);
  --theme-card-border: rgba(0, 0, 0, 0.06);
  --theme-text: #0d1a2d;
  --theme-text-muted: #5e6b7d;
  --theme-glow: 0 4px 20px rgba(1, 16, 45, 0.05);
}

/* Contact Page - Light Premium Theme */
body.theme-contact {
  --theme-primary: #ffffff;
  --theme-accent: #011039;
  --theme-accent-rgb: 1, 16, 57;
  --theme-bg-gradient: linear-gradient(135deg, #ffffff 0%, #ddeafd 100%);
  --theme-card-bg: rgba(255, 255, 255, 0.9);
  --theme-card-border: rgba(0, 0, 0, 0.06);
  --theme-text: #0d1a2d;
  --theme-text-muted: #5e6b7d;
  --theme-glow: 0 4px 20px rgba(1, 16, 57, 0.05);
}

/* --- Global Reset & Scrollbar --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--color-light);
  color: var(--color-light-surface);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  transition: background var(--transition-slow), color var(--transition-slow);
}

/* Custom Webkit Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-dark);
}

::-webkit-scrollbar-thumb {
  background: #003dd6;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--theme-secondary);
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  color: var(--theme-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

p {
  margin-bottom: 1.5rem;
}

/* --- Shared Layout Containers --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* --- Premium Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--border-radius-sm);
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: rgba(52, 130, 255, 0.85);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(var(--theme-accent-rgb), 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--theme-accent-rgb), 0.5);
  background: var(--theme-secondary);
}

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

.btn-secondary:hover {
  background: rgba(var(--theme-accent-rgb), 0.1);
  transform: translateY(-2px);
}

/* --- Why-Section Theme (Reusable) --- */
.why-section,
.partners-section {
  background: var(--theme-accent);


}

/* --- Navigation Styles (Injected dynamically) --- */
header.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: padding var(--transition-normal), background var(--transition-normal);
  padding: 20px 0;
}

header.header-nav.shrunk {
  padding: 10px 0;
  background: rgba(52, 130, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Header with background for non-landing pages */
header.header-nav.header-with-bg {
  background: rgba(52, 130, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}


body.theme-partners header.header-nav.shrunk,
body.theme-contact header.header-nav.shrunk {
  background: rgba(52, 130, 255, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--theme-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo span {
  color: var(--theme-accent);
}

/* Hide logo on landing page but maintain layout space */
body.theme-landing .nav-logo {
  visibility: hidden;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--color-light);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #012579;
  transition: width var(--transition-fast);
}

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

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--theme-text);
  margin-bottom: 5px;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.nav-toggle span:last-child {
  margin-bottom: 0;
}

/* Toggle menu open classes */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Side Overlay Menu for Mobile & Site Map */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100vh;
  background: rgba(0, 10, 29, 0.98);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 120px 48px 48px;
  overflow-y: auto;
  transition: left var(--transition-normal);
}


body.theme-partners .nav-overlay,
body.theme-contact .nav-overlay {
  background: rgba(244, 247, 252, 0.98);
}

.nav-overlay.open {
  left: 0;
}

.nav-overlay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.nav-overlay-group h4 {
  font-size: 1.1rem;
  color: var(--theme-accent);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-overlay-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-overlay-group a {
  color: var(--theme-text);
  font-size: 0.9rem;
  transition: padding var(--transition-fast), color var(--transition-fast);
}

.nav-overlay-group a:hover {
  color: var(--theme-accent);
  padding-left: 6px;
}

/* --- Card Styles (Glassmorphism) --- */
.card {
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: var(--border-radius-md);
  padding: 32px;
  box-shadow: var(--shadow-premium), var(--shadow-inset);
  backdrop-filter: blur(12px);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border var(--transition-normal);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--theme-accent-rgb), 0.3);
  box-shadow: var(--shadow-premium), var(--theme-glow);
}

/* --- Hero Section Styles --- */
.hero {
  position: relative;
  padding: 160px 0 100px;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-stat {
  background: rgba(0, 0, 0, 0.033);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 22px;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(var(--theme-accent-rgb), 0.05) 0%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 650px;
}

.hero-pretitle {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--theme-accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 800;
}

/* --- Adjacent Venture Navigation --- */
.venture-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 48px 0;
  border-top: 1px solid var(--theme-card-border);
  margin-top: 60px;
}

.venture-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.venture-nav-link .nav-dir {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--theme-text-muted);
}

.venture-nav-link .nav-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--theme-text);
  transition: color var(--transition-fast);
}

.venture-nav-link:hover .nav-name {
  color: var(--theme-accent);
}

.venture-nav-link.next {
  text-align: right;
}

/* --- Footer Styles --- */

footer.site-footer {
  background: #00040c;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0 16px;
  color: #8c9bb4;
  font-size: 0.82rem;
}


body.theme-partners footer.site-footer,
body.theme-contact footer.site-footer {
  background: #0b1320;
  color: #a0aec0;
}

.social-icon-foot {
  width: 32px;
  /* Increased slightly from 28px to give images room */
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
  overflow: hidden;
  /* Keeps everything perfectly bounded inside the circle */
  padding: 6px;
  /* Adds a subtle frame edge so your logo doesn't touch the border */
}

.social-icon-foot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Prevents stretching and ensures exact circular scaling */
  display: block;
}

.social-icon-foot:hover {
  transform: translateY(-2px);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
  /* Eliminates the blocky space between partner header and tagline */
  margin-bottom: 16px;
}

.footer-info h3 {
  color: var(--color-white);
  margin-bottom: 0 !important;
  /* Tighter heading gap */
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
  margin-top: 0 !important;
  width: 100%;
}

.social-links {
  display: flex;
  gap: 8px;
}

.social-icon {
  width: 28px;
  /* Tighter social link circle size */
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem !important;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.social-icon:hover {
  background: var(--theme-accent);
  color: var(--color-white);
}

.copyright {
  margin: 0;
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.4;
  text-align: right;
}

.partner-tag {
  background: rgba(var(--theme-accent-rgb), 0.05);
  color: var(--theme-text);
  border: 1px solid rgba(var(--theme-accent-rgb), 0.12);
  padding: 6px 12px;
  font-size: 0.85rem;
  border-radius: 20px;
  font-weight: 500;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.partner-tag:hover {
  background: rgba(var(--theme-accent-rgb), 0.15);
  border-color: rgba(var(--theme-accent-rgb), 0.3);
}

/* --- Contact & Forms Styles --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info-item {
  display: flex;
  gap: 20px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-sm);
  background: rgba(var(--theme-accent-rgb), 0.08);
  color: var(--theme-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-text h4 {
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.contact-info-text p {
  margin: 0;
  color: var(--theme-text-muted);
}

.form-feedback {
  margin-top: 16px;
  padding: 12px;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(0, 170, 108, 0.15);
  color: #00aa6c;
  border: 1px solid rgba(0, 170, 108, 0.3);
}

.form-feedback.error {
  display: block;
  background: rgba(229, 9, 20, 0.15);
  color: #e50914;
  border: 1px solid rgba(229, 9, 20, 0.3);
}

/* --- Responsive Layout --- */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    /* Hide primary horizontal menu on mobile */
  }

  .nav-overlay-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

  .section {
    padding: 60px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  footer.site-footer {
    padding: 20px 0 16px;
  }

  .footer-bottom {
    flex-direction: column;
    /* Transitions beautifully on tablets/phones */
    gap: 12px;
    text-align: center;
  }

  .copyright {
    text-align: center;
  }
}


/* Product Styles */
.partners-hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.partners-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f4f7fc 0%, #e0ecff 100%);
  z-index: 0;
}

.partners-hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: none;
}

/* Filter bar */
.partner-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.partner-tag.filter-btn {
  cursor: pointer;
  user-select: none;
  border: 1px solid rgba(var(--theme-accent-rgb), 0.12);
}

.partner-tag.filter-btn.active {
  background: var(--theme-accent);
  color: #fff;
  border-color: var(--theme-accent);
}

/* Logo grid */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.partner-logo-card {
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-premium);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  padding: 20px;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  object-fit: contain;
}

.partner-logo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--theme-accent-rgb), 0.3);
  box-shadow: var(--shadow-premium), var(--theme-glow);
}

.partner-logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(0%);
}

.partner-logo-fallback {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--theme-text);
  text-align: center;
}

.partner-logo-card.hidden {
  display: none;
}

.no-results-msg {
  text-align: center;
  color: var(--theme-text-muted);
  padding: 40px 0;
  display: none;
}

.no-results-msg.visible {
  display: block;
}

@media (max-width: 1024px) {
  .logo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .partner-logo-card {
    height: 100px;
  }
}



/* Products Theme */

/* ── Page-level light theme styles & overrides ── */

body.theme-venture-01 {
  background: #f8fafc;
  color: #334155;
}

/* ── Hero Section (MODIFIED: Bluish Inverted Theme) ── */
.p-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(13, 82, 255, 1), rgba(52, 130, 255, 0.85));
}

.p-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 50%, rgba(52, 130, 255, 0.15) 0%, transparent 65%),
    linear-gradient(180deg, rgba(2, 22, 55, 0.2) 0%, #012579 100%);
  z-index: 1;
}

/* Animated grid lines */
.p-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.p-hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

@keyframes pulse-dot {

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

  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

.p-hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: #ffffff;
  margin-bottom: 24px;
}

.p-hero-title .accent {
  background: linear-gradient(90deg, #6b9eff, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.p-hero-sub {
  font-size: 1.15rem;
  color: #cdd7e8;
  line-height: 1.7;
  margin-bottom: 44px;
  max-width: 520px;
}

.p-hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Hero stat pills */
.p-stat-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.p-stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 22px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.p-stat:hover {
  border-color: rgba(52, 130, 255, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(52, 130, 255, 0.15);
}

.p-stat .s-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  display: block;
}

.p-stat .s-label {
  font-size: 0.78rem;
  color: #8c9bb4;
  letter-spacing: 0.5px;
}

/* Hero right visual */
.p-hero-visual {
  position: absolute;
  right: 0;
  top: 0;
  width: 48%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.p-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  mask-image: linear-gradient(to right, transparent 0%, black 35%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 35%);
}

/* ── Feature strip (MODIFIED: Bluish Inverted Theme) ── */
.p-strip {
  background: rgba(1, 37, 121, 1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.p-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.p-strip-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.p-strip-item:last-child {
  border-right: none;
}

.p-strip-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(52, 130, 255, 0%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.4rem;
}

.p-strip-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: #ffffff;
  line-height: 1.3;
}

.p-strip-sublabel {
  font-size: 0.78rem;
  color: #8c9bb4;
  margin-top: 2px;
}

/* ── Overview Section (UNTOUCHED: Original Layout) ── */
.p-overview {
  background: #f8fafc;
}

.p-overview-text .tag {
  display: inline-block;
  background: rgba(13, 82, 255, 0.06);
  color: #0d52ff;
  border: 1px solid rgba(13, 82, 255, 0.18);
  padding: 4px 14px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.p-overview-text h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  color: #0f172a;
  margin-bottom: 20px;
  line-height: 1.2;
}

.p-overview-text p {
  color: #475569;
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 20px;
}

.p-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.p-check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #334155;
}

.p-check-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(13, 82, 255, 0.06);
  border: 1.5px solid #0d52ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%230d52ff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Image block */
.p-img-block {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px #e2e8f0;
  aspect-ratio: 4/3;
}

.p-img-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.p-img-block:hover img {
  transform: scale(1.04);
}

/* Floating info tag on image */
.p-img-tag {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 18px;
  backdrop-filter: blur(12px);
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.p-img-tag .it-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: #0f172a;
}

.p-img-tag .it-sub {
  font-size: 0.72rem;
  color: #0d52ff;
  margin-top: 2px;
}

/* ── Solutions Grid Section (MODIFIED: Blue Background Theme) ── */
.p-solutions {
  background: rgba(13, 82, 255, 1);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.p-section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 60px;
}

.p-solutions .p-section-header .tag {
  display: inline-block;
  background: rgba(52, 130, 255, 0.15);
  color: #6b9eff;
  border: 1px solid rgba(52, 130, 255, 0.3);
  padding: 4px 14px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.p-solutions .p-section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #ffffff;
  margin-bottom: 16px;
}

.p-solutions .p-section-header p {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

/* Solution cards */
.p-sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.p-sol-card {
  background: rgba(5, 15, 36, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.p-sol-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(52, 130, 255, 0.3);
  border-color: rgba(52, 130, 255, 0.4);
}

.p-sol-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  opacity: 0.85;
  transition: transform 0.5s ease;
}

.p-sol-body {
  padding: 24px;
}

.p-sol-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.p-sol-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.p-sol-desc {
  font-size: 0.875rem;
  color: #8c9bb4;
  line-height: 1.6;
  margin: 0;
}

/* ── Key Features Section (UNTOUCHED: Original Layout) ── */
.p-features {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.p-feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.p-feat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.p-feat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(13, 82, 255, 0.25);
  box-shadow: 0 16px 36px rgba(13, 82, 255, 0.06);
}

.p-feat-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: #f0f4ff;
  border: 1px solid rgba(13, 82, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 20px;
}

.p-feat-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.p-feat-desc {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* ── Use Cases Section (MODIFIED: Blue Background Theme) ── */
.p-usecases {
  background: rgba(13, 82, 255, 1);
  ;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.p-usecases .p-section-header .tag {
  display: inline-block;
  background: rgba(52, 130, 255, 0.15);
  color: #6b9eff;
  border: 1px solid rgba(52, 130, 255, 0.3);
  padding: 4px 14px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.p-usecases .p-section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #ffffff;
  margin-bottom: 16px;
}

.p-usecases .p-section-header p {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

.p-uc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.p-uc-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  cursor: default;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.35s ease;
}

.p-uc-card:hover {
  transform: translateY(-4px);
}

.p-uc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 15, 36, 0.1) 0%, rgba(5, 15, 36, 0.9) 100%);
  z-index: 1;
}

.p-uc-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.5s ease;
}

.p-uc-card:hover .p-uc-bg {
  transform: scale(1.04);
}

/* Accent color bar per-card */
.p-uc-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #3482ff, #6b9eff);
  z-index: 3;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.p-uc-card:hover::after {
  transform: scaleX(1);
}

.p-uc-body {
  position: relative;
  z-index: 2;
  padding: 24px;
}

.p-uc-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
  display: block;
}

.p-uc-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  margin: 0;
}

/* ── Tech Partners Section (UNTOUCHED: Original Layout) ── */
.p-brands {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.p-brand-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
}

.p-brand-pill {
  background: #ffffff;
  border: 1px solid #6b9eff;
  padding: 6px 10px;
  border-radius: 6px;
  height: 44.4px;
  width: 92.16px;
  object-fit: contain;
}

.p-brand-pill:hover {
  transform: translateY(-4px);
  border-color: rgba(var(rgb(244 247 252 1)), 0.3);
  box-shadow: var(--shadow-premium), var(--theme-glow);
}

/* ── CTA Banner   ── */
.p-cta {
  background: #ffffff;
}

.p-cta-inner {
  background: linear-gradient(135deg, #012579 0%, #000a1d 100%);
  border-radius: 24px;
  padding: 72px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(1, 37, 121, 0.15);
}

.p-cta-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #ffffff;
  margin-bottom: 16px;
  position: relative;
}

.p-cta-inner p {
  color: #8c9bb4;
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.p-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ── Venture Footer Navigation   ── */
.p-venture-nav-section {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

/* ── Responsive Styling ── */
@media (max-width: 1024px) {
  .p-feat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-sol-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .p-strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-strip-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .p-strip-item:nth-child(2n) {
    border-right: none;
  }

  .p-sol-grid {
    grid-template-columns: 1fr;
  }

  .p-feat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-uc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-cta-inner {
    padding: 48px 24px;
  }

  .grid-2 {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

@media (max-width: 480px) {
  .p-strip-inner {
    grid-template-columns: 1fr;
  }

  .p-feat-grid {
    grid-template-columns: 1fr;
  }

  .p-uc-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Navigation Download Dropdown Styles --- */
.nav-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

/* Caret icon formatting */
.dropdown-caret {
  font-size: 0.65rem;
  margin-left: 6px;
  transition: transform var(--transition-fast);
  display: inline-block;
  vertical-align: middle;
}

/* Concrete styling for the new list container */
.download-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 12px;
  background: #050f24;
  /* Matches var(--color-dark-surface) */
  border: 1px solid rgba(255, 255, 255, 0.08);
  /* Matches var(--theme-card-border) */
  border-radius: var(--border-radius-sm);
  list-style: none;
  padding: 8px 0;
  min-width: 180px;
  box-shadow: var(--shadow-premium);
  backdrop-filter: blur(12px);

  /* Smooth opacity transitions instead of sudden display toggling */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 1010;
}

/* Dropdown target links architecture */
.download-dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #f4f7fc;
  /* Matches var(--color-light) */
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background var(--transition-fast), color var(--transition-fast);
  text-align: left;
}

/* Interactive link hovering states */
.download-dropdown-menu li a:hover {
  background: rgba(52, 130, 255, 0.15);
  /* Tint of accent highlight */
  color: #6b9eff;
}

/* Active Hover & Click mechanism on parent item */
.nav-dropdown-wrapper:hover .download-dropdown-menu,
.nav-dropdown-wrapper.is-open .download-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Rotates caret when active or hovered */
.nav-dropdown-wrapper:hover .dropdown-caret,
.nav-dropdown-wrapper.is-open .dropdown-caret {
  transform: rotate(180deg);
}

/* Invisible structural safety bridge to prevent dropdown from closing prematurely */
.download-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 15px;
}

/* --- Mobile Nav Overlay Specific Dropdown Layout --- */
.nav-overlay .nav-dropdown-wrapper {
  display: block;
  width: 100%;
  margin-top: 6px;
}

.nav-overlay .nav-dropdown-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  background: var(--theme-accent);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-overlay .nav-dropdown-trigger:hover,
.nav-overlay .nav-dropdown-trigger:focus-visible {
  background: var(--theme-secondary, #012579);
}

.nav-overlay .download-dropdown-menu {
  position: static;
  top: auto;
  right: auto;
  margin-top: 8px;
  width: 100%;
  box-shadow: none;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: var(--border-radius-sm);
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  transform: none;
  transition: max-height var(--transition-normal), opacity var(--transition-fast), visibility var(--transition-fast), padding var(--transition-fast);
  padding: 0;
}

.nav-overlay .download-dropdown-menu::before {
  display: none;
}

.nav-overlay .nav-dropdown-wrapper.is-open .download-dropdown-menu,
.nav-overlay .nav-dropdown-wrapper:hover .download-dropdown-menu {
  opacity: 1;
  visibility: visible;
  max-height: 200px;
  padding: 6px 0;
}

.nav-overlay .download-dropdown-menu li a {
  padding: 10px 20px;
  font-size: 0.88rem;
  color: var(--theme-text);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: padding var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.nav-overlay .download-dropdown-menu li a:hover {
  color: var(--theme-accent-header, var(--theme-accent));
  background: rgba(var(--theme-accent-rgb), 0.12);
  padding-left: 24px;
}