/* ========================================
   IREKEN - Modern Business Website Styles
   Dark/Light Theme with Full Responsiveness
   ======================================== */

/* ========================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ======================================== */

:root {
  /* Brand Colors - Derived from Ireken banner */
  --brand-primary: #00d9ff;
  --brand-primary-dark: #00b8d4;
  --brand-secondary: #4d9fff;
  --brand-accent: #00ffd9;

  /* Dark Theme (Default) */
  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #2a2a2a;
  --bg-elevated: #252525;

  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-tertiary: #808080;

  --border-color: #2a2a2a;
  --border-hover: #3a3a3a;

  /* Semantic Colors */
  --success: #00d97e;
  --warning: #ffb946;
  --error: #ff4b4b;
  --info: var(--brand-primary);

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 217, 255, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 217, 255, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 217, 255, 0.2);
  --shadow-xl: 0 16px 48px rgba(0, 217, 255, 0.25);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Spacing */
  --section-padding: 100px;
  --section-padding-mobile: 60px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 9999px;
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #d5d8da;
  --bg-tertiary: #edf1f7;
  --bg-elevated: #ffffff;

  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --text-tertiary: #999999;

  --border-color: #e0e0e0;
  --border-hover: #cccccc;

  /* Adjust shadows for light theme */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
}

/* ========================================
   GLOBAL STYLES
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition:
    background-color var(--transition-normal),
    color var(--transition-normal);
}

/* Skip to content link for accessibility */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--brand-primary);
  color: #000;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: 600;
  z-index: 10000;
  border-radius: 0 0 var(--radius-md) 0;
}

.skip-to-content:focus {
  top: 0;
}

/* Selection */
::selection {
  background: var(--brand-primary);
  color: #000;
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 0;
  transition: all var(--transition-normal);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 9999;
  position: fixed;
  width: 100%;
  top: 0;
}

[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity var(--transition-fast);
}

.navbar-brand:hover {
  opacity: 0.8;
}

.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

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

/* Dark mode: ensure active nav link is visible with cyan color */
[data-theme="dark"] .nav-link.active {
  color: #00d9ff;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--brand-primary);
  transition: transform var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Dark mode: ensure underline is visible */
[data-theme="dark"] .nav-link.active::after {
  background: #00d9ff;
}

/* Theme Toggle Button */
.theme-toggle {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  background: var(--bg-elevated);
  border-color: var(--brand-primary);
  transform: scale(1.05);
}

.theme-toggle i {
  font-size: 1.25rem;
  transition: all var(--transition-normal);
  position: absolute;
}

.theme-icon-dark {
  color: var(--brand-primary);
}

.theme-icon-light {
  color: var(--warning);
}

[data-theme="dark"] .theme-icon-light {
  opacity: 0;
  transform: rotate(180deg) scale(0);
}

[data-theme="dark"] .theme-icon-dark {
  opacity: 1;
  transform: rotate(0) scale(1);
}

[data-theme="light"] .theme-icon-dark {
  opacity: 0;
  transform: rotate(180deg) scale(0);
}

[data-theme="light"] .theme-icon-light {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* Navbar Toggler (Mobile) */
.navbar-toggler {
  border: 1px solid var(--border-color);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.2);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

[data-theme="light"] .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--brand-primary) 0%,
    var(--brand-secondary) 100%
  );
  color: #000;
  box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 217, 255, 0.4);
  color: #000;
}

.btn-primary:active {
  transform: translateY(0);
}

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

.btn-outline-secondary:hover {
  background: var(--bg-tertiary);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}

/* Animated Diagonal Lines Background */
.hero-animation-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Homepage tunnel lines: extend below container so lines stay anchored to bottom edge.
   Same fix as carousel overlay — compensates for translateY(-120vh) lifting the base
   on portrait/square viewports where vh > vw. */
.hero-animation-bg .tunnel-line {
  bottom: -40vh;
  transform-origin: 0 calc(100% - 40vh);
}

.hero-animation-bg .line-half {
  height: calc(37.5% + 40vh);
}

.hero-animation-bg .line-full {
  height: calc(75% + 40vh);
}

.tunnel-line {
  position: absolute;
  width: 2px;
  bottom: 0;
  left: 0;
  opacity: 0;
  transform: rotate(45deg);
  transform-origin: bottom left;
  animation: slideUpRight 25s ease-in-out infinite;
}

/* Quarter-length lines */
.line-half {
  height: 37.5%;
}

/* Half-length lines */
.line-full {
  height: 75%;
}

/* Dark mode lines - half length with extended soft taper */
[data-theme="dark"] .line-half {
  background: linear-gradient(
    to top,
    rgba(0, 217, 255, 0.4) 0%,
    rgba(0, 217, 255, 0.4) 40%,
    rgba(0, 217, 255, 0.35) 60%,
    rgba(0, 217, 255, 0.25) 75%,
    rgba(0, 217, 255, 0.15) 85%,
    rgba(0, 217, 255, 0.05) 95%,
    rgba(0, 217, 255, 0) 100%
  );
}

/* Dark mode lines - full length */
[data-theme="dark"] .line-full {
  background: linear-gradient(
    to top,
    rgba(0, 217, 255, 0.4) 0%,
    rgba(0, 217, 255, 0.4) 50%,
    rgba(0, 217, 255, 0.4) 90%,
    rgba(0, 217, 255, 0) 100%
  );
}

/* Light mode lines - half length with extended soft taper */
[data-theme="light"] .line-half {
  background: linear-gradient(
    to top,
    rgba(0, 150, 200, 0.4) 0%,
    rgba(0, 150, 200, 0.4) 40%,
    rgba(0, 150, 200, 0.35) 60%,
    rgba(0, 150, 200, 0.25) 75%,
    rgba(0, 150, 200, 0.15) 85%,
    rgba(0, 150, 200, 0.05) 95%,
    rgba(0, 150, 200, 0) 100%
  );
}

/* Light mode lines - full length */
[data-theme="light"] .line-full {
  background: linear-gradient(
    to top,
    rgba(0, 150, 200, 0.4) 0%,
    rgba(0, 150, 200, 0.4) 50%,
    rgba(0, 150, 200, 0.4) 90%,
    rgba(0, 150, 200, 0) 100%
  );
}

/* Position each line at different horizontal positions with staggered delays */
.tunnel-line-1 {
  left: 0%;
  animation-delay: 0s;
}
.tunnel-line-2 {
  left: 5.5%;
  animation-delay: 1.4s;
}
.tunnel-line-3 {
  left: 11%;
  animation-delay: 2.8s;
}
.tunnel-line-4 {
  left: 16.5%;
  animation-delay: 4.2s;
}
.tunnel-line-5 {
  left: 22%;
  animation-delay: 5.6s;
}
.tunnel-line-6 {
  left: 27.5%;
  animation-delay: 7s;
}
.tunnel-line-7 {
  left: 33%;
  animation-delay: 8.4s;
}
.tunnel-line-8 {
  left: 38.5%;
  animation-delay: 9.8s;
}
.tunnel-line-9 {
  left: 44%;
  animation-delay: 11.2s;
}
.tunnel-line-10 {
  left: 49.5%;
  animation-delay: 12.6s;
}
.tunnel-line-11 {
  left: 55%;
  animation-delay: 14s;
}
.tunnel-line-12 {
  left: 60.5%;
  animation-delay: 15.4s;
}
.tunnel-line-13 {
  left: 66%;
  animation-delay: 16.8s;
}
.tunnel-line-14 {
  left: 71.5%;
  animation-delay: 18.2s;
}
.tunnel-line-15 {
  left: 77%;
  animation-delay: 19.6s;
}
.tunnel-line-16 {
  left: 82.5%;
  animation-delay: 21s;
}
.tunnel-line-17 {
  left: 88%;
  animation-delay: 22.4s;
}
.tunnel-line-18 {
  left: 93.5%;
  animation-delay: 23.8s;
}

/* Full-length lines fade completely out and back in once during traversal */
.line-full {
  animation-name: slideUpRightFade;
}

/* Standard line animation (quarter-length lines - no fading) */
@keyframes slideUpRight {
  0% {
    transform: rotate(45deg) translateX(0) translateY(0);
    opacity: 0;
  }
  5% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  95% {
    opacity: 0.6;
  }
  100% {
    transform: rotate(45deg) translateX(120vw) translateY(-120vh);
    opacity: 0;
  }
}

/* Full-length line animation (fades completely out and back in once) */
@keyframes slideUpRightFade {
  0% {
    transform: rotate(45deg) translateX(0) translateY(0);
    opacity: 0;
  }
  5% {
    opacity: 0.6;
  }
  25% {
    opacity: 0.8;
  }
  40% {
    opacity: 0;
  }
  55% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  95% {
    opacity: 0.6;
  }
  100% {
    transform: rotate(45deg) translateX(120vw) translateY(-120vh);
    opacity: 0;
  }
}

/* Floating Circles */
.floating-circle {
  position: absolute;
  border-radius: 50%;
  bottom: 0;
  left: 0;
  opacity: 0;
  animation: floatDiagonal 28s ease-in-out infinite;
}

/* Circle size variations - small range with size-based animation speed */
.circle-xs {
  width: 4px;
  height: 4px;
  animation-duration: 84s; /* Smallest bubbles rise slowest (3x slower than largest) */
}

.circle-sm {
  width: 6px;
  height: 6px;
  animation-duration: 56s; /* Medium bubbles rise at medium speed (2x slower than largest) */
}

.circle-md {
  width: 8px;
  height: 8px;
  animation-duration: 28s; /* Largest bubbles rise fastest (baseline speed) */
}

/* Dark mode circles */
[data-theme="dark"] .floating-circle {
  background: radial-gradient(
    circle,
    rgba(0, 217, 255, 0.6) 0%,
    rgba(0, 217, 255, 0.3) 50%,
    rgba(0, 217, 255, 0) 100%
  );
  box-shadow: 0 0 8px rgba(0, 217, 255, 0.4);
}

/* Light mode circles */
[data-theme="light"] .floating-circle {
  background: radial-gradient(
    circle,
    rgba(0, 150, 200, 0.6) 0%,
    rgba(0, 150, 200, 0.3) 50%,
    rgba(0, 150, 200, 0) 100%
  );
  box-shadow: 0 0 8px rgba(0, 150, 200, 0.4);
}

/* Position 108 circles randomly across entire container - natural distribution */
.circle-1 {
  left: 5%;
  bottom: 12%;
  animation-delay: 0.3s;
}
.circle-2 {
  left: 22%;
  bottom: 45%;
  animation-delay: 1.7s;
}
.circle-3 {
  left: 67%;
  bottom: 8%;
  animation-delay: 0.9s;
}
.circle-4 {
  left: 89%;
  bottom: 62%;
  animation-delay: 1.2s;
}
.circle-5 {
  left: 14%;
  bottom: 28%;
  animation-delay: 0.1s;
}
.circle-6 {
  left: 43%;
  bottom: 71%;
  animation-delay: 1.9s;
}
.circle-7 {
  left: 76%;
  bottom: 19%;
  animation-delay: 0.6s;
}
.circle-8 {
  left: 31%;
  bottom: 54%;
  animation-delay: 1.4s;
}
.circle-9 {
  left: 58%;
  bottom: 6%;
  animation-delay: 0.4s;
}
.circle-10 {
  left: 9%;
  bottom: 38%;
  animation-delay: 1.1s;
}
.circle-11 {
  left: 82%;
  bottom: 47%;
  animation-delay: 0.8s;
}
.circle-12 {
  left: 38%;
  bottom: 15%;
  animation-delay: 1.6s;
}
.circle-13 {
  left: 71%;
  bottom: 59%;
  animation-delay: 0.2s;
}
.circle-14 {
  left: 18%;
  bottom: 74%;
  animation-delay: 1.8s;
}
.circle-15 {
  left: 94%;
  bottom: 23%;
  animation-delay: 0.5s;
}
.circle-16 {
  left: 47%;
  bottom: 4%;
  animation-delay: 1.3s;
}
.circle-17 {
  left: 26%;
  bottom: 66%;
  animation-delay: 0.7s;
}
.circle-18 {
  left: 63%;
  bottom: 31%;
  animation-delay: 1.5s;
}
.circle-19 {
  left: 3%;
  bottom: 52%;
  animation-delay: 0s;
}
.circle-20 {
  left: 52%;
  bottom: 17%;
  animation-delay: 1s;
}
.circle-21 {
  left: 85%;
  bottom: 78%;
  animation-delay: 0.9s;
}
.circle-22 {
  left: 11%;
  bottom: 9%;
  animation-delay: 1.7s;
}
.circle-23 {
  left: 74%;
  bottom: 43%;
  animation-delay: 0.3s;
}
.circle-24 {
  left: 35%;
  bottom: 68%;
  animation-delay: 1.2s;
}
.circle-25 {
  left: 91%;
  bottom: 26%;
  animation-delay: 0.6s;
}
.circle-26 {
  left: 20%;
  bottom: 56%;
  animation-delay: 1.4s;
}
.circle-27 {
  left: 56%;
  bottom: 11%;
  animation-delay: 0.1s;
}
.circle-28 {
  left: 7%;
  bottom: 64%;
  animation-delay: 1.8s;
}
.circle-29 {
  left: 80%;
  bottom: 35%;
  animation-delay: 0.4s;
}
.circle-30 {
  left: 44%;
  bottom: 7%;
  animation-delay: 1.1s;
}
.circle-31 {
  left: 68%;
  bottom: 49%;
  animation-delay: 0.8s;
}
.circle-32 {
  left: 16%;
  bottom: 21%;
  animation-delay: 1.6s;
}
.circle-33 {
  left: 92%;
  bottom: 73%;
  animation-delay: 0.2s;
}
.circle-34 {
  left: 28%;
  bottom: 40%;
  animation-delay: 1.9s;
}
.circle-35 {
  left: 61%;
  bottom: 3%;
  animation-delay: 0.5s;
}
.circle-36 {
  left: 41%;
  bottom: 58%;
  animation-delay: 1.3s;
}
.circle-37 {
  left: 13%;
  bottom: 77%;
  animation-delay: 0.7s;
}
.circle-38 {
  left: 87%;
  bottom: 14%;
  animation-delay: 1.5s;
}
.circle-39 {
  left: 50%;
  bottom: 69%;
  animation-delay: 0.3s;
}
.circle-40 {
  left: 8%;
  bottom: 32%;
  animation-delay: 1.1s;
}
.circle-41 {
  left: 77%;
  bottom: 6%;
  animation-delay: 0.9s;
}
.circle-42 {
  left: 33%;
  bottom: 51%;
  animation-delay: 1.7s;
}
.circle-43 {
  left: 96%;
  bottom: 24%;
  animation-delay: 0.4s;
}
.circle-44 {
  left: 24%;
  bottom: 61%;
  animation-delay: 1.2s;
}
.circle-45 {
  left: 64%;
  bottom: 18%;
  animation-delay: 0.1s;
}
.circle-46 {
  left: 4%;
  bottom: 46%;
  animation-delay: 1.8s;
}
.circle-47 {
  left: 73%;
  bottom: 72%;
  animation-delay: 0.6s;
}
.circle-48 {
  left: 39%;
  bottom: 10%;
  animation-delay: 1.4s;
}
.circle-49 {
  left: 86%;
  bottom: 55%;
  animation-delay: 0.2s;
}
.circle-50 {
  left: 19%;
  bottom: 29%;
  animation-delay: 1s;
}
.circle-51 {
  left: 54%;
  bottom: 67%;
  animation-delay: 0.8s;
}
.circle-52 {
  left: 10%;
  bottom: 5%;
  animation-delay: 1.6s;
}
.circle-53 {
  left: 83%;
  bottom: 39%;
  animation-delay: 0.5s;
}
.circle-54 {
  left: 46%;
  bottom: 75%;
  animation-delay: 1.3s;
}
.circle-55 {
  left: 70%;
  bottom: 22%;
  animation-delay: 0.7s;
}
.circle-56 {
  left: 27%;
  bottom: 48%;
  animation-delay: 1.5s;
}
.circle-57 {
  left: 93%;
  bottom: 13%;
  animation-delay: 0.3s;
}
.circle-58 {
  left: 15%;
  bottom: 63%;
  animation-delay: 1.1s;
}
.circle-59 {
  left: 59%;
  bottom: 36%;
  animation-delay: 0.9s;
}
.circle-60 {
  left: 2%;
  bottom: 70%;
  animation-delay: 1.7s;
}
.circle-61 {
  left: 78%;
  bottom: 8%;
  animation-delay: 0.4s;
}
.circle-62 {
  left: 36%;
  bottom: 44%;
  animation-delay: 1.2s;
}
.circle-63 {
  left: 88%;
  bottom: 60%;
  animation-delay: 0.1s;
}
.circle-64 {
  left: 21%;
  bottom: 16%;
  animation-delay: 1.8s;
}
.circle-65 {
  left: 65%;
  bottom: 53%;
  animation-delay: 0.6s;
}
.circle-66 {
  left: 12%;
  bottom: 27%;
  animation-delay: 1.4s;
}
.circle-67 {
  left: 81%;
  bottom: 76%;
  animation-delay: 0.2s;
}
.circle-68 {
  left: 48%;
  bottom: 9%;
  animation-delay: 1s;
}
.circle-69 {
  left: 6%;
  bottom: 41%;
  animation-delay: 0.8s;
}
.circle-70 {
  left: 75%;
  bottom: 65%;
  animation-delay: 1.6s;
}
.circle-71 {
  left: 32%;
  bottom: 20%;
  animation-delay: 0.5s;
}
.circle-72 {
  left: 90%;
  bottom: 50%;
  animation-delay: 1.3s;
}
.circle-73 {
  left: 17%;
  bottom: 74%;
  animation-delay: 0.7s;
}
.circle-74 {
  left: 57%;
  bottom: 12%;
  animation-delay: 1.5s;
}
.circle-75 {
  left: 40%;
  bottom: 57%;
  animation-delay: 0.3s;
}
.circle-76 {
  left: 84%;
  bottom: 28%;
  animation-delay: 1.1s;
}
.circle-77 {
  left: 25%;
  bottom: 4%;
  animation-delay: 0.9s;
}
.circle-78 {
  left: 69%;
  bottom: 42%;
  animation-delay: 1.7s;
}
.circle-79 {
  left: 11%;
  bottom: 68%;
  animation-delay: 0.4s;
}
.circle-80 {
  left: 95%;
  bottom: 19%;
  animation-delay: 1.2s;
}
.circle-81 {
  left: 51%;
  bottom: 62%;
  animation-delay: 0.1s;
}
.circle-82 {
  left: 29%;
  bottom: 33%;
  animation-delay: 1.8s;
}
.circle-83 {
  left: 72%;
  bottom: 7%;
  animation-delay: 0.6s;
}
.circle-84 {
  left: 8%;
  bottom: 52%;
  animation-delay: 1.4s;
}
.circle-85 {
  left: 79%;
  bottom: 71%;
  animation-delay: 0.2s;
}
.circle-86 {
  left: 37%;
  bottom: 25%;
  animation-delay: 1s;
}
.circle-87 {
  left: 62%;
  bottom: 59%;
  animation-delay: 0.8s;
}
.circle-88 {
  left: 14%;
  bottom: 14%;
  animation-delay: 1.6s;
}
.circle-89 {
  left: 97%;
  bottom: 45%;
  animation-delay: 0.5s;
}
.circle-90 {
  left: 45%;
  bottom: 78%;
  animation-delay: 1.3s;
}
.circle-91 {
  left: 23%;
  bottom: 11%;
  animation-delay: 0.7s;
}
.circle-92 {
  left: 66%;
  bottom: 48%;
  animation-delay: 1.5s;
}
.circle-93 {
  left: 5%;
  bottom: 66%;
  animation-delay: 0.3s;
}
.circle-94 {
  left: 82%;
  bottom: 21%;
  animation-delay: 1.1s;
}
.circle-95 {
  left: 42%;
  bottom: 56%;
  animation-delay: 0.9s;
}
.circle-96 {
  left: 18%;
  bottom: 37%;
  animation-delay: 1.7s;
}
.circle-97 {
  left: 76%;
  bottom: 2%;
  animation-delay: 0.4s;
}
.circle-98 {
  left: 55%;
  bottom: 73%;
  animation-delay: 1.2s;
}
.circle-99 {
  left: 9%;
  bottom: 54%;
  animation-delay: 0.1s;
}
.circle-100 {
  left: 87%;
  bottom: 30%;
  animation-delay: 1.8s;
}
.circle-101 {
  left: 34%;
  bottom: 64%;
  animation-delay: 0.6s;
}
.circle-102 {
  left: 60%;
  bottom: 15%;
  animation-delay: 1.4s;
}
.circle-103 {
  left: 20%;
  bottom: 43%;
  animation-delay: 0.2s;
}
.circle-104 {
  left: 94%;
  bottom: 69%;
  animation-delay: 1s;
}
.circle-105 {
  left: 49%;
  bottom: 23%;
  animation-delay: 0.8s;
}
.circle-106 {
  left: 7%;
  bottom: 79%;
  animation-delay: 1.6s;
}
.circle-107 {
  left: 71%;
  bottom: 34%;
  animation-delay: 0.5s;
}
.circle-108 {
  left: 30%;
  bottom: 58%;
  animation-delay: 1.3s;
}

/* Bubble float animation - vertical movement from bottom to top like carbonated water */
@keyframes floatDiagonal {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  50% {
    opacity: 0.9;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-100vh);
    opacity: 0;
  }
}

/* Bubble float with fade out/in animation - 3 second fade cycle during rise */
@keyframes floatDiagonalFade {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  30% {
    opacity: 0.9;
  }
  40% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  60% {
    opacity: 0.9;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-100vh);
    opacity: 0;
  }
}

/* Bubble float that stays faded out - rises invisibly after initial appearance */
@keyframes floatDiagonalStayFaded {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  30% {
    opacity: 0.9;
  }
  40% {
    opacity: 0;
  }
  100% {
    transform: translateY(-100vh);
    opacity: 0;
  }
}

/* Apply fade out/in animation to 18 bubbles (1/3 of 33% = 16.5% of total) */
.circle-3,
.circle-9,
.circle-15,
.circle-21,
.circle-27,
.circle-33,
.circle-39,
.circle-45,
.circle-51,
.circle-57,
.circle-63,
.circle-69,
.circle-75,
.circle-81,
.circle-87,
.circle-93,
.circle-99,
.circle-105 {
  animation-name: floatDiagonalFade;
}

/* Apply permanent fade out animation to 18 bubbles (1/3 of 33% = 16.5% of total) */
.circle-6,
.circle-12,
.circle-18,
.circle-24,
.circle-30,
.circle-36,
.circle-42,
.circle-48,
.circle-54,
.circle-60,
.circle-66,
.circle-72,
.circle-78,
.circle-84,
.circle-90,
.circle-96,
.circle-102,
.circle-108 {
  animation-name: floatDiagonalStayFaded;
}

/* ========================================
   WATER RIPPLE ANIMATION (About Page)
   ======================================== */

.about-hero-section {
  position: relative;
  overflow: hidden;
}

.water-animation-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.water-drop {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

/* Create the ripple effect using pseudo-elements */
.water-drop::before,
.water-drop::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid;
  opacity: 0;
}

/* Dark mode water ripples */
[data-theme="dark"] .water-drop::before,
[data-theme="dark"] .water-drop::after {
  border-color: rgba(0, 217, 255, 0.6);
}

/* Light mode water ripples */
[data-theme="light"] .water-drop::before,
[data-theme="light"] .water-drop::after {
  border-color: rgba(0, 150, 200, 0.6);
}

.water-drop::before {
  animation: ripple 5.6s ease-out infinite;
}

.water-drop::after {
  animation: ripple 5.6s ease-out 0.7s infinite;
}

/* Ripple animation - medium size (baseline 120px) */
@keyframes ripple {
  0% {
    width: 0;
    height: 0;
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  100% {
    width: 120px;
    height: 120px;
    opacity: 0;
  }
}

/* Ripple animation - large size (210px = 120 * 1.75) */
@keyframes rippleLarge {
  0% {
    width: 0;
    height: 0;
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  100% {
    width: 210px;
    height: 210px;
    opacity: 0;
  }
}

/* Ripple animation - small size (69px = 120 / 1.75) */
@keyframes rippleSmall {
  0% {
    width: 0;
    height: 0;
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  100% {
    width: 69px;
    height: 69px;
    opacity: 0;
  }
}

/* Size-specific animation assignments */
.drop-md::before {
  animation: ripple 5.6s ease-out infinite;
}
.drop-md::after {
  animation: ripple 5.6s ease-out 0.7s infinite;
}

.drop-lg::before {
  animation: rippleLarge 5.6s ease-out infinite;
}
.drop-lg::after {
  animation: rippleLarge 5.6s ease-out 0.7s infinite;
}

.drop-sm::before {
  animation: rippleSmall 5.6s ease-out infinite;
}
.drop-sm::after {
  animation: rippleSmall 5.6s ease-out 0.7s infinite;
}

/* Random animation delays for all drops - positions handled by JavaScript */
.drop-1 {
  animation-delay: 0s;
}
.drop-2 {
  animation-delay: 2.3s;
}
.drop-3 {
  animation-delay: 1.1s;
}
.drop-4 {
  animation-delay: 3.7s;
}
.drop-5 {
  animation-delay: 0.5s;
}
.drop-6 {
  animation-delay: 2.9s;
}
.drop-7 {
  animation-delay: 1.6s;
}
.drop-8 {
  animation-delay: 3.2s;
}
.drop-9 {
  animation-delay: 0.8s;
}
.drop-10 {
  animation-delay: 2.1s;
}
.drop-11 {
  animation-delay: 1.4s;
}
.drop-12 {
  animation-delay: 3.5s;
}
.drop-13 {
  animation-delay: 0.3s;
}
.drop-14 {
  animation-delay: 2.6s;
}
.drop-15 {
  animation-delay: 1.9s;
}
.drop-16 {
  animation-delay: 3.1s;
}
.drop-17 {
  animation-delay: 0.7s;
}
.drop-18 {
  animation-delay: 2.4s;
}
.drop-19 {
  animation-delay: 1.2s;
}
.drop-20 {
  animation-delay: 3.8s;
}
.drop-21 {
  animation-delay: 0.4s;
}
.drop-22 {
  animation-delay: 2.7s;
}
.drop-23 {
  animation-delay: 1.5s;
}
.drop-24 {
  animation-delay: 3.3s;
}
.drop-25 {
  animation-delay: 0.9s;
}
.drop-26 {
  animation-delay: 2.2s;
}
.drop-27 {
  animation-delay: 1.7s;
}
.drop-28 {
  animation-delay: 3.6s;
}
.drop-29 {
  animation-delay: 0.6s;
}
.drop-30 {
  animation-delay: 2.8s;
}
.drop-31 {
  animation-delay: 1.3s;
}
.drop-32 {
  animation-delay: 3.4s;
}
.drop-33 {
  animation-delay: 0.2s;
}
.drop-34 {
  animation-delay: 2.5s;
}
.drop-35 {
  animation-delay: 1.8s;
}
.drop-36 {
  animation-delay: 3.9s;
}
.drop-37 {
  animation-delay: 0.1s;
}
.drop-38 {
  animation-delay: 2s;
}
.drop-39 {
  animation-delay: 1s;
}
.drop-40 {
  animation-delay: 3s;
}
.drop-41 {
  animation-delay: 0.5s;
}
.drop-42 {
  animation-delay: 2.3s;
}
.drop-43 {
  animation-delay: 1.6s;
}
.drop-44 {
  animation-delay: 3.7s;
}
.drop-45 {
  animation-delay: 1.1s;
}

.hero-section .container {
  position: relative !important;
  z-index: 10 !important;
}

.hero-section .row {
  position: relative !important;
  z-index: 10 !important;
}

.hero-content {
  position: relative !important;
  z-index: 10 !important;
}

.hero-badge {
  position: relative;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: rgba(0, 217, 255, 0.1);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: var(--radius-full);
  color: var(--brand-primary);
  font-size: 0.9rem;
  font-weight: 600;
  animation: fadeInUp 0.8s ease;
}

.hero-title {
  position: relative;
  z-index: 10;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(
    135deg,
    var(--text-primary) 0%,
    var(--brand-primary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-subtitle {
  position: relative;
  z-index: 10;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-stats {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s backwards;
}

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

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 2px;
  height: 40px;
  background: var(--border-color);
}

.hero-cta {
  position: relative;
  z-index: 10;
  animation: fadeInUp 0.8s ease 0.8s backwards;
}

/* Hero Visual */
.hero-visual {
  position: relative !important;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  z-index: 10 !important;
}

.hero-banner {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-xl);
  animation: fadeIn 1s ease;
}

.hero-floating-element {
  position: absolute;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Dark mode: pure black background for floating elements */
[data-theme="dark"] .hero-floating-element {
  background: #000;
}

.hero-floating-element i {
  font-size: 1.5rem;
  color: var(--brand-primary);
}

.hero-floating-element span {
  font-weight: 600;
  color: var(--text-primary);
}

.element-1 {
  top: 10%;
  right: 5%;
  animation-delay: 0s;
}

.element-2 {
  bottom: 20%;
  right: 10%;
  animation-delay: 2s;
}

.element-3 {
  top: 50%;
  left: 0;
  animation-delay: 4s;
}

/* ========================================
   SECTION STYLES
   ======================================== */

.section-padding {
  padding: var(--section-padding) 0;
}

.section-divider hr {
  border: none;
  height: 1px;
  background: var(--brand-primary);
  opacity: 0.4;
  margin: 0 auto 3rem;
  max-width: 80%;
}

.section-header {
  max-width: 700px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Alternating section backgrounds */
.services-section {
  background: var(--bg-secondary);
}

.experience-section {
  background: var(--bg-primary);
}

.about-section {
  background: var(--bg-secondary);
}

.contact-section {
  background: var(--bg-primary);
}

/* ========================================
   SERVICE CARDS
   ======================================== */

.service-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--brand-primary) 0%,
    var(--brand-secondary) 100%
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-primary);
}

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

.service-card.featured {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
}

.featured-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--brand-primary);
  color: #000;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    var(--brand-primary) 0%,
    var(--brand-secondary) 100%
  );
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon i {
  font-size: 2rem;
  color: #000;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.service-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-features li i {
  color: var(--brand-primary);
  font-size: 1rem;
}

.service-link {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap var(--transition-fast);
}

.service-link:hover {
  gap: 0.75rem;
}

/* ========================================
   EXPERIENCE GRID
   ======================================== */

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.experience-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-normal);
}

.experience-item:hover {
  transform: translateY(-5px);
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
}

.experience-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 217, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: all var(--transition-normal);
}

.experience-item:hover .experience-icon {
  background: rgba(0, 217, 255, 0.2);
  transform: scale(1.1);
}

.experience-icon i {
  font-size: 1.75rem;
  color: var(--brand-primary);
}

.experience-item h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.experience-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Experience Highlight Section */
.experience-highlight {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
}

.experience-highlight h3 {
  color: var(--text-primary);
  font-size: 1.75rem;
  font-weight: 700;
}

.experience-highlight .lead {
  color: var(--text-secondary);
}

.experience-badge {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: all var(--transition-normal);
  height: 100%;
}

.experience-badge:hover {
  border-color: var(--brand-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.experience-badge i {
  font-size: 1.75rem;
  color: var(--brand-primary);
}

.experience-badge span {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

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

.about-content .lead {
  color: var(--text-secondary);
  font-size: 1.2rem;
  line-height: 1.8;
}

.why-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.why-item:hover {
  border-color: var(--brand-primary);
  transform: translateX(5px);
}

.why-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: rgba(0, 217, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon i {
  font-size: 1.5rem;
  color: var(--brand-primary);
}

.why-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.why-content p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.7;
}

/* Process Steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.process-step {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: start;
  transition: all var(--transition-normal);
}

.process-step:hover {
  border-color: var(--brand-primary);
  transform: translateX(10px);
}

.step-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--brand-primary) 0%,
    var(--brand-secondary) 100%
  );
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #000;
}

.process-step h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.process-step p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.95rem;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.contact-form .form-label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  background: var(--bg-tertiary);
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
  color: var(--text-primary);
}

.contact-form .form-control::placeholder {
  color: var(--text-tertiary);
}

/* Dark mode: Service page contact forms AND homepage contact form - dark gray background with white text */
[data-theme="dark"] .service-form-section .form-control,
[data-theme="dark"] .service-form-section .form-select,
[data-theme="dark"] .service-form-section textarea.form-control,
[data-theme="dark"] .contact-section .form-control,
[data-theme="dark"] .contact-section .form-select,
[data-theme="dark"] .contact-section textarea.form-control {
  background: #333333 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: #495057 !important;
}

[data-theme="dark"] .service-form-section .form-control:focus,
[data-theme="dark"] .service-form-section .form-select:focus,
[data-theme="dark"] .service-form-section textarea.form-control:focus,
[data-theme="dark"] .contact-section .form-control:focus,
[data-theme="dark"] .contact-section .form-select:focus,
[data-theme="dark"] .contact-section textarea.form-control:focus {
  background: #404040 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: #00d9ff !important;
  box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.15) !important;
}

/* Dark mode: Service page and homepage form placeholders */
[data-theme="dark"] .service-form-section .form-control::placeholder,
[data-theme="dark"] .service-form-section textarea.form-control::placeholder,
[data-theme="dark"] .contact-section .form-control::placeholder,
[data-theme="dark"] .contact-section textarea.form-control::placeholder {
  color: #adb5bd !important;
  opacity: 1 !important;
}

/* Dark mode: Service page and homepage form labels (floating labels) */
[data-theme="dark"] .service-form-section .form-floating > label,
[data-theme="dark"] .contact-section .form-floating > label {
  color: #adb5bd !important;
}

[data-theme="dark"]
  .service-form-section
  .form-floating
  > .form-control:focus
  ~ label,
[data-theme="dark"]
  .service-form-section
  .form-floating
  > .form-control:not(:placeholder-shown)
  ~ label,
[data-theme="dark"] .service-form-section .form-floating > .form-select ~ label,
[data-theme="dark"]
  .contact-section
  .form-floating
  > .form-control:focus
  ~ label,
[data-theme="dark"]
  .contact-section
  .form-floating
  > .form-control:not(:placeholder-shown)
  ~ label,
[data-theme="dark"] .contact-section .form-floating > .form-select ~ label {
  color: #00d9ff !important;
}

/* Textarea-specific fix: Hide floating label completely, rely on placeholder instead */
[data-theme="dark"]
  .service-form-section
  .form-floating
  > textarea.form-control
  ~ label,
[data-theme="dark"]
  .contact-section
  .form-floating
  > textarea.form-control
  ~ label {
  display: none !important;
}

/* Dark mode: Service page form autofill */
[data-theme="dark"] .service-form-section .form-control:-webkit-autofill,
[data-theme="dark"] .service-form-section .form-select:-webkit-autofill,
[data-theme="dark"]
  .service-form-section
  textarea.form-control:-webkit-autofill {
  -webkit-text-fill-color: #ffffff !important;
  -webkit-box-shadow: 0 0 0 1000px #333333 inset !important;
  box-shadow: 0 0 0 1000px #333333 inset !important;
}

[data-theme="dark"] .service-form-section .form-control:-webkit-autofill:focus,
[data-theme="dark"] .service-form-section .form-select:-webkit-autofill:focus,
[data-theme="dark"]
  .service-form-section
  textarea.form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: #ffffff !important;
  -webkit-box-shadow: 0 0 0 1000px #404040 inset !important;
  box-shadow: 0 0 0 1000px #404040 inset !important;
}

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Honeypot (hidden spam trap) */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-note {
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

/* Contact Info Bar */
.contact-info-bar {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
}

.contact-info-item i {
  color: var(--brand-primary);
  font-size: 1.25rem;
}

.email-link {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.email-link:hover {
  color: var(--brand-secondary);
  text-decoration: underline;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-brand {
  margin-bottom: 1.5rem;
}

.footer-logo {
  max-width: 200px;
  height: auto;
}

/* ========================================
   ASK AGENT PAGE STYLES
   ======================================== */

/* Agent Hero Section */
.agent-hero-section {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

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

/* Pac-Man Game Animation Background */
.cloud-animation-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  opacity: 0.6;
}

/* Maze Structure - Wraps around chat box */
/* ========================================
   ASTEROIDS GAME ANIMATION
   80's Arcade Style Background Animation
   ======================================== */

.asteroids-field {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Base Asteroid Styles */
.asteroid {
  position: absolute;
  background: transparent;
  border: 2px solid rgba(0, 217, 255, 0.6);
  opacity: 0.8;
}

/* Asteroid Sizes */
.asteroid-large {
  width: 60px;
  height: 60px;
  border-width: 3px;
}

.asteroid-medium {
  width: 40px;
  height: 40px;
  border-width: 2px;
}

.asteroid-small {
  width: 25px;
  height: 25px;
  border-width: 2px;
}

.asteroid-tiny {
  width: 8px;
  height: 8px;
  border-width: 1px;
  opacity: 1;
}

/* Large Asteroid 1 - Octagon drifting top-left to bottom-right */
.asteroid-1 {
  clip-path: polygon(
    30% 0%,
    70% 0%,
    100% 30%,
    100% 70%,
    70% 100%,
    30% 100%,
    0% 70%,
    0% 30%
  );
  animation: asteroidDrift1 25s linear infinite;
}

@keyframes asteroidDrift1 {
  0% {
    left: -10%;
    top: 10%;
    transform: rotate(0deg);
  }
  100% {
    left: 110%;
    top: 85%;
    transform: rotate(360deg);
  }
}

/* Large Asteroid 2 - Hexagon drifting right to left */
.asteroid-2 {
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  animation: asteroidDrift2 30s linear infinite;
}

@keyframes asteroidDrift2 {
  0% {
    left: 110%;
    top: 20%;
    transform: rotate(0deg);
  }
  100% {
    left: -10%;
    top: 60%;
    transform: rotate(-360deg);
  }
}

/* Large Asteroid 3 - Pentagon drifting diagonal */
.asteroid-3 {
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  animation: asteroidDrift3 28s linear infinite;
}

@keyframes asteroidDrift3 {
  0% {
    left: -10%;
    top: 70%;
    transform: rotate(45deg);
  }
  100% {
    left: 110%;
    top: 15%;
    transform: rotate(405deg);
  }
}

/* Large Asteroid 4 - Irregular polygon slow drift */
.asteroid-4 {
  clip-path: polygon(20% 0%, 80% 10%, 100% 50%, 70% 90%, 30% 100%, 0% 60%);
  animation: asteroidDrift4 35s linear infinite;
}

@keyframes asteroidDrift4 {
  0% {
    left: 50%;
    top: -10%;
    transform: rotate(90deg);
  }
  100% {
    left: 40%;
    top: 110%;
    transform: rotate(450deg);
  }
}

/* Medium Asteroid 5 - Diamond */
.asteroid-5 {
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: asteroidDrift5 20s linear infinite;
}

@keyframes asteroidDrift5 {
  0% {
    left: 110%;
    top: 40%;
    transform: rotate(0deg);
  }
  100% {
    left: -10%;
    top: 70%;
    transform: rotate(-270deg);
  }
}

/* Medium Asteroid 6 - Heptagon */
.asteroid-6 {
  clip-path: polygon(
    50% 0%,
    90% 20%,
    100% 60%,
    75% 100%,
    25% 100%,
    0% 60%,
    10% 20%
  );
  animation: asteroidDrift6 22s linear infinite;
}

@keyframes asteroidDrift6 {
  0% {
    left: 15%;
    top: -10%;
    transform: rotate(0deg);
  }
  100% {
    left: 25%;
    top: 110%;
    transform: rotate(360deg);
  }
}

/* Medium Asteroid 7 - Octagon fast */
.asteroid-7 {
  clip-path: polygon(
    30% 0%,
    70% 0%,
    100% 30%,
    100% 70%,
    70% 100%,
    30% 100%,
    0% 70%,
    0% 30%
  );
  animation: asteroidDrift7 18s linear infinite;
}

@keyframes asteroidDrift7 {
  0% {
    left: -10%;
    top: 30%;
    transform: rotate(180deg);
  }
  100% {
    left: 110%;
    top: 75%;
    transform: rotate(-180deg);
  }
}

/* Medium Asteroid 8 - Pentagon */
.asteroid-8 {
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  animation: asteroidDrift8 24s linear infinite;
}

@keyframes asteroidDrift8 {
  0% {
    left: 70%;
    top: 110%;
    transform: rotate(0deg);
  }
  100% {
    left: 60%;
    top: -10%;
    transform: rotate(-360deg);
  }
}

/* Medium Asteroid 9 - Irregular hexagon */
.asteroid-9 {
  clip-path: polygon(30% 0%, 70% 0%, 100% 40%, 80% 100%, 20% 100%, 0% 40%);
  animation: asteroidDrift9 26s linear infinite;
}

@keyframes asteroidDrift9 {
  0% {
    left: 110%;
    top: 55%;
    transform: rotate(90deg);
  }
  100% {
    left: -10%;
    top: 25%;
    transform: rotate(450deg);
  }
}

/* Medium Asteroid 10 - Square */
.asteroid-10 {
  clip-path: polygon(15% 15%, 85% 15%, 85% 85%, 15% 85%);
  animation: asteroidDrift10 21s linear infinite;
}

@keyframes asteroidDrift10 {
  0% {
    left: -10%;
    top: 60%;
    transform: rotate(45deg);
  }
  100% {
    left: 110%;
    top: 35%;
    transform: rotate(405deg);
  }
}

/* Small Asteroids - Various polygons with faster speeds */
.asteroid-11 {
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: asteroidDrift11 15s linear infinite;
}

@keyframes asteroidDrift11 {
  0% {
    left: 110%;
    top: 15%;
    transform: rotate(0deg);
  }
  100% {
    left: -10%;
    top: 80%;
    transform: rotate(-360deg);
  }
}

.asteroid-12 {
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  animation: asteroidDrift12 17s linear infinite;
}

@keyframes asteroidDrift12 {
  0% {
    left: 20%;
    top: -10%;
    transform: rotate(45deg);
  }
  100% {
    left: 80%;
    top: 110%;
    transform: rotate(405deg);
  }
}

.asteroid-13 {
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  animation: asteroidDrift13 19s linear infinite;
}

@keyframes asteroidDrift13 {
  0% {
    left: -10%;
    top: 45%;
    transform: rotate(90deg);
  }
  100% {
    left: 110%;
    top: 50%;
    transform: rotate(450deg);
  }
}

.asteroid-14 {
  clip-path: polygon(
    30% 0%,
    70% 0%,
    100% 30%,
    100% 70%,
    70% 100%,
    30% 100%,
    0% 70%,
    0% 30%
  );
  animation: asteroidDrift14 16s linear infinite;
}

@keyframes asteroidDrift14 {
  0% {
    left: 110%;
    top: 65%;
    transform: rotate(0deg);
  }
  100% {
    left: -10%;
    top: 35%;
    transform: rotate(360deg);
  }
}

.asteroid-15 {
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: asteroidDrift15 14s linear infinite;
}

@keyframes asteroidDrift15 {
  0% {
    left: 40%;
    top: 110%;
    transform: rotate(180deg);
  }
  100% {
    left: 55%;
    top: -10%;
    transform: rotate(-180deg);
  }
}

.asteroid-16 {
  clip-path: polygon(
    50% 0%,
    90% 20%,
    100% 60%,
    75% 100%,
    25% 100%,
    0% 60%,
    10% 20%
  );
  animation: asteroidDrift16 18s linear infinite;
}

@keyframes asteroidDrift16 {
  0% {
    left: -10%;
    top: 25%;
    transform: rotate(0deg);
  }
  100% {
    left: 110%;
    top: 70%;
    transform: rotate(-360deg);
  }
}

.asteroid-17 {
  clip-path: polygon(30% 0%, 70% 0%, 100% 40%, 80% 100%, 20% 100%, 0% 40%);
  animation: asteroidDrift17 20s linear infinite;
}

@keyframes asteroidDrift17 {
  0% {
    left: 110%;
    top: 50%;
    transform: rotate(270deg);
  }
  100% {
    left: -10%;
    top: 45%;
    transform: rotate(-90deg);
  }
}

.asteroid-18 {
  clip-path: polygon(15% 15%, 85% 15%, 85% 85%, 15% 85%);
  animation: asteroidDrift18 15s linear infinite;
}

@keyframes asteroidDrift18 {
  0% {
    left: 65%;
    top: -10%;
    transform: rotate(45deg);
  }
  100% {
    left: 35%;
    top: 110%;
    transform: rotate(405deg);
  }
}

/* Tiny Asteroids - Star field effect */
.asteroid-tiny {
  border-radius: 50%;
  background: rgba(0, 217, 255, 0.8);
  border-width: 1px;
}

.asteroid-19 {
  animation: asteroidDrift19 12s linear infinite;
}

@keyframes asteroidDrift19 {
  0% {
    left: -5%;
    top: 20%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: 105%;
    top: 75%;
    opacity: 0;
  }
}

.asteroid-20 {
  animation: asteroidDrift20 10s linear infinite;
}

@keyframes asteroidDrift20 {
  0% {
    left: 105%;
    top: 30%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: -5%;
    top: 85%;
    opacity: 0;
  }
}

.asteroid-21 {
  animation: asteroidDrift21 14s linear infinite;
}

@keyframes asteroidDrift21 {
  0% {
    left: 25%;
    top: -5%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: 75%;
    top: 105%;
    opacity: 0;
  }
}

.asteroid-22 {
  animation: asteroidDrift22 11s linear infinite;
}

@keyframes asteroidDrift22 {
  0% {
    left: -5%;
    top: 60%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: 105%;
    top: 40%;
    opacity: 0;
  }
}

.asteroid-23 {
  animation: asteroidDrift23 13s linear infinite;
}

@keyframes asteroidDrift23 {
  0% {
    left: 80%;
    top: 105%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: 20%;
    top: -5%;
    opacity: 0;
  }
}

.asteroid-24 {
  animation: asteroidDrift24 9s linear infinite;
}

@keyframes asteroidDrift24 {
  0% {
    left: 105%;
    top: 70%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: -5%;
    top: 30%;
    opacity: 0;
  }
}

/* Quick Start Section */
.quick-start-section {
  background: var(--bg-secondary);
  position: relative;
  z-index: 2;
}

/* Chat Container */
.chat-container {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  position: relative;
  z-index: 2;
}

/* Chat Messages Area */
.chat-messages {
  min-height: 400px;
  max-height: 600px;
  overflow-y: auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--bg-primary);
}

/* Custom Scrollbar */
.chat-messages::-webkit-scrollbar {
  width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: var(--brand-primary);
  border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
  background: var(--brand-primary-dark);
}

/* Chat Message */
.chat-message {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 0.3s ease;
}

.chat-message.user-message {
  flex-direction: row-reverse;
}

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

/* Message Avatar */
.message-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.agent-message .message-avatar {
  background: linear-gradient(
    135deg,
    var(--brand-primary),
    var(--brand-secondary)
  );
  color: #000;
}

.user-message .message-avatar {
  background: var(--bg-tertiary);
  color: var(--brand-primary);
}

/* Message Content */
.message-content {
  flex: 1;
  min-width: 0;
}

.user-message .message-content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* Message Header */
.message-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.user-message .message-header {
  flex-direction: row-reverse;
}

.message-sender {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.message-time {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* Message Text */
.message-text {
  background: var(--bg-secondary);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  line-height: 1.6;
}

.user-message .message-text {
  background: rgba(0, 217, 255, 0.1);
  border: 1px solid rgba(0, 217, 255, 0.2);
  text-align: left;
}

.message-text p {
  margin: 0;
  text-align: left;
}

.message-text p + p {
  margin-top: 0.75rem;
}

.message-text ul,
.message-text ol {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

.message-text li {
  margin: 0.25rem 0;
}

.message-text strong {
  color: var(--brand-primary);
}

.message-text code {
  background: var(--bg-tertiary);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: "Courier New", monospace;
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  gap: 1rem;
  padding: 1rem 2rem;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.typing-dots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 1.25rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
}

.typing-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-primary);
  animation: typingDot 1.4s infinite;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingDot {
  0%,
  60%,
  100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  30% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Chat Input Area */
.chat-input-area {
  padding: 1.5rem 2rem;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-color);
}

.chat-input {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.5;
  resize: none;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.chat-input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

.chat-input::placeholder {
  color: var(--text-tertiary);
}

.chat-input-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.char-counter {
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

.btn-send {
  min-width: 120px;
}

/* Chat Actions */
.chat-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Quick Prompts Section */
.quick-prompts-section {
  margin-top: 3rem;
}

.quick-prompts-section h3 {
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 600;
}

.quick-prompt-card {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  color: var(--text-primary);
}

.quick-prompt-card:hover {
  background: var(--bg-secondary);
  border-color: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.quick-prompt-card i {
  font-size: 2rem;
  color: var(--brand-primary);
}

.quick-prompt-card span {
  font-weight: 500;
  font-size: 0.95rem;
}

/* Agent Feature Cards */
.agent-feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-normal);
}

.agent-feature-card:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
}

.agent-feature-card i {
  font-size: 2.5rem;
  color: var(--brand-primary);
  margin-bottom: 1rem;
}

.agent-feature-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.agent-feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .agent-hero-icon {
    width: 80px;
    height: 80px;
    padding: 15px;
  }

  .chat-messages {
    min-height: 300px;
    max-height: 400px;
    padding: 1.5rem;
    gap: 1rem;
  }

  .chat-input-area {
    padding: 1rem;
  }

  .chat-input-footer {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }

  .btn-send {
    width: 100%;
  }

  .chat-actions {
    flex-direction: column;
  }

  .chat-actions .btn {
    width: 100%;
  }

  .message-avatar {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .message-text {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  .quick-prompt-card {
    padding: 1.25rem;
  }

  .agent-feature-card {
    padding: 1.5rem;
  }
}

/* ========================================
   PONG GAME ANIMATION (Footer)
   ======================================== */

.pong-game {
  max-width: 200px;
  margin: 0 auto;
}

.pong-court {
  position: relative;
  width: 200px;
  height: 100px;
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
}

/* Pong net (center dashed line) */
.pong-net {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background-image: linear-gradient(
    to bottom,
    var(--border-color) 50%,
    transparent 50%
  );
  background-size: 2px 8px;
  opacity: 0.3;
}

/* Paddles */
.pong-paddle {
  position: absolute;
  width: 4px;
  height: 20px;
  border-radius: 2px;
}

[data-theme="dark"] .pong-paddle {
  background: rgba(0, 217, 255, 0.9);
}

[data-theme="light"] .pong-paddle {
  background: rgba(0, 150, 200, 0.9);
}

.pong-paddle-left {
  left: 10px;
  animation: paddleLeftMove 12s ease-in-out infinite;
}

.pong-paddle-right {
  right: 10px;
  animation: paddleRightMove 12s ease-in-out infinite;
}

/* Ball */
.pong-ball {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: ballMove 12s linear infinite;
}

[data-theme="dark"] .pong-ball {
  background: rgba(0, 217, 255, 1);
}

[data-theme="light"] .pong-ball {
  background: rgba(0, 150, 200, 1);
}

/* Ball trajectory animation with 6 variations */
@keyframes ballMove {
  /* Volley 1: Mid-high trajectory */
  0% {
    left: 14px;
    top: 40%;
  }
  8.33% {
    left: 50%;
    top: 30%;
  }
  16.66% {
    left: 186px;
    top: 40%;
  }

  /* Return 1 */
  16.66% {
    left: 186px;
    top: 40%;
  }
  25% {
    left: 50%;
    top: 35%;
  }
  33.33% {
    left: 14px;
    top: 50%;
  }

  /* Volley 2: Low trajectory */
  33.33% {
    left: 14px;
    top: 50%;
  }
  41.66% {
    left: 50%;
    top: 65%;
  }
  50% {
    left: 186px;
    top: 55%;
  }

  /* Return 2 */
  50% {
    left: 186px;
    top: 55%;
  }
  58.33% {
    left: 50%;
    top: 60%;
  }
  66.66% {
    left: 14px;
    top: 25%;
  }

  /* Volley 3: High trajectory */
  66.66% {
    left: 14px;
    top: 25%;
  }
  75% {
    left: 50%;
    top: 15%;
  }
  83.33% {
    left: 186px;
    top: 30%;
  }

  /* Return 3: Back to start (seamless loop) */
  83.33% {
    left: 186px;
    top: 30%;
  }
  91.66% {
    left: 50%;
    top: 35%;
  }
  100% {
    left: 14px;
    top: 40%;
  }
}

/* Left paddle follows ball with 6 positions */
@keyframes paddleLeftMove {
  0% {
    top: 30%;
  }
  16.66% {
    top: 30%;
  }
  33.33% {
    top: 40%;
  }
  50% {
    top: 40%;
  }
  66.66% {
    top: 15%;
  }
  83.33% {
    top: 15%;
  }
  100% {
    top: 30%;
  }
}

/* Right paddle follows ball with 6 positions */
@keyframes paddleRightMove {
  0% {
    top: 30%;
  }
  16.66% {
    top: 30%;
  }
  33.33% {
    top: 40%;
  }
  50% {
    top: 45%;
  }
  66.66% {
    top: 10%;
  }
  83.33% {
    top: 20%;
  }
  100% {
    top: 30%;
  }
}

.footer-tagline {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 0.5rem;
}

.footer-description {
  color: var(--text-secondary);
  line-height: 1.7;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--brand-primary);
}

.footer-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Newsletter Form */
.newsletter-form .input-group {
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.newsletter-form .form-control {
  background: var(--bg-primary);
  border: none;
  color: var(--text-primary);
}

.newsletter-form .form-control:focus {
  box-shadow: none;
}

.newsletter-form .btn {
  border-radius: 0;
  padding: 0.75rem 1.5rem;
}

/* Dark mode: Newsletter form - white text */
[data-theme="dark"] .newsletter-form .form-control {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

[data-theme="dark"] .newsletter-form .form-control:focus {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

[data-theme="dark"] .newsletter-form .form-control::placeholder {
  color: #adb5bd !important;
  opacity: 0.8 !important;
}

/* Dark mode: Newsletter autofill */
[data-theme="dark"] .newsletter-form .form-control:-webkit-autofill {
  -webkit-text-fill-color: #ffffff !important;
  -webkit-box-shadow: 0 0 0 1000px var(--bg-primary) inset !important;
  box-shadow: 0 0 0 1000px var(--bg-primary) inset !important;
}

.footer-divider {
  border-color: var(--border-color);
  margin: 2.5rem 0 1.5rem;
}

/* Dark mode - make footer divider more visible */
[data-theme="dark"] .footer-divider {
  border-color: #4a4a4a;
}

/* Light mode - make footer divider more visible */
[data-theme="light"] .footer-divider {
  border-color: #999999;
}

.footer-copyright {
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

.footer-legal {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 2rem;
  justify-content: flex-end;
}

.footer-legal li {
  display: inline;
}

.footer-legal a {
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--brand-primary);
}

/* Social Media Links */
.social-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 1.25rem;
  text-decoration: none;
  transition: all var(--transition-normal);
}

.social-link:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 217, 255, 0.3);
}

[data-theme="light"] .social-link:hover {
  color: #000;
  box-shadow: 0 4px 12px rgba(0, 150, 200, 0.3);
}

.social-link i {
  transition: transform var(--transition-fast);
}

.social-link:hover i {
  transform: scale(1.1);
}

/* ========================================
   LANGUAGE SELECTOR
   ======================================== */

.language-selector {
  position: relative;
}

/* Desktop: allow overflow for language dropdown */
@media (min-width: 992px) {
  .language-selector,
  .navbar-nav {
    overflow: visible !important;
  }
}

/* Mobile: prevent overflow conflicts */
@media (max-width: 991px) {
  .language-selector,
  .navbar-nav {
    overflow: visible;
  }
}

/* Desktop: visible overflow for dropdowns */
@media (min-width: 992px) {
  .navbar-collapse {
    overflow: visible !important;
  }
}

/* Mobile: hidden overflow required for Bootstrap collapse animation */
@media (max-width: 991px) {
  .navbar-collapse {
    overflow: hidden !important;
  }

  .navbar-collapse.show {
    overflow: visible !important;
  }
}

.language-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.language-toggle:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.language-toggle .bi-globe {
  font-size: 1.1rem;
}

.language-toggle .current-lang {
  font-weight: 600;
  min-width: 2rem;
  text-align: center;
}

.language-toggle .chevron-icon {
  font-size: 0.75rem;
  transition: transform var(--transition-fast);
}

.language-toggle[aria-expanded="true"] .chevron-icon {
  transform: rotate(180deg);
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 140px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-fast);
  z-index: 10000;
}

[data-theme="dark"] .language-dropdown {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Ultra high specificity to override everything */
#languageDropdown.language-dropdown.show,
ul#languageDropdown.show,
.language-selector #languageDropdown.show,
.language-dropdown.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  display: block !important;
  position: absolute !important;
  pointer-events: auto !important;
}

.language-dropdown li {
  padding: 0;
  margin: 0;
}

.language-option {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.language-option:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.language-option.active {
  color: var(--brand-primary);
  font-weight: 600;
}

.language-option.active::after {
  content: "\2713";
  margin-left: 0.5rem;
  font-weight: bold;
}

/* ========================================
   PARTNER MENU (MICROSOFT PARTNER DROPDOWN)
   ======================================== */

/* Navigation separator */
.nav-separator {
  color: var(--text-secondary);
  padding: 0.5rem 0.75rem;
  font-weight: 300;
  pointer-events: none;
}

.partner-menu-selector {
  position: relative;
}

/* Desktop: allow overflow for partner menu dropdown */
@media (min-width: 992px) {
  .partner-menu-selector {
    overflow: visible !important;
  }
}

/* Mobile: prevent overflow conflicts */
@media (max-width: 991px) {
  .partner-menu-selector {
    overflow: visible;
  }
}

.partner-menu-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.partner-menu-toggle:hover {
  color: var(--brand-primary);
}

.partner-menu-toggle .chevron-icon {
  font-size: 0.75rem;
  transition: transform var(--transition-fast);
}

.partner-menu-toggle[aria-expanded="true"] .chevron-icon {
  transform: rotate(180deg);
}

.partner-menu-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 180px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.5rem 0;
  margin: 0;
  list-style: none;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-fast);
  z-index: 10000;
}

[data-theme="dark"] .partner-menu-dropdown {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Ultra high specificity to override everything */
#partnerMenuDropdown.partner-menu-dropdown.show,
ul#partnerMenuDropdown.show,
.partner-menu-selector #partnerMenuDropdown.show,
.partner-menu-dropdown.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  display: block !important;
  position: absolute !important;
  pointer-events: auto !important;
}

.partner-menu-dropdown li {
  padding: 0;
  margin: 0;
}

.partner-menu-option {
  display: block;
  padding: 0.625rem 1.25rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.partner-menu-option:hover {
  background: var(--bg-secondary);
  color: var(--brand-primary);
}

.partner-menu-option.active {
  color: var(--brand-primary);
  font-weight: 600;
}

.partner-menu-option.active::after {
  content: "\2713";
  margin-left: 0.5rem;
  font-weight: bold;
}

/* Mobile responsive */
@media (max-width: 991px) {
  .nav-separator {
    display: none;
  }

  .partner-menu-selector {
    width: 100%;
  }

  .partner-menu-toggle {
    width: 100%;
    justify-content: center;
  }

  .partner-menu-dropdown {
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(-10px);
  }

  .partner-menu-dropdown.show {
    transform: translateX(-50%) translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* Mobile responsive */
@media (max-width: 991px) {
  .language-selector {
    width: 100%;
  }

  .language-toggle {
    width: 100%;
    justify-content: center;
  }

  .language-dropdown {
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(-10px);
  }

  .language-dropdown.show {
    transform: translateX(-50%) translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* ========================================
   AI MENU DROPDOWN
   ======================================== */

.ai-menu-selector {
  position: relative;
}

@media (min-width: 992px) {
  .ai-menu-selector {
    overflow: visible !important;
  }
}

@media (max-width: 991px) {
  .ai-menu-selector {
    overflow: visible;
  }
}

.ai-menu-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.ai-menu-toggle:hover {
  color: var(--brand-primary);
}

.ai-menu-toggle .chevron-icon {
  font-size: 0.75rem;
  transition: transform var(--transition-fast);
}

.ai-menu-toggle[aria-expanded="true"] .chevron-icon {
  transform: rotate(180deg);
}

.ai-menu-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 200px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.5rem 0;
  margin: 0;
  list-style: none;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-fast);
  z-index: 10000;
}

[data-theme="dark"] .ai-menu-dropdown {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

#aiMenuDropdown.ai-menu-dropdown.show,
ul#aiMenuDropdown.show,
.ai-menu-selector #aiMenuDropdown.show,
.ai-menu-dropdown.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  display: block !important;
  position: absolute !important;
  pointer-events: auto !important;
}

.ai-menu-dropdown li {
  padding: 0;
  margin: 0;
}

.ai-menu-option {
  display: block;
  padding: 0.625rem 1.25rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.ai-menu-option:hover {
  background: var(--bg-secondary);
  color: var(--brand-primary);
}

.ai-menu-option.active {
  color: var(--brand-primary);
  font-weight: 600;
}

.ai-menu-option.active::after {
  content: "\2713";
  margin-left: 0.5rem;
  font-weight: bold;
}

@media (max-width: 991px) {
  .ai-menu-selector {
    width: 100%;
  }

  .ai-menu-toggle {
    width: 100%;
    justify-content: center;
  }

  .ai-menu-dropdown {
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(-10px);
  }

  .ai-menu-dropdown.show {
    transform: translateX(-50%) translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* ========================================
   BI MENU DROPDOWN
   ======================================== */

.bi-menu-selector {
  position: relative;
}

@media (min-width: 992px) {
  .bi-menu-selector {
    overflow: visible !important;
  }
}

@media (max-width: 991px) {
  .bi-menu-selector {
    overflow: visible;
  }
}

.bi-menu-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.bi-menu-toggle:hover {
  color: var(--brand-primary);
}

.bi-menu-toggle .chevron-icon {
  font-size: 0.75rem;
  transition: transform var(--transition-fast);
}

.bi-menu-toggle[aria-expanded="true"] .chevron-icon {
  transform: rotate(180deg);
}

.bi-menu-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 200px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.5rem 0;
  margin: 0;
  list-style: none;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-fast);
  z-index: 10000;
}

[data-theme="dark"] .bi-menu-dropdown {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

#biMenuDropdown.bi-menu-dropdown.show,
ul#biMenuDropdown.show,
.bi-menu-selector #biMenuDropdown.show,
.bi-menu-dropdown.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  display: block !important;
  position: absolute !important;
  pointer-events: auto !important;
}

.bi-menu-dropdown li {
  padding: 0;
  margin: 0;
}

.bi-menu-option {
  display: block;
  padding: 0.625rem 1.25rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.bi-menu-option:hover {
  background: var(--bg-secondary);
  color: var(--brand-primary);
}

.bi-menu-option.active {
  color: var(--brand-primary);
  font-weight: 600;
}

.bi-menu-option.active::after {
  content: "\2713";
  margin-left: 0.5rem;
  font-weight: bold;
}

@media (max-width: 991px) {
  .bi-menu-selector {
    width: 100%;
  }

  .bi-menu-toggle {
    width: 100%;
    justify-content: center;
  }

  .bi-menu-dropdown {
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(-10px);
  }

  .bi-menu-dropdown.show {
    transform: translateX(-50%) translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* ========================================
   SERVICE PAGES
   ======================================== */

/* Service Hero Section */
.service-hero-section {
  min-height: 70vh;
  padding-bottom: 4rem;
}

.service-hero-section .hero-buttons {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.service-hero-section .hero-subtitle {
  color: #00c8f1;
}

.service-hero-section .hero-description {
  color: #fff;
}

/* Light theme: use dark theme gradient (white to cyan) for hero title */
[data-theme="light"] .service-hero-section .hero-title {
  background: linear-gradient(135deg, #ffffff 0%, var(--brand-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-icon-large {
  font-size: 5rem;
  color: var(--brand-primary);
}

.service-icon-large i,
.service-icon-large img {
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

.service-icon-large img {
  max-width: 111px;
  height: auto;
}

/* Feature Boxes */
.feature-box {
  padding: 2rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  height: 100%;
  transition: all var(--transition-normal);
}

.feature-box:hover {
  transform: translateY(-5px);
  border-color: var(--brand-primary);
  box-shadow: 0 8px 16px rgba(0, 217, 255, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--brand-primary);
  margin-bottom: 1rem;
}

.feature-box h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-box p {
  color: var(--text-secondary);
  margin: 0;
}

/* Use Case Cards */
.use-case-card {
  padding: 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  height: 100%;
  transition: all var(--transition-normal);
}

.use-case-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-primary);
}

.use-case-icon {
  font-size: 3rem;
  color: var(--brand-primary);
  margin-bottom: 1rem;
}

.use-case-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.use-case-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
}

.benefits-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--brand-primary);
  font-weight: bold;
}

/* Process Steps */
.process-step {
  text-align: left;
  padding: 1.5rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  height: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: all var(--transition-normal);
}

.process-step:hover {
  border-color: var(--brand-primary);
  transform: translateY(-3px);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--brand-primary);
  color: #000;
  font-size: 1.75rem;
  font-weight: bold;
  border-radius: 50%;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.process-step h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.6;
  flex-grow: 1;
  max-width: 100%;
}

.step-duration {
  font-size: 0.85rem;
  color: var(--brand-primary);
  font-weight: 600;
  margin-top: auto;
  flex-shrink: 0;
}

/* Pricing Cards */
.pricing-card {
  padding: 2.5rem 2rem;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  height: 100%;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--brand-primary);
  box-shadow: 0 12px 24px rgba(0, 217, 255, 0.2);
}

.pricing-card.featured {
  border-color: var(--brand-primary);
  background: linear-gradient(
    135deg,
    rgba(0, 217, 255, 0.05) 0%,
    var(--bg-secondary) 100%
  );
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-primary);
  color: #000;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.price {
  font-size: 1.69rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  text-align: left;
}

.pricing-features li {
  padding: 0.75rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--brand-primary);
  font-weight: bold;
  font-size: 1.25rem;
}

.pricing-note {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-top: 1.5rem;
}

/* Problem Cards (ERP page) */
.problem-card {
  padding: 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  height: 100%;
  transition: all var(--transition-normal);
}

.problem-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-primary);
}

.problem-icon {
  font-size: 3rem;
  color: var(--brand-primary);
  margin-bottom: 1rem;
}

.problem-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.problem-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.problem-card p strong {
  color: var(--text-primary);
}

/* Module Cards (ERP page) */
.module-card {
  padding: 1.5rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-align: center;
  height: 100%;
  transition: all var(--transition-normal);
}

.module-card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-3px);
}

.module-card i {
  font-size: 2.5rem;
  color: var(--brand-primary);
  margin-bottom: 1rem;
  display: block;
}

.module-card h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.module-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.module-card ul li {
  padding: 0.4rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
}

.module-card ul li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: var(--brand-primary);
}

/* Service Detail Cards (Financial Consulting page) */
.service-detail-card {
  padding: 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  height: 100%;
  transition: all var(--transition-normal);
}

.service-detail-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-primary);
}

.service-icon {
  font-size: 3rem;
  color: var(--brand-primary);
  margin-bottom: 1rem;
}

.service-detail-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.service-detail-card p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.service-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--brand-primary);
  font-weight: bold;
}

/* Benefit Cards (Financial Consulting page) */
.benefit-card {
  padding: 2rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-align: center;
  height: 100%;
  transition: all var(--transition-normal);
}

.benefit-card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-5px);
}

.benefit-card i {
  font-size: 3rem;
  color: var(--brand-primary);
  margin-bottom: 1rem;
  display: block;
}

.benefit-card h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Engagement Cards (Financial Consulting page) */
.engagement-card {
  padding: 2.5rem 2rem;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  height: 100%;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
}

.engagement-card:hover {
  transform: translateY(-8px);
  border-color: var(--brand-primary);
}

.engagement-card.featured {
  border-color: var(--brand-primary);
  background: linear-gradient(
    135deg,
    rgba(0, 217, 255, 0.05) 0%,
    var(--bg-secondary) 100%
  );
}

.engagement-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.engagement-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.engagement-examples {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}

.engagement-examples li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.engagement-examples li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--brand-primary);
  font-weight: bold;
}

.engagement-pricing {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-top: 1.5rem;
}

/* Why Cards (Financial Consulting page) */
.why-card {
  padding: 2rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-align: center;
  height: 100%;
  transition: all var(--transition-normal);
}

.why-card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-5px);
}

.why-card i {
  font-size: 3rem;
  color: var(--brand-primary);
  margin-bottom: 1rem;
  display: block;
}

.why-card h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ========================================
   LEGAL PAGES (Privacy Policy, Terms of Service)
   ======================================== */

.legal-header {
  background: var(--bg-secondary);
}

.legal-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.legal-content {
  font-size: 1rem;
  line-height: 1.8;
}

.legal-section {
  margin-bottom: 3rem;
}

.legal-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--brand-primary);
}

.legal-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-section p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.legal-section ul,
.legal-section ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.legal-section li {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.legal-section strong {
  color: var(--text-primary);
  font-weight: 600;
}

.legal-section a {
  color: var(--brand-primary);
  text-decoration: underline;
  transition: opacity var(--transition-fast);
}

.legal-section a:hover {
  opacity: 0.8;
}

/* Light mode specific background for legal content sections */
[data-theme="light"] .legal-content.bg-secondary {
  background-color: #f6f7f7 !important;
}

/* Dark mode - white text for better readability in legal sections */
[data-theme="dark"] .legal-section,
[data-theme="dark"] .legal-section p,
[data-theme="dark"] .legal-section li,
[data-theme="dark"] .legal-section ul,
[data-theme="dark"] .legal-section ol,
[data-theme="dark"] .legal-content,
[data-theme="dark"] .legal-content p,
[data-theme="dark"] .legal-content li,
[data-theme="dark"] .legal-content ul,
[data-theme="dark"] .legal-content ol,
[data-theme="dark"] .legal-header p,
[data-theme="dark"] .legal-header .lead,
[data-theme="dark"] .legal-meta {
  color: #fff !important;
}

.contact-info {
  padding: 1.5rem;
  background: var(--bg-primary);
  border-left: 4px solid var(--brand-primary);
  border-radius: var(--radius-sm);
  margin-top: 1rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.contact-info a {
  color: var(--brand-primary);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.legal-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.legal-footer p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* ========================================
   404 ERROR PAGE
   ======================================== */

.error-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.error-animation {
  position: relative;
}

.error-number {
  font-size: 10rem;
  font-weight: 900;
  color: var(--brand-primary);
  line-height: 1;
  opacity: 0.2;
  text-shadow: 0 0 30px rgba(0, 217, 255, 0.5);
}

.error-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.error-icon i {
  font-size: 5rem;
  color: var(--brand-primary);
  transition: transform 0.5s ease-in-out;
}

.error-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.error-description {
  color: var(--text-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.error-suggestions {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.error-suggestions h2 {
  color: var(--text-primary);
  font-weight: 600;
}

.suggestion-card {
  padding: 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  height: 100%;
  transition: all var(--transition-normal);
}

.suggestion-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-primary);
}

.suggestion-card i {
  font-size: 2.5rem;
  color: var(--brand-primary);
  margin-bottom: 1rem;
  display: block;
}

.suggestion-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.suggestion-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.error-quick-links {
  margin-top: 3rem;
}

.error-quick-links h3 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.quick-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.quick-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.quick-link:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #000;
  transform: translateY(-2px);
}

.quick-link i {
  font-size: 1rem;
}

.error-code {
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.error-code p {
  margin-bottom: 0.25rem;
}

.error-code a {
  color: var(--brand-primary);
  text-decoration: underline;
}

.error-code a:hover {
  opacity: 0.8;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ========================================
   CASE STUDIES SECTION
   ======================================== */

.case-studies-section {
  background: var(--bg-primary);
}

.case-study-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  transition: all var(--transition-normal);
}

.case-study-card:hover {
  transform: translateY(-8px);
  border-color: var(--brand-primary);
  box-shadow: 0 12px 24px rgba(0, 217, 255, 0.15);
}

.case-study-image {
  height: 180px;
  background: linear-gradient(
    135deg,
    rgba(0, 217, 255, 0.1) 0%,
    rgba(0, 217, 255, 0.05) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.case-study-category {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--brand-primary);
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.case-study-content {
  padding: 2rem;
}

.case-study-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.case-study-client {
  font-size: 0.9rem;
  color: var(--brand-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.case-study-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.case-study-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.metric {
  text-align: center;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 0.25rem;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials-section {
  background: var(--bg-secondary);
}

.testimonial-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-primary);
  box-shadow: 0 8px 20px rgba(0, 217, 255, 0.1);
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  color: #ffd700;
  font-size: 1rem;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.author-avatar {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border-radius: 50%;
  color: var(--text-tertiary);
  font-size: 2rem;
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.author-title {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin: 0;
}

/* ========================================
   COOKIE CONSENT BANNER
   ======================================== */

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-elevated);
  border-top: 2px solid var(--brand-primary);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-consent-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-consent-content {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex: 1;
  min-width: 300px;
}

.cookie-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-primary);
  border-radius: 50%;
  color: #000;
  font-size: 1.5rem;
}

.cookie-message {
  flex: 1;
}

.cookie-message h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.cookie-message p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.cookie-message a {
  color: var(--brand-primary);
  text-decoration: underline;
  transition: opacity var(--transition-fast);
}

.cookie-message a:hover {
  opacity: 0.8;
}

.cookie-consent-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-consent-actions .btn {
  min-width: 120px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  white-space: nowrap;
}

.cookie-consent-actions .btn-outline-secondary {
  border-color: var(--border-color);
  color: var(--text-secondary);
}

.cookie-consent-actions .btn-outline-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

@media (max-width: 767.98px) {
  .cookie-consent {
    padding: 1rem;
  }

  .cookie-consent-container {
    flex-direction: column;
    gap: 1.5rem;
  }

  .cookie-consent-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .cookie-consent-actions {
    width: 100%;
    flex-direction: column;
  }

  .cookie-consent-actions .btn {
    width: 100%;
  }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
  :root {
    --section-padding: 80px;
  }

  .hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .hero-stats {
    gap: 1rem;
  }

  .stat-divider {
    height: 30px;
  }

  .experience-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }

  .contact-card {
    padding: 2rem;
  }
}

/* Mobile (320px - 767px) */
@media (max-width: 767px) {
  :root {
    --section-padding: var(--section-padding-mobile);
  }

  html {
    font-size: 14px;
  }

  .navbar {
    padding: 0.75rem 0;
  }

  .brand-logo {
    height: 32px;
  }

  .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
  }

  .nav-link {
    padding: 0.75rem 1rem;
    margin: 0.25rem 0;
  }

  .theme-toggle {
    width: 38px;
    height: 38px;
  }

  .btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
  }

  .hero-section {
    padding-top: 100px;
    min-height: auto;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .stat-divider {
    display: none;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-visual {
    margin-top: 3rem;
    min-height: 300px;
  }

  .hero-floating-element {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }

  .hero-floating-element i {
    font-size: 1.25rem;
  }

  .element-3 {
    left: 5%;
  }

  .service-card {
    padding: 2rem;
  }

  .experience-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .experience-item {
    padding: 1.5rem;
  }

  .why-item {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .why-icon {
    margin: 0 auto;
  }

  .process-steps {
    gap: 1rem;
  }

  .process-step {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
  }

  .process-step:hover {
    transform: translateY(-5px);
  }

  .step-number {
    margin: 0 auto;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .contact-info-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer {
    text-align: center;
  }

  .footer-logo {
    max-width: 150px;
    margin: 0 auto;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* Mobile responsiveness fixes (<=576px) - Prevents horizontal scrolling */
@media (max-width: 576px) {
  /* Ensure body doesn't overflow */
  body {
    overflow-x: hidden !important;
  }

  /* Container adjustments for narrow screens */
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    max-width: 100% !important;
  }

  /* Remove min-widths that cause overflow */
  .cookie-consent-content {
    min-width: 0 !important;
    flex-direction: column;
  }

  .language-dropdown {
    min-width: 120px !important;
    right: 0;
    left: auto;
  }

  /* Ensure all sections fit within viewport */
  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .row > * {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  /* Service page hero adjustments */
  .service-hero-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Feature boxes responsive */
  .feature-box,
  .pricing-card,
  .benefit-card {
    margin-bottom: 1rem;
  }

  /* Legal pages (terms, privacy, usage) */
  .legal-section,
  .privacy-section,
  .terms-section {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* Prevent text overflow */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  p,
  li,
  span {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Navbar mobile fixes */
  .navbar-collapse {
    max-width: 100vw;
  }

  .navbar-nav {
    width: 100%;
  }

  /* Cookie consent mobile */
  .cookie-consent {
    width: calc(100vw - 2rem) !important;
    left: 1rem !important;
    right: 1rem !important;
    margin: 0 !important;
  }
}

/* Small mobile (320px - 374px) */
@media (max-width: 374px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
  }

  /* Extra small screen adjustments */
  .language-dropdown {
    min-width: 100px !important;
  }
}

/* Large desktop (1440px+) */
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }

  :root {
    --section-padding: 120px;
  }
}

/* ========================================
   ACCESSIBILITY & FOCUS STATES
   ======================================== */

/* Enhanced focus states for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--brand-primary);
  outline-offset: 2px;
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  /* Disable tunnel animation for reduced motion */
  .hero-tunnel-svg {
    display: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --brand-primary: #00f0ff;
  }

  .btn-primary {
    border: 2px solid var(--brand-primary);
  }
}

/* ========================================
   BACKGROUND IMAGE CAROUSEL
   ======================================== */

.carousel-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

/* Video slides - fill container like background-size: cover */
.carousel-slide video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Semi-transparent overlay for better text readability (theme-aware) */
.carousel-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
}

/* Light mode - use dark overlay (same as dark theme for better content visibility) */
[data-theme="light"] .carousel-slide::before {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

/* Animation Overlay Layer */
.carousel-animation-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none; /* Allow clicks to pass through to controls */
}

/* Carousel tunnel lines: extend below container so lines stay anchored to bottom edge.
   The animation's translateY(-120vh) lifts the base upward on portrait/square viewports
   (where vh > vw). The 40vh buffer below keeps the visible base at the container's
   bottom edge (clipped by .carousel-background overflow:hidden). */
.carousel-animation-overlay .tunnel-line {
  bottom: -40vh;
  transform-origin: 0 calc(100% - 40vh);
}

.carousel-animation-overlay .line-half {
  height: calc(37.5% + 40vh);
}

.carousel-animation-overlay .line-full {
  height: calc(75% + 40vh);
}

/* Carousel Controls */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  transition: all var(--transition-fast);
  border-radius: 50%;
  backdrop-filter: blur(10px);
}

.carousel-control:hover {
  background: rgba(0, 150, 200, 0.8);
  border-color: var(--brand-primary);
  transform: translateY(-50%) scale(1.1);
}

.carousel-control i {
  font-size: 1.5rem;
}

.carousel-control-prev {
  left: 2rem;
}

.carousel-control-next {
  right: 2rem;
}

/* Carousel Indicators (Dots) */
.carousel-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  z-index: 15;
  margin: 0;
  padding: 0;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.carousel-indicator:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.carousel-indicator.active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  transform: scale(1.3);
}

/* Mobile Responsive Controls */
@media (max-width: 768px) {
  /* Hide arrow buttons on mobile for cleaner UX - dots provide adequate navigation */
  .carousel-control {
    display: none;
  }

  /* Keep indicator dots visible and accessible */
  .carousel-indicators {
    bottom: 1rem;
  }

  .carousel-indicator {
    width: 10px;
    height: 10px;
  }
}

/* ========================================
   ASK AGENT PAGE STYLES
   Agent Chat Interface with Asteroids Animation
   ======================================== */

.agent-hero-section {
  min-height: auto !important;
  height: auto;
  display: block !important;
  position: relative;
  overflow: hidden;
  padding: 20px 0 60px;
}

.agent-hero-header {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

/* Asteroids Game Animation Background */
.cloud-animation-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  opacity: 0.6;
}

/* ========================================
   ASTEROIDS GAME ANIMATION
   80's Arcade Style Background Animation
   ======================================== */

.asteroids-field {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Base Asteroid Styles */
.asteroid {
  position: absolute;
  background: transparent;
  border: 2px solid rgba(0, 217, 255, 0.6);
  opacity: 0.8;
}

/* Asteroid Sizes */
.asteroid-large {
  width: 60px;
  height: 60px;
  border-width: 3px;
}

.asteroid-medium {
  width: 40px;
  height: 40px;
  border-width: 2px;
}

.asteroid-small {
  width: 25px;
  height: 25px;
  border-width: 2px;
}

.asteroid-tiny {
  width: 8px;
  height: 8px;
  border-width: 1px;
  opacity: 1;
}

/* Large Asteroid 1 - Octagon drifting top-left to bottom-right */
.asteroid-1 {
  clip-path: polygon(
    30% 0%,
    70% 0%,
    100% 30%,
    100% 70%,
    70% 100%,
    30% 100%,
    0% 70%,
    0% 30%
  );
  animation: asteroidDrift1 25s linear infinite;
}

@keyframes asteroidDrift1 {
  0% {
    left: -10%;
    top: 10%;
    transform: rotate(0deg);
  }
  100% {
    left: 110%;
    top: 85%;
    transform: rotate(360deg);
  }
}

/* Large Asteroid 2 - Hexagon drifting right to left */
.asteroid-2 {
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  animation: asteroidDrift2 30s linear infinite;
}

@keyframes asteroidDrift2 {
  0% {
    left: 110%;
    top: 20%;
    transform: rotate(0deg);
  }
  100% {
    left: -10%;
    top: 60%;
    transform: rotate(-360deg);
  }
}

/* Large Asteroid 3 - Pentagon drifting diagonal */
.asteroid-3 {
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  animation: asteroidDrift3 28s linear infinite;
}

@keyframes asteroidDrift3 {
  0% {
    left: -10%;
    top: 70%;
    transform: rotate(45deg);
  }
  100% {
    left: 110%;
    top: 15%;
    transform: rotate(405deg);
  }
}

/* Large Asteroid 4 - Irregular polygon slow drift */
.asteroid-4 {
  clip-path: polygon(20% 0%, 80% 10%, 100% 50%, 70% 90%, 30% 100%, 0% 60%);
  animation: asteroidDrift4 35s linear infinite;
}

@keyframes asteroidDrift4 {
  0% {
    left: 50%;
    top: -10%;
    transform: rotate(90deg);
  }
  100% {
    left: 40%;
    top: 110%;
    transform: rotate(450deg);
  }
}

/* Medium Asteroid 5 - Diamond */
.asteroid-5 {
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: asteroidDrift5 20s linear infinite;
}

@keyframes asteroidDrift5 {
  0% {
    left: 110%;
    top: 40%;
    transform: rotate(0deg);
  }
  100% {
    left: -10%;
    top: 70%;
    transform: rotate(-270deg);
  }
}

/* Medium Asteroid 6 - Heptagon */
.asteroid-6 {
  clip-path: polygon(
    50% 0%,
    90% 20%,
    100% 60%,
    75% 100%,
    25% 100%,
    0% 60%,
    10% 20%
  );
  animation: asteroidDrift6 22s linear infinite;
}

@keyframes asteroidDrift6 {
  0% {
    left: 15%;
    top: -10%;
    transform: rotate(0deg);
  }
  100% {
    left: 25%;
    top: 110%;
    transform: rotate(360deg);
  }
}

/* Medium Asteroid 7 - Octagon fast */
.asteroid-7 {
  clip-path: polygon(
    30% 0%,
    70% 0%,
    100% 30%,
    100% 70%,
    70% 100%,
    30% 100%,
    0% 70%,
    0% 30%
  );
  animation: asteroidDrift7 18s linear infinite;
}

@keyframes asteroidDrift7 {
  0% {
    left: -10%;
    top: 30%;
    transform: rotate(180deg);
  }
  100% {
    left: 110%;
    top: 75%;
    transform: rotate(-180deg);
  }
}

/* Medium Asteroid 8 - Pentagon */
.asteroid-8 {
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  animation: asteroidDrift8 24s linear infinite;
}

@keyframes asteroidDrift8 {
  0% {
    left: 70%;
    top: 110%;
    transform: rotate(0deg);
  }
  100% {
    left: 60%;
    top: -10%;
    transform: rotate(-360deg);
  }
}

/* Medium Asteroid 9 - Irregular hexagon */
.asteroid-9 {
  clip-path: polygon(30% 0%, 70% 0%, 100% 40%, 80% 100%, 20% 100%, 0% 40%);
  animation: asteroidDrift9 26s linear infinite;
}

@keyframes asteroidDrift9 {
  0% {
    left: 110%;
    top: 55%;
    transform: rotate(90deg);
  }
  100% {
    left: -10%;
    top: 25%;
    transform: rotate(450deg);
  }
}

/* Medium Asteroid 10 - Square */
.asteroid-10 {
  clip-path: polygon(15% 15%, 85% 15%, 85% 85%, 15% 85%);
  animation: asteroidDrift10 21s linear infinite;
}

@keyframes asteroidDrift10 {
  0% {
    left: -10%;
    top: 60%;
    transform: rotate(45deg);
  }
  100% {
    left: 110%;
    top: 35%;
    transform: rotate(405deg);
  }
}

/* Small Asteroids - Various polygons with faster speeds */
.asteroid-11 {
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: asteroidDrift11 15s linear infinite;
}

@keyframes asteroidDrift11 {
  0% {
    left: 110%;
    top: 15%;
    transform: rotate(0deg);
  }
  100% {
    left: -10%;
    top: 80%;
    transform: rotate(-360deg);
  }
}

.asteroid-12 {
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  animation: asteroidDrift12 17s linear infinite;
}

@keyframes asteroidDrift12 {
  0% {
    left: 20%;
    top: -10%;
    transform: rotate(45deg);
  }
  100% {
    left: 80%;
    top: 110%;
    transform: rotate(405deg);
  }
}

.asteroid-13 {
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  animation: asteroidDrift13 19s linear infinite;
}

@keyframes asteroidDrift13 {
  0% {
    left: -10%;
    top: 45%;
    transform: rotate(90deg);
  }
  100% {
    left: 110%;
    top: 50%;
    transform: rotate(450deg);
  }
}

.asteroid-14 {
  clip-path: polygon(
    30% 0%,
    70% 0%,
    100% 30%,
    100% 70%,
    70% 100%,
    30% 100%,
    0% 70%,
    0% 30%
  );
  animation: asteroidDrift14 16s linear infinite;
}

@keyframes asteroidDrift14 {
  0% {
    left: 110%;
    top: 65%;
    transform: rotate(0deg);
  }
  100% {
    left: -10%;
    top: 35%;
    transform: rotate(360deg);
  }
}

.asteroid-15 {
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: asteroidDrift15 14s linear infinite;
}

@keyframes asteroidDrift15 {
  0% {
    left: 40%;
    top: 110%;
    transform: rotate(180deg);
  }
  100% {
    left: 55%;
    top: -10%;
    transform: rotate(-180deg);
  }
}

.asteroid-16 {
  clip-path: polygon(
    50% 0%,
    90% 20%,
    100% 60%,
    75% 100%,
    25% 100%,
    0% 60%,
    10% 20%
  );
  animation: asteroidDrift16 18s linear infinite;
}

@keyframes asteroidDrift16 {
  0% {
    left: -10%;
    top: 25%;
    transform: rotate(0deg);
  }
  100% {
    left: 110%;
    top: 70%;
    transform: rotate(-360deg);
  }
}

.asteroid-17 {
  clip-path: polygon(30% 0%, 70% 0%, 100% 40%, 80% 100%, 20% 100%, 0% 40%);
  animation: asteroidDrift17 20s linear infinite;
}

@keyframes asteroidDrift17 {
  0% {
    left: 110%;
    top: 50%;
    transform: rotate(270deg);
  }
  100% {
    left: -10%;
    top: 45%;
    transform: rotate(-90deg);
  }
}

.asteroid-18 {
  clip-path: polygon(15% 15%, 85% 15%, 85% 85%, 15% 85%);
  animation: asteroidDrift18 15s linear infinite;
}

@keyframes asteroidDrift18 {
  0% {
    left: 65%;
    top: -10%;
    transform: rotate(45deg);
  }
  100% {
    left: 35%;
    top: 110%;
    transform: rotate(405deg);
  }
}

/* Tiny Asteroids - Star field effect */
.asteroid-tiny {
  border-radius: 50%;
  background: rgba(0, 217, 255, 0.8);
  border-width: 1px;
}

.asteroid-19 {
  animation: asteroidDrift19 12s linear infinite;
}

@keyframes asteroidDrift19 {
  0% {
    left: -5%;
    top: 20%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: 105%;
    top: 75%;
    opacity: 0;
  }
}

.asteroid-20 {
  animation: asteroidDrift20 10s linear infinite;
}

@keyframes asteroidDrift20 {
  0% {
    left: 105%;
    top: 30%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: -5%;
    top: 85%;
    opacity: 0;
  }
}

.asteroid-21 {
  animation: asteroidDrift21 14s linear infinite;
}

@keyframes asteroidDrift21 {
  0% {
    left: 25%;
    top: -5%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: 75%;
    top: 105%;
    opacity: 0;
  }
}

.asteroid-22 {
  animation: asteroidDrift22 11s linear infinite;
}

@keyframes asteroidDrift22 {
  0% {
    left: -5%;
    top: 60%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: 105%;
    top: 40%;
    opacity: 0;
  }
}

.asteroid-23 {
  animation: asteroidDrift23 13s linear infinite;
}

@keyframes asteroidDrift23 {
  0% {
    left: 80%;
    top: 105%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: 20%;
    top: -5%;
    opacity: 0;
  }
}

.asteroid-24 {
  animation: asteroidDrift24 9s linear infinite;
}

@keyframes asteroidDrift24 {
  0% {
    left: 105%;
    top: 70%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: -5%;
    top: 30%;
    opacity: 0;
  }
}

/* Quick Start Section */
.quick-start-section {
  background: var(--bg-secondary);
  position: relative;
  z-index: 2;
}

/* Chat Container */
.chat-container {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

/* Chat Messages Area */
.chat-messages {
  min-height: 400px;
  max-height: 550px;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--bg-primary);
  font-size: 0.9rem;
}

/* Custom Scrollbar */
.chat-messages::-webkit-scrollbar {
  width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: var(--brand-primary);
  border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
  background: var(--brand-primary-dark);
}

/* Chat Message */
.chat-message {
  display: flex;
  gap: 0.75rem;
  animation: fadeInUp 0.3s ease;
}

.chat-message.user-message {
  flex-direction: row-reverse;
}

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

/* Message Avatar */
.message-avatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.agent-message .message-avatar {
  background: linear-gradient(
    135deg,
    var(--brand-primary),
    var(--brand-secondary)
  );
  color: #000;
}

.user-message .message-avatar {
  background: var(--bg-tertiary);
  color: var(--brand-primary);
}

/* Message Content */
.message-content {
  flex: 1;
  min-width: 0;
}

.user-message .message-content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* Message Header */
.message-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.user-message .message-header {
  flex-direction: row-reverse;
}

.message-sender {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-primary);
}

.message-time {
  font-size: 0.7rem;
  color: var(--text-tertiary);
}

/* Message Text */
.message-text {
  background: var(--bg-secondary);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  line-height: 1.5;
  font-size: 0.9rem;
}

.user-message .message-text {
  background: rgba(0, 217, 255, 0.1);
  border: 1px solid rgba(0, 217, 255, 0.2);
  text-align: left;
}

.message-text p {
  margin: 0;
  text-align: left;
}

.message-text p + p {
  margin-top: 0.5rem;
}

.message-text ul,
.message-text ol {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

.message-text li {
  margin: 0.25rem 0;
}

.message-text strong {
  color: var(--brand-primary);
}

.message-text code {
  background: var(--bg-tertiary);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: "Courier New", monospace;
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.typing-dots {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
}

.typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-primary);
  animation: typingDot 1.4s infinite;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingDot {
  0%,
  60%,
  100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  30% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Chat Input Area */
.chat-input-area {
  padding: 0.5rem 0.75rem;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-color);
}

.chat-input {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.65rem;
  color: var(--text-primary);
  font-size: 0.85rem;
  line-height: 1.3;
  resize: none;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.chat-input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

.chat-input::placeholder {
  color: var(--text-tertiary);
}

.chat-input-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

.char-counter {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.btn-send {
  min-width: 90px;
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
}

/* Chat Actions */
.chat-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.chat-actions .btn {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
}

/* Quick Prompts Section */
.quick-prompts-section {
  margin-top: 3rem;
}

.quick-prompts-section h3 {
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 600;
}

.quick-prompt-card {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  color: var(--text-primary);
}

.quick-prompt-card:hover {
  background: var(--bg-secondary);
  border-color: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.quick-prompt-card i {
  font-size: 2rem;
  color: var(--brand-primary);
}

.quick-prompt-card span {
  font-weight: 500;
  font-size: 0.95rem;
}

/* Agent Feature Cards */
.agent-feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-normal);
}

.agent-feature-card:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
}

.agent-feature-card i {
  font-size: 2.5rem;
  color: var(--brand-primary);
  margin-bottom: 1rem;
}

.agent-feature-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.agent-feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Responsive Styles for Agent Page */
@media (max-width: 768px) {
  .agent-hero-section {
    padding: 40px 0 !important;
  }

  .agent-hero-icon {
    width: 80px;
    height: 80px;
    padding: 15px;
  }

  .chat-messages {
    min-height: 200px;
    max-height: 300px;
    padding: 1.5rem;
    gap: 1rem;
  }

  .chat-input-area {
    padding: 1rem;
  }

  .chat-input-footer {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }

  .btn-send {
    width: 100%;
  }

  .chat-actions {
    flex-direction: column;
  }

  .chat-actions .btn {
    width: 100%;
  }

  .message-avatar {
    width: 32px;
    height: 32px;
  }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
  .navbar,
  .theme-toggle,
  .hero-floating-element,
  .footer,
  .carousel-control,
  .carousel-indicators {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .hero-section {
    min-height: auto;
    page-break-after: always;
  }
}

/* ========================================
   DISCOVERY FORM STYLES
   Version: 1.1
   Added: November 17, 2025
   ======================================== */

/* Utility: Padding for fixed navbar */
.pt-navbar {
  padding-top: calc(80px + 2rem); /* Navbar height (~76px) + breathing room */
}

/* Discovery Hero Section */
.discovery-hero {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  transition: padding 0.3s ease;
}

.discovery-hero.hero-collapsed {
  padding-bottom: 0.5rem !important;
}

.discovery-hero h1 {
  color: var(--text-primary);
}

.discovery-hero .lead {
  color: var(--text-secondary);
}

/* Override Bootstrap text-muted for better dark mode visibility */
.discovery-hero .text-muted {
  color: var(--text-secondary) !important;
}

/* Progress indicator text in dark mode */
.discovery-progress .text-muted {
  color: var(--text-secondary) !important;
}

/* Hero Content - Collapsible (Discovery page only) */
.discovery-hero .hero-content {
  max-height: 300px;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    opacity 0.3s ease,
    margin 0.3s ease;
  opacity: 1;
}

.discovery-hero .hero-content.collapsed {
  max-height: 0;
  opacity: 0;
  margin: 0 !important;
}

/* Hero Collapse Toggle Button */
.hero-collapse-toggle {
  position: absolute;
  bottom: 8px;
  right: 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.25rem 0.5rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.75rem;
  line-height: 1;
  z-index: 10;
}

.hero-collapse-toggle:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-color: var(--brand-primary);
}

.hero-collapse-toggle i {
  transition: transform 0.2s ease;
}

/* Discovery Form Section */
.discovery-form-section {
  background: var(--bg-primary);
  min-height: calc(100vh - 200px);
}

/* Progress Indicator */
.discovery-progress {
  margin-bottom: 1.5rem;
}

.discovery-progress .progress {
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.discovery-progress .progress-bar {
  background: linear-gradient(
    90deg,
    var(--brand-primary) 0%,
    var(--brand-secondary) 100%
  );
  transition: width 0.3s ease;
}

/* Card Container */
.discovery-form-section .card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

/* Discovery Step Indicator in Nav */
.discovery-step-indicator {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.discovery-step-indicator .step-text {
  color: var(--brand-primary);
}

.discovery-step-indicator .step-name-wrapper {
  margin-left: 0.5rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Dark mode step indicator */
[data-theme="dark"] .discovery-step-indicator {
  color: #ffffff;
}

[data-theme="dark"] .discovery-step-indicator .step-text {
  color: #00d9ff;
}

[data-theme="dark"] .discovery-step-indicator .step-name-wrapper {
  color: #b0b0b0;
}

/* Light mode step indicator */
[data-theme="light"] .discovery-step-indicator {
  color: #000000;
}

[data-theme="light"] .discovery-step-indicator .step-text {
  color: #00b8d9;
}

[data-theme="light"] .discovery-step-indicator .step-name-wrapper {
  color: #666666;
}

/* Mobile step indicator adjustments */
@media (max-width: 991px) {
  .discovery-step-indicator {
    position: static;
    transform: none;
    order: 2;
    flex: 1;
    text-align: center;
    font-size: 0.85rem;
  }
}

@media (max-width: 575px) {
  .discovery-step-indicator {
    font-size: 0.8rem;
  }
}

/* Tab Navigation */
.discovery-tabs {
  gap: 0.25rem;
  flex-wrap: wrap;
}

.discovery-tabs .nav-item {
  flex: 1 1 auto;
  min-width: 60px;
}

.discovery-tabs .nav-link {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.discovery-tabs .nav-link:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-color: var(--brand-primary);
}

.discovery-tabs .nav-link.active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #000;
  font-weight: 600;
}

/* Section Titles */
.section-title {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--brand-primary);
  margin-bottom: 1.5rem;
}

.subsection-title {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 1rem;
}

/* Form Controls - Inherit from contact-section patterns */
.discovery-form-section .form-control,
.discovery-form-section .form-select,
.discovery-form-section textarea.form-control {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: var(--radius-md);
}

.discovery-form-section .form-control:focus,
.discovery-form-section .form-select:focus,
.discovery-form-section textarea.form-control:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 0.25rem rgba(0, 217, 255, 0.15);
  background-color: var(--bg-primary);
}

.discovery-form-section .form-floating > label {
  color: var(--text-secondary);
}

.discovery-form-section .form-floating > .form-control:focus ~ label,
.discovery-form-section
  .form-floating
  > .form-control:not(:placeholder-shown)
  ~ label,
.discovery-form-section .form-floating > .form-select ~ label {
  color: var(--brand-primary);
}

/* Hide placeholder text when floating label is active (prevents text overlay) */
.discovery-form-section .form-floating > .form-control:focus::placeholder,
.discovery-form-section
  .form-floating
  > .form-control:not(:placeholder-shown)::placeholder {
  opacity: 0;
  color: transparent;
}

/* Checkboxes */
.discovery-form-section .form-check-input {
  background-color: var(--bg-primary);
  border-color: var(--border-color);
}

.discovery-form-section .form-check-input:checked {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.discovery-form-section .form-check-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.discovery-form-section .form-label {
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

/* Invalid Feedback */
.discovery-form-section .invalid-feedback {
  color: var(--error);
  font-size: 0.85rem;
}

/* Navigation Buttons */
.discovery-form-section .btn-outline-secondary {
  border-color: var(--border-color);
  color: var(--text-secondary);
}

.discovery-form-section .btn-outline-secondary:hover {
  background: var(--bg-tertiary);
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

/* Submit Section */
.submit-section {
  border-color: var(--border-color) !important;
}

/* Form Message */
.discovery-form-section .form-message {
  border-radius: var(--radius-md);
}

/* Dark Mode Specific Overrides */
[data-theme="dark"] .discovery-form-section .form-control,
[data-theme="dark"] .discovery-form-section .form-select,
[data-theme="dark"] .discovery-form-section textarea.form-control {
  background-color: #333333;
  border-color: #444444;
  color: #ffffff;
}

[data-theme="dark"] .discovery-form-section .form-control:focus,
[data-theme="dark"] .discovery-form-section .form-select:focus,
[data-theme="dark"] .discovery-form-section textarea.form-control:focus {
  border-color: #00d9ff;
  box-shadow: 0 0 0 0.25rem rgba(0, 217, 255, 0.25);
}

[data-theme="dark"] .discovery-form-section .form-control::placeholder,
[data-theme="dark"] .discovery-form-section textarea.form-control::placeholder {
  color: #888888;
}

/* Hide placeholder in dark mode when label is visible (prevents text overlay) */
[data-theme="dark"]
  .discovery-form-section
  .form-floating
  > .form-control::placeholder,
[data-theme="dark"]
  .discovery-form-section
  .form-floating
  > textarea.form-control::placeholder {
  opacity: 0;
  color: transparent;
}

[data-theme="dark"] .discovery-form-section .form-floating > label {
  color: #adb5bd;
}

[data-theme="dark"]
  .discovery-form-section
  .form-floating
  > .form-control:focus
  ~ label,
[data-theme="dark"]
  .discovery-form-section
  .form-floating
  > .form-control:not(:placeholder-shown)
  ~ label,
[data-theme="dark"]
  .discovery-form-section
  .form-floating
  > .form-select
  ~ label {
  color: #00d9ff;
}

[data-theme="dark"] .discovery-form-section .form-check-input {
  background-color: #333333;
  border-color: #555555;
}

[data-theme="dark"] .discovery-form-section .form-check-input:checked {
  background-color: #00d9ff;
  border-color: #00d9ff;
}

[data-theme="dark"] .discovery-tabs .nav-link {
  background: #2a2a2a;
  border-color: #444444;
}

[data-theme="dark"] .discovery-tabs .nav-link:hover {
  background: #333333;
  border-color: #00d9ff;
}

[data-theme="dark"] .discovery-tabs .nav-link.active {
  background: transparent;
  border-color: #00d9ff;
  color: #ffffff;
  font-weight: 700;
}

/* Light Mode Specific */
[data-theme="light"] .discovery-form-section .form-control,
[data-theme="light"] .discovery-form-section .form-select,
[data-theme="light"] .discovery-form-section textarea.form-control {
  background-color: #ffffff;
  border-color: #dee2e6;
  color: #212529;
}

[data-theme="light"] .discovery-form-section .form-control:focus,
[data-theme="light"] .discovery-form-section .form-select:focus,
[data-theme="light"] .discovery-form-section textarea.form-control:focus {
  border-color: #00b8d9;
  box-shadow: 0 0 0 0.25rem rgba(0, 184, 217, 0.15);
}

[data-theme="light"] .discovery-tabs .nav-link {
  background: #f8f9fa;
  border-color: #dee2e6;
}

[data-theme="light"] .discovery-tabs .nav-link.active {
  background: transparent;
  border-color: #00b8d9;
  color: #000000;
  font-weight: 700;
}

/* Autofill Styles */
[data-theme="dark"] .discovery-form-section .form-control:-webkit-autofill,
[data-theme="dark"] .discovery-form-section .form-select:-webkit-autofill,
[data-theme="dark"]
  .discovery-form-section
  textarea.form-control:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #333333 inset !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff;
}

/* Responsive Styles for Discovery Form */
@media (max-width: 992px) {
  .discovery-tabs .nav-link {
    font-size: 0.75rem;
    padding: 0.4rem 0.5rem;
  }
}

@media (max-width: 768px) {
  .discovery-hero {
    padding: 2rem 0 !important;
  }

  .discovery-hero h1 {
    font-size: 2rem;
  }

  .discovery-form-section .card-body {
    padding: 1.5rem !important;
  }

  .discovery-tabs {
    gap: 0.15rem;
  }

  .discovery-tabs .nav-item {
    min-width: 30px;
  }

  .discovery-tabs .nav-link {
    font-size: 0.7rem;
    padding: 0.35rem 0.4rem;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .subsection-title {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .discovery-form-section .card-body {
    padding: 1rem !important;
  }

  .discovery-tabs .nav-link span.d-none {
    display: none !important;
  }
}

/* Mobile Accordion Layout for Discovery Form (<800px) */
@media (max-width: 799px) {
  /* Hide horizontal tab navigation */
  .discovery-tabs {
    display: none !important;
  }

  /* Show all tab panes stacked vertically */
  .discovery-form-section .tab-content .tab-pane {
    display: block !important;
    opacity: 1 !important;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
  }

  /* Style section titles as accordion headers */
  .discovery-form-section .tab-pane .section-title {
    cursor: pointer;
    position: relative;
    padding-right: 2rem;
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
  }

  /* Add chevron indicator */
  .discovery-form-section .tab-pane .section-title::after {
    content: "\F282";
    font-family: "bootstrap-icons";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    font-size: 1rem;
    color: var(--text-secondary);
  }

  /* Rotate chevron when collapsed */
  .discovery-form-section .tab-pane.accordion-collapsed .section-title::after {
    transform: translateY(-50%) rotate(-90deg);
  }

  /* Hide content when collapsed */
  .discovery-form-section
    .tab-pane.accordion-collapsed
    > *:not(.section-title) {
    display: none !important;
  }

  /* Remove card wrapper styling on mobile (sections are the cards now) */
  .discovery-form-section .card {
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .discovery-form-section .card-body {
    padding: 0 !important;
  }

  /* Adjust spacing for stacked sections */
  .discovery-form-section .tab-pane:last-child {
    margin-bottom: 0;
  }
}

/* Desktop: Ensure tabs are visible */
@media (min-width: 800px) {
  .discovery-tabs {
    display: flex !important;
  }
}

/* Discovery Agent Modal / Chat Styles */
#discoveryAgentModal .modal-content {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
}

#discoveryAgentModal .modal-header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

#discoveryAgentModal .modal-title {
  color: var(--text-primary);
}

#discoveryAgentModal .btn-close {
  filter: var(--btn-close-filter, none);
}

[data-theme="dark"] #discoveryAgentModal .btn-close {
  filter: invert(1);
}

.discovery-chat-container {
  display: flex;
  flex-direction: column;
  height: 400px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.chat-message {
  margin-bottom: 1rem;
}

.chat-message.assistant .message-content {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  color: var(--text-primary);
}

.chat-message.assistant .message-content p:last-child {
  margin-bottom: 0;
}

.chat-message.assistant .message-content ul {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
}

.chat-message.assistant .message-content li {
  margin-bottom: 0.25rem;
  color: var(--text-secondary);
}

.chat-message.user .message-content {
  background: var(--brand-primary);
  color: #000;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  margin-left: 20%;
}

.chat-input-container .form-control {
  background: var(--bg-primary);
  border-color: var(--border-color);
  color: var(--text-primary);
}

.chat-input-container .form-control:focus {
  background: var(--bg-primary);
  border-color: var(--brand-primary);
  color: var(--text-primary);
}

.chat-input-container .form-control::placeholder {
  color: var(--text-muted);
}

/* ========================================
   PAC-MAN ANIMATION (Discovery Footer)
   JavaScript-driven animation - CSS for styling only
   ======================================== */

.footer-discovery {
  padding-top: 0;
}

.pacman-animation {
  height: 100px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  margin: 0 !important;
}

/* Remove all spacing before pacman animation */
main + .container-fluid {
  margin-top: 0 !important;
}

main + .container-fluid .pacman-animation {
  margin-top: 0 !important;
}

/* Remove footer top margin when it follows pacman animation */
.container-fluid + .footer,
.container-fluid + footer {
  margin-top: 0 !important;
}

.pacman-track {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 40px;
}

/* Pac-Man Character */
.pacman-character {
  position: absolute;
  left: -40px;
}

.pacman-body {
  width: 40px;
  height: 40px;
  background: #ffe135;
  border-radius: 50%;
  position: relative;
}

/* Mouth is created via clip-path on .pacman-body by JS */

/* Ghost Characters */
.pacman-ghost {
  position: absolute;
  left: -36px;
}

/* Ghost 1 - Cyan (Inky) */
.ghost-1 .ghost-body {
  background: var(--brand-primary);
}

/* Ghost 2 - Pink (Pinky) */
.ghost-2 .ghost-body {
  background: #ffb8ff;
}

.ghost-body {
  width: 36px;
  height: 36px;
  border-radius: 50% 50% 25% 25%;
  position: relative;
}

.ghost-eyes {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 8px;
}

.ghost-eye {
  width: 10px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  position: relative;
}

.ghost-eye::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 2px;
  width: 5px;
  height: 5px;
  background: #2121de;
  border-radius: 50%;
}

/* Mobile adjustments for Pac-Man */
@media (max-width: 768px) {
  .pacman-animation {
    height: 80px;
  }

  .pacman-body {
    width: 30px;
    height: 30px;
  }

  .ghost-body {
    width: 28px;
    height: 28px;
  }

  .ghost-eye {
    width: 8px;
    height: 10px;
  }

  .ghost-eye::after {
    width: 4px;
    height: 4px;
    top: 3px;
  }
}
