/* =============================================
   SIDRA BASHIR — PORTFOLIO EMBED
   Matches sidstyleinspo.com palette
   ============================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300..800;1,9..40,300..800&family=Manrope:wght@300;400;500;600;700&display=swap');

/* ── Reset & Base ──────────────────────────── */
/* Push content below fixed nav */
body { padding-top: 72px; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple:       #7C6E9A;
  --purple-light: #9B8FBA;
  --purple-dark:  #5E5278;
  --purple-bg:    #F3F0F8;
  --purple-soft:  #EAE6F5;
  --blush:        #C9A0A0;
  --dark:         #1D1B2E;
  --mid:          #5C5472;
  --muted:        #8E8AA0;
  --border:       #E4DFF0;
  --white:        #FFFFFF;
  --bg-alt:       #F8F6FC;
  --font-head:    'DM Sans', sans-serif;
  --font-body:    'Manrope', sans-serif;
  --radius:       12px;
  --radius-lg:    20px;
  --shadow-sm:    0 2px 12px rgba(124,110,154,.08);
  --shadow-md:    0 6px 28px rgba(124,110,154,.14);
  --shadow-lg:    0 16px 48px rgba(124,110,154,.18);
  --transition:   0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#site-header.scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 20px rgba(124,110,154,.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

/* Logo */
.nav-logo, .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--blush) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  color: white;
  letter-spacing: -.02em;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 500;
  color: var(--dark);
  white-space: nowrap;
}

.nav-logo-text strong { font-weight: 800; color: var(--purple); }

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  color: var(--mid);
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--purple);
  background: var(--purple-bg);
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-cta { font-size: 14px; padding: 10px 22px; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-hamburger:hover { background: var(--purple-bg); }

.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: flex;
  flex-direction: column;
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  background: white;
  border-top: 1px solid transparent;
}

.nav-mobile.open {
  max-height: 500px;
  padding: 16px 24px 24px;
  border-color: var(--border);
}

.nav-mobile-link {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  padding: 12px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease;
}

.nav-mobile-link:last-of-type { border-bottom: none; }
.nav-mobile-link:hover { color: var(--purple); }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 480px) {
  .nav-cta { display: none; }
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
#site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .footer-logo { margin-bottom: 16px; }
.footer-brand .nav-logo-text { color: white; }

.footer-tagline {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,.55);
  max-width: 280px;
  margin-bottom: 24px;
}

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

.footer-social {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: var(--transition);
}

.footer-social:hover {
  background: var(--purple);
  color: white;
  transform: translateY(-3px);
}

.footer-social svg { width: 16px; height: 16px; }

.footer-heading {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .10em;
  color: white;
  margin-bottom: 20px;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-list a {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-list a:hover { color: var(--purple-light); }

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact-list svg {
  width: 16px; height: 16px;
  stroke: var(--purple-light);
  flex-shrink: 0;
}

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

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,.35);
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Typography ────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.2;
  font-weight: 700;
  color: var(--dark);
}

p { color: var(--mid); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; height: auto; display: block; }

/* ── Layout ────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 14px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--purple);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
}

.section-head { margin-bottom: 56px; }

/* ── Buttons ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 30px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}

.btn-primary:hover {
  background: var(--purple-dark);
  border-color: var(--purple-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}

.btn-outline:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ── Reveal Animation ──────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════
   1. HERO
═══════════════════════════════════════════ */
#hero {
  padding: 80px 0 96px;
  background: linear-gradient(145deg, #FDFCFF 0%, #F3F0F8 60%, #FDF6F6 100%);
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,110,154,.12) 0%, transparent 70%);
  pointer-events: none;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,160,160,.10) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple-bg);
  color: var(--purple-dark);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--purple);
  animation: pulse 2s infinite;
}

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

.hero-name {
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-name span { color: var(--purple); }

.hero-titles {
  font-family: var(--font-head);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 500;
  color: var(--mid);
  margin-bottom: 20px;
  min-height: 28px;
}

#typewriter { color: var(--purple); font-weight: 600; }
#cursor { display: inline-block; width: 2px; height: 1.1em; background: var(--purple); vertical-align: text-bottom; animation: blink 1s step-end infinite; margin-left: 2px; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.hero-stat-num {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 800;
  color: var(--dark);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-num span { color: var(--purple); }

.hero-stat-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  width: 100%;
  max-width: 400px;
  position: relative;
}

.hero-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple) 0%, var(--blush) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -.02em;
}

.hero-card-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.hero-card-role {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.skill-pill {
  background: var(--purple-bg);
  color: var(--purple-dark);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
}

.hero-card-cta {
  display: block;
  text-align: center;
  background: var(--purple);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  padding: 12px;
  border-radius: 50px;
  transition: var(--transition);
}

.hero-card-cta:hover {
  background: var(--purple-dark);
}

.hero-card-badge {
  position: absolute;
  top: -14px; right: 24px;
  background: #22C55E;
  color: white;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-card-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: white;
}

/* ═══════════════════════════════════════════
   2. ABOUT
═══════════════════════════════════════════ */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  padding-bottom: 24px;
}

.about-img-frame {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4;
  max-height: 540px;
}

.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.6s ease;
}

.about-img-wrap:hover .about-img-frame img {
  transform: scale(1.03);
}

.about-img-badge {
  position: absolute;
  bottom: 0;
  right: -16px;
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 100%);
  color: white;
  border-radius: 18px;
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-badge-num {
  display: block;
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.about-badge-label {
  font-size: 12px;
  font-weight: 500;
  opacity: .85;
  line-height: 1.4;
}

.about-para {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 16px;
}

.about-para strong { color: var(--purple); font-weight: 700; }

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0 36px;
}

.about-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
}

.about-highlight svg {
  width: 16px;
  height: 16px;
  stroke: white;
  flex-shrink: 0;
  background: var(--purple);
  border-radius: 50%;
  padding: 3px;
  box-sizing: content-box;
}

@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 56px; }
  .about-img-badge { right: 16px; }
  .about-img-frame { max-height: 420px; aspect-ratio: 4/3; }
}

/* ═══════════════════════════════════════════
   3. SERVICES
═══════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--blush));
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--purple-light); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--purple-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--purple);
}

.service-card:hover .service-icon svg {
  stroke: white;
}

.service-icon svg { width: 22px; height: 22px; stroke: var(--purple); transition: var(--transition); }

.service-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ═══════════════════════════════════════════
   3. FEATURED PROJECTS
═══════════════════════════════════════════ */
.featured-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.tab-btn {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--mid);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover { border-color: var(--purple); color: var(--purple); }
.tab-btn.active { background: var(--purple); color: white; border-color: var(--purple); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: none;
}

.project-card.show { display: block; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.project-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.project-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-thumb img { transform: scale(1.05); }

.project-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(29,27,46,.7) 100%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-thumb-overlay { opacity: 1; }

.project-visit-btn {
  background: white;
  color: var(--purple);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-visit-btn:hover { background: var(--purple); color: white; }

.project-cat-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: white;
  color: var(--purple);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: .04em;
}

.project-body { padding: 24px; }

.project-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.project-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ═══════════════════════════════════════════
   4. PORTFOLIO GALLERY
═══════════════════════════════════════════ */
.gallery-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(124,110,154,.9) 0%, rgba(124,110,154,.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: white;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-item-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.gallery-item-cat {
  font-size: 12px;
  opacity: .8;
}

/* ═══════════════════════════════════════════
   5. SKILLS
═══════════════════════════════════════════ */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 56px;
}

.skill-item { }

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.skill-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.skill-name svg { width: 16px; height: 16px; stroke: var(--purple); }

.skill-pct {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--purple);
}

.skill-bar-track {
  height: 7px;
  background: var(--purple-soft);
  border-radius: 50px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  width: 0;
  transition: width 1.2s cubic-bezier(.22,1,.36,1);
}

/* ═══════════════════════════════════════════
   6. PROCESS
═══════════════════════════════════════════ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 38px;
  left: calc(10% + 24px);
  right: calc(10% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--purple-soft), var(--purple), var(--purple-soft));
}

.process-step { text-align: center; padding: 0 12px; position: relative; }

.process-step-num {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.process-step:hover .process-step-num {
  border-color: var(--purple);
  background: var(--purple-bg);
}

.process-step-num svg { width: 28px; height: 28px; stroke: var(--purple); }

.process-step-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 6px;
}

.process-step-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ═══════════════════════════════════════════
   7. TESTIMONIALS
═══════════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.testimonial-header {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  user-select: none;
  transition: var(--transition);
}

.testimonial-header:hover { background: var(--bg-alt); }

.testimonial-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--blush));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.testimonial-meta { flex: 1; }

.testimonial-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.testimonial-role { font-size: 13px; color: var(--muted); }

.testimonial-toggle {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--purple-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.testimonial-toggle svg { width: 14px; height: 14px; stroke: var(--purple); transition: transform 0.3s ease; }

.testimonial-card.open .testimonial-toggle { background: var(--purple); }
.testimonial-card.open .testimonial-toggle svg { stroke: white; transform: rotate(180deg); }

.testimonial-body {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.testimonial-card.open .testimonial-body {
  max-height: 300px;
  padding: 0 24px 24px;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
}

.star { color: #F59E0B; font-size: 18px; }

.testimonial-quote {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.75;
  font-style: italic;
}

/* ═══════════════════════════════════════════
   8. FAQ
═══════════════════════════════════════════ */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open { border-color: var(--purple-light); box-shadow: var(--shadow-sm); }

.faq-q {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  user-select: none;
  gap: 16px;
}

.faq-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--purple-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-icon svg { width: 14px; height: 14px; stroke: var(--purple); transition: transform 0.3s ease; }

.faq-item.open .faq-icon { background: var(--purple); }
.faq-item.open .faq-icon svg { stroke: white; transform: rotate(45deg); }

.faq-a {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
}

.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 20px; }

/* ═══════════════════════════════════════════
   9. CTA BANNER
═══════════════════════════════════════════ */
#cta {
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 50%, var(--blush) 100%);
  padding: 96px 0;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

#cta::before, #cta::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

#cta::before {
  width: 400px; height: 400px;
  top: -200px; left: -100px;
  background: rgba(255,255,255,.06);
}

#cta::after {
  width: 300px; height: 300px;
  bottom: -150px; right: -50px;
  background: rgba(255,255,255,.06);
}

.cta-inner { position: relative; z-index: 1; }

.cta-title {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 800;
  color: white;
  margin-bottom: 18px;
  letter-spacing: -.02em;
}

.cta-sub {
  font-size: 18px;
  color: rgba(255,255,255,.8);
  margin-bottom: 40px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.cta-contacts {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.2);
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.9);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
}

.cta-contact-item:hover { color: white; transform: translateY(-2px); }

.cta-contact-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-contact-icon svg { width: 18px; height: 18px; stroke: white; }

/* ═══════════════════════════════════════════
   CONTACT FORM
═══════════════════════════════════════════ */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.contact-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  transition: var(--transition);
}

.contact-detail-item:hover { transform: translateX(4px); }

.contact-detail-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--purple-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg { width: 20px; height: 20px; stroke: var(--purple); }

.contact-detail-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 2px;
}

.contact-detail-val {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
}

/* Form wrapper card */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form { 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 label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: .02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--dark);
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  outline: none;
  transition: var(--transition);
  resize: vertical;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(124,110,154,.12);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.10);
}

.form-submit-btn {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 15px;
  border-radius: var(--radius);
  position: relative;
}

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

.form-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}

.form-note a { color: var(--purple); text-decoration: underline; }
.form-note code { background: var(--purple-bg); padding: 1px 6px; border-radius: 4px; font-size: 11px; color: var(--purple-dark); }

/* Success message */
.form-success {
  text-align: center;
  padding: 48px 24px;
}

.form-success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #DCFCE7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form-success-icon svg { width: 28px; height: 28px; stroke: #16A34A; }

.form-success h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-success p { font-size: 15px; color: var(--muted); }

@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
}

/* ── Back to Top ───────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--purple);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}

#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { background: var(--purple-dark); transform: translateY(-3px); }
#back-to-top svg { width: 20px; height: 20px; stroke: white; }

/* ── WhatsApp Float ────────────────────────── */
#whatsapp-float {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 999;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

#whatsapp-float:hover { transform: scale(1.1); }

#whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: .4;
  animation: wa-ring 2s ease infinite;
}

@keyframes wa-ring { 0%{transform:scale(.9);opacity:.6} 100%{transform:scale(1.4);opacity:0} }

#whatsapp-float svg { width: 26px; height: 26px; fill: white; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .process-steps::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .hero-card { max-width: 100%; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .projects-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { justify-content: center; }
  .featured-tabs, .gallery-filter { justify-content: center; }
  .cta-contacts { flex-direction: column; align-items: center; }
}
