:root {
  --bg: #0F172A;
  --surface: #1E293B;
  --accent: #14B8A6;
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --border-soft: rgba(148, 163, 184, 0.2);
  --shadow-soft: 0 10px 28px rgba(2, 8, 23, 0.28);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: radial-gradient(circle at top right, rgba(20, 184, 166, 0.08), transparent 32%), var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
}

main {
  overflow: hidden;
}

.section-padding {
  padding: 7rem 0;
}

.text-secondary-custom {
  color: var(--text-secondary);
}

.navbar {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.navbar-brand {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.navbar .nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  margin-left: 0.75rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--accent);
}

.hero-section {
  min-height: 100vh;
  padding-top: 6.5rem;
}

.hero-title,
.section-title,
h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
}

.hero-title {
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  line-height: 1.15;
}

.hero-subtitle {
  color: var(--accent);
  font-weight: 600;
}

.hero-text {
  max-width: 620px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(20, 184, 166, 0.14);
  color: var(--accent);
  border: 1px solid rgba(20, 184, 166, 0.45);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.portrait-wrap {
  width: min(380px, 82vw);
  aspect-ratio: 1 / 1;
  position: relative;
}

.portrait-glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.46), rgba(20, 184, 166, 0.1) 55%, transparent 72%);
  filter: blur(8px);
}

.portrait-image {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(20, 184, 166, 0.55);
  box-shadow: var(--shadow-soft);
}

.btn {
  border-radius: 999px;
  padding: 0.72rem 1.3rem;
  font-weight: 600;
}

.btn-accent {
  background: var(--accent);
  color: #0a1727;
  border: 1px solid var(--accent);
}

.btn-accent:hover {
  background: #18d1bd;
  border-color: #18d1bd;
  color: #05211d;
}

.btn-outline-accent {
  border: 1px solid rgba(20, 184, 166, 0.75);
  color: var(--accent);
}

.btn-outline-accent:hover {
  background: rgba(20, 184, 166, 0.14);
  color: #7ff5e7;
}

.quick-highlights {
  padding: 1.15rem 0 3.3rem;
}

.highlight-item {
  height: 100%;
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
}

.highlight-item i {
  font-size: 1.25rem;
  color: var(--accent);
}

.section-heading {
  margin-bottom: 1.4rem;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.77rem;
  color: var(--accent);
  margin-bottom: 0.65rem;
  font-weight: 700;
}

.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  max-width: 760px;
  color: var(--text-secondary);
}

.premium-card {
  background: linear-gradient(160deg, rgba(30, 41, 59, 0.96), rgba(30, 41, 59, 0.82));
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 1.55rem;
  box-shadow: 0 10px 22px rgba(2, 8, 23, 0.18);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.premium-card:hover {
  transform: translateY(-5px);
  border-color: rgba(20, 184, 166, 0.52);
  box-shadow: var(--shadow-soft);
}

.premium-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.premium-card p,
.premium-card li {
  color: var(--text-secondary);
}

.premium-card ul {
  margin-bottom: 0;
  padding-left: 1.1rem;
}

.skill-card {
  text-align: left;
}

.skill-card i {
  color: var(--accent);
  font-size: 1.6rem;
  margin-bottom: 0.65rem;
  display: inline-block;
}

.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 0.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 4px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(var(--accent), rgba(20, 184, 166, 0.2));
}

.timeline-item {
  position: relative;
  padding-left: 4.15rem;
  margin-bottom: 2.45rem;
}

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

.timeline-dot {
  position: absolute;
  left: 9px;
  top: 0.45rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid rgba(15, 23, 42, 0.95);
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(20, 184, 166, 0.2);
}

.timeline-date {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.case-image {
  width: 100%;
  height: 180px;
  border-radius: 14px;
  margin-bottom: 1rem;
  background:
    linear-gradient(120deg, rgba(20, 184, 166, 0.2), transparent),
    linear-gradient(160deg, #334155, #1f2937);
  border: 1px solid rgba(148, 163, 184, 0.22);
  display: grid;
  place-items: center;
  color: #c6d5e7;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.contact-card {
  text-align: left;
}

.contact-list p {
  margin-bottom: 0.8rem;
  color: var(--text-secondary);
}

.contact-list i {
  color: var(--accent);
  margin-right: 0.55rem;
}

.contact-list a {
  color: #cde8ff;
  text-decoration: none;
}

.contact-list a:hover {
  color: #f5ffff;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.social-links a {
  color: var(--text-secondary);
  font-size: 1.3rem;
  line-height: 1;
  transition: color 0.28s ease, transform 0.28s ease, text-shadow 0.28s ease;
}

.social-links a:hover {
  color: var(--accent);
  transform: translateY(-2px);
  text-shadow: 0 0 12px rgba(20, 184, 166, 0.68);
}

.site-footer {
  padding: 60px 20px;
  background: #0F172A;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  gap: 18px;
}

.footer-copy {
  color: #CBD5E1;
  flex: 1;
  text-align: left;
}

.footer-social {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
}

.footer-social a {
  color: var(--text-secondary);
  font-size: 1.3rem;
  line-height: 1;
  transition: color 0.28s ease, transform 0.28s ease, text-shadow 0.28s ease;
}

.footer-social a:hover {
  color: var(--accent);
  transform: translateY(-2px);
  text-shadow: 0 0 12px rgba(20, 184, 166, 0.68);
}

.designer-credit {
  color: #94A3B8;
  font-size: 14px;
  flex: 1;
  text-align: right;
}

.designer-link {
  color: #14B8A6;
  text-decoration: none;
}

.designer-link:hover {
  color: #2DD4BF;
}

.link-icon {
  margin-left: 6px;
  font-size: 12px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }

  .footer-copy,
  .designer-credit {
    text-align: center;
    flex: unset;
  }

  .footer-social {
    justify-content: center;
  }
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 991.98px) {
  .navbar .nav-link {
    margin-left: 0;
  }

  .section-padding {
    padding: 6rem 0;
  }

  .hero-section {
    min-height: auto;
    padding-top: 7.2rem;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 5rem 0;
  }

  .quick-highlights {
    padding: 1rem 0 2.6rem;
  }

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

  .timeline-dot {
    left: 4px;
    width: 20px;
    height: 20px;
  }

  .timeline-item {
    padding-left: 3.15rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .premium-card,
  .social-links a,
  .btn {
    transition: none;
  }
}




