:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #000000;
  --accent: #1e21e4;
  --accent-soft: #eef2ff;
  --card: #f9fafb;
  --radius: 24px;
  --glass-bg: rgba(253, 253, 253, 0.952);
  --glass-border: rgba(255, 255, 255, 0.45);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

/* ========== GLASSMORPHISM BASE ========== */
.glass-nav,
.glass-card,
.glass-pill,
.glass-icon,
.glass-tag,
.glass-bubble,
.btn-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* ========== NAV ========== */
.nav-wrap {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: min(960px, calc(100% - 32px));
}

.glass-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 10px 8px 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-links {
  display: flex;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.25s, color 0.25s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-links a i {
  font-size: 12px;
  opacity: 0.7;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent);
}

.nav-links a:hover i,
.nav-links a.active i {
  opacity: 1;
}

/* ========== GLASS BUTTONS ========== */
.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
  white-space: nowrap;
  cursor: pointer;
}

.btn-glass:hover {
  transform: translateY(-2px);
}

.btn-glass-dark {
  background: rgba(17, 17, 17, 0.88);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-glass-dark:hover {
  background: rgba(30, 30, 30, 0.95);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.btn-glass-outline {
  background: rgba(255, 255, 255, 0.5);
  color: var(--accent);
  border: 1.5px solid rgba(99, 102, 241, 0.35);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.btn-glass-outline:hover {
  background: rgba(99, 102, 241, 0.12);
  border-color: var(--accent);
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.2);
}

.btn-glass-primary {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(79, 70, 229, 0.95));
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  padding: 16px 32px;
  font-size: 16px;
}

.btn-glass-primary:hover {
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.5);
  transform: translateY(-3px);
}

/* ========== GLASS ICONS ========== */
.glass-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--accent);
  font-size: 16px;
  flex-shrink: 0;
  transition: transform 0.25s, background 0.25s, box-shadow 0.25s;
}

.glass-icon:hover {
  transform: scale(1.08);
  background: rgba(99, 102, 241, 0.15);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.2);
}

.social-btn.glass-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 18px;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
  width: 100%;
}

.hero-left,
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-left {
  text-align: right;
  align-items: flex-end;
}

.hero-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-title {
  font-size: clamp(48px, 8vw, 92px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.hero-photo-wrap {
  position: relative;
  width: clamp(220px, 28vw, 320px);
}

.hero-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
  transform: rotate(-2deg);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-photo-wrap:hover .hero-photo {
  transform: rotate(0deg) scale(1.02);
}

.glass-bubble {
  position: absolute;
  bottom: -12px;
  left: -20px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.85), rgba(79, 70, 229, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-desc {
  font-size: 15px;
  color: var(--muted);
  max-width: 240px;
  margin-top: 8px;
}

/* ========== SECTIONS ========== */
section {
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.1;
}

.section-desc {
  font-size: 17px;
  color: #ffff;
  max-width: 520px;
  margin-bottom: 48px;
}

.section-desc strong {
  color: var(--text);
}

/* ========== SERVICES ========== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}

.service-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 20px 0;
  cursor: pointer;
  transition: all 0.3s;
}

.service-item:first-child {
  border-top: 1px solid #e5e7eb;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.service-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-icon {
  width: 40px;
  height: 40px;
  font-size: 14px;
}

.service-num {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff
}

.service-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.service-chevron {
  color: var(--muted);
  font-size: 12px;
  transition: transform 0.3s;
}

.service-item.active .service-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.service-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  color: var(--muted);
  font-size: 15px;
  padding-left: 64px;
}

.service-item.active .service-body {
  max-height: 200px;
  padding-top: 14px;
}

.service-item.active .service-title {
  color: var(--accent);
}

.service-item.active .service-icon {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
  color: var(--accent);
}

.services-photo {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  transform: rotate(4deg);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 120px;
}

/* ========== ABOUT ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: center;
}

.stats {
  display: flex;
  gap: 16px;
  margin: 36px 0;
  flex-wrap: wrap;
}

.stat-card.glass-card {
  padding: 18px 22px;
  border-radius: 16px;
  min-width: 120px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 0.25s, box-shadow 0.25s;
}

.stat-card.glass-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

.contact-info {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.info-pill.glass-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 14px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.info-pill.glass-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.info-pill i {
  font-size: 20px;
  color: var(--accent);
}

.info-pill strong {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 2px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.info-pill a {
  text-decoration: none;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s;
}

.info-pill a:hover {
  color: var(--accent);
}

.socials {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.about-photo {
  width: 100%;
  border-radius: 24px;
  transform: rotate(-3deg);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

/* ========== PROJECTS ========== */
.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 20px;
}

.project-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 32px;
  background: #111;
  aspect-ratio: 16 / 9;
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0.85;
}

.project-card:hover img {
  transform: scale(1.06);
  opacity: 1;
}

.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 60%);
  color: #fff;
}

.glass-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.project-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.project-desc {
  font-size: 15px;
  opacity: 0.85;
  max-width: 480px;
}

/* ========== CTA / CONTACT ========== */
.cta {
  text-align: center;
  padding: 120px 24px;
  background: linear-gradient(180deg, #f0f4ff 0%, #f8fafc 40%, #fff 100%);
  max-width: none;
}

.cta .section-title {
  margin-bottom: 16px;
}

.cta > p {
  color: var(--muted);
  font-size: 18px;
  max-width: 520px;
  margin: 0 auto 40px;
}

.contact-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.contact-card.glass-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 28px;
  border-radius: 20px;
  text-decoration: none;
  min-width: 260px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.contact-card.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
}

.contact-card-icon {
  margin-bottom: 14px;
  width: 48px;
  height: 48px;
  font-size: 20px;
  border-radius: 14px;
}

.contact-card-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-card-value {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.contact-card-hint {
  font-size: 13px;
  color: var(--muted);
}

/* ========== FOOTER ========== */
footer {
  padding: 40px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid #f3f4f6;
}

footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

footer a:hover {
  text-decoration: underline;
}

/* ========== ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .hero-left,
  .hero-right {
    align-items: center;
    text-align: center;
  }

  .hero-desc {
    max-width: none;
  }

  .services-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .services-photo,
  .about-photo {
    max-width: 280px;
    margin: 0 auto;
    position: static;
  }

  .nav-wrap { top: max(8px, env(safe-area-inset-top)); width: calc(100% - 16px); }
  .glass-nav { flex-wrap: wrap; justify-content: space-between; border-radius: 20px; }
  .nav-links {
    order: 3;
    display: flex;
    flex: 1 0 100%;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { flex: 0 0 auto; white-space: nowrap; }
  .btn-glass { padding: 9px 14px; font-size: 13px; }

  .stats {
    flex-wrap: wrap;
    gap: 12px;
  }

  .service-body {
    padding-left: 0;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: auto;
    padding: max(132px, calc(env(safe-area-inset-top) + 120px)) 16px 64px;
  }

  section { padding: 64px 16px; }
  .hero-inner { gap: 24px; }
  .hero-photo-wrap { width: min(260px, 72vw); }

  .project-overlay {
    padding: clamp(16px, 5vw, 24px);
  }

  .contact-card.glass-card {
    width: 100%;
    min-width: 0;
  }

  .contact-actions,
  .social-row { gap: 1rem; }
  .cta { padding: 72px 16px; }
  .cta > p { font-size: 1rem; }
  .contact-card-value { font-size: 1rem; overflow-wrap: anywhere; }
  .project-card { aspect-ratio: 4 / 3; }
}

@media (max-width: 380px) {
  .nav-avatar { width: 30px; height: 30px; }
  .nav-links a { padding: 7px 9px; font-size: 12px; }
  .hero-title { font-size: clamp(40px, 14vw, 54px); }
  .project-overlay { padding: 14px; }
  .glass-tag { font-size: 10px; padding: 6px 10px; }
  .contact-info { gap: 0.6rem; }
  .info-pill.glass-pill { width: 100%; min-width: 0; }
}
.contact-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5.85rem;
  margin-top: 1.25rem;
}

.social-row {
  display: flex;
  align-items: center;
  gap: 2.65rem;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Instagram — gradient circle like your site */
.social-ig {
  background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af 80%, #515bd4);
  box-shadow: 0 4px 16px rgba(221, 42, 123, 0.4);
}

/* Facebook — solid blue like your site */
.social-fb {
  background: #1877f2;
  box-shadow: 0 4px 16px rgba(24, 119, 242, 0.4);
}

.social-btn:hover {
  transform: translateY(-3px) scale(1.08);
}

.social-btn svg {
  display: block;
}
.contact-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;   /* center the whole group */
  flex-wrap: wrap;
  gap: 2.75rem;
  width: 100%;
  margin: 2.25rem auto 0;
  text-align: center;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-ig {
  background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af 80%, #515bd4);
  box-shadow: 0 4px 16px rgba(221, 42, 123, 0.4);
}

.social-fb {
  background: #1877f2;
  box-shadow: 0 4px 16px rgba(24, 119, 242, 0.4);
}

.social-btn:hover {
  transform: translateY(-3px) scale(1.08);
}