﻿:root {
  --bg-main: #07111d;
  --bg-soft: #0d1a2b;
  --surface: rgba(12, 21, 34, 0.9);
  --surface-strong: rgba(18, 30, 46, 0.96);
  --surface-light: rgba(255, 255, 255, 0.08);
  --text: #e8eef7;
  --muted: #b4c2d6;
  --title: #f8fbff;
  --accent: #5fa3ff;
  --accent-strong: #2f7dff;
  --border: rgba(255, 255, 255, 0.16);
  --radius: 16px;
  --shadow: 0 18px 35px rgba(2, 6, 13, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 15% 14%, rgba(95, 163, 255, 0.14) 0%, transparent 36%),
    radial-gradient(circle at 88% 80%, rgba(47, 125, 255, 0.18) 0%, transparent 42%),
    linear-gradient(180deg, #050c16 0%, #0b1524 55%, #07111d 100%);
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 9, 16, 0.82);
  backdrop-filter: blur(10px);
}

.top-nav .container-fluid {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 0 !important;
}

.top-nav .brand {
  color: var(--title);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-family: "Space Grotesk", sans-serif;
}

.top-nav .nav-link {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.93rem;
  letter-spacing: 0.01em;
  padding: 0.35rem 0.65rem;
}

.top-nav .nav-link:hover,
.top-nav .nav-link:focus,
.top-nav .nav-link.active {
  color: var(--title);
}

.top-nav .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
}

.top-nav .navbar-toggler:focus {
  box-shadow: 0 0 0 0.18rem rgba(95, 163, 255, 0.34);
}

.hero,
.section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --parallax-y-back: 0px;
  --parallax-y-front: 0px;
}

.hero::before,
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  transform: translate3d(0, var(--parallax-y-back), 0) scale(1.06);
  transition: transform 140ms linear;
  will-change: transform;
}

.hero::after,
.section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translate3d(0, var(--parallax-y-front), 0);
  transition: transform 140ms linear;
  will-change: transform;
}

.hero::before {
  background:
    radial-gradient(circle at 75% 18%, rgba(95, 163, 255, 0.18) 0%, transparent 34%),
    radial-gradient(circle at 10% 80%, rgba(47, 125, 255, 0.24) 0%, transparent 34%),
    linear-gradient(145deg, #050c16 0%, #0c1a2c 52%, #09111d 100%);
}

.hero::after {
  background: linear-gradient(180deg, rgba(8, 13, 22, 0.32) 0%, rgba(8, 13, 22, 0.84) 100%);
}

.hero {
  min-height: 94vh;
  display: grid;
  align-items: center;
  padding: 2.2rem 0;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.hero__text {
  display: grid;
  gap: 1.15rem;
  max-width: 780px;
}

.hero__eyebrow {
  margin: 0;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 1.08rem;
}

.hero h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--title);
  line-height: 0.92;
  font-size: clamp(2.9rem, 6.2vw, 5.3rem);
  font-weight: 800;
  text-wrap: balance;
  letter-spacing: -0.02em;
  max-width: 11.5ch;
  margin-inline: auto;
}

.hero__title-line,
.hero__title-accent {
  display: block;
}

.hero__title-accent {
  color: var(--accent);
}

.hero__lead,
.hero__transition {
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 980px;
}

.hero__transition {
  color: #ffd49a;
}

.hero__cta {
  margin-top: 0.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: nowrap;
}

.btn {
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.68rem 1.1rem;
  font-size: 0.97rem;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease;
}

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

.btn--primary {
  color: #08111d;
  background: linear-gradient(130deg, #5fa3ff 0%, #2f7dff 100%);
  box-shadow: 0 12px 24px rgba(47, 125, 255, 0.24);
}

.btn--ghost {
  border: 1px solid rgba(95, 163, 255, 0.34);
  color: var(--title);
  background: rgba(70, 106, 175, 0.08);
}

.hero__cta > a:not(.btn) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: var(--title);
  font-size: 1.42rem;
  transition: all 250ms ease;
}

.hero__cta > a:not(.btn):hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0e141f;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(47, 125, 255, 0.35);
}

@media (max-width: 640px) {
  .hero__cta {
    flex-wrap: wrap;
  }
}

.hero__meta {
  margin-top: 0.2rem;
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero__meta p {
  margin: 0;
}

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

.hero__media {
  display: grid;
  gap: 0.7rem;
  justify-items: center;
}

.hero__photo-wrap {
  position: relative;
  width: min(100%, 460px);
  padding: 0.7rem;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(95, 163, 255, 0.26) 0%, rgba(47, 125, 255, 0.18) 100%);
  box-shadow: var(--shadow);
}

.hero__photo {
  display: block;
  width: 100%;
  height: clamp(360px, 52vw, 560px);
  object-fit: cover;
  border-radius: 18px;
}

.hero__photo-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
}

.section {
  min-height: 88vh;
  padding: 5.3rem 4% 4.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section.container {
  width: 100%;
  max-width: none;
  margin: 0;
}

.section h2 {
  color: var(--title);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.85rem, 4.2vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.section h2 {
  text-transform: uppercase;
}

.about__label,
.experience__label,
.languages__label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.74rem;
  margin-bottom: 0.5rem;
}

.section > p,
.section__intro {
  width: min(1180px, 92%);
  margin: 0 auto 1.2rem;
  color: var(--muted);
  font-size: 1.02rem;
}

#certificates.section h2 {
  width: min(1180px, 92%);
  margin: 0 auto 0.8rem;
}

#about.section::before,
#skills.section::before,
#experience.section::before,
#projects.section::before,
#certificates.section::before {
  background:
    radial-gradient(circle at 8% 14%, rgba(95, 163, 255, 0.09) 0%, transparent 34%),
    radial-gradient(circle at 92% 84%, rgba(95, 163, 255, 0.14) 0%, transparent 38%),
    linear-gradient(160deg, #0d1726 0%, #132136 52%, #0f1a2c 100%);
}

#about.section::after,
#skills.section::after,
#experience.section::after,
#projects.section::after,
#certificates.section::after {
  background: linear-gradient(180deg, rgba(8, 13, 20, 0.3) 0%, rgba(8, 13, 20, 0.76) 100%);
}

#education.section::before,
#contact.section::before {
  background:
    radial-gradient(circle at 82% 18%, rgba(47, 125, 255, 0.15) 0%, transparent 34%),
    linear-gradient(170deg, #f4f8ff 0%, #e9f0fc 48%, #f9fbff 100%);
}

#education.section::after,
#contact.section::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.38) 100%);
}

#education.section h2,
#education.section p,
#education.section .section__intro,
#contact.section h2,
#contact.section .section__intro {
  color: #1c2836;
}

.skills-grid,
.panel-stack,
.portfolio__list,
.certificates-grid,
.contact-grid {
  width: min(1180px, 92%);
  margin: 0 auto;
}

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

.panel,
.portfolio__card,
.certificate-card,
.contact-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(170deg, rgba(22, 33, 48, 0.95) 0%, rgba(14, 23, 36, 0.96) 100%);
  box-shadow: var(--shadow);
}

#education.section .panel,
#contact.section .contact-card {
  border: 1px solid rgba(17, 31, 47, 0.14);
  background: linear-gradient(170deg, rgba(15, 28, 42, 0.95) 0%, rgba(20, 33, 46, 0.95) 100%);
}

.panel {
  padding: 1.25rem;
}

.panel h3 {
  margin: 0 0 0.45rem;
  color: var(--title);
  font-size: 1.18rem;
}

.meta {
  margin: 0 0 0.5rem;
  color: #c7d4e6;
}

.panel p,
.panel .meta,
.contact-form p,
.footer p {
  width: auto;
  margin-left: 0;
  margin-right: 0;
}

.panel-stack {
  display: grid;
  gap: 1rem;
}

.icon-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.icon-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #cfdbeb;
}

.icon-list i {
  color: #ffd081;
}

.icon-list--inline {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.certificates-education {
  width: min(1180px, 92%);
  margin: 0 auto 1rem;
}

.certificates-education__title {
  margin: 0 auto 0.55rem;
  color: #f0f6ff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.certificate-card--education {
  gap: 0.35rem;
}

.certificate-card--education h3 {
  font-size: 1.2rem;
}

.certificate-card {
  text-align: left;
  padding: 1.2rem;
  display: grid;
  gap: 0.45rem;
  cursor: default;
  color: inherit;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.certificate-card:hover {
  transform: none;
  border-color: var(--border);
  background: linear-gradient(170deg, rgba(22, 33, 48, 0.95) 0%, rgba(14, 23, 36, 0.96) 100%);
}

.certificate-card__issuer {
  color: #ffd081;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
}

.certificate-card h3 {
  margin: 0;
  color: #f0f6ff;
  font-size: 1.06rem;
}

.certificate-card p {
  margin: 0;
  color: #c2d1e3;
}

.certificate-card__cta {
  margin-top: 0.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #f7c37b;
  font-size: 0.88rem;
  font-weight: 700;
}

#certificates .certificates-education__title + .certificates-grid {
  margin-top: 0.75rem;
}

.contact-section {
  padding-top: 4.6rem;
}

.contact-header {
  width: min(920px, 92%);
  margin: 0 auto 2rem;
  text-align: center;
}

.contact-header__label {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(47, 125, 255, 0.45);
  background: rgba(95, 163, 255, 0.08);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.contact-header__title {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(2rem, 4.3vw, 3.4rem);
  line-height: 1.08;
}

.contact-header__title span {
  color: var(--accent);
}

.contact-header__intro {
  margin-top: 1rem;
  text-align: center;
}

.contact-grid--channels {
  width: min(1040px, 92%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 auto 2rem;
}

.contact-card--channel {
  min-height: 190px;
  padding: 1.35rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(165deg, rgba(10, 16, 26, 0.96) 0%, rgba(6, 11, 18, 0.96) 100%);
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.45rem;
  text-decoration: none;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.contact-card--channel:hover {
  transform: translateY(-5px);
  border-color: rgba(95, 163, 255, 0.55);
  box-shadow: 0 12px 28px rgba(47, 125, 255, 0.18);
}

.contact-card__icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  border: 1.5px solid rgba(95, 163, 255, 0.5);
  background: rgba(95, 163, 255, 0.15);
  color: var(--accent);
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
}

.contact-card__label {
  color: #8f9fb4;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 700;
}

.contact-card__value {
  color: #f5f8ff;
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
  word-break: break-word;
}

.contact-card__badge {
  margin-top: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #57d3ff;
  border: 1px solid rgba(87, 211, 255, 0.35);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  background: rgba(87, 211, 255, 0.08);
}

.contact-form--dark {
  width: min(1040px, 92%);
  margin: 0 auto;
  background: linear-gradient(165deg, rgba(9, 15, 24, 0.96) 0%, rgba(4, 9, 16, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 34px rgba(2, 6, 13, 0.45);
  border-radius: 18px;
  padding: 1.7rem;
}

.contact-form--dark h3 {
  margin: 0;
  color: #f8fbff;
  font-size: 2rem;
  font-family: "Space Grotesk", sans-serif;
}

.contact-form__lead {
  margin: 0.45rem 0 1rem;
  color: #90a3ba;
}

.contact-form--dark .form-label {
  color: #8fa3bb !important;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.contact-form--dark .form-control {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: #f0f6ff;
}

.contact-form--dark .form-control::placeholder {
  color: rgba(177, 194, 214, 0.55);
}

.contact-form--dark .form-control:focus {
  border-color: rgba(95, 163, 255, 0.6);
  box-shadow: 0 0 0 0.2rem rgba(77, 145, 230, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.contact-form--dark .btn-send {
  width: 100%;
  justify-content: center;
  min-height: 46px;
}

.footer__content--contact {
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

.footer__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #93a7c0;
  font-size: 0.86rem;
}

.footer__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.6);
}

.footer__hire {
  justify-self: start;
  margin-top: 0.4rem;
}

.contact-form:not(.contact-form--dark) {
  width: min(920px, 92%);
  margin: 0 auto 1.35rem;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(17, 31, 47, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 14px 28px rgba(34, 64, 95, 0.12);
  padding: 1.15rem;
}

.contact-form:not(.contact-form--dark) .form-label {
  color: #15273a !important;
  font-weight: 700;
}

.contact-form:not(.contact-form--dark) .form-control {
  border-radius: 10px;
  border: 1px solid rgba(23, 43, 66, 0.2);
  background: #f8fbff;
  color: #15273a;
}

.contact-form:not(.contact-form--dark) .form-control:focus {
  border-color: #4d91e6;
  box-shadow: 0 0 0 0.2rem rgba(77, 145, 230, 0.2);
}

.contact-form:not(.contact-form--dark) .form-control::placeholder {
  color: rgba(21, 39, 58, 0.45);
}

.contact-form:not(.contact-form--dark) .btn-send {
  border: 0;
  cursor: pointer;
  min-width: 160px;
}

.contact-form:not(.contact-form--dark) .btn-send:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

.form-status {
  margin: 0.25rem 0 0;
  min-height: 1.35rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-status.is-loading {
  color: #3d4f63;
}

.form-status.is-success {
  color: #0a7c4e;
}

.form-status.is-error {
  color: #b02a37;
}

.contact-grid:not(.contact-grid--channels) {
  width: min(920px, 92%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.contact-card:not(.contact-card--channel) {
  min-height: 76px;
  text-decoration: none;
  color: #f4f8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  transition: transform 200ms ease, border-color 200ms ease;
}

.contact-card:not(.contact-card--channel):hover {
  transform: translateY(-4px);
  border-color: rgba(95, 163, 255, 0.58);
}

.contact-card:not(.contact-card--channel) i {
  color: #ffd081;
}

.footer {
  padding: 2.1rem 0 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(10, 15, 24, 0.7) 0%, rgba(6, 10, 16, 0.94) 100%);
}

.footer__content {
  width: min(1180px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1.3rem;
}

.footer__section {
  display: grid;
  gap: 0.6rem;
}

.footer__content h4 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--title);
  font-size: 1rem;
  font-weight: 700;
}

.footer__content p {
  margin: 0;
  color: #b4c2d6;
  font-size: 0.94rem;
  line-height: 1.5;
}

.footer__socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.3rem;
}

.footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(95, 163, 255, 0.12);
  border: 1px solid rgba(95, 163, 255, 0.25);
  border-radius: 8px;
  color: var(--accent);
  font-size: 1.1rem;
  transition: all 280ms ease;
}

.footer__socials a:hover {
  background: var(--accent);
  color: #0e141f;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(47, 125, 255, 0.3);
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.footer__list a,
.footer__list span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.93rem;
  transition: color 180ms ease;
}

.footer__list a:hover {
  color: var(--accent);
}

.footer__list span {
  cursor: default;
  color: #a9bdd7;
}

.footer__bottom {
  width: min(1180px, 92%);
  margin: 1rem auto 0;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
  display: flex;
  justify-content: space-between;
  gap: 0.45rem;
  flex-wrap: wrap;
  color: #91a6bf;
}

.contact-grid.contact-grid--channels {
  width: min(1040px, 92%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.footer__content.footer__content--contact {
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

.details-modal {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(165deg, #111d2d 0%, #0b1522 100%);
  color: #d8e5f7;
  border-radius: 16px;
}

.details-modal .modal-header,
.details-modal .modal-footer {
  border-color: rgba(255, 255, 255, 0.12);
}

.details-modal__type {
  margin: 0;
  color: #ffd59e;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
}

.details-modal__subtitle {
  margin: 0.25rem 0 0;
  color: #a9bdd7;
  font-size: 0.92rem;
}

.details-modal__highlights {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.25rem;
}

.section--compact {
  min-height: auto;
  padding-top: 3.8rem;
  padding-bottom: 3.4rem;
}

.reveal-item {
  opacity: 0;
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal-left {
  transform: translateX(-34px);
}

.reveal-right {
  transform: translateX(34px);
  max-width: 100%;
  width: 100%;
}

.reveal-up {
  transform: translateY(26px);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.section--about {
  padding: 5.3rem 4% 4.8rem;
}

.about__content {
  width: min(1180px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.about__media {
  position: relative;
}

.about__photo-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.about__photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  filter: none;
}

.about__status {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  background: rgba(14, 23, 36, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #d8e5f7;
  backdrop-filter: blur(8px);
}

.about__status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}

.about__text {
  display: grid;
  gap: 0.8rem;
}

.about__text h2 {
  margin: 0;
  width: auto;
}

.about__text p {
  margin: 0;
  color: #c7d4e6;
  line-height: 1.7;
}

/* ---- Experience / Timeline ---- */
.experience__layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
  width: min(1180px, 92%);
  margin: 0 auto;
}

.experience__left {
  position: sticky;
  top: 6rem;
}

.experience__bio {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.8rem;
}

.experience__bio-label {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(47, 125, 255, 0.45);
  background: rgba(95, 163, 255, 0.1);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.experience__bio h3 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--title);
}

.experience__bio-title-line,
.experience__bio-title-accent {
  display: block;
}

.experience__bio-title-accent {
  color: var(--accent);
}

.experience__bio p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #c7d4e6;
}

.experience__bio p:nth-of-type(1) {
  color: var(--text);
  font-size: 1.03rem;
}

.experience__photo-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.experience__photo {
  width: 100%;
  display: block;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 3/4;
}

.experience__photo-badge {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  background: rgba(14, 23, 36, 0.92);
  border: 1px solid rgba(95, 163, 255, 0.22);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text);
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.experience__header {
  margin-bottom: 2rem;
}

.experience__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.experience__header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  margin: 0;
  color: var(--title);
}

.experience__title-accent {
  color: var(--accent);
}

/* Timeline cards */
.timeline-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.timeline-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.timeline-card__dot {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #08111d;
  box-shadow: 0 4px 16px rgba(47, 125, 255, 0.35);
  margin-top: 0.2rem;
}

.timeline-card__dot--achievement {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

.timeline-card__body {
  flex: 1;
  background: var(--bg-soft);
  border: 1px solid rgba(95, 163, 255, 0.14);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
}

.timeline-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.timeline-card__year {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.timeline-card__badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.timeline-card__badge--work {
  background: rgba(95, 163, 255, 0.15);
  color: var(--accent);
  border: 1px solid rgba(95, 163, 255, 0.3);
}

.timeline-card__badge--achievement {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.timeline-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--title);
  margin: 0 0 0.2rem;
}

.timeline-card__company {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 0.6rem;
}

.timeline-card__desc {
  font-size: 0.85rem;
  color: #c7d4e6;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .experience__layout {
    grid-template-columns: 1fr;
  }
  .experience__left {
    position: static;
  }
  .experience__bio {
    max-width: 540px;
    margin: 1rem auto 0;
  }
  .experience__photo {
    aspect-ratio: 1/1;
    max-width: 260px;
    margin: 0 auto;
  }
}

.languages-layout {
  width: min(1180px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: start;
}

.languages__content {
  display: grid;
  gap: 1.1rem;
}

.languages-grid {
  width: auto;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

.language-item {
  display: grid;
  gap: 0.5rem;
}

.language-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.language-item__code {
  color: var(--title);
  font-weight: 700;
  font-size: 0.98rem;
}

.language-item__level {
  color: var(--accent);
  font-weight: 700;
}

.language-item__bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.language-item__progress {
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-strong) 100%);
  border-radius: 999px;
  transition: width 600ms ease;
}

.language-item__label {
  margin: 0;
  color: #a9bdd7;
  font-size: 0.84rem;
}

.languages__highlight {
  width: auto;
  margin: 0;
  padding: 1.2rem;
  background: linear-gradient(135deg, rgba(95, 163, 255, 0.08) 0%, rgba(47, 125, 255, 0.06) 100%);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #d8e5f7;
  font-size: 0.96rem;
}

.languages__highlight i {
  color: var(--accent);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.section--light::before {
  background:
    radial-gradient(circle at 82% 18%, rgba(47, 125, 255, 0.08) 0%, transparent 34%),
    linear-gradient(170deg, #f0f5fb 0%, #e9f0fc 48%, #f8fbff 100%);
}

.section--light h2,
.section--light p,
.section--light .meta {
  color: #1c2836 !important;
}

.section--light .panel {
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.88) 0%, rgba(248, 250, 255, 0.92) 100%);
  border-color: rgba(17, 31, 47, 0.12);
}

.section--light .panel h3,
.section--light .panel p {
  color: #1c2836 !important;
}

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

  .hero__text {
    order: 2;
  }

  .hero__media {
    order: 1;
  }

  .contact-grid--channels {
    grid-template-columns: 1fr;
  }

  .footer__content.footer__content--contact {
    grid-template-columns: 1fr 1fr;
  }

  .languages-layout {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

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

  .skills-grid,
  .contact-grid,
  .languages-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100%, 98%);
  }

  .footer__content,
  .footer__bottom {
    width: min(100%, 98%);
  }

  .hero {
    padding: 5.5rem 1% 3rem;
  }

  .section {
    padding: 4.3rem 1% 3.5rem;
  }

  .footer__content.footer__content--contact {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer__section {
    gap: 0.45rem;
  }

  .footer__list a,
  .footer__list span {
    align-items: flex-start;
    line-height: 1.35;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .footer__socials {
    flex-wrap: wrap;
  }

  .footer__hire {
    justify-self: start;
    width: fit-content;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .contact-card--channel {
    min-height: 160px;
    padding: 1rem;
  }

  .contact-card__icon {
    width: 56px;
    height: 56px;
    font-size: 1.65rem;
    margin-bottom: 0.35rem;
  }

  .contact-card__value {
    font-size: 0.95rem;
  }

  .contact-card__label {
    font-size: 0.7rem;
  }

  .contact-card__badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }
}

@media (max-width: 820px) {
  .hero,
  .section {
    --parallax-y-back: 0px;
    --parallax-y-front: 0px;
  }

  .hero::before,
  .section::before,
  .hero::after,
  .section::after {
    transform: none;
    transition: none;
  }

  .reveal-item,
  .reveal-left,
  .reveal-right,
  .reveal-up {
    transform: none;
  }

  .hero {
    min-height: auto;
    padding: 5.5rem 1.5% 3rem;
  }

  .section {
    min-height: auto;
    padding: 4.3rem 1.5% 3.5rem;
  }

  .hero__photo {
    height: clamp(300px, 72vw, 470px);
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }
}

@media (max-width: 768px) {
  .top-nav .navbar-collapse {
    padding-top: 0.5rem;
  }

  .top-nav .nav-link {
    padding: 0.35rem 0;
  }

  .contact-form {
    padding: 1rem;
  }
}
