/* ============================================================
   ROOT & VARIABLES
============================================================ */
:root {
  --bg-primary: #050508;
  --bg-secondary: #0a0a10;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(99, 102, 241, 0.4);

  --accent-blue: #6366f1;
  --accent-purple: #8b5cf6;
  --accent-cyan: #06b6d4;
  --accent-pink: #ec4899;

  --gradient-main: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
  --gradient-text: linear-gradient(135deg, #6366f1, #8b5cf6, #06b6d4);
  --gradient-glow: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15) 0%, transparent 70%);

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --font-main: 'Inter', 'Poppins', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.2);

  --transition: 0.3s ease;

  --nav-height: 72px;
}

/* ============================================================
   RESET & BASE
============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: none;
  border: none;
  background: none;
  font-family: var(--font-main);
}

input,
textarea,
select {
  font-family: var(--font-main);
  cursor: none;
}

/* ============================================================
   CUSTOM CURSOR — Premium Minimal
============================================================ */

*,
*::before,
*::after {
  cursor: none !important;
}

/* ── Main circle ring ── */
#cursorRing {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  will-change: left, top;
  transition:
    width 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    height 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    border-color 0.25s ease,
    background 0.25s ease;
}

/* ── Tiny sharp centre dot ── */
#cursorDot {
  position: fixed;
  top: 0;
  left: 0;
  width: 5px;
  height: 5px;
  background: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  will-change: left, top;
  transition: transform 0.1s ease, background 0.2s ease, opacity 0.2s ease;
}

/* ── Hover: ring grows, fills slightly, dot hides ── */
#cursorRing.is-hover {
  width: 52px;
  height: 52px;
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.08);
}

#cursorDot.is-hover {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
}

/* ── Click: ring shrinks + fills ── */
#cursorRing.is-click {
  width: 28px;
  height: 28px;
  background: rgba(99, 102, 241, 0.25);
  border-color: #6366f1;
  transition: width 0.1s ease, height 0.1s ease, background 0.1s ease;
}

#cursorDot.is-click {
  transform: translate(-50%, -50%) scale(2.5);
  background: #6366f1;
}

/* ============================================================
   LOADER
============================================================ */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99997;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loader-logo {
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  width: 0%;
  background: var(--gradient-main);
  border-radius: 2px;
  transition: width 0.05s linear;
}

.loader-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ============================================================
   UTILITY
============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-blue);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition);
  cursor: none;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(99, 102, 241, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.8rem;
  background: var(--gradient-main);
  color: #fff;
  border-radius: var(--radius-sm);
}

.btn.full-width {
  width: 100%;
  justify-content: center;
}

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.glass-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

/* Divider glow line */
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: var(--gradient-main);
  opacity: 0.4;
}

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(5, 5, 8, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.nav-logo .dot {
  color: var(--accent-blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
  padding: 10px 22px;
  font-size: 0.875rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============================================================
   HERO
============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(99, 102, 241, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(139, 92, 246, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.hero-name {
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: 16px;
}

.hero-name .line {
  display: block;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}

.role-badge {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 1;
}

.scroll-wheel {
  width: 20px;
  height: 32px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  position: relative;
}

.scroll-wheel::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 6px;
  background: var(--accent-blue);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    top: 5px;
  }

  100% {
    opacity: 0;
    top: 18px;
  }
}

/* ============================================================
   ABOUT
============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.about-image-wrap {
  position: relative;
}

.about-image-frame {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  background: var(--bg-card);
}

.about-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
}

.about-image-placeholder i {
  font-size: 4rem;
  color: var(--accent-blue);
  opacity: 0.4;
}

.about-image-placeholder p {
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.image-glow {
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  pointer-events: none;
}

.about-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 16, 0.8);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.about-tag i {
  color: var(--accent-blue);
}

.tag-1 {
  top: 24px;
  right: -20px;
}

.tag-2 {
  bottom: 40px;
  left: -20px;
}

.about-intro {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-intro strong {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-text {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* Timeline */
.timeline-wrap {
  margin-top: 40px;
}

.timeline-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  display: flex;
  gap: 32px;
  padding-bottom: 32px;
  position: relative;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.timeline-dot::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient-main);
}

.timeline-card {
  flex: 1;
  padding: 24px;
}

.timeline-year {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-blue);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.timeline-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   SERVICES
============================================================ */
.services {
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
}

.service-card.featured {
  border-color: rgba(99, 102, 241, 0.3);
  background: rgba(99, 102, 241, 0.06);
}

.featured-label {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-blue);
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 4px 12px;
  border-radius: 100px;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-blue);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card>p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.83rem;
  color: var(--text-secondary);
}

.service-list li i {
  color: var(--accent-blue);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-color: rgba(99, 102, 241, 0.25);
}

.cta-card-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cta-card-inner i {
  font-size: 2.5rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-card-inner h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

.cta-card-inner p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ============================================================
   PORTFOLIO
============================================================ */
.portfolio-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 9px 22px;
  border-radius: 100px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
  color: var(--text-primary);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-item {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-item.hidden {
  display: none;
}

.portfolio-card {
  overflow: hidden;
  padding: 0;
}

.portfolio-thumb {
  display: none;
  /* removed — no image placeholder */
}

.portfolio-placeholder {
  display: none;
}

.portfolio-num {
  display: none;
}

/* Card sits like a why-card — content always visible */
.portfolio-card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  position: relative;
}

.portfolio-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-blue);
}

.portfolio-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

/* Hidden by default — revealed on hover */
.portfolio-hover-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-hover-content {
  max-height: 120px;
  opacity: 1;
}

.portfolio-hover-content p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Accent left border on hover, like a premium reveal */
.portfolio-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-main);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}

.portfolio-card:hover::before {
  transform: scaleY(1);
}

/* Remove old overlay styles */
.portfolio-overlay {
  display: none;
}

.portfolio-info {
  display: none;
}

/* ============================================================
   TECH STACK
============================================================ */
.tech {
  background: var(--bg-secondary);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.tech-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 16px;
  text-align: center;
  cursor: default;
}

.tech-icon {
  font-size: 2rem;
  color: var(--accent-blue);
  transition: color var(--transition);
}

.tech-card:hover .tech-icon {
  color: var(--accent-purple);
}

.tech-card span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ============================================================
   WHY CHOOSE ME
============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.why-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-blue);
}

.why-card h4 {
  font-size: 1rem;
  font-weight: 700;
}

.why-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials {
  background: var(--bg-secondary);
}

/* Clean 2x2 grid — all 4 cards visible, no overflow */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  font-size: 0.875rem;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-info strong {
  font-size: 0.875rem;
  font-weight: 600;
}

.author-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}



/* ============================================================
   CONTACT
============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-info>p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color var(--transition);
  text-decoration: none;
  color: inherit;
}

.contact-item:hover {
  border-color: var(--border-hover);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--accent-blue);
  flex-shrink: 0;
}

.contact-icon.whatsapp {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.2);
  color: #25d366;
}

.contact-item div:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-item strong {
  font-size: 0.83rem;
  font-weight: 600;
}

.contact-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.social-link:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  background: rgba(99, 102, 241, 0.08);
}

/* Form */
.contact-form {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 0.9rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition);
}

/* ── Custom Select ── */
.custom-select {
  position: relative;
}

.cs-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: border-color var(--transition), color var(--transition);
  cursor: none;
  user-select: none;
}

.cs-trigger:hover {
  border-color: rgba(99, 102, 241, 0.4);
}

.custom-select.open .cs-trigger {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  color: var(--text-primary);
}

.cs-trigger .cs-value {
  flex: 1;
}

.cs-trigger .cs-value.selected {
  color: var(--text-primary);
}

.cs-arrow {
  font-size: 0.7rem;
  color: var(--text-muted);
  transition: transform 0.25s ease, color 0.2s ease;
  flex-shrink: 0;
}

.custom-select.open .cs-arrow {
  transform: rotate(180deg);
  color: var(--accent-blue);
}

/* Dropdown list */
.cs-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #0f0f18;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  z-index: 200;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.custom-select.open .cs-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.cs-dropdown li {
  padding: 12px 16px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: background 0.15s ease, color 0.15s ease;
  cursor: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.cs-dropdown li:last-child {
  border-bottom: none;
}

.cs-dropdown li:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--text-primary);
}

.cs-dropdown li.selected {
  color: var(--accent-blue);
  background: rgba(99, 102, 241, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  display: none;
  text-align: center;
  font-size: 0.875rem;
  color: #22c55e;
  padding: 12px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-sm);
}

.form-success.show {
  display: block;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
  position: relative;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-primary);
}

.footer-logo .dot {
  color: var(--accent-blue);
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: all var(--transition);
}

.footer-social a:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.footer-nav a {
  font-size: 0.83rem;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 100px;
  transition: all var(--transition);
}

.footer-nav a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-main);
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 100;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

/* ============================================================
   RESPONSIVE
============================================================ */

/* Tablet: 1024px */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 320px 1fr;
    gap: 48px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Tablet: 768px */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(5, 5, 8, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image-wrap {
    max-width: 320px;
    margin: 0 auto;
  }

  .tag-1 {
    right: 0;
  }

  .tag-2 {
    left: 0;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 28px;
  }
}

/* Mobile: 480px */
@media (max-width: 480px) {
  .section {
    padding: 72px 0;
  }

  .hero-name {
    letter-spacing: -1px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-dot {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
}