/**
 * WEBHI5 - Responsive Cosmic Showcase Stylesheet
 * Optimized for Core Web Vitals, WCAG AA Contrast, and Desktop/Mobile Responsiveness
 */

:root {
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Division Gradients & Accents */
  --c-web-glow: rgba(59, 130, 246, 0.4);
  --grad-web: linear-gradient(135deg, #38bdf8, #818cf8, #c084fc);

  --c-institute-glow: rgba(6, 182, 212, 0.4);
  --grad-institute: linear-gradient(135deg, #22d3ee, #06b6d4, #34d399);

  --c-school-glow: rgba(168, 85, 247, 0.45);
  --grad-school: linear-gradient(135deg, #c084fc, #a855f7, #f472b6);

  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  max-width: 100%;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  background-color: #030611;
  color: #ffffff;
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
}

/* Skip Link & Keyboard Focus */
.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  background: #1d4ed8;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 3px;
}

.ui-icon {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

/* ============================================================
   ANIMATED COSMIC SPACE STAR BACKGROUND
   ============================================================ */
.space-bg-wrapper {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 20%, #080d26 0%, #030611 60%, #010309 100%);
}

.space-stars-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
  pointer-events: none;
  animation: nebulaFloat 22s infinite alternate ease-in-out;
}

.nebula-1 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, #3b82f6 0%, rgba(59, 130, 246, 0) 70%);
  top: -150px;
  left: -120px;
  animation-duration: 20s;
}

.nebula-2 {
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, #a855f7 0%, rgba(168, 85, 247, 0) 70%);
  bottom: -200px;
  right: -150px;
  animation-duration: 26s;
  animation-delay: -6s;
}

.nebula-3 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #06b6d4 0%, rgba(6, 182, 212, 0) 70%);
  top: 35%;
  left: 45%;
  animation-duration: 28s;
  animation-delay: -12s;
  opacity: 0.18;
}

@keyframes nebulaFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(60px, 45px, 0) scale(1.15);
  }
  100% {
    transform: translate3d(-45px, 65px, 0) scale(0.92);
  }
}

/* Ambient Cursor Dynamic Light Orb (compositor transform-only) */
.cursor-light-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.14) 0%, rgba(168, 85, 247, 0.06) 45%, transparent 70%);
  pointer-events: none;
  transform: translate3d(-9999px, -9999px, 0);
  z-index: 1;
  filter: blur(50px);
  will-change: transform;
}

/* ============================================================
   FIXED TOP HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0.85rem clamp(1.25rem, 4vw, 3.5rem);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 6, 17, 0.92) 0%, rgba(3, 6, 17, 0.5) 65%, rgba(3, 6, 17, 0) 100%);
  transition: background-color 0.3s ease;
}

.header-container {
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  pointer-events: none;
  flex-wrap: wrap;
}

.header-left {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 1.8vw, 1.6rem);
  flex-wrap: wrap;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  pointer-events: auto;
  margin-left: auto;
  flex-wrap: wrap;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  pointer-events: auto;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-spring);
}

.brand-logo:hover {
  transform: scale(1.04);
}

.site-logo-img {
  height: clamp(40px, 4.5vw, 52px);
  width: auto;
  display: block;
  filter: drop-shadow(0 3px 15px rgba(96, 165, 250, 0.4));
}

.header-contact-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  pointer-events: auto;
  flex-wrap: wrap;
}

.header-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  border-radius: 99px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f1f5f9;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s var(--ease-spring), background-color 0.25s ease, border-color 0.25s ease;
}

.header-contact-item svg {
  color: #60a5fa;
}

.header-contact-item:hover {
  background: rgba(59, 130, 246, 0.22);
  border-color: rgba(96, 165, 250, 0.55);
  color: #ffffff;
  transform: translateY(-2px);
}

.header-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 99px;
  background: rgba(6, 78, 59, 0.45);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #6ee7b7;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #10b981;
  animation: pulseGlow 2s infinite ease-in-out;
}

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

.btn-header-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.46rem 1.05rem;
  border-radius: 99px;
  background: rgba(20, 83, 45, 0.55);
  border: 1px solid rgba(74, 222, 128, 0.5);
  color: #86efac;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.25s var(--ease-spring), background-color 0.25s ease, color 0.25s ease;
}

.btn-header-whatsapp:hover {
  background: #15803d;
  border-color: #4ade80;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.48rem 1.2rem;
  border-radius: 99px;
  background: linear-gradient(135deg, #2563eb, #6d28d9);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.35);
  transition: transform 0.25s var(--ease-spring), filter 0.25s ease;
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* ============================================================
   MAIN SHOWCASE & HERO HEADING
   ============================================================ */
.services-main {
  flex: 1 0 auto;
  width: 100%;
  padding-top: 84px;
  padding-bottom: 0.75rem;
  padding-left: clamp(1rem, 2.5vw, 2.5rem);
  padding-right: clamp(1rem, 2.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 5;
}

.services-row-container {
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hero-intro {
  text-align: center;
  padding: 0 0.5rem;
}

.hero-page-title {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 1.35vw, 1.22rem);
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #f8fafc;
  line-height: 1.35;
}

.hero-title-sep {
  color: #60a5fa;
  margin: 0 0.35rem;
}

.hero-title-sub {
  color: #cbd5e1;
  font-family: var(--font-body);
  font-weight: 600;
}

/* ============================================================
   3-COLUMN SERVICES GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.5vw, 1.35rem);
  width: 100%;
  min-height: clamp(470px, calc(100vh - 195px), 650px);
  align-items: stretch;
  perspective: 1400px;
}

.service-col-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.25rem, 2.2vh, 1.75rem) clamp(1.15rem, 1.5vw, 1.65rem);
  transform-style: preserve-3d;
  transition: transform 0.25s var(--ease-smooth), border-color 0.3s ease, box-shadow 0.35s ease;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.service-col-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: radial-gradient(circle 350px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.16), transparent 75%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 6;
}

.service-col-card:hover::after {
  opacity: 1;
}

.card-web:hover {
  border-color: rgba(96, 165, 250, 0.7);
  box-shadow: 0 25px 50px rgba(59, 130, 246, 0.3), inset 0 0 25px rgba(59, 130, 246, 0.15);
}

.card-institute:hover {
  border-color: rgba(34, 211, 238, 0.7);
  box-shadow: 0 25px 50px rgba(6, 182, 212, 0.3), inset 0 0 25px rgba(6, 182, 212, 0.15);
}

.card-school:hover {
  border-color: rgba(192, 132, 252, 0.7);
  box-shadow: 0 25px 50px rgba(168, 85, 247, 0.3), inset 0 0 25px rgba(168, 85, 247, 0.15);
}

.card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: translateZ(-35px) scale(1.18);
  transition: transform 0.6s var(--ease-smooth);
  z-index: 1;
}

.card-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-col-card:hover .card-bg {
  transform: translateZ(-15px) scale(1.24);
}

.card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.overlay-web {
  background: radial-gradient(circle at 60% 40%, rgba(30, 27, 75, 0.42), transparent 70%),
              linear-gradient(135deg, rgba(5, 7, 16, 0.94) 0%, rgba(10, 16, 38, 0.88) 50%, rgba(3, 5, 12, 0.95) 100%);
}

.overlay-institute {
  background: radial-gradient(circle at 60% 40%, rgba(8, 51, 68, 0.48), transparent 70%),
              linear-gradient(135deg, rgba(4, 9, 20, 0.94) 0%, rgba(3, 38, 30, 0.86) 50%, rgba(2, 6, 15, 0.95) 100%);
}

.overlay-school {
  background: radial-gradient(circle at 60% 40%, rgba(88, 28, 135, 0.52), transparent 70%),
              linear-gradient(135deg, rgba(16, 6, 30, 0.94) 0%, rgba(38, 12, 60, 0.88) 50%, rgba(10, 3, 20, 0.95) 100%);
}

.card-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  transform-style: preserve-3d;
}

.card-3d-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.7rem;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateZ(55px);
  transition: transform 0.3s var(--ease-spring);
}

.service-col-card:hover .card-3d-icon {
  transform: translateZ(72px) scale(1.08);
}

.icon-glow-web {
  color: #60a5fa;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.45), inset 0 0 10px rgba(59, 130, 246, 0.25);
  border-color: rgba(96, 165, 250, 0.5);
}

.icon-glow-institute {
  color: #22d3ee;
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.45), inset 0 0 10px rgba(6, 182, 212, 0.25);
  border-color: rgba(34, 211, 238, 0.5);
}

.icon-glow-school {
  color: #c084fc;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.45), inset 0 0 10px rgba(168, 85, 247, 0.25);
  border-color: rgba(192, 132, 252, 0.5);
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.8rem;
  border-radius: 99px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
  width: fit-content;
  transform: translateZ(42px);
}

.badge-web {
  background: rgba(30, 58, 138, 0.55);
  border: 1px solid rgba(96, 165, 250, 0.55);
  color: #bfdbfe;
}

.badge-institute {
  background: rgba(14, 116, 144, 0.45);
  border: 1px solid rgba(34, 211, 238, 0.55);
  color: #a5f3fc;
}

.badge-school {
  background: rgba(107, 33, 168, 0.55);
  border: 1px solid rgba(192, 132, 252, 0.55);
  color: #f3e8ff;
}

.service-card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 1.9vw, 2.05rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.7);
  transform: translateZ(52px);
}

.highlight-text {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.web-gradient { background-image: var(--grad-web); }
.institute-gradient { background-image: var(--grad-institute); }
.school-gradient { background-image: var(--grad-school); }

.service-card-desc {
  font-size: clamp(0.86rem, 0.92vw, 0.96rem);
  color: #e2e8f0;
  line-height: 1.5;
  margin-bottom: 0.9rem;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  transform: translateZ(36px);
}

.card-features-row {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.05rem;
  flex-wrap: wrap;
  transform: translateZ(46px);
}

.feat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.68rem;
  border-radius: 99px;
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  font-size: 0.75rem;
  font-weight: 600;
}

.feat-pill svg {
  color: #93c5fd;
}

.card-cta-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  transform: translateZ(55px);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.68rem 1.35rem;
  min-height: 44px;
  border-radius: 99px;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring), filter 0.25s ease;
}

.btn-web-cta {
  background: linear-gradient(135deg, #1d4ed8, #6d28d9);
  box-shadow: 0 6px 25px var(--c-web-glow);
}

.btn-institute-cta {
  background: linear-gradient(135deg, #0e7490, #047857);
  box-shadow: 0 6px 25px var(--c-institute-glow);
}

.btn-school-cta {
  background: linear-gradient(135deg, #7e22ce, #be185d);
  box-shadow: 0 6px 25px var(--c-school-glow);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.1);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: linear-gradient(60deg, transparent 40%, rgba(255, 255, 255, 0.32) 50%, transparent 60%);
  transform: rotate(25deg);
  animation: btnShimmerSweep 4.5s infinite ease-in-out;
  pointer-events: none;
}

@keyframes btnShimmerSweep {
  0% { transform: rotate(25deg) translateX(-120%); }
  35%, 100% { transform: rotate(25deg) translateX(120%); }
}

.btn-card-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.68rem 1.15rem;
  min-height: 44px;
  border-radius: 99px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
  transition: transform 0.25s var(--ease-spring), background-color 0.25s ease;
}

.btn-card-call:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

/* ============================================================
   CERTIFICATION FOOTER
   ============================================================ */
.site-footer {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 1rem 1rem;
  position: relative;
  z-index: 10;
  flex-shrink: 0;
}

.footer-badge-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.42rem 1.35rem;
  border-radius: 99px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #f8fafc;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.footer-badge-wrap svg {
  color: #60a5fa;
}

/* ============================================================
   RESPONSIVE DESIGN (TABLETS & MOBILE)
   ============================================================ */
@media (max-width: 1080px) {
  .site-header {
    position: sticky;
    top: 0;
    background: rgba(3, 6, 17, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    pointer-events: auto;
  }

  .services-main {
    padding-top: 1.25rem;
    padding-bottom: 1.5rem;
    justify-content: flex-start;
  }

  .services-row-container {
    max-width: 680px;
    gap: 1.15rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 1.35rem;
    perspective: none;
  }

  .service-col-card {
    min-height: 430px;
    transform-style: flat;
  }

  .card-bg,
  .card-content,
  .card-3d-icon,
  .service-badge,
  .service-card-title,
  .service-card-desc,
  .card-features-row,
  .card-cta-row {
    transform: none;
    transform-style: flat;
  }

  .service-col-card:hover .card-bg,
  .service-col-card:hover .card-3d-icon {
    transform: none;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 0.6rem 0.85rem;
  }

  .header-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "logo actions"
      "contacts contacts";
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .header-left {
    display: contents;
  }

  .brand-logo {
    grid-area: logo;
    align-self: center;
    min-width: 0;
  }

  .site-logo-img {
    height: 34px;
  }

  .header-status-badge {
    display: none;
  }

  .header-right {
    grid-area: actions;
    margin-left: 0;
    align-self: center;
    gap: 0.45rem;
    min-width: 0;
  }

  .btn-header-whatsapp,
  .btn-header-cta {
    min-height: 40px;
    padding: 0.42rem 0.8rem;
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .header-contact-strip {
    grid-area: contacts;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex-wrap: wrap;
  }

  .header-contact-item {
    min-height: 36px;
    padding: 0.34rem 0.68rem;
    font-size: 0.74rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .services-main {
    padding: 1rem 1rem 1.25rem;
  }

  .hero-page-title {
    font-size: 0.98rem;
  }

  .service-col-card {
    min-height: 400px;
    padding: 1.5rem 1.25rem;
    border-radius: 20px;
  }

  .service-card-title {
    font-size: 1.65rem;
  }

  .service-card-desc {
    font-size: 0.92rem;
    margin-bottom: 1rem;
  }

  .card-cta-row {
    width: 100%;
  }

  .card-cta-row .btn-primary {
    flex: 1;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 0.55rem 0.75rem;
  }

  .site-logo-img {
    height: 30px;
  }

  .btn-header-whatsapp span {
    display: none;
  }

  .btn-header-whatsapp {
    min-width: 40px;
    padding: 0.45rem 0.65rem;
    justify-content: center;
  }

  .btn-header-cta {
    padding: 0.45rem 0.75rem;
    font-size: 0.74rem;
  }

  .services-main {
    padding: 0.85rem 0.75rem 1rem;
  }

  .service-col-card {
    padding: 1.35rem 1rem;
    min-height: 380px;
  }

  .service-card-title {
    font-size: 1.5rem;
  }

  .card-cta-row {
    flex-direction: column;
    gap: 0.55rem;
  }

  .card-cta-row .btn-primary,
  .btn-card-call {
    width: 100%;
  }

  .footer-badge-wrap {
    font-size: 0.74rem;
    padding: 0.45rem 0.85rem;
    line-height: 1.35;
  }
}

/* Respect Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nebula,
  .pulse-dot,
  .btn-primary::after {
    animation: none;
  }

  .service-col-card,
  .card-bg,
  .card-3d-icon,
  .btn-primary,
  .btn-card-call,
  .header-contact-item,
  .btn-header-whatsapp,
  .btn-header-cta {
    transition: none;
  }

  .cursor-light-glow {
    display: none;
  }
}
