:root {
  /* Premium Dark Theme Palette */
  --color-bg: #030712;
  /* Deepest Navy (almost black) */
  --color-surface: #0f172a;
  /* Slate 900 */
  --color-surface-glass: rgba(15, 23, 42, 0.7);

  --text-primary: #f8fafc;
  /* Slate 50 */
  --text-secondary: #94a3b8;
  /* Slate 400 */
  --text-muted: #64748b;
  /* Slate 500 */

  /* Accents */
  --accent-blue: #38bdf8;
  /* Sky 400 - Electric Blue */
  --accent-cyan: #22d3ee;
  /* Cyan 400 */
  --accent-indigo: #818cf8;
  /* Indigo 400 */
  --accent-glow: rgba(56, 189, 248, 0.5);

  /* Banking Pastel Palette */
  --banking-blue: #3ca4ec;
  --banking-pink: #fc86ae;
  --banking-teal: #1db5c3;
  --banking-slate: #64a4a4;
  --banking-mint: #95c4c1;
  --banking-dark: #3c445c;

  /* Fresh Palette (Aliased to Banking for now or kept for legacy if needed) */
  --fresh-blue: var(--banking-blue);
  --fresh-pink: var(--banking-pink);

  --font-primary: 'Outfit', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;

  --spacing-container: 2rem;
  --max-width: 1240px;
  /* Slightly wider for modern feel */

  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  color: var(--text-primary);
  background-color: var(--color-bg);
  line-height: 1.7;
  /* Increased for readability */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Vignette Glow Effect */
/* Vignette Glow Effect - Refined */
.glow-vignette {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.05) 0%, transparent 60%),
    radial-gradient(circle at 85% 90%, rgba(129, 140, 248, 0.04) 0%, transparent 50%);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-container);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 2rem 0;
  z-index: 1000;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled {
  background: rgba(3, 7, 18, 0.85);
  /* Dark glass */
  backdrop-filter: blur(12px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled .logo-link {
  color: #fff;
}

.header.scrolled .company-name {
  color: #fff;
}

.header.scrolled .logo-img {
  filter: none;
  /* Keep original logo */
}

.header.scrolled .nav-link {
  color: var(--text-primary);
}

.header.scrolled .nav-link:hover {
  color: var(--accent-blue);
}

/* Introduction Section */
.intro-section {
  padding: 8rem 0;
  background: var(--color-bg);
  position: relative;
  text-align: center;
}

.intro-heading {
  font-family: var(--font-secondary);
  font-size: clamp(2rem, 5vw, 3.5rem);
  /* Responsive sizing */
  font-weight: 600;
  margin-bottom: 2.5rem;
  max-width: 1000px;
  margin-inline: auto;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -0.02em;
}

.intro-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.25rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.8;
}

/* Values Grid */
.values-section {
  padding: 8rem 0;
  background: #060b19;
  /* Slightly lighter than bg */
  position: relative;
  overflow: hidden;
}

.values-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

.section-title {
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 2rem;
  margin-bottom: 4rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* Force 4 columns for desktop to match connecting logic */
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.value-card {
  background: rgba(255, 255, 255, 0.02);
  border: var(--glass-border);
  border-radius: 4px;
  /* Tech feel */
  padding: 2.5rem 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  backdrop-filter: blur(10px);
}

.value-card.down-shifted {
  transform: translateY(30px);
  /* Permanent shift for staggered layout */
}

/* Dynamic SVG Overlay Styles */
.connections-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.dynamic-connection-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.4);
  stroke-width: 1px;
  stroke-dasharray: 6, 6;
  opacity: 0.8;
  transition: d 0.3s ease;
  /* Smooth path transitions if needed */
}

/* Hover effects */
.value-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-blue);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  z-index: 10;
  /* Bring to front */
}

.value-card.down-shifted:hover {
  transform: translateY(25px);
  /* 30px - 5px */
}

/* Internal bottom glow */
.value-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
  transform: scaleX(0);
  transition: transform 0.5s ease;
  transform-origin: left;
}

.value-card:hover::before {
  transform: scaleX(1);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.tag-number {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  color: var(--accent-blue);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.card-icon-small {
  width: 6px;
  height: 6px;
  background-color: var(--accent-pink);
  opacity: 0.8;
  box-shadow: 0 0 5px var(--accent-pink);
}

.value-title {
  font-family: var(--font-secondary);
  font-size: 1.75rem;
  font-weight: 300;
  margin-bottom: 2rem;
  color: #fff;
  line-height: 1.2;
}

.card-separator {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent);
  margin-bottom: 1.5rem;
  margin-top: auto;
  /* Push to bottom of header section if needed */
}

.value-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-weight: 300;
}

/* Responsive adjustment for grid lines */
@media (max-width: 900px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Hide connecting lines on mobile/tablet where alignment changes */
  .value-card::after {
    display: none;
  }

  .value-card.down-shifted {
    transform: none;
  }

  .value-card.down-shifted:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 600px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* Services */
.services-section {
  padding: 6rem 0;
  background: var(--color-bg);
}

/* CEO Message */
.ceo-section {
  padding: 8rem 0;
  background: #020617;
  /* Darker than main bg for contrast */
  text-align: center;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ceo-quote {
  font-size: 1.5rem;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: var(--text-primary);
  font-family: var(--font-secondary);
  line-height: 1.6;
}

.ceo-name {
  font-weight: 700;
  color: var(--accent-blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-img {
  height: 48px;
  width: auto;
}

.company-name {
  font-family: var(--font-secondary);
  /* Montserrat is closer to the geometric sans */
  font-weight: 600;
  /* Semi-bold */
  font-size: 1.5rem;
  /* Adjusted for balance */
  letter-spacing: 0.05em;
  text-transform: uppercase;
  /*color: #fff;*/
  color: #fff;
}

.nav {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  text-decoration: none;
  color: #fff;
  /* Default to white for nav */
  font-weight: 400;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link.active,
.nav-link:hover {
  /*font-weight: 600;*/
  color: #f2f2f2;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-pink));
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Dropdown */
.nav-item-dropdown {
  position: relative;
  display: inline-block;
  height: 100%;
}

.nav-item-dropdown .nav-link {
  height: 100%;
  border-bottom: 2px solid transparent;
  /* Align with other links */
}

.dropdown-arrow {
  font-size: 0.8em;
  margin-left: 4px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 200px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  padding: 1rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 1000;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu a {
  display: block;
  padding: 0.8rem 1.5rem;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  transition: background 0.2s;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-blue);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  /* Make it substantial */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
  /* White text on video */
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Cinematic gradient */
  background: linear-gradient(to bottom,
      rgba(3, 7, 18, 0.3) 0%,
      rgba(3, 7, 18, 0.6) 50%,
      var(--color-bg) 100%);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-family: var(--font-secondary);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.highlight {
  /* Refined, brighter electric text gradient */
  background: linear-gradient(120deg, #fff 10%, var(--accent-cyan) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  filter: drop-shadow(0 0 20px rgba(34, 211, 238, 0.3));
}

.hero-description {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-weight: 300;
}

/* =========================
   Intro Section (Enhanced)
   ========================= */
.intro-section {
  padding: 8rem 0;
  /*background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.85)), url('public/corporate-bg.png');*/
  background: var(--color-bg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* Parallax effect */
  color: #0e1320;
  /* Dark text for contrast */
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.intro-heading {
  font-family: var(--font-secondary);
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #0e1320;
  /* Dark Navy */
  letter-spacing: -0.02em;
}

.intro-text {
  font-size: 1.25rem;
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  color: #ffffffb3;
  /* Slate for body */
  font-weight: 500;
}

/* Values Section (Adjust to blend or stand out) */
.values-section {
  padding: 8rem 0;
  background: var(--color-bg);
}

.features-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 900px) {
  .features-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    /* Split layout: Title Left, content Right */
    gap: 4rem;
    align-items: start;
  }
}

.features-header {
  max-width: 400px;
}

.section-title-left {
  font-family: var(--font-secondary);
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 2rem;
  line-height: 1.1;
  color: #fff;
  /* Make white on dark bg */
}

.features-intro {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
    /* 2 columns for features */
    column-gap: 4rem;
    row-gap: 4rem;
  }
}

/* Feature Item Typography - Galaxy Style */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
  /* Ensure clean sans-serif */
}

.feature-underscore {
  font-size: 2rem;
  line-height: 0.5;
  /* Pull it up closer */
  font-weight: 700;
  color: var(--accent-blue);
  /* Elementum Branding */
  margin-bottom: 1.5rem;
  font-family: var(--font-primary);
}

.btn-pill-black {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 2rem;
  padding: 0.8rem 5rem;
  border-radius: 50px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  background: transparent;
  transition: all 0.3s ease;
  font-weight: 500;
  text-align: center;
  box-sizing: border-box;
}

.btn-pill-black:hover {
  background: #64a4a4;
  color: #fff;
}

@media (max-width: 600px) {
  .btn-pill-black {
    padding: 0.8rem 2rem;
    width: 100%;
    margin-top: 1.5rem;
  }
}

/* =========================================
   Who We Serve (Accordion Interface)
   ========================================= */
.who-we-serve-section {
  padding: 8rem 0;
  background: var(--color-bg);
  /* Just carry on the main bg */
}

.accordion-list {
  display: flex;
  flex-direction: column;
}

.accordion-item {
  width: 100%;
  background: transparent;
  transition: background-color 0.3s ease;
}

/* Header (Summary) */
.accordion-header {
  list-style: none;
  /* Hide default triangle */
  cursor: pointer;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.accordion-header::-webkit-details-marker {
  display: none;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-title {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  /* Larger */
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
  transition: color 0.3s ease;
}

.accordion-icon {
  font-size: 1.5rem;
  color: #888;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover State */
.accordion-header:hover .accordion-title,
.accordion-header:hover .accordion-icon {
  color: var(--text-primary);
}

/* Open State (Native <details>) */
.accordion-item[open] {
  background: rgba(255, 255, 255, 0.02);
  /* Subtle light glass */
}

.accordion-item[open] .accordion-header {
  border-top-color: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  /* Separator */
}

.accordion-item[open] .accordion-title {
  color: #fff;
  font-weight: 700;
}

.accordion-item[open] .accordion-icon {
  color: var(--accent-blue);
  transform: rotate(45deg);
  /* Make + into x */
}

/* Content Area */
.accordion-content {
  padding: 4rem 0;
  color: #fff;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Bottom Divider */
.accordion-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

/* Services Split Layout (Master-Detail) */
.services-split-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 900px) {
  .services-split-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    align-items: start;
  }
}

/* Menu (Left Column) */
.services-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-menu-item {
  padding: 1.5rem;
  border-left: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
}

.service-menu-item:hover,
.service-menu-item.active {
  background: rgba(255, 255, 255, 0.05);
  border-left-color: var(--accent-blue);
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.service-menu-item h3 {
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
  margin: 0;
}

.arrow-icon {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.3);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.service-menu-item.active h3,
.service-menu-item:hover h3 {
  color: #fff;
}

.service-menu-item.active .arrow-icon {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent-blue);
}

.menu-item-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  display: none;
  /* Hide description in menu on desktop to keep it clean, or show? Let's hide for now to mimic simple list */
}

@media (max-width: 899px) {
  .menu-item-desc {
    display: block;
    /* Show on mobile/tablet where it might be a stack */
    margin-top: 0.5rem;
  }

  .service-menu-item.active .menu-item-desc {
    color: rgba(255, 255, 255, 0.8);
  }
}

/* Display (Right Column) */
.services-display {
  position: relative;
  min-height: 400px;
  /* Prevent jumpiness */
}

.service-content-block {
  display: none;
  animation: fadeIn 0.4s ease;
}

.service-content-block.active {
  display: block;
}

.content-title {
  font-family: var(--font-secondary);
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: #fff;
  line-height: 1.1;
}

.content-main-desc {
  font-size: 1.25rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin-bottom: 3rem;
  font-weight: 300;
}

.content-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 600px) {
  .content-details-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.detail-item h4 {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-blue);
  margin-bottom: 1rem;
  font-weight: 600;
}

.detail-item p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Responsive adjustment for Mobile (Stacking interaction) */
@media (max-width: 899px) {
  .services-split-layout {
    gap: 0;
  }

  .services-menu {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
  }

  .service-menu-item {
    border-left: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
  }

  .service-menu-item.active {
    background: transparent;
    border-left-color: transparent;
  }

  .service-menu-item.active h3 {
    color: var(--accent-blue);
  }

  .services-display {
    min-height: auto;
  }

  .content-title {
    font-size: 2rem;
  }
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem 0;
  color: #fff;
  text-align: center;
}

.newsletter-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.newsletter-content {
  flex: 1;
  text-align: left;
  min-width: 300px;
}

.newsletter-title {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.newsletter-desc {
  font-size: 1rem;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  flex: 1;
  min-width: 300px;
  justify-content: flex-end;
}

.newsletter-form .input-group {
  flex: 1;
}

.newsletter-form input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: var(--font-primary);
  font-size: 0.95rem;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

.btn-subscribe {
  padding: 0.8rem 1.5rem;
  background: var(--accent-blue);
  color: #020202;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-secondary);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.btn-subscribe:hover {
  background: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.4);
}

/* Footer Main */
.footer {
  background: #020617;
  /* Even darker for footer to ground it */
  color: #fff;
  padding: 6rem 0 2rem;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  margin-bottom: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

/* 
=========================
ABOUT US PAGE STYLES 
=========================
*/

/* Hero */
.about-hero {
  padding: 10rem 0 6rem;
  background: var(--color-bg);
  /* Deep Navy */
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 50%, rgba(60, 164, 236, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(252, 150, 174, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.about-hero-title {
  font-family: var(--font-secondary);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.about-hero-desc {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 800px;
  margin: 0 auto;
  font-weight: 300;
  opacity: 0;
  animation: fadeIn 0.8s ease 0.3s forwards;
}

/* Mission / Center of Gravity */
.mission-section {
  padding: 8rem 0;
  background: var(--color-bg);
  text-align: center;
  position: relative;
}

.mission-content {
  max-width: 900px;
  margin: 0 auto;
}

.mission-text {
  font-family: var(--font-secondary);
  font-size: 2rem;
  line-height: 1.4;
  color: #fff;
  font-weight: 400;
}

/* Stats Grid */
.stats-section {
  padding: 6rem 0;
  background: #060b19;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  text-align: center;
}

@media (min-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-number {
  display: block;
  font-family: var(--font-secondary);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Timeline / Heritage */
.timeline-section {
  padding: 8rem 0;
  background: var(--color-bg);
  position: relative;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 4rem auto 0;
  padding-left: 2rem;
}

/* Vertical Line */
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-blue) 0%, rgba(60, 164, 236, 0.1) 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  padding-left: 3rem;
  opacity: 0;
  animation: slideIn 0.6s ease forwards;
  /* Stagger animations via JS IntersectionObserver ideally, but simple delay for now */
}

/* Marker Dot */
.timeline-marker {
  position: absolute;
  top: 0;
  left: -5px;
  /* Adjust to center on line */
  width: 12px;
  height: 12px;
  background: var(--color-bg);
  border: 2px solid var(--accent-blue);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(60, 164, 236, 0.1);
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
  background: var(--accent-blue);
  box-shadow: 0 0 0 8px rgba(60, 164, 236, 0.2);
}

.timeline-year {
  display: inline-block;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1rem;
  color: var(--accent-blue);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 600;
}

.timeline-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Stagger items manually for simplicity without JS observer */
.timeline-item:nth-child(1) {
  animation-delay: 0.1s;
}

.timeline-item:nth-child(2) {
  animation-delay: 0.2s;
}

.timeline-item:nth-child(3) {
  animation-delay: 0.3s;
}

.timeline-item:nth-child(4) {
  animation-delay: 0.4s;
}

.timeline-item:nth-child(5) {
  animation-delay: 0.5s;
}

.timeline-item:nth-child(6) {
  animation-delay: 0.6s;
}


/* Leadership */
.leadership-section {
  padding: 6rem 0;
  background: #0f172a;
  text-align: center;
}

.profile-card {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.profile-name {
  font-family: var(--font-secondary);
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.profile-role {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-blue);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.profile-bio {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .about-hero-title {
    font-size: 2.5rem;
  }

  .mission-text {
    font-size: 1.5rem;
  }

  .timeline {
    padding-left: 1rem;
  }

  .timeline-item {
    padding-left: 2rem;
  }
}

/* 
=========================
SERVICE PAGES (SPICY) 
=========================
*/

/* Service Hero */
.service-page-hero {
  position: relative;
  height: 60vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-bg);
  color: #fff;
}

.hero-bg-anim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 10% 20%, rgba(60, 164, 236, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(252, 150, 174, 0.1) 0%, transparent 40%);
  filter: blur(60px);
  animation: bgPulse 10s infinite alternate;
}

/* Specific variants for variety */
.hero-bg-anim.corp-bg {
  background:
    radial-gradient(circle at 80% 20%, rgba(50, 200, 150, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(60, 100, 240, 0.1) 0%, transparent 40%);
}

.hero-bg-anim.advisory-bg {
  background:
    radial-gradient(circle at 50% 50%, rgba(200, 180, 50, 0.05) 0%, transparent 60%),
    radial-gradient(circle at 10% 90%, rgba(100, 50, 200, 0.1) 0%, transparent 40%);
}


@keyframes bgPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero-label {
  /*display: block; */
  font-family: var(--font-primary);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1rem;
  animation: fadeInDown 0.6s ease forwards;
}

.hero-title {
  font-family: var(--font-secondary);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.highlight-text {
  background: var(--banking-dark);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Service Overview */
.service-overview {
  padding: 8rem 0;
  background: var(--color-bg);
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 900px) {
  .overview-grid {
    grid-template-columns: 1.5fr 1fr;
  }
}

.section-heading {
  font-family: var(--font-secondary);
  font-size: 3rem;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.overview-text p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.overview-stat {
  text-align: center;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.big-stat {
  display: block;
  font-family: var(--font-secondary);
  font-size: 4rem;
  color: var(--accent-blue);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-desc {
  font-family: var(--font-primary);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
}

/* Detailed Services - "Spicy Grid" */
.detailed-services {
  padding: 3rem 0 10rem;
  background: #060b19;
  position: relative;
  overflow: hidden;
}

/* Subtle pattern overlay */
.detailed-services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.subsection-title {
  text-align: center;
  font-family: var(--font-primary);
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 1rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.spicy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.spicy-grid.vertical-stack {
  grid-template-columns: repeat(2, 1fr);
  /* max-width: 1100px; */
  /* Wider for 2 columns */
  margin: 0 auto;
}



@media (max-width: 768px) {
  .spicy-grid.vertical-stack {
    grid-template-columns: 1fr;
  }
}

.spicy-card {
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(12px);
  border: var(--glass-border);
  padding: 3rem 2rem;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.spicy-card:hover {
  transform: translateY(-10px);
  border-color: rgba(60, 164, 236, 0.3);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-icon {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.15);
  /* Increased visibility */
  position: absolute;
  top: 0.5rem;
  right: 1.5rem;
  transition: all 0.4s ease;
  z-index: 0;
}

.spicy-card:hover .card-icon {
  color: rgba(60, 164, 236, 0.4);
  /* More visible on hover */
  transform: scale(1.1);
}

/* Onboarding Process Section */
.onboarding-section {
  padding: 8rem 0;
  background: linear-gradient(to bottom, var(--color-bg), #060b19);
  position: relative;
}

.onboarding-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 5rem;
}

.onboarding-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

/* Connecting Line */
.onboarding-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg,
      var(--accent-blue) 0%,
      rgba(255, 255, 255, 0.1) 100%);
  z-index: 0;
  opacity: 0.3;
}

.step-card {
  position: relative;
  z-index: 1;
  background: transparent;
  padding-top: 20px;
}

.step-marker {
  width: 40px;
  height: 40px;
  background: var(--color-bg);
  border: 2px solid var(--accent-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 2rem;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
  position: relative;
  top: 1.5rem
    /* To sit on top of line */
}

.step-content h4 {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 1rem;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .onboarding-steps {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .onboarding-steps::before {
    width: 2px;
    height: 100%;
    left: 20px;
    /* Align with marker center */
    top: 0;
    background: linear-gradient(to bottom,
        var(--accent-blue) 0%,
        rgba(255, 255, 255, 0.1) 100%);
  }

  .step-card {
    padding-left: 60px;
    /* Make room for vertical line */
    padding-top: 0;
  }

  .step-marker {
    position: absolute;
    left: 0;
    top: 0;
  }
}

.card-content h3 {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 1rem;
}

.card-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.card-list {
  list-style: none;
  padding: 0;
}

.card-list li {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  padding: 0.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.card-list li:first-child {
  border-top: none;
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 100%, rgba(60, 164, 236, 0) 0%, transparent 60%);
  transition: all 0.4s ease;
  pointer-events: none;
}

.spicy-card:hover .card-glow {
  background: radial-gradient(circle at 50% 100%, rgba(60, 164, 236, 0.1) 0%, transparent 60%);
}

/* CTA */
.spicy-cta {
  padding: 8rem 0;
  background: var(--color-bg);
  text-align: center;
}

.cta-box h2 {
  font-family: var(--font-secondary);
  font-size: 3rem;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-box p {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.btn-glow-primary {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: var(--accent-blue);
  color: #020202;
  font-family: var(--font-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(56, 189, 248, 0.2);
}

.btn-glow-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(56, 189, 248, 0.4);
  background: var(--accent-cyan);
}

.btn-text-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  color: var(--accent-blue);
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: gap 0.3s ease;
}

.btn-text-arrow:hover {
  gap: 1rem;
}

.footer-heading {
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-blue);
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.footer-contact li {
  margin-bottom: 1rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--accent-blue);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--accent-blue);
  transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

.footer-regulation {
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal-links a:hover {
  color: #fff;
}

.copyright {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 900px) {
  .newsletter-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter-form {
    width: 100%;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Marquee CTA Section 
   ========================= */
.cta-marquee-section {
  position: relative;
  background: var(--color-bg);
  padding: 10rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.marquee-content {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%) rotate(-2deg);
  /* Slight angle for dynamism */
  opacity: 0.1;
  /* Very subtle background */
  pointer-events: none;
  white-space: nowrap;
}

.marquee-track {
  display: inline-block;
  animation: marqueeScroll 40s linear infinite;
}

.marquee-text {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 8rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.2);
  color: transparent;
  /* Outline effect */
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.marquee-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
}

.marquee-heading {
  font-family: var(--font-secondary);
  font-size: 3rem;
  color: #fff;
  margin-bottom: 2rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Ensure button stands out against potential noise */
.marquee-cta-container .btn-glow-primary {
  background: #fff;
  color: #020617;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.marquee-cta-container .btn-glow-primary:hover {
  background: var(--accent-blue);
  color: #fff;
  box-shadow: 0 0 60px rgba(56, 189, 248, 0.6);
}

/* Reveal Footer Effect Removed */
.sticky-reveal-footer {
  position: relative;
  z-index: 1;
}



/* Ensure background color is consistent for masking */
body {
  background-color: var(--color-bg);
}

/* Adjust marquee section if needed since it's now 'in' the footer wrapper */
.cta-marquee-section {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* 
=========================
CONTACT PAGE
=========================
*/

/* Contact Hero */
.contact-hero {
  padding: 10rem 0 6rem;
  background: var(--color-bg);
  position: relative;
  text-align: center;
  overflow: hidden;
}

.hero-bg-anim.contact-bg {
  background:
    radial-gradient(circle at 15% 30%, rgba(56, 189, 248, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(34, 211, 238, 0.1) 0%, transparent 40%);
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

/* Contact Grid Section */
.contact-section {
  padding: 4rem 0 8rem;
  background: var(--color-bg);
}

@media (min-width: 900px) {
  .spicy-card {
    grid-template-columns: 1fr 1fr;
    /* Equal width for better balance */
    gap: 4rem;
  }

  /* Standard consistent layout: Text Left, Visual Right */
}

/* Info Side */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.info-block {
  padding-left: 1.5rem;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.info-title {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 1rem;
}

.info-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.email-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.email-list li {
  display: flex;
  flex-direction: column;
}

.email-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-blue);
  margin-bottom: 0.2rem;
}

.email-list a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.email-list a:hover {
  color: var(--accent-cyan);
}

/* Schedule Call Card (CTA) */
.schedule-call-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.card-title {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.btn-primary-glow {
  display: inline-block;
  background: var(--accent-blue);
  color: #020617;
  font-family: var(--font-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.btn-primary-glow:hover {
  background: var(--accent-cyan);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.5);
  transform: translateY(-2px);
}

/* Contact Form Side */
.contact-form-wrapper {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 3rem;
  backdrop-filter: blur(10px);
}

.form-heading {
  font-family: var(--font-secondary);
  font-size: 2rem;
  color: #fff;
  margin-bottom: 2rem;
}

.general-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.form-input {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 1rem;
  font-family: var(--font-primary);
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-blue);
  background: #080f1c;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23cccccc%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 0.8rem auto;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit-large {
  margin-top: 1rem;
  padding: 1.2rem;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 4px;
  font-family: var(--font-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit-large:hover {
  background: var(--accent-blue);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.4);
}

/* 
=========================
INVESTORS PAGE UPDATES
=========================
*/

/* Updated Spicy Card - 2 Column Grid */
.spicy-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem;
  /* Increased padding */
  align-items: center;
}

@media (min-width: 900px) {
  .spicy-card {
    grid-template-columns: 1fr 1fr;
    /* Equal width for better balance */
    gap: 4rem;
  }

  /* Standard consistent layout: Text Left, Visual Right */
  /* User requested "in line" - so no alternating */
}

.card-content-col {
  position: relative;
  z-index: 2;
}

/* Card Visual Animations */
.card-visual-col {
  position: relative;
  height: 250px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
}

/* 1. Chart Animation */
.visual-chart {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 15px;
  padding-bottom: 40px;
}

.chart-bar {
  width: 30px;
  background: linear-gradient(to top, var(--accent-blue), transparent);
  border-radius: 4px 4px 0 0;
  opacity: 0.8;
  animation: barGrow 3s infinite alternate ease-in-out;
}

.bar-1 {
  height: 40%;
  animation-delay: 0s;
}

.bar-2 {
  height: 70%;
  animation-delay: 0.5s;
  background: linear-gradient(to top, var(--accent-cyan), transparent);
}

.bar-3 {
  height: 50%;
  animation-delay: 1s;
}

.chart-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.1), transparent 70%);
}

@keyframes barGrow {
  0% {
    transform: scaleY(0.8);
    opacity: 0.5;
  }

  100% {
    transform: scaleY(1.1);
    opacity: 1;
  }
}

/* 2. Network Animation */
.visual-network {
  position: relative;
}

.node {
  position: absolute;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 10px var(--accent-blue);
}

.center-node {
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.orbiter {
  width: 10px;
  height: 10px;
  background: var(--accent-cyan);
  animation: orbit 6s linear infinite;
}

.orbiter-1 {
  animation-delay: 0s;
}

.orbiter-2 {
  animation-delay: -2s;
}

.orbiter-3 {
  animation-delay: -4s;
}

@keyframes orbit {
  from {
    transform: translate(-50%, -50%) rotate(0deg) translateX(60px) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg) translateX(60px) rotate(-360deg);
  }
}

.connection {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 1px;
  width: 60px;
  background: rgba(255, 255, 255, 0.2);
  transform-origin: 0 0;
}

.conn-1 {
  animation: rotateConn 6s linear infinite;
}

.conn-2 {
  animation: rotateConn 6s linear infinite;
  animation-delay: -2s;
}

.conn-3 {
  animation: rotateConn 6s linear infinite;
  animation-delay: -4s;
}

@keyframes rotateConn {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* 3. Shield Animation */
.visual-shield {
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-layer {
  position: absolute;
  border: 2px solid var(--accent-blue);
  border-radius: 50%;
  opacity: 0.5;
}

.layer-1 {
  width: 80px;
  height: 80px;
  animation: pulseShield 3s infinite;
}

.layer-2 {
  width: 120px;
  height: 120px;
  animation: pulseShield 3s infinite 1s;
  border-color: var(--accent-cyan);
}

.shield-core {
  width: 40px;
  height: 40px;
  background: var(--accent-blue);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--accent-blue);
}

@keyframes pulseShield {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1);
    opacity: 0.3;
  }
}

/* 4. Stream Animation */
.visual-stream {
  overflow: hidden;
}

.stream-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  width: 50%;
  opacity: 0.5;
  animation: streamMove 2s linear infinite;
}

.line-1 {
  top: 30%;
  left: -50%;
  animation-duration: 2s;
}

.line-2 {
  top: 50%;
  left: -50%;
  animation-duration: 3s;
  animation-delay: 0.5s;
  width: 70%;
}

.line-3 {
  top: 70%;
  left: -50%;
  animation-duration: 2.5s;
  animation-delay: 1s;
}

.stream-block {
  position: absolute;
  width: 40px;
  height: 10px;
  background: var(--accent-blue);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: blockFloat 4s infinite ease-in-out;
}

.block-1 {
  top: 40%;
  right: 20%;
}

.block-2 {
  top: 60%;
  right: 40%;
  animation-delay: -1s;
}

@keyframes streamMove {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(300%);
  }
}

@keyframes blockFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Footer Fix helpers */
/* 
   The footer uses fixed positioning with z-index -1. 
   Main content needs a solid background and margin-bottom to reveal it.
*/
.sticky-reveal-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: -1;
  visibility: visible;
  /* Changed via JS to visible when needed or generally visible if behind */
}

/* =========================================
   Theme Override: Institutional / Investor
   ========================================= */
.theme-investor {
  /* Fonts */
  --font-secondary: 'Playfair Display', serif;
  /* Elegant Serif */

  /* Colors: Gold & Silver / Royal Navy */
  --accent-blue: #3da5ec;
  /* Metallic Gold */
  --accent-cyan: #22d3ee;
  /* Slate 200 (Silver-ish) */
  --accent-glow: rgba(212, 175, 55, 0.4);
  /* Gold Glow */
  --accent-indigo: #94a3b8;
  /* Muted Slate */

  /* Adjusted Background tweaks if needed */
  --color-bg: #0b0f19;
  /* Slightly warmer dark? Keep consistent for now */
}

/* Specific overrides for the Investor Theme */
.theme-investor .hero-title {
  font-weight: 600;
  /* Serif doesn't need to be as bold */
  letter-spacing: -0.03em;
}

.theme-investor .highlight-text {
  /* Gold Gradient */
  background: linear-gradient(120deg, #fff 10%, #3da5ec 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3));
}

.theme-investor .spicy-card {
  border-color: rgba(212, 175, 55, 0.15);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.theme-investor .spicy-card:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.1);
  /* Muted gold glow */
}

.theme-investor .card-icon {
  color: var(--accent-blue);
  border-color: rgba(212, 175, 55, 0.3);
  font-family: var(--font-secondary);
  /* Use Serif for numbers too */
}

.theme-investor .step-marker {
  color: var(--accent-blue);
  border-color: var(--accent-blue);
  font-family: var(--font-secondary);
}

.theme-investor .section-heading {
  font-family: var(--font-secondary);
  letter-spacing: -0.01em;
  /* Tighter for serif */
}

.theme-investor .hero-label {
  color: var(--accent-blue);
  background: rgba(212, 175, 55, 0.05);
}

/* High Contrast "Boring" Sections for Investor */
.theme-investor .service-overview {
  background-color: #020408;
  /* Deepest Black */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.theme-investor .detailed-services {
  background-color: #0b0f19;
  /* Maintain Base Navy */
}

.theme-investor .onboarding-section {
  background-color: #131825;
  /* lighter Slate/Navy for contrast */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* =========================================
   Theme Override: Smart / Consulting (Advisory & Corporates)
   ========================================= */
.theme-smart {
  /* Fonts */
  --font-secondary: 'Playfair Display', serif;

  /* Colors: Fresh Palette (Teal, Mint, Slate) */
  --accent-blue: #64a4a4;
  /* Fresh Teal -- Neutral Smart */
  --accent-cyan: #3da5ec;
  /* Fresh Mint */
  --accent-glow: rgba(100, 164, 164, 0.3);
  /* Subtle Teal Glow */
  --accent-indigo: #3c445c;
  /* Dark Slate */

  /* Adjusted Backgrounds */
  --color-bg: #0e1320;
  /* Deep Navy base */
}

/* Specific overrides for Smart Theme */
.theme-smart .hero-title {
  font-weight: 600;
  letter-spacing: -0.03em;
}

.theme-smart .highlight-text {
  /* Teal/Mint Gradient */
  background: linear-gradient(120deg, #fff 10%, #64a4a4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px rgba(100, 164, 164, 0.2));
}

.theme-smart .spicy-card {
  border-color: rgba(100, 164, 164, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.theme-smart .spicy-card:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 10px 40px rgba(100, 164, 164, 0.15);
}

.theme-smart .card-icon {
  color: var(--accent-blue);
  border-color: rgba(100, 164, 164, 0.3);
  font-family: var(--font-secondary);
}

.theme-smart .step-marker {
  color: var(--accent-blue);
  border-color: var(--accent-blue);
  font-family: var(--font-secondary);
}

.theme-smart .section-heading {
  font-family: var(--font-secondary);
  letter-spacing: -0.01em;
}

.theme-smart .hero-label {
  color: var(--accent-blue);
  background: rgba(100, 164, 164, 0.1);
}

/* Solid Backgrounds for Smart Theme */
.theme-smart .service-overview {
  background-color: #0c121e;
  /* Very dark slate */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.theme-smart .detailed-services {
  background-color: #151b2b;
  /* Slightly lighter slate */
}

.theme-smart .onboarding-section {
  background-color: #1e2538;
  /* Distinct Lighter Slate "Box" */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* =========================================
   Theme Override: Advisory (Brand Colors)
   ========================================= */
.theme-advisory {
  /* Fonts */
  --font-secondary: 'Playfair Display', serif;

  /* Colors: STRICT Brand Palette (Cyan/Blue) */
  --accent-blue: #1db5c3;
  /* Fresh Cyan */
  --accent-cyan: #3ca4ec;
  /* Fresh Blue */
  --accent-glow: rgba(29, 181, 195, 0.3);
  /* Cyan Glow */
  --accent-indigo: #3c445c;
  /* Dark Slate */

  /* Adjusted Backgrounds */
  --color-bg: #0e1320;
  /* Deep Navy base */
}

/* Specific overrides for Advisory Theme */
.theme-advisory .hero-title {
  font-weight: 600;
  letter-spacing: -0.03em;
}

.theme-advisory .highlight-text {
  /* Cyan/Blue Gradient */
  background: linear-gradient(120deg, #fff 10%, #1db5c3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px rgba(29, 181, 195, 0.2));
}

.theme-advisory .spicy-card {
  border-color: rgba(29, 181, 195, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.theme-advisory .spicy-card:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 10px 40px rgba(29, 181, 195, 0.15);
}

.theme-advisory .card-icon {
  color: var(--accent-blue);
  border-color: rgba(29, 181, 195, 0.3);
  font-family: var(--font-secondary);
}

.theme-advisory .step-marker {
  color: var(--accent-blue);
  border-color: var(--accent-blue);
  font-family: var(--font-secondary);
}

.theme-advisory .section-heading {
  font-family: var(--font-secondary);
  letter-spacing: -0.01em;
}

.theme-advisory .hero-label {
  color: var(--accent-blue);
  background: rgba(29, 181, 195, 0.1);
}

/* Solid Backgrounds for Advisory */
.theme-advisory .service-overview {
  background-color: #0c121e;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.theme-advisory .detailed-services {
  background-color: #151b2b;
}

.theme-advisory .onboarding-section {
  background-color: #1e2538;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* =========================================
   Advisory Layout Overrides (Full Width Grid)
   ========================================= */
.theme-advisory .detailed-services .container {
  max-width: 95%;
  /* Full width */
  padding-left: 2rem;
  padding-right: 2rem;
}

.theme-advisory .spicy-grid.vertical-stack {
  grid-template-columns: repeat(2, 1fr) !important;
  /* Force 4 columns */
  max-width: 100%;
}

/* Responsive Overrides for Advisory Grid */
@media (max-width: 1200px) {
  .theme-advisory .spicy-grid.vertical-stack {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .theme-advisory .spicy-grid.vertical-stack {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================
   Corporate Page Specifics (Grid Fix) 
   ========================================= */
.page-corporate .spicy-grid {
  grid-template-columns: repeat(4, 1fr) !important;
  max-width: 100%;
  gap: 1.5rem;
}

/* Specific overrides for Advisory Theme */
.theme-corporate .hero-title {
  font-weight: 600;
  letter-spacing: -0.03em;
}

.theme-corporate .highlight-text {
  /* Cyan/Blue Gradient */
  background: linear-gradient(120deg, #fff 10%, #1db5c3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px rgba(29, 181, 195, 0.2));
}

.theme-corporate .spicy-card {
  border-color: rgba(29, 181, 195, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.theme-corporate .spicy-card:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 10px 40px rgba(29, 181, 195, 0.15);
}

.theme-corporate .card-icon {
  color: var(--accent-blue);
  border-color: rgba(29, 181, 195, 0.3);
  font-family: var(--font-secondary);
}

.theme-corporate .step-marker {
  color: var(--accent-blue);
  border-color: var(--accent-blue);
  font-family: var(--font-secondary);
}

.theme-corporate .section-heading {
  font-family: var(--font-secondary);
  letter-spacing: -0.01em;
}

.theme-corporate .hero-label {
  color: var(--accent-blue);
  background: rgba(29, 181, 195, 0.1);
}

/* Solid Backgrounds for corporate */
.theme-corporate .service-overview {
  background-color: #0c121e;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.theme-corporate .detailed-services {
  background-color: #151b2b;
}

.theme-corporate .onboarding-section {
  background-color: #1e2538;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* =========================================
   Corporate Layout Overrides (Full Width Grid)
   ========================================= */
.theme-corporate .detailed-services .container {
  max-width: 95%;
  /* Full width */
  padding-left: 2rem;
  padding-right: 2rem;
}

.theme-corporate .spicy-grid.vertical-stack {
  grid-template-columns: repeat(2, 1fr) !important;
  /* Force 4 columns */
  max-width: 100%;
}

/* Responsive Overrides for corporate Grid */
@media (max-width: 1200px) {
  .theme-corporate .spicy-grid.vertical-stack {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .theme-corporate .spicy-grid.vertical-stack {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================
   Corporate Page Specifics (Grid Fix) 
   ========================================= */
.page-corporate .spicy-grid {
  grid-template-columns: repeat(4, 1fr) !important;
  max-width: 100%;
  gap: 1.5rem;
}

/* Index Intro Background Update */
/* Reverted Intro Section (Clean Dark) */
.intro-section {
  padding: 8rem 0;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Values Section - Corporate Background Blend */
.values-section {
  position: relative;
  background-color: var(--color-bg);
  background-image: linear-gradient(90deg, #030712 20%, rgba(3, 7, 18, 0.6) 100%), url('public/corporate-bg.png');
  background-size: cover;
  background-position: right center;
  background-attachment: fixed;
}

.intro-heading {
  color: var(--text-primary);
}

/* =========================================
   CEO Section (Textured / Statement)
   ========================================= */
.ceo-section {
  position: relative;
  background-color: #060b19;
  /* Deep Brand Navy */
  /* Subtle Grain Texture Overlay */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  padding: 10rem 0;
  /* Standard padding */
  margin-top: 4rem;
  color: #fff;
  text-align: center;
}

.ceo-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.ceo-quote {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 600;
  /* Bold/Italic per preference, maybe just bold */
  line-height: 1.4;
  font-style: italic;
  margin-bottom: 3rem;
  color: #f8fafc;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.ceo-name {
  font-family: var(--font-primary);
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-blue);
  position: relative;
  display: inline-block;
}

.ceo-name::before {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--accent-blue);
  margin: 0 auto 1rem;
}

@media (max-width: 768px) {
  .ceo-quote {
    font-size: 1.75rem;
  }

  .ceo-section {
    padding: 8rem 0 6rem;
  }
}

/* =========================================
   General Page Headers (Secondary Pages)
   ========================================= */
.page-header {
  padding: 12rem 0 6rem;
  background-color: var(--color-bg);
  text-align: center;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-title {
  font-family: var(--font-secondary);
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* =========================================
   Leadership Page
   ========================================= */
.leadership-section {
  padding: 6rem 0;
  background-color: #0b101d;
  /* Slightly lighter than pure black */
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.team-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.1);
}

.team-photo-placeholder {
  width: 100%;
  height: 350px;
  background: linear-gradient(45deg, #1db5c3, #060b19);
  /* Placeholder Gradient */
  opacity: 0.8;
}

.team-info {
  padding: 2rem;
}

.team-name {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.team-title {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.team-bio p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =========================================
   Careers Page
   ========================================= */
.values-recap-section {
  padding: 6rem 0;
  background-color: var(--color-bg);
}

.center-text {
  text-align: center;
}

.careers-listing {
  padding: 4rem 0 8rem;
  background-color: #0b101d;
}

.section-title-small {
  font-family: var(--font-secondary);
  font-size: 2rem;
  color: #fff;
  margin-bottom: 3rem;
  border-left: 2px solid var(--accent-blue);
  padding-left: 1rem;
}

.job-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
}

.job-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.job-title {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.job-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.job-meta span {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}


@media (max-width: 768px) {
  .job-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

/* =========================================
   Resources Pages (News / Reports)
   ========================================= */
.resources-section {
  padding: 6rem 0;
  background-color: #0b101d;
  min-height: 60vh;
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.news-card {
  background: #0e1320;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news-image-placeholder {
  height: 200px;
  background: linear-gradient(135deg, #1db5c3, #060b19);
  width: 100%;
}

.news-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-date {
  font-size: 0.85rem;
  color: var(--accent-blue);
  margin-bottom: 0.5rem;
}

.news-title {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.news-excerpt {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.read-more-link {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  align-self: flex-start;
  border-bottom: 1px solid var(--accent-blue);
  padding-bottom: 2px;
}

/* Download List (Reports) */
.download-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.download-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.download-info h3 {
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.download-meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--accent-blue);
  color: var(--accent-blue);
  border-radius: 4px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-download:hover {
  background: var(--accent-blue);
  color: #000;
}

/* =========================================
   Banking Theme (Refined Investors)
   ========================================= */

.banking-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-color: var(--color-bg);
  /* Dark background */
  overflow: hidden;
  padding-top: 80px;
  /* Header space */
}

.banking-hero-content {
  position: relative;
  padding: 8rem 0 4rem;
  /* Increased top padding to push content down */
  max-width: 600px;
  z-index: 2;
}

.banking-eyebrow {
  display: inline-block;
  font-family: var(--font-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--banking-teal);
  margin-bottom: 2rem;
  /* Increased margin */
  padding: 0.5rem 1rem;
  background: rgba(29, 181, 195, 0.1);
  border-radius: 100px;
  border: 1px solid rgba(29, 181, 195, 0.2);
}

.banking-headline {
  font-family: var(--font-secondary);
  font-size: 4rem;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.banking-headline span {
  background: linear-gradient(90deg, var(--banking-blue), var(--banking-mint));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.banking-subhead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 3rem;
  max-width: 100%;
}

/* Invitation Card in Hero */
.invite-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--banking-blue);
  padding: 2rem;
  border-radius: 4px;
  backdrop-filter: blur(10px);
}

.invite-title {
  color: #fff;
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.invite-text {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  /* Ensure balanced spacing */
}

.btn-banking-primary {
  background: var(--banking-blue);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(60, 164, 236, 0.3);
}

.btn-banking-primary:hover {
  background: var(--banking-teal);
  transform: translateY(-2px);
}

/* Hero Visual (Split Layout) */
.banking-hero-visual {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
  /* Placeholder for stock image - using advisory-bg.png */
  background: linear-gradient(268deg, rgba(60, 68, 92, 0.5), rgba(6, 8, 16, 1)), url('public/advisory-bg.png') no-repeat center center;
  background-size: cover;
  mask-image: linear-gradient(to right, transparent, black 20%);
  -webkit-mask-image: linear-gradient(to right, transparent, black 20%);
}

@media(max-width: 900px) {
  .banking-hero-visual {
    width: 100%;
    height: 50%;
    bottom: 0;
    top: auto;
    mask-image: linear-gradient(to bottom, transparent, black 20%);
  }
}

/* Theme Investor Overrides */
.theme-investor .spicy-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(60, 164, 236, 0.15);
  transition: all 0.4s ease;
}

.theme-investor .spicy-card:hover {
  border-color: var(--banking-teal);
  background: rgba(60, 68, 92, 0.3);
  box-shadow: 0 10px 40px rgba(29, 181, 195, 0.1);
}

.theme-investor .card-icon {
  color: var(--banking-mint);
  opacity: 0.5;
}

.theme-investor .spicy-card:hover .card-icon {
  color: var(--banking-blue);
  opacity: 1;
}

.theme-investor .subsection-title {
  color: var(--banking-teal);
}

/* =========================================
   Light Banking Theme (Investment & ESG)
   ========================================= */

.banking-light-section {
  /* Branded Gradient: Slate 50 to Light Blue/Teal Tint */
  background: linear-gradient(180deg, #f8fafc 0%, #e0f2fe 100%);
  color: var(--banking-dark);
  padding: 3rem 0 6rem;
  /* Normal bottom padding */
  position: relative;
}

.banking-light-section h2,
.banking-light-section h3,
.banking-light-section h4 {
  color: var(--banking-dark);
}

.banking-light-section p {
  color: #334155;
  /* Slate 700 - darker for readability */
}

/* Sustainability Floating Card */
.sustainability-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  padding: 6rem 4rem;
  position: relative;
  z-index: 10;
  margin-top: 4rem;
  /* Positive margin for separation */
  border: 1px solid rgba(60, 164, 236, 0.1);
}

@media (max-width: 768px) {
  .sustainability-card {
    padding: 3rem 1.5rem;
    margin-top: -4rem;
  }
}

.section-divider {
  width: 100%;
  height: 1px;
  background: rgba(60, 68, 92, 0.1);
  margin: 6rem 0;
}

/* Partnership Grid */
.partnership-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-top: 4rem;
}

@media(min-width: 900px) {
  .partnership-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.invest-card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(60, 164, 236, 0.05);
  backdrop-filter: blur(10px);
}

.invest-card h3 {
  font-family: var(--font-secondary);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

/* ESG Grid */
.esg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

@media(min-width: 900px) {
  .esg-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.esg-column {
  background: #fff;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border-top: 4px solid var(--banking-teal);
  transition: transform 0.3s ease;
}

.esg-column:hover {
  transform: translateY(-5px);
}

.esg-column h4 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-secondary);
}

.esg-list {
  list-style: none;
  padding: 0;
}

.esg-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.95rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.esg-list li::before {
  color: var(--banking-teal);
  font-weight: bold;
}

/* Sustainability Strip */
.sustainability-strip {
  background: var(--banking-dark);
  color: #fff;
  padding: 4rem 0;
  margin-top: -8rem;
  /* Overlap effect if needed, or just separate */
  position: relative;
  z-index: 10;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.strip-item h4 {
  color: var(--banking-mint);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}


/* =========================================
   Award Winning Premium CTA
   ========================================= */

/* =========================================
   Award Winning Premium CTA
   ========================================= */

.award-winning-cta {
  /* Strict Brand Gradient: Brand Dark #3c445c base */
  background: radial-gradient(circle at center, #3c445c 0%, #222633 100%);
  padding: 3rem 0;
  text-align: left;
  /* Alignment Fix */
  position: relative;
  z-index: 10;
  overflow: hidden;
  color: #fff;
}

/* Ambient Glow Effect - Using Brand Blue #3ca4ec */
.award-winning-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(60, 164, 236, 0.1) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

.award-winning-cta .container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 4rem;
  padding-top: 4rem;
}

.award-winning-cta h2 {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: #ffffff;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.award-winning-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  max-width: 500px;
  margin: 0 auto 4rem;
  letter-spacing: 0.02em;
}

.btn-premium {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 1.2rem 3rem;
  border-radius: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: inline-block;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.btn-premium:hover {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}


/* =========================================
   Corporate Page - Light Theme Overhaul
   ========================================= */

.theme-corporate-light {
  background-color: #ffffff;
  color: var(--banking-dark);
}

.corp-hero-light {
  position: relative;
  padding: 12rem 0 8rem;
  background: radial-gradient(circle at top right, #e0f2fe 0%, #ffffff 60%);
  overflow: hidden;
}

.corp-hero-light h1 {
  color: var(--banking-dark);
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.corp-hero-light p {
  color: #475569;
  font-size: 1.5rem;
  max-width: 700px;
}

/* Financial Ecosystem Grid */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 6rem;
}

.eco-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 3rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.eco-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--banking-blue);
}

.eco-card h3 {
  color: var(--banking-dark);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.eco-card p {
  color: #64748b;
  margin-bottom: 1.5rem;
}

.eco-list li {
  color: #475569;
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.eco-list li::before {
  color: var(--banking-teal);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Commodity Solutions - Light Silver/Teal Theme */
.commodity-light-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 8rem 0;
  position: relative;
  border-top: 1px solid #cbd5e1;
  border-bottom: 1px solid #cbd5e1;
}

.commodity-header {
  margin-bottom: 4rem;
}

.commodity-header h2 {
  color: var(--banking-dark);
  font-size: 3rem;
}

.commodity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 992px) {
  .commodity-grid {
    grid-template-columns: 1fr;
  }
}

.commodity-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 1200px) {
  .commodity-grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .commodity-grid-3 .desk-center {
    grid-column: 1 / -1;
    order: -1;
    margin-bottom: 2rem;
  }
}

@media (max-width: 992px) {
  .commodity-grid-3 {
    grid-template-columns: 1fr;
  }
}

.comm-feature h4 {
  color: var(--banking-dark);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.comm-feature-icon {
  color: var(--banking-teal);
}

.comm-feature p {
  color: #475569;
  margin-bottom: 2rem;
}

/* Trust & Regulation - Clean White */
.trust-section-light {
  background: #ffffff;
  padding: 8rem 0 0;
  /* No bottom padding because CTA follows */
}

.trust-badges {
  display: flex;
  gap: 4rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 4rem;
}

.trust-badge {
  text-align: center;
  max-width: 300px;
}

.trust-badge h4 {
  color: var(--banking-blue);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}


/* =========================================
   Corporate Page - Visual Polish (Bg & Header)
   ========================================= */

/* Fixed Background Visual (Reusing Advisory Texture) */


/* Force White Header for Light Corporate Theme */
.theme-corporate-light .header {
  /*background: rgba(255, 255, 255, 0.95);*/
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.theme-corporate-light .nav-link,
.theme-corporate-light .company-name {
  color: var(--banking-dark);
}

.theme-corporate-light .header.scrolled .nav-link,
.theme-corporate-light .header.scrolled .company-name,
.theme-corporate-light .header.scrolled .dropdown-arrow {
  color: #ffffff !important;
}

/* Padding Fix for Trust Section */
.trust-section-light {
  padding-bottom: 6rem !important;
  /* Visual breathing room */
}


/* =========================================
   Corporate Page - Background Fixes
   ========================================= */

/* Make main backgrounds transparent to show fixed texture */
.theme-corporate-light {
  background-color: transparent !important;
}

/* Semi-transparent Hero */
.corp-hero-light {
  background: radial-gradient(circle at top right, rgba(224, 242, 254, 0.5) 0%, rgba(255, 255, 255, 0.0) 70%) !important;
}

/* Glassy Commodity Section */
.commodity-light-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(226, 232, 240, 0.7) 100%) !important;
  backdrop-filter: blur(5px);
}

/* Transparent Trust Section */
.trust-section-light {
  background: transparent !important;
}

/* Ensure Ecosystem section is transparent */
.ecosystem-section {
  background: transparent !important;
}

/* =========================================
   Corporate Page - Restore White
   ========================================= */

/* Revert transparency to Solid White / Light Gradients */
.theme-corporate-light {
  background-color: #ffffff !important;
}

.corp-hero-light {
  position: relative;
  background: transparent !important;
  /* Removed backdrop-filter here if using overlay approach, or keep it */
}

.corp-hero-background {
  position: absolute;
  inset: 0;
  /* Layered gradient + Image */
  background: radial-gradient(circle at top right, rgba(224, 242, 254, 0.7) 0%, rgba(255, 255, 255, 0.95) 75%), url('public/corp-header-bg.png') center top / cover no-repeat;
  z-index: 1;
}

.corp-hero-light .container {
  position: relative;
  z-index: 2;
}

.btn-hero-pill-light {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 2rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  border: 1px solid rgba(60, 68, 92, 0.3);
  color: var(--banking-dark);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn-hero-pill-light:hover {
  background: var(--banking-teal);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(29, 181, 195, 0.3);
  transform: translateY(-2px);
}


/* =========================================
   Global Impact Grid (DeepMind/Vopak Inspired)
   ========================================= */

.global-impact-section {
  background: #ffffff;
  padding: 8rem 0;
  border-top: 1px solid #f1f5f9;
}

.impact-header {
  margin-bottom: 5rem;
  max-width: 800px;
}

.impact-header h2 {
  color: var(--banking-dark);
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.impact-header p {
  font-size: 1.25rem;
  color: #64748b;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.impact-card {
  border: 1px solid #e2e8f0;
  padding: 3rem;
  border-radius: 4px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Bottom align content like stats */
  min-height: 280px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.impact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-color: var(--banking-blue);
}

.impact-number {
  font-family: var(--font-secondary);
  font-size: 4rem;
  font-weight: 700;
  color: var(--banking-dark);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

.impact-label {
  font-size: 1.1rem;
  color: #64748b;
  font-weight: 500;
  border-top: 2px solid var(--banking-teal);
  padding-top: 1rem;
  display: inline-block;
  width: 50%;
}

/* Dark Variant for Contrast */
.impact-card.dark {
  background: var(--banking-dark);
  border-color: var(--banking-dark);
  color: #ffffff;
}

.impact-card.dark .impact-number {
  color: #ffffff;
}

.impact-card.dark .impact-label {
  color: rgba(255, 255, 255, 0.7);
  border-color: var(--banking-blue);
}

/* Visual Decoration for dark card */
.impact-card.dark::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(60, 164, 236, 0.1) 0%, transparent 70%);
  filter: blur(40px);
}


.trust-section-light {
  background: #ffffff !important;
}

.ecosystem-section {
  background: #ffffff !important;
}


/* =========================================
   Investor Page - Light Theme Overhaul
   ========================================= */

.theme-investor {
  background-color: #ffffff;
  color: var(--banking-dark);
}

.theme-investor .banking-hero {
  background: transparent;
  position: relative;
  border-bottom: 1px solid #f1f5f9;
}

/* Transform the hero visual to the Glass Shine effect */
.theme-investor .banking-hero-visual {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  top: 0;
  right: 0;
  mask-image: none !important;
  -webkit-mask-image: none !important;
  background: radial-gradient(circle at top right, rgba(224, 242, 254, 0.7) 0%, rgba(255, 255, 255, 0.95) 75%), url('public/advisory-bg.png') center top / cover no-repeat !important;
  opacity: 1;
  z-index: 0;
}

.theme-investor .banking-hero .container {
  position: relative;
  z-index: 2;
}

/* Light Theme Text Overrides */
.theme-investor .banking-headline {
  color: var(--banking-dark);
}

.theme-investor .banking-subhead {
  color: #475569;
}

.theme-investor .banking-eyebrow {
  color: var(--banking-teal);
  background: rgba(60, 164, 236, 0.1);
  border: 1px solid rgba(60, 164, 236, 0.2);
}

.theme-investor .section-heading {
  color: var(--banking-dark) !important;
}

/* Light Theme Invite Card */
.theme-investor .invite-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.theme-investor .invite-title {
  color: var(--banking-dark);
}

.theme-investor .invite-text {
  color: #64748b;
}

/* Overview Section Light */
.theme-investor .service-overview {
  background: #ffffff;
}

.theme-investor .overview-text p {
  color: #475569;
}

.theme-investor .overview-stat {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.theme-investor .stat-desc {
  color: #64748b;
}

/* Navigation Links Dark */
.theme-investor .nav-link,
.theme-investor .company-name {
  color: var(--text-primary);
}

.theme-investor .dropdown-arrow {
  color: var(--banking-dark);
}

.theme-investor .header {
  /*background: rgba(255, 255, 255, 0.95);*/
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.theme-investor .header.scrolled .nav-link,
.theme-investor .header.scrolled .company-name,
.theme-investor .header.scrolled .dropdown-arrow {
  color: #ffffff !important;
}

/* Investor CTA Refinement (Solid Banking Dark) */
.theme-investor .award-winning-cta {
  background: #a2c1c8 !important;
  /* Solid Brand Dark */
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.theme-investor .award-winning-cta::before {
  display: none !important;
  /* Remove glow/blur effect */
}

/* Investor Solutions Refinement (Light Theme) */
.theme-investor .detailed-services {
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.02);
  /* Very subtle separation if needed, or none for seamless */
}

.theme-investor .subsection-title {
  color: var(--banking-dark);
}

.theme-investor .spicy-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.theme-investor .spicy-card:hover {
  background: #ffffff;
  border-color: var(--banking-teal);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  /* Gentle lift */
  transform: translateY(-3px);
}

.theme-investor .spicy-card h3 {
  color: var(--banking-dark);
}

.theme-investor .spicy-card p {
  color: #475569;
}

.theme-investor .card-list li {
  color: #64748b;
  border-bottom: 1px solid #f1f5f9;
}

.theme-investor .card-icon {
  color: #cbd5e1;
  /* Subtle gray icon initially */
  opacity: 1;
}

.theme-investor .spicy-card:hover .card-icon {
  color: var(--banking-blue);
}

/* Visual Placeholder Refinement (Phase 2 - No Gray) */
.theme-investor .visual-placeholder {
  background: rgba(224, 242, 254, 0.5);
  /* Clear Light Blue Tint - No Gray */
  border: 1px solid rgba(60, 164, 236, 0.2);
  box-shadow: inset 0 0 20px rgba(60, 164, 236, 0.05);
}

/* Unified Element Colors (Banking Gradient) */
.theme-investor .chart-bar {
  background: linear-gradient(to top, var(--banking-blue), var(--banking-teal));
  opacity: 1;
  /* Solid pop */
}

.theme-investor .chart-line {
  border-color: var(--banking-blue);
  border-width: 2px;
  filter: drop-shadow(0 2px 4px rgba(60, 164, 236, 0.2));
}

/* Unified Network Nodes */
.theme-investor .node {
  background: var(--banking-teal);
  box-shadow: 0 0 10px rgba(29, 181, 195, 0.4);
}

.theme-investor .node.center-node {
  background: var(--banking-blue);
  box-shadow: 0 0 15px rgba(60, 164, 236, 0.5);
}

.theme-investor .connection {
  background: linear-gradient(90deg, var(--banking-blue), transparent);
  opacity: 0.5;
}

/* Unified Shield */
.theme-investor .shield-icon {
  stroke: var(--banking-blue);
  fill: rgba(60, 164, 236, 0.1);
  filter: drop-shadow(0 4px 6px rgba(60, 164, 236, 0.1));
}

/* =========================================
   Advisory Light Theme (New Request)
   ========================================= */

.theme-advisory-light {
  /* Fluid Branding Flow: White -> Light Blue Tint -> Light Gray */
  background: linear-gradient(180deg, #ffffff 0%, rgba(224, 242, 254, 0.2) 40%, rgba(241, 245, 249, 0.5) 100%);
  background-attachment: fixed;
  /* Optional: keeps gradient stable */
  color: var(--banking-dark);
}

.theme-advisory-light .header {
  /*background: rgba(255, 255, 255, 0.9);*/
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.theme-advisory-light .header.scrolled .nav-link,
.theme-advisory-light .header.scrolled .company-name,
.theme-advisory-light .header.scrolled .dropdown-arrow {
  color: #ffffff !important;
}

.theme-advisory-light .nav-link {
  color: var(--banking-dark);
}

.theme-advisory-light .logo-link {
  color: var(--banking-dark);
}

/* Hero - Glass Shine Effect */
.theme-advisory-light .service-page-hero {
  background: transparent;
  /* Allow body gradient to show through if needed, though ab-pos bg covers it */
  position: relative;
  overflow: hidden;
}

.theme-advisory-light .advisory-bg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  top: 0;
  right: 0;
  mask-image: none !important;
  -webkit-mask-image: none !important;
  background: radial-gradient(circle at top right, rgba(224, 242, 254, 0.7) 0%, rgba(255, 255, 255, 0.95) 75%), url('public/advisory-header-bg.png') center / cover no-repeat !important;
  opacity: 1;
  z-index: 0;
}

.theme-advisory-light .hero-title,
.theme-advisory-light .hero-subtitle,
.theme-advisory-light .hero-label {
  color: var(--banking-dark);
  text-shadow: none;
}

.theme-advisory-light .hero-label {
  background: rgba(60, 164, 236, 0.1);
  color: var(--banking-blue);
  border: 1px solid rgba(60, 164, 236, 0.2);
}

/* Content Sections */
.theme-advisory-light .section-heading,
.theme-advisory-light .subsection-title {
  color: var(--banking-dark);
}

.theme-advisory-light p {
  color: #475569;
}

.theme-advisory-light .spicy-card,
.theme-advisory-light .step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.theme-advisory-light .spicy-card:hover,
.theme-advisory-light .step-card:hover {
  border-color: var(--banking-teal);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transform: translateY(-3px);
  background: #ffffff;
}

.theme-advisory-light .spicy-card h3,
.theme-advisory-light .step-card h4 {
  color: var(--banking-dark);
}

.theme-advisory-light .card-list li {
  color: #77a1aa;
  border-bottom: 1px solid #a2c1c8;
}

.theme-advisory-light .card-icon,
.theme-advisory-light .step-marker {
  color: #cbd5e1;
  opacity: 1;
}

.theme-advisory-light .spicy-card:hover .card-icon,
.theme-advisory-light .step-card:hover .step-marker {
  color: var(--banking-blue);
}

.theme-advisory-light .card-glow {
  display: none;
}

/* Fix for Dark Sections in Light Theme (Overrides) */
/* Fix for Dark Sections in Light Theme (Overrides) */
.theme-advisory-light .service-overview,
.theme-advisory-light .detailed-services {
  background-color: transparent !important;
  /* Allow body gradient to show */
  border-top-color: rgba(60, 68, 92, 0.1);
  border-bottom-color: rgba(60, 68, 92, 0.1);
}

/* Specific Onboarding Background (Footer Transition) */
.theme-advisory-light .onboarding-section {
  background: #f0f9ff !important;
  /* Solid Light Brand Blue */
  border-top: 1px solid rgba(60, 164, 236, 0.1);
  border-bottom: none;
  /* Flow into footer */
}

/* Unified Solid Card Backgrounds for Onboarding */
.theme-advisory-light .step-card,
.theme-advisory-light .step-card:hover {
  background: #f0f9ff !important;
  /* Match section background */
  box-shadow: none;
  /* Flat look per "one color" request */
  border: 1px solid rgba(60, 164, 236, 0.2);
  /* Subtle structure */
}

.theme-advisory-light .step-card:hover {
  border-color: var(--banking-blue);
  transform: translateY(-2px);
}

.theme-advisory-light .onboarding-header h2,
.theme-advisory-light .onboarding-header p {
  color: var(--banking-dark);
}

.theme-advisory-light .service-overview p,
.theme-advisory-light .detailed-services p,
.theme-advisory-light .onboarding-section p {
  color: #475569;
}

/* Stats */
.theme-advisory-light .overview-stat {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* =========================================
   Advisory Services Layout (Full Width 6-Col)
   ========================================= */

/* Ensure wrapper spans full width and is centered */
.theme-advisory-light .detailed-services .container {
  max-width: 98% !important;
  /* "Over the entire page" */
  padding-left: 1rem;
  padding-right: 1rem;
  margin: 0 auto;
  /* Center the container */
  text-align: center;
  /* Center the heading */
}

/* Force single row layout with perfect centering (Flexbox) */
.theme-advisory-light .spicy-grid.vertical-stack {
  display: flex !important;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
  width: 100%;
}

.theme-advisory-light .spicy-card {
  flex: 1;
  /* Distribute space equally */
  min-width: 0;
  /* Prevent overflow */
  text-align: left;
  /* Center text inside cards */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.theme-advisory-light .card-list {
  text-align: left;
  /* Keep lists readable */
  display: inline-block;
  /* Allow centering block but left text */
  margin: 0 auto;
}

.theme-advisory-light .card-icon {
  margin: 0 auto 1rem;
  /* Center icon */
}

/* Responsive Scaling for the 6-col grid */
@media (max-width: 1600px) {
  .theme-advisory-light .spicy-grid.vertical-stack {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    /* 2 rows of 3 */
  }
}

@media (max-width: 900px) {
  .theme-advisory-light .spicy-grid.vertical-stack {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .theme-advisory-light .spicy-grid.vertical-stack {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
}

.theme-advisory-light .big-stat {
  color: var(--banking-blue);
  text-shadow: none;
}

.theme-advisory-light .stat-desc {
  color: var(--banking-dark);
}

.theme-advisory-light .highlight-text {
  background: linear-gradient(90deg, var(--banking-blue), var(--banking-mint));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =========================================
   Service Page Header Standardization (STRICT)
   Enforces consistent look across Advisory, Investors, Corporates
   ========================================= */
.service-page .header {
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  /* Consistent subtle border */
}

/* Scrolled State - Dark Glass */
.service-page .header.scrolled {
  background: rgba(3, 7, 18, 0.85) !important;
  /* Deep dark glass */
  color: #fff;
  backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Compulsory White Text for Service Headers */
.service-page .header .nav-link,
.service-page .header .company-name,
.service-page .header .logo-link {
  color: var(--banking-dark);
  font-family: var(--font-primary) !important;
  /* Force font consistency */
}

.service-page .header .nav-link:hover {
  color: var(--accent-blue) !important;
}

/* Ensure Logo behaves (handled by JS, but CSS reinforcement) */
.service-page .header .logo-img {
  filter: none !important;
}

/* =========================================
   Mobile Navigation Menu
   ========================================= */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  /* Above mobile menu */
  margin-left: auto;
  /* Push to the right */
}

/* On desktop, keep nav beside logo */
/* On mobile, mobile-menu-btn will be beside logo */

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  margin: 5px 0;
  transition: 0.3s;
}

/* Service pages have dark text by default until scrolled */
.service-page .header:not(.scrolled) .mobile-menu-btn span {
  background-color: var(--banking-dark);
}

@media (max-width: 900px) {
  .header-container {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    /* Slightly wider for better breathing room */
    max-width: 80vw;
    height: auto;
    max-height: 100vh;
    border-bottom-left-radius: 16px;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    /* Ensure children can take full width */
    padding: 6rem 2rem 2rem 2rem;
    gap: 1.5rem;
    transition: 0.4s ease-in-out;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
  }

  .nav.active {
    right: 0;
  }

  /* When menu is open, hamburger to X */
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -5px);
  }

  /* Fix hamburger color when menu is open */
  .mobile-menu-btn.active span {
    background-color: #fff !important;
  }

  .nav-item-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    /* crucial for inner nav-link width */
  }

  .nav-item-dropdown .dropdown-menu {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0.5rem 0 0 1rem;
    /* Indent sub items */
    display: none;
    /* Hide by default on mobile */
    opacity: 1;
    visibility: visible;
    min-width: unset;
    width: 100%;
  }

  .nav-item-dropdown.active .dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }

  .nav-link {
    font-size: 1.25rem;
    color: #fff !important;
    /* Force white in the mobile menu */
    display: flex;
    /* Flex for space-between */
    justify-content: space-between;
    /* Text left, Arrow right */
    align-items: center;
    width: 100%;
    padding: 0.25rem 0;
    /* give a bit of tap target */
  }

  .dropdown-menu a {
    padding: 0.6rem 0;
    white-space: normal;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7) !important;
    /* Slightly dimmer to show hierarchy */
    display: block;
    width: 100%;
  }

  .dropdown-menu a:hover {
    background: transparent;
    color: var(--accent-blue) !important;
  }

  /* Adjust dropdown arrows for mobile */
  .dropdown-arrow {
    float: none;
    margin-left: 0.5rem;
    transition: transform 0.3s;
    font-size: 0.9em;
  }

  .nav-item-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
  }
}

/* Newsletter Subscription Response Message */
.newsletter-response-message {
  flex-basis: 100%;
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: right;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.newsletter-response-message.success {
  color: #10b981;
  /* Emerald Green */
}

.newsletter-response-message.error {
  color: #ef4444;
  /* Rose Red */
}

.newsletter-response-message.show {
  opacity: 1;
}

@media (max-width: 900px) {
  .newsletter-response-message {
    text-align: center;
  }
}

/* Contact Form Response Message */
.contact-response-message {
  margin-top: 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-response-message.success {
  color: #10b981;
  /* Emerald Green */
}

.contact-response-message.error {
  color: #ef4444;
  /* Rose Red */
}

.contact-response-message.show {
  opacity: 1;
}

@media (max-width: 900px) {
  .contact-response-message {
    text-align: center;
  }
}

/* ==========================================================================
   Schedule a Call Modal Styles
   ========================================================================== */

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  padding: 2rem 1rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Modal Card */
.modal-card {
  background: #020617;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  width: 100%;
  max-width: 500px;
  padding: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(56, 189, 248, 0.05);
  position: relative;
  margin: auto;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

/* Close Button */
.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  color: #fff;
  transform: rotate(90deg);
}

/* Header */
.modal-header {
  margin-bottom: 2rem;
  text-align: center;
}

.modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.modal-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* Form Styles */
.modal-form .form-group {
  margin-bottom: 1.5rem;
}

.modal-form .form-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

/* Platform Grid & Selection */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.platform-card {
  cursor: pointer;
  position: relative;
}

.platform-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.platform-card-content {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.platform-card-content:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.platform-icon {
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.platform-card:hover .platform-icon {
  transform: scale(1.1);
}

.platform-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #cbd5e1;
}

/* Active glowing styles per platform */
.platform-card.active[data-platform="phone"] .platform-card-content {
  background: rgba(56, 189, 248, 0.03);
  border-color: #38bdf8;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}

.platform-card.active[data-platform="phone"] .platform-name {
  color: #38bdf8;
  font-weight: 600;
}

.platform-card.active[data-platform="whatsapp"] .platform-card-content {
  background: rgba(16, 185, 129, 0.03);
  border-color: #10b981;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.platform-card.active[data-platform="whatsapp"] .platform-name {
  color: #10b981;
  font-weight: 600;
}

.platform-card.active[data-platform="telegram"] .platform-card-content {
  background: rgba(14, 165, 233, 0.03);
  border-color: #0ea5e9;
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.15);
}

.platform-card.active[data-platform="telegram"] .platform-name {
  color: #0ea5e9;
  font-weight: 600;
}

.platform-card.active[data-platform="signal"] .platform-card-content {
  background: rgba(139, 92, 246, 0.03);
  border-color: #8b5cf6;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.15);
}

.platform-card.active[data-platform="signal"] .platform-name {
  color: #8b5cf6;
  font-weight: 600;
}

/* Validation Messages */
.validation-msg {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  margin-top: 0.35rem;
  min-height: 1rem;
  transition: color 0.2s ease;
}

.validation-msg.error {
  color: #ef4444;
}

.validation-msg.success {
  color: #10b981;
}

/* Success Checkmark Animation container */
.schedule-success-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  text-align: center;
}

.checkmark-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  border: 2px solid #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #10b981;
  margin-bottom: 1.5rem;
  animation: checkmark-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes checkmark-pop {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.success-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.75rem;
}

.success-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.6;
}

/* Phone Input Container (Select + Input) */
.phone-input-container {
  display: flex;
  gap: 0.5rem;
}

.country-select {
  width: 115px;
  min-width: 115px;
  background-color: rgba(2, 6, 23, 0.4);
  cursor: pointer;
  padding-right: 0.5rem;
}

.phone-number-input {
  flex: 1;
}

/* Handle Input Container */
.handle-input-container {
  display: flex;
  position: relative;
  align-items: center;
}

.handle-prefix {
  position: absolute;
  left: 1rem;
  color: #64748b;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  user-select: none;
}

.handle-input {
  padding-left: 2.2rem !important;
  width: 100%;
}

/* Phone Responsive Overrides for Modal */
@media (max-width: 500px) {
  .modal-overlay {
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0.75rem;
  }

  .modal-card {
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1rem auto;
  }

  .modal-header {
    margin-bottom: 1.25rem;
  }

  .modal-title {
    font-size: 1.5rem;
  }

  .modal-form .form-group {
    margin-bottom: 1rem;
  }

  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .platform-card-content {
    padding: 0.6rem 0.75rem;
    gap: 0.5rem;
  }

  .platform-name {
    font-size: 0.8rem;
  }

  .phone-input-container {
    flex-direction: row;
    gap: 0.5rem;
  }

  .country-select {
    width: 95px;
    min-width: 95px;
    font-size: 0.85rem;
    padding-left: 0.5rem;
  }
}

/* ==========================================================================
   Our Values Page Mobile Responsiveness
   ========================================================================== */
@media (max-width: 900px) {
  /* Reduce Hero Padding on mobile */
  .corp-hero-light {
    padding: 6rem 0 3rem !important;
  }

  /* Reduce takeover section padding to prevent excessive spacing */
  #interactive-takeover {
    padding: 2rem 0 4rem !important;
  }

  /* Reset sticky cards to standard vertical flow and adjust layout */
  .value-sticky-card {
    position: relative !important;
    top: auto !important;
    min-height: auto !important;
    padding: 2rem 1.5rem !important;
    margin-bottom: 2rem !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
    height: auto !important;
  }

  /* Scale title font size down on mobile */
  .value-sticky-card h2 {
    font-size: 2rem !important;
    margin-bottom: 1rem !important;
  }

  /* Adjust description fonts for readability */
  .value-sticky-card p {
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    max-width: 100% !important;
  }

  /* Shrink background numbers so they do not overlap text */
  .value-sticky-card > div:first-child {
    font-size: 10rem !important;
    top: -20px !important;
    right: -20px !important;
  }
}