:root {
  color-scheme: dark;
  --bg: #001012;
  --surface: #05191a;
  --surface-raised: #082324;
  --line: rgba(55, 232, 213, 0.17);
  --text: #e8fffd;
  --muted: #92aaa8;
  --blue: #12d8c4;
  --sky: #21ead4;
  --mono: "DM Mono", Consolas, monospace;
  --sans: "Manrope", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(18, 216, 196, 0.45);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 5px;
  background: var(--sky);
  color: #07111a;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.welcome-screen {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at center, rgba(6, 42, 47, 0.96), rgba(0, 16, 18, 0.99) 66%),
    var(--bg);
  color: #ffffff;
  font-size: clamp(64px, 12vw, 124px);
  font-weight: 700;
  letter-spacing: -0.075em;
  animation: welcome-fade 5s ease-in-out forwards;
  pointer-events: none;
}

@keyframes welcome-fade {
  0%,
  70% {
    opacity: 1;
    visibility: visible;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

.ambient-math {
  position: fixed;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  color: rgba(125, 211, 252, 0.32);
  font-family: var(--mono);
  pointer-events: none;
}

.ambient-math span {
  position: absolute;
  display: block;
  opacity: 0.38;
  text-shadow: 0 0 14px rgba(2, 132, 199, 0.18);
  animation: math-drift 17s ease-in-out infinite alternate;
}

.ambient-math span:nth-child(1) {
  top: 18%;
  left: 7%;
  font-size: 22px;
}

.ambient-math span:nth-child(2) {
  top: 42%;
  right: 8%;
  font-size: 18px;
  animation-delay: -5s;
}

.ambient-math span:nth-child(3) {
  top: 70%;
  left: 12%;
  font-size: 16px;
  animation-delay: -9s;
}

.ambient-math span:nth-child(4) {
  top: 84%;
  right: 13%;
  font-size: 20px;
  animation-delay: -3s;
}

.ambient-math span:nth-child(5) {
  top: 10%;
  right: 24%;
  font-size: 14px;
  animation-delay: -11s;
}

.ambient-math span:nth-child(6) {
  top: 58%;
  right: 27%;
  font-size: 14px;
  animation-delay: -7s;
}

.ambient-math span:nth-child(7) {
  top: 31%;
  left: 25%;
  font-size: 13px;
  animation-delay: -13s;
}

@keyframes math-drift {
  from {
    transform: translate3d(0, 9px, 0) rotate(-12deg);
  }

  to {
    transform: translate3d(0, -12px, 0) rotate(12deg);
  }
}

.site-header,
.section-shell {
  width: min(1120px, calc(100% - 112px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  height: 78px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 12, 18, 0.91);
  backdrop-filter: blur(16px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.wordmark-name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.wordmark-english {
  color: #ecfffd;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.wordmark-arabic {
  color: var(--sky);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
}

.wordmark-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(125, 211, 252, 0.5);
  border-radius: 50%;
  color: var(--sky);
  font-family: var(--mono);
  font-size: 12px;
}

.wordmark-urdu {
  margin-left: 4px;
  color: var(--sky);
  font-size: 12px;
  font-weight: 500;
}

.main-nav {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  color: #a4afbd;
  font-size: 11px;
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--sky);
}

.main-nav .nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid rgba(125, 211, 252, 0.36);
  border-radius: 3px;
  color: var(--sky);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(33, 234, 212, 0.35);
  border-radius: 4px;
  background: rgba(17, 194, 177, 0.06);
  color: var(--text);
  font: 600 11px var(--sans);
  cursor: pointer;
}

.nav-toggle-icon {
  color: var(--sky);
  font-size: 15px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 630px;
  grid-template-columns: 1fr 0.93fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-block: 62px 78px;
}

.eyebrow,
.section-side-note,
.hero-meta,
.globe-caption,
.globe-hint,
.orbit-note,
.hero-index,
.edit-note,
.timeline-date,
.timeline-number,
.skill-index,
.skill-placeholder,
.project-category,
.project-link-placeholder,
.certificate-status,
.contact-detail > span,
.site-footer > p,
.back-to-top,
.copyright,
.placeholder-label,
.placeholder-file {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.11em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  color: #8e9bae;
}

.status-dot,
.caption-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 12px rgba(125, 211, 252, 0.85);
}

.eyebrow-line {
  display: inline-block;
  width: 34px;
  height: 1px;
  background: rgba(125, 211, 252, 0.45);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  margin: 28px 0 15px;
  font-size: clamp(56px, 6.1vw, 76px);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 1.06;
}

.name-highlight {
  color: var(--sky);
}

.urdu-name {
  display: inline-block;
  margin-left: 7px;
  color: #d7e5f3;
  font-size: 0.57em;
  font-weight: 500;
  letter-spacing: 0;
  vertical-align: 0.14em;
}

.arabic-name {
  display: block;
  width: fit-content;
  margin-top: 14px;
  color: #d7f4f0;
  font-family: var(--sans);
  font-size: 0.48em;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-shadow: 0 0 24px rgba(33, 234, 212, 0.2);
}

.hero-period {
  color: var(--blue);
}

.hero-subtitle {
  margin-bottom: 12px;
  color: #e5edf5;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hero-description {
  max-width: 410px;
  margin-bottom: 27px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.button {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--blue);
  color: #f7fbff;
}

.button-primary:hover {
  background: #0b97dc;
}

.button-quiet {
  padding-inline: 0;
  color: #c3ceda;
}

.button-quiet:hover {
  color: var(--sky);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 57px;
  color: #69788b;
  font-size: 8px;
}

.meta-rule {
  width: 22px;
  height: 1px;
  background: var(--blue);
}

.meta-separator {
  margin-inline: 6px;
  color: var(--sky);
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
  perspective: 1000px;
}

.visual-orbit {
  position: absolute;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(125, 211, 252, 0.09);
  border-radius: 50%;
}

.orbit-one {
  transform: scaleY(0.45) rotate(-24deg);
}

.orbit-two {
  width: 390px;
  height: 390px;
  transform: scaleY(0.7) rotate(34deg);
}

.globe-wrap {
  position: relative;
  z-index: 1;
  width: 286px;
  height: 286px;
  perspective: 1000px;
}

.globe {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  transform-style: preserve-3d;
  border: 1px solid rgba(125, 211, 252, 0.57);
  border-radius: 50%;
  background: #111924;
  box-shadow: 0 0 0 11px rgba(125, 211, 252, 0.025), 0 0 75px rgba(2, 132, 199, 0.22), inset -25px -15px 48px rgba(0, 0, 0, 0.65);
  color: var(--text);
  cursor: pointer;
  transition: transform 850ms cubic-bezier(0.2, 0.75, 0.15, 1);
}

.globe.is-flipped {
  transform: rotateY(180deg);
}

.globe-face {
  position: absolute;
  inset: 0;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.globe-front {
  background:
    radial-gradient(circle at 36% 27%, rgba(125, 211, 252, 0.2), transparent 24%),
    radial-gradient(circle at 54% 52%, rgba(2, 132, 199, 0.2), transparent 62%),
    linear-gradient(140deg, #152b3c, #10151e 64%);
}

.globe-back {
  transform: rotateY(180deg);
  background:
    radial-gradient(circle at 50% 45%, rgba(2, 132, 199, 0.2), transparent 55%),
    linear-gradient(145deg, #172b3a, #10151e 68%);
}

.globe-image {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 88%;
  height: 88%;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(69, 244, 224, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(17, 224, 201, 0.24);
  object-fit: contain;
  opacity: 0;
}

.globe-front .globe-image {
  object-position: center;
}

.globe-back .globe-image {
  object-position: center;
}

.globe-image[hidden] {
  display: none;
}

.globe-placeholder[hidden] {
  display: none;
}

.globe-image[src] {
  opacity: 1;
}

.globe-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #adbed0;
}

.portrait-placeholder .placeholder-initial {
  display: grid;
  width: 106px;
  height: 106px;
  margin-bottom: 8px;
  place-items: center;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(125, 211, 252, 0.15), rgba(2, 132, 199, 0.05));
  color: var(--sky);
  font-size: 48px;
  font-weight: 700;
}

.logo-placeholder-mark {
  color: var(--sky);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.placeholder-label {
  color: #d5e1ed;
  font-size: 8px;
}

.placeholder-file {
  color: #7891a8;
  font-size: 8px;
  letter-spacing: 0;
}

.globe-caption {
  position: absolute;
  z-index: 3;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d4e0ec;
  font-size: 8px;
}

.caption-dot {
  width: 5px;
  height: 5px;
}

.globe-hint {
  position: absolute;
  z-index: 2;
  right: 19%;
  bottom: 70px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8799ac;
  font-size: 8px;
}

.hint-arrow {
  color: var(--sky);
  font-size: 16px;
}

.orbit-note {
  position: absolute;
  z-index: 2;
  color: #8898aa;
  font-size: 8px;
}

.orbit-note span {
  margin-right: 7px;
  color: var(--sky);
}

.note-top {
  top: 91px;
  right: 13%;
}

.note-bottom {
  bottom: 108px;
  left: 12%;
}

.visual-cross {
  position: absolute;
  color: rgba(125, 211, 252, 0.6);
  font-family: var(--mono);
  font-size: 16px;
}

.cross-one {
  top: 100px;
  left: 23%;
}

.cross-two {
  right: 20%;
  bottom: 144px;
  font-size: 11px;
}

.hero-index {
  position: absolute;
  right: 0;
  bottom: 29px;
  color: #637286;
  font-size: 8px;
}

.hero-index span {
  color: var(--sky);
}

.content-section {
  padding-block: 110px;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 47px;
}

.section-heading .eyebrow {
  margin-bottom: 18px;
}

.section-heading h2,
.contact-section h2 {
  margin-bottom: 0;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.065em;
}

.text-muted {
  color: #778597;
  font-weight: 400;
}

.text-blue {
  color: var(--sky);
}

#about .section-heading h2 {
  color: #ffffff;
  font-size: clamp(40px, 5vw, 54px);
  letter-spacing: -0.07em;
}

#about .section-heading {
  text-align: center;
}

#education .section-heading {
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

#education .section-heading h2,
#education .section-heading h2 .text-muted {
  color: #ffffff;
}

#education .section-side-note {
  align-self: center;
}

.about-lead {
  max-width: 900px;
  margin-bottom: 25px;
  color: #d9eae8;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.7;
}

.about-content .about-lead strong {
  color: #ffffff;
}

.about-content {
  max-width: 960px;
  margin-inline: auto;
  padding: 34px 38px;
  border: 1px solid rgba(33, 234, 212, 0.2);
  border-top: 2px solid rgba(33, 234, 212, 0.66);
  border-radius: 7px;
  background:
    radial-gradient(ellipse at 92% 0%, rgba(18, 216, 196, 0.1), transparent 36%),
    linear-gradient(135deg, rgba(6, 29, 30, 0.88), rgba(3, 19, 20, 0.7));
  box-shadow: 0 22px 68px rgba(0, 8, 8, 0.2);
}

.about-details {
  display: grid;
  gap: 15px;
  max-width: 850px;
  margin-bottom: 25px;
  padding-left: 20px;
  border-left: 1px solid rgba(33, 234, 212, 0.28);
}

.about-details p {
  margin: 0;
  color: #b5c9c7;
  font-size: 18px;
  line-height: 1.9;
}

.about-content strong {
  color: #50ebd7;
  font-weight: 700;
}

.about-goal {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: start;
  max-width: 850px;
  margin-bottom: 0;
  padding: 18px 20px;
  border: 1px solid rgba(33, 234, 212, 0.17);
  border-radius: 5px;
  background: rgba(12, 83, 77, 0.14);
  color: #d1e5e2;
  font-size: 16px;
  line-height: 1.85;
}

.goal-label {
  padding-top: 4px;
  color: #49ead6;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.13em;
}

.edit-note,
.section-footnote {
  color: #74869b;
  font-size: 8px;
}

.edit-note span,
.section-footnote span {
  margin-right: 7px;
  color: var(--sky);
}

.heading-inline {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.section-side-note {
  margin-bottom: 8px;
  color: #74869b;
  font-size: 8px;
}

.timeline-card {
  position: relative;
  display: grid;
  min-height: 112px;
  grid-template-columns: 150px 1fr 40px;
  align-items: center;
  padding: 20px 25px 20px 31px;
  border: 1px solid var(--line);
  background: linear-gradient(100deg, rgba(16, 21, 30, 0.9), rgba(13, 18, 26, 0.7));
}

.timeline-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: linear-gradient(transparent, var(--blue), transparent);
}

.timeline-date,
.timeline-number {
  color: var(--sky);
  font-size: 8px;
}

.timeline-content h3,
.skill-card h3,
.project-info h3,
.certificate-card h3 {
  margin-bottom: 7px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.timeline-content p,
.skill-card p,
.project-info p,
.certificate-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.timeline-number {
  color: #546276;
  text-align: right;
}

.section-footnote {
  margin: 16px 0 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.skills-intro {
  margin: -25px auto 23px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

#skills .section-heading {
  justify-content: center;
  text-align: center;
}

#skills .section-heading h2,
#skills .section-heading h2 .text-muted {
  color: #ffffff;
}

.skill-card {
  position: relative;
  display: flex;
  min-height: 215px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background:
    radial-gradient(ellipse at 100% 0, rgba(18, 216, 196, 0.1), transparent 46%),
    linear-gradient(145deg, rgba(8, 35, 36, 0.94), rgba(4, 21, 22, 0.78));
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.skill-card:hover {
  transform: translateY(-4px);
  border-color: rgba(33, 234, 212, 0.48);
  box-shadow: 0 16px 38px rgba(0, 8, 8, 0.2);
}

.skill-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.skill-index {
  color: var(--sky);
  font-size: 8px;
}

.skill-symbol {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  border-radius: 12px;
}

.skill-symbol img {
  display: block;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
}

.skill-symbol-mysql img {
  width: 68px;
  height: 68px;
}

.skill-card-copy {
  margin-block: 20px 25px;
}

.skill-card h3 {
  margin-bottom: 8px;
  font-size: 15px;
}

.skill-card p {
  max-width: 260px;
  font-size: 11px;
}

.skill-placeholder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 13px;
  border-top: 1px solid rgba(34, 232, 209, 0.15);
  color: #82aaa6;
  font-size: 8px;
}

.skills-upcoming {
  display: flex;
  min-height: 70px;
  align-items: center;
  gap: 15px;
  margin-top: 16px;
  padding: 13px 17px;
  border: 1px dashed rgba(34, 232, 209, 0.25);
  border-radius: 5px;
  background: rgba(5, 25, 26, 0.42);
}

.upcoming-mark {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(33, 234, 212, 0.25);
  border-radius: 50%;
  color: var(--sky);
  font-size: 18px;
}

.upcoming-copy {
  display: grid;
  flex: 1;
  gap: 6px;
}

.upcoming-copy strong {
  color: var(--text);
  font-size: 12px;
}

.upcoming-copy > span {
  color: var(--muted);
  font-size: 10px;
}

.upcoming-status {
  width: fit-content;
  padding: 5px 9px;
  border: 1px solid rgba(33, 234, 212, 0.25);
  border-radius: 3px;
  background: rgba(17, 194, 177, 0.09);
  color: #61eedc !important;
  font: 8px var(--mono);
  letter-spacing: 0.12em;
}

.skill-placeholder span {
  color: var(--sky);
  font-size: 12px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.projects-heading {
  text-align: center;
}

.projects-heading h2 {
  color: #ffffff;
  font-size: clamp(38px, 4.8vw, 52px);
  letter-spacing: -0.07em;
}

.projects-intro {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.project-card {
  min-width: 0;
  padding: 23px;
  border: 1px solid rgba(34, 232, 209, 0.2);
  border-radius: 6px;
  background: linear-gradient(145deg, rgba(8, 35, 36, 0.92), rgba(4, 21, 22, 0.88));
  box-shadow: 0 18px 44px rgba(0, 8, 8, 0.12);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(33, 234, 212, 0.48);
  box-shadow: 0 22px 50px rgba(0, 8, 8, 0.25);
}

.project-category {
  color: #69e8d7;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.project-category-heading {
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 13px;
}

.project-category-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border: 1px solid rgba(33, 234, 212, 0.26);
  border-radius: 12px;
  background: rgba(17, 194, 177, 0.09);
  color: #6cebdc;
  font: 14px var(--mono);
}

.project-category-icon-data {
  font-size: 23px;
}

.project-category-copy {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 6px;
}

.project-category-copy h3 {
  margin: 0;
  color: #f2fffd;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.04em;
}

.project-coming-soon {
  display: inline-flex;
  flex: 0 0 auto;
  margin-top: 8px;
  padding: 7px 9px;
  border: 1px solid rgba(33, 234, 212, 0.24);
  border-radius: 3px;
  background: rgba(17, 194, 177, 0.08);
  color: #61eedc;
  font: 8px var(--mono);
  letter-spacing: 0.1em;
}

.project-category-description {
  min-height: 42px;
  margin: 17px 0 14px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.project-category-card {
  cursor: default;
}

.project-category-card:hover {
  transform: none;
  border-color: rgba(34, 232, 209, 0.35);
  box-shadow: 0 18px 44px rgba(0, 8, 8, 0.12);
}

.project-category-card .project-category {
  color: #75aaa5;
  margin: 0;
}

.dashboard-toggle {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid rgba(33, 234, 212, 0.34);
  border-radius: 3px;
  background: rgba(17, 194, 177, 0.08);
  color: #d8f4f1;
  font: 700 10px var(--sans);
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.dashboard-toggle:hover {
  border-color: var(--sky);
  background: rgba(17, 194, 177, 0.16);
  color: #ffffff;
}

.dashboard-panel {
  display: grid;
  gap: 5px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(33, 234, 212, 0.2);
  border-radius: 3px;
  background: rgba(17, 194, 177, 0.06);
  text-align: left;
}

.dashboard-panel[hidden] {
  display: none;
}

.dashboard-panel strong {
  color: #61eedc;
  font: 8px var(--mono);
  letter-spacing: 0.1em;
}

.dashboard-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.credentials-heading {
  text-align: center;
}

.credentials-heading h2 {
  color: #ffffff;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.credential-card {
  display: flex;
  min-width: 0;
  min-height: 245px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 25px;
  border: 1px solid rgba(34, 232, 209, 0.16);
  border-radius: 5px;
  background:
    radial-gradient(ellipse at 100% 0, rgba(18, 216, 196, 0.08), transparent 42%),
    linear-gradient(110deg, rgba(5, 25, 26, 0.94), rgba(4, 21, 22, 0.76));
  text-align: center;
}

.credential-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: 17px;
  font-weight: 650;
}

.credential-card > p {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.credential-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(33, 234, 212, 0.28);
  border-radius: 10px;
  background: rgba(17, 194, 177, 0.08);
  color: #61eedc;
  font: 700 13px var(--mono);
}

.credential-card .dashboard-toggle {
  margin-top: auto;
}

.credential-card .dashboard-panel {
  width: 100%;
}

.certificate-card {
  display: grid;
  min-height: 115px;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  padding: 20px 25px;
  border: 1px solid rgba(34, 232, 209, 0.2);
  border-radius: 5px;
  background:
    radial-gradient(ellipse at 100% 0, rgba(18, 216, 196, 0.08), transparent 42%),
    linear-gradient(110deg, rgba(5, 25, 26, 0.94), rgba(4, 21, 22, 0.76));
}

.certificate-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(33, 234, 212, 0.28);
  border-radius: 10px;
  background: rgba(17, 194, 177, 0.08);
  color: #61eedc;
  font-size: 17px;
}

.certificate-card h3 {
  font-size: 13px;
}

.certificate-card p {
  font-size: 10px;
}

.certificate-status {
  width: fit-content;
  padding: 7px 9px;
  border: 1px solid rgba(33, 234, 212, 0.24);
  border-radius: 3px;
  background: rgba(17, 194, 177, 0.08);
  color: #61eedc;
  font: 8px var(--mono);
  letter-spacing: 0.1em;
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding-block: 105px 90px;
}

.contact-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.contact-intro {
  width: min(100%, 720px);
  text-align: center;
}

.contact-glow {
  position: absolute;
  z-index: -1;
  top: 5%;
  left: 50%;
  width: 620px;
  height: 360px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.09);
  filter: blur(110px);
}

.contact-section .eyebrow {
  justify-content: center;
  margin-bottom: 21px;
}

.contact-section h2 {
  color: #ffffff;
  font-size: clamp(42px, 6vw, 58px);
  line-height: 1.16;
}

.contact-copy {
  max-width: 620px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.contact-button {
  min-height: 41px;
}

.contact-details {
  display: flex;
  width: min(100%, 680px);
  justify-content: center;
  gap: clamp(28px, 8vw, 96px);
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.contact-detail > span {
  color: var(--sky);
  font: 9px var(--mono);
  letter-spacing: 0.12em;
}

.contact-detail p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.contact-form {
  display: grid;
  width: min(100%, 680px);
  gap: 11px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(34, 232, 209, 0.2);
  border-radius: 6px;
  background: linear-gradient(145deg, rgba(5, 25, 26, 0.95), rgba(4, 21, 22, 0.84));
  text-align: left;
}

.contact-form label {
  margin-top: 5px;
  color: #d8f4f1;
  font-size: 11px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 43px;
  padding: 11px 12px;
  border: 1px solid rgba(55, 232, 213, 0.2);
  border-radius: 3px;
  background: rgba(0, 16, 18, 0.72);
  color: var(--text);
  font: 12px var(--sans);
}

.contact-form .contact-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.contact-form textarea {
  min-height: 125px;
  resize: vertical;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}

.contact-form .contact-button {
  justify-self: center;
  margin-top: 8px;
  cursor: pointer;
}

.contact-form .contact-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.contact-form-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--sky);
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

.site-footer {
  display: grid;
  min-height: 85px;
  grid-template-columns: 1fr 1fr 1fr auto;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.footer-wordmark {
  justify-self: start;
}

.site-footer > p {
  margin: 0;
  color: #778597;
  font-size: 8px;
  text-align: center;
}

.site-footer > p span {
  padding-left: 5px;
  color: var(--sky);
}

.back-to-top {
  justify-self: center;
  color: #a2afbd;
  font-size: 8px;
}

.back-to-top span {
  margin-left: 6px;
  color: var(--sky);
}

.copyright {
  color: #75849a;
  font-size: 8px;
}

.js-motion-ready .motion-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.75, 0.15, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js-motion-ready .motion-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js-motion-ready .motion-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.site-header,
.section-shell {
  width: min(1120px, calc(100% - 80px));
}

.site-header {
  border-color: rgba(34, 232, 209, 0.24);
  background: rgba(0, 16, 18, 0.94);
}

.wordmark-mark,
.main-nav .nav-contact {
  border-color: rgba(33, 234, 212, 0.4);
}

.hero {
  position: relative;
  display: block;
  width: 100%;
  min-height: calc(100vh - 78px);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(34, 232, 209, 0.18);
  background: #001012;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 13, 14, 0.78), rgba(0, 13, 14, 0.3) 62%, rgba(0, 13, 14, 0.58)),
    linear-gradient(0deg, rgba(0, 16, 18, 0.82), transparent 24%, transparent 78%, rgba(0, 16, 18, 0.45));
  content: "";
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: calc(100vh - 78px);
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.code-rain {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: grid;
  overflow: hidden;
  grid-template-columns: repeat(8, 1fr);
  pointer-events: none;
  mask-image: linear-gradient(transparent, #000 15%, #000 80%, transparent);
}

.code-stream {
  display: block;
  width: max-content;
  height: 150%;
  margin-top: -20%;
  color: rgba(17, 210, 192, 0.2);
  font-family: var(--mono);
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.9;
  white-space: pre;
  animation: code-fall 18s linear infinite;
  text-shadow: 0 0 12px rgba(13, 216, 197, 0.22);
}

.code-stream:nth-child(2n) {
  color: rgba(8, 163, 153, 0.2);
  animation-duration: 24s;
}

.code-stream:nth-child(3n) {
  animation-duration: 29s;
  animation-delay: -15s;
}

.code-stream:nth-child(4n) {
  animation-delay: -9s;
}

@keyframes code-fall {
  from {
    transform: translateY(-15%);
  }

  to {
    transform: translateY(18%);
  }
}

.hero-copy {
  padding-block: 55px 70px;
}

.eyebrow {
  color: #c1d4d2;
}

.status-dot,
.caption-dot {
  background: var(--sky);
  box-shadow: 0 0 14px rgba(33, 234, 212, 0.9);
}

.hero .eyebrow {
  color: #c6e1df;
  font-size: 13px;
  letter-spacing: 0.19em;
}

.hero .status-dot {
  width: 7px;
  height: 7px;
}

.hero h1 {
  margin: 26px 0 17px;
  font-size: clamp(56px, 7vw, 88px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.99;
}

.hero .arabic-name {
  margin-top: 18px;
  color: #c9e7e3;
  font-size: clamp(38px, 4.2vw, 52px);
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1.45;
  text-shadow: 0 0 28px rgba(33, 234, 212, 0.25);
}

.name-highlight {
  color: var(--sky);
  background: linear-gradient(100deg, #28f1d6, #11bda9 80%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-fade {
  color: #0c8d83;
}

.hero-subtitle {
  margin-bottom: 10px;
  color: #d4e6e4;
  font-size: 16px;
}

.hero-description {
  margin-bottom: 19px;
  color: #91aaa8;
  font-size: 13px;
}

.code-prompt {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 34px;
  color: #28e4d0;
  font-family: var(--mono);
  font-size: clamp(12px, 1.5vw, 17px);
  letter-spacing: 0.1em;
}

.code-prompt > span:first-child {
  color: #51ffe9;
  font-weight: 500;
}

.prompt-comment {
  color: #bcebe5;
}

.prompt-cursor {
  width: 2px;
  height: 20px;
  margin-left: -8px;
  background: var(--sky);
  animation: cursor-blink 1s steps(2, start) infinite;
}

@keyframes cursor-blink {
  to {
    visibility: hidden;
  }
}

.hero-actions {
  gap: 12px;
}

.button {
  min-height: 48px;
  padding-inline: 21px;
  border-radius: 8px;
  font-size: 13px;
}

.button-primary {
  background: #13ddc8;
  color: #00221f;
}

.button-primary:hover {
  background: #55f4e2;
}

.button-outline {
  border-color: rgba(33, 234, 212, 0.42);
  color: #d8f4f1;
}

.button-outline:hover {
  border-color: var(--sky);
  color: var(--sky);
}

.hero-visual {
  min-height: 540px;
  overflow: visible;
}

.visual-orbit {
  width: 430px;
  height: 430px;
  border-color: rgba(42, 231, 211, 0.1);
}

.orbit-two {
  border-color: rgba(42, 231, 211, 0.07);
}

.visual-glow {
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(0, 213, 194, 0.14);
  filter: blur(85px);
  animation: glow-breathe 5s ease-in-out infinite alternate;
}

@keyframes glow-breathe {
  to {
    opacity: 0.48;
    transform: scale(1.13);
  }
}

.globe-wrap {
  width: clamp(260px, 31vw, 350px);
  height: clamp(260px, 31vw, 350px);
}

.globe {
  border: 1px solid rgba(62, 245, 224, 0.78);
  background: #06201f;
  box-shadow:
    0 0 0 10px rgba(33, 234, 212, 0.035),
    0 0 85px rgba(0, 225, 202, 0.2),
    inset -25px -15px 48px rgba(0, 0, 0, 0.58);
}

.globe-front {
  background:
    radial-gradient(circle at 36% 27%, rgba(48, 235, 212, 0.19), transparent 24%),
    radial-gradient(circle at 54% 52%, rgba(0, 177, 163, 0.19), transparent 62%),
    linear-gradient(140deg, #0d3633, #051719 64%);
}

.globe-back {
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 188, 171, 0.22), transparent 55%),
    linear-gradient(145deg, #103330, #051719 68%);
}

.globe-placeholder {
  color: #c1dfdc;
}

.portrait-placeholder .placeholder-initial {
  border-color: rgba(33, 234, 212, 0.4);
  background: linear-gradient(145deg, rgba(33, 234, 212, 0.18), rgba(0, 159, 147, 0.08));
  color: #32f1db;
}

.logo-placeholder-mark {
  color: #35f0dc;
}

.placeholder-label {
  color: #def9f5;
}

.placeholder-file {
  color: #82b9b3;
}

.globe-caption {
  bottom: 30px;
  color: #e1f8f5;
  font-size: 9px;
}

.globe-hint {
  right: 50%;
  bottom: 18px;
  transform: translateX(50%);
  color: #a5c5c2;
  font-size: 9px;
  white-space: nowrap;
}

.content-section {
  border-color: rgba(34, 232, 209, 0.15);
}

.skill-card,
.project-card,
.timeline-card,
.certificate-card {
  border-color: rgba(34, 232, 209, 0.16);
  background-color: rgba(5, 25, 26, 0.74);
}

.contact-glow {
  background: rgba(0, 213, 194, 0.11);
}

.profile-placeholder-card {
  display: grid;
  min-height: 116px;
  grid-template-columns: 55px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 22px 25px;
  border: 1px solid rgba(34, 232, 209, 0.18);
  background: linear-gradient(100deg, rgba(5, 25, 26, 0.92), rgba(4, 21, 22, 0.76));
}

.profile-card-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(33, 234, 212, 0.45);
  border-radius: 9px;
  background: rgba(17, 194, 177, 0.1);
  color: #52f3de;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
}

.linkedin-icon {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 800;
}

.profile-card-copy h3 {
  margin-bottom: 6px;
  color: #e8fffd;
  font-size: 15px;
  font-weight: 600;
}

.profile-card-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.profile-card-status {
  color: #82aaa5;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-align: right;
}

@media (max-width: 900px) {
  .site-header,
  .section-shell {
    width: min(100% - 48px, 760px);
  }

  .main-nav {
    gap: 15px;
  }

  .main-nav a {
    font-size: 10px;
  }

  .hero-inner {
    grid-template-columns: 1fr 0.82fr;
  }

  .hero h1 {
    font-size: clamp(52px, 7vw, 68px);
  }

  .hero-visual {
    min-height: 450px;
  }

  .globe-wrap {
    width: 270px;
    height: 270px;
  }

  .visual-orbit {
    width: 350px;
    height: 350px;
  }
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 72px;
  }

  .site-header,
  .section-shell {
    width: calc(100% - 40px);
  }

  .site-header {
    height: 68px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
  }

  .main-nav.is-open {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    display: grid;
    width: min(100%, 420px);
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    padding: 12px;
    border: 1px solid rgba(34, 232, 209, 0.2);
    border-radius: 0 0 6px 6px;
    background: rgba(0, 16, 18, 0.98);
    box-shadow: 0 18px 40px rgba(0, 8, 8, 0.35);
  }

  .main-nav.is-open a {
    display: flex;
    min-height: 40px;
    align-items: center;
    padding: 0 10px;
    font-size: 12px;
  }

  .main-nav .nav-contact {
    padding: 8px 10px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-block: 72px 10px;
  }

  .hero .eyebrow {
    font-size: 11px;
  }

  .hero h1 {
    margin-top: 22px;
    font-size: clamp(52px, 14vw, 78px);
  }

  .hero .arabic-name {
    margin-top: 14px;
    font-size: clamp(34px, 9vw, 45px);
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-description {
    max-width: 330px;
    font-size: 12px;
  }

  .code-prompt {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 11px;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .button {
    min-height: 45px;
    padding-inline: 15px;
    font-size: 12px;
  }

  .hero-visual {
    min-height: 330px;
  }

  .globe-wrap {
    width: 230px;
    height: 230px;
  }

  .visual-orbit {
    width: 300px;
    height: 300px;
  }

  .content-section {
    padding-block: 76px;
  }

  .section-heading h2,
  .contact-section h2 {
    font-size: 32px;
  }

  .about-lead {
    font-size: 21px;
  }

  .about-content {
    padding: 24px 20px;
  }

  .about-details p {
    font-size: 15px;
  }

  .about-goal {
    grid-template-columns: 1fr;
    gap: 8px;
    font-size: 14px;
  }

  .heading-inline {
    align-items: start;
    gap: 15px;
  }

  .section-side-note {
    max-width: 95px;
    line-height: 1.8;
    text-align: right;
  }

  .timeline-card {
    grid-template-columns: 1fr auto;
    gap: 11px;
    padding: 20px 18px 20px 22px;
  }

  .timeline-date {
    grid-column: 1 / -1;
  }

  .timeline-number {
    grid-column: 2;
    grid-row: 2;
  }

  .skills-grid,
  .projects-grid,
  .credentials-grid {
    grid-template-columns: 1fr;
  }

  .skill-card {
    min-height: 170px;
  }

  .certificate-card {
    grid-template-columns: 48px 1fr;
    gap: 13px;
    padding: 19px 15px;
  }

  .certificate-status {
    grid-column: 2;
  }

  .profile-placeholder-card {
    grid-template-columns: 45px 1fr;
    gap: 13px;
    padding: 18px 15px;
  }

  .profile-card-icon {
    width: 38px;
    height: 38px;
  }

  .profile-card-status {
    grid-column: 2;
    text-align: left;
  }

  .contact-section {
    padding-block: 78px 66px;
  }

  .contact-layout {
    gap: 30px;
  }

  .contact-section h2 {
    font-size: 40px;
  }

  .contact-details {
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 0;
  }

  .site-footer {
    min-height: 120px;
    grid-template-columns: 1fr auto;
    gap: 11px;
    padding-block: 20px;
  }

  .site-footer > p {
    display: none;
  }

  .back-to-top {
    justify-self: end;
  }
}

@media (max-width: 420px) {
  .wordmark {
    gap: 8px;
  }

  .wordmark-mark {
    width: 25px;
    height: 25px;
  }

  .wordmark-english {
    font-size: 11px;
  }

  .wordmark-arabic {
    font-size: 14px;
  }

  .main-nav {
    gap: 10px;
  }

  .main-nav a {
    font-size: 10px;
  }

  .main-nav .nav-contact {
    padding: 7px 8px;
  }

  .hero-copy {
    padding-top: 62px;
  }

  .hero-actions {
    gap: 9px;
  }

  .button {
    gap: 12px;
    padding-inline: 12px;
  }
}

.education-intro {
  margin: -25px 0 23px;
  color: var(--muted);
  font-size: 12px;
}

.study-years {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.year-card {
  padding: 14px;
  border: 1px solid rgba(34, 232, 209, 0.15);
  background: linear-gradient(145deg, rgba(5, 25, 26, 0.87), rgba(4, 21, 22, 0.68));
  transition: border-color 180ms ease, background 180ms ease;
}

.year-card.is-selected {
  border-color: rgba(33, 234, 212, 0.58);
  background: linear-gradient(145deg, rgba(9, 45, 43, 0.88), rgba(4, 24, 24, 0.75));
}

.year-option {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  gap: 11px;
  padding: 0 2px 12px;
  border: 0;
  border-bottom: 1px solid rgba(34, 232, 209, 0.12);
  background: transparent;
  color: #9bb5b2;
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease;
}

.year-card-title {
  flex: 1;
  color: #e2f6f4;
  font-size: 14px;
  font-weight: 700;
}

.year-card-arrow {
  color: #74a7a1;
  font-size: 14px;
  transition: transform 180ms ease, color 180ms ease;
}

.year-card.is-selected .year-card-arrow {
  transform: rotate(-45deg);
  color: #40efda;
}

.semester-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding-top: 12px;
}

.semester-option {
  border: 1px solid rgba(34, 232, 209, 0.2);
  background: rgba(5, 25, 26, 0.7);
  color: #9bb5b2;
  font: 500 11px var(--sans);
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.semester-option {
  min-height: 35px;
  padding: 7px 5px;
  border-radius: 4px;
  font-size: 9px;
}

.year-option:hover .year-card-title,
.semester-option:hover {
  color: #dbfffb;
}

.year-option.is-selected .year-card-title,
.semester-option.is-selected {
  color: #48f2de;
}

.semester-option.is-selected {
  border-color: rgba(33, 234, 212, 0.7);
  background: rgba(17, 194, 177, 0.17);
  box-shadow: inset 0 0 20px rgba(17, 194, 177, 0.06);
}

.year-option:focus-visible,
.semester-option:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

.semester-card {
  position: relative;
  display: grid;
  gap: 13px;
  margin-top: 14px;
  padding: 17px;
  border: 1px solid rgba(34, 232, 209, 0.2);
  border-radius: 5px;
  background:
    radial-gradient(ellipse at 100% 0, rgba(18, 216, 196, 0.08), transparent 42%),
    linear-gradient(110deg, rgba(5, 25, 26, 0.94), rgba(4, 21, 22, 0.76));
}

.semester-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.semester-selected-label,
.semester-coming-soon {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.semester-selected-label {
  color: #61eedc;
}

.semester-coming-soon {
  padding: 7px 10px;
  border: 1px solid rgba(33, 234, 212, 0.24);
  border-radius: 3px;
  background: rgba(17, 194, 177, 0.09);
  color: #9ac3bd;
}

.semester-card .timeline-content h3 {
  margin-bottom: 7px;
  font-size: 19px;
}

.semester-card .timeline-content p {
  font-size: 13px;
}

@media (max-width: 700px) {
  .education-intro {
    margin-top: -24px;
    font-size: 11px;
  }

  .study-years {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .year-card {
    padding: 12px 14px;
  }

  .semester-selector {
    gap: 8px;
  }

  .semester-card {
    gap: 15px;
    padding: 20px 17px;
  }
}
