/* ============================================================
   CREATIVE PORTFOLIO — Elegant Light Theme
   Palette: #FBFFE4 (cream) · #B3D8A8 (sage) · #3D8D7A (teal)
   ============================================================ */

/* ===== DESIGN TOKENS ===== */
:root {
  --cream: #FBFFE4;
  --cream-deep: #f2f7d4;
  --sage: #B3D8A8;
  --sage-light: #d4eacc;
  --sage-pale: #e6f3e0;
  --teal: #3D8D7A;
  --teal-dark: #2b6b5c;
  --teal-deep: #1e4f44;

  --bg-primary: var(--cream);
  --bg-secondary: #f5f9e0;
  --bg-card: rgba(179, 216, 168, 0.12);
  --bg-card-hover: rgba(179, 216, 168, 0.22);
  --border-subtle: rgba(61, 141, 122, 0.1);
  --border-medium: rgba(61, 141, 122, 0.18);

  --text-heading: #1a3a2a;
  --text-body: #2a5040;
  --text-muted: #6a9a7a;

  --shadow-sm: 0 2px 8px rgba(61, 141, 122, 0.06);
  --shadow-md: 0 4px 24px rgba(61, 141, 122, 0.08);
  --shadow-lg: 0 12px 48px rgba(61, 141, 122, 0.1);
  --shadow-glow: 0 0 30px rgba(61, 141, 122, 0.15);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container-max: 1100px;
  --nav-height: 72px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.35s var(--ease);
  --transition-slow: 0.6s var(--ease);
}

/* ===== RESET ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 88%;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.3s; }
.reveal:nth-child(6) { transition-delay: 0.36s; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(251, 255, 228, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--border-subtle), var(--shadow-sm);
}

.navbar > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.5px;
}

.nav-logo span {
  color: var(--teal);
}

.nav-links {
  display: flex;
  gap: 2.2rem;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 0;
  position: relative;
  letter-spacing: 0.2px;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: width var(--transition), left var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
  left: 0;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.3px;
}

.btn svg { flex-shrink: 0; }

.btn-primary {
  background: var(--teal);
  color: var(--cream);
  box-shadow: 0 4px 16px rgba(61, 141, 122, 0.3);
}

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(61, 141, 122, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--border-medium);
}

.btn-outline:hover {
  border-color: var(--teal);
  background: rgba(61, 141, 122, 0.06);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* ===== SECTION COMMON ===== */
section {
  padding: 110px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--teal-deep);
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: var(--sage);
  border-radius: 3px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 460px;
  margin: 20px auto 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== PROFILE / HERO ===== */
#profile {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 40px);
  overflow: hidden;
  position: relative;
  background: var(--bg-primary);
}

/* Decorative floating shapes */
.float-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.6;
  pointer-events: none;
  animation: floatShape 18s ease-in-out infinite alternate;
}

.float-shape-1 {
  width: 400px;
  height: 400px;
  background: var(--sage-light);
  top: 5%;
  left: -8%;
}

.float-shape-2 {
  width: 320px;
  height: 320px;
  background: rgba(61, 141, 122, 0.1);
  bottom: 10%;
  right: 0;
  animation-delay: -6s;
}

.float-shape-3 {
  width: 220px;
  height: 220px;
  background: var(--sage-pale);
  top: 55%;
  left: 35%;
  animation-delay: -12s;
}

@keyframes floatShape {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(25px, -18px) scale(1.06); }
  100% { transform: translate(-18px, 12px) scale(0.96); }
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.greeting {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
  position: relative;
  padding-left: 40px;
}

.greeting::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.profile-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text-heading);
  margin-bottom: 20px;
}

.profile-text h1 span {
  color: var(--teal);
}

.tagline {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

.bio {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 440px;
  margin-bottom: 36px;
  line-height: 1.85;
}

.profile-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Profile photo — elegant framing */
.profile-photo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.profile-photo-wrapper::before {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px dashed var(--sage);
  animation: spinSlow 40s linear infinite;
}

.profile-photo-wrapper::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(179, 216, 168, 0.25);
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.profile-photo-frame {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--teal), var(--sage));
  z-index: 1;
  box-shadow:
    0 8px 32px rgba(61, 141, 122, 0.15),
    0 0 0 12px rgba(179, 216, 168, 0.12);
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--cream);
}

/* ===== SKILLS ===== */
#skills {
  background: var(--bg-secondary);
  position: relative;
}

#skills::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sage), transparent);
}

.skills-category {
  margin-bottom: 48px;
}

.skills-category:last-child {
  margin-bottom: 0;
}

.skills-category h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.skills-category h3::before {
  content: '';
  width: 4px;
  height: 22px;
  background: var(--teal);
  border-radius: 4px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}

.skill-card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.skill-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(61, 141, 122, 0.04), rgba(179, 216, 168, 0.06));
  opacity: 0;
  transition: opacity var(--transition);
}

.skill-card:hover {
  transform: translateY(-8px);
  border-color: var(--sage);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.skill-card:hover::after {
  opacity: 1;
}

.skill-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(179, 216, 168, 0.3), rgba(61, 141, 122, 0.08));
  border-radius: 14px;
  transition: all var(--transition);
}

.skill-card:hover .skill-icon {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  box-shadow: 0 4px 16px rgba(61, 141, 122, 0.25);
  transform: scale(1.08);
}

.skill-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--teal);
  transition: fill var(--transition);
}

.skill-card:hover .skill-icon svg {
  fill: var(--cream);
}

.skill-card h4 {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-heading);
  position: relative;
  z-index: 1;
}

/* ===== PORTFOLIO ===== */
#portfolio {
  background: var(--bg-primary);
  position: relative;
}

#portfolio::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sage), transparent);
}

/* Tabs */
.portfolio-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 44px;
  background: rgba(179, 216, 168, 0.15);
  border-radius: var(--radius-full);
  padding: 4px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-tab {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.portfolio-tab:hover {
  color: var(--teal);
}

.portfolio-tab.active {
  background: var(--teal);
  color: var(--cream);
  box-shadow: 0 2px 12px rgba(61, 141, 122, 0.25);
}

/* Content switching */
.portfolio-content {
  display: none;
}

.portfolio-content.active {
  display: block;
  animation: fadeInUp 0.5s var(--ease);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.portfolio-card {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: block;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: var(--sage);
  box-shadow: var(--shadow-lg);
}

.portfolio-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}

.portfolio-card:hover .portfolio-thumb img {
  transform: scale(1.06);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 79, 68, 0.9) 0%, rgba(30, 79, 68, 0.15) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 4px;
}

.portfolio-overlay p {
  font-size: 0.8rem;
  color: var(--sage-light);
}

/* Play button */
.play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all var(--transition);
}

.portfolio-card:hover .play-btn {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.3);
}

.play-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--cream);
  margin-left: 3px;
}

.portfolio-info {
  padding: 20px 24px;
}

.portfolio-info h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.portfolio-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===== EXPERIENCE / TIMELINE ===== */
#experience {
  background: var(--bg-secondary);
  position: relative;
}

#experience::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sage), transparent);
}

.timeline {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  padding-left: 44px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal), var(--sage-light));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -37px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid var(--bg-secondary);
  box-shadow: 0 0 0 3px rgba(61, 141, 122, 0.2);
  z-index: 1;
  transition: all var(--transition);
}

.timeline-item:hover .timeline-dot {
  box-shadow: 0 0 0 5px rgba(61, 141, 122, 0.15), 0 0 16px rgba(61, 141, 122, 0.2);
  transform: scale(1.3);
  background: var(--teal-dark);
}

.timeline-content {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px 30px;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}

.timeline-item:hover .timeline-content {
  border-color: var(--sage);
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
}

.timeline-year {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal);
  background: rgba(61, 141, 122, 0.08);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.timeline-content h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
  line-height: 1.4;
}

.timeline-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== CONTACT ===== */
#contact {
  background: var(--bg-primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sage), transparent);
}

#contact::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(179, 216, 168, 0.2), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.contact-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 28px;
}

.contact-link {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  position: relative;
}

.contact-link::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -34px;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: var(--shadow-sm);
  transition: opacity var(--transition), transform var(--transition);
}

.contact-link:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.contact-link svg {
  width: 24px;
  height: 24px;
  fill: var(--text-muted);
  transition: fill var(--transition), transform var(--transition);
}

.contact-link:hover {
  transform: translateY(-6px);
  border-color: var(--teal);
  background: var(--teal);
  box-shadow: 0 8px 24px rgba(61, 141, 122, 0.2);
}

.contact-link:hover svg {
  fill: var(--cream);
  transform: scale(1.1);
}

.contact-email {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.contact-email a {
  color: var(--teal);
  font-weight: 600;
  position: relative;
  transition: color var(--transition);
}

.contact-email a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--teal);
  transition: width var(--transition);
}

.contact-email a:hover {
  color: var(--teal-dark);
}

.contact-email a:hover::after {
  width: 100%;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--teal-deep);
  padding: 28px 0;
  text-align: center;
}

.footer p {
  font-size: 0.82rem;
  color: rgba(251, 255, 228, 0.6);
  letter-spacing: 0.3px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .profile-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile-text { order: 2; }
  .profile-photo-wrapper { order: 1; }

  .profile-photo-frame {
    width: 260px;
    height: 260px;
  }

  .profile-photo-wrapper::before {
    width: 300px;
    height: 300px;
  }

  .profile-photo-wrapper::after {
    width: 340px;
    height: 340px;
  }

  .greeting {
    justify-content: center;
  }

  .bio {
    margin-left: auto;
    margin-right: auto;
  }

  .profile-buttons {
    justify-content: center;
  }

  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(251, 255, 228, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 100px 32px 40px;
    gap: 0;
    transition: right var(--transition);
    border-left: 1px solid var(--border-subtle);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.06);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  section {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 44px;
  }

  .skills-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }

  .skill-card {
    padding: 22px 14px;
  }

  .timeline {
    padding-left: 36px;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-dot {
    left: -33px;
    width: 10px;
    height: 10px;
  }

  .timeline-content {
    padding: 22px 24px;
  }

  .contact-link {
    width: 50px;
    height: 50px;
  }

  .contact-link svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 480px) {
  .profile-photo-frame {
    width: 200px;
    height: 200px;
  }

  .profile-photo-wrapper::before {
    width: 240px;
    height: 240px;
  }

  .profile-photo-wrapper::after {
    width: 270px;
    height: 270px;
  }

  .profile-text h1 {
    font-size: 2.2rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.85rem;
  }

  .portfolio-tabs {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
}
