/* ============================================================
   MATTIE-VERSE PORTFOLIO — style.css
   One Piece × Modern Web3 Portfolio
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@1,400;1,600;1,700&display=swap');

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  --sky-light:    #e8f4fd;
  --sky-mid:      #b8dff5;
  --sky-blue:     #87ceeb;
  --ocean-blue:   #4a90d9;
  --deep-ocean:   #1a5276;
  --accent:       #f4a732;
  --accent-warm:  #ff6b35;
  --gold:         #ffd700;
  --text-dark:    #1a1a2e;
  --text-mid:     #34495e;
  --text-light:   #6b7a8d;
  --card-bg:      #ffffff;
  --card-border:  rgba(74, 144, 217, 0.15);
  --glass-bg:     rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.6);
  --shadow-soft:  0 4px 24px rgba(74, 144, 217, 0.12);
  --shadow-hover: 0 12px 40px rgba(74, 144, 217, 0.25);
  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-xl:    32px;
  --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}

section {
  scroll-margin-top: 30px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--sky-light);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; }

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

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

/* ── Utility ──────────────────────────────────────────────── */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.section-header { margin-bottom: 2rem; padding-top: 1.5rem; }

.tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--sky-blue), var(--ocean-blue));
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

/* Special Emphasis Typography */
.special-highlight, .about-highlight {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  color: var(--accent-warm);
}

/* Scroll fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── INTRO SCREEN (Web3 Canvas) ───────────────────────────── */
#intro-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0D0D11;
  transition: opacity 1s ease, filter 1s ease, transform 1s ease;
}

#intro-screen.intro-dissolving {
  opacity: 0;
  filter: blur(12px);
  transform: scale(1.04);
  pointer-events: none;
}

#intro-screen.intro-hidden {
  display: none !important;
}

#intro-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Persistent background canvas behind hero */
#network-bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}
#network-bg-canvas.active {
  opacity: 0.18;
}

/* Status text overlay */
.intro-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.intro-status-text {
  font-family: 'Outfit', monospace;
  font-size: clamp(0.72rem, 3.2vw, 0.95rem);
  font-weight: 600;
  letter-spacing: clamp(0.1em, 2vw, 0.25em);
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.95);
  background: rgba(13, 13, 17, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 100px;
  padding: 0.6rem 1.4rem;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
  transition: opacity 0.6s ease, transform 0.4s ease;
  opacity: 1;
  text-align: center;
  max-width: 90vw;
  box-sizing: border-box;
}

.intro-status-text.fade-switch {
  opacity: 0;
  transform: translateY(-6px);
}

/* Skip Intro button */
.intro-skip-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 20;
  pointer-events: all;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.5s ease, transform 0.5s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.intro-skip-btn.visible {
  opacity: 1;
  transform: translateY(0);
}

.intro-skip-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.25);
}

/* ── HERO METRICS BAR ────────────────────────────────────── */
.hero-metrics-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  animation: fadeSlideUp 0.7s ease 0.5s both;
}

.metric-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(74, 144, 217, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(74, 144, 217, 0.15);
  border-radius: 100px;
  padding: 0.55rem 1.2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.metric-badge::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(139, 92, 246, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.metric-badge:hover::before {
  opacity: 1;
}

.metric-badge:hover {
  border-color: rgba(74, 144, 217, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.12);
}

.metric-icon {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.metric-badge:nth-child(1) .metric-icon {
  background: linear-gradient(135deg, #dbeafe, #93c5fd);
  color: #1d4ed8;
}
.metric-badge:nth-child(2) .metric-icon {
  background: linear-gradient(135deg, #ede9fe, #c4b5fd);
  color: #6d28d9;
}
.metric-badge:nth-child(3) .metric-icon {
  background: linear-gradient(135deg, #d1fae5, #6ee7b7);
  color: #047857;
}

.metric-text {
  position: relative;
  z-index: 1;
}

.metric-value {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.metric-label {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ── FLOATING CLOUDS (main page) ──────────────────────────── */
.cloud-layer {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.cloud {
  position: absolute;
  background: white;
  border-radius: 50px;
  opacity: 0.4;
}
.cloud::before, .cloud::after {
  content: '';
  position: absolute;
  background: white;
  border-radius: 50%;
}
.cloud-a { width: 200px; height: 50px; top: 8%; animation: cloudFloat 25s linear infinite; }
.cloud-a::before { width: 90px; height: 90px; top: -45px; left: 30px; }
.cloud-a::after  { width: 70px; height: 70px; top: -35px; left: 100px; }

.cloud-b { width: 140px; height: 40px; top: 20%; animation: cloudFloat 35s linear 8s infinite; opacity: 0.25; }
.cloud-b::before { width: 60px; height: 60px; top: -30px; left: 20px; }
.cloud-b::after  { width: 50px; height: 50px; top: -25px; left: 70px; }

.cloud-c { width: 250px; height: 60px; top: 5%; animation: cloudFloat 45s linear 15s infinite; opacity: 0.2; }
.cloud-c::before { width: 110px; height: 110px; top: -55px; left: 40px; }
.cloud-c::after  { width: 80px; height: 80px; top: -40px; left: 130px; }

/* ── NAVBAR ───────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--transition);
}

#navbar.scrolled {
  box-shadow: 0 4px 20px rgba(74,144,217,0.15);
}

.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--ocean-blue), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  position: relative;
  padding: 0.2rem 0;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--ocean-blue), var(--accent));
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--ocean-blue); }
.nav-links a:hover::after { width: 100%; }

.nav-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--sky-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--ocean-blue);
  font-size: 0.95rem;
  transition: all var(--transition);
  border: 1px solid var(--card-border);
}
.nav-social a:hover {
  background: var(--ocean-blue);
  color: white;
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── HERO ─────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 100px 0 60px;
  overflow: hidden;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 70% 60% at 70% 50%, rgba(135,206,235,0.3) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(74,144,217,0.1) 0%, transparent 60%),
    linear-gradient(180deg, var(--sky-light) 0%, #d4eef8 100%);
  z-index: 0;
}

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

.hero-text-column { }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ocean-blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.2rem;
  animation: fadeSlideUp 0.6s ease both;
}

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

.hero-name {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  animation: fadeSlideUp 0.7s ease 0.1s both;
}

.hero-name .wave { display: inline-block; animation: wave 2s ease-in-out infinite; }

.hero-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.7s ease 0.2s both;
}

.role-pill {
  background: rgba(74,144,217,0.1);
  color: var(--ocean-blue);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  border: 1px solid rgba(74,144,217,0.2);
}

.hero-mission {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2.5rem;
  animation: fadeSlideUp 0.7s ease 0.3s both;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.7s ease 0.4s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--ocean-blue), var(--deep-ocean));
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(74,144,217,0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(74,144,217,0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: var(--ocean-blue);
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--card-border);
  transition: all var(--transition);
}
.btn-secondary:hover {
  border-color: var(--ocean-blue);
  background: rgba(74,144,217,0.05);
  transform: translateY(-3px);
}

/* Hero visual side */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeSlideUp 0.9s ease 0.2s both;
}

.hero-avatar-ring {
  position: relative;
  width: 380px;
  height: 380px;
}

.avatar-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,144,217,0.25) 0%, transparent 70%);
  animation: glowPulse 3s ease-in-out infinite;
}

.avatar-ring-1, .avatar-ring-2 {
  position: absolute;
  border-radius: 50%;
  border-style: solid;
}
.avatar-ring-1 {
  inset: -12px;
  border-width: 2px;
  border-color: rgba(74,144,217,0.2) transparent rgba(74,144,217,0.2) transparent;
  animation: rotateSlow 12s linear infinite;
}
.avatar-ring-2 {
  inset: -24px;
  border-width: 1px;
  border-color: transparent rgba(244,167,50,0.3) transparent rgba(244,167,50,0.3);
  animation: rotateSlow 20s linear infinite reverse;
}

.avatar-img-wrap {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid white;
  box-shadow: var(--shadow-hover);
  background: linear-gradient(135deg, var(--sky-blue), var(--ocean-blue));
}
.avatar-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* Floating decorative elements */
.hero-deco {
  position: absolute;
  pointer-events: none;
}
.deco-compass {
  top: 10px; right: -10px;
  width: 70px; height: 70px;
  background: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-soft);
  animation: compassFloat 4s ease-in-out infinite;
}
.deco-anchor {
  bottom: 30px; left: -20px;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(244,167,50,0.35);
  animation: compassFloat 5s ease-in-out 1s infinite;
}
.deco-hat {
  top: -10px; left: 30px;
  width: 56px; height: 56px;
  background: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: var(--shadow-soft);
  animation: compassFloat 4.5s ease-in-out 0.5s infinite;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.8rem;
  animation: fadeSlideUp 1s ease 1s both;
}
.scroll-mouse {
  width: 24px; height: 38px;
  border: 2px solid var(--sky-blue);
  border-radius: 12px;
  display: flex; justify-content: center; padding-top: 6px;
}
.scroll-wheel {
  width: 4px; height: 8px;
  background: var(--ocean-blue);
  border-radius: 2px;
  animation: scrollWheel 1.5s ease-in-out infinite;
}

/* ── ABOUT ───────────────────────────────────────────────── */
#about {
  padding: 0 0 5rem;
  background: white;
  position: relative;
  overflow: hidden;
}

#about::before {
  content: '';
  position: absolute;
  top: -100px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(135,206,235,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.about-inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 5rem;
  align-items: center;
}

/* ── Image column ── */
.about-img-col {
  position: relative;
}

.about-img-frame {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.about-img-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle at 50% 60%, rgba(74,144,217,0.22) 0%, rgba(244,167,50,0.08) 50%, transparent 70%);
  border-radius: 50%;
  animation: glowPulse 4s ease-in-out infinite;
  z-index: 0;
}

.about-img-frame img {
  position: relative;
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center top;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(74,144,217,0.2), 0 8px 20px rgba(0,0,0,0.08);
  z-index: 1;
  display: block;
  background: #b8d4eb;
}

/* Floating stat chips */
.about-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(74,144,217,0.15);
  border-radius: 16px;
  padding: 0.7rem 1.1rem;
  box-shadow: 0 8px 24px rgba(74,144,217,0.18);
  animation: compassFloat 4s ease-in-out infinite;
}
.about-chip-1 { top: 12%; left: -24px; animation-delay: 0s; }
.about-chip-2 { top: 50%; right: -24px; animation-delay: 0.8s; }
.about-chip-3 { bottom: 12%; left: -16px; animation-delay: 1.6s; }

.about-chip-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--ocean-blue), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.about-chip-lbl {
  font-size: 0.7rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* ── Text column ── */
.about-text-col { }

.about-text-col .section-title {
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.about-body p {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.value-card {
  background: var(--sky-light);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  border: 1px solid var(--card-border);
  transition: all var(--transition);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.value-icon { font-size: 1.8rem; margin-bottom: 0.6rem; }
.value-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--text-dark);
}
.value-desc { font-size: 0.85rem; color: var(--text-light); line-height: 1.5; }

/* ── EXPERTISE ────────────────────────────────────────────── */
#expertise {
  padding: 0 0 3.5rem;
  background: var(--sky-light);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.expertise-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  border: 1px solid var(--card-border);
  text-align: center;
  transition: all var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.expertise-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(74,144,217,0.06), rgba(244,167,50,0.04));
  opacity: 0;
  transition: opacity var(--transition);
}

.expertise-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(74,144,217,0.3);
}
.expertise-card:hover::before { opacity: 1; }

.expertise-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.expertise-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.expertise-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
}

.expertise-level {
  margin-top: 1rem;
  height: 3px;
  background: var(--sky-light);
  border-radius: 3px;
  overflow: hidden;
}
.expertise-level-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--ocean-blue), var(--accent));
  border-radius: 3px;
  width: 0%;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}
.expertise-card.visible .expertise-level-bar {
  /* width is set inline via JS data-width attribute */
}

/* ── EXPERIENCE / TIMELINE ────────────────────────────────── */
#experience {
  padding: 0 0 3.5rem;
  background: white;
  position: relative;
}

.voyage-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
}

.voyage-line {
  position: relative;
  padding: 0 0 0 60px;
}

.voyage-line::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--ocean-blue) 0%, var(--accent) 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-dot {
  position: absolute;
  left: -48px;
  top: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ocean-blue), var(--deep-ocean));
  border: 3px solid white;
  box-shadow: 0 0 0 3px rgba(74,144,217,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  z-index: 1;
  transition: all var(--transition);
}
.timeline-item:hover .timeline-dot {
  transform: scale(1.15);
  box-shadow: 0 0 0 6px rgba(74,144,217,0.15);
}

.timeline-card {
  background: var(--sky-light);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2rem;
  border: 1px solid var(--card-border);
  margin-left: 12px;
  transition: all var(--transition);
}
.timeline-item:hover .timeline-card {
  transform: translateX(6px);
  box-shadow: var(--shadow-soft);
  background: white;
}

.timeline-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.timeline-role {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.timeline-company {
  font-weight: 600;
  color: var(--ocean-blue);
  font-size: 0.9rem;
}

.timeline-period {
  margin-left: auto;
  background: rgba(74,144,217,0.1);
  color: var(--ocean-blue);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.8rem;
  border-radius: 100px;
}

.timeline-desc {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tl-tag {
  background: white;
  color: var(--ocean-blue);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
  border: 1px solid rgba(74,144,217,0.2);
}


/* ── ACHIEVEMENTS ─────────────────────────────────────────── */
#achievements {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, var(--deep-ocean) 0%, #1a3a5c 50%, #0d2137 100%);
  position: relative;
  overflow: hidden;
}

.achievements-bg-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.ach-wave {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
}
.ach-wave-1 { top: -100px; right: -100px; }
.ach-wave-2 { bottom: -150px; left: -100px; width: 500px; height: 500px; }

.achievements-header { text-align: center; margin-bottom: 2rem; }
.achievements-header .section-title { color: white; }
.achievements-header .section-subtitle { color: rgba(255,255,255,0.6); margin: 0 auto; }

.milestones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.milestone-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
}
.milestone-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.2);
}

.milestone-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.milestone-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffd700, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.milestone-label {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
}

.achievements-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.achievement-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all var(--transition);
}
.achievement-item:hover { background: rgba(255,255,255,0.1); }

.ach-check {
  width: 28px; height: 28px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.8rem;
  font-weight: 700;
}
.achievement-item p { color: rgba(255,255,255,0.8); font-size: 0.9rem; line-height: 1.5; }


/* ── CURRENT JOURNEY ──────────────────────────────────────── */
#journey {
  padding: 0 0 3.5rem;
  background: var(--sky-light);
}

.journey-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.journey-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  border: 1px solid var(--card-border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.journey-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ocean-blue), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.journey-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.journey-card:hover::after { transform: scaleX(1); }

.journey-card-icon { font-size: 2.5rem; margin-bottom: 1.2rem; }
.journey-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.journey-items { list-style: none; }
.journey-items li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text-mid);
  font-size: 0.9rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(74,144,217,0.08);
}
.journey-items li:last-child { border-bottom: none; }
.journey-items li::before {
  content: '→';
  color: var(--ocean-blue);
  flex-shrink: 0;
  font-weight: 700;
  margin-top: 1px;
}

/* ── CONTACT ──────────────────────────────────────────────── */
#contact {
  padding: 0 0 3.5rem;
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
  padding-top: 1.5rem;
}

.contact-info-col {}

.contact-info-col h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.contact-info-col p {
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-details { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.5rem; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-mid);
  font-size: 0.95rem;
}
.contact-detail-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--sky-light);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  border: 1px solid var(--card-border);
}

.social-links-large {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--sky-light);
  color: var(--text-mid);
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid var(--card-border);
  transition: all var(--transition);
}
.social-btn:hover {
  background: var(--ocean-blue);
  color: white;
  border-color: var(--ocean-blue);
  transform: translateY(-2px);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--sky-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--card-border);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { margin-bottom: 1.2rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--card-border);
  background: white;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--text-dark);
  transition: all var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--ocean-blue);
  box-shadow: 0 0 0 3px rgba(74,144,217,0.12);
}

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

.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--ocean-blue), var(--deep-ocean));
  color: white;
  padding: 1rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(74,144,217,0.3);
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(74,144,217,0.4);
}

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  background: linear-gradient(135deg, var(--deep-ocean), #0d2137);
  color: white;
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffd700, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
}

.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--accent); color: white; border-color: var(--accent); transform: translateY(-3px); }

.footer-divider {
  width: 100%; height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 0.5rem 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
}

/* ── WAVE DIVIDER ─────────────────────────────────────────── */
.wave-divider {
  overflow: hidden;
  line-height: 0;
  margin-bottom: -2px;
}
.wave-divider svg { display: block; }

/* ── KEYFRAME ANIMATIONS ──────────────────────────────────── */
@keyframes cloudDrift {
  from { transform: translateX(-200px); }
  to   { transform: translateX(calc(100vw + 400px)); }
}
@keyframes cloudDriftReverse {
  from { transform: translateX(calc(100vw + 200px)); }
  to   { transform: translateX(-400px); }
}
@keyframes cloudFloat {
  0%   { transform: translateX(-300px); }
  100% { transform: translateX(calc(100vw + 300px)); }
}
@keyframes introBgZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
@keyframes introFadeOut {
  to { opacity: 0; pointer-events: none; }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes wave {
  0%, 100% { transform: rotate(0deg); }
  25%  { transform: rotate(20deg); }
  75%  { transform: rotate(-10deg); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%  { opacity: 0.5; transform: scale(0.8); }
}
@keyframes compassFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%  { transform: translateY(-10px) rotate(5deg); }
}
@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50%  { transform: scale(1.05); opacity: 1; }
}
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes scrollWheel {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}
@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0); }
  50%  { opacity: 1; transform: scale(1); }
}
@keyframes shipFloat {
  0%, 100% { transform: translateY(0); }
  50%  { transform: translateY(-8px); }
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero-roles, .hero-ctas { justify-content: center; }
  .hero-mission { margin: 0 auto 2.5rem; }
  .hero-visual { order: -1; }
  .hero-avatar-ring { width: 280px; height: 280px; }
  .hero-metrics-bar { justify-content: center; }
  
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-wrap { position: relative; top: 0; }
  .about-img-card img { height: 300px; }
  
  .contact-grid { grid-template-columns: 1fr; }
  
  .journey-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  #hero { padding-bottom: 100px; }
  .hero-ctas {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    gap: 0.9rem;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Experience timeline mobile alignment */
  .voyage-line {
    padding: 0;
  }
  .voyage-line::before {
    left: 17px;
  }
  .timeline-item {
    padding-left: 46px;
    margin-bottom: 2rem;
  }
  .timeline-dot {
    left: 0;
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }
  .timeline-card {
    margin-left: 0;
    padding: 1.25rem 1.25rem;
  }
  .timeline-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .timeline-period {
    margin-left: 0;
  }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    z-index: 999;
  }
  .hamburger { display: flex; }
  
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .journey-grid { grid-template-columns: 1fr; }
  .hero-avatar-ring { width: 220px; height: 220px; }
  
  #navbar { padding: 0 1.2rem; }
  .container { width: 92%; }
  
  .milestones-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .milestones-grid { grid-template-columns: 1fr; }
  .hero-metrics-bar { flex-direction: column; align-items: stretch; }
  .intro-skip-btn { top: 1rem; right: 1rem; font-size: 0.7rem; padding: 0.35rem 0.8rem; }
}

/* ICON COLOR SYSTEM */
.expertise-icon { display:flex; align-items:center; justify-content:center; width:58px; height:58px; border-radius:16px; margin-bottom:1rem; font-size:1.4rem; }
.expertise-card:nth-child(1)  .expertise-icon { background:linear-gradient(135deg,#dbeafe,#93c5fd); color:#1d4ed8; }
.expertise-card:nth-child(2)  .expertise-icon { background:linear-gradient(135deg,#ede9fe,#c4b5fd); color:#6d28d9; }
.expertise-card:nth-child(3)  .expertise-icon { background:linear-gradient(135deg,#d1fae5,#6ee7b7); color:#047857; }
.expertise-card:nth-child(4)  .expertise-icon { background:linear-gradient(135deg,#fef9c3,#fde047); color:#b45309; }
.expertise-card:nth-child(5)  .expertise-icon { background:linear-gradient(135deg,#fce7f3,#f9a8d4); color:#be185d; }
.expertise-card:nth-child(6)  .expertise-icon { background:linear-gradient(135deg,#cffafe,#67e8f9); color:#0e7490; }
.expertise-card:nth-child(7)  .expertise-icon { background:linear-gradient(135deg,#e0e7ff,#a5b4fc); color:#3730a3; }
.expertise-card:nth-child(8)  .expertise-icon { background:linear-gradient(135deg,#fee2e2,#fca5a5); color:#b91c1c; }
.expertise-card:nth-child(9)  .expertise-icon { background:linear-gradient(135deg,#f0fdf4,#86efac); color:#166534; }
.expertise-card:nth-child(10) .expertise-icon { background:linear-gradient(135deg,#fff7ed,#fdba74); color:#c2410c; }
.timeline-dot { color:white; font-size:0.95rem; }
.timeline-item:nth-child(1) .timeline-dot { background:linear-gradient(135deg,#f59e0b,#fbbf24); }
.timeline-item:nth-child(2) .timeline-dot { background:linear-gradient(135deg,#7c3aed,#a78bfa); }
.timeline-item:nth-child(3) .timeline-dot { background:linear-gradient(135deg,#ea580c,#fb923c); }
.timeline-item:nth-child(4) .timeline-dot { background:linear-gradient(135deg,#0891b2,#22d3ee); }
.timeline-item:nth-child(5) .timeline-dot { background:linear-gradient(135deg,#db2777,#f472b6); }
.timeline-item:nth-child(6) .timeline-dot { background:linear-gradient(135deg,#16a34a,#4ade80); }
.timeline-item:nth-child(7) .timeline-dot { background:linear-gradient(135deg,#ca8a04,#fbbf24); }
.timeline-item:nth-child(8) .timeline-dot { background:linear-gradient(135deg,#2563eb,#60a5fa); }
.milestone-icon { font-size:2rem; margin-bottom:0.75rem; }
.milestone-card:nth-child(1) .milestone-icon { color:#f97316; }
.milestone-card:nth-child(2) .milestone-icon { color:#7c3aed; }
.milestone-card:nth-child(3) .milestone-icon { color:#059669; }
.milestone-card:nth-child(4) .milestone-icon { color:#2563eb; }
.ach-check i { color:#ffd700; }
.journey-card-icon { font-size:1.8rem; margin-bottom:0.75rem; }
.journey-card:nth-child(1) .journey-card-icon { color:#fbbf24; }
.journey-card:nth-child(2) .journey-card-icon { color:#c4b5fd; }
.journey-card:nth-child(3) .journey-card-icon { color:#6ee7b7; }
.role-pill:nth-child(1) i { color:#e11d48; }
.role-pill:nth-child(2) i { color:#7c3aed; }
.role-pill:nth-child(3) i { color:#059669; }
.role-pill:nth-child(4) i { color:#0891b2; }
.nav-logo i, .footer-logo i { color:#f4a732; }
.deco-compass i { color:#f59e0b; }
.deco-anchor  i { color:#4a90d9; }
.deco-hat     i { color:#db2777; }
.intro-badge i { color:#ffd700; }
.contact-detail:nth-child(2) .contact-detail-icon i { color:#e11d48; }
.contact-detail:nth-child(3) .contact-detail-icon i { color:#5865f2; }

/* ── EXPERTISE HOVER CONTENT (Space Optimized) ── */
.expertise-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 180px; /* Fixed smaller height */
  padding: 1.5rem;
}
.expertise-hover-content {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(74,144,217,0.2);
}
.expertise-card:hover .expertise-hover-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* Reduce default spacing when hidden */
.expertise-icon { transition: all 0.4s ease; }
.expertise-card:hover .expertise-icon {
  transform: scale(0.9);
  opacity: 0.1;
}

/* ── CHOPPER SUCCESS POPUP ── */
.chopper-popup {
  position: fixed;
  bottom: -200px;
  right: 20px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chopper-popup.active {
  bottom: 20px;
  opacity: 1;
  visibility: visible;
}

.chopper-popup-inner {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem 1.5rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 10px 40px rgba(74,144,217,0.3);
  border: 3px solid var(--accent);
}

.chopper-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  background: var(--sky-light);
  animation: chopperBounce 2s infinite ease-in-out;
}

@keyframes chopperBounce {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

.chopper-text h3 {
  font-family: 'Outfit', sans-serif;
  color: var(--ocean-blue);
  margin-bottom: 0.2rem;
  font-size: 1.3rem;
}

.chopper-text p {
  font-size: 0.95rem;
  color: var(--text-mid);
  margin: 0;
}

@media (max-width: 768px) {
  .chopper-popup {
    left: 20px;
    right: 20px;
  }
  .chopper-popup-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

/* ── 15. ART GALLERY ───────────────────────────────────────── */
#gallery {
  padding: 0 0 3.5rem;
  background: var(--sky-light);
}

.gallery-marquee {
  width: 100%;
  overflow: hidden;
  padding: 1.5rem 0;
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  margin-top: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: scrollMarquee 20s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.marquee-item img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.5);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease, box-shadow 0.3s ease;
  transform: scale(0.8);
  opacity: 0.5;
}

/* Scroll-triggered zoom-in entry */
.gallery-marquee.visible .marquee-item img {
  transform: scale(1);
  opacity: 1;
}

.marquee-item:hover img {
  transform: scale(1.1) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,0.6);
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 1.5rem)); }
}



