/* ==========================================================
   ZEHRA INFOTECH - PREMIUM DESIGN SYSTEM (OPTION A)
   Electric Violet & Deep Navy Color Architecture
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  /* Brand Palette */
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --accent-purple: #8b5cf6;
  --accent-violet: #a855f7;
  --accent-glow: rgba(139, 92, 246, 0.35);

  --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #9333ea 100%);
  --gradient-hover: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
  --gradient-text: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
  --gradient-dark: linear-gradient(180deg, #080b18 0%, #0d122b 100%);

  /* Neutrals & Surfaces */
  --dark-bg: #080b18;
  --dark-surface: #0d132b;
  --dark-surface-2: #121a3a;
  --dark-border: rgba(255, 255, 255, 0.1);

  --light-bg: #ffffff;
  --light-secondary: #f8fafc;
  --light-border: #e2e8f0;

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --text-light-muted: #94a3b8;

  /* WhatsApp Green */
  --whatsapp-green: #25D366;
  --whatsapp-glow: rgba(37, 211, 102, 0.45);

  /* Shadows & Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -5px rgba(15, 23, 42, 0.12), 0 10px 15px -5px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 0 35px var(--accent-glow);

  /* Font Families */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--light-bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ================= Typography & Highlights ================= */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.gradient-text-light {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.section-label {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-label-light {
  color: var(--primary-light);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
}

/* ================= Buttons ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  background: var(--gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary) !important;
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn-white {
  background: #ffffff;
  color: var(--text-main) !important;
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--primary) !important;
}

.btn-pill {
  border-radius: var(--radius-full) !important;
}

.btn-hero-primary {
  background: var(--gradient-primary);
  color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
  padding: 13px 30px;
  font-weight: 600;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-hero-primary:hover {
  background: var(--gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.55);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 13px 26px;
  font-weight: 600;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ================= Sticky / Floating Header Navbar ================= */
.header-wrapper {
  position: fixed !important;
  top: 12px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  pointer-events: none;
}

.header-wrapper.scrolled {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.header-wrapper nav,
.header-wrapper .navbar {
  pointer-events: auto;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-logo-img {
  height: 40px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.brand-logo:hover .site-logo-img {
  transform: scale(1.03);
}

.footer-logo-img {
  height: 44px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.brand-logo:hover .footer-logo-img {
  transform: scale(1.02);
}

.brand-logo .logo-mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #0066FF 0%, #6366f1 50%, #7c3aed 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.4);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-logo:hover .logo-mark {
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
}

.brand-logo .logo-z-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.brand-logo .logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-logo .logo-title {
  font-family: var(--font-display), 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff !important;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: color 0.25s ease;
}

.brand-logo:hover .logo-title {
  color: #38bdf8 !important;
}

.brand-logo .logo-sub {
  font-family: var(--font-sans), sans-serif;
  font-size: 0.68rem;
  color: #38bdf8 !important;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
  line-height: 1.1;
  opacity: 0.9;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links-items {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links-items a,
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #334155;
  position: relative;
  padding: 8px 2px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.nav-links-items a:hover,
.nav-links-items a.active,
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links-items a.active::after,
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ================= 3D Navbar Button (Three.js & GSAP Interactive Physics) ================= */
.nav-3d-btn-wrapper {
  position: relative;
  perspective: 1000px;
  display: inline-flex;
  align-items: center;
}

.btn-3d-consultation {
  position: relative;
  display: inline-block;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  outline: none;
  text-decoration: none;
  transform-style: preserve-3d;
  will-change: transform;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.btn-3d-ambient-glow {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.45) 0%, rgba(99, 102, 241, 0.22) 55%, transparent 75%);
  filter: blur(8px);
  opacity: 0.8;
  transition: opacity 0.3s ease, filter 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.btn-3d-shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  background: rgba(30, 27, 75, 0.45);
  transform: translateY(6px);
  filter: blur(6px);
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
  z-index: 1;
}

.btn-3d-edge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(
    to bottom,
    #4338ca 0%,
    #3730a3 70%,
    #312e81 100%
  );
  transform: translateY(4px);
  box-shadow: 0 4px 10px rgba(49, 46, 129, 0.35);
  z-index: 2;
}

.btn-3d-front {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff !important;
  background: linear-gradient(135deg, #6366f1 0%, #7c3aed 55%, #9333ea 100%);
  border-radius: 9999px;
  transform: translateY(0);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.42), inset 0 -1.5px 0 rgba(0, 0, 0, 0.2);
  transform-style: preserve-3d;
  transition: background 0.3s ease;
  z-index: 3;
}

.btn-3d-light-reflection {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: skewX(-22deg);
  pointer-events: none;
  border-radius: 9999px;
}

.btn-3d-sparkle {
  font-size: 0.85rem;
  color: #fde047;
  display: inline-flex;
  align-items: center;
  transform: translateZ(24px);
  animation: sparkleTwinkle 2.5s infinite ease-in-out;
}

@keyframes sparkleTwinkle {
  0%, 100% { opacity: 0.8; transform: translateZ(24px) scale(1); }
  50% { opacity: 1; transform: translateZ(24px) scale(1.18) rotate(15deg); }
}

.btn-3d-text {
  position: relative;
  transform: translateZ(20px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  letter-spacing: 0.2px;
}

.btn-3d-arrow {
  position: relative;
  transform: translateZ(22px);
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease;
  font-size: 0.88rem;
}

.btn-3d-consultation:hover .btn-3d-arrow {
  transform: translateZ(24px) translateX(4px);
}

.btn-3d-consultation:hover .btn-3d-ambient-glow {
  opacity: 1;
  filter: blur(12px);
}

.btn-3d-consultation:active .btn-3d-front {
  transform: translateY(3px);
}

.btn-3d-consultation:active .btn-3d-shadow {
  transform: translateY(2px);
  filter: blur(3px);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-main);
  cursor: pointer;
}

/* ================= Cinematic Hero Section ================= */
.hero-section {
  position: relative;
  background: var(--dark-bg);
  color: #ffffff;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: -150px;
  right: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, rgba(99, 102, 241, 0.05) 60%, transparent 80%);
  pointer-events: none;
  filter: blur(50px);
}

.hero-glow-2 {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.2) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 580px;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary-light);
  text-transform: uppercase;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
  color: #ffffff;
}

.hero-description {
  font-size: 1.12rem;
  color: var(--text-light-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #cbd5e1;
}

.trust-item i {
  color: var(--primary-light);
  font-size: 1.1rem;
}

/* ================= Hero Trusted Partnerships Marquee (Left to Right) ================= */
.hero-partners-block {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 100%;
}

.hero-partners-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.partners-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 2s infinite ease-in-out;
}

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

.partners-header-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #94a3b8;
  text-transform: uppercase;
}

.hero-partners-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 4px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.hero-partners-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
}

.hero-partners-group {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 12px;
  flex-shrink: 0;
}

.partner-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.80rem;
  font-weight: 600;
  color: #cbd5e1;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.partner-pill i {
  color: var(--primary-light);
  font-size: 0.95rem;
}

.partner-pill:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.45);
  color: #ffffff;
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
}

.hero-desk-wrapper,
.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6), 0 0 35px rgba(99, 102, 241, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-desk-wrapper img,
.hero-image-wrapper img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.hero-desk-wrapper:hover img,
.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

/* ================= Dark Statistics Bar ================= */
.stats-section {
  background: #0b102b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 0;
  position: relative;
  z-index: 5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 15px;
}

.stat-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light-muted);
  font-weight: 500;
}

/* ================= Services Section ================= */
.services-section {
  padding: 100px 0;
  background: var(--light-bg);
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: #f1f5f9;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: var(--gradient-primary);
  color: #ffffff;
  transform: scale(1.05);
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

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

.service-link i {
  transition: transform 0.3s ease;
}

.service-link:hover i {
  transform: translateX(5px);
}

/* ================= Refined Homepage Services & Stats ================= */
.services-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 40px;
}

.services-header-right {
  max-width: 480px;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.services-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 10px;
  transition: var(--transition);
}

.services-view-all-link:hover {
  color: var(--primary-dark);
  transform: translateX(4px);
}

.services-row-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 35px;
}

.service-compact-card {
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 16px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  position: relative;
  overflow: hidden;
}

.service-compact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(99, 102, 241, 0.12);
  border-color: #c7d2fe;
}

.service-compact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #eef2ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 18px;
  transition: var(--transition);
}

.service-compact-card:hover .service-compact-icon {
  background: var(--gradient-primary);
  color: #ffffff;
  transform: scale(1.08);
}

.service-compact-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.35;
  min-height: 42px;
}

.service-compact-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-compact-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: var(--transition);
}

.service-compact-link:hover {
  color: var(--primary-dark);
}

.service-compact-link i {
  transition: transform 0.25s ease;
}

.service-compact-link:hover i {
  transform: translateX(4px);
}

/* Stats Banner inside Services section */
.stats-banner-wrapper {
  background: #0d1228;
  border-radius: 18px;
  padding: 30px 40px;
  box-shadow: 0 15px 40px rgba(13, 18, 40, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 20px;
}

.stats-banner-wrapper .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}

.stats-banner-wrapper .stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 12px;
}

.stats-banner-wrapper .stat-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.18);
  color: #818cf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.stats-banner-wrapper .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 4px;
}

.stats-banner-wrapper .stat-label {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 500;
}

@media (max-width: 1200px) {
  .services-row-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .stats-banner-wrapper .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .services-row-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-header-flex {
    flex-direction: column;
    align-items: flex-start;
  }
  .services-header-right {
    text-align: left;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .services-row-grid {
    grid-template-columns: 1fr;
  }
  .stats-banner-wrapper .stats-grid {
    grid-template-columns: 1fr;
  }
  .stats-banner-wrapper {
    padding: 24px 20px;
  }
}

/* ================= Portfolio / Our Work Section ================= */
.portfolio-section {
  padding: 100px 0;
  background: var(--light-secondary);
}

.portfolio-filter-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--light-border);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 102, 241, 0.25);
}

.project-img-box {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #0f172a;
}

.project-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img-box img {
  transform: scale(1.06);
}

.project-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.project-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.project-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

/* ================= Portfolio Split Layout (Homepage) ================= */
.portfolio-split-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 992px) {
  .portfolio-split-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.portfolio-split-left {
  display: flex;
  flex-direction: column;
}

.portfolio-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .portfolio-cards-row {
    grid-template-columns: 1fr;
  }
}

.portfolio-item-card {
  display: flex;
  flex-direction: column;
}

.portfolio-thumb-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--light-border);
  transition: var(--transition);
  background: #f8fafc;
}

.portfolio-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item-card:hover .portfolio-thumb-wrap {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
}

.portfolio-item-card:hover .portfolio-thumb-wrap img {
  transform: scale(1.04);
}

.portfolio-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px 0;
  gap: 12px;
}

.portfolio-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.portfolio-card-title a {
  color: inherit;
}

.portfolio-card-title a:hover {
  color: var(--primary);
}

.portfolio-arrow-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #3b2a82;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.portfolio-arrow-btn:hover {
  background: var(--primary);
  transform: scale(1.1);
}

/* ================= Client Logos & Signature Badge ================= */
.clients-section {
  padding: 50px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--light-border);
}

.clients-bar-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.clients-tagline {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #64748b;
  line-height: 1.4;
  text-transform: uppercase;
  flex-shrink: 0;
  max-width: 210px;
}

.clients-marquee-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 10px;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.clients-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
}

.clients-brand-group {
  display: flex;
  align-items: center;
  gap: 52px;
  padding-right: 52px;
  flex-shrink: 0;
}

.brand-item {
  font-size: 1.35rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
  user-select: none;
}

.brand-item:hover {
  transform: scale(1.08);
}

/* 1. TATA - Official Tata Royal Blue */
.brand-tata .tata-text {
  color: #00508f;
  font-family: var(--font-display), 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 3px;
  text-shadow: 0 1px 1px rgba(0, 80, 143, 0.15);
}

/* 2. Reliance - Official Reliance Navy Blue & Red Accent */
.brand-reliance {
  gap: 8px;
}
.brand-reliance .reliance-icon {
  display: inline-flex;
  align-items: center;
  filter: drop-shadow(0 1px 2px rgba(0, 56, 147, 0.2));
}
.brand-reliance .reliance-text {
  color: #003893;
  font-family: var(--font-sans), 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.2px;
}

/* 3. BYJU'S - Official Purple (#8031A7) */
.brand-byjus {
  gap: 6px;
}
.brand-byjus .byjus-b {
  background: #8031a7;
  color: #ffffff;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 900;
  box-shadow: 0 3px 8px rgba(128, 49, 167, 0.35);
}
.brand-byjus .byjus-text {
  color: #8031a7;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.5px;
}

/* 4. OYO - Official Crimson Red (#ee2e24) */
.brand-oyo .oyo-text {
  color: #ee2e24;
  font-family: var(--font-display), 'Space Grotesk', sans-serif;
  font-weight: 900;
  font-size: 1.55rem;
  letter-spacing: 2px;
}

/* 5. Zomato - Official Vibrant Red (#e23744) */
.brand-zomato .zomato-text {
  color: #e23744;
  font-family: var(--font-sans), 'Plus Jakarta Sans', sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: -0.5px;
}

/* 6. Paytm - Official Dual Tone (Navy Blue #002970 + Cyan #00baf2) */
.brand-paytm {
  letter-spacing: -0.3px;
  font-family: var(--font-display), 'Space Grotesk', sans-serif;
  font-size: 1.45rem;
}
.brand-paytm .paytm-pay {
  color: #002970;
  font-weight: 900;
}
.brand-paytm .paytm-tm {
  color: #00baf2;
  font-weight: 900;
}

.clients-signature-badge img {
  height: 70px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
}

.clients-title {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.clients-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.client-logo-item {
  opacity: 0.6;
  filter: grayscale(100%);
  transition: var(--transition);
  font-size: 1.4rem;
  font-weight: 800;
  color: #475569;
}

.client-logo-item:hover {
  opacity: 1;
  filter: grayscale(0%);
  color: var(--primary);
  transform: scale(1.05);
}

/* ================= Testimonials ================= */
.testimonials-section {
  padding: 100px 0;
  background: var(--light-bg);
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.testimonial-quote {
  font-size: 1.05rem;
  color: #334155;
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--primary-light);
}

.author-name {
  font-size: 1.05rem;
  font-weight: 700;
}

.author-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.star-rating {
  color: #f59e0b;
  margin-left: auto;
  font-size: 0.9rem;
}

/* ================= CTA Banner ================= */
.cta-banner-section {
  padding: 60px 0;
  background: var(--light-bg);
}

.cta-banner-card {
  background: linear-gradient(135deg, #090e24 0%, #151a3d 100%);
  border-radius: var(--radius-xl);
  padding: 60px 50px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
}

.cta-wave-pattern {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
}

.cta-desc {
  font-size: 1.05rem;
  color: var(--text-light-muted);
}

.cta-btn-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-micro-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-size: 0.78rem;
  color: #94a3b8;
  justify-content: center;
}

.cta-micro-trust .sep {
  color: rgba(255, 255, 255, 0.25);
}

/* ================= Blog Section & Cards ================= */
.blog-section {
  padding: 100px 0;
  background: var(--light-bg);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 102, 241, 0.3);
}

.blog-img-box {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: #0f172a;
}

.blog-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-img-box img {
  transform: scale(1.06);
}

.blog-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--text-main);
}

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

.blog-excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* ================= Contact Page Layout ================= */
.contact-section {
  padding: 90px 0;
  background: var(--light-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: flex-start;
}

.contact-info-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
}

.contact-channel-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}

.contact-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-form-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--light-border);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: #f8fafc;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

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

/* ================= FAQ Accordion ================= */
.faq-section {
  padding: 80px 0;
  background: #ffffff;
  color: #0f172a;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.faq-item {
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.faq-item.open {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.12);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f172a !important;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  user-select: none;
}

.faq-question span {
  color: #0f172a !important;
  font-weight: 700;
  transition: color 0.2s ease;
}

.faq-question i {
  color: #64748b !important;
  font-size: 0.95rem;
  transition: transform 0.3s ease, color 0.2s ease;
}

.faq-question:hover,
.faq-question:hover span {
  color: var(--primary) !important;
}

.faq-question:hover i {
  color: var(--primary) !important;
}

.faq-item.open .faq-question span {
  color: var(--primary) !important;
}

.faq-item.open .faq-question i {
  color: var(--primary) !important;
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 22px;
  font-size: 0.95rem;
  color: #475569 !important;
  line-height: 1.65;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ================= 3D Floating WhatsApp Button ================= */
.whatsapp-float-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
}

.whatsapp-float-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45), 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  animation: floatPulse 3s infinite ease-in-out;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.6), 0 0 20px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.whatsapp-ping-wave {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pingRipple 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  pointer-events: none;
}

.whatsapp-tooltip {
  background: #0f172a;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}

.whatsapp-float-container:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

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

@keyframes pingRipple {
  0% {
    transform: scale(0.9);
    opacity: 1;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* ================= Footer ================= */
.site-footer {
  background: #080b18;
  color: #ffffff;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .logo-title {
  color: #ffffff !important;
}

.footer-desc {
  font-size: 0.92rem;
  color: var(--text-light-muted);
  line-height: 1.7;
  margin-top: 18px;
  max-width: 320px;
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 22px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-light-muted);
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-light-muted);
  margin-bottom: 14px;
}

.footer-contact-item i {
  color: var(--primary-light);
  margin-top: 4px;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: var(--transition);
}

.footer-social-btn:hover {
  background: var(--gradient-primary);
  transform: translateY(-3px);
}

.footer-quote-box {
  border-left: 2px solid var(--primary-light);
  padding-left: 16px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: #e2e8f0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-light-muted);
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

/* ================= Alert Component ================= */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
}
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-danger { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.btn-close { background: none; border: none; font-size: 1.4rem; cursor: pointer; color: inherit; }

/* ================= Base Grid Components for Subpages ================= */
.about-story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1.1fr;
  gap: 40px;
  align-items: stretch;
}

.about-team-grid {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 50px;
  align-items: center;
}

.services-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.services-testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 2.2fr 1.3fr;
  gap: 32px;
  align-items: stretch;
}

.blog-layout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.blog-details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: flex-start;
}

.project-details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}

.service-details-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 50px;
}

.service-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.contact-map-info-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  align-items: center;
}

/* Mobile Drawer Hidden on Desktop */
.nav-backdrop {
  display: none;
}
.mobile-drawer-header {
  display: none;
}
.mobile-drawer-cta {
  display: none;
}
.mobile-nav-icon {
  display: none;
}

/* ================= Comprehensive Responsive Media Queries ================= */

/* --- 1. Laptops & Small Desktops (max-width: 1024px) --- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-content { max-width: 100%; text-align: center; }
  .hero-tagline { margin: 0 auto 20px; }
  .hero-buttons { justify-content: center; }
  .hero-trust-badges { justify-content: center; }
  .hero-image-wrapper img,
  .hero-desk-wrapper img { height: 380px; }
  
  .about-story-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-team-grid { grid-template-columns: 1fr; gap: 36px; }
  .services-process-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .services-testimonial-grid { grid-template-columns: 1fr; gap: 28px; }
  .blog-layout-grid { grid-template-columns: 1fr; gap: 36px; }
  .blog-details-grid { grid-template-columns: 1fr; gap: 36px; }
  .project-details-grid { grid-template-columns: 1fr; gap: 36px; }
  .service-details-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-map-info-grid { grid-template-columns: 1fr; gap: 24px; }
  
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* --- 2. Tablets & Mobile Landscape (max-width: 768px) --- */
@media (max-width: 768px) {
  /* Header & Mobile Drawer Navigation */
  .header-wrapper {
    height: 72px;
  }
  .navbar {
    height: 72px;
  }
  
  .brand-logo .logo-title {
    font-size: 1.18rem;
  }
  .brand-logo .logo-sub {
    font-size: 0.62rem;
    letter-spacing: 1.5px;
  }
  .brand-logo .logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }
  .brand-logo .logo-z-img {
    width: 22px;
    height: 22px;
  }
  
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    color: var(--text-main);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
  }
  .mobile-menu-toggle:hover {
    background: #eef2ff;
    color: var(--primary);
    border-color: #c7d2fe;
  }

  /* Backdrop Overlay */
  .nav-backdrop {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 11, 24, 0.68);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .nav-backdrop.show {
    opacity: 1;
    pointer-events: auto;
  }

  /* Slide-out Mobile Navigation Drawer */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 86vw;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    gap: 0;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.22);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.show {
    transform: translateX(0);
    left: auto;
  }

  .mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid #f1f5f9;
    background: #f8fafc;
  }
  .mobile-drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .mobile-drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
  }
  .mobile-drawer-close:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fca5a5;
  }

  .nav-links-items {
    display: flex;
    flex-direction: column;
    padding: 16px 14px;
    gap: 4px;
  }
  .nav-links-items a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #334155;
    transition: all 0.2s ease;
    border-bottom: none;
    width: 100%;
  }
  .nav-links-items a:hover,
  .nav-links-items a.active {
    background: #eef2ff;
    color: var(--primary);
    font-weight: 700;
  }
  .nav-links-items a.active::after {
    display: none;
  }
  .mobile-nav-icon {
    display: inline-flex;
    width: 22px;
    font-size: 1.05rem;
    color: var(--primary);
  }

  .mobile-drawer-cta {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px 22px 30px;
    margin-top: auto;
    border-top: 1px solid #f1f5f9;
    background: #fafafa;
  }
  .btn-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 9999px;
  }
  .mobile-drawer-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
  }
  .mobile-drawer-contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
    padding: 4px 0;
  }
  .mobile-drawer-contact-link i {
    color: var(--primary);
    font-size: 0.9rem;
    width: 18px;
  }
  .mobile-drawer-contact-link:hover {
    color: var(--primary);
  }

  .nav-cta .btn,
  .nav-3d-btn-wrapper {
    display: none;
  }

  /* Typography & Sections */
  .hero-section {
    padding: 50px 0 65px;
  }
  .hero-title {
    font-size: clamp(2.2rem, 7.5vw, 3rem);
    line-height: 1.15;
    margin-bottom: 18px;
  }
  .hero-description {
    font-size: 1.02rem;
    margin-bottom: 28px;
  }
  .hero-trust-badges {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
    padding-top: 20px;
  }
  .trust-item {
    font-size: 0.84rem;
  }

  .services-section,
  .portfolio-section,
  .blog-section,
  .contact-section {
    padding: 60px 0;
  }
  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 35px;
  }

  .services-row-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .portfolio-cards-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .blog-posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .services-process-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-info-card,
  .contact-form-card {
    padding: 28px 22px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Clients Marquee on Tablet */
  .clients-bar-flex {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }
  .clients-tagline {
    max-width: 100%;
    text-align: center;
  }
  .clients-marquee-viewport {
    width: 100%;
    margin: 8px 0;
  }

  /* Call-to-action Banner */
  .cta-banner-card {
    flex-direction: column;
    text-align: center;
    gap: 28px;
    padding: 40px 24px;
  }
  .cta-title {
    font-size: 1.85rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .footer-legal-links {
    justify-content: center;
  }

  /* Floating WhatsApp */
  .whatsapp-float-container {
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-float-btn {
    width: 54px;
    height: 54px;
    font-size: 1.85rem;
  }
}

/* --- 3. Mobile Phones (max-width: 576px) --- */
@media (max-width: 576px) {
  .container {
    padding: 0 16px;
  }

  .header-wrapper {
    height: 66px;
  }
  .navbar {
    height: 66px;
  }

  .brand-logo .logo-title {
    font-size: 1.05rem;
  }
  .brand-logo .logo-sub {
    display: none;
  }

  /* Hero Section */
  .hero-section {
    padding: 40px 0 50px;
  }
  .hero-tagline {
    font-size: 0.72rem;
    padding: 5px 12px;
    letter-spacing: 1.2px;
  }
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.4rem);
    letter-spacing: -0.5px;
  }
  .hero-description {
    font-size: 0.96rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.95rem;
  }

  /* Hero image height on phones */
  .hero-image-wrapper img,
  .hero-desk-wrapper img {
    height: 240px;
  }

  /* Hero Partners Ticker */
  .partner-pill {
    padding: 6px 12px;
    font-size: 0.8rem;
    gap: 7px;
  }
  .partner-pill i {
    font-size: 0.9rem;
  }

  /* Stats Grid 2 columns on phone */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .stat-card {
    padding: 8px 4px;
    gap: 12px;
  }
  .stat-icon-wrap {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
  .stat-number {
    font-size: 1.75rem;
  }
  .stat-label {
    font-size: 0.78rem;
  }

  /* Services Compact Cards */
  .services-row-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .service-compact-card {
    padding: 20px 18px;
  }
  .service-compact-title {
    min-height: auto;
    font-size: 1.05rem;
  }

  /* Portfolio split on phone */
  .portfolio-split-grid {
    gap: 28px;
  }
  .portfolio-item-card .portfolio-thumb-wrap {
    aspect-ratio: 16/10;
  }

  /* Service Features Grid */
  .service-features-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Section Titles */
  .section-title {
    font-size: clamp(1.65rem, 6vw, 2.1rem);
    line-height: 1.2;
  }

  /* Contact page */
  .contact-info-card,
  .contact-form-card {
    padding: 24px 18px;
  }

  /* WhatsApp Tooltip hidden on touch phones */
  .whatsapp-tooltip {
    display: none;
  }
}

/* --- 4. Extra Small Phones (max-width: 380px) --- */
@media (max-width: 380px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .nav-links {
    width: 290px;
  }
}

/* ================= Modern Dark Luxury Floating Header & Mobile Drawer ================= */
.header-wrapper,
.header-wrapper.scrolled {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Hide mobile drawer on desktop screens */
@media (min-width: 1024px) {
  .mobile-nav-drawer,
  #navLinks.mobile-nav-drawer,
  .mobile-menu-toggle {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* Mobile drawer initial and open states */
.mobile-nav-drawer {
  transform: translateX(100%) !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s !important;
}

.mobile-nav-drawer.show,
#navLinks.mobile-nav-drawer.show {
  transform: translateX(0) !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.nav-backdrop {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease !important;
}

.nav-backdrop.show {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Floating pill navbar scrolled state */
.header-wrapper.scrolled nav {
  background: rgba(5, 6, 8, 0.95) !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.85);
  border-color: rgba(255, 255, 255, 0.18) !important;
}

/* Neon glow utilities */
.neon-glow-cyan {
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.7), 0 0 25px rgba(56, 189, 248, 0.4);
}

.neon-glow-purple {
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.7), 0 0 25px rgba(168, 85, 247, 0.4);
}

/* Glassmorphic dark card enhancements */
.glass-card-dark {
  background: rgba(11, 15, 23, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card-dark:hover {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.1);
}

/* ================= Natex Web Kinetic Hero Orbital Animations ================= */
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinRev {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

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

@keyframes badgeBob {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.02);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.04);
  }
}

.animate-spin-slow {
  animation: spinSlow 28s linear infinite;
}

.animate-spin-rev {
  animation: spinRev 20s linear infinite;
}

.animate-float-y {
  animation: floatY 4.5s ease-in-out infinite;
}

.animate-badge-bob {
  animation: badgeBob 3.5s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulseGlow 3.5s ease-in-out infinite;
}

.glass {
  background: rgba(11, 16, 36, 0.65);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.shadow-glow {
  box-shadow: 0 15px 40px -10px rgba(67, 97, 238, 0.45);
}
