/* B&B Digitals Premium Styling System */

/* ----------------------------------------------------
   1. Brand Colors & Tokens (CSS Variables)
------------------------------------------------------- */
:root {
  --primary-cyan: #00AAB6;
  --primary-blue: #1E88C8;
  --accent-sky: #00AAB6;
  
  /* Backgrounds */
  --bg-dark-deep: #06111F;
  --bg-dark-card: rgba(255, 255, 255, 0.06);
  --bg-dark-input: #071A2F;
  --bg-light: #06111F;
  --bg-light-sec: #071A2F;
  --bg-light-card: rgba(255, 255, 255, 0.06);
  
  /* Text colors */
  --text-dark: #FFFFFF;
  --text-dark-light: #B8C7D9;
  --text-light: #FFFFFF;
  --text-light-dim: #B8C7D9;
  
  /* Borders & Shadows */
  --border-light: rgba(0, 170, 182, 0.20);
  --border-dark: rgba(0, 170, 182, 0.15);
  --shadow-premium: 0 10px 30px -10px rgba(3, 17, 31, 0.5);
  --shadow-glow: 0 15px 40px -10px rgba(0, 170, 182, 0.25);
  
  /* Layout constraints */
  --container-max: 1200px;
  --header-height: 95px;
  --radius-lg: 16px;
  --radius-md: 8px;
}

/* ----------------------------------------------------
   2. Reset & Typography
------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.5rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

select, input, button {
  font-family: inherit;
  font-size: 1rem;
}

/* ----------------------------------------------------
   3. Utility Classes & Layout Grids
------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.grid {
  display: grid;
  gap: 32px;
}

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

.flex { display: flex; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.align-end { align-items: flex-end; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 16px; }
.gap-4 { gap: 24px; }

.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mt-5 { margin-top: 48px; }
.mb-3 { margin-bottom: 16px; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-white { color: var(--text-light) !important; }
.text-cyan { color: var(--primary-cyan) !important; }

.max-w-700 { max-width: 700px; margin-left: auto; margin-right: auto; }
.bg-light-sec { background-color: var(--bg-light-sec); }
.bg-dark-deep { background-color: var(--bg-dark-deep); }

.section-padding {
  padding: 100px 0;
}

.eyebrow {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-blue);
  display: inline-block;
  margin-bottom: 16px;
}

.eyebrow-accent {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-blue);
  display: inline-block;
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}

.eyebrow-accent::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 2px;
  background-color: currentColor;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-dark-light);
  margin-top: 12px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.border-top { border-top: 1px solid var(--border-light); }
.border-bottom { border-bottom: 1px solid var(--border-light); }
.border-dark { border-color: var(--border-dark) !important; }

/* ----------------------------------------------------
   4. Buttons
------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-large {
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #0056cc 100%);
  color: var(--text-light);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 114, 255, 0.3);
}

.btn-glow:hover {
  box-shadow: var(--glow-blue);
}

.btn-secondary {
  background: transparent;
  border-color: var(--border-light);
  color: var(--text-dark);
}

.btn-secondary:hover {
  background-color: var(--bg-light-sec);
  border-color: var(--text-dark-light);
}

.btn-white {
  background-color: #FFFFFF;
  color: #06111F;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

/* ----------------------------------------------------
   5. Glowing Orbs
------------------------------------------------------- */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
}

.hero-glow-1 {
  width: 400px;
  height: 400px;
  background-color: var(--primary-cyan);
  top: -100px;
  right: -50px;
}

.hero-glow-2 {
  width: 500px;
  height: 500px;
  background-color: var(--primary-blue);
  top: 200px;
  left: -100px;
}

.solutions-glow {
  width: 600px;
  height: 600px;
  background-color: var(--primary-blue);
  top: 10%;
  left: 20%;
  opacity: 0.1;
}

/* ----------------------------------------------------
   6. Header / Navbar Styling
------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(6, 17, 31, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 170, 182, 0.15);
  z-index: 1000;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background-color: rgba(7, 26, 47, 0.95);
  box-shadow: var(--shadow-premium);
  height: 75px;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
}

/* Dropdown Base */
.has-dropdown {
  position: relative;
}

.dropdown-arrow {
  font-size: 14px;
  margin-left: 4px;
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 88%;
  left: 50%;
  transform: translateX(-48%) translateY(8px);
  width: 90VW;
  background: rgba(7, 17, 31, 0.96);
  border: 1px solid rgba(0, 217, 255, 0.18);
  border-radius: 22px;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.35s ease;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
  z-index: 999;
  
}

.has-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-41%) translateY(8px);
}

.mega-menu-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.mega-col {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}



.mega-col h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.4;
}

.mega-col a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.4;
  padding: 9px 0;
  text-decoration: none;
  transition: all 0.25s ease;
}

.mega-col a:hover {
  color: #00D9FF;
  transform: translateX(4px);
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .mega-menu {
    position: static;
    width: 100%;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    padding: 16px;
    margin-top: 12px;
    border-radius: 18px;
  }

  .has-dropdown.active .mega-menu {
    display: block;
  }

  .mega-menu-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .mega-col {
    padding: 16px;
  }

  .mega-col h4 {
    font-size: 14px;
  }

  .mega-col a {
    font-size: 13px;
  }
}

/* Simple Dropdown for Insights */
.small-dropdown {
  position: relative;
}

.simple-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  background: rgba(7, 17, 31, 0.96);
  border: 1px solid rgba(0, 217, 255, 0.18);
  border-radius: 16px;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px);
  transition: all 0.3s ease;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  z-index: 999;
}

.small-dropdown:hover .simple-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(8px);
}

.simple-dropdown-menu a {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.simple-dropdown-menu a:hover {
  color: #00D9FF;
  background: rgba(0, 217, 255, 0.08);
}

/* Mobile */
@media (max-width: 991px) {
  .simple-dropdown-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    min-width: 100%;
    margin-top: 10px;
  }

  .small-dropdown.active .simple-dropdown-menu {
    display: block;
  }
}


.site-header .logo-img {
  width: 281.09px;
  height: 80px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled .logo-img {
  width: 228.38px;
  height: 65px;
}

.logo-svg {
  display: block;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark-light);
  font-size: 0.95rem;
}

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

.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  transition: all 0.3s ease;
}


/* Navbar Icons */
.nav-link i {
  font-size: 14px;
  margin-right: 7px;
  color: #00D9FF;
}

.nav-link .dropdown-icon {
  margin-right: 0;
  margin-left: 7px;
  font-size: 12px;
  transition: transform 0.25s ease;
}

.has-dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

/* Mega Menu Icons */
.mega-col h4 i {
  color: #00D9FF;
  
  font-size: 15px;
}

.mega-col a i {
  width: 18px;
  
  color: rgba(0, 217, 255, 0.85);
  font-size: 13px;
  transition: all 0.25s ease;
}

.mega-col a:hover i {
  color: #ffffff;
}

/* Simple Dropdown Icons */
.simple-dropdown-menu a i {
  width: 18px;
  margin-right: 8px;
  color: rgba(0, 217, 255, 0.85);
  font-size: 13px;
}

.simple-dropdown-menu a:hover i {
  color: #ffffff;
}
/* ----------------------------------------------------
   7. Hero Section Styling
------------------------------------------------------- */
.hero-section {
  position: relative;
  padding-top: calc(var(--header-height) + 110px); /* Extra padding for top */
  padding-bottom: 120px; /* Balanced bottom padding */
  overflow: hidden;
  background-color: var(--bg-light);
}

/* Low-opacity cyan/blue dotted grid background pattern */
.hero-dotted-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(0, 170, 182, 0.08) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 1;
}

/* Subtle abstract outline shapes */
.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero-shape-1 {
  position: absolute;
  top: 15%;
  right: 5%;
  width: 250px;
  height: 250px;
  border: 1.5px solid rgba(0, 170, 182, 0.07);
  border-radius: 40px;
  transform: rotate(25deg);
}

.hero-shape-2 {
  position: absolute;
  bottom: 15%;
  left: 8%;
  width: 180px;
  height: 180px;
  border: 1.5px solid rgba(30, 136, 200, 0.06);
  border-radius: 30px;
  transform: rotate(-15deg);
}

.hero-container {
  position: relative;
  z-index: 2;
  align-items: center; /* Center align left and right columns vertically */
}

.hero-headline {
  margin-top: 16px;
  margin-bottom: 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-paragraph {
  font-size: 1.15rem;
  color: var(--text-dark-light);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 580px;
}

/* Hero primary and outline actions */
.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #0f4d9a 0%, #1e88c8 100%);
  color: #FFFFFF;
  border: 1px solid rgba(0, 170, 182, 0.2);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 136, 200, 0.35);
  background: linear-gradient(135deg, #125cb7 0%, #249be2 100%);
}

.btn-hero-primary svg.btn-arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
  stroke: currentColor;
}

.btn-hero-primary:hover svg.btn-arrow {
  transform: translateX(4px);
}

.btn-hero-outline {
  background: transparent;
  border: 1.5px solid rgba(0, 170, 182, 0.3);
  color: var(--primary-cyan);
}

.btn-hero-outline:hover {
  background: rgba(0, 170, 182, 0.05);
  border-color: var(--primary-cyan);
  transform: translateY(-2px);
}

/* Horizontal stats sitting inline directly under buttons */
.hero-stats-inline {
  display: flex;
  align-items: center;
  gap: 28px;
  border-top: 1px solid rgba(0, 170, 182, 0.15);
  padding-top: 32px;
  width: fit-content;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-lbl {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--text-dark-light);
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background-color: rgba(0, 170, 182, 0.15);
}

/* ----------------------------------------------------
   8. Dashboard & Optimizer Forms
------------------------------------------------------- */
.dashboard-card {
  background-color: rgba(7, 26, 47, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 170, 182, 0.25);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 170, 182, 0.1);
  padding: 36px;
  position: relative;
  transition: all 0.3s ease;
  z-index: 5;
}

.dashboard-card:hover {
  border-color: rgba(0, 170, 182, 0.4);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 170, 182, 0.2);
}

.hero-dashboard {
  max-width: 480px;
  margin-left: auto;
}

.dashboard-card-header {
  border-bottom: 1px solid rgba(0, 170, 182, 0.15);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.dashboard-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(30, 136, 200, 0.15);
  border: 1px solid rgba(30, 136, 200, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
}

.dashboard-logo-icon svg {
  stroke: var(--primary-blue);
}

.dashboard-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}

.dashboard-card-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--text-dark-light);
  line-height: 1.2;
  margin-top: 2px;
}

.live-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(30, 136, 200, 0.1);
  border: 1px solid rgba(30, 136, 200, 0.2);
  padding: 4px 10px;
  border-radius: 20px;
}

.live-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #22c55e;
  position: relative;
}

.live-status-dot::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: inherit;
  top: 0;
  left: 0;
  animation: pulse 1.8s infinite ease-in-out;
}

.live-status-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dashboard-card-metrics {
  gap: 16px;
  margin-bottom: 24px;
}

.dashboard-metric-box {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 170, 182, 0.12);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dashboard-metric-lbl {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--text-dark-light);
  margin-bottom: 4px;
  font-weight: 500;
}

.dashboard-metric-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
}

.dashboard-metric-trend {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.dashboard-metric-trend.positive {
  color: #10b981;
}

.optimizer-form .form-group {
  margin-bottom: 16px;
}

.optimizer-form input, 
.optimizer-form select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.5px solid rgba(0, 170, 182, 0.15);
  outline: none;
  transition: all 0.3s ease;
  background-color: #071a2f;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
}

.optimizer-form input::placeholder {
  color: #5d758e;
}

.optimizer-form input:focus, 
.optimizer-form select:focus {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 0 3px rgba(0, 170, 182, 0.1);
  background-color: #09213b;
}

.custom-select-wrapper {
  position: relative;
}

.custom-select-wrapper::after {
  content: "▼";
  font-size: 0.65rem;
  color: #5d758e;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.optimizer-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  color: #FFFFFF;
}

.optimizer-form select option {
  background-color: #071a2f;
  color: #FFFFFF;
}

/* Floating growth card overlapping the bottom of dashboard card */
.floating-growth-card {
  position: absolute;
  bottom: -22px;
  left: -28px;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  z-index: 10;
  border: 1px solid rgba(0, 0, 0, 0.04);
  animation: heroFloatCard 3.5s ease-in-out infinite;
}

@keyframes heroFloatCard {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

.growth-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e6fbf2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
}

.growth-stats-text {
  display: flex;
  flex-direction: column;
}

.growth-stats-val {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: #06111F;
  line-height: 1.25;
}

.growth-stats-lbl {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
  line-height: 1.2;
}

/* Success toast inside optimizer */
.optimizer-success-badge {
  display: none; /* JS toggles display flex */
  align-items: center;
  gap: 8px;
  background-color: rgba(34, 197, 94, 0.1);
  border: 1.5px solid rgba(34, 197, 94, 0.2);
  color: #22c55e;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  margin-top: 16px;
  font-weight: 500;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ----------------------------------------------------
   9. Growth Studies Styling
------------------------------------------------------- */
.growth-studies-carousel-wrapper {
  position: relative;
  width: 1076.75px;
  height: 592.38px;
  margin: 60px auto 0 auto;
}

/* 3D Stacked Card Deck effect on the left */
.growth-deck-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 1076.75px;
  height: 592.38px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(7, 26, 47, 0.9) 0%, rgba(14, 77, 154, 0.7) 100%);
  border: 1px solid rgba(0, 170, 182, 0.20);
  backdrop-filter: blur(10px);
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.deck-card-1 {
  transform: translateX(-24px) scale(0.96);
  z-index: 3;
  opacity: 0.7;
}

.deck-card-2 {
  transform: translateX(-48px) scale(0.92);
  z-index: 2;
  opacity: 0.4;
}

.deck-card-3 {
  transform: translateX(-72px) scale(0.88);
  z-index: 1;
  opacity: 0.15;
}

/* Slide Cards Container */
.growth-carousel-slides {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100%;
}

.growth-slide {
  display: none;
  opacity: 0;
  width: 100%;
  height: 100%;
  transition: opacity 1.6s ease;
}

.growth-slide.active {
  display: block;
  opacity: 1;
  animation: fadeInSlide 1s ease forwards;
}

@keyframes fadeInSlide {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.growth-slide-card {
  display: flex;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(7, 26, 47, 0.95) 0%, rgba(14, 77, 154, 0.85) 100%);
  border: 1px solid rgba(0, 170, 182, 0.20);
  border-radius: var(--radius-lg);
  padding: 48px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-glow), 0 0 50px rgba(0, 170, 182, 0.1);
  position: relative;
  overflow: hidden;
  align-items: center;
  gap: 32px;
}

/* Inner decorative cyan blur */
.growth-slide-card::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background-color: var(--primary-cyan);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
}

.growth-slide-left {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.growth-slide-right {
  flex: 0 0 644.5px;
  width: 644.5px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.growth-brand-logo {
  color: var(--primary-cyan);
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.growth-brand-logo .brand-icon {
  stroke: var(--primary-cyan);
  filter: drop-shadow(0 0 4px rgba(0, 170, 182, 0.5));
}

.growth-main-metric {
  margin-bottom: 16px;
}

.growth-main-metric .metric-num {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  display: block;
}

.growth-main-metric .metric-lbl {
  font-size: 1rem;
  color: var(--text-light);
  opacity: 0.95;
  font-weight: 600;
  margin-top: 4px;
  display: block;
}

.growth-sub-metric {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  margin-bottom: 24px;
  display: inline-flex;
  flex-direction: column;
  align-self: flex-start;
}

.growth-sub-metric .sub-metric-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-cyan);
  line-height: 1.2;
}

.growth-sub-metric .sub-metric-lbl {
  font-size: 0.8rem;
  opacity: 0.8;
  color: var(--text-light-dim);
}

.growth-slide-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 32px;
  color: var(--text-dark-light);
}

.growth-read-btn {
  align-self: flex-start;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 12px 24px;
  border: 1px solid var(--primary-cyan);
  background: transparent;
  color: var(--primary-cyan);
  transition: all 0.3s ease;
}

.growth-read-btn:hover {
  background: var(--primary-cyan);
  color: #06111F;
  box-shadow: 0 0 15px rgba(0, 170, 182, 0.3);
}

/* Right side visual area */
.growth-chart-frame {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid rgba(0, 170, 182, 0.35);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 170, 182, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.growth-chart-frame:hover {
  border-color: var(--primary-cyan);
  box-shadow: 0 15px 40px rgba(0, 170, 182, 0.25);
}

.growth-chart-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: var(--radius-md);
  transition: transform 0.5s ease;
}

.growth-chart-frame:hover .growth-chart-image {
  transform: scale(1.02);
}

/* Navigation & Controls */
.growth-carousel-controls {
  position: absolute;
  bottom: -68px;
  right: 0;
  display: flex;
  gap: 12px;
  z-index: 10;
}

.growth-control-btn {
  background: rgba(7, 26, 47, 0.8);
  border: 1px solid rgba(0, 170, 182, 0.25);
  color: var(--text-light);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(5px);
}

.growth-control-btn:hover {
  background: var(--primary-cyan);
  color: #06111F;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 15px rgba(0, 170, 182, 0.4);
}

/* Dots pagination */
.growth-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.growth-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.growth-dot.active {
  background: var(--primary-cyan);
  width: 24px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 170, 182, 0.5);
}

/* Responsiveness overrides for Growth Studies */
@media (max-width: 1199px) {
  .growth-studies-carousel-wrapper {
    width: 100%;
    max-width: 960px;
    height: auto;
  }
  
  .growth-deck-card {
    width: 100%;
    height: 100%;
  }

  .growth-slide-card {
    padding: 36px;
  }

  .growth-slide-right {
    flex: 0 1 55%;
    width: 55%;
    max-width: 644.5px;
    height: auto;
    aspect-ratio: 644.5 / 400;
  }
}

@media (max-width: 991px) {
  .growth-deck-card {
    display: none; /* Hide background deck cards on mobile/tablet */
  }
  
  .growth-studies-carousel-wrapper {
    width: 100%;
    height: auto;
    max-width: 100%;
    margin-top: 35px;
  }

  .growth-slide-card {
    flex-direction: column;
    padding: 32px;
    gap: 32px;
    height: auto;
  }

  .growth-slide-left,
  .growth-slide-right {
    flex: none;
    width: 100%;
    height: auto;
  }

  .growth-slide-left {
    align-items: stretch;
  }

  .growth-main-metric .metric-num {
    font-size: 2.8rem;
  }

  .growth-slide-desc {
    max-width: 100%;
    margin-bottom: 24px;
  }

  .growth-slide-right {
    max-width: 644.5px;
    margin: 0 auto;
  }

  .growth-chart-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 644.5 / 400;
  }

  .growth-chart-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: none;
  }

  .growth-carousel-controls {
    position: static;
    margin-top: 24px;
    justify-content: center;
  }

  .growth-carousel-dots {
    margin-top: 16px;
  }
}

@media (max-width: 576px) {
  .growth-slide-card {
    padding: 24px;
    gap: 24px;
  }

  .growth-main-metric .metric-num {
    font-size: 2.4rem;
  }

  .growth-brand-logo {
    margin-bottom: 16px;
  }

  .growth-chart-frame {
    height: auto;
    aspect-ratio: 644.5 / 400;
  }
}

/* ----------------------------------------------------
   10. Testimonials Styling
------------------------------------------------------- */
.testimonials-section {
  background-color: var(--bg-light);
}

.testimonial-card {
  background-color: var(--bg-light-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(0, 114, 255, 0.2);
}

.stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-dark-light);
  margin-bottom: 24px;
  font-style: italic;
  line-height: 1.7;
}

.client-info {
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.client-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
}

.client-name {
  font-weight: 700;
  font-size: 0.95rem;
  display: block;
}

.client-company {
  font-size: 0.75rem;
  color: var(--text-dark-light);
  font-weight: 500;
  display: block;
}

/* ----------------------------------------------------
   11. Framework Section Styling
------------------------------------------------------- */
.grid-framework {
  grid-template-columns: 320px 1fr;
  align-items: center;
}

.framework-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.framework-tab-btn {
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  background-color: var(--bg-light-card);
}

.framework-tab-btn:hover {
  border-color: var(--primary-blue);
  transform: translateX(4px);
}

.framework-tab-btn.active {
  background-color: rgba(0, 170, 182, 0.15);
  border-color: var(--primary-cyan);
  box-shadow: 0 4px 15px rgba(0, 170, 182, 0.1);
}

.step-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-dark-light);
  margin-right: 16px;
  transition: color 0.3s ease;
}

.framework-tab-btn.active .step-num {
  color: var(--primary-blue);
}

.step-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  display: block;
}

.step-subtitle {
  font-size: 0.75rem;
  color: var(--text-dark-light);
  display: block;
  margin-top: 2px;
}

.framework-card {
  padding: 48px;
  min-height: 340px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.framework-icon-container {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--bg-dark-input);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.framework-card-title {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.framework-card-desc {
  font-size: 1rem;
  color: var(--text-dark-light);
  margin-bottom: 28px;
  max-width: 600px;
  line-height: 1.7;
}

/* ----------------------------------------------------
   12. Services Section Styling
------------------------------------------------------- */
.services-tab-wrapper {
  margin-bottom: 40px;
}

.services-toggle-container {
  background-color: var(--bg-light-sec);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  padding: 6px;
  display: inline-flex;
}

.services-toggle-btn {
  background: transparent;
  border: none;
  padding: 10px 24px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark-light);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-toggle-btn.active {
  background-color: var(--primary-blue);
  color: var(--text-light);
  box-shadow: 0 4px 12px rgba(30, 136, 200, 0.3);
}

/* Redesigned 2-Column Section Layout */
.services-two-col-layout {
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}

.services-left-col {
  position: relative;
}

.services-eyebrow {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-cyan);
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
}

.services-eyebrow::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 2px;
  background-color: currentColor;
  margin-right: 8px;
}

.services-heading {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-light);
}

.services-intro-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-light-dim);
  margin-bottom: 32px;
}

/* "Did You Know?" Card Style */
.did-you-know-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(0, 170, 182, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-card-icon svg {
  stroke: var(--primary-cyan);
}

.info-card-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--primary-cyan);
  text-transform: uppercase;
}

.info-card-desc {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Services Info Slider */
.services-info-slider {
  position: relative;
  overflow: hidden;
}

.services-info-slides {
  position: relative;
  width: 100%;
}

.services-info-slide {
  display: none;
  opacity: 0;
  width: 100%;
  transition: opacity 0.5s ease;
}

.services-info-slide.active {
  display: block;
  opacity: 1;
  animation: fadeInInfoSlide 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes fadeInInfoSlide {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Dots Navigation for Services Slider */
.services-info-dots {
  display: flex;
  justify-content: flex-start;
  gap: 6px;
  align-items: center;
}

.services-info-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.services-info-dot:hover {
  background: rgba(255, 255, 255, 0.4);
}

.services-info-dot.active {
  background: var(--primary-cyan);
  box-shadow: 0 0 8px rgba(0, 170, 182, 0.5);
  width: 16px;
  border-radius: 4px;
}

.services-cards-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background-color: var(--bg-light-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-premium);
  display: none; /* Controlled by JS filters/active-funnel classes */
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.service-card.active-funnel {
  display: flex;
}

/* Custom glowing bottom border on hover */
.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-cyan), var(--primary-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-cyan);
  box-shadow: 0 10px 30px rgba(0, 170, 182, 0.15);
}

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

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: rgba(0, 170, 182, 0.08);
  border: 1px solid rgba(0, 170, 182, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.service-icon svg {
  stroke: var(--primary-cyan);
  transition: stroke 0.3s ease;
}

.service-card:hover .service-icon {
  border-color: var(--primary-cyan);
  background-color: rgba(0, 170, 182, 0.15);
  box-shadow: 0 0 15px rgba(0, 170, 182, 0.2);
}

.service-card-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text-light);
  line-height: 1.3;
}

.service-card-desc {
  font-size: 0.9rem;
  color: var(--text-dark-light);
  margin-bottom: 24px;
  line-height: 1.6;
}

.service-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-cyan);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-link span {
  transition: transform 0.2s ease;
}

.service-card:hover .service-link span {
  transform: translateX(4px);
}

/* Responsive constraints specifically for services */
@media (max-width: 992px) {
  .services-two-col-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .services-left-col {
    position: relative;
    top: 0;
    margin-bottom: 16px;
  }
}

@media (max-width: 576px) {
  .services-cards-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: auto;
  }
}

/* ----------------------------------------------------
   13. Vertical Solutions Section Styling (Expanding Carousel)
------------------------------------------------------- */
.vertical-solutions {
  background: radial-gradient(circle at 80% 20%, rgba(30, 136, 200, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(0, 170, 182, 0.08) 0%, transparent 50%),
              #06111F;
  position: relative;
  overflow: hidden;
}

.solutions-glow-1 {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(30, 136, 200, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.solutions-glow-2 {
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 170, 182, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.solutions-carousel-container {
  display: flex;
  gap: 16px;
  width: 100%;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

/* Solution Card Base Style */
.solution-card {
  flex: 1; /* All cards have equal small width by default when inactive */
  min-width: 70px;
  background: linear-gradient(180deg, rgba(7, 26, 47, 0.4) 0%, rgba(14, 77, 154, 0.1) 100%);
  border: 1px solid rgba(0, 170, 182, 0.20);
  border-radius: 24px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 32px 16px;
  transition: flex 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.4s,
              border-color 0.4s,
              box-shadow 0.4s;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -10px rgba(3, 17, 31, 0.3);
}

.solution-card:hover {
  border-color: rgba(0, 170, 182, 0.4);
  background-color: rgba(7, 26, 47, 0.65);
  box-shadow: 0 10px 25px rgba(0, 170, 182, 0.1);
}

/* Slim State Elements */
.slim-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 32px 12px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 2;
  pointer-events: none; /* Let parent click pass through */
}

.tab-indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.20);
  transition: all 0.3s ease;
}

.vertical-tab-text {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-light-dim);
  transition: color 0.3s ease;
  user-select: none;
  margin: 16px 0;
  white-space: nowrap;
}

.tab-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.tab-icon-circle svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-light-dim);
  transition: stroke 0.3s ease;
}

/* Hover over inactive cards */
.solution-card:not(.active):hover .vertical-tab-text {
  color: var(--text-light);
}

.solution-card:not(.active):hover .tab-icon-circle {
  border-color: rgba(0, 170, 182, 0.3);
  background-color: rgba(0, 170, 182, 0.15);
}

.solution-card:not(.active):hover .tab-icon-circle svg {
  stroke: var(--primary-cyan);
}

/* Expanded State Elements (Hidden in slim state) */
.expanded-elements {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease 0.15s, visibility 0.4s ease 0.15s;
  z-index: 1;
}

/* Mobile collapsed bar always hidden on desktop */
.mobile-collapsed-bar {
  display: none;
}

.solution-card.active .slim-elements {
  opacity: 0;
  visibility: hidden;
}

.solution-card.active .expanded-elements {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Active Card Content Elements Styling */
.pill-label {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #FFFFFF;
  width: fit-content;
  margin-bottom: 20px;
  text-transform: capitalize;
  letter-spacing: 0.02em;
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-box svg {
  width: 22px;
  height: 22px;
  stroke: #FFFFFF;
  stroke-width: 1.75;
  fill: none;
}

.expanded-card-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.expanded-card-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #A3B3C2;
  line-height: 1.6;
  margin-bottom: 24px;
}

.metrics-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  width: 100%;
}

.metric-box {
  flex: 1;
  background: rgba(7, 26, 47, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 170, 182, 0.25);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 96px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 170, 182, 0.05);
  transition: all 0.3s ease;
}

.metric-box:hover {
  border-color: rgba(0, 170, 182, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 170, 182, 0.15);
}

.metric-value {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-cyan);
  line-height: 1.1;
  margin-bottom: 4px;
}

.metric-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light-dim);
  opacity: 0.85;
  line-height: 1.35;
}

.explore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--primary-cyan);
  padding: 12px 24px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-cyan);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  width: fit-content;
  margin-top: auto; /* Push to bottom of flex container */
}

.explore-btn:hover {
  background: linear-gradient(135deg, rgba(0, 170, 182, 0.8) 0%, rgba(14, 77, 154, 0.8) 100%);
  color: #FFFFFF;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 15px rgba(0, 170, 182, 0.4);
  transform: translateY(-2px);
}

/* Desktop sizing & scaling */
@media (min-width: 1200px) {
  .solutions-carousel-container {
    height: 545.5px;
    align-items: stretch;
  }
  .solution-card {
    height: 545.5px;
  }
  .solution-card.active {
    flex: 0 0 596px !important;
    width: 596px !important;
    height: 545.5px !important;
    padding: 50.89px 40px !important;
    background: linear-gradient(135deg, #091a2f 0%, #030b15 100%) !important;
    border: 1px solid rgba(0, 170, 182, 0.3) !important;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 35px rgba(0, 170, 182, 0.2);
    position: relative;
    overflow: hidden;
    cursor: default;
  }
  .solution-card.active::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(30, 136, 200, 0.25) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
  }
  .solution-card.active::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 170, 182, 0.18) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
  }
  .solution-card.active .inner-content-box {
    width: 516px;
    height: 443.72px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    position: relative;
    z-index: 1;
  }
}

/* Tablet sizing & scaling */
@media (min-width: 769px) and (max-width: 1199px) {
  .solutions-carousel-container {
    height: auto;
    min-height: 550px;
    align-items: stretch;
  }
  .solution-card {
    height: auto;
    min-height: 550px;
  }
  .solution-card.active {
    flex: 4; /* Scale width smoothly according to available space */
    padding: 40px 30px;
    background: linear-gradient(135deg, #091a2f 0%, #030b15 100%) !important;
    border: 1px solid rgba(0, 170, 182, 0.3) !important;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 170, 182, 0.15);
    position: relative;
    overflow: hidden;
    cursor: default;
  }
  .solution-card.active::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(30, 136, 200, 0.2) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
  }
  .solution-card.active::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: -80px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(0, 170, 182, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
  }
  .solution-card.active .inner-content-box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    position: relative;
    z-index: 1;
  }
  .expanded-card-heading {
    font-size: 1.8rem;
  }
}

/* Mobile sizing & stacking */
@media (max-width: 768px) {
  .solutions-carousel-container {
    flex-direction: column;
    height: auto;
    min-height: auto;
    gap: 12px;
  }
  
  .solution-card {
    flex: none !important;
    width: 100% !important;
    height: auto !important;
    min-height: 70px;
    border-radius: 20px;
    padding: 20px !important;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background-color: rgba(7, 26, 47, 0.45);
    border: 1px solid rgba(0, 170, 182, 0.15);
  }
  
  .slim-elements {
    display: none !important;
  }
  
  .mobile-collapsed-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    cursor: pointer;
  }
  
  .mobile-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .mobile-bar-left .tab-icon-circle {
    width: 32px;
    height: 32px;
    background-color: rgba(0, 170, 182, 0.08);
    border-color: rgba(0, 170, 182, 0.2);
  }
  
  .mobile-bar-left .tab-icon-circle svg {
    stroke: var(--primary-cyan);
    width: 14px;
    height: 14px;
  }
  
  .mobile-bar-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    color: var(--text-light);
  }
  
  .mobile-bar-chevron {
    color: var(--text-light-dim);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
  }
  
  .solution-card.active .mobile-bar-chevron {
    transform: rotate(180deg);
    color: var(--primary-cyan);
  }
  
  /* Expanded State Elements on Mobile */
  .solution-card .expanded-elements {
    display: none;
    opacity: 0;
    visibility: hidden;
    position: relative !important;
    width: 100%;
    height: auto;
    margin-top: 20px;
    padding: 0;
    transition: opacity 0.3s ease;
  }
  
  .solution-card.active .expanded-elements {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  .solution-card.active {
    background: linear-gradient(135deg, #091a2f 0%, #030b15 100%) !important;
    border-color: rgba(0, 170, 182, 0.3) !important;
    box-shadow: 0 10px 25px rgba(0, 170, 182, 0.15) !important;
  }
  
  .solution-card.active .inner-content-box {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
  }
  
  .expanded-card-heading {
    font-size: 1.5rem;
    margin-top: 8px;
  }
  
  .expanded-card-text {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  
  .metrics-row {
    margin-bottom: 20px;
  }
  
  .pill-label,
  .icon-box {
    display: none !important; /* hidden inside stacked elements on mobile */
  }
}

@media (max-width: 576px) {
  .metrics-row {
    flex-direction: column;
    gap: 12px;
  }
  .metric-box {
    min-height: auto;
    padding: 14px 18px;
  }
  .metric-value {
    font-size: 1.8rem;
  }
  .explore-btn {
    width: 100%;
  }
}

/* ----------------------------------------------------
   14. Featured Insights / Blog Styling
------------------------------------------------------- */
.section-header-row {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 24px;
  margin-bottom: 48px;
}

.blog-card {
  background-color: var(--bg-light-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(0, 114, 255, 0.2);
}

.blog-image {
  height: 200px;
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-light-sec);
}

/* Using CSS gradients for clean visual blog mockups */
.blog-img-1 { background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%); }
.blog-img-2 { background: linear-gradient(135deg, #581c87 0%, #8b5cf6 100%); }
.blog-img-3 { background: linear-gradient(135deg, #064e3b 0%, #10b981 100%); }
.blog-img-4 { background: linear-gradient(135deg, #7c2d12 0%, #f97316 100%); }

.blog-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.7rem;
  font-weight: 700;
  background-color: rgba(3, 7, 18, 0.7);
  color: var(--text-light);
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.blog-read-time {
  font-size: 0.75rem;
  color: var(--text-dark-light);
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.blog-title {
  font-size: 1.15rem;
  margin-bottom: 20px;
  line-height: 1.4;
}

.blog-title a:hover {
  color: var(--primary-blue);
}

.blog-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-link span {
  transition: transform 0.2s ease;
}

.blog-card:hover .blog-link span {
  transform: translateX(4px);
}

/* ----------------------------------------------------
   15. Technology Stack Styling
------------------------------------------------------- */
.tech-stack-title {
  font-size: 1.25rem;
  color: var(--text-dark-light);
  letter-spacing: 0.05em;
  margin-bottom: 32px;
}

.tech-badge {
  background-color: var(--bg-light-card);
  border: 1px solid var(--border-light);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  color: var(--text-dark-light);
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.tech-badge:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-premium);
}

/* ----------------------------------------------------
   16. Contact / CTA Banner Styling
------------------------------------------------------- */
.contact-cta-section {
  background: linear-gradient(135deg, #001233 0%, #002244 100%);
  position: relative;
  overflow: hidden;
}

.contact-cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta-banner-desc {
  font-size: 1.1rem;
  color: var(--text-light-dim);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* ----------------------------------------------------
   17. Footer Styling
------------------------------------------------------- */
.site-footer {
  padding-top: 80px;
  color: var(--text-light);
}

.grid-footer {
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  align-items: start;
}

.footer-brand-col {
  padding-right: 40px;
}

.footer-logo {
  display: inline-block;
}

.footer-logo-img {
  width: 281.09px;
  height: 80px;
  transition: all 0.3s ease;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-light-dim);
  line-height: 1.6;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  color: var(--text-light-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--primary-blue);
  color: var(--text-light);
  border-color: var(--primary-blue);
  transform: translateY(-2px);
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-light-dim);
}

.footer-links a:hover {
  color: var(--primary-cyan);
  padding-left: 4px;
}

.footer-newsletter-desc {
  font-size: 0.9rem;
  color: var(--text-light-dim);
  margin-bottom: 20px;
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
}

.footer-newsletter-form input {
  flex-grow: 1;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background-color: var(--bg-dark-input);
  border: 1px solid var(--border-dark);
  color: var(--text-light);
  outline: none;
  transition: border-color 0.3s ease;
}

.footer-newsletter-form input:focus {
  border-color: var(--primary-cyan);
}

.newsletter-success {
  display: none;
  font-size: 0.8rem;
  color: #22c55e;
  margin-top: 10px;
  font-weight: 500;
  animation: fadeIn 0.4s ease forwards;
}

.footer-bottom {
  padding: 32px 0;
}

.copyright-text {
  font-size: 0.85rem;
  color: var(--text-light-dim);
}

.status-indicator {
  font-size: 0.85rem;
  font-weight: 500;
}

.pulse-indicator.success {
  background-color: #22c55e;
}



/* ----------------------------------------------------
   18. Scroll Animation States (JS Triggers)
------------------------------------------------------- */
.fade-in-up, .fade-in-left, .fade-in-right {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.fade-in-up {
  transform: translateY(30px);
}

.fade-in-left {
  transform: translateX(-30px);
}

.fade-in-right {
  transform: translateX(30px);
}

.fade-in-up.animate-active, 
.fade-in-left.animate-active, 
.fade-in-right.animate-active {
  opacity: 1;
  transform: translate(0);
  height: 100%;
}

/* ----------------------------------------------------
   19. Responsive Layouts & Hamburger Navigation
------------------------------------------------------- */
@media (max-width: 1024px) {
  h1 { font-size: 3rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-footer { grid-template-columns: 1.5fr 1fr 1fr; }
  .newsletter-col { grid-column: span 3; margin-top: 24px; }
  .grid-framework { grid-template-columns: 1fr; }
  .framework-tabs { flex-direction: row; flex-wrap: wrap; }
  .framework-tab-btn { width: calc(50% - 6px); }
  .framework-card { min-height: auto; }
}

@media (max-width: 768px) {
  body { font-size: 15px; }

  .site-header .logo-img {
    width: 210.82px;
    height: 60px;
  }

  .site-header.scrolled .logo-img {
    width: 193.25px;
    height: 55px;
  }

  .footer-logo-img {
    width: 210.82px;
    height: 60px;
  }

  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.75rem; }
  .section-padding { padding: 60px 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-footer { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: span 2; padding-right: 0; margin-bottom: 24px; }
  .newsletter-col { grid-column: span 2; }
  
  /* Mobile Menu Overlay */
  .hamburger-menu {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-light);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 100px 32px 32px 32px;
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 24px;
  }
  
  .nav-link {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
  }
  
  .nav-cta {
    display: none; /* Can be embedded in the hamburger menu if needed, or hide */
  }

  /* Hamburger Close State Animation */
  .hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-dashboard {
    margin: 0 auto;
  }
  
  .hero-section {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 80px;
  }
  .hero-headline {
    font-size: 2.8rem;
    line-height: 1.15;
  }
  .hero-stats-inline {
    margin-top: 24px;
    gap: 20px;
    width: 100%;
    justify-content: space-around;
  }
  .hero-stat-num {
    font-size: 1.8rem;
  }
  
  .case-study-card {
    padding: 32px;
  }
  
  .case-title {
    font-size: 1.75rem;
  }
  
  .framework-tab-btn {
    width: 100%;
  }

  .framework-card {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .site-header .logo-img {
    width: 175.68px;
    height: 50px;
  }

  .site-header.scrolled .logo-img {
    width: 158.11px;
    height: 45px;
  }

  .footer-logo-img {
    width: 175.68px;
    height: 50px;
  }

  h1 { font-size: 2.25rem; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-brand-col { grid-column: span 1; }
  .newsletter-col { grid-column: span 1; }
  .grid-footer { grid-template-columns: 1fr; }
  .framework-tabs { flex-direction: column; }
  .footer-newsletter-form { flex-direction: column; }
  .hero-stats-inline {
    flex-wrap: wrap;
    gap: 16px 20px;
    justify-content: flex-start;
    padding-top: 24px;
  }
  .hero-stat-divider {
    display: none;
  }
  .dashboard-card {
    padding: 24px 20px;
  }
  .floating-growth-card {
    left: 10px;
    bottom: -24px;
  }
  .dashboard-card-metrics {
    grid-template-columns: 1fr;
  }
}
