:root {
  --space-black: #0b111e;
  --navy: #0d1627;
  --navy-mid: #111c30;
  --navy-light: #162040;
  --blue: #2563eb;
  --blue-bright: #3b82f6;
  --cyan: #06b6d4;
  --cyan-light: #67e8f9;
  --crimson: #c0392b;
  --crimson-bright: #e74c3c;
  --white: #ffffff;
  --white-80: rgba(255, 255, 255, 0.8);
  --white-60: rgba(255, 255, 255, 0.6);
  --white-30: rgba(255, 255, 255, 0.3);
  --white-10: rgba(255, 255, 255, 0.1);
  --white-05: rgba(255, 255, 255, 0.05);
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-border-bright: rgba(99, 179, 255, 0.25);
  --gradient-blue: linear-gradient(135deg, #2563eb, #06b6d4);
  --gradient-blue-soft: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.15),
    rgba(6, 182, 212, 0.15)
  );
  /* --font-display: 'Syne', sans-serif; */
  --font-display: 'Google Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  background-color: var(--space-black);
  color: var(--white-80);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

#star-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

.orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(100px);
  opacity: 0.18;
}
.orb-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #2563eb, transparent 60%);
  top: -200px;
  left: -150px;
}
.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #06b6d4, transparent 60%);
  top: 30%;
  right: -200px;
}
.orb-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #c0392b, transparent 60%);
  bottom: 10%;
  left: 20%;
  opacity: 0.09;
}

section,
nav,
footer {
  position: relative;
  z-index: 2;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

h1,
h2,
h3,
h4,
.display-font {
  font-family: var(--font-display);
}

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

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-block;
  margin-bottom: 1rem;
}
.section-label::before {
  content: '// ';
  opacity: 0.5;
}

/* NAVBAR */
.navbar-custom {
  padding: 1.25rem 0;
  background: transparent;
  transition:
    background 0.4s ease,
    padding 0.4s ease;
}
.navbar-custom.scrolled {
  background: rgba(11, 17, 30, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.75rem 0;
}
.navbar-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white) !important;
  text-decoration: none;
  width: 150px;
}
.navbar-brand span {
  color: var(--cyan);
}
.nav-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white-60) !important;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s;
}
.nav-link:hover {
  color: var(--white) !important;
}
.nav-cta {
  background: var(--gradient-blue) !important;
  color: var(--white) !important;
  border-radius: 8px !important;
  padding: 0.5rem 1.25rem !important;
  font-weight: 600 !important;
}
.navbar-toggler {
  border: 1px solid var(--glass-border);
  padding: 0.4rem 0.6rem;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.7)' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* HERO */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--cyan-light);
  margin-bottom: 2rem;
}
.hero-tag .dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.6);
  }
}
.hero-headline {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--white-60);
  max-width: 520px;
  margin-bottom: 2.5rem;
}
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gradient-blue);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 0.85rem 2rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.35);
  cursor: pointer;
}
.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.5);
  color: var(--white);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white-60);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-ghost:hover {
  background: var(--white-05);
  color: var(--white);
  border-color: var(--white-30);
}

/* ROCKET */
.rocket-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 460px;
}
.rocket-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.28) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: glow-pulse 3s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}
.rocket-orbit {
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px dashed rgba(6, 182, 212, 0.2);
  border-radius: 50%;
  animation: rotate-orbit 20s linear infinite;
}
.orbit-dot {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px var(--cyan);
}
.orbit-dot-2 {
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(192, 57, 43, 0.8);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 8px var(--crimson-bright);
}
@keyframes rotate-orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.rocket-svg {
  position: relative;
  width: 180px;
  animation: float-rocket 4s ease-in-out infinite;
  filter: drop-shadow(0 0 28px rgba(37, 99, 235, 0.5));
  z-index: 3;
}
@keyframes float-rocket {
  0%,
  100% {
    transform: translateY(0px) rotate(-15deg);
  }
  50% {
    transform: translateY(-22px) rotate(-15deg);
  }
}
.rocket-trail {
  position: absolute;
  bottom: 60px;
  left: calc(50% + 30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.trail-particle {
  border-radius: 999px;
  background: var(--gradient-blue);
  opacity: 0;
  animation: trail-fade 1.5s ease-in-out infinite;
}
.trail-particle:nth-child(1) {
  width: 18px;
  height: 6px;
  animation-delay: 0s;
}
.trail-particle:nth-child(2) {
  width: 12px;
  height: 5px;
  animation-delay: 0.18s;
}
.trail-particle:nth-child(3) {
  width: 7px;
  height: 4px;
  animation-delay: 0.36s;
}
@keyframes trail-fade {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
    transform: translateY(12px) scaleX(0.4);
  }
}

/* TRUST BAR */
#trust {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 1.25rem 0;
  background: rgba(11, 17, 30, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
}
.trust-item:not(:last-child) {
  border-right: 1px solid var(--glass-border);
}
.trust-icon {
  font-size: 1.4rem;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.trust-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.trust-label {
  font-size: 0.78rem;
  color: var(--white-60);
  line-height: 1.3;
}

/* ABOUT */
#about {
  padding: 110px 0;
}
.about-glass {
  padding: 3rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.about-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-blue);
}
.about-stat {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  background: var(--white-05);
  border: 1px solid var(--glass-border);
}
.about-stat-num {
  font-family: var(--font-display);
  /* font-size: 2.5rem; */
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.about-stat-label {
  font-size: 0.78rem;
  color: var(--white-60);
}
.crimson-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--crimson-bright);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--crimson-bright);
}
.badge-legacy {
  background: rgba(192, 57, 43, 0.15);
  border: 1px solid rgba(231, 76, 60, 0.3);
  color: #f87171;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

/* SERVICES */
#services {
  padding: 110px 0;
}
.service-card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.25rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.3s,
    box-shadow 0.3s;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-blue-soft);
  opacity: 0;
  border-radius: 20px;
  transition: opacity 0.3s;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--glass-border-bright);
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.15);
}
.service-card:hover::after {
  opacity: 1;
}
.service-icon-bg {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid var(--glass-border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}
.service-card p {
  font-size: 0.88rem;
  line-height: 1.72;
  color: var(--white-60);
  position: relative;
  z-index: 1;
  margin: 0;
}
.service-accent-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-blue);
}
.service-num {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  z-index: 0;
}

/* TECH STACK */
#techstack {
  padding: 90px 0;
}
.tech-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 1.25rem 1.75rem;
  transition: all 0.25s ease;
  text-decoration: none;
  height: 100%;
}
.tech-badge:hover {
  border-color: var(--glass-border-bright);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.12);
}
.tech-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tech-badge-info h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.2rem;
}
.tech-badge-info p {
  font-size: 0.78rem;
  color: var(--white-60);
  margin: 0;
}

/* WHY */
#why {
  padding: 110px 0;
}
.why-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: all 0.25s ease;
  height: 100%;
}
.why-item:hover {
  border-color: var(--glass-border-bright);
  background: rgba(37, 99, 235, 0.06);
}
.why-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--gradient-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--white);
  flex-shrink: 0;
}
.why-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.why-text p {
  font-size: 0.875rem;
  color: var(--white-60);
  margin: 0;
  line-height: 1.65;
}

/* CONTACT */
#contact {
  padding: 110px 0;
}
.contact-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
}
.contact-info-side {
  padding: 3.5rem;
  background: rgba(37, 99, 235, 0.05);
  border-right: 1px solid var(--glass-border);
  height: 100%;
}
.contact-form-side {
  padding: 3.5rem;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.contact-info-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid var(--glass-border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--cyan);
  flex-shrink: 0;
}
.contact-info-item h6 {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--white-60);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}
.contact-info-item p {
  font-size: 0.92rem;
  color: var(--white-80);
  margin: 0;
}
.form-label-custom {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--white-60);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
  display: block;
}
.form-control-custom {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--white);
  padding: 0.8rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-control-custom::placeholder {
  color: rgba(255, 255, 255, 0.22);
}
.form-control-custom:focus {
  border-color: var(--blue-bright);
  background: rgba(37, 99, 235, 0.07);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
textarea.form-control-custom {
  resize: vertical;
  min-height: 120px;
}
select.form-control-custom {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
select.form-control-custom option {
  background: #0d1627;
  color: var(--white);
}
.form-success {
  display: none;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  color: var(--cyan-light);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.error-msg {
  display: block;
  font-size: 0.75rem;
  color: var(--crimson-bright);
  margin-top: 0.25rem;
  min-height: 1em;
}
.form-control-custom.is-invalid {
  border-color: var(--crimson-bright);
  background: rgba(231, 76, 60, 0.05);
}

/* FOOTER */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 2.5rem 0;
  background: rgba(11, 17, 30, 0.65);
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
}
.footer-brand span {
  color: var(--cyan);
}
.footer-text {
  font-size: 0.82rem;
  color: var(--white-60);
}
.footer-link {
  color: var(--white-60);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}
.footer-link:hover {
  color: var(--white);
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}

.section-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--glass-border-bright),
    transparent
  );
  margin: 0 auto;
  max-width: 700px;
  position: relative;
  z-index: 2;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .trust-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
  }
  .contact-info-side {
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
  }
  .rocket-container {
    height: 320px;
  }
  .rocket-svg {
    width: 130px;
  }
  .rocket-orbit {
    width: 280px;
    height: 280px;
  }
  .rocket-glow {
    width: 220px;
    height: 220px;
  }
}
@media (max-width: 767px) {
  #hero {
    padding: 100px 0 60px;
  }
  .hero-headline {
    font-size: 2rem;
  }
  .about-glass {
    padding: 2rem;
  }
  .contact-info-side,
  .contact-form-side {
    padding: 2rem;
  }
}

/* ==========================================================================
   FORMERLY INLINE STYLES — migrated to classes
   ========================================================================== */

/* --- Shared section heading utilities --- */

/* clamp(1.75rem, 3vw, 2.5rem) — About heading */
.section-heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--white);
  line-height: 1.2;
}

/* clamp(1.8rem, 3vw, 2.75rem) — Services heading */
.section-heading-lg {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  color: var(--white);
  line-height: 1.2;
}

/* clamp(1.8rem, 3vw, 2.5rem) — Techstack / Why / Contact heading */
.section-heading-md {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--white);
}

/* --- Shared section intro / body text utilities --- */

/* Services intro paragraph: max-width 520px */
.section-intro-text {
  font-size: 0.95rem;
  color: var(--white-60);
  max-width: 520px;
  margin: 1rem auto 0;
}

/* Contact intro paragraph: narrower max-width 500px */
.section-intro-text--narrow {
  max-width: 500px;
}

/* About body paragraph */
.section-body-text {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--white-60);
}

/* --- Service card icon (gradient text treatment) --- */
.service-icon-gradient {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.4rem;
}

/* --- Tech badge icon variants (brand colours) --- */
.tech-badge-icon--wordpress {
  background: rgba(0, 117, 168, 0.15);
  border: 1px solid rgba(0, 117, 168, 0.3);
}

.tech-badge-icon--laravel {
  background: rgba(255, 45, 32, 0.1);
  border: 1px solid rgba(255, 45, 32, 0.25);
}

.tech-badge-icon--react {
  background: rgba(97, 219, 251, 0.1);
  border: 1px solid rgba(97, 219, 251, 0.25);
}

/* --- Contact info sidebar --- */
.contact-info-heading {
  font-size: 1.3rem;
  color: var(--white);
}

.contact-info-subheading {
  font-size: 0.85rem;
  color: var(--white-60);
  margin-bottom: 2rem;
}

/* Bare anchor inside contact info items (email / phone) */
.contact-info-link {
  color: inherit;
  text-decoration: none;
}

/* Social icons block at the bottom of the contact sidebar */
.contact-social-wrap {
  margin-top: 1.5rem; /* mt-4 equivalent */
  padding-top: 0.75rem; /* pt-3 equivalent */
  border-top: 1px solid var(--glass-border);
}

.contact-social-label {
  font-size: 0.78rem;
  color: var(--white-60);
  margin-bottom: 0.75rem;
}

/* Individual social icon button */
.social-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--white-60);
  text-decoration: none;
  font-size: 0.95rem;
  transition:
    color 0.2s,
    border-color 0.2s;
}

.social-icon-btn:hover {
  color: var(--white);
  border-color: var(--glass-border-bright);
}

/* Submit button full-width variant */
.btn-primary-custom--full {
  width: 100%;
  justify-content: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* ==========================================================================
   WhatsApp Floating Action Button
   Matches the 12moon dark glass / cyan-blue aesthetic.
   Add these rules to style.css (or a dedicated partial).
   ========================================================================== */

.whatsapp-fab {
  /* Positioning */
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  z-index: 9999;

  /* Size & shape */
  width: 56px;
  height: 56px;
  border-radius: 16px;

  /* Glass surface — keeps it in family with .glass cards */
  background: rgba(37, 211, 102, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(37, 211, 102, 0.35);

  /* Icon colour */
  color: #25d366;

  /* Layout */
  display: flex;
  align-items: center;
  justify-content: center;

  /* Remove default link decoration */
  text-decoration: none;

  /* Entrance animation */
  animation: wa-fab-enter 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: 1s;

  /* Hover / active transitions */
  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

/* Entrance keyframe — slides up from below */
@keyframes wa-fab-enter {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Hover state */
.whatsapp-fab:hover {
  transform: translateY(-4px) scale(1.06);
  background: rgba(37, 211, 102, 0.22);
  border-color: rgba(37, 211, 102, 0.6);
  box-shadow:
    0 8px 32px rgba(37, 211, 102, 0.25),
    0 0 0 1px rgba(37, 211, 102, 0.15);
  color: #25d366;
}

/* Active / tap feedback */
.whatsapp-fab:active {
  transform: translateY(-1px) scale(0.97);
}

/* --- Icon --- */
.whatsapp-fab__icon {
  width: 26px;
  height: 26px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

/* --- Pulsing outer ring (attention-grabber) --- */
.whatsapp-fab__ring {
  position: absolute;
  inset: -1px;
  border-radius: 17px; /* slightly larger than parent's 16px */
  border: 1.5px solid rgba(37, 211, 102, 0.4);
  animation: wa-ring-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes wa-ring-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.45);
    opacity: 0;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

/* --- Soft glow behind the button --- */
.whatsapp-fab__glow {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(
    circle at center,
    rgba(37, 211, 102, 0.18),
    transparent 70%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.whatsapp-fab:hover .whatsapp-fab__glow {
  opacity: 1;
}

/* --- Tooltip --- */
.whatsapp-fab__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  white-space: nowrap;

  /* Glass tooltip surface */
  background: rgba(13, 22, 39, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(37, 211, 102, 0.25);
  border-radius: 10px;
  padding: 0.45rem 0.85rem;

  /* Typography — matches site's font-body */
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);

  /* Hidden by default, revealed on hover */
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;

  /* Caret pointing right toward the button */
}

.whatsapp-fab__tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  background: rgba(13, 22, 39, 0.9);
  border-top: 1px solid rgba(37, 211, 102, 0.25);
  border-right: 1px solid rgba(37, 211, 102, 0.25);
  transform: translateY(-50%) rotate(45deg);
}

.whatsapp-fab:hover .whatsapp-fab__tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* --- Responsive — nudge inward on small screens --- */
@media (max-width: 767px) {
  .whatsapp-fab {
    bottom: 6.25rem;
    right: 1.25rem;
    /* Slightly smaller on mobile for thumb ergonomics */
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  /* Hide tooltip on touch devices (no hover) */
  .whatsapp-fab__tooltip {
    display: none;
  }

  /* Keep ring subtle on mobile */
  .whatsapp-fab__ring {
    border-radius: 15px;
  }
}

/* --- Reduced-motion override --- */
@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .whatsapp-fab__ring {
    animation: none;
  }
}
