/* ═══════════════════════════════════════════════════════════════
   styles.css — Frutiger Aero Portfolio Styles
   ─────────────────────────────────────────────────────────────────
   Sections:
     1. Design Tokens (CSS variables)
     2. Reset & Base
     3. Background Scene
     4. Layout & Glass Panels
     5. Navigation
     6. Hero
     7. Skills Bar
     8. Section Headers
     9. About
    10. Experience
    11. Projects
    12. Contact & Footer
    13. Animations & Transitions
    14. Responsive
   ═══════════════════════════════════════════════════════════════ */


/* ── 1. DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  --aqua:              #00c8e8;
  --aqua-deep:         #0096b4;
  --aqua-glow:         rgba(0, 200, 232, 0.35);
  --sky:               #6dd5fa;
  --sky-pale:          #c8f0fb;
  --green-aero:        #52d68a;

  --white-glass:       rgba(255, 255, 255, 0.62);
  --white-glass-strong:rgba(255, 255, 255, 0.82);
  --glass-border:      rgba(255, 255, 255, 0.75);
  --glass-shadow:      0 8px 32px rgba(0, 150, 200, 0.22), 0 2px 8px rgba(0, 0, 0, 0.08);

  --text-dark:         #0a2540;
  --text-mid:          #1d4e6e;
  --text-muted:        #4a7a96;
}


/* ── 2. RESET & BASE ──────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Nunito', sans-serif;
  background: #0a1f35;
  color: var(--text-dark);
  min-height: 100vh;
  overflow-x: hidden;
}


/* ── 3. BACKGROUND SCENE ──────────────────────────────────────── */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 120% 80% at 20% 10%, #0d4f8a 0%, transparent 55%),
    radial-gradient(ellipse 100% 70% at 80%  5%, #0a7aa8 0%, transparent 50%),
    radial-gradient(ellipse  80% 60% at 50% 80%, #052d52 0%, transparent 60%),
    linear-gradient(180deg, #0a2f55 0%, #062040 40%, #031525 100%);
}

.bg-scene::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 30% at 30% 60%, rgba(0, 200, 232, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 25% at 70% 35%, rgba(109, 213, 250, 0.14) 0%, transparent 55%);
}

/* Soft glowing orbs */
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orbDrift 12s ease-in-out infinite alternate;
}
.orb1 {
  width: 500px; height: 350px;
  top: -80px; left: -100px;
  background: radial-gradient(ellipse, rgba(0, 200, 232, 0.22) 0%, transparent 70%);
  animation-duration: 14s;
}
.orb2 {
  width: 400px; height: 300px;
  top: 30%; right: -80px;
  background: radial-gradient(ellipse, rgba(82, 214, 138, 0.16) 0%, transparent 70%);
  animation-duration: 18s;
  animation-delay: -5s;
}
.orb3 {
  width: 600px; height: 200px;
  bottom: 15%; left: 10%;
  background: radial-gradient(ellipse, rgba(0, 150, 180, 0.20) 0%, transparent 70%);
  animation-duration: 20s;
  animation-delay: -9s;
}

/* Rising bubbles */
.bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.55), rgba(255,255,255,0.08) 60%, transparent);
  border: 1px solid rgba(255, 255, 255, 0.35);
  animation: bubbleFloat linear infinite;
}


/* ── 4. LAYOUT & GLASS PANELS ─────────────────────────────────── */
.page {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.glass {
  background: var(--white-glass);
  backdrop-filter: blur(18px) saturate(1.8);
  -webkit-backdrop-filter: blur(18px) saturate(1.8);
  border: 1.5px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 24px;
}

.glass-dark {
  background: rgba(10, 30, 55, 0.62);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1.5px solid rgba(0, 200, 232, 0.30);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.07);
  border-radius: 24px;
}


/* ── 5. NAVIGATION ────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 16px;
  z-index: 100;
  margin: 24px 0 0;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px) saturate(2);
  -webkit-backdrop-filter: blur(24px) saturate(2);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 24px rgba(0, 150, 200, 0.18), 0 1px 4px rgba(0,0,0,0.08);
  border-radius: 100px;
}

.nav-logo {
  font-family: 'Exo 2', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #0096b4, #00c8e8, #52d68a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links { display: flex; gap: 8px; }

.nav-links a {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-mid);
  text-decoration: none;
  padding: 6px 16px;
  border-radius: 100px;
  transition: all 0.2s;
  letter-spacing: 0.2px;
}
.nav-links a:hover {
  background: linear-gradient(135deg, rgba(0,200,232,0.15), rgba(0,150,180,0.10));
  color: var(--aqua-deep);
}

.nav-cta {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: white !important;
  background: linear-gradient(135deg, #0096b4, #00c8e8) !important;
  padding: 8px 20px !important;
  box-shadow: 0 2px 12px rgba(0, 200, 232, 0.4);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 200, 232, 0.55) !important;
}


/* ── 6. HERO ──────────────────────────────────────────────────── */
#hero {
  margin-top: 48px;
  padding: 64px 56px 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(0, 200, 232, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Availability badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--aqua-deep);
  background: linear-gradient(135deg, rgba(0,200,232,0.15), rgba(82,214,138,0.10));
  border: 1.5px solid rgba(0, 200, 232, 0.35);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green-aero);
  box-shadow: 0 0 8px rgba(82, 214, 138, 0.8);
  animation: pulse 2s ease-in-out infinite;
}

.hero-name {
  font-family: 'Exo 2', sans-serif;
  font-size: 60px;
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -2px;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.hero-name span {
  background: linear-gradient(135deg, #0066aa, #0096b4, #00c8e8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 32px;
}

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

/* Shared button base */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary {
  color: white;
  background: linear-gradient(135deg, #0078a8, #00a8cc, #00c8e8);
  box-shadow: 0 4px 20px rgba(0, 200, 232, 0.45), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 200, 232, 0.55), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-secondary {
  color: var(--text-mid);
  background: rgba(255, 255, 255, 0.6);
  border: 1.5px solid rgba(0, 180, 220, 0.30);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 200, 232, 0.5);
}

/* Photo orb */
.hero-photo-wrap { position: relative; width: 260px; flex-shrink: 0; }

.hero-photo-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 232, 0.30) 0%, transparent 70%);
  animation: glowPulse 3s ease-in-out infinite;
}

.hero-photo-ring {
  position: relative;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,200,232,0.5), rgba(82,214,138,0.3), rgba(0,150,200,0.4));
  padding: 4px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.5),
    0 8px 40px rgba(0, 200, 232, 0.35),
    inset 0 0 20px rgba(255,255,255,0.15);
}

.hero-photo-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #d0eef8 0%, #a8dcf0 40%, #c8f0e8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.7);
}
.hero-photo-inner img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Placeholder shown when no photo is set */
.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.photo-placeholder svg   { width: 90px; height: 90px; opacity: 0.5; }
.photo-placeholder span  {
  font-size: 11px; font-weight: 700;
  color: var(--text-muted);
  text-align: center; line-height: 1.4; padding: 0 20px;
}

/* Floating skill chips around photo */
.photo-badge {
  position: absolute;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,0.9);
  box-shadow: 0 4px 16px rgba(0, 150, 200, 0.20);
  border-radius: 16px;
  padding: 8px 14px;
  font-size: 12px; font-weight: 700;
  color: var(--text-mid);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }


/* ── 7. SKILLS BAR ────────────────────────────────────────────── */
#skills-bar {
  margin-top: 20px;
  padding: 28px 40px;
}

.skills-grid { display: flex; flex-wrap: wrap; gap: 10px; }

.skill-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px; font-weight: 700;
  color: var(--text-dark);
  background: rgba(255,255,255,0.75);
  border: 1.5px solid rgba(255,255,255,0.9);
  box-shadow: 0 2px 10px rgba(0,150,200,0.12), inset 0 1px 0 rgba(255,255,255,0.8);
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: default;
}
.skill-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,150,200,0.22), inset 0 1px 0 rgba(255,255,255,0.8);
}
.skill-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }


/* ── 8. SECTION HEADERS ───────────────────────────────────────── */
.section-header {
  margin: 64px 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-label {
  font-family: 'Exo 2', sans-serif;
  font-size: 28px; font-weight: 800;
  color: white;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.section-line {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(0,200,232,0.5), transparent);
  border-radius: 2px;
}
.section-line.rtl {
  background: linear-gradient(90deg, transparent, rgba(0,200,232,0.3));
}

.section-num {
  font-family: 'Exo 2', sans-serif;
  font-size: 12px; font-weight: 800;
  color: var(--aqua);
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.7;
}


/* ── 9. ABOUT ─────────────────────────────────────────────────── */
#about { padding: 44px 48px; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-text p {
  font-size: 16px; font-weight: 400;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: var(--text-dark); font-weight: 700; }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.stat-card {
  padding: 20px;
  background: linear-gradient(135deg, rgba(0,200,232,0.08), rgba(82,214,138,0.06));
  border: 1.5px solid rgba(0, 200, 232, 0.20);
  border-radius: 16px;
  text-align: center;
}
.stat-number {
  font-family: 'Exo 2', sans-serif;
  font-size: 36px; font-weight: 800;
  color: var(--aqua-deep);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 12px; font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}


/* ── 10. EXPERIENCE ───────────────────────────────────────────── */
.exp-list { display: flex; flex-direction: column; gap: 20px; }

.exp-card {
  padding: 28px 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  position: relative;
  overflow: hidden;
}
.exp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  border-radius: 4px 0 0 4px;
}
.exp-card.current::before { background: linear-gradient(180deg, #00c8e8, #52d68a); }
.exp-card.past::before    { background: linear-gradient(180deg, #0096b4, #005a8a); }

.exp-logo {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  overflow: hidden;
  position: relative;
}

/* Gradient background only on letter avatars */
.exp-logo.c1 { background: linear-gradient(135deg, #0078a8, #00c8e8); }
.exp-logo.c2 { background: linear-gradient(135deg, #2d8a5a, #52d68a); }
.exp-logo.c3 { background: linear-gradient(135deg, #5a3da8, #9b72e8); }

/* White background when showing a real logo image */
.exp-logo.has-image { background: white; }

/* Uploaded logo image */
.exp-logo img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 7px;
  display: block;
}

/* Letter fallback — hidden by default when image loads, shown on error */
.exp-logo-fallback {
  font-family: 'Exo 2', sans-serif;
  font-size: 16px; font-weight: 800;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
}
.exp-logo.has-image .exp-logo-fallback { display: none; }

.exp-role    { font-size: 18px; font-weight: 800; color: var(--text-dark); margin-bottom: 2px; }
.exp-company { font-size: 14px; font-weight: 700; color: var(--aqua-deep); margin-bottom: 4px; }

.exp-meta {
  display: flex;
  gap: 12px;
  font-size: 12px; font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  margin-bottom: 12px;
}
.exp-meta span { display: flex; align-items: center; gap: 4px; }

.exp-desc { font-size: 14px; line-height: 1.7; color: var(--text-muted); margin-bottom: 14px; }

.exp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.exp-tag {
  font-size: 11px; font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(0, 200, 232, 0.10);
  color: var(--aqua-deep);
  border: 1px solid rgba(0, 200, 232, 0.25);
}


/* ── 11. PROJECTS ─────────────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.project-card {
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s;
}
.project-card:hover { transform: translateY(-4px); }

.project-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  border-radius: 0 24px 0 120px;
  opacity: 0.08;
}
.project-card.type-ml::after   { background: linear-gradient(135deg, #9b72e8, #5a3da8); }
.project-card.type-web::after  { background: linear-gradient(135deg, #00c8e8, #0078a8); }
.project-card.type-data::after { background: linear-gradient(135deg, #52d68a, #2d8a5a); }

.project-thumbnail {
  width: 100%;
  height: 160px;
  border-radius: 14px;
  margin-bottom: 18px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

/* Uploaded promo art — fills the whole thumbnail */
.project-thumbnail img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Gradient placeholder shown when image is null */
.project-thumbnail-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Decorative rings on the placeholder */
.project-thumbnail-placeholder::before,
.project-thumbnail-placeholder::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.10);
}
.project-thumbnail-placeholder::before {
  width: 130px; height: 130px;
  bottom: -35px; right: -35px;
}
.project-thumbnail-placeholder::after {
  width: 180px; height: 180px;
  bottom: -65px; right: -65px;
}

.project-thumbnail-icon {
  font-size: 52px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
  line-height: 1;
}

.project-name {
  font-family: 'Exo 2', sans-serif;
  font-size: 19px; font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.project-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.project-tags  { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.project-tag   { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 100px; }
.project-tag.blue   { background: rgba(0,200,232,0.10);   color: #0078a8; border: 1px solid rgba(0,200,232,0.25);   }
.project-tag.purple { background: rgba(155,114,232,0.10); color: #5a3da8; border: 1px solid rgba(155,114,232,0.25); }
.project-tag.green  { background: rgba(82,214,138,0.12);  color: #2d8a5a; border: 1px solid rgba(82,214,138,0.25);  }

.project-links { display: flex; gap: 10px; }
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px; font-weight: 800;
  padding: 6px 14px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.15s;
}
.project-link.primary {
  background: linear-gradient(135deg, rgba(0,150,180,0.15), rgba(0,200,232,0.10));
  color: var(--aqua-deep);
  border: 1.5px solid rgba(0,200,232,0.30);
}
.project-link.primary:hover {
  background: linear-gradient(135deg, rgba(0,150,180,0.25), rgba(0,200,232,0.18));
}
.project-link.secondary {
  color: var(--text-muted);
  border: 1.5px solid rgba(0,0,0,0.10);
}
.project-link.secondary:hover { color: var(--text-dark); border-color: rgba(0,0,0,0.2); }


/* ── 12. CONTACT & FOOTER ─────────────────────────────────────── */
#contact {
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(0,200,232,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.contact-heading {
  font-family: 'Exo 2', sans-serif;
  font-size: 38px; font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.contact-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 24px;
  border-radius: 16px;
  text-decoration: none;
  font-size: 14px; font-weight: 700;
  color: var(--text-mid);
  background: rgba(255,255,255,0.6);
  border: 1.5px solid rgba(255,255,255,0.85);
  box-shadow: 0 2px 12px rgba(0,150,200,0.12);
  transition: all 0.2s;
}
.contact-link:hover {
  background: rgba(255,255,255,0.88);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,150,200,0.20);
}
.contact-link svg { width: 20px; height: 20px; flex-shrink: 0; }

footer {
  text-align: center;
  padding: 32px;
  color: rgba(255,255,255,0.35);
  font-size: 13px; font-weight: 600;
}


/* ── 13. ANIMATIONS & TRANSITIONS ────────────────────────────── */
@keyframes orbDrift {
  0%   { transform: translate(0,    0)    scale(1);    }
  100% { transform: translate(40px, 30px) scale(1.08); }
}

@keyframes bubbleFloat {
  0%   { transform: translateY(110vh) scale(0.8); opacity: 0;   }
  10%  { opacity: 1; }
  90%  { opacity: 0.7; }
  100% { transform: translateY(-10vh)  scale(1.1); opacity: 0; }
}

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

@keyframes glowPulse {
  0%, 100% { opacity: 0.8; transform: scale(1);    }
  50%       { opacity: 1;   transform: scale(1.05); }
}

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


/* ── 14. RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 768px) {
  #hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 28px;
  }
  #hero > div:first-child { order: 2; }
  .hero-photo-wrap         { order: 1; margin: 0 auto; }
  .hero-name               { font-size: 42px; }
  .hero-btns               { justify-content: center; }
  .about-grid              { grid-template-columns: 1fr; }
  .nav-links               { display: none; }
  #about, #contact         { padding: 32px 28px; }
  .exp-card                { padding: 20px 24px; }
  .contact-heading         { font-size: 28px; }
  #skills-bar              { padding: 20px 24px; }
}