/* ========== VARIABLES ========== */
:root {
  --color-dark: #0a0a0a;
  --color-darkish: #1a1a1a;
  --color-card: #151515;
  --color-border: #2a2a2a;
  --color-text: #ffffff;
  --color-text-muted: #a0a0a0;
  --color-primary: #00d4ff;
  --color-secondary: #7c3aed;
  --color-accent: #ff006e;
  --gradient-primary: linear-gradient(135deg, #00d4ff, #7c3aed);
  --gradient-secondary: linear-gradient(135deg, #7c3aed, #ff006e);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.5s ease-in-out;
}

html[data-theme="light"] {
  --color-dark: #ffffff;
  --color-darkish: #f5f5f5;
  --color-card: #f9f9f9;
  --color-border: #e0e0e0;
  --color-text: #1a1a1a;
  --color-text-muted: #666666;
  --color-primary: #0087be;
  --color-secondary: #6d28d9;
  --color-accent: #d81b60;
}

/* ========== GLOBAL STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

body {
  background-color: var(--color-dark);
  color: var(--color-text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  max-width: 100vw;
  position: relative;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-darkish);
}

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

::-webkit-scrollbar-thumb:hover {
  background: var(--color-secondary);
}

/* ========== LOADER ========== */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeOut 0.6s ease-in-out 2.4s forwards;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  font-size: 48px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  animation: pulse 1.5s ease-in-out infinite;
}

.loader-bar {
  width: 200px;
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  margin: 20px auto;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  background: var(--gradient-primary);
  width: 30%;
  animation: loadingBar 1.5s ease-in-out infinite;
}

.loader-text {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 15px;
}

/* ========== CUSTOM CURSOR ========== */
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%,-50%);
  transition: transform 0.1s ease, background 0.2s ease;
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 2px solid rgba(0,212,255,0.6);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%,-50%);
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}
.cursor-ring.hovered {
  width: 60px; height: 60px;
  border-color: var(--color-accent);
  background: rgba(255,0,110,0.05);
}

/* ========== SCROLL PROGRESS BAR ========== */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-primary);
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(0,212,255,0.6);
}

/* ========== HERO AURORA BACKGROUND ========== */
.hero-aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.aurora-1, .aurora-2, .aurora-3 {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  mix-blend-mode: screen;
}
.aurora-1 {
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(0,212,255,0.18) 0%, transparent 70%);
  top: -20%; left: -10%;
  animation: aurora-move-1 12s ease-in-out infinite alternate;
}
.aurora-2 {
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(124,58,237,0.2) 0%, transparent 70%);
  top: 10%; right: -10%;
  animation: aurora-move-2 15s ease-in-out infinite alternate;
}
.aurora-3 {
  width: 40vw; height: 40vw;
  background: radial-gradient(circle, rgba(255,0,110,0.12) 0%, transparent 70%);
  bottom: -10%; left: 30%;
  animation: aurora-move-3 10s ease-in-out infinite alternate;
}
@keyframes aurora-move-1 {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(8vw, 6vh) scale(1.15); }
}
@keyframes aurora-move-2 {
  from { transform: translate(0,0) scale(1.1); }
  to   { transform: translate(-6vw, 8vh) scale(0.9); }
}
@keyframes aurora-move-3 {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(4vw,-6vh) scale(1.2); }
}

/* ========== HERO TITLE SPLIT ANIMATION ========== */
.hero-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(80px) rotateX(-90deg);
  animation: char-in 0.6s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes char-in {
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}

/* ========== HERO BADGE SHIMMER ========== */
.hero-badge {
  position: relative;
  overflow: hidden;
}
.hero-badge::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: badge-shimmer 3s ease-in-out infinite;
}
@keyframes badge-shimmer {
  0%   { left: -100%; }
  60%  { left: 150%; }
  100% { left: 150%; }
}

/* ========== HERO BUTTONS RIPPLE ========== */
.btn-primary, .btn-secondary {
  position: relative;
  overflow: hidden;
}
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: scale(0);
  animation: ripple-out 0.6s ease-out forwards;
  pointer-events: none;
}
@keyframes ripple-out {
  to { transform: scale(4); opacity: 0; }
}

/* ========== SECTION REVEAL VARIANTS ========== */
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34,1.56,0.64,1);
}
.reveal-left.visible, .reveal-right.visible, .reveal-scale.visible {
  opacity: 1;
  transform: none;
}

/* ========== PARALLAX SECTIONS ========== */
.parallax-bg {
  will-change: transform;
}

/* ========== SECTION DIVIDER WAVE ========== */
.section-wave {
  position: absolute;
  bottom: -1px; left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.section-wave svg {
  display: block;
  width: 100%;
}

/* ========== FLOATING ORBS GLOBAL ========== */
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.06;
}

/* ========== TECH TAGS FLOAT ========== */
.tech-tags span {
  animation: tag-float 4s ease-in-out infinite;
}
.tech-tags span:nth-child(odd)  { animation-delay: 0.5s; }
.tech-tags span:nth-child(3n)   { animation-delay: 1s; }
@keyframes tag-float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-4px); }
}

/* ========== SERVICE CARD GLOW BORDER ========== */
.service-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 17px;
  background: var(--gradient-primary);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}
.service-card:hover::after { opacity: 0.15; }

/* ========== TESTIMONIAL CARD FLOAT ========== */
.testimonial-card:nth-child(2) {
  animation: card-float 6s ease-in-out infinite;
}
@keyframes card-float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}

/* ========== FOOTER GLOW ========== */
footer {
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%; height: 1px;
  background: var(--gradient-primary);
  box-shadow: 0 0 20px rgba(0,212,255,0.4);
}

/* ========== SCROLL SNAP HINT ========== */
.hero-scroll {
  animation: scroll-hint 2s ease-in-out infinite;
}
@keyframes scroll-hint {
  0%,100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50%     { opacity: 0.5; transform: translateX(-50%) translateY(8px); }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes loadingBar {
  0% { width: 30%; }
  50% { width: 70%; }
  100% { width: 30%; }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
  }
}

@keyframes scrollY {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

/* ========== GRADIENT TEXT (was missing) ========== */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== BASE BUTTONS (was missing) ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: var(--gradient-primary);
  color: var(--color-dark);
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-primary);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-dark);
  transform: translateY(-2px);
}

/* ========== BLINK (was missing) ========== */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ========== REVEAL ANIMATION ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

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

/* ========== CONTAINER ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== NAVBAR ========== */
#navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(10, 10, 10, 0.7);
  border-bottom: 1px solid var(--color-border);
  animation: slideDown 0.5s ease-out;
}

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

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  font-size: 24px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  height: 40px;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.nav-logo:hover .logo-img {
  transform: scale(1.08) drop-shadow(0 0 10px rgba(0, 212, 255, 0.4));
}

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

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

.nav-link {
  color: var(--color-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.theme-toggle {
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle:hover {
  color: var(--color-primary);
  transform: rotate(20deg);
}

.nav-cta {
  padding: 10px 20px;
  background: var(--gradient-primary);
  color: var(--color-dark);
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 24px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: var(--transition);
}

/* ========== FLOATING HIRE ME ========== */
.float-hire {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.4);
  transition: var(--transition);
  overflow: hidden;
}

.float-hire:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 50px rgba(124, 58, 237, 0.6);
}

.float-hire i {
  font-size: 24px;
}

.float-hire span {
  display: none;
}

/* ========== HERO SECTION ========== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 20px 80px;
  background: linear-gradient(135deg, var(--color-dark) 0%, #1a0033 50%, var(--color-dark) 100%);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

/* Hero Stars Background */
.hero-stars {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  background-image: 
    radial-gradient(1px 1px at 20% 30%, #fff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 60% 70%, #fff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 50% 50%, #fff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 80% 10%, #fff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 90% 60%, #fff, rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: twinkle 5s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.5; }
}

/* Hero Gradient Orbs */
.hero-gradient-orbs {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(0, 212, 255, 0.3);
  top: -150px;
  left: 10%;
  animation: float 8s ease-in-out infinite;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(124, 58, 237, 0.3);
  top: 20%;
  right: 15%;
  animation: float 10s ease-in-out infinite reverse;
  animation-delay: 2s;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: rgba(255, 0, 110, 0.2);
  bottom: 10%;
  left: 5%;
  animation: float 12s ease-in-out infinite;
  animation-delay: 4s;
}

.orb-4 {
  width: 300px;
  height: 300px;
  background: rgba(0, 212, 255, 0.2);
  bottom: -100px;
  right: 10%;
  animation: float 9s ease-in-out infinite reverse;
  animation-delay: 1s;
}

/* Hero Grid */
.hero-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 212, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(40px); }
}

/* Hero Blob */
.hero-blob {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  animation: blobWave 6s ease-in-out infinite;
}

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

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
  animation: glow 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glow {
  0%, 100% { 
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% { 
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 50px;
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 40px;
  backdrop-filter: blur(10px);
  animation: slideInDown 0.8s ease-out;
}

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

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* Hero Tag */
.hero-tag {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  margin-bottom: 15px;
  animation: slideInDown 0.8s ease-out 0.1s backwards;
}

/* Hero Main */
.hero-main {
  margin-bottom: 30px;
}

.hero-title {
  font-size: 72px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 30px;
  word-spacing: 100vw;
}

.line-wrapper {
  display: block;
  overflow: hidden;
  padding: 10px 0;
}

.text-line {
  display: block;
  animation: slideInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.line-wrapper:nth-child(1) .text-line {
  animation-delay: 0.2s;
}

.line-wrapper:nth-child(2) .text-line {
  animation-delay: 0.4s;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Subtitle */
.hero-subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.hero-subtitle p {
  font-size: 20px;
  color: var(--color-text-muted);
  font-weight: 500;
  margin: 0;
  animation: fadeInUp 1s ease-out 0.6s backwards;
}

.subtitle-bar {
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
  animation: expandWidth 1s ease-out 0.8s backwards;
}

/* Hero Typing */
.hero-typing {
  font-size: 18px;
  color: var(--color-primary);
  font-weight: 600;
  min-height: 50px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  animation: fadeInUp 1s ease-out 0.7s backwards;
}

.typing-label {
  color: var(--color-text-muted);
}

.typing-text {
  font-style: italic;
}

.cursor {
  animation: blink 0.7s infinite;
}

/* Hero Description */
.hero-desc {
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 50px;
  animation: fadeInUp 1s ease-out 0.8s backwards;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.9s backwards;
}

.btn-lg {
  padding: 16px 40px !important;
  font-size: 16px !important;
  border-radius: 10px !important;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-primary.btn-lg {
  background: var(--gradient-primary) !important;
  color: var(--color-dark) !important;
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.25) !important;
}

.btn-primary.btn-lg:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 30px 60px rgba(0, 212, 255, 0.4) !important;
}

.btn-primary.btn-lg::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.3s ease;
}

.btn-primary.btn-lg:hover::before {
  left: 100%;
}

.btn-secondary.btn-lg {
  background: transparent !important;
  border: 2px solid var(--color-primary) !important;
  color: var(--color-text) !important;
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.15) !important;
}

.btn-secondary.btn-lg:hover {
  background: var(--color-primary) !important;
  color: var(--color-dark) !important;
  transform: translateY(-5px) !important;
  box-shadow: 0 30px 60px rgba(0, 212, 255, 0.3) !important;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-bottom: 60px;
  animation: fadeInUp 1s ease-out 1s backwards;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 40px;
  min-width: 150px;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 12px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-top: 8px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

/* Hero Socials */
.hero-socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  animation: fadeInUp 1s ease-out 1.1s backwards;
}

.socials-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-muted);
}

.socials-group {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--color-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-size: 18px;
}

.social-link:hover {
  background: var(--gradient-primary);
  border-color: var(--color-primary);
  color: var(--color-dark);
  transform: translateY(-8px) rotate(5deg);
}

/* Hero Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeIn 1.5s ease-out 1.5s backwards;
}

.scroll-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.scroll-animation {
  width: 24px;
  height: 40px;
  border: 2px solid var(--color-primary);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding: 6px 0;
}

.scroll-animation div {
  width: 4px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 2px;
  animation: scrollBounce 1.5s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0; }
  50% { transform: translateY(12px); opacity: 1; }
}

/* Fade In Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ========== SECTION STYLES ========== */
section {
  padding: 100px 0;
}

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

.section-tag {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 15px;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-sub {
  font-size: 18px;
  color: var(--color-text-muted);
}

/* ========== ABOUT SECTION ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* extra space so outer rings aren't clipped */
  margin: 60px auto;
}

.image-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

.image-ring.layer-1 {
  width: 380px;
  height: 380px;
  margin-top: -190px;
  margin-left: -190px;
  border: 2px solid rgba(0, 212, 255, 0.45);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.22);
  animation: rotate-ring 16s linear infinite reverse;
}

.image-ring.layer-2 {
  width: 430px;
  height: 430px;
  margin-top: -215px;
  margin-left: -215px;
  border: 2px dashed rgba(124, 58, 237, 0.45);
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.14);
  animation: rotate-ring 24s linear infinite;
}

.image-ring.layer-3 {
  width: 490px;
  height: 490px;
  margin-top: -245px;
  margin-left: -245px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
  animation: rotate-ring 32s linear infinite;
}

.image-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  z-index: 3;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: radial-gradient(circle at top, rgba(0, 212, 255, 0.08), transparent 55%), rgba(10, 10, 10, 0.7);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  animation: float 8s ease-in-out infinite;
}

.image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.2);
  pointer-events: none;
  z-index: 4;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@keyframes float-ring {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, -50%); }
}

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

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

.avatar-initials {
  font-size: 120px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.avatar-ring {
  position: absolute;
  border: 2px solid;
  border-radius: 50%;
  animation: spin 8s linear infinite;
}

.ring1 {
  width: 350px;
  height: 350px;
  border-color: rgba(0, 212, 255, 0.3);
}

.ring2 {
  width: 280px;
  height: 280px;
  border-color: rgba(124, 58, 237, 0.3);
  animation-direction: reverse;
}

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

.image-badge {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  padding: 15px 25px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--color-primary);
}

.about-content {
  z-index: 1;
}

.about-name {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.about-role {
  font-size: 16px;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.about-bio {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 30px;
}

.about-tabs {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 20px;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.tab-btn.active {
  color: var(--color-primary);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
}

.tab-panel {
  display: none;
  animation: slideInUp 0.5s ease-out;
}

.tab-panel.active {
  display: block;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
}

.skill-bar {
  width: 100%;
  height: 8px;
  background: var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 4px;
  animation: expandWidth 1s ease-out forwards;
}

@keyframes expandWidth {
  from { width: 0 !important; }
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.tech-tags span {
  padding: 8px 16px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 20px;
  font-size: 13px;
  color: var(--color-primary);
  transition: var(--transition);
}

.tech-tags span:hover {
  background: var(--color-primary);
  color: var(--color-dark);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.timeline-item {
  display: flex;
  gap: 30px;
  position: relative;
  padding-left: 40px;
}

.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 15px;
  top: 40px;
  width: 2px;
  height: 80px;
  background: var(--color-border);
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 6px;
  width: 32px;
  height: 32px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-date {
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 600;
}

.timeline-content h4 {
  font-size: 18px;
  margin: 10px 0 5px;
}

.timeline-content p {
  color: var(--color-text-muted);
  font-size: 14px;
}

/* ========== SERVICES SECTION ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  padding: 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

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

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 20px 50px rgba(0, 212, 255, 0.1);
  transform: translateY(-10px);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 212, 255, 0.1);
  border: 2px solid rgba(0, 212, 255, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--color-primary);
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--color-primary);
  color: var(--color-dark);
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.service-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 25px;
}

.service-list {
  list-style: none;
  margin-bottom: 30px;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.service-list i {
  color: var(--color-primary);
  font-size: 16px;
}

.service-number {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 48px;
  font-weight: 700;
  color: rgba(0, 212, 255, 0.1);
  z-index: 1;
}

/* ========== PROJECTS SECTION ========== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  animation: slideInUp 0.8s ease-out forwards;
}

.project-image {
  position: relative;
  height: 280px;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 20px;
}

.project-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(124, 58, 237, 0.1));
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: rgba(0, 212, 255, 0.3);
  transition: var(--transition-smooth);
  position: relative;
}

.project-image:hover .project-img-placeholder {
  transform: scale(1.05);
  color: var(--color-primary);
}

.project-p1 { background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(124, 58, 237, 0.1)); }
.project-p2 { background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(255, 0, 110, 0.1)); }
.project-p3 { background: linear-gradient(135deg, rgba(255, 0, 110, 0.15), rgba(0, 212, 255, 0.1)); }

.p1 { background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(124,58,237,0.1)); }
.p2 { background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(255,0,110,0.1)); }
.p3 { background: linear-gradient(135deg, rgba(255,0,110,0.15), rgba(0,212,255,0.1)); }
.p4 { background: linear-gradient(135deg, rgba(0,212,255,0.12), rgba(16,185,129,0.15)); }
.p5 { background: linear-gradient(135deg, rgba(245,158,11,0.12), rgba(124,58,237,0.15)); }

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  transition: var(--transition-smooth);
  border-radius: 16px;
}

.project-image:hover .project-overlay {
  opacity: 1;
}

.project-link {
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  color: var(--color-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.project-link:hover {
  transform: scale(1.1);
}

.project-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gradient-secondary);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 10;
}

.project-info {
  z-index: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.project-tags span {
  padding: 6px 12px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 20px;
  font-size: 12px;
  color: var(--color-primary);
}

.project-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  transition: var(--transition);
}

.project-card:hover h3 {
  color: var(--color-primary);
}

.project-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.project-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.project-cta:hover {
  gap: 12px;
  color: var(--color-text);
}

.projects-cta {
  text-align: center;
}

/* ========== CANVAS PARTICLES ========== */
#particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* ========== MOUSE GLOW ========== */
.hero-mouse-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.08) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: left 0.1s ease, top 0.1s ease;
  z-index: 3;
}

/* ========== GLITCH TEXT ========== */
.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.glitch.animate::before {
  color: #00d4ff;
  animation: glitch-1 0.4s ease forwards;
  clip-path: polygon(0 0, 100% 0, 100% 40%, 0 40%);
}

.glitch.animate::after {
  color: #ff006e;
  animation: glitch-2 0.4s ease forwards;
  clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
}

@keyframes glitch-1 {
  0%   { opacity: 0; transform: translateX(0); }
  20%  { opacity: 1; transform: translateX(-4px); }
  40%  { opacity: 1; transform: translateX(4px); }
  60%  { opacity: 1; transform: translateX(-2px); }
  80%  { opacity: 0; transform: translateX(0); }
  100% { opacity: 0; }
}

@keyframes glitch-2 {
  0%   { opacity: 0; transform: translateX(0); }
  20%  { opacity: 1; transform: translateX(4px); }
  40%  { opacity: 1; transform: translateX(-4px); }
  60%  { opacity: 1; transform: translateX(2px); }
  80%  { opacity: 0; transform: translateX(0); }
  100% { opacity: 0; }
}

/* ========== 3D TILT CARDS ========== */
.service-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.service-card .service-icon {
  transform: translateZ(20px);
}

.service-card h3 {
  transform: translateZ(15px);
}

/* ========== PROJECT CARD SHIMMER ========== */
.project-card {
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease;
}

.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.06) 50%, transparent 60%);
  background-size: 200% 100%;
  background-position: 200% 0;
  transition: background-position 0.6s ease;
  pointer-events: none;
  z-index: 2;
}

.project-card:hover::after {
  background-position: -200% 0;
}

.project-card:hover {
  box-shadow: 0 30px 60px rgba(0,212,255,0.15), 0 0 0 1px rgba(0,212,255,0.2);
}

/* ========== STAT CARD PULSE BORDER ========== */
.stat-card {
  border-radius: 16px;
  border: 1px solid transparent;
  background-clip: padding-box;
  transition: var(--transition-smooth);
}

.stat-card.visible {
  animation: stat-border-pulse 3s ease-in-out infinite;
}

@keyframes stat-border-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,212,255,0); border-color: var(--color-border); }
  50%       { box-shadow: 0 0 20px 2px rgba(0,212,255,0.15); border-color: rgba(0,212,255,0.4); }
}

/* ========== SKILL BAR GLOW ========== */
.skill-fill {
  position: relative;
  overflow: visible;
}

.skill-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 8px 3px rgba(0,212,255,0.6);
  opacity: 0;
  transition: opacity 0.3s ease 0.8s;
}

.skill-fill.animated::after {
  opacity: 1;
}

/* ========== SECTION HEADER UNDERLINE DRAW ========== */
.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.4,0,0.2,1) 0.3s;
}

.section-header.visible .section-title::after {
  width: 60%;
}

/* ========== TIMELINE DOT PULSE ========== */
.timeline-dot {
  position: relative;
}

.timeline-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(0,212,255,0.4);
  animation: dot-ping 2s ease-out infinite;
}

@keyframes dot-ping {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ========== CONTACT ICON HOVER ========== */
.contact-icon {
  transition: var(--transition);
}

.contact-item:hover .contact-icon {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-dark);
  transform: rotate(-8deg) scale(1.1);
}

/* ========== FOOTER LINK HOVER ========== */
.footer-links a {
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

/* ========== STATS SECTION ========== */
#stats {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(124, 58, 237, 0.05));
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

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

.stat-icon {
  font-size: 48px;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

.stat-plus {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 32px;
}

.stat-label {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 10px;
}

/* ========== TESTIMONIALS SECTION ========== */
.reviews-action {
  text-align: center;
  margin-bottom: 40px;
}

.reviews-loading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--color-text-muted);
  font-size: 15px;
  padding: 60px 0;
}

.reviews-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  color: var(--color-text-muted);
  padding: 60px 0;
  text-align: center;
}

.reviews-empty i {
  font-size: 48px;
  color: var(--color-border);
}

.reviews-error {
  grid-column: 1 / -1;
  text-align: center;
  color: #ef4444;
  padding: 40px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  padding: 30px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-card:hover {
  border-color: var(--color-primary);
  background: rgba(0, 212, 255, 0.05);
  transform: translateY(-5px);
}

.testimonial-stars {
  color: #ffd700;
  font-size: 16px;
  display: flex;
  gap: 3px;
}

.testimonial-stars .fa-regular {
  color: var(--color-border);
}

.testimonial-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.8;
  font-style: italic;
  flex: 1;
}

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

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

.testimonial-author h4 {
  font-size: 16px;
  margin: 0 0 4px;
}

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

/* ========== REVIEW MODAL ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-box {
  background: var(--color-darkish);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 500px;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition);
}

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

.modal-box h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.modal-box > p {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: 28px;
}

#reviewForm {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.star-rating-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.star-rating {
  display: flex;
  gap: 6px;
}

.star-rating .fa-star {
  font-size: 22px;
  color: var(--color-border);
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}

.star-rating .fa-star.active,
.star-rating .fa-star:hover {
  color: #ffd700;
  transform: scale(1.2);
}

/* ========== CONTACT SECTION ========== */
#contact {
  border-top: 1px solid var(--color-border);
}

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

.contact-info h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.contact-info > p {
  color: var(--color-text-muted);
  margin-bottom: 40px;
  line-height: 1.8;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 212, 255, 0.1);
  border: 2px solid rgba(0, 212, 255, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 20px;
  flex-shrink: 0;
}

.contact-item span {
  font-size: 12px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.contact-item a {
  color: var(--color-text);
  text-decoration: none;
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--color-primary);
}

.contact-socials {
  display: flex;
  gap: 15px;
}

.contact-socials a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  text-decoration: none;
  transition: var(--transition);
  font-size: 18px;
}

.contact-socials a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-dark);
  transform: translateY(-3px);
}

/* ========== CONTACT FORM ========== */
.contact-form-wrap {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
}

#contactForm {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 48px 16px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  color: var(--color-text);
  font-family: inherit;
  font-size: 14px;
  transition: var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
  font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  background: rgba(0, 212, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.08);
}

.form-group input:focus + .form-icon,
.form-group textarea:focus + .form-icon {
  color: var(--color-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.form-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  font-size: 15px;
  pointer-events: none;
  transition: var(--transition);
}

.form-icon.textarea-icon {
  top: 18px;
  transform: none;
}

.submit-btn {
  align-self: stretch;
  justify-content: center;
  margin-top: 6px;
  padding: 16px !important;
  font-size: 15px !important;
  border-radius: 12px !important;
  gap: 10px;
  letter-spacing: 0.3px;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

#form-msg {
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  min-height: 20px;
}

#form-msg.success {
  color: #10b981;
}

#form-msg.error {
  color: #ef4444;
}

/* WhatsApp Button */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #25d366;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 20px;
  transition: var(--transition);
}

.whatsapp-btn:hover {
  background: #1f9d52;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

/* Floating WhatsApp */
.float-whatsapp {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  overflow: hidden;
}

.float-whatsapp i {
  font-size: 28px;
  transition: var(--transition);
  flex-shrink: 0;
}

.float-whatsapp span {
  display: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.float-whatsapp:hover {
  width: auto;
  border-radius: 30px;
  padding: 0 20px 0 16px;
  gap: 8px;
  box-shadow: 0 15px 50px rgba(37, 211, 102, 0.6);
  transform: translateY(-4px);
  animation: none;
}

.float-whatsapp:hover span {
  display: inline;
}

/* Floating Call */
.float-call {
  position: fixed;
  bottom: 170px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  text-decoration: none;
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.35);
  transition: var(--transition);
  overflow: hidden;
}

.float-call i {
  font-size: 22px;
  flex-shrink: 0;
  transition: var(--transition);
}

.float-call span {
  display: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.float-call:hover {
  width: auto;
  border-radius: 30px;
  padding: 0 20px 0 16px;
  gap: 8px;
  box-shadow: 0 15px 50px rgba(0, 212, 255, 0.5);
  transform: translateY(-4px);
  animation: none;
}

.float-call:hover i {
  animation: ring 0.4s ease-in-out;
}

.float-call:hover span {
  display: inline;
}

@keyframes ring {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-15deg); }
  75% { transform: rotate(15deg); }
}

/* ========== FOOTER ========== */
footer {
  border-top: 1px solid var(--color-border);
  padding: 60px 0 20px;
  background: rgba(255, 255, 255, 0.01);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--color-border);
}

.footer-logo {
  font-size: 28px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  height: 50px;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.footer-logo:hover .footer-logo-img {
  transform: scale(1.08) drop-shadow(0 0 15px rgba(0, 212, 255, 0.4));
}

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

.footer-top p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.8;
}

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

.footer-socials a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  text-decoration: none;
  transition: var(--transition);
  font-size: 16px;
}

.footer-socials a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-dark);
  transform: translateY(-3px);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--color-border);
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

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

.footer-bottom i {
  color: var(--color-accent);
  animation: pulse 1.5s ease-in-out infinite;
}

.back-to-top {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  color: var(--color-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

/* ========== RESPONSIVE ========== */

/* Tablet */
@media (max-width: 1024px) {
  .hero-title { font-size: 58px; }
  .about-grid { gap: 40px; }
  .contact-grid { gap: 40px; }
  .stat-item { padding: 20px 25px; }
}

/* Mobile */
@media (max-width: 768px) {
  /* Hide cursor on touch */
  .cursor-dot, .cursor-ring { display: none; }

  /* Navbar */
  .nav-links {
    display: none;
    position: fixed;
    left: 0;
    top: 70px;
    flex-direction: column;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(20px);
    width: 100%;
    text-align: center;
    gap: 0;
    z-index: 999;
    border-bottom: 1px solid var(--color-border);
    animation: none;
  }
  .nav-links.active {
    display: flex;
    animation: slideInDown 0.3s ease-out;
  }
  .nav-links li {
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
  }
  .nav-links li:last-child { border-bottom: none; }
  .hamburger { display: flex; }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hamburger span { transition: var(--transition); }

  /* Hero */
  #hero { padding: 100px 20px 80px; }
  .hero-title { font-size: 42px; }
  .hero-subtitle p { font-size: 16px; }
  .hero-typing { font-size: 15px; }
  .hero-desc { font-size: 15px; margin-bottom: 35px; }
  .hero-buttons { flex-direction: column; gap: 14px; align-items: stretch; }
  .btn-lg { width: 100%; justify-content: center; }
  .hero-stats {
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
  }
  .stat-item {
    padding: 18px 10px;
    min-width: 0;
    flex: 1;
    border-right: 1px solid var(--color-border);
  }
  .stat-item:last-child { border-right: none; }
  .stat-divider { display: none; }
  .stat-value { font-size: 22px; }
  .stat-label { font-size: 10px; }
  .socials-group { gap: 10px; }
  .social-link { width: 44px; height: 44px; font-size: 16px; }

  /* Sections */
  section { padding: 70px 0; }
  .section-title { font-size: 30px; }
  .section-sub { font-size: 15px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-image { width: 240px; height: 240px; margin: 50px auto 20px; }
  .image-ring.layer-1 { width: 280px; height: 280px; margin-top: -140px; margin-left: -140px; }
  .image-ring.layer-2 { width: 320px; height: 320px; margin-top: -160px; margin-left: -160px; }
  .image-ring.layer-3 { width: 370px; height: 370px; margin-top: -185px; margin-left: -185px; }
  .skills-grid { grid-template-columns: 1fr; }
  .about-tabs { flex-wrap: wrap; gap: 12px; }
  .about-name { font-size: 26px; }

  /* Services */
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { padding: 28px; }

  /* Projects */
  .projects-grid { grid-template-columns: 1fr; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-card { padding: 24px 16px; }
  .stat-number { font-size: 36px; }
  .stat-icon { font-size: 36px; margin-bottom: 12px; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-form-wrap { padding: 28px 20px; }

  /* Floating buttons ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â stack vertically, smaller */
  .float-hire   { width: 46px; height: 46px; bottom: 16px; right: 12px; box-shadow: 0 4px 20px rgba(124,58,237,0.4); }
  .float-hire i { font-size: 18px; }
  .float-whatsapp { width: 46px; height: 46px; bottom: 72px; right: 12px; box-shadow: 0 4px 20px rgba(37,211,102,0.4); overflow: hidden; }
  .float-whatsapp i { font-size: 22px; }
  .float-call   { width: 46px; height: 46px; bottom: 128px; right: 12px; box-shadow: 0 4px 20px rgba(0,212,255,0.4); }
  .float-call i { font-size: 17px; }
  /* Disable expand-on-hover for floating buttons on mobile */
  .float-whatsapp:hover, .float-call:hover {
    width: 46px; border-radius: 50%; padding: 0; transform: none;
  }
  .float-whatsapp:hover span, .float-call:hover span { display: none; }
  /* Disable pulse ring on mobile */
  .float-hire::before, .float-whatsapp::before, .float-call::before { display: none; }

  /* Modal */
  .modal-box { padding: 28px 20px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-links { gap: 18px; }

  /* Disable parallax on section headers for mobile */
  .section-header { transform: none !important; }
}

/* Small Mobile */
@media (max-width: 480px) {
  #hero { padding: 80px 16px 60px; min-height: 100svh; }
  #navbar { padding: 0; }
  .nav-container { height: 60px; padding: 0 16px; }
  .nav-cta { display: none; }
  .logo-img { height: 34px; }

  .hero-badge { font-size: 11px; padding: 9px 14px; margin-bottom: 20px; gap: 8px; }
  .hero-tag { font-size: 11px; letter-spacing: 1.5px; }
  .hero-title { font-size: 30px; margin-bottom: 16px; word-spacing: normal; }
  .hero-subtitle { flex-direction: column; gap: 10px; margin-bottom: 20px; }
  .hero-subtitle p { font-size: 14px; }
  .subtitle-bar { width: 40px; }
  .hero-typing { font-size: 13px; min-height: 40px; margin-bottom: 16px; flex-wrap: wrap; justify-content: center; }
  .hero-desc { font-size: 13px; margin-bottom: 28px; line-height: 1.7; }
  .hero-buttons { margin-bottom: 28px; gap: 12px; }
  .btn-lg { padding: 14px 20px !important; font-size: 14px !important; border-radius: 10px !important; }
  .hero-stats { margin-bottom: 28px; }
  .stat-value { font-size: 20px; }
  .stat-label { font-size: 9px; }
  .socials-group { gap: 8px; }
  .social-link { width: 40px; height: 40px; font-size: 15px; border-radius: 10px; }
  .hero-scroll { bottom: 16px; }
  .scroll-content { font-size: 9px; }

  section { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }
  .section-title { font-size: 24px; }
  .section-sub { font-size: 14px; }

  .about-image { width: 200px; height: 200px; margin: 40px auto 16px; }
  .image-ring.layer-1 { width: 236px; height: 236px; margin-top: -118px; margin-left: -118px; }
  .image-ring.layer-2 { width: 272px; height: 272px; margin-top: -136px; margin-left: -136px; }
  .image-ring.layer-3 { width: 310px; height: 310px; margin-top: -155px; margin-left: -155px; }
  .image-badge { bottom: 16px; right: 16px; padding: 10px 14px; font-size: 12px; }
  .about-name { font-size: 22px; }
  .about-role { font-size: 13px; }
  .about-bio { font-size: 14px; }
  .tab-btn { font-size: 14px; }

  .service-card { padding: 24px 18px; }
  .service-card h3 { font-size: 18px; }

  .project-image { height: 220px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-card { padding: 20px 12px; }
  .stat-number { font-size: 30px; }
  .stat-icon { font-size: 28px; }
  .stat-label { font-size: 11px; }

  .contact-form-wrap { padding: 22px 16px; }
  .form-group input, .form-group textarea { padding: 14px 44px 14px 14px; font-size: 14px; }

  .modal-box { padding: 24px 16px; border-radius: 16px; }
  .modal-box h3 { font-size: 18px; }

  .footer-links { flex-wrap: wrap; gap: 14px; justify-content: center; }
  .footer-socials { justify-content: center; }
  .footer-bottom p { font-size: 12px; }

  .float-hire   { bottom: 16px; right: 10px; width: 44px; height: 44px; }
  .float-whatsapp { bottom: 70px; right: 10px; width: 44px; height: 44px; overflow: hidden; }
  .float-call   { bottom: 124px; right: 10px; width: 44px; height: 44px; }

  .avatar-initials { font-size: 60px; }
  .ring1 { width: 200px; height: 200px; }
  .ring2 { width: 140px; height: 140px; }
}

/* Extra small (320px) */
@media (max-width: 360px) {
  .hero-title { font-size: 26px; }
  .hero-stats { flex-direction: column; border: none; background: none; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--color-border); flex: none; width: 100%; padding: 12px 0; }
  .stat-item:last-child { border-bottom: none; }
  .nav-container { padding: 0 12px; }
}

/* ========== ENHANCED ANIMATIONS ========== */

/* Staggered reveal for grid children */
.services-grid .service-card:nth-child(1) { transition-delay: 0s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.3s; }

.projects-grid .project-card:nth-child(1) { transition-delay: 0s; }
.projects-grid .project-card:nth-child(2) { transition-delay: 0.1s; }
.projects-grid .project-card:nth-child(3) { transition-delay: 0.2s; }
.projects-grid .project-card:nth-child(4) { transition-delay: 0.3s; }
.projects-grid .project-card:nth-child(5) { transition-delay: 0.4s; }

/* Smooth nav mobile slide */
@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero badge pulse ring */
.badge-dot {
  box-shadow: 0 0 0 0 rgba(0,212,255,0.5);
  animation: badge-ping 2s ease-in-out infinite;
}
@keyframes badge-ping {
  0%   { box-shadow: 0 0 0 0 rgba(0,212,255,0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(0,212,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,212,255,0); }
}

/* Floating buttons pulse ring */
.float-hire::before,
.float-whatsapp::before,
.float-call::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: float-ping 2.5s ease-out infinite;
  pointer-events: none;
}
.float-hire::before    { background: rgba(124,58,237,0.4); }
.float-whatsapp::before { background: rgba(37,211,102,0.4); }
.float-call::before    { background: rgba(0,212,255,0.4); }
@keyframes float-ping {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Testimonial card entrance */
.testimonial-card {
  animation: none;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34,1.56,0.64,1), border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Contact items stagger */
.contact-item {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.contact-info.visible .contact-item:nth-child(1) { opacity:1; transform:none; transition-delay:0.1s; }
.contact-info.visible .contact-item:nth-child(2) { opacity:1; transform:none; transition-delay:0.2s; }
.contact-info.visible .contact-item:nth-child(3) { opacity:1; transform:none; transition-delay:0.3s; }

/* Smooth image badge entrance */
.image-badge {
  animation: badge-in 0.8s cubic-bezier(0.34,1.56,0.64,1) 1s both;
}
@keyframes badge-in {
  from { opacity:0; transform: scale(0.6) translateY(10px); }
  to   { opacity:1; transform: scale(1) translateY(0); }
}

/* Section tag pop */
.section-tag {
  animation: tag-pop 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}
.section-header.visible .section-tag { animation-play-state: running; }

/* Smooth scroll-to-top button */
.back-to-top {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.back-to-top.show {
  opacity: 1;
  pointer-events: all;
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-title .char { opacity: 1; transform: none; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; }
  .testimonial-card { opacity: 1; transform: none; }
  .contact-item { opacity: 1; transform: none; }
}

/* ========== TOUCH DEVICE IMPROVEMENTS ========== */
@media (hover: none) {
  /* Remove hover-only effects that don't work on touch */
  .float-whatsapp:hover, .float-call:hover {
    width: 50px; border-radius: 50%; padding: 0; gap: 0;
  }
  .float-whatsapp:hover span, .float-call:hover span { display: none; }
  .service-card:hover { transform: none; }
  .project-card:hover { transform: translateY(-6px); }
  .social-link:hover  { transform: translateY(-4px); }
  /* Make project overlay always slightly visible on touch */
  .project-overlay { opacity: 0; }
  .project-card:active .project-overlay { opacity: 1; }
}

/* ========== OVERFLOW FIX ========== */
/* Prevent any element from causing horizontal scroll */
html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
}

/* Clip pulse rings so they don't bleed outside viewport */
.float-hire,
.float-whatsapp,
.float-call {
  clip-path: none;
  isolation: isolate;
}

/* Contain the ::before pulse ring within the button bounds */
.float-hire::before,
.float-whatsapp::before,
.float-call::before {
  clip-path: circle(50%);
}

/* Aurora and orbs must not overflow */
.hero-aurora,
.hero-gradient-orbs,
.hero-bg {
  overflow: hidden;
}

@media (max-width: 768px) {
  /* Fully disable pulse rings on mobile — main overflow culprit */
  .float-hire::before,
  .float-whatsapp::before,
  .float-call::before {
    display: none !important;
  }

  /* Ensure hero background elements don't overflow */
  .aurora-1, .aurora-2, .aurora-3,
  .orb-1, .orb-2, .orb-3, .orb-4 {
    max-width: 100vw;
    overflow: hidden;
  }
}

/* ========== TECH STACK SECTION ========== */
#tech { background: linear-gradient(135deg, rgba(0,212,255,0.03), rgba(124,58,237,0.03)); }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
}

.tech-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 30px 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tech-card i {
  font-size: 40px;
  color: var(--color-primary);
  transition: var(--transition);
}

.tech-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.tech-card:hover {
  border-color: var(--color-primary);
  background: rgba(0,212,255,0.06);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,212,255,0.1);
}

.tech-card:hover i { transform: scale(1.2); color: var(--color-primary); }
.tech-card:hover h4 { color: var(--color-text); }

/* ========== PROCESS SECTION ========== */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
  opacity: 0.3;
}

.process-step {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 30px 0;
  position: relative;
}

.process-step:nth-child(even) {
  flex-direction: row-reverse;
}

.step-number {
  min-width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
  padding: 25px 30px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.step-content:hover {
  border-color: var(--color-primary);
  background: rgba(0,212,255,0.04);
}

.step-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.step-content p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ========== TEAM SECTION ========== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.team-card {
  padding: 40px 30px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  text-align: center;
  transition: var(--transition-smooth);
}

.team-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,212,255,0.1);
}

.team-avatar {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 auto 20px;
}

.team-card h3 { font-size: 20px; margin-bottom: 6px; }

.team-role {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.team-bio {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.team-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.team-socials a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.team-socials a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-dark);
  transform: translateY(-3px);
}

/* ========== CASE STUDIES SECTION ========== */
#casestudies { background: linear-gradient(135deg, rgba(124,58,237,0.04), rgba(0,212,255,0.04)); }

.casestudies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.case-card {
  padding: 40px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  transition: var(--transition-smooth);
}

.case-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,212,255,0.1);
}

.case-icon {
  width: 60px;
  height: 60px;
  background: rgba(0,212,255,0.1);
  border: 2px solid rgba(0,212,255,0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.case-card h3 { font-size: 22px; margin-bottom: 20px; }

.case-stats {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
  padding: 20px;
  background: rgba(0,212,255,0.04);
  border-radius: 12px;
}

.case-stat { text-align: center; }

.stat-num {
  display: block;
  font-size: 28px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.case-stat .stat-label {
  font-size: 12px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.case-card > p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.case-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}

.case-link:hover { gap: 12px; }

/* ========== PRICING SECTION ========== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: start;
}

.pricing-card {
  padding: 40px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  position: relative;
  transition: var(--transition-smooth);
}

.pricing-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,212,255,0.1);
}

.pricing-card.featured {
  border-color: var(--color-primary);
  background: rgba(0,212,255,0.04);
  transform: scale(1.03);
}

.pricing-card.featured:hover { transform: scale(1.03) translateY(-8px); }

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: var(--color-dark);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.price {
  font-size: 48px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  line-height: 1;
}

.price .currency {
  font-size: 24px;
  vertical-align: top;
  margin-top: 8px;
  display: inline-block;
}

.price .plus { font-size: 28px; }

.price-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.pricing-features i {
  color: var(--color-primary);
  font-size: 14px;
  flex-shrink: 0;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
  width: 100%;
  justify-content: center;
}

/* ========== RESPONSIVE — NEW SECTIONS ========== */
@media (max-width: 768px) {
  .process-timeline::before { left: 35px; }
  .process-step,
  .process-step:nth-child(even) { flex-direction: column; align-items: flex-start; padding-left: 80px; }
  .step-number { position: absolute; left: 0; }
  .tech-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .tech-card { padding: 20px 10px; }
  .tech-card i { font-size: 28px; }
  .casestudies-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: scale(1); }
  .pricing-card.featured:hover { transform: translateY(-8px); }
}

@media (max-width: 480px) {
  .tech-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .tech-card { padding: 16px 8px; }
  .tech-card i { font-size: 24px; }
  .tech-card h4 { font-size: 11px; }
  .team-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .case-stats { gap: 15px; }
}

/* ========== ALPHADEVS LOGO BRANDING ========== */
.logo-alpha {
  font-size: 26px;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-right: 4px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  -webkit-text-fill-color: var(--color-text);
}

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

.nav-logo { gap: 2px; }

.footer-logo .logo-text {
  -webkit-text-fill-color: var(--color-text);
}

/* Float CTA button */
.float-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: var(--gradient-primary);
  color: var(--color-dark);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 40px rgba(0,212,255,0.35);
  transition: var(--transition);
}

.float-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 50px rgba(0,212,255,0.5);
}

@media (max-width: 480px) {
  .float-cta span { display: none; }
  .float-cta { padding: 14px; border-radius: 50%; bottom: 20px; right: 16px; }
}

/* ========== SOLO FOUNDER LAYOUT ========== */
.solo-founder {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 50px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  transition: var(--transition-smooth);
}

.solo-founder:hover {
  border-color: var(--color-primary);
  box-shadow: 0 20px 60px rgba(0,212,255,0.08);
}

.solo-avatar {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(0,212,255,0.3);
  box-shadow: 0 0 40px rgba(0,212,255,0.15);
  margin: 0 auto;
  flex-shrink: 0;
}

.solo-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.solo-info h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 6px;
}

.solo-role {
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.solo-bio {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.solo-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.solo-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.solo-highlight i {
  color: var(--color-primary);
  font-size: 15px;
  width: 16px;
}

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

.solo-socials a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 17px;
  transition: var(--transition);
}

.solo-socials a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-dark);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .solo-founder {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px 24px;
    gap: 30px;
  }
  .solo-highlights { grid-template-columns: 1fr 1fr; }
  .solo-highlight { justify-content: center; }
  .solo-socials { justify-content: center; }
}

@media (max-width: 480px) {
  .solo-highlights { grid-template-columns: 1fr; }
  .solo-highlight { justify-content: flex-start; }
}

/* ========== AVAILABILITY BANNER ========== */
#availability-banner {
  background: linear-gradient(90deg, rgba(0,212,255,0.12), rgba(124,58,237,0.12));
  border-bottom: 1px solid rgba(0,212,255,0.2);
  padding: 10px 20px;
  position: relative;
  z-index: 999;
}

.banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  flex-wrap: wrap;
}

.banner-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  flex-shrink: 0;
  animation: badge-ping 2s ease-in-out infinite;
}

.banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--gradient-primary);
  color: var(--color-dark);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.banner-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(0,212,255,0.3); }

.banner-close {
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  font-size: 14px;
  padding: 4px;
  margin-left: auto;
  transition: var(--transition);
}

.banner-close:hover { color: var(--color-text); }

#availability-banner.hidden { display: none; }

/* ========== TOOLS SECTION ========== */
#tools { background: linear-gradient(135deg, rgba(0,212,255,0.03), rgba(124,58,237,0.03)); }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 20px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  cursor: default;
  transition: var(--transition-smooth);
}

.tool-card:hover {
  border-color: var(--color-primary);
  background: rgba(0,212,255,0.05);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,212,255,0.08);
}

.tool-icon { font-size: 36px; transition: var(--transition); }
.tool-card:hover .tool-icon { transform: scale(1.15); }

.tool-card span {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-align: center;
  transition: var(--transition);
}

.tool-card:hover span { color: var(--color-text); }

/* ========== CERTIFICATIONS SECTION ========== */
.certs-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.cert-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  transition: var(--transition-smooth);
}

.cert-card:hover {
  border-color: var(--color-primary);
  background: rgba(0,212,255,0.04);
  transform: translateX(6px);
}

.cert-icon { font-size: 32px; flex-shrink: 0; width: 40px; text-align: center; }

.cert-info { flex: 1; }
.cert-info h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.cert-info span { font-size: 12px; color: var(--color-text-muted); }

.cert-badge {
  padding: 5px 14px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: #10b981;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
}

.cert-badge:hover { background: #10b981; color: #fff; }

/* ========== BLOG SECTION ========== */
#blog { border-top: 1px solid var(--color-border); }

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

.blog-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.blog-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,212,255,0.1);
}

.blog-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  color: rgba(0,212,255,0.3);
  transition: var(--transition-smooth);
}

.blog-thumb.p1 { background: linear-gradient(135deg, rgba(0,212,255,0.1), rgba(124,58,237,0.08)); }
.blog-thumb.p2 { background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(255,0,110,0.08)); }
.blog-thumb.p3 { background: linear-gradient(135deg, rgba(255,0,110,0.1), rgba(0,212,255,0.08)); }

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

.blog-body { padding: 24px; }

.blog-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.3);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.blog-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
  transition: var(--transition);
}

.blog-card:hover .blog-body h3 { color: var(--color-primary); }

.blog-body p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

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

.blog-meta i { margin-right: 4px; }

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.blog-link:hover { gap: 10px; }

/* ========== FAQ SECTION ========== */
#faq { background: linear-gradient(135deg, rgba(124,58,237,0.04), rgba(0,212,255,0.04)); }

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.open { border-color: var(--color-primary); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

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

.faq-icon {
  font-size: 14px;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin: 0;
}

.faq-item.open .faq-answer { max-height: 200px; }

/* ========== RESPONSIVE — NEW SECTIONS ========== */
@media (max-width: 768px) {
  .tools-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .tool-card { padding: 18px 10px; }
  .tool-icon { font-size: 28px; }
  .cert-card { padding: 16px 18px; gap: 14px; }
  .cert-card:hover { transform: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .banner-inner { font-size: 12px; gap: 10px; }
}

@media (max-width: 480px) {
  .tools-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .tool-card { padding: 14px 6px; }
  .tool-icon { font-size: 22px; }
  .tool-card span { font-size: 10px; }
  .cert-icon { font-size: 24px; }
  .cert-info h4 { font-size: 13px; }
  .faq-question { font-size: 14px; padding: 16px 18px; }
  .faq-answer p { padding: 0 18px 16px; }
}

/* ========== BACK TO TOP — LABEL ========== */
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  width: auto;
  height: auto;
  font-size: 13px;
  font-weight: 700;
}
.back-to-top-label { display: none; }
@media (min-width: 769px) {
  .back-to-top-label { display: inline; }
}

/* ========== ACTIVE NAV LINK ========== */
.nav-link.active {
  color: var(--color-primary) !important;
  font-weight: 700;
}
.nav-link.active::after { width: 100% !important; }

/* ========== PROJECT SCREENSHOTS ========== */
.project-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 16px;
  display: block;
  transition: transform 0.5s ease;
}
.project-image:hover .project-screenshot { transform: scale(1.04); }

/* ========== OPEN TO WORK CARD ========== */
.open-to-work {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 24px 36px;
  background: rgba(16,185,129,0.06);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 16px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.otw-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #10b981;
  white-space: nowrap;
}

.otw-dot {
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  animation: badge-ping 2s ease-in-out infinite;
  flex-shrink: 0;
}

.otw-details {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  flex: 1;
}

.otw-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.otw-item > i {
  font-size: 18px;
  color: var(--color-primary);
  width: 20px;
  text-align: center;
}

.otw-item > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.otw-label {
  font-size: 11px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.otw-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}

/* ========== TESTIMONIALS CAROUSEL ========== */
.testimonials-carousel-wrap { position: relative; }

.testimonials-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 8px;
}
.testimonials-grid::-webkit-scrollbar { display: none; }

.testimonial-card {
  scroll-snap-align: start;
  min-width: 300px;
  flex-shrink: 0;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text);
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.carousel-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-dark);
}

.carousel-dots { display: flex; gap: 8px; }

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: var(--transition);
}
.carousel-dot.active {
  background: var(--color-primary);
  width: 20px;
  border-radius: 4px;
}

/* ========== PRICING TOGGLE ========== */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}

.toggle-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: var(--transition);
}
.toggle-label.active-label { color: var(--color-text); }

.toggle-switch {
  width: 52px;
  height: 28px;
  background: var(--color-border);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease;
  padding: 0;
}
.toggle-switch.monthly { background: var(--gradient-primary); }

.toggle-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
  display: block;
}
.toggle-switch.monthly .toggle-thumb { transform: translateX(24px); }

.toggle-save {
  font-size: 11px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  padding: 3px 10px;
  border-radius: 20px;
}

/* ========== SECTION DIVIDERS ========== */
section + section::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.2), rgba(124,58,237,0.2), transparent);
  margin: 0 10%;
}

/* ========== MOBILE BOTTOM NAV ========== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--color-border);
  padding: 8px 0 max(8px, env(safe-area-inset-bottom));
}

.mbn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  flex: 1;
  padding: 4px 0;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mbn-item i { font-size: 18px; transition: var(--transition); }

.mbn-item.active,
.mbn-item:hover { color: var(--color-primary); }

.mbn-item.mbn-cta {
  color: var(--color-primary);
  font-weight: 700;
}

.mbn-item.active i { transform: translateY(-2px); }

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
  }
  /* Add padding so content isn't hidden behind bottom nav */
  body { padding-bottom: 65px; }
  /* Hide floating CTA on mobile since bottom nav has contact */
  .float-cta { display: none; }
}

/* ========== RESPONSIVE — NEW ITEMS ========== */
@media (max-width: 768px) {
  .open-to-work { gap: 20px; padding: 20px; }
  .otw-details { gap: 16px; }
  .otw-status { font-size: 13px; }
}
@media (max-width: 480px) {
  .otw-details { flex-direction: column; gap: 12px; }
  .pricing-toggle { gap: 10px; }
  .toggle-save { display: none; }
}

/* ========== BLOG COMING SOON ========== */
.blog-coming {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border);
  padding: 5px 12px;
  border-radius: 20px;
}

/* ========== LAST ACTIVE ========== */
.last-active {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: -20px;
  margin-bottom: 30px;
}

/* ========== LIGHT MODE — BANNER & BOTTOM NAV ========== */
html[data-theme="light"] #availability-banner {
  background: linear-gradient(90deg, rgba(0,135,190,0.08), rgba(109,40,217,0.08));
  border-bottom-color: rgba(0,135,190,0.2);
}

html[data-theme="light"] .mobile-bottom-nav {
  background: rgba(255,255,255,0.97);
  border-top-color: #e0e0e0;
}

html[data-theme="light"] .mbn-item { color: #666; }
html[data-theme="light"] .mbn-item.active,
html[data-theme="light"] .mbn-item:hover { color: var(--color-primary); }

html[data-theme="light"] .toggle-switch { background: #d0d0d0; }

html[data-theme="light"] .open-to-work {
  background: rgba(16,185,129,0.05);
  border-color: rgba(16,185,129,0.2);
}

html[data-theme="light"] .tool-icon[style*="color:#000000"] { color: #333 !important; }
html[data-theme="light"] .tool-icon[style*="color:#f0f0f0"] { color: #333 !important; }

/* ========== STATS SECTION ENHANCED ========== */
#stats {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.07), rgba(124, 58, 237, 0.07)) !important;
  border-top: 2px solid rgba(0, 212, 255, 0.18) !important;
  border-bottom: 2px solid rgba(124, 58, 237, 0.18) !important;
  box-shadow: inset 0 1px 0 rgba(0,212,255,0.08), inset 0 -1px 0 rgba(124,58,237,0.08);
}

/* ========== TESTIMONIAL CAROUSEL UPDATES ========== */
.testimonials-grid {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}
.testimonial-card { min-width: 360px; }

/* ========== PROJECT BADGE PULSE ========== */
.project-badge--live {
  animation: badge-live-pulse 2.5s ease-in-out infinite;
}
@keyframes badge-live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124,58,237,0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(124,58,237,0); }
}

/* ========== FEATURED PROJECT CARD ========== */
.project-card--featured { grid-column: 1 / -1; }

.project-featured-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: rgba(255,255,255,0.02);
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.project-card--featured:hover .project-featured-inner {
  border-color: var(--color-primary);
  box-shadow: 0 30px 60px rgba(0,212,255,0.15), 0 0 0 1px rgba(0,212,255,0.2);
}

.project-image--featured { height: 100%; min-height: 340px; margin-bottom: 0; border-radius: 0; }
.project-image--featured .project-screenshot { border-radius: 0; height: 100%; object-fit: cover; }
.project-image--featured .project-overlay { border-radius: 0; }

.project-info--featured {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.project-info--featured h3 { font-size: 26px; margin-bottom: 0; }
.project-info--featured p  { font-size: 15px; margin-bottom: 0; }

.project-highlights { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 0; }
.project-highlights li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--color-text-muted); }
.project-highlights i { color: var(--color-primary); font-size: 12px; }

@media (max-width: 768px) {
  .project-featured-inner { grid-template-columns: 1fr; }
  .project-image--featured { min-height: 220px; }
  .project-info--featured { padding: 24px 20px; }
  .project-info--featured h3 { font-size: 20px; }
}

/* ========== PROCESS MOBILE FIX ========== */
@media (max-width: 768px) {
  .process-timeline::before { left: 35px !important; transform: none !important; }
  .process-step,
  .process-step:nth-child(even) { flex-direction: row !important; align-items: flex-start !important; padding-left: 0 !important; gap: 20px !important; }
  .step-number { min-width: 50px !important; height: 50px !important; font-size: 16px !important; flex-shrink: 0 !important; position: static !important; }
  .step-content { padding: 18px 20px !important; }
  .step-content h3 { font-size: 18px !important; }
}

/* ========== RECENT UPDATES TIMELINE ========== */
.updates-timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 32px; }

.updates-timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
  opacity: 0.3;
  border-radius: 2px;
}

.update-item { position: relative; padding-bottom: 32px; }
.update-item:last-child { padding-bottom: 0; }

.update-dot {
  position: absolute;
  left: -28px; top: 6px;
  width: 14px; height: 14px;
  background: var(--gradient-primary);
  border-radius: 50%;
  border: 2px solid var(--color-dark);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.2);
}

.update-card {
  padding: 22px 26px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  transition: var(--transition-smooth);
}

.update-card:hover { border-color: var(--color-primary); background: rgba(0,212,255,0.04); transform: translateX(4px); }

.update-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }

.update-tag {
  padding: 3px 10px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.3);
  border-radius: 20px;
  font-size: 11px; font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase; letter-spacing: 0.5px;
}

.update-date { font-size: 12px; color: var(--color-text-muted); }
.update-date i { margin-right: 4px; }
.update-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.update-card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.7; margin-bottom: 12px; }
.update-link { display: inline-flex; align-items: center; gap: 6px; color: var(--color-primary); font-size: 13px; font-weight: 600; text-decoration: none; transition: var(--transition); }
.update-link:hover { gap: 10px; }

@media (max-width: 480px) {
  .updates-timeline { padding-left: 24px; }
  .update-dot { left: -20px; }
  .update-card { padding: 16px 18px; }
  .update-card:hover { transform: none; }
}

/* ========== FOOTER CTA BLOCK ========== */
.footer-cta-block { margin-top: 20px; padding: 20px 24px; background: rgba(0,212,255,0.05); border: 1px solid rgba(0,212,255,0.15); border-radius: 14px; }
.footer-cta-text { font-size: 15px; font-weight: 600; color: var(--color-text) !important; margin-bottom: 12px !important; }
.footer-cta-btn { font-size: 13px !important; padding: 10px 20px !important; }

/* ========== MOBILE BOTTOM NAV PILL ========== */
.mobile-bottom-nav { position: relative; }

.mbn-pill {
  position: absolute;
  bottom: max(8px, env(safe-area-inset-bottom));
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: left 0.3s cubic-bezier(0.4,0,0.2,1), width 0.3s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}

/* ========== PRICING CURRENCY TOGGLE ========== */
.pricing-currency-toggle {
  display: flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border);
  border-radius: 20px; padding: 3px; margin-left: 8px;
}

.currency-btn {
  background: none; border: none;
  color: var(--color-text-muted);
  font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 16px;
  cursor: pointer; transition: var(--transition); font-family: inherit;
}

.currency-btn.active { background: var(--gradient-primary); color: var(--color-dark); }

@media (max-width: 480px) { .pricing-currency-toggle { margin-left: 0; } }

/* ========== PROJECTS GRID FEATURED FIX ========== */
.projects-grid {
  grid-template-columns: repeat(2, 1fr);
}

/* Badge inside featured card sits over the image */
.project-card--featured { position: relative; overflow: visible; }
.project-card--featured .project-badge--live {
  position: absolute;
  top: 20px;
  left: 20px;
  right: auto;
  z-index: 20;
}

/* Ensure featured inner fills the card */
.project-card--featured .project-featured-inner {
  width: 100%;
}

/* On mobile, revert to single column */
@media (max-width: 768px) {
  .projects-grid { grid-template-columns: 1fr; }
  .project-card--featured .project-badge--live { top: 14px; left: 14px; }
}

/* ========== FEATURED CARD SIZE FIX ========== */
.project-card--featured .project-featured-inner {
  grid-template-columns: 1fr 1fr;
  min-height: 0;
}

.project-image--featured {
  height: 280px !important;
  min-height: 0 !important;
}

.project-image--featured .project-screenshot {
  height: 280px !important;
  object-fit: cover;
  object-position: top;
}

.project-info--featured {
  padding: 28px 28px !important;
  gap: 12px !important;
}

.project-info--featured h3 { font-size: 22px !important; }
.project-info--featured p  { font-size: 13px !important; }

@media (max-width: 768px) {
  .project-image--featured,
  .project-image--featured .project-screenshot {
    height: 200px !important;
  }
  .project-info--featured { padding: 20px !important; }
}

/* ========== FEATURED CARD FINAL FIX ========== */
/* Badge is a direct child of project-featured-inner — position it over the image */
.project-featured-inner {
  position: relative;
}

.project-featured-inner > .project-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  right: auto;
  z-index: 20;
}

/* Compact image height */
.project-image--featured,
.project-image--featured .project-screenshot {
  height: 260px !important;
  min-height: 0 !important;
}

/* Compact info panel */
.project-info--featured {
  padding: 24px 24px !important;
  gap: 10px !important;
  overflow-y: auto;
}

.project-info--featured h3 { font-size: 20px !important; }
.project-info--featured p  { font-size: 13px !important; line-height: 1.6 !important; }
.project-highlights li { font-size: 12px !important; }

@media (max-width: 768px) {
  .project-featured-inner > .project-badge { top: 12px; left: 12px; }
  .project-image--featured,
  .project-image--featured .project-screenshot { height: 200px !important; }
}

/* ========== TECH STACK TABS ========== */
.tech-stack-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.tech-tab {
  padding: 8px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border);
  border-radius: 30px;
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.tech-tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.tech-tab.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--color-dark);
}

.tech-panel {
  display: none;
}

.tech-panel.active {
  display: block;
  animation: fadeInUp 0.4s ease;
}

html[data-theme="light"] .tech-tab { background: rgba(0,0,0,0.04); }
html[data-theme="light"] .tech-tab.active { color: #fff; }

/* ========== FLOATING WHATSAPP BUTTON ========== */
.float-wa {
  position: fixed;
  bottom: 30px;
  left: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(37,211,102,0.45);
  overflow: hidden;
  transition: gap 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  padding: 0 16px;
  animation: wa-bounce 2.5s ease-in-out infinite;
}

.float-wa i {
  font-size: 28px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.float-wa span {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
  font-family: inherit;
}

.float-wa:hover {
  gap: 10px;
  padding: 0 20px;
  box-shadow: 0 12px 40px rgba(37,211,102,0.6);
  transform: translateY(-3px);
  animation: none;
}

.float-wa:hover span {
  max-width: 160px;
  opacity: 1;
}

.float-wa:hover i {
  transform: rotate(-10deg) scale(1.1);
}

@keyframes wa-bounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-6px) scale(1.04); }
}

/* Pulse ring */
.float-wa::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: rgba(37,211,102,0.4);
  animation: wa-ping 2.5s ease-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes wa-ping {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

@media (max-width: 768px) {
  .float-wa {
    bottom: 80px; /* above mobile bottom nav */
    left: 16px;
    height: 50px;
    padding: 0 14px;
    animation: none;
  }
  .float-wa::before { display: none; }
  .float-wa i { font-size: 24px; }
}

/* ========== FEATURED CARD SIMPLE HIGHLIGHT ========== */
.project-card--featured {
  border: 2px solid rgba(0,212,255,0.3) !important;
  background: rgba(0,212,255,0.03) !important;
  transform: scale(1.02);
  box-shadow: 0 20px 50px rgba(0,212,255,0.12);
}

.project-card--featured:hover {
  border-color: var(--color-primary) !important;
  transform: scale(1.02) translateY(-8px) !important;
  box-shadow: 0 30px 60px rgba(0,212,255,0.2) !important;
}

.project-card--featured .project-image {
  height: 300px;
}

.project-card--featured h3 {
  font-size: 24px;
}

@media (max-width: 768px) {
  .project-card--featured {
    transform: scale(1);
  }
  .project-card--featured:hover {
    transform: translateY(-8px) !important;
  }
  .project-card--featured .project-image {
    height: 240px;
  }
}

/* ========== PROJECTS SHOWCASE (favicon + ring) ========== */
.projects-showcase {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto 50px;
}

.project-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  text-decoration: none;
  color: var(--color-text);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.project-item:hover {
  border-color: var(--color-primary);
  background: rgba(0,212,255,0.04);
  transform: translateX(6px);
  box-shadow: 0 8px 40px rgba(0,212,255,0.1);
}

/* Favicon wrap with spinning rings */
.project-favicon-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.project-ring.ring-1 {
  width: 64px;
  height: 64px;
  border: 1.5px solid rgba(0,212,255,0.4);
  animation: spin-ring 8s linear infinite;
}

.project-ring.ring-2 {
  width: 80px;
  height: 80px;
  border: 1.5px dashed rgba(124,58,237,0.35);
  animation: spin-ring 14s linear infinite reverse;
}

@keyframes spin-ring {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.project-item:hover .project-ring.ring-1 {
  border-color: rgba(0,212,255,0.8);
  animation-duration: 3s;
}
.project-item:hover .project-ring.ring-2 {
  border-color: rgba(124,58,237,0.7);
  animation-duration: 6s;
}

.project-favicon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.3s ease;
}

.project-item:hover .project-favicon { transform: scale(1.1); }

.project-favicon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.project-favicon--icon i {
  font-size: 22px;
  color: var(--color-primary);
}

/* Project meta */
.project-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.project-meta h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  transition: color 0.3s ease;
}

.project-item:hover .project-meta h3 { color: var(--color-primary); }

.project-url {
  font-size: 12px;
  color: var(--color-text-muted);
  font-family: monospace;
}

.project-live-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  animation: badge-ping 2s ease-in-out infinite;
  margin-bottom: 2px;
}

.project-live-dot.dot-wip {
  background: #f59e0b;
  animation: none;
}

.project-tech-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.project-tech-pills span {
  padding: 2px 10px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 20px;
  font-size: 11px;
  color: var(--color-primary);
  font-weight: 600;
}

.project-arrow {
  font-size: 14px;
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: color 0.3s ease, transform 0.3s ease;
}

.project-item:hover .project-arrow {
  color: var(--color-primary);
  transform: translate(3px, -3px);
}

/* Responsive */
@media (max-width: 480px) {
  .project-item { padding: 16px 18px; gap: 16px; }
  .project-favicon-wrap { width: 52px; height: 52px; }
  .project-ring.ring-1 { width: 52px; height: 52px; }
  .project-ring.ring-2 { width: 66px; height: 66px; }
  .project-favicon { width: 38px; height: 38px; }
  .project-meta h3 { font-size: 14px; }
  .project-item:hover { transform: none; }
}

/* ========== ORBITAL PROJECT SYSTEM ========== */
.orbital-wrap {
  position: relative;
  width: 420px;
  height: 420px;
  margin: 0 auto 60px;
}

/* Static decorative rings */
.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.orbit-1 {
  width: 360px; height: 360px;
  border: 1.5px solid rgba(0,212,255,0.25);
  animation: orbit-pulse 4s ease-in-out infinite;
}
.orbit-2 {
  width: 300px; height: 300px;
  border: 1px dashed rgba(124,58,237,0.2);
  animation: orbit-pulse 4s ease-in-out infinite 1s;
}
.orbit-3 {
  width: 240px; height: 240px;
  border: 1px solid rgba(255,0,110,0.15);
  animation: orbit-pulse 4s ease-in-out infinite 2s;
}
@keyframes orbit-pulse {
  0%,100% { opacity: 0.5; }
  50%      { opacity: 1; }
}

/* Center logo */
.orbital-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 110px; height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.12), rgba(124,58,237,0.08));
  border: 2px solid rgba(0,212,255,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  z-index: 10;
  box-shadow: 0 0 30px rgba(0,212,255,0.2), inset 0 0 20px rgba(0,212,255,0.05);
}
.orbital-center .logo-alpha {
  font-size: 32px;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.orbital-center-label {
  font-size: 9px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Orbiting nodes */
.orbit-node {
  position: absolute;
  top: 50%; left: 50%;
  width: 56px; height: 56px;
  margin: -28px 0 0 -28px;
  text-decoration: none;
  z-index: 20;
  /* Each node orbits: translate to radius, then rotate around center */
  animation: orbit-spin var(--duration, 18s) linear infinite;
  transform-origin: 0 0;
}

@keyframes orbit-spin {
  from { transform: rotate(var(--angle, 0deg)) translateX(var(--orbit-r, 180px)) rotate(calc(-1 * var(--angle, 0deg))); }
  to   { transform: rotate(calc(var(--angle, 0deg) + 360deg)) translateX(var(--orbit-r, 180px)) rotate(calc(-1 * (var(--angle, 0deg) + 360deg))); }
}

.orbit-node-inner {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(10,10,10,0.9);
  border: 2px solid var(--color, #00d4ff);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px color-mix(in srgb, var(--color, #00d4ff) 40%, transparent),
              inset 0 0 10px color-mix(in srgb, var(--color, #00d4ff) 10%, transparent);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.orbit-node-inner img {
  width: 30px; height: 30px;
  object-fit: contain;
  border-radius: 6px;
}

.orbit-node-icon i {
  font-size: 20px;
  color: var(--color, #00d4ff);
}

/* Tooltip */
.orbit-node-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10,10,10,0.95);
  border: 1px solid var(--color, #00d4ff);
  border-radius: 10px;
  padding: 8px 14px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 100;
  text-align: center;
}
.orbit-node-tooltip strong {
  display: block;
  font-size: 12px;
  color: var(--color-text);
  font-weight: 700;
}
.orbit-node-tooltip span {
  font-size: 10px;
  color: var(--color, #00d4ff);
  font-family: monospace;
}

.orbit-node:hover .orbit-node-tooltip { opacity: 1; }
.orbit-node:hover .orbit-node-inner {
  transform: scale(1.2);
  box-shadow: 0 0 28px color-mix(in srgb, var(--color, #00d4ff) 70%, transparent);
}

/* Pause orbit on hover of the whole wrap */
.orbital-wrap:hover .orbit-node { animation-play-state: paused; }

/* Responsive */
@media (max-width: 768px) {
  .orbital-wrap { width: 320px; height: 320px; }
  .orbit-1 { width: 280px; height: 280px; }
  .orbit-2 { width: 230px; height: 230px; }
  .orbit-3 { width: 180px; height: 180px; }
  .orbit-node { --orbit-r: 135px !important; }
}
@media (max-width: 480px) {
  .orbital-wrap { width: 280px; height: 280px; }
  .orbit-1 { width: 240px; height: 240px; }
  .orbit-2 { width: 195px; height: 195px; }
  .orbit-3 { width: 150px; height: 150px; }
  .orbit-node { --orbit-r: 115px !important; width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  .orbit-node-inner { width: 46px; height: 46px; }
  .orbital-center { width: 80px; height: 80px; }
  .orbital-center .logo-alpha { font-size: 26px; }
}

/* ========== ORBITAL RADIUS RESPONSIVE FIX ========== */
/* Override fixed --orbit-r per breakpoint so nodes never clip */
@media (max-width: 768px) {
  .orbit-node {
    --orbit-r: 130px !important;
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;
  }
  .orbit-node-inner { width: 50px; height: 50px; }
  .orbit-node-inner img { width: 26px; height: 26px; }
}

@media (max-width: 480px) {
  .orbital-wrap { width: 260px; height: 260px; }
  .orbit-1 { width: 220px; height: 220px; }
  .orbit-2 { width: 178px; height: 178px; }
  .orbit-3 { width: 136px; height: 136px; }
  .orbit-node {
    --orbit-r: 105px !important;
    width: 42px;
    height: 42px;
    margin: -21px 0 0 -21px;
  }
  .orbit-node-inner { width: 42px; height: 42px; }
  .orbit-node-inner img { width: 22px; height: 22px; }
  .orbital-center { width: 72px; height: 72px; }
  .orbital-center .logo-alpha { font-size: 22px; }
  .orbital-center-label { font-size: 7px; }
  /* Hide tooltip on mobile — too small to show */
  .orbit-node-tooltip { display: none; }
}

@media (max-width: 360px) {
  .orbital-wrap { width: 230px; height: 230px; }
  .orbit-1 { width: 196px; height: 196px; }
  .orbit-2 { width: 158px; height: 158px; }
  .orbit-3 { width: 120px; height: 120px; }
  .orbit-node { --orbit-r: 92px !important; }
}

/* ========== FLOATING WHATSAPP BUTTON ========== */



















































/* ========== CURRENCY SWITCH ========== */
.currency-switch {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 3px;
}

.currency-btn {
  padding: 6px 14px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.currency-btn.active {
  background: var(--gradient-primary);
  color: var(--color-dark);
}

/* ========== PRICING TOGGLE ROW ========== */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

/* ========== FLOATING WHATSAPP — FIXED ========== */


















































/* ========== MOBILE BOTTOM NAV — ALWAYS VISIBLE ========== */
.mobile-bottom-nav {
  display: flex !important;
}

/* Add bottom padding to body always so content isn't hidden behind nav */
body {
  padding-bottom: calc(65px + env(safe-area-inset-bottom)) !important;
}

/* Hide float-cta on all screens since bottom nav is always shown */
.float-cta { display: none !important; }

/* ========== STATS MOBILE SIZE FIX ========== */
@media (max-width: 768px) {
  .stat-number { font-size: 28px !important; }
  .stat-plus   { font-size: 20px !important; }
  .stat-icon   { font-size: 28px !important; margin-bottom: 8px !important; }
  .stat-label  { font-size: 11px !important; }
  .stat-card   { padding: 20px 10px !important; }
}

@media (max-width: 480px) {
  .stat-number { font-size: 22px !important; }
  .stat-plus   { font-size: 16px !important; }
  .stat-icon   { font-size: 22px !important; }
  .stat-label  { font-size: 10px !important; }
  .stat-card   { padding: 16px 8px !important; }
}

/* ========== HIDE REMOVED SECTIONS ========== */
#tools, #pricing { display: none !important; }

/* ========== ALPHADEVS LOGO IMAGE ========== */
.nav-logo-img { height: 46px; width: 46px; object-fit: cover; border-radius: 50%; display: block; transition: var(--transition); filter: drop-shadow(0 0 8px rgba(0,212,255,0.3)); }
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: var(--transition);
  filter: drop-shadow(0 0 8px rgba(0,212,255,0.3));
}
.nav-logo-img:hover { filter: drop-shadow(0 0 14px rgba(0,212,255,0.6)); transform: scale(1.05); }
  filter: drop-shadow(0 0 14px rgba(0,212,255,0.6));
  transform: scale(1.05);
}

.loader-logo-img { height: 100px; width: 100px; object-fit: cover; border-radius: 50%; margin-bottom: 20px; animation: pulse 1.5s ease-in-out infinite; filter: drop-shadow(0 0 20px rgba(0,212,255,0.4)); }
  height: 80px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
  animation: pulse 1.5s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(0,212,255,0.4));
}

.orbital-logo-img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; filter: drop-shadow(0 0 10px rgba(0,212,255,0.4)); display: block; }
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 0 10px rgba(0,212,255,0.4));
}

.footer-logo-img { height: 50px; width: 50px; object-fit: cover; border-radius: 50%; display: block; transition: var(--transition); filter: drop-shadow(0 0 8px rgba(0,212,255,0.2)); }
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: var(--transition);
  filter: drop-shadow(0 0 8px rgba(0,212,255,0.2));
}
.footer-logo:hover .footer-logo-img {
  filter: drop-shadow(0 0 16px rgba(0,212,255,0.5));
  transform: scale(1.05);
}

/* Adjust orbital center size for logo */
.orbital-center { width: 110px; height: 110px; overflow: hidden; }
  width: 90px;
  height: 90px;
}

@media (max-width: 480px) {
  .nav-logo-img { height: 38px; width: 38px; }
  .orbital-logo-img { width: 64px; height: 64px; }
  .orbital-logo-img { width: 100%; height: 100%; }
  .orbital-center { width: 80px; height: 80px; }
}

/* ========== LOGO + TITLE ========== */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.5px;
  transition: var(--transition);
}

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

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

.footer-logo-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.5px;
}

@media (max-width: 480px) {
  .nav-logo-title { font-size: 18px; }
  .footer-logo-title { font-size: 18px; }
}

/* ========== PROJECTS BG TEXT ========== */
#projects {
  position: relative;
  overflow: hidden;
}

.projects-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(100px, 20vw, 220px);
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -4px;
  line-height: 1;
  z-index: 0;
  font-family: 'Inter', sans-serif;
}

#projects .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .projects-bg-text { font-size: clamp(70px, 22vw, 130px); }
}

/* ========== PROJECTS HEADER OVER BG TEXT ========== */
.projects-header {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 60px 0 20px;
}

.projects-header .section-tag {
  display: inline-block;
  margin-bottom: 12px;
}

.projects-header .section-sub {
  font-size: 18px;
  color: var(--color-text-muted);
  margin-top: 8px;
}

/* Move bg text to top so it aligns behind the header */
.projects-bg-text {
  top: 10%;
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .projects-header { padding: 40px 0 10px; }
  .projects-header .section-sub { font-size: 15px; }
}

/* ========== PROJECTS TITLE WRAP ========== */
.projects-title-wrap {
  position: relative;
  text-align: center;
  margin-bottom: 60px;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* bg text sits behind, fills the wrap */
.projects-title-wrap .projects-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(100px, 20vw, 220px);
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -4px;
  line-height: 1;
  z-index: 0;
  font-family: 'Inter', sans-serif;
}

/* header text sits on top */
.projects-title-wrap .projects-header {
  position: relative;
  z-index: 1;
  padding: 0;
}

/* orbital comes after the wrap, not overlapping */
.projects-title-wrap ~ .orbital-wrap {
  margin-top: 0;
}

@media (max-width: 768px) {
  .projects-title-wrap { min-height: 120px; margin-bottom: 40px; }
}

/* ========== ORBITAL CENTER LOGO FIX ========== */
.orbital-center {
  overflow: hidden;
  padding: 0;
}

.orbital-logo-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  filter: drop-shadow(0 0 12px rgba(0,212,255,0.5));
}

/* ========== SECTION BG TEXT (services, founder, feedbacks) ========== */
.section-bg-wrap {
  position: relative;
  text-align: center;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
  overflow: hidden;
}

.section-bg-text {
  font-size: clamp(80px, 18vw, 200px);
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -4px;
  line-height: 1;
  font-family: 'Inter', sans-serif;
}

#services, #team, #testimonials {
  position: relative;
}

@media (max-width: 768px) {
  .section-bg-wrap { min-height: 100px; margin-bottom: 30px; }
  .section-bg-text { font-size: clamp(60px, 18vw, 120px); }
}

/* ========== SERVICES GRID — 2 COLUMN LAYOUT ========== */
.services-grid {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 24px !important;
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ========== REMOVE SPLASH SCREEN ========== */
#loader { display: none !important; }
