/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  --bg-base:    #020818;
  --bg-mid:     #0d1f3c;
  --bg-alt:     #051a1a;
  --teal:       #00c8b4;
  --teal-hover: #00e5cf;
  --blue:       #3b82f6;
  --purple:     #8b5cf6;
  --cyan:       #06b6d4;
  --text-1:     #e2e8f0;
  --text-2:     #94a3b8;
  --glass-bg:   rgba(255,255,255,0.05);
  --glass-border: rgba(255,255,255,0.10);
  --radius:     12px;
  --radius-lg:  20px;
  --transition: 0.3s ease;
  --max-width:  1200px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-base);
  color: var(--text-1);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-1);
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--transition);
}
input::placeholder, textarea::placeholder { color: var(--text-2); }
input:focus, select:focus, textarea:focus { border-color: var(--teal); }
select option { background: var(--bg-mid); color: var(--text-1); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
  color: var(--text-1);
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.5rem; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { color: var(--text-2); line-height: 1.7; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 100px 0; position: relative; }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  font-weight: 600;
}
.section-sub { color: var(--text-2); font-size: 1.05rem; margin-top: 12px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--teal);
  color: #020818;
}
.btn-primary:hover { background: var(--teal-hover); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,200,180,0.35); }
.btn-ghost {
  background: transparent;
  color: var(--text-1);
  border: 1.5px solid var(--glass-border);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.btn-full { width: 100%; justify-content: center; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* ============================================================
   GLASSMORPHISM CARD
   ============================================================ */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

/* ============================================================
   ANIMATED BACKGROUND ORBS
   ============================================================ */
.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: orbFloat 20s ease-in-out infinite;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--teal), transparent 70%);
  top: -200px; left: -200px;
  animation-duration: 25s;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--purple), transparent 70%);
  bottom: 10%; right: -100px;
  animation-duration: 30s;
  animation-delay: -10s;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--blue), transparent 70%);
  top: 40%; left: 40%;
  animation-duration: 20s;
  animation-delay: -5s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(40px, -60px) scale(1.05); }
  66%       { transform: translate(-30px, 40px) scale(0.95); }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children inside animated containers */
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* Make sure all section content is above the orbs */
section > * { position: relative; z-index: 1; }
nav, footer { position: relative; z-index: 10; }

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
  /* Always-on subtle background so logo/links are readable over video */
  background: rgba(2, 8, 24, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
#navbar.scrolled {
  background: rgba(2, 8, 24, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 0;
}
.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.nav-logo:hover { color: var(--teal); }
.nav-logo-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  transition: filter var(--transition), opacity var(--transition);
  filter: brightness(1);
}
.nav-logo:hover .nav-logo-icon {
  filter: drop-shadow(0 0 8px rgba(0, 200, 180, 0.7)) brightness(1.15);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  color: var(--text-2);
  transition: color var(--transition);
  font-weight: 500;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-cta {
  background: transparent !important;
  border: 1.5px solid var(--teal) !important;
  color: var(--teal) !important;
  padding: 8px 20px;
  border-radius: 6px;
}
.nav-cta:hover {
  background: var(--teal) !important;
  color: #020818 !important;
}
/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(2, 8, 24, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    flex-direction: column;
    padding: 20px 24px;
    gap: 20px;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; }
  .nav-cta { width: 100%; text-align: center; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(2,8,24,0.35) 0%,
    rgba(2,8,24,0.15) 50%,
    rgba(2,8,24,0.70) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}
.hero-label {
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-headline {
  margin-bottom: 24px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-headline .word {
  opacity: 0;
  transform: translateY(20px);
  animation: wordFadeIn 0.6s ease forwards;
}
.hero-headline .word:nth-child(1) { animation-delay: 0.2s; }
.hero-headline .word:nth-child(2) { animation-delay: 0.4s; }
.hero-headline .word:nth-child(3) { animation-delay: 0.6s; }
.hero-headline .word.accent { color: var(--teal); }
@keyframes wordFadeIn {
  to { opacity: 1; transform: translateY(0); }
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(226,232,240,0.8);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-chevron {
  display: block;
  width: 24px; height: 24px;
  border-right: 2px solid rgba(255,255,255,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
  animation: scrollBounce 1.5s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
  50%       { transform: rotate(45deg) translateY(8px); opacity: 0.4; }
}

/* ============================================================
   AI SKILLS
   ============================================================ */
.section-ai-skills {
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-mid) 100%);
}
.badge-group {
  margin-bottom: 40px;
}
.badge-category-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 16px;
  font-weight: 600;
}
.badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.skill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-1);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  cursor: default;
  transition: all var(--transition);
}
.skill-badge[data-color="teal"] { border-color: rgba(0,200,180,0.3); }
.skill-badge[data-color="blue"]  { border-color: rgba(59,130,246,0.3); }
.skill-badge[data-color="purple"]{ border-color: rgba(139,92,246,0.3); }
.skill-badge[data-color="cyan"]  { border-color: rgba(6,182,212,0.3); }

.skill-badge[data-color="teal"]:hover  { border-color: var(--teal);   box-shadow: 0 0 20px rgba(0,200,180,0.3);   color: var(--teal); }
.skill-badge[data-color="blue"]:hover  { border-color: var(--blue);   box-shadow: 0 0 20px rgba(59,130,246,0.3);  color: var(--blue); }
.skill-badge[data-color="purple"]:hover{ border-color: var(--purple); box-shadow: 0 0 20px rgba(139,92,246,0.3);  color: var(--purple); }
.skill-badge[data-color="cyan"]:hover  { border-color: var(--cyan);   box-shadow: 0 0 20px rgba(6,182,212,0.3);   color: var(--cyan); }

.badge-icon { font-size: 0.75rem; opacity: 0.6; }

/* ============================================================
   SERVICES
   ============================================================ */
.section-services {
  background: var(--bg-alt);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  border-color: rgba(0,200,180,0.2);
}
.service-icon {
  width: 48px; height: 48px;
  color: var(--teal);
  margin-bottom: 20px;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { color: var(--text-1); margin-bottom: 12px; }
.service-card p { font-size: 0.95rem; margin-bottom: 20px; }
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tech-tags span {
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(0,200,180,0.08);
  border: 1px solid rgba(0,200,180,0.2);
  color: var(--teal);
  font-weight: 500;
}

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

/* ============================================================
   PORTFOLIO
   ============================================================ */
.section-work {
  background: var(--bg-base);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.portfolio-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2,8,24,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-info {
  padding: 20px;
}
.portfolio-info h4 { color: var(--text-1); margin-bottom: 6px; }
.portfolio-desc {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 12px;
}
.portfolio-icon-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity var(--transition);
  pointer-events: none;
}
.portfolio-card:hover .portfolio-icon-wrap { opacity: 0; }
.portfolio-tags span.tag-lead {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.3);
  color: #f59e0b;
}
.portfolio-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.portfolio-tags span {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  color: var(--blue);
}

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

/* ============================================================
   ABOUT
   ============================================================ */
.section-about {
  background: var(--bg-mid);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-photo {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  display: block;
  box-shadow: 0 0 60px rgba(0,200,180,0.15), 0 20px 60px rgba(0,0,0,0.4);
  border: 1px solid rgba(0,200,180,0.2);
}
.about-photo-placeholder {
  width: 100%;
  aspect-ratio: 1;
  max-width: 420px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 2px solid rgba(0,200,180,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(0,200,180,0.1);
}
.about-photo-placeholder svg {
  width: 40%;
  height: 40%;
  color: rgba(0,200,180,0.3);
}
.about-content .section-label { margin-bottom: 8px; }
.about-content h2 { margin-bottom: 20px; }
.about-content p { margin-bottom: 16px; font-size: 1rem; }

.stat-counters {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}
.stat-suffix {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-2);
  margin-top: 4px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo-placeholder { max-width: 280px; }
  .stat-counters { gap: 24px; }
}

/* ============================================================
   PROCESS
   ============================================================ */
.section-process {
  background: var(--bg-alt);
}
.process-timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 60px;
}
.process-line {
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  z-index: 0;
}
.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}
.process-number {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 12px;
}
.process-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  background: rgba(0,200,180,0.1);
  border: 1px solid rgba(0,200,180,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}
.process-icon svg { width: 24px; height: 24px; }
.process-step h4 { color: var(--text-1); margin-bottom: 8px; font-size: 1rem; }
.process-step p { font-size: 0.85rem; color: var(--text-2); }

@media (max-width: 768px) {
  .process-timeline { flex-direction: column; padding-top: 0; gap: 32px; }
  .process-line { display: none; }
  .process-step { display: flex; gap: 20px; text-align: left; align-items: flex-start; }
  .process-icon { flex-shrink: 0; margin: 0; }
}

/* ============================================================
   PACKAGES
   ============================================================ */
.section-packages {
  background: var(--bg-mid);
}
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.package-card {
  padding: 36px 28px;
  position: relative;
  transition: transform var(--transition);
}
.package-card:hover { transform: translateY(-4px); }
.package-featured {
  border-color: rgba(0,200,180,0.4);
  box-shadow: 0 0 40px rgba(0,200,180,0.12);
  transform: scale(1.02);
}
.package-featured:hover { transform: scale(1.02) translateY(-4px); }
.package-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: #020818;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.package-header { margin-bottom: 28px; text-align: center; }
.package-header h3 { font-size: 1.4rem; margin-bottom: 12px; }
.package-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}
.price-from { font-size: 0.85rem; color: var(--text-2); }
.price-amount { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 700; color: var(--text-1); }
.package-best { font-size: 0.85rem; color: var(--text-2); }
.package-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.package-features li {
  font-size: 0.9rem;
  color: var(--text-2);
  padding-left: 20px;
  position: relative;
}
.package-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .packages-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .package-featured { transform: none; }
  .package-featured:hover { transform: translateY(-4px); }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.section-testimonials {
  background: var(--bg-base);
}
.testimonial-carousel {
  position: relative;
  overflow: hidden;
}
.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card {
  min-width: 100%;
  padding: 48px;
  text-align: center;
}
.testimonial-quote-icon {
  font-size: 4rem;
  color: var(--teal);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 16px;
}
.testimonial-text {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-1);
  max-width: 720px;
  margin: 0 auto 24px;
  line-height: 1.8;
  font-style: italic;
}
.testimonial-stars {
  color: #fbbf24;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.testimonial-author strong { color: var(--text-1); font-size: 1rem; }
.testimonial-author span  { color: var(--teal); font-size: 0.85rem; }
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}
.testimonial-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-1);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.testimonial-btn:hover { border-color: var(--teal); color: var(--teal); }
.testimonial-dots { display: flex; gap: 8px; }
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--glass-border);
  cursor: pointer;
  transition: all var(--transition);
}
.dot.active { background: var(--teal); transform: scale(1.3); }

@media (max-width: 768px) {
  .testimonial-card { padding: 32px 20px; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.section-contact {
  background: var(--bg-alt);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}
.contact-trust {
  font-size: 0.8rem;
  color: var(--text-2);
  letter-spacing: 0.5px;
  margin-bottom: 32px;
  line-height: 2;
}
.contact-trust span { color: var(--teal); font-weight: 600; }
.contact-details { margin-bottom: 28px; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-2);
  font-size: 0.95rem;
  transition: color var(--transition);
  margin-bottom: 12px;
}
.contact-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.contact-link:hover { color: var(--teal); }
.contact-location {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-2);
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.contact-location svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--teal); }
.contact-social {
  display: flex;
  gap: 12px;
}
.social-link {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: all var(--transition);
}
.social-link svg { width: 18px; height: 18px; }
.social-link:hover { border-color: var(--teal); color: var(--teal); }

.contact-form-wrap { padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 8px;
}
input.error, select.error, textarea.error { border-color: #ef4444; }
.form-status {
  margin-top: 16px;
  font-size: 0.9rem;
  min-height: 24px;
  text-align: center;
}
.form-status.success { color: var(--teal); }
.form-status.error   { color: #ef4444; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #010612;
  padding: 60px 0 32px;
  border-top: 1px solid var(--glass-border);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-1);
  display: block;
  margin-bottom: 8px;
}
.footer-logo:hover { color: var(--teal); }
.footer-tagline { font-size: 0.85rem; color: var(--teal); }
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 0.9rem;
  color: var(--text-2);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p { font-size: 0.85rem; color: var(--text-2); }

/* ============================================================
   GLOBAL RESPONSIVE — catch-all mobile fixes
   ============================================================ */
@media (max-width: 768px) {
  section { padding: 70px 0; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.8rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 280px; justify-content: center; }
  .section-header { margin-bottom: 40px; }
  .badge-grid { gap: 8px; }
  .skill-badge { font-size: 0.82rem; padding: 8px 14px; }
  .stat-counters { gap: 20px; }
  .stat-number { font-size: 2rem; }
  .footer-grid { flex-direction: column; gap: 24px; }
  .footer-nav { gap: 16px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-headline { flex-direction: column; gap: 4px; }
  .testimonial-card { padding: 24px 16px; }
  .packages-grid { max-width: 100%; }
}

/* Reduce orb opacity on mobile for performance */
@media (max-width: 768px) {
  .orb { opacity: 0.15; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .animate-on-scroll { opacity: 1; transform: none; }
}

/* ============================================================
   BACKDROP-FILTER FALLBACK
   ============================================================ */
@supports not (backdrop-filter: blur(1px)) {
  .glass { background: rgba(10, 20, 40, 0.92); }
  #navbar.scrolled { background: rgba(2, 8, 24, 0.97); }
}
