/* --------------------------------------------------------------------------
   1. COLOR PALETTE & CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* DARK THEME (DEFAULT) */
  --bg-primary: #0B0B0F;
  --bg-secondary: #111111;
  --bg-tertiary: #161622;

  --text-primary: #F0F2F8;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-bg-hover: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.296);
  --glass-border-hover: rgba(255, 255, 255, 0.3);
  --glass-specular: rgba(255, 255, 255, 0.25);

  --accent: #6C63FF;
  --accent-hover: #574EFA;
  --accent-light: #928CFF;
  --accent-glow: rgba(108, 99, 255, 0.35);

  --gradient-primary: linear-gradient(135deg, #6C63FF 0%, #3F38DD 50%, #FF6584 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
  --gradient-card-hover: linear-gradient(135deg, rgba(108, 99, 255, 0.15) 0%, rgba(255, 255, 255, 0.03) 100%);

  --card-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

  --blur-radius: 20px;
  --card-radius: 20px;
  --btn-radius: 50px;

  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Outfit', sans-serif;

  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* LIGHT THEME OVERRIDES */
[data-theme="light"] {
  --bg-primary: #F5F7FA;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #E8EEF5;

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;

  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-bg-hover: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(148, 148, 148, 0.35);
  --glass-border-hover: rgba(90, 84, 255, 0.35);
  --glass-specular: rgba(255, 255, 255, 0.8);

  --accent: #5A54FF;
  --accent-hover: #433CDD;
  --accent-light: #807BFF;
  --accent-glow: rgba(90, 84, 255, 0.25);

  --gradient-primary: linear-gradient(135deg, #5A54FF 0%, #3F38DD 50%, #FF5376 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
  --gradient-card-hover: linear-gradient(135deg, rgba(90, 84, 255, 0.12) 0%, rgba(255, 255, 255, 0.7) 100%);

  --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* --------------------------------------------------------------------------
   2. BASE & RESET STYLES
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(108, 99, 255, 0.3);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY & REUSABLE UTILITIES
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.container {
  width: 100%;
  max-width: 1440px !important;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 56px) !important;
  box-sizing: border-box !important;
}

main,
section,
header,
footer {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.section-padding {
  padding: 120px 0;
}

.text-center {
  text-align: center;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header {
  max-width: 860px !important;
  margin: 0 auto 64px auto;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

/* Ambient Background Light Blobs */
.ambient-light-blob {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  max-width: 100vw !important;
}

.blob-top-left {
  top: -150px;
  left: -150px;
}

.blob-bottom-right {
  bottom: -150px;
  right: -150px;
}

/* Reusable Glass Card Class */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur-radius));
  -webkit-backdrop-filter: blur(var(--blur-radius));
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  box-shadow: var(--glass-shadow);
  transition: transform var(--transition-normal), border-color var(--transition-normal), background var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: 0 20px 40px var(--accent-glow);
}

/* Reusable Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--btn-radius);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #FFFFFF;
  box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px var(--accent-glow);
}

.btn-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur-radius));
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
}

.btn-glass:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-3px);
}

.btn-nav {
  padding: 10px 24px;
  font-size: 0.9rem;
  background: var(--gradient-primary);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   4. STICKY NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-normal);
  background: rgba(11, 11, 15, 0.2);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .navbar {
  background: rgba(245, 247, 250, 0.3);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px var(--accent-glow));
  transition: transform var(--transition-spring), filter var(--transition-fast);
}

.nav-logo:hover .logo-img {
  transform: scale(1.1) translateY(-1px);
  filter: drop-shadow(0 0 15px var(--accent));
}

.accent-dot {
  color: var(--accent);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Theme Toggle Switch */
.theme-toggle-btn {
  width: 58px;
  height: 32px;
  border-radius: 30px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  position: relative;
  cursor: pointer;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: inset 0 1px 2px var(--glass-specular), 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.toggle-icon-bg {
  font-size: 0.7rem;
  z-index: 1;
  transition: opacity var(--transition-fast);
}

.dark-bg-icon {
  margin-left: 6px;
  color: var(--text-muted);
  opacity: 0;
}

.light-bg-icon {
  margin-right: 6px;
  color: #F59E0B;
  opacity: 1;
}

[data-theme="light"] .dark-bg-icon {
  opacity: 1;
  color: var(--text-muted);
}

[data-theme="light"] .light-bg-icon {
  opacity: 0;
}

.theme-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 0.75rem;
  transition: transform var(--transition-spring), background var(--transition-fast);
  box-shadow: 0 2px 8px var(--accent-glow);
  z-index: 2;
}

.theme-toggle-knob .icon-light {
  display: none;
}

.theme-toggle-knob .icon-dark {
  display: block;
}

[data-theme="light"] .theme-toggle-knob {
  transform: translateX(26px);
  background: linear-gradient(135deg, #F59E0B, #EF4444);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

[data-theme="light"] .theme-toggle-knob .icon-dark {
  display: none;
}

[data-theme="light"] .theme-toggle-knob .icon-light {
  display: block;
  color: #FFFFFF;
}

.mobile-menu-cta {
  display: none;
  margin-top: 30px;
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 180px 0 100px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px) !important;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 30px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  margin-bottom: 24px;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.badge-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.hero-title {
  font-size: 4rem;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 50px;
}

/* HERO RIGHT: CSS GLASS ILLUSTRATION */
.hero-visual {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glass-illustration {
  position: relative;
  width: 100%;
  height: 100%;
}

.illustration-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: var(--gradient-primary);
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.4;
  animation: blobFloat 8s infinite alternate ease-in-out;
  max-width: 100vw !important;
}

@keyframes blobFloat {
  0% { transform: translate(-50%, -50%) scale(0.9) rotate(0deg); }
  100% { transform: translate(-45%, -55%) scale(1.1) rotate(180deg); }
}

.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px stroke transparent;
  transform: translate(-50%, -50%);
}

.ring-outer {
  width: 380px;
  height: 380px;
  border: 1px dashed var(--glass-border);
  animation: spin 35s linear infinite;
}

.ring-inner {
  width: 260px;
  height: 260px;
  border: 1px solid rgba(108, 99, 255, 0.2);
  animation: spinReverse 25s linear infinite;
}

@keyframes spin { 100% { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes spinReverse { 100% { transform: translate(-50%, -50%) rotate(-360deg); } }

.glass-circle {
  position: absolute;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
}

.float-shape-1 {
  width: 80px;
  height: 80px;
  top: 10%;
  right: 15%;
  animation: float 6s ease-in-out infinite;
}

.float-shape-2 {
  width: 50px;
  height: 50px;
  bottom: 15%;
  left: 10%;
  animation: float 8s ease-in-out infinite 1s;
}

.blur-pill {
  position: absolute;
  width: 120px;
  height: 40px;
  border-radius: 20px;
  background: var(--gradient-primary);
  filter: blur(20px);
  opacity: 0.6;
  top: 20%;
  left: 15%;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

.illustration-card {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
}

.main-glass-card {
  width: 320px;
  padding: 20px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  animation: floatMain 7s ease-in-out infinite;
}

@keyframes floatMain {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, -58%); }
}

.card-glass-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--glass-border);
}

.window-dots { display: flex; gap: 6px; }
.window-dots .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.card-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.graphic-chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 100px;
  margin-bottom: 20px;
  padding: 0 10px;
}

.chart-bar {
  flex: 1;
  background: var(--gradient-primary);
  border-radius: 6px;
  transition: height 0.5s ease;
}

.bar-1 { height: 40%; }
.bar-2 { height: 65%; }
.bar-3 { height: 50%; }
.bar-4 { height: 85%; }
.bar-5 { height: 100%; }

.chart-metrics { display: flex; justify-content: space-between; }
.metric-item { display: flex; flex-direction: column; }
.metric-label { font-size: 0.75rem; color: var(--text-muted); }
.metric-value { font-weight: 700; color: var(--accent); }

.badge-glass-card {
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
}

.float-badge-1 {
  top: 12%;
  left: 5%;
  animation: float 7s ease-in-out infinite 0.5s;
}

.float-badge-2 {
  bottom: 12%;
  right: 5%;
  animation: float 7s ease-in-out infinite 1.5s;
}

.badge-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 193, 7, 0.15);
  color: #FFC107;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.badge-icon-box.accent {
  background: var(--accent-glow);
  color: var(--accent);
}

.badge-text-box strong { display: block; font-size: 0.9rem; }
.badge-text-box span { font-size: 0.75rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   6. SERVICES SECTION
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 2.5vw, 36px) !important;
}

.service-card {
  padding: clamp(36px, 3vw, 48px) !important;
  display: flex;
  flex-direction: column;
  position: relative;
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #FFFFFF;
  margin-bottom: 24px;
  box-shadow: 0 10px 20px var(--accent-glow);
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.service-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.service-features {
  margin-bottom: 30px;
  margin-top: auto;
}

.service-features li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features i {
  color: var(--accent);
  font-size: 0.75rem;
}

.card-link {
  font-weight: 600;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  transition: gap var(--transition-fast);
}

.card-link:hover {
  color: var(--accent);
  gap: 12px;
}

/* --------------------------------------------------------------------------
   7. WHY CHOOSE US
   -------------------------------------------------------------------------- */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px) !important;
  align-items: center;
}

.features-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-item { display: flex; gap: 20px; }

.feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.feature-item h4 { font-size: 1.15rem; margin-bottom: 6px; }
.feature-item p { color: var(--text-secondary); font-size: 0.95rem; }

.why-us-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-card {
  padding: 30px;
  position: relative;
}

.why-card-number {
  position: absolute;
  top: 20px;
  right: 30px;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--glass-border);
}

.why-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.why-card p { color: var(--text-secondary); font-size: 0.95rem; }

.highlight-card {
  border-color: var(--accent);
  background: var(--gradient-card-hover);
}

/* --------------------------------------------------------------------------
   8. TIMELINE SECTION
   -------------------------------------------------------------------------- */
.timeline-wrapper {
  position: relative;
  max-width: 1140px !important;
  margin: 60px auto 0 auto;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--glass-border);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 40px;
  margin-bottom: 60px;
}

.timeline-item.left { left: 0; text-align: right; }
.timeline-item.right { left: 50%; text-align: left; }

.timeline-dot {
  position: absolute;
  top: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
  z-index: 2;
  box-shadow: 0 0 15px var(--accent-glow);
}

.timeline-item.left .timeline-dot { right: -22px; }
.timeline-item.right .timeline-dot { left: -22px; }

.timeline-content { padding: 30px; }

.step-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.timeline-content h3 { font-size: 1.35rem; margin-bottom: 10px; }
.timeline-content p { color: var(--text-secondary); font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   9. ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px) !important;
  align-items: center;
}

.about-card-glow {
  padding: 50px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-stat-number {
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}

.about-stat-text {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 30px;
}

.about-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 8px 18px;
  border-radius: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.about-body {
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   10. TEAM SECTION (1 - 3 - 3 LAYOUT)
   -------------------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 2.5vw, 36px) !important;
}

/* Force CEO Card (Bhuwan) to occupy Row 1 alone (Centered) */
.team-card:first-child {
  grid-column: 1 / -1 !important;
  justify-self: center !important;
  width: 100%;
  max-width: 420px !important;

  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
  box-shadow: inset 0 1px 2px 0 var(--glass-specular), 0 15px 35px var(--accent-glow);
}

.team-card {
  padding: clamp(32px, 3vw, 44px) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.team-avatar-wrapper {
  position: relative;
  margin-bottom: 24px;
}

.team-avatar-bg {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: #FFFFFF;
  border: 2px solid var(--glass-border);
  box-shadow: 0 10px 25px var(--accent-glow);
  transition: transform var(--transition-spring), border-color var(--transition-fast);
}

.team-card:hover .team-avatar-bg {
  transform: scale(1.08) rotate(4deg);
  border-color: var(--accent);
}

/* Unique Avatar Gradients for Team Members */
.bg-avatar-1 { background: linear-gradient(135deg, #6C63FF 0%, #3F38DD 50%, #FF5E8E 100%); }
.bg-avatar-2 { background: linear-gradient(135deg, #FF5E8E 0%, #A855F7 50%, #6366F1 100%); }
.bg-avatar-3 { background: linear-gradient(135deg, #02AAB0 0%, #00CDAC 100%); }
.bg-avatar-4 { background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%); }
.bg-avatar-5 { background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%); }
.bg-avatar-6 { background: linear-gradient(135deg, #EC4899 0%, #8B5CF6 100%); }
.bg-avatar-7 { background: linear-gradient(135deg, #10B981 0%, #059669 100%); }

.team-status-pill {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 12px;
  border-radius: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.team-name { font-size: 1.35rem; margin-bottom: 4px; }
.team-role { display: block; font-size: 0.85rem; font-weight: 600; color: var(--accent); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.team-bio { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; margin-bottom: 20px; }

.team-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.team-tags .pill { font-size: 0.78rem; padding: 4px 12px; }

/* --------------------------------------------------------------------------
   11. CTA BANNER SECTION
   -------------------------------------------------------------------------- */
.cta-banner {
  padding: clamp(60px, 6vw, 100px) clamp(30px, 4vw, 60px) !important;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: var(--accent-glow);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  max-width: 100vw !important;
}

.cta-title {
  font-size: 3rem;
  margin-bottom: 20px;
}

.cta-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
}

/* --------------------------------------------------------------------------
   12. CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr !important;
  gap: clamp(28px, 3vw, 48px) !important;
  align-items: stretch;
}

.contact-info,
.contact-form-wrapper {
  padding: clamp(32px, 3.5vw, 52px) !important;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-info h3 {
  font-size: 1.85rem;
  margin-bottom: 12px;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 36px;
  font-size: 1.025rem;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 40px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 18px;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: inset 0 1px 1px var(--glass-specular);
}

.info-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-val {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
}

/* Copy Email Component */
.copy-email-box {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border-radius: 16px;
}

.email-details {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-primary);
}

.email-details i {
  color: var(--accent);
  font-size: 1.1rem;
}

.btn-copy {
  padding: 8px 18px;
  background: var(--accent);
  color: #FFFFFF;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background var(--transition-fast);
}

.btn-copy:hover {
  background: var(--accent-hover);
}

/* Glass Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  height: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  padding: 15px 20px;
  border-radius: 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-size: 0.98rem;
  transition: all var(--transition-fast);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 20px var(--accent-glow);
  background: var(--glass-bg-hover);
}

/* hCaptcha Box Styling */
.h-captcha {
  margin: 6px 0;
  border-radius: 12px;
  overflow: hidden;
  display: inline-block;
}

.btn-block {
  width: 100%;
  padding: 16px;
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-secondary);
  padding: 80px 0 30px 0;
  border-top: 1px solid var(--glass-border);
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(30px, 3.5vw, 60px) !important;
  margin-bottom: 60px;
}

.footer-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  margin: 12px 0 8px 0;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all var(--transition-spring);
}

.social-links a:hover {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent);
}

/* BULLETPROOF BREVO NEWSLETTER FORM */
.footer-newsletter {
  margin-top: 16px;
}

.newsletter-input-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Pill Input Field */
.newsletter-input-group input {
  flex: 1;
  padding: 14px 22px;
  border-radius: 50px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  transition: all var(--transition-fast);
}

.newsletter-input-group input::placeholder {
  color: var(--text-muted);
}

.newsletter-input-group input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 15px var(--accent-glow);
  background: var(--glass-bg-hover);
}

/* Purple Circular Submit Button */
.newsletter-submit-btn {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: #6C63FF;
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: transform var(--transition-spring), background-color var(--transition-fast);
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
}

.newsletter-submit-btn:hover {
  background: #574EFA;
  transform: scale(1.08);
}

/* Feedback Message Toast */
.newsletter-feedback {
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 10px;
  display: none;
}

.newsletter-feedback.success {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10B981;
  color: #10B981;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid var(--glass-border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a:hover {
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   14. RESPONSIVE MEDIA QUERIES & MOBILE FIXES
   -------------------------------------------------------------------------- */

/* Laptops / Desktops (<= 1200px) */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* Tablets (<= 992px) */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin: 0 auto 36px auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .why-us-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  .services-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .team-card:first-child {
    grid-column: 1 / -1 !important;
    max-width: 420px !important;
  }

  /* Desktop CTA Hide on Mobile Sticky Header */
  .desktop-only-btn {
    display: none !important;
  }

  .mobile-menu-cta {
    display: block;
  }

  /* Mobile Navigation Menu */
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-secondary);
    backdrop-filter: blur(25px);
    padding: 100px 40px;
    transition: right var(--transition-normal);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  /* Hamburger Active Animation */
  .hamburger.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .hamburger.active .bar:nth-child(2) { opacity: 0; }
  .hamburger.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .section-padding {
    padding: 80px 0;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .services-grid,
  .team-grid,
  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  .team-card:first-child {
    grid-column: 1 !important;
    max-width: 100% !important;
  }

  /* Timeline responsive adjustment */
  .timeline-line {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 0;
  }

  .timeline-item.left,
  .timeline-item.right {
    left: 0;
    text-align: left;
  }

  .timeline-item.left .timeline-dot,
  .timeline-item.right .timeline-dot {
    left: 0;
  }

  /* Rings & Visual scaling for mobile */
  .ring-outer {
    width: 290px !important;
    height: 290px !important;
  }

  .ring-inner {
    width: 210px !important;
    height: 210px !important;
  }

  .main-glass-card {
    width: 280px !important;
    padding: 16px !important;
  }

  .hero-visual {
    height: 380px !important;
    overflow: hidden !important;
  }

  .why-card,
  .service-card,
  .team-card,
  .glass-card {
    max-width: 100% !important;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-title {
    font-size: 2.2rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* Small Mobile (<= 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .logo-text {
    font-size: 1.1rem;
  }
}


/* ==========================================================================
   PERFORMANCE & FONT DISPLAY SWAP OVERRIDES
   ========================================================================== */
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-display: swap !important;
}

@font-face {
  font-family: 'Font Awesome 6 Brands';
  font-display: swap !important;
}

/* Optimize Logo Image Rendering */
.logo-img {
  content-visibility: auto;
  aspect-ratio: 1 / 1;
}


/* ==========================================================================
   LAYOUT STABILITY & ZERO-CLS OVERRIDES
   ========================================================================== */
html {
  font-display: swap;
}

/* Ensure logo image dimensions are locked during load */
.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  aspect-ratio: 1 / 1;
}

/* Hardware acceleration for smooth mobile rendering */
.glass-card,
.service-card,
.team-card,
.navbar {
  will-change: transform;
}
