/* ==========================================================================
   DoctorCreations.tech — Ultra-Fast Liquid Glass & 3D Responsive Stylesheet
   Hardware-Accelerated (60/120fps) & Multi-Screen Optimized (320px to 4K)
   ========================================================================== */

:root {
  /* Light Theme Palette — Iridescent Pearl & Crystal Glass */
  --bg-primary: #f6f9ff;
  --bg-secondary: #eef3fc;
  --text-primary: #0a1128;
  --text-secondary: #3e4c6e;
  --text-muted: #647499;

  /* Brand Accents */
  --accent-primary: #2563eb;
  --accent-secondary: #06b6d4;
  --accent-tertiary: #7c3aed;
  --accent-emerald: #10b981;
  --gradient-brand: linear-gradient(135deg, #2563eb 0%, #06b6d4 52%, #7c3aed 100%);
  --gradient-pill: linear-gradient(135deg, rgba(37, 99, 235, 0.09) 0%, rgba(6, 182, 212, 0.11) 100%);

  /* High-Performance Liquid Glass Tokens */
  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.84) 0%, rgba(255, 255, 255, 0.64) 100%);
  --glass-bg-hover: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.78) 100%);
  --glass-border: rgba(255, 255, 255, 0.92);
  --glass-shadow:
    0 14px 34px -10px rgba(15, 23, 42, 0.07),
    0 2px 10px -2px rgba(37, 99, 235, 0.04),
    inset 0 1.5px 3px 0 rgba(255, 255, 255, 0.98);
  --glass-shadow-hover:
    0 22px 48px -12px rgba(37, 99, 235, 0.15),
    0 6px 18px -4px rgba(6, 182, 212, 0.09),
    inset 0 2px 4px 0 rgba(255, 255, 255, 1);

  --blur-fast: blur(12px) saturate(160%);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --radius-full: 9999px;

  --transition-fast: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, background 0.28s ease;
  --container-width: 1280px;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 12%, rgba(6, 182, 212, 0.14) 0%, transparent 40%),
    radial-gradient(circle at 90% 16%, rgba(124, 58, 237, 0.11) 0%, transparent 42%),
    radial-gradient(circle at 50% 58%, rgba(37, 99, 235, 0.09) 0%, transparent 50%),
    radial-gradient(circle at 82% 88%, rgba(16, 185, 129, 0.10) 0%, transparent 42%),
    var(--bg-primary);
  line-height: 1.65;
}

/* Interactive 3D Canvas Background */
#webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  transform: translateZ(0);
}

/* Zero-Blur-Filter Ambient Orbs (Uses pre-softened radial gradients for 0 GPU lag) */
.ambient-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.orb-1 {
  width: min(650px, 85vw);
  height: min(650px, 85vw);
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, rgba(96, 165, 250, 0.08) 45%, transparent 72%);
  top: -180px;
  left: -150px;
}

.orb-2 {
  width: min(600px, 80vw);
  height: min(600px, 80vw);
  background: radial-gradient(circle, rgba(168, 85, 247, 0.18) 0%, rgba(129, 140, 248, 0.06) 45%, transparent 72%);
  top: 32%;
  right: -180px;
}

.orb-3 {
  width: min(550px, 75vw);
  height: min(550px, 75vw);
  background: radial-gradient(circle, rgba(52, 211, 153, 0.18) 0%, rgba(34, 211, 238, 0.06) 45%, transparent 72%);
  bottom: -160px;
  left: 18%;
}

/* Main Content Wrapper */
.site-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 36px);
}

/* ==========================================================================
   Hardware-Accelerated Liquid Glass & 3D Card Engine
   ========================================================================== */

.liquid-glass {
  background: var(--glass-bg);
  backdrop-filter: var(--blur-fast);
  -webkit-backdrop-filter: var(--blur-fast);
  border: 1.5px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  transition: var(--transition-fast);
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

/* Specular Dynamic Glare Overlay */
.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    480px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.75),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 1;
}

/* Subtle Liquid Rim Highlight */
.liquid-glass::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12);
  pointer-events: none;
  z-index: 2;
}

@media (hover: hover) and (pointer: fine) {
  .liquid-glass:hover::before {
    opacity: 1;
  }

  .liquid-glass:hover {
    background: var(--glass-bg-hover);
    box-shadow: var(--glass-shadow-hover);
  }
}

.tilt-card {
  transform-style: preserve-3d;
}

.tilt-content {
  position: relative;
  z-index: 3;
}

/* ==========================================================================
   Navigation Bar — Responsive Floating Liquid Pill
   ========================================================================== */

.navbar-wrap {
  position: fixed;
  top: clamp(10px, 2vw, 18px);
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 clamp(12px, 3vw, 24px);
}

.navbar {
  width: 100%;
  max-width: var(--container-width);
  padding: 12px clamp(16px, 2.5vw, 26px);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, 0.96);
  box-shadow:
    0 12px 32px -8px rgba(15, 23, 42, 0.08),
    inset 0 1.5px 3px rgba(255, 255, 255, 1);
  transition: padding 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.navbar.scrolled {
  padding: 10px clamp(16px, 2.5vw, 24px);
  background: rgba(255, 255, 255, 0.93);
  box-shadow:
    0 16px 40px -10px rgba(37, 99, 235, 0.14),
    inset 0 1.5px 3px rgba(255, 255, 255, 1);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: clamp(1.05rem, 1.85vw, 1.26rem);
  letter-spacing: -0.035em;
  flex-shrink: 0;
  position: relative;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 18px rgba(37, 99, 235, 0.35));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.logo-mark svg,
.logo-mark img {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-logo:hover .logo-mark {
  transform: perspective(400px) rotateY(14deg) rotateX(-8deg) scale(1.07);
  filter: drop-shadow(0 12px 24px rgba(6, 182, 212, 0.5));
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-name {
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-primary);
}

.brand-name .brand-accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-sub {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

.brand-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--gradient-pill);
  color: var(--accent-primary);
  border: 1px solid rgba(37, 99, 235, 0.2);
  white-space: nowrap;
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 15px;
  border-radius: var(--radius-full);
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-primary);
  background: rgba(37, 99, 235, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.18);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   Buttons & Interactive Triggers
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow:
    0 10px 24px -6px rgba(37, 99, 235, 0.45),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 15px 30px -6px rgba(37, 99, 235, 0.58),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.7);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-primary);
  border: 1.5px solid rgba(37, 99, 235, 0.15);
  box-shadow: 0 8px 20px -6px rgba(15, 23, 42, 0.06);
}

.btn-glass:hover {
  background: #ffffff;
  color: var(--accent-primary);
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px -6px rgba(16, 185, 129, 0.42);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -6px rgba(16, 185, 129, 0.55);
}

/* ==========================================================================
   Hero Section & 3D Interactive Stage
   ========================================================================== */

.hero {
  padding: clamp(115px, 14vw, 155px) 0 clamp(55px, 8vw, 90px);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.88);
  border: 1.5px solid rgba(37, 99, 235, 0.16);
  box-shadow: 0 6px 18px -6px rgba(37, 99, 235, 0.12);
  font-size: clamp(0.75rem, 1.5vw, 0.85rem);
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 20px;
  max-width: 100%;
}

.badge-pill span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  flex-shrink: 0;
  animation: pulseDot 2.2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.75; }
}

.hero-title {
  font-size: clamp(2.05rem, 4.6vw, 4.15rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: clamp(0.98rem, 1.6vw, 1.14rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: 30px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

/* Hero Metrics Bar */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.metric-card {
  padding: clamp(14px, 2vw, 18px) clamp(14px, 2vw, 20px);
  border-radius: var(--radius-sm);
}

.metric-value {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.metric-label {
  font-size: clamp(0.75rem, 1.2vw, 0.82rem);
  font-weight: 600;
  color: var(--text-muted);
}

/* 3D Interactive Floating Glass Holo-Stack */
.hero-visual {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.holo-stage {
  position: relative;
  width: 100%;
  max-width: 460px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.holo-main-card {
  width: 100%;
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.holo-floating-badge {
  position: absolute;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.84rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 35px -8px rgba(37, 99, 235, 0.2);
  z-index: 5;
}

.holo-badge-top {
  top: -16px;
  right: -8px;
}

.holo-badge-bottom {
  bottom: -16px;
  left: -8px;
}

/* Animated 3D Core Cube inside Hero Card */
.cube-scene {
  width: 104px;
  height: 104px;
  margin: 12px auto;
  perspective: 550px;
}

.cube-3d {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  animation: spinCube 18s linear infinite;
}

.cube-face {
  position: absolute;
  width: 104px;
  height: 104px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(6, 182, 212, 0.22));
  border: 2px solid rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--accent-primary);
  box-shadow: inset 0 0 14px rgba(255, 255, 255, 0.85);
  backface-visibility: visible;
}

.cube-face.front  { transform: rotateY(  0deg) translateZ(52px); }
.cube-face.back   { transform: rotateY(180deg) translateZ(52px); }
.cube-face.right  { transform: rotateY( 90deg) translateZ(52px); }
.cube-face.left   { transform: rotateY(-90deg) translateZ(52px); }
.cube-face.top    { transform: rotateX( 90deg) translateZ(52px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(52px); }

@keyframes spinCube {
  0% { transform: rotateX(15deg) rotateY(0deg); }
  100% { transform: rotateX(375deg) rotateY(360deg); }
}

.status-bars {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(37, 99, 235, 0.12);
  font-size: 0.83rem;
  font-weight: 600;
}

.status-pill {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.14);
  color: #059669;
  white-space: nowrap;
}

/* ==========================================================================
   Section Styling & Headers
   ========================================================================== */

.section {
  padding: clamp(55px, 8vw, 95px) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 58px);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--accent-primary);
  background: var(--gradient-pill);
  padding: 6px 15px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(37, 99, 235, 0.18);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.75rem, 3.4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin-bottom: 14px;
}

.section-desc {
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  color: var(--text-secondary);
}

/* ==========================================================================
   Services / Operations Grid
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 275px), 1fr));
  gap: clamp(18px, 2.5vw, 26px);
}

.service-card {
  padding: clamp(24px, 3.5vw, 34px) clamp(20px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.service-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--gradient-brand);
  display: grid;
  place-items: center;
  color: #ffffff;
  box-shadow: 0 10px 22px -6px rgba(37, 99, 235, 0.4);
}

.service-title {
  font-size: 1.28rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.service-text {
  color: var(--text-secondary);
  font-size: 0.94rem;
  margin-bottom: 14px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
}

.service-tag {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(37, 99, 235, 0.16);
  color: var(--text-secondary);
}

/* ==========================================================================
   Company Story & Founders Leadership Section
   ========================================================================== */

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(22px, 3.5vw, 38px);
  align-items: stretch;
}

.story-panel {
  padding: clamp(24px, 4vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.timeline-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.timeline-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.timeline-year {
  padding: 5px 11px;
  border-radius: 9px;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.5vw, 24px);
}

.founder-card {
  padding: clamp(24px, 3.5vw, 34px) clamp(20px, 2.5vw, 26px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.founder-avatar {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  background: var(--gradient-brand);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.85rem;
  font-weight: 800;
  margin: 0 auto 18px;
  box-shadow: 0 14px 28px -6px rgba(37, 99, 235, 0.42);
}

.founder-role {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-primary);
  background: var(--gradient-pill);
  padding: 4px 13px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.founder-name {
  font-size: 1.38rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.founder-bio {
  font-size: 0.91rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* ==========================================================================
   Contact & Direct Channels Section
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr));
  gap: clamp(16px, 2.5vw, 24px);
}

.contact-card {
  padding: clamp(22px, 3vw, 30px) clamp(18px, 2.5vw, 24px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent-primary);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.contact-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
}

.contact-value {
  font-size: clamp(0.96rem, 1.4vw, 1.08rem);
  font-weight: 800;
  color: var(--text-primary);
  word-break: break-word;
  overflow-wrap: anywhere;
  text-decoration: none;
  display: inline-block;
  margin-top: 4px;
}

.contact-value:hover {
  color: var(--accent-primary);
}

/* ==========================================================================
   Query Form & Interactive Dispatch Console
   ========================================================================== */

.query-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(22px, 3.5vw, 36px);
  align-items: start;
}

.query-form-card {
  padding: clamp(22px, 4vw, 42px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(37, 99, 235, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.14);
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
}

/* Department Selector Pills */
.dept-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.dept-option {
  position: relative;
}

.dept-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dept-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 12px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.8);
  border: 1.5px solid rgba(37, 99, 235, 0.15);
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 700;
  font-size: 0.84rem;
  word-break: break-word;
}

.dept-option input:checked + .dept-pill {
  background: rgba(37, 99, 235, 0.1);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: 0 6px 16px -4px rgba(37, 99, 235, 0.22);
}

.form-feedback {
  margin-top: 20px;
  padding: 18px;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.12);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  display: none;
}

.form-feedback.visible {
  display: block;
}

/* ==========================================================================
   Footer & Floating WhatsApp Quick Action
   ========================================================================== */

.footer {
  padding: clamp(45px, 6vw, 68px) 0 36px;
  margin-top: 40px;
  border-top: 1px solid rgba(37, 99, 235, 0.12);
  background: rgba(255, 255, 255, 0.65);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 3.5vw, 36px);
  margin-bottom: 38px;
}

.footer-heading {
  font-size: 0.94rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-primary);
}

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

.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  word-break: break-word;
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(37, 99, 235, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Floating WhatsApp Action Pill */
.whatsapp-float {
  position: fixed;
  bottom: clamp(14px, 2.5vw, 24px);
  right: clamp(14px, 2.5vw, 24px);
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  box-shadow: 0 12px 28px -6px rgba(16, 185, 129, 0.55);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -6px rgba(16, 185, 129, 0.68);
}

/* Instant Reveal Animations */
.reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ==========================================================================
   Comprehensive Multi-Screen Responsive Design (Ultra-Wide, Laptop, Tablet, Mobile)
   ========================================================================== */

/* Large Desktops / Ultra-Wide (1600px+) */
@media (min-width: 1600px) {
  :root {
    --container-width: 1420px;
  }
}

/* Small Laptops & Landscape Tablets (max-width: 1120px) */
@media (max-width: 1120px) {
  .nav-actions .btn-glass {
    display: none;
  }

  .hero-grid,
  .about-layout,
  .query-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-metrics {
    width: 100%;
    max-width: 680px;
  }

  .hero-visual {
    min-height: 390px;
    margin-top: 10px;
  }

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

/* Tablets & Large Phones (max-width: 860px) */
@media (max-width: 860px) {
  .mobile-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1.5px solid rgba(37, 99, 235, 0.16);
    box-shadow: 0 22px 45px -12px rgba(15, 23, 42, 0.18);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    padding: 12px 16px;
    text-align: center;
    font-size: 0.98rem;
  }

  .dept-selector {
    grid-template-columns: 1fr;
  }
}

/* Standard Mobile Phones (max-width: 640px) */
@media (max-width: 640px) {
  .brand-tag {
    display: none;
  }

  .nav-actions .btn-primary {
    padding: 8px 14px !important;
    font-size: 0.8rem !important;
  }

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

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

  .hero-metrics,
  .founders-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .holo-floating-badge {
    position: static;
    width: 100%;
    justify-content: center;
  }

  .holo-stage {
    flex-direction: column;
    gap: 12px;
    min-height: auto;
  }

  .timeline-item {
    flex-direction: column;
    gap: 8px;
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    padding: 14px;
    border-radius: 50%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Compact Mobile Screens (max-width: 380px) */
@media (max-width: 380px) {
  .nav-actions .btn-primary {
    display: none;
  }

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