/* ===================================================
   ROOT VARIABLES & THEME
=================================================== */
:root {
  --navy: #0A1F44;
  --royal-blue: #1565FF;
  --accent: #00D4FF;
  --white: #FFFFFF;
  --light-gray: #F8FAFC;
  --text-dark: #0A1F44;
  --text-muted: #4A5568;
  --border-light: #E2E8F0;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --shadow-soft: 0 10px 40px rgba(10, 31, 68, 0.05);
  --shadow-hover: 0 20px 50px rgba(21, 101, 255, 0.12);
  --radius: 20px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-main: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

[data-theme="dark"] {
  --navy: #0A1F44;
  --royal-blue: #1565FF;
  --accent: #00D4FF;
  --white: #0E1A30;
  --light-gray: #08111F;
  --text-dark: #F8FAFC;
  --text-muted: #A0AEC0;
  --border-light: #1D2A4A;
  --glass-bg: rgba(8, 17, 31, 0.75);
  --glass-border: rgba(255, 255, 255, 0.05);
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 20px 50px rgba(0, 212, 255, 0.15);
}

/* ===================================================
   RESET & BASE
=================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--light-gray);
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden !important;
  touch-action: none;
}

h1, h2, h3, h4, h5, h6, .brand-text {
  font-family: var(--font-main);
  font-weight: 600;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

p, span, strong, a, label, li {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

img, svg, video, canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, a, input, textarea, select {
  font: inherit;
}
button { cursor: pointer; border: none; background: none; font-family: var(--font-main); }

/* Centered content container */
.container,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  width: min(100% - 2rem, 1240px) !important;
  max-width: 1240px !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}
@media (max-width: 576px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    width: min(100% - 1.5rem, 1240px) !important;
  }
}


/* ===================================================
   PRELOADER
=================================================== */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hide { opacity: 0; visibility: hidden; }
.loader-logo {
  font-size: 2rem; font-weight: 700; letter-spacing: 3px; color: var(--white);
}
.loader-bar {
  width: 180px; height: 3px; background: rgba(255,255,255,0.15);
  border-radius: 10px; overflow: hidden;
}
.loader-bar span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--royal-blue), #4F8CFF);
  animation: loadBar 1.4s ease forwards;
}
@keyframes loadBar { to { width: 100%; } }

/* ===================================================
   SCROLL PROGRESS BAR
=================================================== */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 4px; width: 0%;
  background: linear-gradient(90deg, var(--royal-blue), #4F8CFF);
  z-index: 9998; transition: width 0.1s ease-out;
}

/* ===================================================
   HEADER / NAVIGATION
=================================================== */
.glass-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
  padding: 10px 0;
  width: 100%;
}
.glass-nav.scrolled { padding: 6px 0; box-shadow: var(--shadow-soft); }

/* Centered content header */
.glass-nav .container,
.glass-nav .container-fluid {
  width: min(100% - 2rem, 1240px) !important;
  max-width: 1240px !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}
@media (max-width: 576px) {
  .glass-nav .container,
  .glass-nav .container-fluid {
    width: min(100% - 1.5rem, 1240px) !important;
  }
}

.navbar { display: flex; align-items: center; justify-content: space-between; width: 100%; min-width: 0; }
.navbar-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; flex-shrink: 0; }
.logo-img { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; background: var(--navy); }
.brand-text { font-weight: 700; font-size: clamp(0.92rem, 2.2vw, 1.08rem); color: var(--navy); letter-spacing: 0.3px; white-space: nowrap; }
.brand-accent { color: var(--royal-blue); }

@media (min-width: 1201px) {
  .glass-nav .navbar-collapse {
    display: flex !important;
    flex-grow: 1;
    justify-content: flex-start;
  }
  .glass-nav .navbar-nav {
    margin-left: 20px !important;
    margin-right: auto !important;
    display: flex;
    align-items: center;
    gap: 3px;
  }
}

/* Compact laptop navigation tuning (e.g. 1200px - 1400px, 1366x768 screens) */
@media (min-width: 1201px) and (max-width: 1400px) {
  .glass-nav .navbar-nav {
    margin-left: 12px !important;
    gap: 1px;
  }
  .navbar-nav .nav-link {
    padding: 6px 10px !important;
    font-size: 0.88rem !important;
  }
  .btn-nav-outline {
    padding: 6px 12px !important;
    font-size: 0.8rem !important;
  }
  .btn-nav-admin {
    padding: 7px 13px !important;
    font-size: 0.8rem !important;
    gap: 5px !important;
  }
}

.navbar-nav .nav-link {
  padding: 7px 13px; font-weight: 500; font-size: 0.92rem;
  color: var(--text-dark) !important; border-radius: 20px; transition: var(--transition);
  position: relative;
  white-space: nowrap;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { background: rgba(21,101,255,0.1) !important; color: var(--royal-blue) !important; }
[data-theme="dark"] .navbar-nav .nav-link { color: #F8FAFC !important; }
[data-theme="dark"] .navbar-nav .nav-link:hover, [data-theme="dark"] .navbar-nav .nav-link.active { background: rgba(0, 212, 255, 0.12) !important; color: var(--accent) !important; }

.btn-nav-cta {
  margin-left: 6px; padding: 8px 18px; background: var(--royal-blue); color: #fff !important;
  border-radius: 30px; font-weight: 600; font-size: 0.88rem; transition: var(--transition);
  box-shadow: 0 4px 14px rgba(21,101,255,0.35);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.btn-nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(21,101,255,0.45); }

.btn-nav-outline {
  margin-left: 4px;
  padding: 7px 15px;
  background: transparent;
  color: var(--royal-blue) !important;
  border: 1.5px solid var(--royal-blue);
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.84rem;
  transition: var(--transition);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.btn-nav-outline:hover {
  background: rgba(21, 101, 255, 0.08);
  transform: translateY(-2px);
  color: var(--royal-blue) !important;
}

.btn-nav-admin {
  margin-left: 4px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #0A1F44 0%, #1565FF 100%);
  color: #FFFFFF !important;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.84rem;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(10, 31, 68, 0.25);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
}
.btn-nav-admin:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(21, 101, 255, 0.4);
  color: #FFFFFF !important;
}
  cursor: pointer;
  text-decoration: none;
}
.btn-nav-admin:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21, 101, 255, 0.4);
  color: #FFFFFF !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.theme-toggle-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(21,101,255,0.08); color: var(--royal-blue);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  transition: var(--transition); border: none; outline: none;
}
.theme-toggle-btn:hover { background: var(--royal-blue); color: #fff; transform: rotate(20deg); }
[data-theme="dark"] .theme-toggle-btn { background: rgba(0, 212, 255, 0.08); color: var(--accent); }
[data-theme="dark"] .theme-toggle-btn:hover { background: var(--accent); color: var(--navy); }

.navbar-toggler {
  display: none; flex-direction: column; gap: 5px; width: 34px;
}
.navbar-toggler span { height: 3px; background: var(--navy); border-radius: 2px; transition: var(--transition); }

/* ===================================================
   HERO SECTION
=================================================== */
.hero {
  position: relative;
  min-height: clamp(560px, 80vh, 740px);
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #0A1F44 0%, #0E2A5C 45%, #1565FF 120%);
  overflow: hidden;
  padding-top: clamp(82px, 10vh, 102px);
  padding-bottom: clamp(32px, 5vh, 52px);
}
#particles-js { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-content { position: relative; z-index: 2; width: 100%; }

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: 30px;
  color: #E0F2FE;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.12);
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00D4FF;
  box-shadow: 0 0 8px #00D4FF;
  animation: badgePulse 2s infinite ease-in-out;
}
@keyframes badgePulse {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 8px #00D4FF; }
  50% { transform: scale(1.3); opacity: 0.7; box-shadow: 0 0 14px #00D4FF; }
}

/* Hero Typography */
.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.05rem, 2.75vw, 2.7rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.18;
  margin-bottom: 16px;
  letter-spacing: -0.4px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}
.hero-title-line {
  display: block;
}
.hero-title-line.line-1 {
  color: #FFFFFF;
}
.hero-title-line.line-2 {
  color: #E2E8F0;
  margin-top: 3px;
}
.hero-highlight {
  background: linear-gradient(135deg, #00D4FF 0%, #4F8CFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  white-space: nowrap;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: rgba(241, 245, 249, 0.88);
  max-width: 530px;
  margin-bottom: 24px;
  line-height: 1.68;
  font-weight: 400;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  background: var(--royal-blue);
  color: #FFFFFF;
  border-radius: 36px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(21, 101, 255, 0.4);
  text-decoration: none;
}
.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(21, 101, 255, 0.55);
  color: #FFFFFF;
}

.btn-outline-glass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  border-radius: 36px;
  font-weight: 600;
  font-size: 0.92rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.05);
  transition: var(--transition);
  text-decoration: none;
}
.btn-outline-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-outline-navy {
  display: inline-block; padding: 11px 26px; border: 2px solid var(--navy);
  color: var(--navy); border-radius: 36px; font-weight: 600; transition: var(--transition);
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* Trust stats bar */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.trust-item {
  display: flex;
  flex-direction: column;
}
.trust-num {
  color: #FFFFFF;
  font-size: 1.45rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  line-height: 1.1;
  letter-spacing: -0.4px;
}
.trust-label {
  color: rgba(226, 232, 240, 0.78);
  font-size: 0.76rem;
  font-weight: 500;
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.trust-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.18);
}

/* Right hero visual */
.hero-visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual-glow {
  position: absolute;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.28) 0%, rgba(21, 101, 255, 0.14) 50%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite alternate;
}
@keyframes glowPulse {
  0% { transform: scale(0.92); opacity: 0.7; }
  100% { transform: scale(1.12); opacity: 1; }
}
.hero-visual {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 370px;
  border-radius: 24px;
  background: rgba(14, 42, 92, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  overflow: visible;
}
.hero-logo-frame {
  position: relative;
  width: 165px;
  height: 165px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 101, 255, 0.25) 0%, rgba(10, 31, 68, 0.65) 100%);
  border: 2px solid rgba(0, 212, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.25), inset 0 0 18px rgba(0, 212, 255, 0.18);
}
.hero-logo {
  width: 125px;
  height: 125px;
  object-fit: cover;
  border-radius: 50%;
  filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.45));
  animation: logoPulse 4s ease-in-out infinite;
}
@keyframes logoPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.4)); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 24px rgba(0, 212, 255, 0.65)); }
}

/* Floating chips */
.floating-chip {
  position: absolute;
  padding: 7px 13px;
  background: rgba(255, 255, 255, 0.96);
  color: #0A1F44;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.8);
  z-index: 3;
}
.floating-chip i { font-size: 0.92rem; }
.floating-chip.chip-1 {
  top: 12%;
  left: 6%;
  animation: floatChip1 4.5s ease-in-out infinite;
}
.floating-chip.chip-1 i { color: #3776AB; }

.floating-chip.chip-2 {
  top: 16%;
  right: 6%;
  animation: floatChip2 5s ease-in-out infinite 0.6s;
}
.floating-chip.chip-2 i { color: #8B5CF6; }

.floating-chip.chip-3 {
  bottom: 18%;
  left: 8%;
  animation: floatChip1 4.8s ease-in-out infinite 1.2s;
}
.floating-chip.chip-3 i { color: #F2C811; }

.floating-chip.chip-4 {
  bottom: 12%;
  right: 8%;
  animation: floatChip2 5.2s ease-in-out infinite 1.8s;
}
.floating-chip.chip-4 i { color: #00D4FF; }

@keyframes floatChip1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes floatChip2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

.scroll-down {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  animation: bounce 2s infinite;
  z-index: 2;
  transition: var(--transition);
}
.scroll-down:hover {
  color: #00D4FF;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ===================================================
   SECTION HEADINGS (shared)
=================================================== */
.section-tag {
  display: inline-block; padding: 6px 16px; background: rgba(21,101,255,0.1);
  color: var(--royal-blue); border-radius: 20px; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.5px; margin-bottom: 16px; text-transform: uppercase;
}
.section-title { font-size: 2.4rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; line-height: 1.25; }
.section-text { color: var(--text-muted); font-size: 1.05rem; line-height: 1.8; margin-bottom: 24px; }
.section-text-center { color: var(--text-muted); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

/* ===================================================
   INTRO SECTION
=================================================== */
.intro-section { padding: clamp(55px, 6.5vw, 75px) 0 !important; background: var(--white); }
.check-list li { margin-bottom: 12px; font-weight: 500; color: var(--text-dark); }
.check-list i { color: var(--royal-blue); margin-right: 10px; }

.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.intro-card {
  background: var(--light-gray); border-radius: 16px; padding: 24px 18px;
  text-align: center; transition: var(--transition); border: 1px solid var(--border-light);
}
.intro-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); background: var(--white); }
.intro-card i { font-size: 1.75rem; color: var(--royal-blue); margin-bottom: 12px; }
.intro-card h4 { font-size: 0.92rem; color: var(--navy); font-weight: 600; }

/* ===================================================
   SERVICES SECTION
=================================================== */
.services-section { padding: clamp(55px, 6.5vw, 75px) 0 !important; background: var(--light-gray); }
.service-card {
  background: var(--white); border-radius: 16px; padding: 28px 22px;
  height: 100%; transition: var(--transition); border: 1px solid var(--border-light);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: var(--royal-blue); transform: scaleY(0); transition: var(--transition); transform-origin: bottom;
}
.service-card:hover::before { transform: scaleY(1); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px; background: rgba(21,101,255,0.1);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  font-size: 1.35rem; color: var(--royal-blue); transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--royal-blue); color: #fff; }
.service-card h4 { font-size: 1.05rem; color: var(--navy); margin-bottom: 10px; font-weight: 600; }
.service-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.62; }

/* ===================================================
   STATS SECTION
=================================================== */
.stats-section {
  padding: clamp(50px, 5.5vw, 68px) 0 !important; background: linear-gradient(120deg, var(--navy), #123a7a);
  color: #fff;
}
.counter { font-size: 2.5rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.stats-section p { color: rgba(255,255,255,0.7); font-weight: 500; font-size: 0.92rem; }

/* ===================================================
   WHY CHOOSE US
=================================================== */
.why-section { padding: clamp(55px, 6.5vw, 75px) 0 !important; background: var(--white); }
.why-card {
  background: var(--light-gray); padding: 26px 18px; border-radius: 16px;
  text-align: center; height: 100%; transition: var(--transition); border: 1px solid var(--border-light);
}
.why-card:hover { background: var(--navy); transform: translateY(-6px); }
.why-card:hover i, .why-card:hover h5 { color: #fff; }
.why-card:hover p { color: rgba(255, 255, 255, 0.8) !important; }
.why-card i { font-size: 1.8rem; color: var(--royal-blue); margin-bottom: 12px; transition: var(--transition); }
.why-card h5 { font-size: 0.95rem; font-weight: 600; color: var(--navy); transition: var(--transition); }

/* ===================================================
   TECHNOLOGIES MARQUEE
=================================================== */

/* ===== SERVICE CARD TECH ICONS ===== */
.tech-icons { display: flex; gap: 12px; margin-top: 16px; }
.tech-icons i { font-size: 1.2rem; color: var(--text-muted); transition: var(--transition); }
.service-card:hover .tech-icons i { color: var(--royal-blue); }

.tech-section { padding: clamp(48px, 5.5vw, 68px) 0 !important; background: var(--light-gray); overflow: hidden; }
.tech-marquee { overflow: hidden; width: 100%; }
.tech-track {
  display: flex; gap: 16px; width: max-content;
  animation: scrollTech 22s linear infinite;
}
.tech-track span {
  display: flex; align-items: center; gap: 8px; padding: 12px 22px;
  background: var(--white); border-radius: 36px; font-weight: 600; color: var(--navy);
  box-shadow: var(--shadow-soft); white-space: nowrap; font-size: 0.88rem;
}
.tech-track i { color: var(--royal-blue); font-size: 1.1rem; }
@keyframes scrollTech { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===================================================
   TESTIMONIALS
=================================================== */
.testimonials-section { padding: clamp(55px, 6.5vw, 75px) 0 !important; background: var(--white); }
.testimonial-card {
  background: var(--light-gray); border-radius: 16px; padding: clamp(24px, 3.5vw, 36px);
  text-align: center; max-width: 700px; margin: 0 auto; border: 1px solid var(--border-light);
}
.testimonial-card p { font-size: 1rem; color: var(--text-dark); font-style: italic; margin-bottom: 20px; line-height: 1.7; }
.testimonial-user strong { display: block; color: var(--navy); }
.testimonial-user span { color: var(--text-muted); font-size: 0.85rem; }
.swiper-pagination-bullet-active { background: var(--royal-blue) !important; }

/* ===================================================
   PROJECTS / GALLERY
=================================================== */
.projects-section { padding: clamp(55px, 6.5vw, 75px) 0 !important; background: var(--light-gray); }
.project-card {
  background: var(--white); border-radius: 16px; padding: 24px;
  border: 1px solid var(--border-light); transition: var(--transition); height: 100%;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.project-thumb {
  width: 100%; height: 150px; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--royal-blue));
  display: flex; align-items: center; justify-content: center; font-size: 2.2rem; color: #fff;
  margin-bottom: 16px;
}
.project-card h5 { color: var(--navy); font-weight: 600; margin-bottom: 8px; font-size: 1rem; }
.project-card .tag { color: var(--royal-blue); font-size: 0.82rem; font-weight: 500; }

/* ===== PROJECT THUMB COLOR VARIANTS ===== */
.project-card:nth-child(3n+1) .project-thumb {
  background: linear-gradient(135deg, var(--navy), var(--royal-blue));
}
.project-card:nth-child(3n+2) .project-thumb {
  background: linear-gradient(135deg, #0E3FA6, #4F8CFF);
}
.project-card:nth-child(3n+3) .project-thumb {
  background: linear-gradient(135deg, #123a7a, #1565FF);
}

/* ===================================================
   FAQ SECTION
=================================================== */
.faq-section { padding: clamp(55px, 6.5vw, 75px) 0 !important; background: var(--white); }
.accordion-custom { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 16px 4px; font-size: 0.98rem; font-weight: 600; color: var(--navy); text-align: left;
}
.faq-question i { color: var(--royal-blue); transition: var(--transition); }
.faq-item.active .faq-question i { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer { max-height: 200px; padding-bottom: 16px; }
.faq-answer p { color: var(--text-muted); line-height: 1.65; font-size: 0.92rem; }

/* ===================================================
   CTA SECTION
=================================================== */
.cta-section {
  padding: clamp(50px, 6vw, 70px) 0 !important; text-align: center; color: #fff;
  background: linear-gradient(120deg, var(--royal-blue), #0E3FA6);
}
.cta-section h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 12px; font-weight: 700; }
.cta-section p { color: rgba(255,255,255,0.85); margin-bottom: 24px; font-size: 0.95rem; }
.cta-section .btn-primary-glow { background: #fff; color: var(--royal-blue); }

/* ===================================================
   FOOTER
=================================================== */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: clamp(50px, 6vw, 70px) 0 24px !important; }
.footer-logo { width: 42px; margin-bottom: 14px; border-radius: 9px; }
.site-footer h6 { color: #fff; margin-bottom: 16px; font-weight: 600; font-size: 0.95rem; }
.site-footer ul li { margin-bottom: 8px; font-size: 0.88rem; }
.site-footer ul li a:hover { color: var(--royal-blue); }
.social-icons { display: flex; gap: 10px; margin-top: 16px; }
.social-icons a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.social-icons a:hover { background: var(--royal-blue); transform: translateY(-3px); }

.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1; padding: 10px 16px; border-radius: 30px; border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06); color: #fff; font-size: 0.88rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form button {
  width: 40px; height: 40px; border-radius: 50%; background: var(--royal-blue); color: #fff;
  flex-shrink: 0; transition: var(--transition);
}
.newsletter-form button:hover { transform: scale(1.08); }

.site-footer hr { border-color: rgba(255,255,255,0.1); margin: 36px 0 18px; }
.footer-bottom { text-align: center; font-size: 0.85rem; }

/* ===================================================
   BACK TO TOP BUTTON
=================================================== */
#backToTop {
  position: fixed;
  bottom: 26px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--royal-blue);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition);
  z-index: 989;
  box-shadow: 0 8px 24px rgba(21, 101, 255, 0.4);
  cursor: pointer;
}
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 28px rgba(21, 101, 255, 0.55);
  background: #1150cc;
}

/* Backdrop for mobile drawer */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 31, 68, 0.58);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 1201px) {
  .mobile-menu-header { display: none !important; }
  .nav-backdrop { display: none !important; }
}

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width: 1200px) {
  .navbar-toggler {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    padding: 7px;
    border-radius: 8px;
    background: rgba(21, 101, 255, 0.08);
    border: none;
    cursor: pointer;
  }
  .navbar-collapse {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(86vw, 340px);
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
    padding: 20px 20px 30px;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
    z-index: 1050;
    display: flex !important;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
  }
  .navbar-collapse.open {
    right: 0;
    visibility: visible;
  }
  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
    width: 100%;
    flex-shrink: 0;
  }
  .mobile-menu-brand {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .mobile-menu-logo {
    width: 30px;
    height: 30px;
    border-radius: 7px;
  }
  .mobile-menu-title {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--navy);
  }
  .mobile-menu-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(10, 31, 68, 0.07);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    padding: 0;
  }
  .mobile-menu-close:hover,
  .mobile-menu-close:focus {
    background: rgba(220, 53, 69, 0.12);
    color: #DC2626;
  }
  .navbar-nav {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 4px;
    width: 100%;
  }
  .nav-link {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.95rem;
  }
  .intro-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual-wrapper { margin-top: 24px; }
  .hero-visual { height: 340px; }
}

@media (max-width: 991px) {
  .hero {
    text-align: center;
  }
  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-trust {
    justify-content: center;
  }
  .hero-visual-wrapper {
    margin-top: 32px;
  }
}

@media (max-width: 768px) {
  /* Prevent AOS offscreen transforms from causing horizontal scroll */
  [data-aos="fade-left"],
  [data-aos="fade-right"] {
    transform: none !important;
    opacity: 1 !important;
  }

  .hero {
    min-height: auto;
    padding-top: clamp(75px, 12vh, 90px);
    padding-bottom: 45px;
  }
  .hero-badge {
    font-size: 0.76rem;
    padding: 5px 12px;
    margin-bottom: 14px;
  }
  .hero-title {
    font-size: clamp(1.65rem, 6.5vw, 2.1rem);
    line-height: 1.2;
    margin-bottom: 14px;
  }
  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 22px;
  }
  .hero-btns {
    gap: 10px;
    margin-bottom: 28px;
  }
  .hero-btns .btn-primary-glow,
  .hero-btns .btn-outline-glass {
    padding: 10px 20px;
    font-size: 0.88rem;
  }
  .hero-visual-wrapper {
    max-width: min(100%, 300px);
    margin: 24px auto 0;
  }
  .hero-visual {
    height: 270px;
  }
  .hero-visual-glow {
    width: min(220px, 80%);
    height: min(220px, 80%);
  }
  .hero-logo-frame {
    width: 120px;
    height: 120px;
  }
  .hero-logo {
    width: 90px;
    height: 90px;
  }
  .floating-chip {
    padding: 5px 10px;
    font-size: 0.72rem;
  }
  .contact-info-card {
    padding: 22px 18px !important;
  }
  .contact-info-item strong {
    overflow-wrap: anywhere;
    word-break: break-all;
  }
  .floating-btn-group {
    bottom: 74px;
    right: 16px;
    gap: 8px;
  }
  .floating-btn {
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
  }
  #backToTop {
    bottom: 20px;
    right: 16px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 576px) {
  .section-title { font-size: 1.7rem; }
  .counter { font-size: 2.1rem; }
  .hero-title {
    font-size: clamp(1.45rem, 5.2vw, 1.85rem);
    line-height: 1.2;
  }
  .hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
    padding-top: 14px;
  }
  .trust-divider {
    display: none;
  }
  .trust-item {
    align-items: center;
    text-align: center;
    min-width: 80px;
  }
  .trust-num {
    font-size: 1.25rem;
  }
  .trust-label {
    font-size: 0.68rem;
    letter-spacing: 0.4px;
  }
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .hero-btns {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-btns .btn-primary-glow,
  .hero-btns .btn-outline-glass {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    text-align: center;
    padding: 11px 16px;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 1.38rem;
  }
  .brand-text {
    font-size: 0.92rem;
  }
}

/* ===================================================
   INNER PAGE HERO (used across About/Services/etc.)
=================================================== */
.page-hero {
  padding: clamp(110px, 14vh, 135px) 0 clamp(40px, 6vh, 60px) !important;
  background: linear-gradient(160deg, var(--navy) 0%, #123a7a 60%, var(--royal-blue) 140%);
  color: #fff; text-align: center;
}
.page-hero h1 { font-size: clamp(1.85rem, 3vw, 2.5rem); font-weight: 700; margin: 16px 0 10px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 0.98rem; max-width: 580px; margin: 0 auto; }

/* ===== FOUNDER PHOTO PLACEHOLDER ===== */
.founder-photo-placeholder {
  width: 180px; height: 180px; border-radius: 50%; margin: 0 auto;
  background: linear-gradient(135deg, var(--navy), var(--royal-blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: rgba(255,255,255,0.7); box-shadow: var(--shadow-hover);
}

/* ===================================================
   TIMELINE SECTION
=================================================== */
.timeline-section { padding: 120px 0; background: var(--white); }
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px;
  background: var(--border-light);
}
.timeline-item { position: relative; padding-bottom: 44px; padding-left: 30px; }
.timeline-dot {
  position: absolute; left: -30px; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--royal-blue); border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--royal-blue);
}
.timeline-content h5 { color: var(--navy); font-weight: 700; margin-bottom: 8px; }
.timeline-content p { color: var(--text-muted); line-height: 1.7; }

/* ===================================================
   FORM STATUS MESSAGES (Contact Page)
=================================================== */
.form-status { margin-top: 16px; padding: 14px 18px; border-radius: 12px; font-weight: 500; display: none; }
.form-status.success { background: rgba(21,161,63,0.1); color: #158A3C; border: 1px solid rgba(21,161,63,0.25); }
.form-status.error { background: rgba(220,53,69,0.1); color: #C82333; border: 1px solid rgba(220,53,69,0.25); }


/* ===== WORKSHOP DATE TAG ===== */
.workshop-date {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  font-size: 0.85rem; color: var(--royal-blue); font-weight: 600;
}

/* ===================================================
   SHARED FORM SECTIONS (Workshop Registration & Contact)
=================================================== */
.contact-form-section { padding: 120px 0; background: var(--white); }
.glass-form {
  background: var(--light-gray); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-soft);
}
.glass-form input,
.glass-form select,
.glass-form textarea {
  width: 100%; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--border-light);
  background: var(--white); color: var(--text-dark); font-family: var(--font-main);
  font-size: 0.95rem; transition: var(--transition);
}
.glass-form input:focus,
.glass-form select:focus,
.glass-form textarea:focus {
  outline: none; border-color: var(--royal-blue); box-shadow: 0 0 0 3px rgba(21,101,255,0.12);
}
.glass-form textarea { resize: vertical; min-height: 120px; }
.glass-form .w-100.justify-content-center { display: flex; align-items: center; }


/* ===================================================
   CONTACT PAGE - INFO CARD
=================================================== */
.contact-info-card {
  background: var(--navy); border-radius: var(--radius); padding: 40px 32px; color: #fff;
}
.contact-info-card h4 { margin-bottom: 28px; font-weight: 700; }
.contact-info-item {
  display: flex; align-items: flex-start; gap: 16px; margin-bottom: 26px;
}
.contact-info-item i {
  width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  color: #4F8CFF; flex-shrink: 0;
}
.contact-info-item span { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-bottom: 4px; }
.contact-info-item strong { font-weight: 500; font-size: 0.95rem; line-height: 1.5; }
.contact-socials { margin-top: 10px; }

/* ===== INTERACTIVE AI CHATBOT ===== */
.chatbot-card {
  margin-top: 24px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  height: 380px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
[data-theme="dark"] .chatbot-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}
.chatbot-header {
  background: var(--navy);
  color: #fff;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.chatbot-avatar {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #4F8CFF;
}
.chatbot-avatar .status-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2ec4b6;
  border: 2px solid var(--navy);
}
.chatbot-header-text h5 {
  font-size: 0.95rem;
  margin: 0;
  font-weight: 600;
}
.chatbot-header-text span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}
.chatbot-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--light-gray);
}
[data-theme="dark"] .chatbot-messages {
  background: rgba(0, 0, 0, 0.1);
}
.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.85rem;
  line-height: 1.4;
  animation: msgFadeIn 0.3s ease;
}
@keyframes msgFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.bot-msg {
  align-self: flex-start;
  background: var(--white);
  color: var(--text-dark);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--border-light);
}
[data-theme="dark"] .bot-msg {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.05);
}
.user-msg {
  align-self: flex-end;
  background: var(--royal-blue);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chatbot-input-area {
  display: flex;
  padding: 12px;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  gap: 8px;
}
[data-theme="dark"] .chatbot-input-area {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.08);
}
.chatbot-input-area input {
  flex: 1;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.85rem;
  outline: none;
  background: var(--light-gray);
  color: var(--text-dark);
  transition: border-color 0.2s ease;
}
[data-theme="dark"] .chatbot-input-area input {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.chatbot-input-area input:focus {
  border-color: var(--royal-blue);
}
.chatbot-input-area button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--royal-blue);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.chatbot-input-area button:hover {
  background: #3d79eb;
  transform: scale(1.05);
}
.chatbot-input-area button:active {
  transform: scale(0.95);
}
.typing-indicator-msg span {
  animation: blink 1.4s infinite both;
  font-weight: bold;
}
.typing-indicator-msg span:nth-child(2) {
  animation-delay: .2s;
}
.typing-indicator-msg span:nth-child(3) {
  animation-delay: .4s;
}
@keyframes blink {
  0% { opacity: .2; }
  20% { opacity: 1; }
  100% { opacity: .2; }
}

/* ===================================================
   GOOGLE MAP PLACEHOLDER
=================================================== */
.map-section { padding: 0 0 100px; background: var(--white); }
.map-placeholder {
  height: 380px; border-radius: var(--radius); background: var(--light-gray);
  border: 1px dashed var(--border-light); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px; text-align: center;
}
.map-placeholder i { font-size: 3rem; color: var(--royal-blue); }
.map-placeholder p { color: var(--text-muted); max-width: 320px; }



/* ===== TECHNOLOGIES GRID BOXES ===== */
.tech-box {
  background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius);
  padding: 36px 16px; text-align: center; transition: var(--transition); height: 100%;
}
.tech-box:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: var(--royal-blue); }
.tech-box i { font-size: 2.4rem; color: var(--royal-blue); margin-bottom: 14px; }
.tech-box h5 { font-size: 0.95rem; color: var(--navy); font-weight: 600; }



/* ===================================================
   DARK THEME TEXT VISIBILITY FIX
   Fixes headings/titles that used --navy as text color,
   which becomes invisible against dark card backgrounds.
=================================================== */
[data-theme="dark"] .brand-text,
[data-theme="dark"] .section-title,
[data-theme="dark"] .intro-card h4,
[data-theme="dark"] .service-card h4,
[data-theme="dark"] .why-card h5,
[data-theme="dark"] .tech-track span,
[data-theme="dark"] .testimonial-user strong,
[data-theme="dark"] .project-card h5,
[data-theme="dark"] .faq-question,
[data-theme="dark"] .timeline-content h5,
[data-theme="dark"] .tech-box h5,
[data-theme="dark"] .founder-photo-placeholder + h5 {
  color: var(--text-dark);
}

.text-muted { color: var(--text-muted) !important; }
.section-text-center { color: var(--text-muted) !important; }

[data-theme="dark"] .text-muted,
[data-theme="dark"] .section-text-center,
[data-theme="dark"] .why-card p {
  color: #A0AEC0 !important;
}

/* Outline button (navy border/text) also becomes invisible in dark mode */
[data-theme="dark"] .btn-outline-navy {
  color: var(--text-dark);
  border-color: var(--text-dark);
}
[data-theme="dark"] .btn-outline-navy:hover {
  background: var(--royal-blue);
  color: #fff;
  border-color: var(--royal-blue);
}

/* why-card hover state stays correct (navy bg, white text) — keep as-is */
[data-theme="dark"] .why-card:hover h5,
[data-theme="dark"] .why-card:hover i {
  color: #fff;
}

/* FAQ plus icon stays royal blue, already fine, but reinforce contrast */
[data-theme="dark"] .faq-question i {
  color: var(--royal-blue);
}

/* Ensure section-tag pill stays readable in both themes */
[data-theme="dark"] .section-tag {
  background: rgba(61, 130, 255, 0.15);
  color: #7EA8FF;
}

/* Intro-card and service-card hover backgrounds need a lighter dark surface so text stays visible on hover too */
[data-theme="dark"] .intro-card:hover,
[data-theme="dark"] .service-card:hover {
  background: #141F3D;
}

[data-theme="dark"] .floating-chip {
  background: rgba(15, 23, 42, 0.94);
  color: #F8FAFC;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

/* ===================================================
   FLOATING BUTTONS (WhatsApp & Call)
=================================================== */
.floating-btn-group {
  position: fixed;
  bottom: 88px;
  right: 28px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.floating-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 1.35rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: pulseBtn 2.5s infinite;
  text-decoration: none;
}
.floating-btn.whatsapp { background: #25D366; }
.floating-btn.call { background: var(--royal-blue); animation: pulseCall 2.5s infinite 1.2s; }
.floating-btn:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
  color: #fff !important;
}
@keyframes pulseBtn {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@keyframes pulseCall {
  0% { box-shadow: 0 0 0 0 rgba(21, 101, 255, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(21, 101, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(21, 101, 255, 0); }
}

/* ===================================================
   PROCESS TIMELINE
=================================================== */
.process-timeline {
  position: relative; max-width: 900px; margin: 40px auto 0; padding: 20px 0;
}
.process-timeline::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; background: var(--border-light); transform: translateX(-50%);
}
.timeline-step {
  position: relative; width: 50%; padding: 20px 40px; box-sizing: border-box;
}
.timeline-step.left { left: 0; text-align: right; }
.timeline-step.right { left: 50%; text-align: left; }
.timeline-step::after {
  content: ''; position: absolute; top: 26px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--royal-blue); border: 4px solid var(--white);
  z-index: 1; box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.timeline-step.left::after { right: -8px; }
.timeline-step.right::after { left: -8px; }
.timeline-step-content {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: 16px; padding: 24px; box-shadow: var(--shadow-soft);
  transition: var(--transition);
}
.timeline-step-content:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--royal-blue); }
.timeline-step-content h4 { font-size: 1.1rem; color: var(--navy); margin-bottom: 8px; }
.timeline-step-content p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

@media (max-width: 768px) {
  .process-timeline::before { left: 20px; }
  .timeline-step { width: 100%; padding: 15px 15px 15px 45px; }
  .timeline-step.left { text-align: left; }
  .timeline-step.right { left: 0; text-align: left; }
  .timeline-step::after { left: 12px !important; }
}

/* ===================================================
   BLOG LIST & CARDS
=================================================== */
.blog-card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft);
  transition: var(--transition); display: flex; flex-direction: column; height: 100%;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: var(--royal-blue); }
.blog-thumb {
  height: 200px; background: linear-gradient(135deg, var(--navy), var(--royal-blue));
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 3rem;
  position: relative;
}
.blog-badge {
  position: absolute; top: 16px; left: 16px; background: rgba(0,212,255,0.2);
  color: var(--accent); padding: 4px 12px; border-radius: 20px; font-size: 0.75rem;
  font-weight: 600; backdrop-filter: blur(8px); border: 1px solid rgba(0,212,255,0.3);
}
.blog-info { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 8px; }
.blog-info h4 { font-size: 1.15rem; color: var(--navy); margin-bottom: 12px; font-weight: 600; line-height: 1.4; }
.blog-info p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 18px; }
.blog-link { font-size: 0.85rem; color: var(--royal-blue); font-weight: 600; margin-top: auto; display: inline-flex; align-items: center; gap: 6px; }
.blog-link:hover { color: var(--accent); }

/* ===================================================
   GALLERY (MASONRY GRID)
=================================================== */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px; margin-top: 40px;
}
.gallery-item {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft);
  transition: var(--transition);
}
.gallery-item:hover { transform: scale(1.03); box-shadow: var(--shadow-hover); border-color: var(--royal-blue); }
.gallery-img-wrapper {
  height: 240px; background: linear-gradient(45deg, #102A43, #243E56);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.15);
  font-size: 4rem; position: relative;
}
.gallery-img-wrapper i { transition: transform 0.5s ease; }
.gallery-item:hover .gallery-img-wrapper i { transform: scale(1.1) rotate(5deg); color: var(--accent); }
.gallery-info { padding: 20px; }
.gallery-info h5 { font-size: 0.95rem; color: var(--navy); margin-bottom: 6px; }
.gallery-info span { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* ===================================================
   CAREERS
=================================================== */
.career-card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-soft);
  transition: var(--transition); height: 100%; display: flex; flex-direction: column;
}
.career-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--royal-blue); }
.career-badge {
  display: inline-block; background: rgba(21,101,255,0.08); color: var(--royal-blue);
  padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600;
  margin-bottom: 16px; align-self: flex-start;
}
.career-card h4 { font-size: 1.2rem; color: var(--navy); margin-bottom: 12px; }
.career-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 20px; }
.career-meta { display: flex; gap: 16px; font-size: 0.8rem; color: var(--text-muted); margin-top: auto; }
.career-meta span { display: flex; align-items: center; gap: 6px; }

/* ===================================================
   RESEARCH SERVICES & PUBLICATIONS
=================================================== */
.research-card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-soft);
  transition: var(--transition); height: 100%;
}
.research-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--royal-blue); }
.research-icon {
  width: 52px; height: 52px; border-radius: 14px; background: rgba(0,212,255,0.08);
  color: var(--accent); display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 20px;
}
.research-card h4 { font-size: 1.15rem; color: var(--navy); margin-bottom: 12px; }
.research-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* ===================================================
   FORM STYLING
=================================================== */
.inovexa-form {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-soft);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 8px; color: var(--navy); }
.form-control {
  width: 100%; border: 1px solid var(--border-light); border-radius: 12px;
  padding: 12px 16px; font-size: 0.85rem; outline: none; background: var(--light-gray);
  color: var(--text-dark) !important; transition: border-color 0.2s ease;
}
[data-theme="dark"] .form-control { background: rgba(255,255,255,0.04); color: #F8FAFC !important; }
.form-control:focus { border-color: var(--royal-blue); }
textarea.form-control { min-height: 120px; resize: vertical; }

.form-control option {
  background: var(--white) !important;
  color: var(--text-dark) !important;
}
.form-control option:disabled {
  color: var(--text-muted) !important;
}

/* Ensure dark mode contrast for headers/cards dynamically */
[data-theme="dark"] .timeline-step-content,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .gallery-item,
[data-theme="dark"] .career-card,
[data-theme="dark"] .research-card,
[data-theme="dark"] .inovexa-form {
  background: var(--white); border-color: var(--border-light);
}
[data-theme="dark"] .timeline-step-content h4,
[data-theme="dark"] .blog-info h4,
[data-theme="dark"] .gallery-info h5,
[data-theme="dark"] .career-card h4,
[data-theme="dark"] .research-card h4,
[data-theme="dark"] .form-group label {
  color: var(--text-dark);
}

/* ===================================================
   ADMINISTRATOR AUTHENTICATION MODAL (INOVEXA CONSOLE)
   =================================================== */

.admin-auth-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 31, 68, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.admin-auth-backdrop.show {
  display: flex !important;
  animation: authBackdropFade 0.25s ease-out forwards;
}

@keyframes authBackdropFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.admin-auth-card {
  background: #FFFFFF;
  border-radius: 20px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 25px 65px -10px rgba(10, 31, 68, 0.45), 0 0 0 1px rgba(226, 232, 240, 0.9);
  overflow: hidden;
  animation: authCardPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes authCardPop {
  from { opacity: 0; transform: scale(0.95) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.admin-auth-header {
  padding: 20px 24px;
  background: linear-gradient(135deg, #0A1F44 0%, #102A56 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-auth-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-auth-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(21, 101, 255, 0.25);
  border: 1px solid rgba(0, 212, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #00D4FF;
}

.admin-auth-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF !important;
  margin: 0 0 2px 0;
  font-family: 'Poppins', sans-serif;
}

.admin-auth-subtitle {
  font-size: 0.76rem;
  color: #94A3B8;
  margin: 0;
}

.admin-auth-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-auth-close:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #FECDD3;
  border-color: rgba(239, 68, 68, 0.4);
}

.admin-auth-body {
  padding: 24px 26px 20px;
  background: #FFFFFF;
}

.admin-auth-notice {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-left: 4px solid #2563EB;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: #1E40AF;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  line-height: 1.45;
}

.admin-auth-label {
  display: block;
  font-size: 0.80rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748B;
  margin-bottom: 7px;
}

.admin-auth-input-wrapper {
  position: relative;
}

.admin-auth-input-wrapper > i.fa-user,
.admin-auth-input-wrapper > i.fa-lock {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  font-size: 0.95rem;
}

.admin-auth-input {
  width: 100%;
  padding: 12px 42px 12px 42px;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  font-size: 0.92rem;
  color: #0F172A !important;
  background: #F8FAFC !important;
  outline: none;
  transition: all 0.2s ease;
}

.admin-auth-input:focus {
  background: #FFFFFF !important;
  border-color: #1565FF;
  box-shadow: 0 0 0 3px rgba(21, 101, 255, 0.12);
}

.btn-toggle-pass {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 4px;
  font-size: 0.92rem;
}

.btn-toggle-pass:hover {
  color: #1565FF;
}

.admin-auth-alert {
  padding: 10px 14px;
  border-radius: 10px;
  background: #FFF1F2;
  border: 1px solid #FECDD3;
  color: #E11D48;
  font-size: 0.86rem;
  margin-bottom: 16px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-admin-auth-submit {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #1565FF 0%, #0052CC 100%);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.96rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-shadow: 0 6px 20px rgba(21, 101, 255, 0.35);
  transition: all 0.2s ease;
}

.btn-admin-auth-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(21, 101, 255, 0.45);
}

.btn-admin-auth-submit.btn-success-state {
  background: #059669 !important;
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4) !important;
}

.admin-auth-footer-security {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #E2E8F0;
  font-size: 0.76rem;
  color: #94A3B8;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
