/* =========================================================
   TECH PRINCE — PERSONAL PORTFOLIO
   Main stylesheet
========================================================= */

/* =========================================================
    DESIGN TOKENS
========================================================= */

:root {
  --bg: #030712;
  --bg-soft: #07101f;
  --bg-deep: #02050c;

  --surface: rgba(10, 24, 48, 0.72);
  --surface-solid: #081326;
  --surface-light: rgba(255, 255, 255, 0.035);

  --blue: #168cff;
  --blue-bright: #20b8ff;

  --purple: #8b45ff;
  --purple-light: #b36bff;

  --gold: #f5b83d;
  --gold-light: #ffd66b;

  --text: #f4f7ff;
  --text-soft: #b6c0d3;
  --text-muted: #758198;

  --border: rgba(255, 255, 255, 0.09);

  --container: 1180px;
  --nav-height: 74px;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 32px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
    RESET
========================================================= */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  min-width: 320px;

  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(22, 140, 255, 0.035),
      transparent 25%
    ),
    radial-gradient(
      circle at 85% 40%,
      rgba(139, 69, 255, 0.04),
      transparent 28%
    ),
    var(--bg);

  color: var(--text);

  font-family: "DM Sans", Arial, sans-serif;

  line-height: 1.5;

  overflow-x: hidden;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

ul,
ol {
  list-style: none;
}

/* =========================================================
    GLOBAL STRUCTURE
========================================================= */

.section {
  position: relative;

  padding: 120px 0;

  overflow: hidden;
}

.section-container {
  width: min(92%, var(--container));

  margin-inline: auto;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;

  color: var(--blue-bright);

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-label span {
  width: 35px;
  height: 1px;

  background: linear-gradient(90deg, var(--blue), transparent);
}

.section-heading {
  margin-bottom: 65px;
}

.section-heading h2,
.about-heading h2,
.leadership-intro h2,
.building-content h2,
.contact-content h2 {
  margin-top: 18px;

  font-family: "Space Grotesk", Arial, sans-serif;

  font-size: clamp(40px, 5vw, 62px);
  font-weight: 700;

  line-height: 1.05;

  letter-spacing: -2.5px;
}

.section-heading h2 span,
.about-heading h2 span,
.leadership-intro h2 span,
.building-content h2 span,
.contact-content h2 span {
  display: block;

  background: linear-gradient(100deg, var(--purple-light), var(--blue-bright));

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}

.section-heading p {
  max-width: 560px;

  margin-top: 20px;

  color: var(--text-soft);

  font-size: 16px;

  line-height: 1.8;
}

/* =========================================================
    NAVBAR
========================================================= */

.navbar {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: var(--nav-height);

  z-index: 2000;

  background: rgba(3, 7, 18, 0.78);

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.nav-container {
  width: min(92%, 1240px);
  height: 100%;

  margin-inline: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;
}

/* ---------- Brand ---------- */

.brand {
  flex-shrink: 0;

  display: flex;
  align-items: center;

  gap: 10px;

  font-family: "Space Grotesk", sans-serif;

  font-size: 15px;
  font-weight: 700;

  letter-spacing: 0.5px;
}

.brand-mark {
  width: 52px;
  height: 50px;

  display: grid;
  place-items: center;

  border-radius: 10px;

  color: white;

  /* font-size: 10px;
  font-weight: 800; */

  /* background: linear-gradient(135deg, var(--purple), var(--blue)); */

  box-shadow: 0 0 25px rgba(87, 77, 255, 0.3);
}

.brand img {
  width: 38px;
  height: 38px;

  object-fit: contain;
}

/* ---------- Desktop links ---------- */

.nav-links {
  display: flex;
  align-items: center;

  gap: clamp(18px, 2.5vw, 30px);
}

.nav-links a {
  position: relative;

  color: var(--text-muted);

  font-size: 13px;
  font-weight: 500;

  white-space: nowrap;

  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: white;
}

.nav-links a.active::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -10px;

  width: 100%;
  height: 2px;

  border-radius: 20px;

  background: linear-gradient(90deg, var(--purple), var(--blue));
}

/* ---------- Navbar CTA ---------- */

.nav-button {
  flex-shrink: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  min-height: 40px;

  padding: 9px 17px;

  border: 1px solid rgba(139, 69, 255, 0.65);

  border-radius: 30px;

  font-size: 12px;
  font-weight: 600;

  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

.nav-button span {
  font-size: 14px;

  transition: transform 0.3s ease;
}

.nav-button:hover {
  transform: translateY(-2px);

  background: rgba(139, 69, 255, 0.12);

  border-color: var(--purple-light);
}

.nav-button:hover span {
  transform: translate(2px, -2px);
}

/* =========================================================
    MOBILE MENU
========================================================= */

.menu-toggle {
  display: none;

  width: 42px;
  height: 42px;

  flex-shrink: 0;

  align-items: center;
  justify-content: center;

  flex-direction: column;

  gap: 5px;

  border: 1px solid rgba(255, 255, 255, 0.12);

  border-radius: 12px;

  background: rgba(255, 255, 255, 0.04);

  color: white;
}

.menu-toggle span {
  width: 18px;
  height: 2px;

  border-radius: 20px;

  background: white;

  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.menu-toggle:hover {
  border-color: var(--purple);

  background: rgba(139, 69, 255, 0.1);
}

/* ---------- Mobile panel ---------- */

.mobile-menu {
  position: fixed;

  top: 0;
  right: 0;

  width: min(88%, 390px);
  height: 100dvh;

  z-index: 2200;

  display: flex;
  flex-direction: column;

  padding: 25px;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(139, 69, 255, 0.2),
      transparent 35%
    ),
    linear-gradient(180deg, #07101f, #030712);

  border-left: 1px solid rgba(255, 255, 255, 0.1);

  transform: translateX(100%);

  visibility: hidden;

  transition:
    transform 0.45s var(--ease),
    visibility 0.45s ease;
}

.mobile-menu.open {
  transform: translateX(0);

  visibility: visible;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding-bottom: 25px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-close {
  width: 40px;
  height: 40px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.12);

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.04);

  color: white;

  font-size: 24px;

  transition:
    transform 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.menu-close:hover {
  color: var(--gold);

  border-color: var(--gold);

  transform: rotate(90deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;

  margin-top: 30px;
}

.mobile-nav a {
  display: flex;
  align-items: center;

  gap: 16px;

  padding: 17px 5px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);

  color: var(--text-soft);

  font-family: "Space Grotesk", sans-serif;

  font-size: 19px;
  font-weight: 600;

  transition:
    color 0.3s ease,
    padding-left 0.3s ease;
}

.mobile-nav a span {
  width: 25px;

  color: var(--text-muted);

  font-family: "DM Sans", sans-serif;

  font-size: 10px;
}

.mobile-nav a:hover {
  padding-left: 12px;

  color: white;
}

.mobile-nav a:hover span {
  color: var(--gold);
}

.mobile-contact {
  margin-top: auto;

  padding: 16px 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-radius: 15px;

  background: linear-gradient(100deg, var(--purple), var(--blue));

  font-size: 13px;
  font-weight: 700;

  box-shadow: 0 15px 40px rgba(68, 77, 255, 0.2);
}

/* ---------- Overlay ---------- */

.menu-overlay {
  position: fixed;

  inset: 0;

  z-index: 2100;

  background: rgba(0, 0, 0, 0.65);

  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* =========================================================
    HERO
========================================================= */

.hero {
  position: relative;

  min-height: 100vh;

  display: flex;
  align-items: center;

  padding: calc(var(--nav-height) + 50px) 0 80px;

  background:
    radial-gradient(
      circle at 78% 42%,
      rgba(73, 65, 255, 0.17),
      transparent 30%
    ),
    radial-gradient(circle at 10% 20%, rgba(0, 132, 255, 0.11), transparent 27%);
}

.hero-container {
  width: min(92%, var(--container));

  margin-inline: auto;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  align-items: center;

  gap: 65px;
}

.hero-content {
  position: relative;

  z-index: 5;
}

.eyebrow {
  display: flex;
  align-items: center;

  gap: 10px;

  color: var(--blue-bright);

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 2px;
  text-transform: uppercase;
}

.eyebrow span {
  width: 25px;
  height: 2px;

  background: var(--blue);
}

.hero h1 {
  margin-top: 20px;

  font-family: "Space Grotesk", sans-serif;

  font-size: clamp(55px, 7vw, 90px);
  font-weight: 700;

  line-height: 0.94;

  letter-spacing: -5px;
}

.hero h1 strong {
  display: block;

  font-weight: 700;

  background: linear-gradient(
    100deg,
    #ffffff 5%,
    var(--purple-light) 48%,
    var(--blue-bright)
  );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}

.hero-role {
  display: flex;
  align-items: center;

  flex-wrap: wrap;

  gap: 12px;

  margin-top: 27px;

  font-size: 17px;
  font-weight: 600;
}

.hero-role span {
  color: var(--gold);
}

.hero-content > p {
  max-width: 570px;

  margin-top: 22px;

  color: var(--text-soft);

  font-size: 16px;

  line-height: 1.85;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;

  gap: 14px;

  margin-top: 32px;
}

/* =========================================================
    BUTTONS
========================================================= */

.button {
  min-height: 48px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  padding: 13px 22px;

  border-radius: 30px;

  font-size: 13px;
  font-weight: 700;

  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

.primary-button {
  background: linear-gradient(100deg, var(--purple), var(--blue));

  box-shadow: 0 12px 35px rgba(68, 77, 255, 0.25);
}

.primary-button:hover {
  transform: translateY(-4px);

  box-shadow: 0 18px 45px rgba(68, 77, 255, 0.38);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.17);

  background: rgba(255, 255, 255, 0.025);
}

.secondary-button:hover {
  transform: translateY(-4px);

  color: var(--gold-light);

  border-color: var(--gold);

  background: rgba(245, 184, 61, 0.04);
}

/* =========================================================
    HERO PORTRAIT
========================================================= */

.hero-portrait {
  position: relative;

  min-height: 600px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait-frame {
  position: relative;

  width: min(400px, 83%);

  aspect-ratio: 4 / 5;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.13);

  border-radius: 45% 45% 18% 18%;

  background: #10182a;

  z-index: 5;

  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
}

.portrait-frame::before {
  content: "";

  position: absolute;

  inset: 0;

  z-index: 2;

  background: linear-gradient(
    135deg,
    rgba(139, 69, 255, 0.08),
    transparent 40%
  );

  pointer-events: none;
}

.portrait-frame::after {
  content: "";

  position: absolute;

  inset: 0;

  z-index: 3;

  background: linear-gradient(180deg, transparent 58%, rgba(3, 7, 18, 0.68));

  pointer-events: none;
}

.portrait-frame img {
  width: 110%;
  height: 100%;

  object-fit: cover;

  object-position: center 27%;

  transform: scale(1.07);

  transition: transform 0.9s var(--ease);
}

.portrait-frame:hover img {
  transform: scale(1.13);
}

.portrait-glow {
  position: absolute;

  width: 360px;
  height: 360px;

  border-radius: 50%;

  background: linear-gradient(135deg, var(--purple), var(--blue));

  filter: blur(90px);

  opacity: 0.3;

  z-index: 1;
}

.portrait-orbit {
  position: absolute;

  width: 500px;
  height: 220px;

  border-radius: 50%;

  border: 2px solid;

  transform: rotate(-25deg);

  z-index: 3;

  pointer-events: none;
}

.orbit-one {
  border-color: rgba(139, 69, 255, 0.7);

  animation: orbitFloat 7s ease-in-out infinite;
}

.orbit-two {
  width: 560px;
  height: 260px;

  border-color: rgba(22, 140, 255, 0.55);

  transform: rotate(25deg);

  animation: orbitFloat 9s ease-in-out infinite reverse;
}

.crown {
  position: absolute;

  top: 55px;
  right: 18%;

  z-index: 8;

  color: var(--gold-light);

  font-size: 54px;

  transform: rotate(-8deg);

  filter: drop-shadow(0 5px 20px rgba(245, 184, 61, 0.35));

  animation: crownFloat 4s ease-in-out infinite;
}

.floating-tag {
  position: absolute;

  z-index: 10;

  display: flex;
  align-items: center;

  gap: 9px;

  padding: 11px 15px;

  border: 1px solid rgba(255, 255, 255, 0.1);

  border-radius: 12px;

  background: rgba(6, 14, 30, 0.86);

  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);

  color: var(--text-soft);

  font-size: 11px;
  font-weight: 600;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.floating-tag span {
  color: var(--gold);
}

.tag-one {
  left: 2%;
  top: 32%;

  animation: floating 5s ease-in-out infinite;
}

.tag-two {
  right: 0;
  bottom: 23%;

  animation: floating 6s ease-in-out infinite reverse;
}

.scroll-indicator {
  position: absolute;

  bottom: 28px;
  left: 50%;

  transform: translateX(-50%);

  display: flex;
  align-items: center;

  gap: 15px;

  color: var(--text-muted);

  font-size: 9px;

  letter-spacing: 2px;
}

.scroll-indicator div {
  width: 45px;
  height: 1px;

  background: linear-gradient(90deg, var(--blue), transparent);
}

/* =========================================================
    ABOUT
========================================================= */

.about-section {
  background: radial-gradient(
    circle at 80% 30%,
    rgba(100, 54, 255, 0.08),
    transparent 30%
  );
}

.about-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  align-items: start;

  gap: 100px;
}

.about-heading h2 {
  font-size: clamp(40px, 5vw, 65px);
}

.about-text p {
  margin-bottom: 20px;

  color: var(--text-soft);

  font-size: 16px;

  line-height: 1.85;
}

.about-text .large-text {
  color: white;

  font-size: 21px;
  font-weight: 600;
}

.about-cards {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 15px;

  margin-top: 70px;
}

.info-card {
  padding: 25px;

  border: 1px solid var(--border);

  border-radius: var(--radius-md);

  background: var(--surface);

  transition:
    transform 0.4s var(--ease),
    border-color 0.4s ease;
}

.info-card:hover {
  transform: translateY(-8px);

  border-color: rgba(139, 69, 255, 0.45);
}

.card-icon {
  display: block;

  margin-bottom: 30px;

  color: var(--purple-light);

  font-size: 22px;
}

.info-card h3 {
  font-size: 15px;
}

.info-card p {
  margin-top: 5px;

  color: var(--text-soft);

  font-size: 13px;
  font-weight: 600;
}

.info-card small {
  display: block;

  margin-top: 5px;

  color: var(--text-muted);

  font-size: 11px;
}

/* =========================================================
    JOURNEY / TIMELINE
========================================================= */

.journey-section {
  background: linear-gradient(180deg, var(--bg), #050b19, var(--bg));
}

.timeline {
  position: relative;

  width: 100%;

  margin-top: 90px;

  display: grid;

  grid-template-columns: repeat(5, minmax(0, 1fr));

  gap: 24px;

  padding-bottom: 40px;
}

/* ---------- Desktop line ---------- */

.timeline-line {
  position: absolute;

  top: 9px;
  left: 3%;
  right: 3%;

  height: 2px;

  border-radius: 20px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(139, 69, 255, 0.75),
    rgba(99, 102, 241, 0.85),
    rgba(245, 184, 61, 0.65),
    transparent
  );

  opacity: 0.75;

  z-index: 0;
}

/* ---------- Timeline item ---------- */

.timeline-item {
  position: relative;

  min-width: 0;

  z-index: 1;

  transition: transform 0.35s ease;
}

.timeline-item:hover {
  transform: translateY(-5px);
}

/* ---------- Year ---------- */

.timeline-year {
  margin-bottom: 23px;

  color: var(--gold-light);

  font-family: "Space Grotesk", sans-serif;

  font-size: 14px;
  font-weight: 700;

  line-height: 1;

  letter-spacing: 1px;
}

/* ---------- Dot ---------- */

.timeline-dot {
  position: relative;

  width: 20px;
  height: 20px;

  margin-bottom: 25px;

  border: 5px solid var(--bg);

  border-radius: 50%;

  background: linear-gradient(135deg, var(--purple), var(--blue));

  box-shadow:
    0 0 0 1px rgba(126, 105, 255, 0.65),
    0 0 18px rgba(101, 84, 255, 0.35);

  z-index: 3;
}

.timeline-item:hover .timeline-dot {
  box-shadow:
    0 0 0 1px rgba(126, 105, 255, 0.9),
    0 0 28px rgba(101, 84, 255, 0.55);
}

/* ---------- Timeline content ---------- */

.timeline-content {
  width: 100%;
  min-width: 0;

  padding-right: 8px;

  overflow-wrap: break-word;
}

.timeline-content > span {
  display: block;

  margin-bottom: 9px;

  color: var(--blue-bright);

  font-size: 9px;
  font-weight: 700;

  line-height: 1.4;

  letter-spacing: 1.6px;
}

.timeline-content h3 {
  max-width: 100%;

  font-family: "Space Grotesk", sans-serif;

  font-size: 18px;
  font-weight: 700;

  line-height: 1.35;

  overflow-wrap: anywhere;
}

.timeline-content p {
  max-width: 100%;

  margin-top: 12px;

  color: var(--text-muted);

  font-size: 13px;

  line-height: 1.7;

  overflow-wrap: break-word;
}

/* =========================================================
    EXPERIENCE
========================================================= */

.experience-section {
  position: relative;
}

.experience-card {
  display: grid;

  grid-template-columns: 100px minmax(0, 1fr);

  gap: 40px;

  padding: 55px;

  border: 1px solid rgba(139, 69, 255, 0.25);

  border-radius: var(--radius-xl);

  background:
    radial-gradient(
      circle at 90% 20%,
      rgba(22, 140, 255, 0.12),
      transparent 35%
    ),
    var(--surface);

  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.experience-number {
  color: var(--gold);

  font-family: "Space Grotesk", sans-serif;

  font-size: 18px;
}

.experience-type {
  color: var(--blue-bright);

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 2px;
}

.experience-main h3 {
  margin-top: 10px;

  font-family: "Space Grotesk", sans-serif;

  font-size: clamp(28px, 4vw, 36px);

  line-height: 1.2;
}

.experience-meta {
  margin-top: 10px;

  color: var(--text-muted);

  font-size: 13px;

  line-height: 1.7;
}

.experience-meta span {
  margin: 0 8px;

  color: var(--gold);
}

.experience-main > p {
  max-width: 700px;

  margin-top: 25px;

  color: var(--text-soft);

  line-height: 1.8;
}

.experience-list {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 15px;

  margin-top: 30px;
}

.experience-list div {
  color: var(--text-soft);

  font-size: 13px;

  line-height: 1.6;
}

.experience-list span {
  margin-right: 8px;

  color: var(--gold);
}

/* =========================================================
    LEADERSHIP
========================================================= */

.leadership-section {
  background: radial-gradient(
    circle at 15% 50%,
    rgba(139, 69, 255, 0.1),
    transparent 30%
  );
}

.leadership-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.8fr)
    minmax(0, 1.2fr);

  gap: 90px;

  align-items: center;
}

.leadership-intro p {
  max-width: 480px;

  margin-top: 25px;

  color: var(--text-soft);

  line-height: 1.8;
}

.leadership-feature {
  padding: 40px;

  border: 1px solid rgba(139, 69, 255, 0.3);

  border-radius: var(--radius-lg);

  background: linear-gradient(
    135deg,
    rgba(139, 69, 255, 0.16),
    rgba(22, 140, 255, 0.08)
  );
}

.gold-symbol {
  margin-bottom: 25px;

  color: var(--gold);

  font-size: 25px;
}

.leadership-feature > span {
  color: var(--blue-bright);

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 2px;
}

.leadership-feature h3 {
  margin-top: 10px;

  font-family: "Space Grotesk", sans-serif;

  font-size: clamp(27px, 4vw, 34px);

  line-height: 1.2;
}

.leadership-feature p {
  margin-top: 15px;

  color: var(--text-soft);

  line-height: 1.7;
}

.leadership-small-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 12px;

  margin-top: 12px;
}

.leadership-small {
  padding: 20px;

  border: 1px solid var(--border);

  border-radius: 17px;

  background: rgba(255, 255, 255, 0.025);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease;
}

.leadership-small:hover {
  transform: translateY(-5px);

  border-color: rgba(139, 69, 255, 0.35);
}

.leadership-small span {
  color: var(--gold);

  font-size: 10px;
}

.leadership-small h4 {
  margin-top: 20px;

  font-size: 14px;
}

.leadership-small p {
  margin-top: 7px;

  color: var(--text-muted);

  font-size: 11px;

  line-height: 1.6;
}

/* =========================================================
    SKILLS
========================================================= */

.skills-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 18px;
}

.skill-card {
  position: relative;

  min-height: 390px;

  padding: 35px;

  overflow: hidden;

  border: 1px solid var(--border);

  border-radius: var(--radius-lg);

  background: var(--surface);

  transition:
    transform 0.4s var(--ease),
    border-color 0.4s ease;
}

.skill-card::before {
  content: "";

  position: absolute;

  width: 180px;
  height: 180px;

  top: -70px;
  right: -70px;

  border-radius: 50%;

  filter: blur(40px);

  opacity: 0.18;

  pointer-events: none;
}

.skill-card.clinical::before {
  background: var(--blue);
}

.skill-card.personal::before {
  background: var(--purple);
}

.skill-card.technical::before {
  background: var(--gold);
}

.skill-card:hover {
  transform: translateY(-10px);

  border-color: rgba(255, 255, 255, 0.18);
}

.skill-icon {
  width: 48px;
  height: 48px;

  display: grid;
  place-items: center;

  margin-bottom: 40px;

  border-radius: 14px;

  background: rgba(255, 255, 255, 0.06);

  color: var(--blue-bright);

  font-size: 19px;
}

.skill-card > span {
  color: var(--text-muted);

  font-size: 11px;
}

.skill-card h3 {
  margin-top: 10px;

  font-family: "Space Grotesk", sans-serif;

  font-size: 28px;
}

.skill-card em {
  display: inline-block;

  margin-top: 5px;

  color: var(--gold);

  font-size: 10px;

  font-style: normal;
}

.skill-list {
  margin-top: 25px;
}

.skill-list p {
  padding: 9px 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.05);

  color: var(--text-soft);

  font-size: 13px;
}

/* =========================================================
    CURRENTLY BUILDING
========================================================= */

.building-section {
  padding-top: 50px;
}

.building-card {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  min-height: 420px;

  overflow: hidden;

  border: 1px solid rgba(22, 140, 255, 0.25);

  border-radius: var(--radius-xl);

  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(139, 69, 255, 0.15),
      transparent 40%
    ),
    var(--surface);
}

.building-content {
  padding: 60px;

  display: flex;
  flex-direction: column;

  justify-content: center;
}

.building-content p {
  max-width: 500px;

  margin-top: 25px;

  color: var(--text-soft);

  line-height: 1.8;
}

.status {
  display: flex;
  align-items: center;

  gap: 9px;

  margin-top: 30px;

  color: var(--gold-light);

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 1.5px;
}

.status span {
  width: 8px;
  height: 8px;

  flex-shrink: 0;

  border-radius: 50%;

  background: var(--gold);

  box-shadow: 0 0 15px var(--gold);

  animation: pulse 2s infinite;
}

.building-visual {
  min-width: 0;

  display: grid;
  place-items: center;

  padding: 30px;

  background: linear-gradient(
    135deg,
    rgba(22, 140, 255, 0.09),
    rgba(139, 69, 255, 0.13)
  );
}

/* ---------- Code window ---------- */

.code-window {
  width: min(75%, 520px);

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.1);

  border-radius: 15px;

  background: #050a14;

  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);

  transform: rotate(3deg);

  transition: transform 0.5s ease;
}

.code-window:hover {
  transform: rotate(0) translateY(-8px);
}

.window-top {
  padding: 13px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.window-top i {
  display: inline-block;

  width: 7px;
  height: 7px;

  margin-right: 5px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.25);
}

.code-lines {
  padding: 30px;

  display: flex;
  flex-direction: column;

  gap: 12px;

  overflow-x: auto;

  font-family: monospace;

  font-size: 13px;

  color: var(--blue-bright);
}

.code-lines span:nth-child(2) {
  color: var(--purple-light);
}

.code-lines span:nth-child(3) {
  color: var(--gold);
}

.code-lines span:nth-child(4) {
  color: white;
}

/* =========================================================
    CONTACT
========================================================= */

.contact-section {
  position: relative;

  min-height: 650px;

  display: grid;
  place-items: center;

  text-align: center;
}

.contact-glow {
  position: absolute;

  width: min(600px, 80vw);
  height: 300px;

  border-radius: 50%;

  background: linear-gradient(90deg, var(--purple), var(--blue));

  filter: blur(120px);

  opacity: 0.14;
}

.contact-content {
  position: relative;

  z-index: 2;
}

.contact-content .section-label {
  justify-content: center;
}

.contact-content h2 {
  max-width: 850px;

  margin: 25px auto 0;

  font-size: clamp(45px, 7vw, 80px);
}

.contact-content p {
  max-width: 550px;

  margin: 25px auto;

  color: var(--text-soft);

  line-height: 1.8;
}

.contact-buttons {
  display: flex;
  justify-content: center;

  flex-wrap: wrap;

  gap: 15px;

  margin-top: 30px;
}
.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-height: 52px;
  padding: 0 22px;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;

  color: #ffffff;
  text-decoration: none;

  background: rgba(255, 255, 255, 0.04);

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.contact-button:hover {
  transform: translateY(-4px);
}

.whatsapp-button:hover {
  border-color: rgba(37, 211, 102, 0.7);
  background: rgba(37, 211, 102, 0.08);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.12);
}

.instagram-button:hover {
  border-color: rgba(225, 48, 108, 0.7);
  background: rgba(225, 48, 108, 0.08);
}

.linkedin-button:hover {
  border-color: rgba(10, 102, 194, 0.7);
  background: rgba(10, 102, 194, 0.08);
}

/* =========================================================
   FOOTER
========================================================= */

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);

  padding: 25px 0;
}

.footer-container {
  width: min(92%, var(--container));

  margin-inline: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;
}

.footer-container p {
  color: var(--text-muted);

  font-size: 11px;
}

.footer-links {
  display: flex;
  align-items: center;

  gap: 8px;
}

.footer-links a {
  width: 35px;
  height: 35px;

  display: grid;
  place-items: center;

  border: 1px solid var(--border);

  border-radius: 50%;

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}

.footer-links a:hover {
  transform: translateY(-3px);

  border-color: var(--blue);

  color: var(--blue);
}

/* =========================================================
    SCROLL REVEAL ANIMATIONS
========================================================= */

.reveal {
  animation: revealUp linear both;

  animation-timeline: view();

  animation-range: entry 10% cover 35%;
}

.reveal-left {
  animation: revealLeft linear both;

  animation-timeline: view();

  animation-range: entry 10% cover 35%;
}

.reveal-right {
  animation: revealRight linear both;

  animation-timeline: view();

  animation-range: entry 10% cover 35%;
}

.reveal-scale {
  animation: revealScale linear both;

  animation-timeline: view();

  animation-range: entry 5% cover 30%;
}

.whatsapp-float {
  position: fixed;
  right: 25px;
  bottom: 35px;

  width: 58px;
  height: 58px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: #25d366;
  color: #ffffff;

  font-size: 25px;
  text-decoration: none;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);

  z-index: 999;

  animation: whatsappPulse 2.5s infinite;
}

@keyframes whatsappPulse {
  0%,
  100% {
    box-shadow:
      0 12px 30px rgba(0, 0, 0, 0.3),
      0 0 0 0 rgba(37, 211, 102, 0.35);
  }

  50% {
    box-shadow:
      0 12px 30px rgba(0, 0, 0, 0.3),
      0 0 0 10px rgba(37, 211, 102, 0);
  }
}

/* @media (max-width: 600px) {
  .whatsapp-float {
    right: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
    font-size: 22px;
  }
} */

/* =========================================================
    KEYFRAMES
========================================================= */

@keyframes revealUp {
  from {
    opacity: 0;

    transform: translateY(55px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

@keyframes revealLeft {
  from {
    opacity: 0;

    transform: translateX(-60px);
  }

  to {
    opacity: 1;

    transform: translateX(0);
  }
}

@keyframes revealRight {
  from {
    opacity: 0;

    transform: translateX(60px);
  }

  to {
    opacity: 1;

    transform: translateX(0);
  }
}

@keyframes revealScale {
  from {
    opacity: 0;

    transform: scale(0.9);
  }

  to {
    opacity: 1;

    transform: scale(1);
  }
}

@keyframes floating {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes crownFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-8deg);
  }

  50% {
    transform: translateY(-8px) rotate(-4deg);
  }
}

@keyframes orbitFloat {
  0%,
  100% {
    transform: rotate(-25deg) scale(1);
  }

  50% {
    transform: rotate(-20deg) scale(1.04);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;

    transform: scale(1);
  }

  50% {
    opacity: 0.45;

    transform: scale(0.7);
  }
}

/* =========================================================
    LARGE TABLET / SMALL DESKTOP
   1100px — 901px
========================================================= */

@media (max-width: 1100px) and (min-width: 901px) {
  .nav-links {
    gap: 18px;
  }

  .nav-links a {
    font-size: 12px;
  }

  .nav-button {
    padding-inline: 14px;

    font-size: 11px;
  }

  .hero-container {
    gap: 35px;
  }

  .hero h1 {
    font-size: clamp(55px, 7vw, 76px);
  }

  .hero-portrait {
    min-height: 540px;
  }

  .portrait-frame {
    width: min(390px, 82%);
  }

  .about-grid {
    gap: 60px;
  }

  .leadership-grid {
    gap: 55px;
  }

  .skill-card {
    padding: 28px;
  }

  .skill-card h3 {
    font-size: 24px;
  }
}

/* =========================================================
    TABLET
   900px AND BELOW
========================================================= */

@media (max-width: 900px) {
  :root {
    --nav-height: 70px;
  }

  /* ---------- Navbar ---------- */

  .nav-links,
  .nav-button {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  /* ---------- Global ---------- */

  .section {
    padding: 95px 0;
  }

  .section-heading {
    margin-bottom: 50px;
  }

  /* ---------- Hero ---------- */

  .hero {
    min-height: auto;

    padding: 125px 0 75px;
  }

  .hero-container {
    grid-template-columns: 1fr;

    gap: 55px;
  }

  .hero-content {
    text-align: center;
  }

  .eyebrow {
    justify-content: center;
  }

  .hero-role {
    justify-content: center;
  }

  .hero-content > p {
    margin-inline: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-portrait {
    min-height: 520px;
  }

  /* ---------- Portrait ---------- */

  .portrait-frame {
    width: min(430px, 75%);
  }

  .portrait-orbit {
    width: min(500px, 90vw);
  }

  .orbit-two {
    width: min(560px, 100vw);
  }

  .floating-tag {
    display: none;
  }

  .crown {
    right: 12%;
  }

  /* ---------- About ---------- */

  .about-grid {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  .about-cards {
    margin-top: 45px;
  }

  /* =====================================================
     JOURNEY — MOBILE STRUCTURE
     
     This is deliberately defined from scratch.

     Column 1 = timeline dot
     Column 2 = all content

     This prevents the 2027 item from escaping
     the timeline layout.
  ===================================================== */

  .timeline {
    display: flex;

    flex-direction: column;

    gap: 0;

    width: 100%;

    margin-top: 60px;

    padding-bottom: 20px;
  }

  .timeline-line {
    top: 0;
    bottom: 0;

    left: 9px;

    right: auto;

    width: 2px;
    height: auto;

    background: linear-gradient(
      180deg,
      rgba(139, 69, 255, 0.1),
      rgba(139, 69, 255, 0.75),
      rgba(99, 102, 241, 0.75),
      rgba(245, 184, 61, 0.6),
      rgba(139, 69, 255, 0.1)
    );
  }

  .timeline-item {
    position: relative;

    width: 100%;

    min-width: 0;

    display: grid;

    grid-template-columns:
      28px
      minmax(0, 1fr);

    column-gap: 16px;

    margin: 0 0 45px;

    padding: 0;

    transform: none;
  }

  .timeline-item:last-child {
    margin-bottom: 0;
  }

  /*
     The timeline's horizontal reveal animations
     are disabled on mobile.

     This is intentional.

     Horizontal transforms on the whole timeline item
     can create visual displacement/overlap on small screens.
  */

  .timeline-item.reveal-left,
  .timeline-item.reveal-right {
    animation-name: revealUp;

    transform: none;
  }

  .timeline-dot {
    grid-column: 1;
    grid-row: 1 / span 2;

    align-self: start;

    width: 20px;
    height: 20px;

    margin: 0;

    border-width: 5px;
  }

  .timeline-year {
    grid-column: 2;
    grid-row: 1;

    width: 100%;

    margin: 0 0 10px;

    font-size: 14px;

    line-height: 1.2;
  }

  .timeline-content {
    grid-column: 2;
    grid-row: 2;

    width: 100%;

    min-width: 0;

    padding: 0;

    overflow: visible;
  }

  .timeline-content > span {
    margin-bottom: 8px;

    font-size: 8px;

    letter-spacing: 1.5px;
  }

  .timeline-content h3 {
    width: 100%;
    max-width: 100%;

    font-size: 19px;

    line-height: 1.4;

    overflow-wrap: anywhere;
  }

  .timeline-content p {
    width: 100%;
    max-width: 100%;

    margin-top: 10px;

    font-size: 13px;

    line-height: 1.75;

    overflow-wrap: break-word;
  }

  /* ---------- Experience ---------- */

  .experience-card {
    padding: 45px;

    gap: 30px;
  }

  /* ---------- Leadership ---------- */

  .leadership-grid {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  /* ---------- Skills ---------- */

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .skill-card {
    min-height: auto;
  }

  /* ---------- Building ---------- */

  .building-card {
    grid-template-columns: 1fr;
  }

  .building-visual {
    min-height: 350px;
  }

  /* ---------- Contact ---------- */

  .contact-section {
    min-height: 600px;
  }
  .whatsapp-float {
    position: fixed !important;

    display: flex !important;

    width: 54px !important;
    height: 54px !important;

    right: 15px !important;
    bottom: 15px !important;

    font-size: 23px;

    z-index: 999999 !important;
  }
}

/* =========================================================
    MOBILE
   600px AND BELOW
========================================================= */

@media (max-width: 600px) {
  .section {
    padding: 80px 0;
  }

  .section-container {
    width: min(90%, 520px);
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-heading h2,
  .about-heading h2,
  .leadership-intro h2,
  .building-content h2 {
    font-size: clamp(36px, 10vw, 50px);

    letter-spacing: -1.5px;
  }

  .section-heading p {
    font-size: 14px;

    line-height: 1.75;
  }

  /* ---------- Navbar ---------- */

  .nav-container {
    width: 90%;
  }

  .brand {
    font-size: 13px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  /* ---------- Mobile menu ---------- */

  .mobile-menu {
    width: 90%;

    padding: 22px;
  }

  .mobile-nav a {
    padding: 16px 4px;

    font-size: 18px;
  }

  /* ---------- Hero ---------- */

  .hero {
    padding: 115px 0 70px;
  }

  .hero-container {
    gap: 35px;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 62px);

    letter-spacing: -3px;
  }

  .hero-role {
    gap: 9px;

    font-size: 14px;
  }

  .hero-content > p {
    font-size: 14px;

    line-height: 1.75;
  }

  .hero-buttons {
    flex-direction: column;

    width: 100%;
  }

  .hero-buttons .button {
    width: 100%;
  }

  /* ---------- Portrait ---------- */

  .hero-portrait {
    min-height: 430px;
  }

  .portrait-frame {
    width: 82%;
  }

  .portrait-glow {
    width: 280px;
    height: 280px;
  }

  .portrait-orbit {
    width: 95%;
    height: 190px;
  }

  .orbit-two {
    width: 105%;
    height: 220px;
  }

  .crown {
    top: 25px;
    right: 5%;

    font-size: 43px;
  }

  .scroll-indicator {
    display: none;
  }

  /* ---------- About ---------- */

  .about-grid {
    gap: 35px;
  }

  .about-text p {
    font-size: 14px;
  }

  .about-text .large-text {
    font-size: 18px;
  }

  .about-cards {
    grid-template-columns: 1fr;

    gap: 12px;

    margin-top: 35px;
  }

  /* ---------- Journey ---------- */

  .timeline {
    margin-top: 50px;
  }

  .timeline-line {
    left: 8px;

    width: 2px;
  }

  .timeline-item {
    grid-template-columns:
      25px
      minmax(0, 1fr);

    column-gap: 12px;

    margin-bottom: 40px;
  }

  .timeline-dot {
    width: 17px;
    height: 17px;

    border-width: 4px;
  }

  .timeline-year {
    font-size: 12px;
  }

  .timeline-content > span {
    margin-bottom: 7px;

    font-size: 8px;

    letter-spacing: 1.3px;
  }

  .timeline-content h3 {
    font-size: 17px;

    line-height: 1.4;
  }

  .timeline-content p {
    margin-top: 9px;

    font-size: 12px;

    line-height: 1.7;
  }

  /* ---------- Experience ---------- */

  .experience-card {
    grid-template-columns: 1fr;

    padding: 28px;

    gap: 20px;

    border-radius: 23px;
  }

  .experience-main h3 {
    font-size: 27px;
  }

  .experience-list {
    grid-template-columns: 1fr;

    gap: 12px;
  }

  /* ---------- Leadership ---------- */

  .leadership-feature {
    padding: 28px;

    border-radius: 22px;
  }

  .leadership-feature h3 {
    font-size: 27px;
  }

  .leadership-small-grid {
    grid-template-columns: 1fr;
  }

  /* ---------- Skills ---------- */

  .skill-card {
    padding: 28px;

    border-radius: 22px;
  }

  .skill-icon {
    margin-bottom: 30px;
  }

  .skill-card h3 {
    font-size: 25px;
  }

  /* ---------- Building ---------- */

  .building-section {
    padding-top: 30px;
  }

  .building-content {
    padding: 35px 28px;
  }

  .building-content p {
    font-size: 14px;
  }

  .building-visual {
    min-height: 300px;

    padding: 20px;
  }

  .code-window {
    width: 90%;
  }

  .code-lines {
    padding: 23px;

    font-size: 11px;
  }

  /* ---------- Contact ---------- */

  .contact-section {
    min-height: 550px;
  }

  .contact-content h2 {
    font-size: clamp(42px, 12vw, 58px);

    letter-spacing: -2px;
  }

  .contact-content p {
    font-size: 14px;
  }

  .contact-buttons {
    flex-direction: column;

    width: 100%;
  }

  .contact-buttons .button {
    width: 100%;
  }

  /* -----widget----- */

  .whatsapp-float {
    display: flex;
    width: 52px;
    height: 52px;
    right: 18px;
    bottom: 22px;
    font-size: 23px;
  }

  /* ---------- Footer ---------- */

  .footer-container {
    flex-direction: column;

    text-align: center;

    gap: 18px;
  }
}

/* =========================================================
    VERY SMALL PHONES
   400px AND BELOW
========================================================= */

@media (max-width: 400px) {
  .section {
    padding: 70px 0;
  }

  .section-container {
    width: min(89%, 360px);
  }

  /* ---------- Navbar ---------- */

  .brand {
    font-size: 12px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  /* ---------- Hero ---------- */

  .hero {
    padding-top: 105px;
  }

  .hero h1 {
    font-size: 46px;

    letter-spacing: -2.5px;
  }

  .hero-role {
    font-size: 13px;
  }

  .hero-content > p {
    font-size: 13px;
  }

  .hero-portrait {
    min-height: 390px;
  }

  .portrait-frame {
    width: 86%;
  }

  .crown {
    top: 20px;

    font-size: 36px;
  }

  /* ---------- Journey ---------- */

  .timeline {
    margin-top: 42px;
  }

  .timeline-line {
    left: 7px;

    width: 2px;
  }

  .timeline-item {
    grid-template-columns:
      22px
      minmax(0, 1fr);

    column-gap: 10px;

    margin-bottom: 36px;
  }

  .timeline-dot {
    width: 15px;
    height: 15px;

    border-width: 3px;
  }

  .timeline-year {
    font-size: 12px;
  }

  .timeline-content h3 {
    font-size: 16px;
  }

  .timeline-content p {
    font-size: 11.5px;

    line-height: 1.7;
  }

  /* ---------- Cards ---------- */

  .experience-card,
  .leadership-feature,
  .skill-card {
    padding: 24px;
  }

  .building-content {
    padding: 30px 23px;
  }

  .code-lines {
    padding: 20px;

    font-size: 10px;
  }
  .whatsapp-float {
    width: 50px !important;
    height: 50px !important;

    right: 14px !important;
    bottom: 14px !important;

    font-size: 21px;
  }
}

/* =========================================================
    ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;

    scroll-behavior: auto !important;
  }
}
