/* ============================================
   SHAIVIKA IT TECHNOLOGIES - MAIN STYLESHEET
   Dark Futuristic Theme | Glassmorphism | Neon
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Orbitron:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #2563eb;
  --secondary: #4f46e5;
  --accent: #38bdf8;
  --cyan: #22d3ee;
  --neon-blue: #3b82f6;
  --neon-purple: #6366f1;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-glass: rgba(255, 255, 255, 0.7);
  --bg-card-hover: rgba(255, 255, 255, 0.9);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-glass: rgba(0, 0, 0, 0.05);
  --border-glow: rgba(37, 99, 235, 0.25);
  --shadow-glow: 0 20px 40px rgba(37, 99, 235, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #4f46e5 50%, #38bdf8 100%);
  --gradient-card: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(79, 70, 229, 0.05) 100%);
  --gradient-text: linear-gradient(135deg, #38bdf8 0%, #2563eb 40%, #6366f1 70%, #22d3ee 100%);
  --gradient-border: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(99, 102, 241, 0.3), rgba(34, 211, 238, 0.3));
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Orbitron', sans-serif;
  --font-secondary: 'Space Grotesk', sans-serif;
  --section-padding: 60px 0;
  --container-max: 1280px;
  --container-pad: 0 40px;
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --bg-mobile-nav: rgba(255, 255, 255, 0.97);
  --bg-mobile-nav-hover: rgba(0, 0, 0, 0.05);
}

/* ===== DARK MODE VARIABLES ===== */
[data-theme="dark"] {
  --bg-primary: #050505;
  --bg-secondary: #0f172a;
  --bg-glass: rgba(15, 23, 42, 0.7);
  --bg-card-hover: rgba(15, 23, 42, 0.9);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #475569;
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(37, 99, 235, 0.4);
  --bg-mobile-nav: rgba(3, 7, 18, 0.97);
  --bg-mobile-nav-hover: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] body,
[data-theme="dark"] .hero-bg,
[data-theme="dark"] .hero,
[data-theme="dark"] .page-hero {
  background-color: #050505 !important;
}


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

/* GLOBAL PRELOADER */
#global-preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#global-preloader.preloader-hidden {
  opacity: 0;
  visibility: hidden;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

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

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 3px;
}

::selection {
  background: rgba(0, 102, 255, 0.3);
  color: var(--text-primary);
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-pad);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--neon-blue);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--neon-blue);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.7;
}

section {
  padding: var(--section-padding);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border-glass);
  padding: 14px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  font-family: var(--font-display);
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.5);
}

.nav-logo-text {
  font-family: 'Times New Roman', Times, serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.nav-logo-text span {
  color: var(--accent);
}

/* ===============================
   FLOATING CIRCULAR LOGO SYSTEM
================================ */

@keyframes logo-levitate {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes ring-zoom {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

@keyframes particle-float-1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }

  50% {
    transform: translate(4px, -8px) scale(1.3);
    opacity: 0.3;
  }
}

@keyframes particle-float-2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }

  50% {
    transform: translate(-5px, 6px) scale(0.8);
    opacity: 0.9;
  }
}

@keyframes particle-float-3 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.4;
  }

  50% {
    transform: translate(6px, 5px) scale(1.2);
    opacity: 0.8;
  }
}

/* ── Outer wrapper: handles levitation & tilt ── */
.logo-float-system {
  position: relative;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  
  transform-style: preserve-3d;
  perspective: 800px;
  transition: transform 0.15s ease-out;
  /* extra space for reflection below */
  margin-bottom: 14px;
}

/* ── Ring hidden — logo zooms instead ── */
.logo-glow-ring,
.logo-glow-ring::before,
.logo-glow-ring::after {
  display: none;
}


/* ── Particle aura ── */
.logo-particle { display: none !important; 
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.logo-particle:nth-child(1) {
  width: 5px;
  height: 5px;
  background: rgba(0, 255, 255, 0.8);
  top: -10px;
  left: 50%;
  box-shadow: 0 0 6px 2px rgba(0, 255, 255, 0.6);
  animation: particle-float-1 3.2s ease-in-out infinite;
}

.logo-particle:nth-child(2) {
  width: 4px;
  height: 4px;
  background: rgba(160, 0, 255, 0.8);
  bottom: -8px;
  right: 10%;
  box-shadow: 0 0 5px 2px rgba(160, 0, 255, 0.6);
  animation: particle-float-2 4.1s ease-in-out infinite;
}

.logo-particle:nth-child(3) {
  width: 3px;
  height: 3px;
  background: rgba(0, 200, 255, 0.7);
  top: 20%;
  left: -10px;
  box-shadow: 0 0 4px 2px rgba(0, 200, 255, 0.5);
  animation: particle-float-3 5s ease-in-out infinite;
}

.logo-particle:nth-child(4) {
  width: 4px;
  height: 4px;
  background: rgba(120, 0, 255, 0.6);
  bottom: 15%;
  right: -8px;
  box-shadow: 0 0 5px 2px rgba(120, 0, 255, 0.5);
  animation: particle-float-1 3.8s ease-in-out infinite reverse;
}

/* ── Main circular logo image ── */
.logo-main-img {
  position: relative;
  z-index: 1;
  width: auto;
  height: 56px;
  object-fit: contain;
  background: transparent;
  display: block;
}

/* ── Reflection ── */
.logo-reflection { display: none !important; 
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) scaleY(-1);
  width: 52px;
  height: 26px;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0.30;
  filter: blur(2px);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent);
  mask-image: linear-gradient(to bottom, black, transparent);
  z-index: 0;
}

.logo-reflection img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  clip-path: circle(50%);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition-fast);
}

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

.nav-links a.active {
  color: var(--primary);
  font-weight: 700;
}

.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  margin-left: 10px;
}
.theme-toggle-btn:hover {
  background: rgba(37, 99, 235, 0.1);
  transform: scale(1.1);
}

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

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  letter-spacing: 0.3px;
  white-space: normal;
  text-align: center;
  position: relative;
  overflow: hidden;
  font-family: var(--font-primary);
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 102, 255, 0.6);
}

.btn-ghost {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 180, 255, 0.4);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 15px;
  border-radius: 12px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-smooth);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* MOBILE NAV */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--bg-mobile-nav);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 20px 30px 30px;
  border-bottom: 1px solid var(--border-glass);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 10px;
  display: block;
  transition: all var(--transition-fast);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--text-primary);
  background: var(--bg-mobile-nav-hover);
}

.mobile-nav-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-glass);
}

/* GLASS CARD */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  transition: all var(--transition-smooth);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-glow);
}

/* BACKGROUND EFFECTS */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float-orb 8s ease-in-out infinite;
  pointer-events: none;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.5) 0%, transparent 70%);
  top: -100px;
  left: -100px;
}

.orb-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.5) 0%, transparent 70%);
  top: 30%;
  right: -80px;
  animation-delay: -3s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.4) 0%, transparent 70%);
  bottom: 10%;
  left: 30%;
  animation-delay: -6s;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 100px 20px 60px 20px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-primary);
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 102, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 102, 255, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.butterflies-container {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}
.css-butterfly {
  position: absolute;
  width: 40px;
  height: 40px;
  left: -150px;
  animation: flyRight 20s linear infinite;
  filter: drop-shadow(0 0 10px rgba(37, 99, 235, 0.8));
}
.wing {
  position: absolute;
  width: 20px;
  height: 35px;
  top: 2px;
}
.left-wing {
  left: 0;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  border-radius: 100% 0% 100% 10%;
  transform-origin: right center;
  animation: flapLeft 0.15s infinite alternate ease-in-out;
}
.right-wing {
  right: 0;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  border-radius: 0% 100% 10% 100%;
  transform-origin: left center;
  animation: flapRight 0.15s infinite alternate ease-in-out;
}
@keyframes flapLeft {
  0% { transform: rotateY(0deg) skewY(-10deg); }
  100% { transform: rotateY(70deg) skewY(10deg); }
}
@keyframes flapRight {
  0% { transform: rotateY(0deg) skewY(10deg); }
  100% { transform: rotateY(70deg) skewY(-10deg); }
}
.b1 { top: 25%; animation-duration: 25s; animation-delay: 0s; }
.b2 { top: 55%; animation-duration: 30s; animation-delay: 7s; }
.b3 { top: 10%; animation-duration: 22s; animation-delay: 3s; }
.b4 { top: 75%; animation-duration: 28s; animation-delay: 12s; }
.b5 { top: 40%; animation-duration: 35s; animation-delay: 5s; }
.b6 { top: 15%; animation-duration: 26s; animation-delay: 15s; }
.b7 { top: 85%; animation-duration: 32s; animation-delay: 2s; }
.b8 { top: 50%; animation-duration: 24s; animation-delay: 18s; }

@keyframes flyRight {
  0% { left: -150px; transform: translateY(0) rotate(15deg) scale(var(--s, 1)); }
  25% { transform: translateY(-40px) rotate(-5deg) scale(var(--s, 1)); }
  50% { transform: translateY(30px) rotate(10deg) scale(var(--s, 1)); }
  75% { transform: translateY(-20px) rotate(0deg) scale(var(--s, 1)); }
  100% { left: 110vw; transform: translateY(0) rotate(15deg) scale(var(--s, 1)); }
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 1;
  opacity: 0.5;
  animation: float 15s infinite ease-in-out alternate;
  pointer-events: none;
}
.orb-1 {
  width: 300px;
  height: 300px;
  background: rgba(37, 99, 235, 0.5);
  top: -100px;
  left: -50px;
  animation-duration: 12s;
}
.orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(56, 189, 248, 0.4);
  bottom: -150px;
  right: -100px;
  animation-duration: 15s;
  animation-delay: -5s;
}
.orb-3 {
  width: 250px;
  height: 250px;
  background: rgba(124, 58, 237, 0.4);
  top: 40%;
  left: 50%;
  animation-duration: 18s;
  animation-delay: -2s;
}
@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -60px) scale(1.1); }
  100% { transform: translate(-30px, 30px) scale(0.9); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 50px;
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: 30px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.05), inset 0 0 20px var(--border-glass);
}

.hero-content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  width: 100%;
  text-align: left;
}

.hero-text-col {
  flex: 1;
}

.hero-lottie-col {
  flex: 1;
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.hero-lottie {
  width: 100%;
  max-width: 800px;
  height: auto;
  transform: scale(1.45);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

.hero-content-split .hero-subtitle {
  margin: 0 0 40px 0;
}

.hero-content-split .hero-actions {
  justify-content: flex-start;
}

@media (max-width: 900px) {
  .hero-content-split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  .hero-content-split .hero-subtitle {
    margin: 0 auto 40px;
  }
  .hero-content-split .hero-actions {
    justify-content: center;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--neon-blue);
  margin-bottom: 32px;
  animation: fadeInDown 0.8s ease;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--neon-blue);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
  box-shadow: 0 0 10px var(--neon-blue);
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
  animation: fadeIn 1s ease 1.2s both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--border-glow));
  animation: scroll-pulse 2s ease-in-out infinite;
}

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

.stat-card {
  text-align: center;
  padding: 40px 20px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* SERVICE CARDS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 36px;
  border-radius: 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

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

.service-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow), 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-card);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  transition: all var(--transition-smooth);
}

.service-card:hover .service-icon {
  box-shadow: 0 0 20px rgba(0, 180, 255, 0.3);
  transform: scale(1.1);
}

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

.service-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* TESTIMONIALS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 32px;
  border-radius: 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  transition: all var(--transition-smooth);
}

.testimonial-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars span {
  color: #fbbf24;
  font-size: 16px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 600;
}

.testimonial-role {
  font-size: 12px;
  color: var(--text-muted);
}

/* NEWSLETTER */
.newsletter-card {
  padding: 64px;
  border-radius: 28px;
  background: rgba(0, 102, 255, 0.05);
  border: 1px solid rgba(0, 102, 255, 0.15);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 32px auto 0;
}

.newsletter-input {
  flex: 1;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font-primary);
  outline: none;
  transition: all var(--transition-fast);
}

.newsletter-input::placeholder {
  color: var(--text-muted);
}

.newsletter-input:focus {
  border-color: var(--border-glow);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

/* FOOTER */
footer {
  padding: 80px 0 32px;
  border-top: 1px solid var(--border-glass);
  position: relative;
}

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

.footer-brand p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin: 16px 0 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 38px;
  height: 38px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-decoration: none;
  transition: all var(--transition-smooth);
}

.social-btn:hover {
  background: rgba(0, 102, 255, 0.15);
  border-color: var(--border-glow);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

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

.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border-glass);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

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

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

@keyframes float-orb {

  0%,
  100% {
    transform: translateY(0) scale(1)
  }

  33% {
    transform: translateY(-30px) scale(1.05)
  }

  66% {
    transform: translateY(15px) scale(0.97)
  }
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8)
  }
}

@keyframes scroll-pulse {

  0%,
  100% {
    opacity: 0.3
  }

  50% {
    opacity: 1
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 {
  transition-delay: 0.1s
}

.delay-2 {
  transition-delay: 0.2s
}

.delay-3 {
  transition-delay: 0.3s
}

.delay-4 {
  transition-delay: 0.4s
}

.delay-5 {
  transition-delay: 0.5s
}

.delay-6 {
  transition-delay: 0.6s
}

/* FORM INPUTS */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input,
.form-textarea,
.form-select {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font-primary);
  outline: none;
  transition: all var(--transition-fast);
}

.form-select option {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--border-glow);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-input.error,
.form-textarea.error {
  border-color: rgba(239, 68, 68, 0.5);
}

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

/* TAGS */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.tag-blue {
  background: rgba(0, 102, 255, 0.12);
  color: var(--neon-blue);
  border: 1px solid rgba(0, 102, 255, 0.25);
}

.tag-purple {
  background: rgba(124, 58, 237, 0.12);
  color: #a78bfa;
  border: 1px solid rgba(124, 58, 237, 0.25);
}

.tag-cyan {
  background: rgba(0, 212, 255, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(0, 212, 255, 0.25);
}

.tag-green {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/* PAGE HERO */
.page-hero {
  min-height: 35vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 0 70px;
  position: relative;
  overflow: hidden;
}

/* PROJECTS */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.project-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-glow);
}

.project-thumb {
  width: 100%;
  height: 200px;
  background: var(--gradient-card);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  overflow: hidden;
}

.project-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(3, 7, 18, 0.8) 100%);
}

.project-info {
  padding: 24px;
}

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

.project-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* TEAM */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  transition: all var(--transition-smooth);
}

.team-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-10px) scale(1.03);
  box-shadow: var(--shadow-glow);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-primary);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
  transition: all var(--transition-smooth);
}

.team-card:hover .team-avatar {
  box-shadow: 0 0 30px rgba(0, 102, 255, 0.5);
  transform: scale(1.05);
}

.team-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-role {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 12px;
}

.team-bio {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* FILTER BAR */
.filter-bar {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--border-glass);
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-primary);
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(0, 102, 255, 0.15);
  border-color: rgba(0, 102, 255, 0.4);
  color: var(--neon-blue);
}

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

.blog-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  transition: all var(--transition-smooth);
}

.blog-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-glow);
}

.blog-thumb {
  width: 100%;
  height: 180px;
  background: var(--gradient-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  overflow: hidden;
}

.blog-content {
  padding: 24px;
}

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

.blog-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
  transition: color var(--transition-fast);
}

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

.blog-excerpt {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.read-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--neon-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.read-more:hover {
  gap: 10px;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-detail-text h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-detail-text p,
.contact-detail-text a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-detail-text a:hover {
  color: var(--accent);
}

/* TIMELINE */
.timeline {
  position: relative;
  padding: 0 0 0 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-primary);
  opacity: 0.4;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--neon-blue);
  border-radius: 50%;
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 15px rgba(0, 180, 255, 0.5);
}

.timeline-year {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 6px;
  font-family: var(--font-display);
}

.timeline-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* VALUES */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  padding: 36px;
  border-radius: 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  transition: all var(--transition-smooth);
}

.value-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-glow);
}

.value-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.value-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.value-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* SERVICES SIDEBAR */
.services-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
  min-height: 80vh;
}

.services-sidebar {
  position: sticky;
  top: 90px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(20px);
}

.sidebar-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-glass);
}

.sidebar-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: rgba(0, 102, 255, 0.1);
  border-color: rgba(0, 102, 255, 0.2);
  color: var(--text-primary);
}

.sidebar-nav a.active {
  color: var(--accent);
  background: rgba(0, 180, 255, 0.08);
  border-color: rgba(0, 180, 255, 0.2);
}

.sidebar-nav .nav-icon {
  font-size: 16px;
}

/* PAGINATION */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
}

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-glass);
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
}

.page-btn:hover,
.page-btn.active {
  background: rgba(0, 102, 255, 0.15);
  border-color: rgba(0, 102, 255, 0.4);
  color: var(--neon-blue);
}

/* MAP */
.map-container {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  height: 350px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: brightness(0.8) saturate(0.7) invert(1) hue-rotate(200deg);
}

/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: #0d1424;
  border: 1px solid var(--border-glass);
  border-radius: 28px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 48px;
  position: relative;
  transform: scale(0.9);
  transition: transform var(--transition-smooth);
}

.modal-overlay.open .modal-box {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

/* NOTIFICATION */
.notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: rgba(10, 15, 30, 0.95);
  border: 1px solid;
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  transform: translateX(120%);
  transition: transform var(--transition-smooth);
  max-width: 340px;
  backdrop-filter: blur(10px);
  color: #ffffff;
}

.notification.show {
  transform: translateX(0);
}

.notification.success {
  border-color: rgba(16, 185, 129, 0.3);
}

.notification.error {
  border-color: rgba(239, 68, 68, 0.3);
}

.notification-icon {
  font-size: 22px;
}

.notification-text {
  font-size: 14px;
}

/* GRADIENT DIVIDER */
.gradient-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
  margin: 60px 0;
}

/* RESPONSIVE */
@media (min-width:1920px) {
  :root {
    --container-max: 1600px;
  }

  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width:1279px) {
  :root {
    --container-pad: 0 28px;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

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

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

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

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

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-layout {
    grid-template-columns: 220px 1fr;
    gap: 28px;
  }

  .contact-grid {
    gap: 32px;
  }
}

@media (max-width:768px) {
  :root {
    --container-pad: 0 20px;
    --section-padding: 40px 0;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .services-grid,
  .testimonials-grid,
  .projects-grid,
  .values-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .hero-lottie-col {
    min-height: auto;
    padding: 20px 0;
    margin-top: 10px;
    width: 100%;
  }

  .hero-lottie {
    transform: scale(1.2);
    width: 100%;
    max-width: 400px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-card {
    padding: 40px 24px;
  }

  .services-layout {
    grid-template-columns: 1fr;
  }

  .services-sidebar {
    position: relative;
    top: 0;
  }

  .sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .sidebar-nav a {
    padding: 8px 14px;
    font-size: 13px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .modal-box {
    padding: 32px 24px;
  }
}

@media (max-width:480px) {
  :root {
    --container-pad: 0 16px;
    --section-padding: 30px 0;
  }

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

  .stat-card {
    padding: 28px 16px;
  }

  .service-card {
    padding: 24px;
  }

  .hero-badge {
    font-size: 11px;
    padding: 6px 14px;
  }

  .hero-lottie-col {
    min-height: auto;
    padding: 10px 0;
    margin-top: 0;
  }

  .hero-lottie {
    transform: scale(1.3);
    max-width: 300px;
  }

  .nav-logo-text {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .filter-btn {
    padding: 7px 14px;
    font-size: 12px;
  }

  .newsletter-card {
    padding: 32px 16px;
  }
}

@media (min-width:2560px) {
  :root {
    --container-max: 2000px;
  }
}

/* ============================================
   MOBILE DESKTOP VIEW FIX
   ============================================ */
@media screen and (max-width: 768px) {
  .hero,
  .hero-section {
    min-height: auto !important;
    height: auto !important;
    padding-top: 90px !important;
    padding-bottom: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .hero-content {
    transform: none !important;
    margin: 0 auto !important;
    max-width: 95% !important;
    padding: 30px 16px !important;
  }

  .floating-card {
    position: absolute;
    scale: 0.8;
  }

  .hero-title {
    font-size: clamp(2rem, 6vw, 3rem) !important;
    line-height: 1.1 !important;
  }

  .hero-description,
  .hero-subtitle {
    max-width: 90% !important;
    margin: auto !important;
  }

  /* Force responsive section padding to override inline style paddings on mobile */
  section {
    padding: var(--section-padding) !important;
  }

  /* Reduce space around divider */
  .gradient-divider {
    margin: 30px 0 !important;
  }

  /* Reduce inner page hero vertical heights and paddings */
  .page-hero {
    min-height: auto !important;
    padding-top: 100px !important;
    padding-bottom: 40px !important;
  }

  body {
    overflow-x: hidden !important;
  }
}

/* ============================================
   ANTIGRAVITY MOBILE VIEW ALIGNMENTS & PADDING FIXES
   ============================================ */
@media screen and (max-width: 768px) {
  /* Navbar spacing and sizing */
  .navbar {
    padding: 12px 0 !important;
  }
  .logo-main-img {
    height: 40px !important;
  }
  .navbar .nav-logo-text-wrapper {
    margin-left: 6px !important;
  }
  .navbar .nav-brand-main {
    font-size: 18px !important;
    letter-spacing: 1px !important;
  }
  .navbar .nav-brand-sub {
    font-size: 8px !important;
    letter-spacing: 2px !important;
    margin-top: 3px !important;
  }

  /* Position mobile nav exactly below scaled navbar to prevent overlapping */
  .mobile-nav {
    top: 64px !important; /* 12px top/bottom padding + 40px logo = 64px height */
    transition: top var(--transition-smooth);
  }
  .navbar.scrolled ~ .mobile-nav {
    top: 64px !important;
  }

  /* Center the theme toggle icon in the mobile nav and prevent stretching */
  .mobile-nav-cta .theme-toggle-btn {
    width: 40px;
    height: 40px;
    align-self: center;
    margin: 0 0 10px 0 !important;
  }

  /* Center align the footer layout and its elements for a balanced mobile grid */
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-socials {
    justify-content: center;
    margin-bottom: 20px;
  }
  .footer-col {
    text-align: center;
  }
  .footer-links a {
    justify-content: center;
  }
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--transition-smooth);
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  color: white;
}

/* Adjust notification position so it does not overlap with WhatsApp button */
.notification {
  bottom: 100px !important;
}

/* ============================================
   MOBILE DESKTOP PORTRAIT VIEW HEIGHT & PADDING FIX
   ============================================ */
@media screen and (max-aspect-ratio: 1/1) {
  .hero,
  .hero-section {
    min-height: auto !important;
    padding-top: 130px !important;
    padding-bottom: 70px !important;
  }
}

/* ============================================
   PORTFOLIO PAGINATION STYLES
   ============================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.page-btn {
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--border-glass, rgba(255, 255, 255, 0.15));
  background: var(--bg-glass, rgba(255, 255, 255, 0.05));
  color: var(--text-primary, #fff);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-btn:hover:not(:disabled) {
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.15);
  color: #6366f1;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.25);
}

.page-btn.active {
  background: linear-gradient(135deg, #2563eb 0%, #6366f1 100%);
  border-color: transparent;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}
