@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light dark;
  --bg: #f2f6f3;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: #ffffff;
  --surface-muted: #edf2ec;
  --text: #102018;
  --muted: #55665d;
  --line: rgba(16, 32, 24, 0.1);
  --accent: #1d7a57;
  --accent-strong: #0f5d40;
  --accent-glow: rgba(48, 199, 123, 0.18);
  --shadow: 0 24px 60px rgba(20, 43, 31, 0.12);

  /* Gradient Tokens */
  --bg-gradient-accent: rgba(196, 230, 214, 0.65);
  --hero-gradient-1: rgba(173, 226, 197, 0.85);
  --hero-gradient-2: rgba(156, 211, 240, 0.65);
  --hero-gradient-bg: rgba(255, 255, 255, 0.95);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0f0c;
    --surface: rgba(16, 32, 24, 0.74);
    --surface-strong: #102018;
    --surface-muted: #1a2b22;
    --text: #eef4ef;
    --muted: #a1b2a7;
    --line: rgba(255, 255, 255, 0.08);
    --accent: #30c77b;
    --accent-strong: #1d7a57;
    --accent-glow: rgba(48, 199, 123, 0.3);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);

    /* Gradient Tokens */
    --bg-gradient-accent: rgba(45, 120, 85, 0.25);
    --hero-gradient-1: rgba(29, 122, 87, 0.25);
    --hero-gradient-2: rgba(24, 60, 43, 0.35);
    --hero-gradient-bg: #102018;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at top left, var(--bg-gradient-accent), transparent 22%),
    linear-gradient(180deg, var(--bg) 0%, var(--surface-muted) 52%, var(--bg) 100%);
  color: var(--text);
}




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

.page {
  margin: 0 auto;
  max-width: 100%;
  padding: 28px 5% 72px;
}

.hero-section {
  position: relative;
  height: 95vh;
  overflow: hidden;
  margin-top: 4px;
  max-height: calc(100vh - 10%) !important;
  padding: 0;
  border-radius: 36px;
  background:
    radial-gradient(circle at top left, var(--hero-gradient-1), transparent 32%),
    radial-gradient(circle at bottom right, var(--hero-gradient-2), transparent 26%),
    linear-gradient(145deg, var(--hero-gradient-bg), var(--surface-muted));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}



.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.8;
}

.hero-orb-one {
  width: 180px;
  height: 180px;
  top: -60px;
  right: -1%;
  background: rgba(255, 255, 255, 0.05);
}

.hero-orb-two {
  width: 240px;
  height: 240px;
  bottom: -110px;
  left: -40px;
  background: var(--accent-glow);
}

.hero-brand-icon {
  position: relative;
  z-index: 10;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.hero-brand-icon:hover {
  transform: scale(1.05);
}

.hero-brand-icon img {
  max-width: 100px;
  height: auto;
  object-fit: contain;
  /* Counter-rotate the feather to make it upright and recognizable */
  transform: rotate(-45deg);
  animation: brand-neon-glow 2.8s ease-in-out infinite;
}


.hero-main {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 45%;
  gap: 0;
  align-items: stretch;
  align-self: stretch;
  padding-top: 0;
  min-height: inherit;
}

.hero-copy {
  position: relative;
  transform: translateY(-15%);
  display: flex;
  flex-direction: column;
  gap: 3em;
  justify-content: center;
  padding: 64px 48px;
}



.hero-topline {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.eyebrow,
.section-kicker,
.card-eyebrow,
.spotlight-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(17, 31, 24, 0.08);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 600;
}

@media (prefers-color-scheme: dark) {
  .status-pill {
    background: rgba(255, 255, 255, 0.05); /* Slightly lighter for visibility */
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
}

.status-pill::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #30c77b;
  box-shadow: 0 0 0 6px rgba(48, 199, 123, 0.18);
}

.hero-headline h1 {
  margin: 0;
  max-width: 10ch;
  font-size: 180px;
  line-height: 0.95;
  letter-spacing: -0.01em;
}

.hero-role {
  margin: 0;
  max-width: 720px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.45;
  color: var(--muted);
}

.subtitle {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

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

.btn {
  text-decoration: none;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background-color 0.2s ease,
    border-color 0.2s ease;
  padding: 0.9rem 1.35rem;
  font-size: 0.95rem;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  box-shadow: 0 18px 32px rgba(29, 122, 87, 0.26);
}

.btn.ghost {
  border: 1px solid rgba(16, 32, 24, 0.1);
  color: var(--text);
  background: rgba(255, 255, 255, 0.68);
}

.floating-btn {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px) scale(0.9);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.4s;
  box-shadow: 0 20px 40px rgba(29, 122, 87, 0.3);
  padding: 0.8rem 1.2rem;
  font-size: 0.85rem;
}

.floating-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(16, 32, 24, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 24px rgba(17, 31, 24, 0.06);
  transition: transform 0.18s ease, background 0.2s ease, border-color 0.2s ease;
}

@media (prefers-color-scheme: dark) {
  .social-icon {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
  }

  .social-icon:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent);
  }
}

.social-icon svg,
.social-icon i {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  fill: currentColor;
}

.social-icon:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(29, 122, 87, 0.22);
}

.social-icon-instagram:hover {
  color: #e4405f;
  border-color: rgba(228, 64, 95, 0.28);
}

.social-icon-facebook:hover {
  color: #1877f2;
  border-color: rgba(24, 119, 242, 0.28);
}

.social-icon-linkedin:hover {
  color: #0a66c2;
  border-color: rgba(10, 102, 194, 0.28);
}

.social-icon-gitlab:hover {
  color: #fc6d26;
  border-color: rgba(252, 109, 38, 0.28);
}

.social-icon-freelancer:hover {
  color: #29b2fe;
  border-color: rgba(41, 178, 254, 0.28);
}

.social-icon-fiverr:hover {
  color: #1dbf73;
  border-color: rgba(29, 191, 115, 0.28);
}

.social-icon-upwork:hover {
  color: #14a800;
  border-color: rgba(20, 168, 0, 0.28);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.stat-card {
  padding: 24px;
  border-radius: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(16px);
  text-align: left;
  display: grid;
  grid-template-areas:
    "icon value"
    "icon label";
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4px 20px;
}

.stat-icon {
  grid-area: icon;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--accent-glow);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.stat-value {
  grid-area: value;
  align-self: end;
}

.stat-label {
  grid-area: label;
  align-self: start;
}


.stat-card strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stats>div:nth-child(2) {
  transition-delay: 0.1s;
}

.hero-stats>div:nth-child(3) {
  transition-delay: 0.2s;
}

.hero-details {
  margin-top: 48px;
  display: grid;
  gap: 40px;
}

.hero-photo-card {
  padding: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.photo-frame {
  position: relative;
  border-radius: 40px;
  background: transparent;
  perspective: 1200px;
}

.hero-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.5;
  mix-blend-mode: normal;
  transition: opacity 0.3s ease;
}

.hero-photo:hover {
  opacity: 0.65;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.spotlight-grid>article:nth-child(2) {
  transition-delay: 0.15s;
}

.spotlight-card {
  position: relative;
  border-radius: 32px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.spotlight-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
}

.spotlight-icon-bg {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--accent-glow);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.spotlight-card:hover .spotlight-icon-bg {
  transform: scale(1.1) rotate(5deg);
  background: var(--accent);
  color: #fff;
}

.spotlight-card h3 {
  margin: 16px 0 10px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.spotlight-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.96rem;
  max-width: 85%;
}

.section {
  padding: 80px 0;
  margin-top: 32px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

.section-shell,
.project-grid,
.contact-card {
  border-radius: 32px;
}

.about-shell,
.skills-shell {
  padding: 28px;
}

.about-shell {
  padding: 28px 0;
  border: none;
}

.section-intro {
  display: grid;
  gap: 10px;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.about-visual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.about-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.about-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.about-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.about-item:hover .about-icon {
  transform: scale(1.1) rotate(6deg);
  background: var(--accent);
  color: #fff;
}

.about-text h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.about-text p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  opacity: 0.85;
}

.philosophy-block {
  margin-top: 40px;
  padding: 40px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.philosophy-block::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 120px;
  opacity: 0.1;
  font-family: 'Cinzel', serif;
}

.philosophy-block blockquote {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.6;
  font-style: italic;
  font-family: 'Cinzel', serif;
}

@media (max-width: 1100px) {
  .philosophy-block {
    padding: 30px 20px;
  }

  .philosophy-block blockquote {
    font-size: 1.15rem;
  }
}

.profile-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  border-radius: 28px;
  padding: 24px;
}

.card-eyebrow {
  color: var(--accent);
}

.skills-shell {
  padding: 28px;
}

.chips {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 32, 24, 0.08);
  color: #173327;
  border-radius: 999px;
  padding: 0.8rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 12px 22px rgba(17, 31, 24, 0.05);
}

@media (prefers-color-scheme: dark) {
  .chip {
    background: rgba(16, 32, 24, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #eef4ef;
  }
}

.section-head {
  margin-bottom: 16px;
  display: grid;
  gap: 8px;
}

.loading-projects {
  text-align: center;
  padding: 40px;
  color: var(--muted);
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes brand-neon-glow {
  0% {
    filter:
      drop-shadow(0 0 2px rgba(48, 199, 123, 0.45))
      drop-shadow(0 0 6px rgba(22, 163, 111, 0.22));
  }

  50% {
    filter:
      drop-shadow(0 0 4px rgba(48, 199, 123, 0.9))
      drop-shadow(0 0 11px rgba(56, 189, 248, 0.32));
  }

  100% {
    filter:
      drop-shadow(0 0 2px rgba(48, 199, 123, 0.45))
      drop-shadow(0 0 6px rgba(22, 163, 111, 0.22));
  }
}

/* Expertise Section */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.expertise-card {
  padding: 32px;
  border-radius: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(14px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.expertise-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.expertise-icon {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  background: var(--accent-glow);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.4s ease;
}

.expertise-card:hover .expertise-icon {
  background: var(--accent);
  color: #fff;
  transform: rotate(10deg);
  box-shadow: 0 0 25px var(--accent-glow);
}

.expertise-card h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.expertise-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Staggered Reveal for Expertise Cards */
.expertise-grid>div:nth-child(2) {
  transition-delay: 0.1s;
}

.expertise-grid>div:nth-child(3) {
  transition-delay: 0.2s;
}

.expertise-grid>div:nth-child(4) {
  transition-delay: 0.3s;
}

.expertise-grid>div:nth-child(5) {
  transition-delay: 0.4s;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}


.project-card {
  border-radius: 28px;
  padding: 24px;
}

.card-bordered {
  border: 1px solid var(--line) !important;
  display: flex !important;
  flex-direction: column;
}


.project-tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: rgba(29, 122, 87, 0.1);
}

.impact {
  margin-top: 16px;
  font-weight: 700;
  color: #185f44;
}

.contact-card {
  margin-top: 8px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
  background:
    radial-gradient(circle at top right, rgba(180, 228, 204, 0.65), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(237, 243, 239, 0.92));
}

@media (prefers-color-scheme: dark) {
  .contact-card {
    background:
      radial-gradient(circle at top right, rgba(29, 122, 87, 0.15), transparent 30%),
      linear-gradient(180deg, #102018, #0a0f0c);
  }
}

.contact-info {
  display: grid;
  gap: 16px;
}

.contact-methods {
  margin-top: 8px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 32px 0;
  max-width: 400px;
}

.separator::before,
.separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--line);
}

.separator span {
  padding: 0 16px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.chat-methods {
  margin-top: 8px;
}

.chat-heading {
  margin: 0 0 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.chat-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.chat-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  color: var(--text);
}

.chat-link i {
  font-size: 1.1rem;
}

.chat-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.chat-link.whatsapp i {
  color: #25D366;
}

.chat-link.telegram i {
  color: #0088CC;
}

@media (prefers-color-scheme: dark) {
  .chat-link {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
  }
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

@media (prefers-color-scheme: dark) {

  .form-group input,
  .form-group textarea {
    background: rgba(10, 20, 15, 0.6);
  }
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 4px rgba(29, 122, 87, 0.1);
}

.form-group textarea {
  resize: vertical;
}

.submit-btn {
  width: 100%;
  margin-top: 8px;
}

.form-status {
  padding: 12px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(48, 199, 123, 0.1);
  color: #1a7a4b;
  border: 1px solid rgba(48, 199, 123, 0.2);
}

.form-status.error {
  display: block;
  background: rgba(228, 64, 95, 0.1);
  color: #c21834;
  border: 1px solid rgba(228, 64, 95, 0.2);
}

#contact p {
  max-width: 100%;
}

/* Timeline Section Styles */
.timeline-container {
  position: relative;
  margin-top: 48px;
  padding-left: 32px;
}

.timeline-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--line) 100%);
  border-radius: 2px;
}

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

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

.timeline-dot {
  position: absolute;
  left: -37px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--surface-strong);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px var(--bg);
  z-index: 2;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.4);
  background: var(--accent);
}

.timeline-content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.timeline-item:hover .timeline-content {
  transform: translateX(8px);
  border-color: rgba(29, 122, 87, 0.3);
}

.timeline-date {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.timeline-content h3 {
  margin: 0 0 4px;
  font-size: 1.25rem;
}

.timeline-company {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px !important;
  font-size: 0.95rem;
  opacity: 0.9;
}

.timeline-content p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .timeline-container {
    padding-left: 24px;
  }

  .timeline-dot {
    left: -29px;
  }

  .timeline-content {
    padding: 20px;
  }
}

@media (max-width: 1100px) {

  .hero-main,
  .about-shell,
  .project-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-methods {
    flex-direction: column;
    width: 100%;
  }

  .contact-methods .btn {
    width: 100%;
  }

  .chat-links {
    flex-wrap: nowrap;
  }

  .chat-link {
    flex: 1;
    justify-content: center;
    padding: 0.7rem 0.6rem;
    font-size: 0.85rem;
  }

  .hero-section {
    border-radius: 24px;
    height: auto;
    min-height: 100vh;
    max-height: none !important;
    padding: 0;
  }

  .hero-main {
    grid-template-columns: 1fr;
    padding-top: 0;
    gap: 0;
  }

  .hero-copy {
    padding: 44px 24px 40px;
    transform: none;
    gap: 1.35rem;
    align-items: center;
    text-align: center;
  }

  .hero-headline h1 {
    font-size: clamp(3.5rem, 15vw, 5.5rem);
    width: 100%;
    max-width: none;
  }

  .hero-role {
    font-size: 1.1rem;
  }


  .hero-stats,
  .profile-grid,
  .spotlight-grid,
  .expertise-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }


  .hero-visual {
    height: 45vh;
    min-height: 350px;
    width: 100%;
  }

  .hero-photo-card {
    height: 100%;
    width: 100%;
  }

  .photo-frame {
    min-height: 240px;
  }

  .hero-photo-card {
    max-width: 100%;
    justify-self: stretch;
  }

  .hero-topline {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    width: 100%;
  }

  .hero-brand-icon {
    width: 64px;
    height: 64px;
    order: 2;
  }

  .hero-brand-icon img {
    max-width: 92px;
  }

  .hero-topline .eyebrow {
    order: 1;
  }

  .status-pill {
    order: 3;
    margin-top: 12px;
  }

}

/* Footer Styles */
.footer {
  margin-top: 80px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer .copyright {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

.footer-social-wrapper {
  display: flex;
  gap: 12px;
}

/* Slide Down Animation for Footer Socials */
.reveal-slide-down {
  opacity: 0;
  transform: translateY(-30px);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

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

/* Staggered Delays */
.footer-social-wrapper a:nth-child(1) {
  transition-delay: 0.1s;
}

.footer-social-wrapper a:nth-child(2) {
  transition-delay: 0.2s;
}

.footer-social-wrapper a:nth-child(3) {
  transition-delay: 0.3s;
}

.footer-social-wrapper a:nth-child(4) {
  transition-delay: 0.4s;
}

.footer-social-wrapper a:nth-child(5) {
  transition-delay: 0.5s;
}

@media (max-width: 768px) {
  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
  }
}

.chips.smaller {
  margin-top: 12px;
}

.chips.smaller .chip {
  padding: 0.45rem 0.8rem;
  font-size: 0.82rem;
  box-shadow: 0 4px 10px var(--line);
}

.impact {
  color: var(--accent);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.form-status {
  padding: 12px;
  border-radius: 12px;
  background: var(--surface-muted);
  color: var(--text);
  font-size: 0.9rem;
}
