:root {
  /* Brand Colors */
  --color-primary: #00bfff;
  --color-accent: #00dfff;
  --color-bg: #070d1a;
  --color-surface: #0d1a2e;
  --color-text: #ffffff;
  --gradient-primary: linear-gradient(135deg, #00dfff 0%, #0099ff 100%);

  /* Typography */
  --font-heading: "Rajdhani", sans-serif;
  --font-body: "DM Sans", sans-serif;

  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;

  /* Layout */
  --container-width: 1200px;
  --section-min-height: 100vh;
}

/* Reset / Normalize */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
blockquote {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Base Styles */
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

.section {
  min-height: var(--section-min-height);
  padding: var(--space-8) var(--space-4);
}

/* ── NAVIGATION ── */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 2rem;
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7, 13, 26, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.85rem 2rem;
  border-bottom-color: rgba(0, 191, 255, 0.15);
}
.main-nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-link img {
  height: 38px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0;
  width: 0; height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--color-primary); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-toggle { display: none; }

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }
  .nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--color-text);
    transition: all 0.3s ease;
    transform-origin: center;
  }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: rgba(7, 13, 26, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 999;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.5rem; }
}

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 0;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 220px;
  background: linear-gradient(to bottom, transparent, var(--color-bg));
  pointer-events: none;
  z-index: 5;
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 820px;
  text-align: center;
  padding: 0 2rem;
}
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  color: var(--color-primary);
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border: 1px solid rgba(0, 191, 255, 0.35);
  border-radius: 2px;
  margin-bottom: 1.75rem;
}
.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(3rem, 7.5vw, 5.75rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}
.hero-title-accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.55);
  max-width: 540px;
  margin: 0 auto 2.75rem;
  line-height: 1.75;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 2.25rem;
  border-radius: 3px;
  transition: all 0.3s ease;
  display: inline-block;
}
.btn-primary {
  background: var(--gradient-primary);
  color: #070d1a;
  border: 2px solid transparent;
  font-weight: 700;
}
.btn-primary:hover {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  animation: scrollBounce 2.2s ease-in-out infinite;
  z-index: 10;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ── SHARED SECTION STYLES ── */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
  position: relative;
}
.section-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 5rem;
  color: rgba(0, 191, 255, 0.06);
  position: absolute;
  top: 2rem; left: 2rem;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}
.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.text-accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.5);
  max-width: 480px;
  line-height: 1.7;
}
.section-header {
  margin-bottom: 4rem;
}
.body-text {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  max-width: 520px;
}

/* Section backgrounds — padding reset because .section-inner owns its own padding */
#about    { background: var(--color-bg);      padding: 0; }
#services { background: var(--color-surface); padding: 0; }

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding-top: 3rem;
}
.about-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.stat { text-align: left; }
.stat-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.75rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: inline;
}
.stat-plus {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 0.35rem;
  font-family: var(--font-heading);
}
.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-card-stack {
  position: relative;
  width: 300px;
  height: 320px;
}
.about-glow-ring {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(0, 191, 255, 0.15);
  box-shadow: 0 0 60px rgba(0, 191, 255, 0.06);
}
.floating-card {
  position: absolute;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0, 191, 255, 0.18);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.8);
  animation: floatCard 4s ease-in-out infinite;
}
.floating-card i {
  color: var(--color-primary);
  font-size: 1.1rem;
}
.card-1 { top: 0; left: 0; animation-delay: 0s; }
.card-2 { top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: -1.3s; }
.card-3 { bottom: 0; right: 0; animation-delay: -2.6s; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.card-2 { animation-name: floatCardCenter; }
@keyframes floatCardCenter {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-10px); }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { display: none; }
  .about-stats { gap: 1.5rem; }
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 2.25rem 2rem;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.1s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
  transform-style: preserve-3d;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
    rgba(0, 191, 255, 0.05) 0%, 
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card:hover {
  border-color: rgba(0, 191, 255, 0.45);
  box-shadow: 0 8px 32px rgba(0, 191, 255, 0.1), 0 0 0 1px rgba(0, 191, 255, 0.08);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 52px; height: 52px;
  background: rgba(0, 191, 255, 0.08);
  border: 1px solid rgba(0, 191, 255, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  color: var(--color-primary);
}
.service-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
  color: var(--color-text);
}
.service-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.service-tag {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  border: 1px solid rgba(0, 191, 255, 0.25);
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  display: inline-block;
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ── CLIENTS ── */
#clients { background: var(--color-bg); padding: 0; }
#clients .section-header { text-align: center; margin: 0 auto 3.5rem; }
#clients .section-subtitle { margin: 0 auto; }

/* ── CLIENT LOGO GRID ── */
.clients-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-bottom: 4.5rem;
}
.client-logo-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.client-logo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 35px rgba(0, 191, 255, 0.18);
}
.client-logo-card img {
  max-width: 100%;
  max-height: 68px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.client-logo-dark {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.client-logo-dark img { filter: brightness(0) invert(1); }

@media (max-width: 900px) {
  .clients-logo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .clients-logo-grid { grid-template-columns: repeat(2, 1fr); }
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 2rem;
  transition: border-color 0.3s;
}
.testimonial-card:hover { border-color: rgba(0,191,255,0.25); }
.testimonial-text {
  font-style: italic;
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.testimonial-text::before { content: '"'; color: var(--color-primary); font-size: 1.5rem; }
.author-name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
}
.author-role {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.2rem;
}

@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ── CONTACT ── */
#contact { background: var(--color-surface); padding: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
  padding-top: 3rem;
}
.contact-details { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
}
.contact-item i { color: var(--color-primary); width: 18px; text-align: center; }
.contact-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.contact-item a:hover { color: var(--color-primary); }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.25s ease;
  resize: vertical;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--color-primary); }
.form-group select { 
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 6 5-6' stroke='%2300bfff' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-group select option { background: #111; }

.btn-full { width: 100%; justify-content: center; display: flex; align-items: center; gap: 0.5rem; }
.form-note { font-size: 0.78rem; color: rgba(255,255,255,0.3); text-align: center; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── FOOTER ── */
.site-footer {
  background: var(--color-bg);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3rem 2rem 1.5rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-logo { height: 32px; width: auto; }
.footer-tagline {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--color-primary); }
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.footer-social a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.footer-bottom {
  max-width: 1200px;
  margin: 1.25rem auto 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  text-align: center;
}

/* ── WHATSAPP FLOATING ACTION BUTTON ── */
.whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.6rem;
  text-decoration: none;
  box-shadow: 0 4px 22px rgba(37, 211, 102, 0.45);
  z-index: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
}

/* Preload state — elements start visible if JS disabled */
.hero-eyebrow,
.hero-title,
.hero-subtitle,
.hero-ctas,
.service-card,
.testimonial-card,
.floating-card,
.stat,
.contact-info,
.contact-form {
  will-change: transform, opacity;
}

/* Section dividers */
#about::before,
#services::before,
#clients::before,
#contact::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(
    to right, 
    transparent, 
    rgba(0, 191, 255, 0.15) 30%, 
    rgba(0, 191, 255, 0.15) 70%, 
    transparent
  );
  margin: 0 2rem;
}

/* Smooth section min-height fix */
#about, #services, #clients, #contact {
  min-height: auto;
}

/* Selection color */
::selection {
  background: rgba(0, 191, 255, 0.25);
  color: var(--color-text);
}

/* Focus visible */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}
