/* =====================================================
   Teddy Omondi Portfolio Styles
   Organized by shared styles and page sections.
   ===================================================== */

/* =====================================================
   Shared / Global Styles
   ===================================================== */

body {
  width: 100%;
  height: 100%;
  background: #000;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(32deg,
      rgb(8, 8, 8) 30px,
      transparent);
  background-size: 60px 60px;
  background-position: -5px -5px;
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  pointer-events: none;
  animation: borderGlow 5s infinite alternate;
}

@keyframes borderGlow {
  0% {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  }

  100% {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
  }
}

ul li {
  margin-bottom: 20px;
}

/*--------------------------------------------------------------
    # Header
    --------------------------------------------------------------*/

#header {
  transition: ease-in-out 0.3s;
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  overflow-y: auto;
  z-index: 997;
}

#header * {
  transition: ease-in-out 1.3s;

}

#header h1 {
  margin: 0;
  padding: 0;
  line-height: 1;
  margin-bottom: 20px;
  font-size: 5.5vw;
  letter-spacing: 3vw;
  color: #00f;
  text-align: center;
  text-transform: uppercase;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 100%;
  pointer-events: none;

  font-weight: 100;
  transform: translateY(-10px);
  /* Slight lift on hover */

  /* Drop-shadow for additional depth */
  filter: drop-shadow(0px 6px 10px #3d5257);
  opacity: 1;
  text-indent: 2.6vw;

  /* Subtle animation for dynamic effect */
  white-space: nowrap;
  /* Prevents breaking */
  animation: glowPulse 4s infinite ease-in-out;
  transition: filter 0.45s ease, transform 0.45s ease, color 0.45s ease;
}

#header.header-tops:hover h1 {
  color: #3d7bff;
  transform: translateY(-14px) scale(1.015);
  filter:
    drop-shadow(0 0 10px rgba(0, 0, 255, 0.9))
    drop-shadow(0 0 24px rgba(61, 123, 255, 0.65));
}

@media only screen and (max-width: 801px) {
  #header h1 {
    font-size: 8vw;
    /* Slightly smaller */
    letter-spacing: 3.5vw;
    /* Further reduced */
    text-indent: 0.5vw;
  }
}

#lokiTitle span {
  display: inline-block;
  color: inherit;
  line-height: inherit;
  text-transform: inherit;
  letter-spacing: normal;
  /* Avoid double letter-spacing */
  font-weight: inherit;
}

@media only screen and (max-width: 801px) {
  #lokiTitle span {
    font-size: 7vw;
    /* Adjust for smaller screens */
    letter-spacing: 3.1vw;
    /* Further reduced for smaller screens */
    text-indent: 0.5vw;
    /* Adjust text indent for smaller screens */
  }
}

@keyframes glowPulse {
  0%,
  100% {
    filter: drop-shadow(0px 6px 10px #3d5257);
  }

  50% {
    filter:
      drop-shadow(0 0 12px rgba(0, 0, 255, 0.75))
      drop-shadow(0 0 22px rgba(61, 123, 255, 0.45));
  }
}

#header h2 {
  margin-top: 10px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  /* Use flexbox for alignment */
  flex-direction: row;
  /* Ensure items stay in a single row */
  justify-content: center;
  /* Center align the items */
  align-items: center;
  text-align: center;
  pointer-events: none;
  font-weight: 100;
  letter-spacing: 1.65vw;
  /* Default spacing for larger screens */
  white-space: nowrap;
  /* Prevent text wrapping */
  padding: 0;
  margin: 0;
  font-size: 1vw;
  text-indent: 1.8vw;
  position: relative;
  top: 0;
  left: auto;
  transform: none;
  position: relative;
  overflow: hidden;
  transition: color 0.45s ease, text-shadow 0.45s ease;
}

#header h2::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
      transparent 0%,
      rgba(255, 255, 255, 0.08) 35%,
      rgba(61, 123, 255, 0.55) 50%,
      rgba(255, 255, 255, 0.08) 65%,
      transparent 100%);
  transform: translateX(-130%);
  transition: transform 0.75s ease;
  pointer-events: none;
}

#header.header-tops:hover h2 {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 0 14px rgba(0, 0, 255, 0.65);
}

#header.header-tops:hover h2::after {
  transform: translateX(130%);
}

@media only screen and (max-width: 801px) {
  #header h2 {
    font-size: 2.5vw;
  }
}

/*--------------------------------------------------------------
    # Navigation Menu
    --------------------------------------------------------------*/

/* Desktop Navigation */

/*--------------------------------------------------------------
    # Navigation Menu (Reduced Size)
    --------------------------------------------------------------*/
.nav-menu {
  margin-top: 0;
  margin-right: 2.5%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 95%;
}

.nav-menu ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: flex-end;
  width: auto;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  display: block;
  position: relative;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 300;
  text-align: right;
  text-transform: uppercase;
  padding: 8px 12px;
  overflow: hidden;
  transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
}

.nav-menu a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg,
      transparent,
      #00f,
      #00f,
      #00f,
      transparent);
  box-shadow: 0 0 12px rgba(0, 0, 255, 0.9);
  transform: translateX(-110%);
  transition: transform 0.42s ease-in-out;
}

.nav-menu a:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
      transparent 0%,
      rgba(0, 0, 255, 0.18) 45%,
      rgba(111, 163, 255, 0.28) 50%,
      rgba(0, 0, 255, 0.18) 55%,
      transparent 100%);
  transform: translateX(-130%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

/* Hover effects */
.nav-menu a:hover:before,
.nav-menu li:hover>a:before,
.nav-menu .active>a:before {
  transform: translateX(0);
}

.nav-menu a:hover:after,
.nav-menu li:hover>a:after,
.nav-menu .active>a:after {
  transform: translateX(130%);
}

.nav-menu a:hover,
.nav-menu .active>a,
.nav-menu li:hover>a {
  color: #00f;
  text-decoration: none;
  transform: translateY(-2px) scale(1.05);
  text-shadow: 0 0 12px rgba(0, 0, 255, 0.85);
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 20px;
  /* Smaller mobile icon */
  transition: all 0.4s ease;
  outline: none !important;
  cursor: pointer;
  text-align: right;
}

.mobile-nav-toggle i {
  color: #fff;
}

.mobile-nav {
  position: fixed;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  z-index: 9999;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.7);
  transition: ease-in-out 0.2s;
  opacity: 0;
  visibility: hidden;
  border-radius: 10px;
  padding: 8px 0;
  /* Reduced padding */
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.mobile-nav * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav a {
  display: block;
  position: relative;
  color: #fff;
  padding: 8px 15px;
  /* Smaller padding */
  font-weight: 500;
  outline: none;
  overflow: hidden;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.mobile-nav a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 5px;
  height: 2px;
  background: linear-gradient(90deg, #00f, #00f, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.mobile-nav a:hover,
.mobile-nav .active>a,
.mobile-nav li:hover>a {
  color: #00f;
  text-decoration: none;
  text-shadow: 0 0 10px rgba(0, 0, 255, 0.75);
}

.mobile-nav a:hover::after,
.mobile-nav .active>a::after,
.mobile-nav li:hover>a::after {
  transform: scaleX(1);
}

.mobile-nav-overly {
  width: 100%;
  height: 100%;
  z-index: 9997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(9, 9, 9, 0.6);
  overflow: hidden;
  display: none;
  transition: ease-in-out 0.2s;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active .mobile-nav {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-active .mobile-nav-toggle i {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  #header h1,
  #header h2,
  #header h2::after,
  .nav-menu a,
  .nav-menu a::before,
  .nav-menu a::after,
  .mobile-nav a,
  .mobile-nav a::after {
    animation: none;
    transition: none;
  }
}

/* Additional mobile menu tweaks */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    /* Hide desktop navigation on mobile */
  }

  .mobile-nav-toggle {
    display: block;
    /* Show mobile toggle button */
  }

  .mobile-nav {
    display: block;
    /* Show mobile nav when active */
  }

  .mobile-nav a {
    padding: 10px 15px;
    /* Adjust padding for better touch targets */
  }
}

/* =====================================================
   Home Page
   ===================================================== */

/* Home page refresh */
#header.header-tops:not(.header-top) {
  --home-title-width: min(980px, calc(100vw - 72px));
  min-height: 100vh;
  height: auto;
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
}

#header.header-tops:not(.header-top)::before {
  content: "";
  position: absolute;
  inset: clamp(18px, 3vw, 42px);
  border: 1px solid rgba(111, 163, 255, 0.18);
  background:
    radial-gradient(circle at 18% 28%, rgba(0, 0, 255, 0.22), transparent 30%),
    radial-gradient(circle at 78% 18%, rgba(111, 163, 255, 0.12), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  box-shadow: inset 0 0 80px rgba(0, 0, 255, 0.08), 0 0 36px rgba(0, 0, 255, 0.08);
  pointer-events: none;
  z-index: -1;
}

#header.header-tops:not(.header-top)::after {
  content: "";
  position: fixed;
  width: min(540px, 72vw);
  aspect-ratio: 1;
  right: -14vw;
  bottom: -24vw;
  border: 1px solid rgba(111, 163, 255, 0.16);
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle,
      rgba(111, 163, 255, 0.16) 0 1px,
      transparent 1px 42px);
  opacity: 0.6;
  animation: homeOrbDrift 14s linear infinite;
  pointer-events: none;
  z-index: 0;
}

#header.header-tops:not(.header-top) .home-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-items: center;
  padding-top: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(42px, 6vw, 76px);
}

#header.header-tops:not(.header-top) .nav-menu {
  width: var(--home-title-width);
  margin: 0;
  justify-content: flex-end;
  align-self: start;
  justify-self: center;
}

#header.header-tops:not(.header-top) .nav-menu ul {
  width: 100%;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 14px;
  padding: 6px 12px;
  border: 1px solid rgba(111, 163, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.22);
}

#header.header-tops:not(.header-top) .nav-menu li {
  margin: 0;
}

#header.header-tops:not(.header-top) .home-hero {
  width: min(100%, 1120px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 0;
  padding: clamp(22px, 4vw, 46px) 0 clamp(56px, 7vw, 84px);
}

.home-eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.72rem, 1.1vw, 0.92rem);
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.home-title-lock {
  width: min(980px, calc(100vw - 72px));
  min-width: min(980px, calc(100vw - 72px));
  max-width: min(980px, calc(100vw - 72px));
  display: grid;
  justify-items: stretch;
}

#header.header-tops:not(.header-top) h1 {
  height: auto;
  margin-bottom: 16px;
  font-size: clamp(2.7rem, 8.2vw, 7.8rem);
  line-height: 0.95;
  letter-spacing: clamp(0.18rem, 1.35vw, 1.05rem);
  text-indent: clamp(0.18rem, 1.35vw, 1.05rem);
}

#header.header-tops:not(.header-top) h2 {
  width: 100%;
  min-width: 100%;
  margin: 0 auto;
  font-size: var(--home-tagline-font-size, clamp(0.78rem, 1.05vw, 1rem));
  letter-spacing: 0;
  text-indent: 0;
  text-align: center;
  white-space: nowrap;
}

.home-tagline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: visible;
}

.home-tagline-char {
  display: inline-block;
  flex: 0 0 auto;
}

.home-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 4vw, 44px);
}

.home-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid rgba(111, 163, 255, 0.42);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.home-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.home-btn:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
  border-color: rgba(111, 163, 255, 0.92);
  box-shadow: 0 0 24px rgba(0, 0, 255, 0.34);
}

.home-btn:hover::before {
  transform: translateX(120%);
}

.home-btn-primary {
  background: linear-gradient(135deg, rgba(0, 0, 255, 0.92), rgba(61, 123, 255, 0.72));
}

.home-btn-secondary {
  background: rgba(255, 255, 255, 0.04);
}

.home-social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.home-social-links a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(111, 163, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  transition: transform 0.28s ease, color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.home-social-links a:hover {
  color: #00f;
  text-decoration: none;
  transform: translateY(-4px);
  border-color: rgba(111, 163, 255, 0.78);
  box-shadow: 0 0 18px rgba(0, 0, 255, 0.38);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(24px, 3vw, 40px);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue:hover {
  color: #00f;
  text-decoration: none;
}

.scroll-cue span {
  width: 1px;
  height: 18px;
  background: linear-gradient(#00f, transparent);
  animation: scrollCue 1.7s ease-in-out infinite;
}

@keyframes scrollCue {
  0%,
  100% {
    transform: scaleY(0.45);
    opacity: 0.45;
  }

  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

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

@media (max-width: 991px) {
  #header.header-tops:not(.header-top) {
    --home-title-width: min(720px, calc(100vw - 48px));
  }

  #header.header-tops:not(.header-top) .home-shell {
    padding-top: 70px;
  }

  #header.header-tops:not(.header-top) .nav-menu {
    display: none;
  }

  #header.header-tops:not(.header-top)::before {
    inset: 14px;
  }

  .home-eyebrow {
    letter-spacing: 0.22em;
  }

  .home-title-lock {
    width: min(720px, calc(100vw - 48px));
    min-width: min(720px, calc(100vw - 48px));
    max-width: min(720px, calc(100vw - 48px));
  }
}

@media (max-width: 575px) {
  #header.header-tops:not(.header-top) {
    --home-title-width: calc(100vw - 58px);
  }

  #header.header-tops:not(.header-top) .home-hero {
    min-height: 74vh;
    padding-left: 10px;
    padding-right: 10px;
  }

  .home-title-lock {
    width: calc(100vw - 58px);
    min-width: calc(100vw - 58px);
    max-width: calc(100vw - 58px);
  }

  #header.header-tops:not(.header-top) h1 {
    width: 100%;
    font-size: clamp(1.35rem, 7.1vw, 2.7rem);
    letter-spacing: clamp(0.08rem, 1vw, 0.22rem);
    text-indent: clamp(0.08rem, 1vw, 0.22rem);
    white-space: nowrap;
    overflow-wrap: normal;
  }

  #header.header-tops:not(.header-top) h2 {
    white-space: nowrap;
    line-height: 1.8;
    font-size: var(--home-tagline-font-size, 0.72rem);
    letter-spacing: 0;
    text-indent: 0;
  }

  .home-eyebrow {
    font-size: 0.66rem;
    line-height: 1.7;
    letter-spacing: 0.16em;
  }

  .home-actions {
    width: 100%;
    margin-top: 24px;
  }

  .home-btn {
    width: min(100%, 260px);
  }

  .home-social-links {
    margin-top: 20px;
  }

  .home-social-links a {
    width: 38px;
    height: 38px;
  }

  .scroll-cue {
    bottom: 14px;
  }
}

@media (max-height: 720px) {
  .scroll-cue {
    display: none;
  }
}

/* Header Top */

#header.header-top {
  height: 80px;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
}

#header.header-top .home-hero {
  display: none;
}

#header.header-top .social-links,
#header.header-top h2,
#header.header-top h1 {
  display: none;
}

#header.header-top .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#header.header-top .nav-menu {
  display: flex;
  width: min(940px, calc(100vw - 72px));
  margin: 0 2.5% 0 auto;
}

#header.header-top .nav-menu ul {
  width: 100%;
  justify-content: space-between;
  gap: 8px;
}

#header.header-top .nav-menu li {
  margin-left: 0;
}

@media (max-width: 768px) {
  #header.header-top {
    height: 78px;
  }

  #header.header-top .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  #header.header-top .nav-menu {
    display: flex;
    width: 100%;
    margin: 0;
  }

  #header.header-top .nav-menu ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 6px;
  }

  #header.header-top .nav-menu a {
    padding: 5px 7px;
    font-size: 10px;
    line-height: 1;
  }

  #header.header-top ~ .mobile-nav-toggle,
  body:has(#header.header-top) .mobile-nav-toggle {
    display: none;
  }
}

/*--------------------------------------------------------------
    # Sections General
    --------------------------------------------------------------*/
section {
  overflow: hidden;
  position: absolute;
  width: 100%;
  top: 140px;
  bottom: 100%;
  opacity: 0;
  transition: ease-in-out 0.4s;
  z-index: 2;
}

section.section-show {
  top: 100px;
  bottom: auto;
  opacity: 1;
  padding-bottom: 45px;
}

section .container {
  background: rgba(0, 0, 0, 0.363);
  padding: 3%;
}

@media (max-width: 768px) {
  section {
    top: 120px;
  }

  section.section-show {
    top: 80px;
  }
}

/* =====================================================
   About Page
   ===================================================== */

.about-me .content {
  position: relative;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(28, 48, 120, 0.38), rgba(8, 14, 42, 0.72)),
    rgba(6, 10, 28, 0.72);
  border: 1px solid rgba(111, 163, 255, 0.16);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.26);
  border-radius: 0;
  padding: clamp(18px, 3vw, 34px);
  transition: border-color 0.32s ease, box-shadow 0.32s ease;
}

.about-me .content:hover {
  transform: none;
  border-color: rgba(111, 163, 255, 0.38);
  box-shadow: 0 18px 54px rgba(0, 0, 255, 0.18);
}

.about .about-skills {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  margin: clamp(24px, 4vw, 42px) 0 0;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(111, 163, 255, 0.16);
  border-top-color: rgba(111, 163, 255, 0.32);
  background:
    linear-gradient(180deg, rgba(28, 48, 120, 0.32), rgba(8, 14, 42, 0.78)),
    rgba(6, 10, 28, 0.72);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.26);
}

.about .about-skills .section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.about .about-skills .section-title::after {
  content: "Practical stack";
  color: rgba(143, 164, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about .about-skills .section-title h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  line-height: 1;
  letter-spacing: clamp(0.1rem, 0.8vw, 0.34rem);
  text-shadow: 0 0 18px rgba(0, 0, 255, 0.44);
}

.about .about-skills .skills-content {
  row-gap: 18px;
}

.about .about-skills .skill-item {
  position: relative;
  padding: 16px 16px 15px;
  border-radius: 0;
  border-color: rgba(111, 163, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(28, 48, 120, 0.36), rgba(8, 14, 42, 0.72)),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 22px rgba(0, 0, 255, 0.035);
}

.about .about-skills .skill-item:hover {
  transform: translateY(-3px);
  border-color: rgba(111, 163, 255, 0.46);
  background: rgba(0, 0, 255, 0.08);
  box-shadow: 0 0 24px rgba(0, 0, 255, 0.18);
}

.about .about-skills .progress {
  height: 6px;
  border-radius: 0;
  background-color: rgba(255, 255, 255, 0.1);
}

.about-photo-frame {
  position: relative;
  isolation: isolate;
  width: min(100%, 340px);
  margin: 0 auto;
  animation: aboutRise 0.7s ease both;
}

.about-photo-frame::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(111, 163, 255, 0.22);
  background: linear-gradient(135deg, rgba(0, 0, 255, 0.18), transparent 45%);
  transform: translate(10px, 10px);
  z-index: -1;
}

.profile-photo {
  display: block;
  width: 100%;
  max-height: 460px;
  border-radius: 0;
  border: 1px solid rgba(111, 163, 255, 0.28);
  box-shadow: 0 0 30px rgba(0, 0, 255, 0.24), 0 20px 48px rgba(0, 0, 0, 0.32);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(0.14) contrast(1.08) saturate(0.92);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

.profile-photo:hover {
  transform: translateY(-4px);
  border-color: rgba(111, 163, 255, 0.68);
  box-shadow: 0 0 38px rgba(0, 0, 255, 0.38), 0 24px 58px rgba(0, 0, 0, 0.38);
  filter: grayscale(0) contrast(1.08) saturate(1.05);
}

.about-me .content h3 {
  color: #00f;
  font-size: clamp(1.5rem, 2.6vw, 2.6rem);
  font-weight: 300;
  letter-spacing: clamp(0.08rem, 0.65vw, 0.32rem);
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(0, 0, 255, 0.5);
}

.about-intro {
  display: block;
  max-width: 780px;
  margin: 0 0 18px;
  padding: 0;
  color: rgba(255, 255, 255, 0.84);
  white-space: normal;
  line-height: 1.75;
  font-size: 0.98rem;
}

.focus-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.focus-chips span {
  border: 1px solid rgba(111, 163, 255, 0.24);
  background: rgba(0, 0, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  padding: 7px 11px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.detail-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  border-radius: 0;
  border: 1px solid rgba(111, 163, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(28, 48, 120, 0.36), rgba(8, 14, 42, 0.72)),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 22px rgba(0, 0, 255, 0.035);
  opacity: 1 !important;
  padding: 14px;
  animation: aboutRise 0.55s ease both;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.detail-item:nth-child(1) { animation-delay: 0.06s; }
.detail-item:nth-child(2) { animation-delay: 0.1s; }
.detail-item:nth-child(3) { animation-delay: 0.14s; }
.detail-item:nth-child(4) { animation-delay: 0.18s; }
.detail-item:nth-child(5) { animation-delay: 0.22s; }
.detail-item:nth-child(6) { animation-delay: 0.26s; }
.detail-item:nth-child(7) { animation-delay: 0.3s; }
.detail-item:nth-child(8) { animation-delay: 0.34s; }

.detail-item:hover,
.detail-item:focus {
  transform: translateY(-4px);
  border-color: rgba(111, 163, 255, 0.48);
  background: rgba(0, 0, 255, 0.08);
  box-shadow: 0 0 24px rgba(0, 0, 255, 0.2);
  outline: none;
}

.copy-detail {
  cursor: pointer;
}

.copy-detail::after {
  content: "Copy";
  margin-left: auto;
  color: rgba(111, 163, 255, 0.7);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.copy-detail.copied::after {
  content: "Copied";
  color: #fff;
}

.detail-item .icon-box {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  border: 1px solid rgba(111, 163, 255, 0.22);
  background: rgba(0, 0, 255, 0.14);
  box-shadow: 0 0 16px rgba(0, 0, 255, 0.16);
}

.detail-item .icon-box i {
  color: #00f;
  display: block;
  font-size: 1.2rem;
  line-height: 1;
  margin: 0;
}

.detail-content strong {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.detail-content p,
.about-me p {
  display: block;
  padding-left: 0;
  white-space: normal;
  color: rgba(255, 255, 255, 0.84);
}

.about-cta {
  gap: 14px;
  flex-wrap: wrap;
}

.btn-about,
.btn-about-outline {
  position: relative;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 0;
  border: 1px solid rgba(111, 163, 255, 0.5);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn-about {
  background: linear-gradient(135deg, rgba(0, 0, 255, 0.9), rgba(61, 123, 255, 0.72));
}

.btn-about::before,
.btn-about-outline::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.btn-about:hover,
.btn-about-outline:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
  border-color: rgba(111, 163, 255, 0.95);
  box-shadow: 0 0 24px rgba(0, 0, 255, 0.3);
}

.btn-about:hover::before,
.btn-about-outline:hover::before {
  transform: translateX(120%);
}

@keyframes aboutRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991px) {

  .about-photo-frame {
    width: min(56vw, 220px);
    margin-bottom: 18px;
  }

  .profile-photo {
    max-height: 285px;
  }

  .about-me .content h3 {
    margin-top: 18px;
  }
}

@media (max-width: 575px) {

  .about-me .content {
    padding: 14px;
  }

  .about-photo-frame {
    width: min(54vw, 190px);
  }

  .profile-photo {
    max-height: 245px;
  }

  .about .about-skills {
    margin-top: 22px;
    padding: 14px;
  }

  .about .about-skills .section-title {
    margin-bottom: 18px;
  }

  .about-me .content h3 {
    font-size: clamp(1.28rem, 7.5vw, 1.72rem);
    line-height: 1.15;
    letter-spacing: 0.1rem;
  }

  .about-intro {
    font-size: 0.9rem;
  }

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

  .detail-item {
    align-items: flex-start;
  }

  .copy-detail::after {
    display: none;
  }

  .about-cta a {
    width: 100%;
    text-align: center;
  }
}

/* =====================================================
   About Page - Skills
   ===================================================== */

.skills-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 18px;
}

.skill-focus-card {
  position: relative;
  min-height: 172px;
  padding: 18px;
  border: 1px solid rgba(111, 163, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 20% 0%, rgba(0, 0, 255, 0.18), transparent 38%);
  box-shadow: inset 0 0 26px rgba(0, 0, 255, 0.035);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.skill-focus-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.skill-focus-card:hover {
  transform: translateY(-5px);
  border-color: rgba(111, 163, 255, 0.48);
  background:
    linear-gradient(180deg, rgba(0, 0, 255, 0.12), rgba(255, 255, 255, 0.025)),
    radial-gradient(circle at 20% 0%, rgba(0, 80, 255, 0.24), transparent 42%);
  box-shadow: 0 0 28px rgba(0, 0, 255, 0.16);
}

.skill-focus-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border: 1px solid rgba(111, 163, 255, 0.24);
  background: rgba(0, 0, 255, 0.16);
  color: #8fa4ff;
  box-shadow: 0 0 18px rgba(0, 0, 255, 0.18);
}

.skill-focus-card strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.skill-focus-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.55;
}

.skill-toolbelt {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 28px;
}

.skill-toolbelt span {
  border: 1px solid rgba(111, 163, 255, 0.18);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(231, 235, 255, 0.9);
  padding: 8px 10px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, color 0.24s ease;
}

.skill-toolbelt span:hover {
  color: #fff;
  transform: translateY(-2px);
  border-color: rgba(111, 163, 255, 0.52);
  background: rgba(0, 0, 255, 0.16);
}

.about .about-skills .skills-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.08rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about .about-skills .skills-title::before {
  content: "";
  width: 9px;
  height: 9px;
  background: #4d6fff;
  box-shadow: 0 0 14px rgba(77, 111, 255, 0.85);
}

.about .about-skills .skills-title::after {
  width: 72px;
  height: 1px;
  bottom: -10px;
  border-radius: 0;
  background: linear-gradient(90deg, #4d6fff, transparent);
}

.about .about-skills .skill-name {
  font-size: 0.94rem;
  color: #fff;
}

.about .about-skills .skill-percent {
  color: #8fa4ff;
}

.about .about-skills .progress-bar {
  border-radius: 0;
  background: linear-gradient(90deg, #243dff, #7ca0ff);
  box-shadow: 0 0 18px rgba(43, 92, 255, 0.42);
}

@media (max-width: 1180px) {
  .skills-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .about .about-skills .section-title {
    display: block;
  }

  .about .about-skills .section-title::after {
    display: block;
    margin-top: 10px;
  }

  .skills-overview {
    grid-template-columns: 1fr;
  }

  .skill-focus-card {
    min-height: auto;
  }
}


/* =====================================================
   My Orbit Page
   ===================================================== */

.MyOrbit .section-title,
.MyOrbit .orbit-grid,
.MyOrbit .orbit-review-stack {
  position: relative;
  z-index: 1;
}

.MyOrbit>.container {
  isolation: isolate;
  color: #fff;
}

.MyOrbit>.container>.section-title {
  padding-top: 8px;
}

.MyOrbit>.container>.section-title h2 {
  opacity: 0.14;
  filter: blur(1.5px);
}

.MyOrbit>.container>.section-title p {
  text-shadow: 0 0 28px rgba(0, 0, 255, 0.62), 0 0 8px rgba(0, 0, 0, 0.72);
}

.orbit-updated {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-top: 16px;
  border: 1px solid rgba(111, 163, 255, 0.24);
  background: rgba(0, 0, 0, 0.28);
  color: rgba(231, 236, 255, 0.86);
  padding: 9px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: inset 0 0 18px rgba(0, 0, 255, 0.08);
}

.MyOrbit .orbit-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: 0;
}

.MyOrbit .orbit-card,
.MyOrbit .review-card,
.MyOrbit .spotify-playlist {
  position: relative;
  border-radius: 0;
  border: 1px solid rgba(111, 163, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(28, 48, 120, 0.7), rgba(8, 14, 42, 0.92)),
    #050916;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.48), inset 0 0 34px rgba(0, 34, 255, 0.12);
  backdrop-filter: none;
  opacity: 1 !important;
}

.MyOrbit .orbit-card {
  padding: clamp(18px, 2vw, 26px);
  min-height: 260px;
  animation: aboutRise 0.55s ease both;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.MyOrbit .orbit-card::before,
.MyOrbit .review-card::before,
.MyOrbit .spotify-playlist::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(111, 163, 255, 0.55), transparent);
  pointer-events: none;
}

.MyOrbit .orbit-card:nth-child(1) { animation-delay: 0.04s; }
.MyOrbit .orbit-card:nth-child(2) { animation-delay: 0.08s; }
.MyOrbit .orbit-card:nth-child(3) { animation-delay: 0.12s; }
.MyOrbit .orbit-card:nth-child(4) { animation-delay: 0.16s; }
.MyOrbit .orbit-card:nth-child(5) { animation-delay: 0.2s; }
.MyOrbit .orbit-card:nth-child(6) { animation-delay: 0.24s; }

.MyOrbit .featured-building {
  grid-column: span 6;
  min-height: 0;
  background:
    radial-gradient(circle at 92% 16%, rgba(111, 163, 255, 0.2), transparent 30%),
    linear-gradient(135deg, rgba(28, 62, 190, 0.74), rgba(9, 16, 46, 0.96)),
    #050916;
}

.MyOrbit .watching,
.MyOrbit .reading,
.MyOrbit .learning,
.MyOrbit .building,
.MyOrbit .inspiring,
.MyOrbit .life-notes {
  grid-column: span 2;
}

.MyOrbit .featured-building .orbit-content {
  max-width: 860px;
}

.build-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}

.status-badge {
  border: 1px solid rgba(111, 163, 255, 0.32);
  background: rgba(0, 0, 255, 0.14);
  color: #fff;
  padding: 8px 12px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-percent {
  color: #6fa3ff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.build-progress {
  height: 8px;
  margin-top: 12px;
  border: 1px solid rgba(111, 163, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.build-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #00f, #6fa3ff);
  box-shadow: 0 0 18px rgba(0, 0, 255, 0.48);
}

.MyOrbit .orbit-card:hover,
.MyOrbit .review-card:hover {
  transform: translateY(-5px);
  border-color: rgba(111, 163, 255, 0.52);
  background:
    linear-gradient(180deg, rgba(31, 66, 190, 0.78), rgba(8, 14, 42, 0.96)),
    #050916;
  box-shadow: 0 0 26px rgba(0, 0, 255, 0.2), 0 20px 48px rgba(0, 0, 0, 0.34);
}

.MyOrbit .orbit-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(111, 163, 255, 0.14);
}

.MyOrbit .orbit-header i,
.MyOrbit .card-header i {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 1px solid rgba(111, 163, 255, 0.22);
  background: rgba(0, 0, 255, 0.14);
  box-shadow: 0 0 16px rgba(0, 0, 255, 0.16);
  color: #6fa3ff !important;
}

.MyOrbit .orbit-header h3,
.MyOrbit .card-header h3 {
  margin: 4px 0 0;
  color: #fff;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.72);
}

.MyOrbit .orbit-list li {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(111, 163, 255, 0.08);
}

.MyOrbit .orbit-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.MyOrbit .orbit-label,
.MyOrbit .stat-label,
.MyOrbit .age-label,
.MyOrbit .time-label,
.MyOrbit .section-label {
  color: rgba(157, 180, 255, 0.98);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.MyOrbit .orbit-value,
.MyOrbit .stat-value,
.MyOrbit .age-value,
.MyOrbit .time-value {
  display: block;
  color: rgba(255, 255, 255, 0.98);
  line-height: 1.35;
}

.MyOrbit .orbit-note {
  display: block;
  margin-top: 5px;
  color: rgba(232, 236, 255, 0.84);
  line-height: 1.58;
}

.MyOrbit .orbit-tag,
.MyOrbit .resume-skill-tag {
  border: 1px solid rgba(111, 163, 255, 0.24);
  border-radius: 0;
  background: rgba(0, 0, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  padding: 7px 11px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.68);
}

.MyOrbit .orbit-quote {
  border-left-color: rgba(111, 163, 255, 0.42);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.MyOrbit .orbit-review-stack {
  margin-top: clamp(24px, 4vw, 42px);
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid rgba(111, 163, 255, 0.24);
  border-top-color: rgba(111, 163, 255, 0.42);
  background:
    radial-gradient(circle at 8% 4%, rgba(0, 0, 255, 0.18), transparent 34%),
    radial-gradient(circle at 90% 0%, rgba(111, 163, 255, 0.1), transparent 30%),
    rgba(0, 0, 0, 0.32);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34), inset 0 0 48px rgba(0, 0, 255, 0.06);
}

.MyOrbit .year-in-review,
.MyOrbit .spotify-playlist {
  width: 100%;
  max-width: none;
  padding: 0;
}

.MyOrbit .year-in-review .section-title,
.MyOrbit .spotify-playlist .section-title {
  margin-bottom: clamp(16px, 2.4vw, 24px);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(111, 163, 255, 0.14);
}

.MyOrbit .year-in-review .section-title h1,
.MyOrbit .spotify-playlist .section-title h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.45rem, 2.8vw, 2.35rem);
  line-height: 1;
  letter-spacing: clamp(0.06rem, 0.45vw, 0.2rem);
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(0, 0, 255, 0.44);
}

.MyOrbit .review-intro {
  max-width: 720px;
  margin: 10px 0 0;
  color: rgba(231, 236, 255, 0.72);
  font-size: 0.96rem;
  line-height: 1.65;
}

.MyOrbit .review-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.MyOrbit .review-highlights div {
  border: 1px solid rgba(111, 163, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(0, 0, 255, 0.16), rgba(255, 255, 255, 0.035)),
    rgba(0, 0, 0, 0.18);
  padding: 14px;
}

.MyOrbit .review-highlights span {
  display: block;
  color: rgba(157, 180, 255, 0.92);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.MyOrbit .review-highlights strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.2;
}

.MyOrbit .review-card {
  height: 100%;
  padding: clamp(18px, 2vw, 25px);
  border-bottom: 1px solid rgba(111, 163, 255, 0.22);
  overflow: hidden;
}

.MyOrbit .orbit-review-stack .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.MyOrbit .orbit-review-stack .col-lg-6 {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0 !important;
  flex: none;
}

.MyOrbit .spotify-section,
.MyOrbit .youtube-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.MyOrbit .card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 0 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(111, 163, 255, 0.14);
  background: transparent;
}

.MyOrbit .spotify-card,
.MyOrbit .youtube-card {
  border-bottom-color: rgba(111, 163, 255, 0.16);
}

.MyOrbit .spotify-card {
  border-color: rgba(111, 163, 255, 0.22);
  background:
    radial-gradient(circle at 92% 8%, rgba(111, 163, 255, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(10, 16, 42, 0.72), rgba(0, 0, 0, 0.9)),
    #03050c;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.48), inset 0 0 34px rgba(0, 34, 255, 0.08);
}

.MyOrbit .youtube-card {
  border-color: rgba(111, 163, 255, 0.22);
  background:
    radial-gradient(circle at 92% 8%, rgba(111, 163, 255, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(10, 16, 42, 0.72), rgba(0, 0, 0, 0.9)),
    #03050c;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.48), inset 0 0 34px rgba(0, 34, 255, 0.08);
}

.MyOrbit .spotify-card:hover,
.MyOrbit .youtube-card:hover {
  border-color: rgba(111, 163, 255, 0.44);
  background:
    radial-gradient(circle at 92% 8%, rgba(111, 163, 255, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(12, 20, 50, 0.82), rgba(0, 0, 0, 0.94)),
    #03050c;
  box-shadow: 0 0 26px rgba(0, 0, 255, 0.18), 0 20px 48px rgba(0, 0, 0, 0.34);
}

.MyOrbit .spotify-card::before {
  background: linear-gradient(90deg, transparent, rgba(30, 215, 96, 0.72), transparent);
}

.MyOrbit .youtube-card::before {
  background: linear-gradient(90deg, transparent, rgba(255, 48, 48, 0.72), transparent);
}

.MyOrbit .spotify-card .card-header {
  border: 1px solid rgba(30, 215, 96, 0.32);
  border-bottom-color: rgba(30, 215, 96, 0.42);
  background:
    linear-gradient(135deg, rgba(30, 215, 96, 0.28), rgba(30, 215, 96, 0.08)),
    rgba(0, 0, 0, 0.28);
  padding: 12px;
}

.MyOrbit .youtube-card .card-header {
  border: 1px solid rgba(255, 48, 48, 0.32);
  border-bottom-color: rgba(255, 48, 48, 0.42);
  background:
    linear-gradient(135deg, rgba(255, 48, 48, 0.28), rgba(255, 48, 48, 0.08)),
    rgba(0, 0, 0, 0.28);
  padding: 12px;
}

.MyOrbit .spotify-card .card-header i {
  border-color: rgba(30, 215, 96, 0.32);
  background: rgba(30, 215, 96, 0.13);
  color: #1ed760 !important;
  box-shadow: 0 0 18px rgba(30, 215, 96, 0.18);
}

.MyOrbit .youtube-card .card-header i {
  border-color: rgba(255, 48, 48, 0.34);
  background: rgba(255, 48, 48, 0.12);
  color: #ff4545 !important;
  box-shadow: 0 0 18px rgba(255, 48, 48, 0.18);
}

.MyOrbit .spotify-stat-section,
.MyOrbit .youtube-stat-section,
.MyOrbit .stat-item,
.MyOrbit .total-genres,
.MyOrbit .spotify-list li,
.MyOrbit .youtube-list li {
  border-radius: 0;
  border-color: rgba(111, 163, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.MyOrbit .spotify-stat-section,
.MyOrbit .youtube-stat-section {
  width: 100%;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(111, 163, 255, 0.16);
  border-left: 1px solid rgba(111, 163, 255, 0.34);
}

.MyOrbit .spotify-card .spotify-stat-section,
.MyOrbit .spotify-card .total-genres,
.MyOrbit .spotify-card .spotify-list li {
  border-color: rgba(30, 215, 96, 0.28);
  border-left-color: rgba(30, 215, 96, 0.62);
  background:
    linear-gradient(135deg, rgba(30, 215, 96, 0.14), rgba(30, 215, 96, 0.035)),
    rgba(0, 0, 0, 0.2);
}

.MyOrbit .youtube-card .youtube-stat-section,
.MyOrbit .youtube-card .youtube-list li,
.MyOrbit .youtube-card .passport-item {
  border-color: rgba(255, 48, 48, 0.28);
  border-left-color: rgba(255, 48, 48, 0.62);
  background:
    linear-gradient(135deg, rgba(255, 48, 48, 0.14), rgba(255, 48, 48, 0.035)),
    rgba(0, 0, 0, 0.2);
}

.MyOrbit .spotify-stat-section:nth-child(3),
.MyOrbit .spotify-stat-section:nth-child(4),
.MyOrbit .youtube-stat-section:nth-child(1),
.MyOrbit .youtube-stat-section:nth-child(2) {
  grid-column: span 2;
}

.MyOrbit .spotify-list,
.MyOrbit .youtube-list {
  display: grid;
  gap: 8px;
  width: 100%;
  margin: 12px 0 0;
  padding: 0;
}

.MyOrbit .spotify-list li,
.MyOrbit .youtube-list li {
  display: flex;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 9px 10px;
}

.MyOrbit .spotify-list a:hover,
.MyOrbit .youtube-list a:hover,
.MyOrbit .spotify-list li:hover,
.MyOrbit .youtube-list li:hover {
  color: #6fa3ff;
  background: rgba(0, 0, 255, 0.08);
}

.MyOrbit .spotify-card .spotify-list a:hover,
.MyOrbit .spotify-card .spotify-list li:hover {
  color: #1ed760;
  background: rgba(30, 215, 96, 0.1);
}

.MyOrbit .youtube-card .youtube-list a:hover,
.MyOrbit .youtube-card .youtube-list li:hover {
  color: #ff5757;
  background: rgba(255, 48, 48, 0.1);
}

.MyOrbit .songs-with-covers li {
  align-items: center;
}

.MyOrbit .youtube-list a,
.MyOrbit .songs-with-covers a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
}

.MyOrbit .album-cover-placeholder {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(111, 163, 255, 0.18);
  background: rgba(0, 0, 255, 0.12);
  overflow: hidden;
}

.MyOrbit .artist-img,
.MyOrbit .album-cover-img {
  width: 42px;
  height: 42px;
  object-fit: cover;
}

.MyOrbit .total-genres,
.MyOrbit .age-stat,
.MyOrbit .time-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 11px 12px;
}

.MyOrbit .passport-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.MyOrbit .passport-item {
  border: 1px solid rgba(111, 163, 255, 0.16);
  background: rgba(0, 0, 255, 0.08);
  padding: 10px;
}

.MyOrbit .passport-item span {
  display: block;
}

.MyOrbit .country-name {
  color: #fff;
  font-weight: 700;
}

.MyOrbit .artist-count {
  color: rgba(231, 236, 255, 0.68);
  font-size: 0.8rem;
}

.MyOrbit .visual-placeholder {
  display: none;
}

.MyOrbit .spotify-playlist {
  margin-top: clamp(18px, 3vw, 28px);
  padding: clamp(18px, 2vw, 25px);
}

.now-listening-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 18px;
  margin-top: 22px;
}

.now-listening-main,
.listening-tracks {
  border: 1px solid rgba(111, 163, 255, 0.16);
  background: rgba(255, 255, 255, 0.035);
  padding: clamp(16px, 2vw, 24px);
}

.now-listening-main {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.playlist-mark {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(111, 163, 255, 0.28);
  background: rgba(0, 0, 255, 0.14);
  color: #6fa3ff;
  font-size: 1.7rem;
  box-shadow: 0 0 22px rgba(0, 0, 255, 0.22);
}

.now-listening-main h3 {
  margin: 8px 0 8px;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.now-listening-main p {
  max-width: 620px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.listen-link {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid rgba(111, 163, 255, 0.45);
  background: linear-gradient(135deg, rgba(0, 0, 255, 0.85), rgba(61, 123, 255, 0.62));
  color: #fff;
  padding: 10px 16px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.listen-link:hover {
  color: #fff;
  text-decoration: none;
  border-color: rgba(111, 163, 255, 0.95);
  box-shadow: 0 0 24px rgba(0, 0, 255, 0.28);
}

.listening-tracks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.listening-tracks span {
  border-left: 2px solid rgba(111, 163, 255, 0.42);
  background: rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.82);
  padding: 10px 12px;
  line-height: 1.4;
}

.spotify-embed-shell {
  margin-top: 18px;
  border: 1px solid rgba(111, 163, 255, 0.16);
  background: rgba(0, 0, 0, 0.24);
  padding: 10px;
}

.MyOrbit .spotify-embed-shell iframe {
  display: block;
  width: 100%;
  min-height: 352px;
  border-radius: 0 !important;
  border: 0;
}

@media (max-width: 1199px) {
  .MyOrbit .orbit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .MyOrbit .featured-building {
    grid-column: span 2;
  }

  .MyOrbit .watching,
  .MyOrbit .reading,
  .MyOrbit .learning,
  .MyOrbit .building,
  .MyOrbit .inspiring,
  .MyOrbit .life-notes {
    grid-column: span 1;
  }
}

@media (max-width: 991px) {
  .MyOrbit.section-show {
    padding-top: 34px;
  }

  .MyOrbit>.container>.section-title {
    padding-top: 12px;
  }

  .MyOrbit .orbit-review-stack .row,
  .MyOrbit .spotify-section,
  .MyOrbit .youtube-section {
    grid-template-columns: 1fr;
  }

  .MyOrbit .spotify-stat-section:nth-child(3),
  .MyOrbit .spotify-stat-section:nth-child(4),
  .MyOrbit .youtube-stat-section:nth-child(1),
  .MyOrbit .youtube-stat-section:nth-child(2) {
    grid-column: auto;
  }

  .MyOrbit .passport-grid {
    grid-template-columns: 1fr;
  }

  .MyOrbit .review-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .MyOrbit .songs-with-covers li {
    display: block;
  }

  .MyOrbit .songs-with-covers a {
    display: flex;
    width: 100%;
    min-width: 0;
    line-height: 1.45;
  }

  .MyOrbit .album-cover-placeholder {
    display: none;
  }

  .now-listening-panel {
    grid-template-columns: 1fr;
  }

  .now-listening-main {
    display: block;
  }

  .playlist-mark {
    margin-bottom: 14px;
  }
}

@media (max-width: 575px) {
  .MyOrbit.section-show {
    padding-top: 42px;
  }

  .MyOrbit .orbit-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .MyOrbit .featured-building,
  .MyOrbit .watching,
  .MyOrbit .reading,
  .MyOrbit .learning,
  .MyOrbit .building,
  .MyOrbit .inspiring,
  .MyOrbit .life-notes {
    grid-column: span 1;
  }

  .MyOrbit .orbit-card,
  .MyOrbit .orbit-review-stack,
  .MyOrbit .review-card,
  .MyOrbit .spotify-playlist {
    padding: 14px;
  }

  .MyOrbit .orbit-card {
    min-height: auto;
  }

  .orbit-updated {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 0.64rem;
    letter-spacing: 0.08em;
  }

  .MyOrbit .orbit-header {
    align-items: center;
  }

  .MyOrbit .orbit-review-stack .col-lg-6 {
    padding-left: 0;
    padding-right: 0;
  }

  .MyOrbit .spotify-stat-section,
  .MyOrbit .youtube-stat-section {
    padding: 12px;
  }

  .MyOrbit .orbit-header h3,
  .MyOrbit .card-header h3 {
    font-size: 0.95rem;
  }

  .MyOrbit .songs-with-covers li,
  .MyOrbit .spotify-list li,
  .MyOrbit .youtube-list a {
    align-items: flex-start;
  }

  .MyOrbit .songs-with-covers li {
    display: block;
  }

  .MyOrbit .songs-with-covers a {
    display: flex;
    width: 100%;
    min-width: 0;
  }

  .MyOrbit .album-cover-placeholder {
    display: none;
  }
}

/* =====================================================
   Resume Page
   ===================================================== */

.resume .section-title,
.resume .row,
.resume .text-center,
.profile-snapshot {
  position: relative;
  z-index: 1;
}

.profile-snapshot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 clamp(22px, 4vw, 38px);
}

.profile-snapshot span,
.skill-chip-row span {
  border: 1px solid rgba(111, 163, 255, 0.24);
  border-radius: 0;
  background: rgba(0, 0, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  padding: 8px 12px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  box-shadow: inset 0 0 18px rgba(0, 0, 255, 0.035);
}

.profile-snapshot span:last-child {
  border-color: rgba(111, 163, 255, 0.42);
  background: linear-gradient(135deg, rgba(0, 0, 255, 0.24), rgba(111, 163, 255, 0.08));
  color: #fff;
}

.resume .row {
  row-gap: 22px;
}

.resume .col-lg-6 {
  display: flex;
  flex-direction: column;
}

.resume .resume-title {
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  color: #00f;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(0, 0, 255, 0.42);
}

.resume .resume-title::before {
  display: none;
}

.resume .resume-item {
  position: relative;
  margin: 0 0 18px;
  padding: clamp(18px, 2.2vw, 26px);
  border: 1px solid rgba(111, 163, 255, 0.16);
  border-left: 1px solid rgba(111, 163, 255, 0.34);
  background: rgba(0, 0, 0, 0.18);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.26);
  opacity: 0;
  animation: resumeRise 0.55s ease both;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.resume .resume-item:nth-of-type(1) { animation-delay: 0.06s; }
.resume .resume-item:nth-of-type(2) { animation-delay: 0.12s; }
.resume .resume-item:nth-of-type(3) { animation-delay: 0.18s; }
.resume .resume-item:nth-of-type(4) { animation-delay: 0.24s; }

.resume .resume-item:hover {
  transform: translateY(-4px);
  border-color: rgba(111, 163, 255, 0.48);
  background: rgba(0, 0, 255, 0.08);
  box-shadow: 0 0 24px rgba(0, 0, 255, 0.2);
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  top: 20px;
  left: -5px;
  width: 9px;
  height: 38px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #6fa3ff, #00f);
  box-shadow: 0 0 18px rgba(0, 0, 255, 0.5);
}

.resume .resume-item h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.35;
  letter-spacing: 0.12em;
}

.resume .resume-item h5 {
  display: inline-flex;
  margin: 0 8px 12px 0;
  border: 1px solid rgba(111, 163, 255, 0.24);
  border-radius: 0;
  background: rgba(0, 0, 255, 0.1);
  color: rgba(255, 255, 255, 0.84);
  padding: 7px 11px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.resume .resume-item p,
.resume .resume-item li,
.resume .resume-item em {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.resume .resume-item p {
  margin-bottom: 0;
}

.resume .resume-item a {
  color: #6fa3ff;
}

.resume .resume-item a:hover {
  color: #fff;
  text-decoration: none;
}

.resume .resume-item ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.resume .resume-item ul li {
  position: relative;
  padding: 0 0 0 22px;
}

.resume .resume-item ul li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 8px;
  height: 8px;
  background: #6fa3ff;
  box-shadow: 0 0 12px rgba(0, 0, 255, 0.55);
}

.resume-skills-panel {
  display: grid;
  gap: 18px;
}

.skill-chip-group {
  display: grid;
  gap: 10px;
}

.skill-group-label {
  color: #6fa3ff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.skill-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.resume .resume-download-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-top: clamp(16px, 3vw, 30px);
  border: 1px solid rgba(111, 163, 255, 0.55);
  border-radius: 0;
  background: linear-gradient(135deg, rgba(0, 0, 255, 0.9), rgba(61, 123, 255, 0.72));
  color: #fff;
  padding: 12px 24px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(0, 0, 255, 0.22);
  overflow: hidden;
}

.resume-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.resume .resume-view-btn {
  background: rgba(255, 255, 255, 0.04);
}

.resume .resume-download-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.resume .resume-download-btn:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
  border-color: rgba(111, 163, 255, 0.95);
  box-shadow: 0 0 28px rgba(0, 0, 255, 0.34);
}

.resume .resume-download-btn:hover::before {
  transform: translateX(120%);
}

@keyframes resumeRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 575px) {

  .resume .resume-item {
    padding: 16px;
  }

  .profile-snapshot,
  .skill-chip-row,
  .resume-actions {
    gap: 8px;
  }

  .profile-snapshot span,
  .skill-chip-row span {
    font-size: 0.62rem;
    padding: 7px 9px;
  }

  .resume .resume-download-btn {
    width: 100%;
    justify-content: center;
  }
}

/* =====================================================
   Contact Page
   ===================================================== */

.contact .section-title,
.contact .contact-grid,
.contact-intro,
.contact-primary-cta {
  position: relative;
  z-index: 1;
}

.contact-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 clamp(22px, 3vw, 34px);
  border: 1px solid rgba(111, 163, 255, 0.16);
  background: rgba(6, 10, 28, 0.72);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.2);
  padding: clamp(16px, 2vw, 22px);
}

.contact-intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  line-height: 1.5;
}

.contact-intro span,
.contact-primary-cta span {
  display: inline-flex;
  border: 1px solid rgba(111, 163, 255, 0.24);
  background: rgba(0, 0, 255, 0.1);
  color: rgba(255, 255, 255, 0.84);
  padding: 8px 12px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 0;
}

.contact-card {
  min-height: 260px;
  border-radius: 0;
  border: 1px solid rgba(111, 163, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(28, 48, 120, 0.5), rgba(8, 14, 42, 0.82)),
    #050916;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.26);
  backdrop-filter: none;
  padding: clamp(20px, 2.5vw, 30px);
  opacity: 1 !important;
  animation: contactRise 0.55s ease both;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.contact-card:nth-child(1) { animation-delay: 0.06s; }
.contact-card:nth-child(2) { animation-delay: 0.12s; }
.contact-card:nth-child(3) { animation-delay: 0.18s; }
.contact-card:nth-child(4) { animation-delay: 0.24s; }

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(111, 163, 255, 0.48);
  background: rgba(0, 0, 255, 0.08);
  box-shadow: 0 0 24px rgba(0, 0, 255, 0.2);
}

.contact-card:focus {
  outline: none;
  border-color: rgba(111, 163, 255, 0.68);
  box-shadow: 0 0 26px rgba(0, 0, 255, 0.28);
}

.contact-icon-box {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 0;
  border: 1px solid rgba(111, 163, 255, 0.22);
  background: rgba(0, 0, 255, 0.14);
  box-shadow: 0 0 16px rgba(0, 0, 255, 0.16);
}

.contact-card:hover .contact-icon-box {
  background: rgba(0, 0, 255, 0.22);
  transform: translateY(-2px);
}

.contact-icon-box i {
  color: #6fa3ff;
  display: block;
  font-size: 1.35rem;
  line-height: 1;
  margin: 0;
}

.contact-card:hover .contact-icon-box i {
  color: #fff;
}

.contact-card h3 {
  color: #fff;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-transform: uppercase;
}

.contact-card p,
.contact-card p a {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.contact-card a:hover {
  color: #fff;
  text-decoration: none;
}

.contact-copy {
  cursor: pointer;
}

.contact-copy::after {
  content: "Copy";
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: rgba(111, 163, 255, 0.72);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-copy.copied::after {
  content: "Copied";
  color: #fff;
}

.contact-social-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.contact-social-links a {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  border-radius: 0;
  border: 1px solid rgba(111, 163, 255, 0.22);
  background: rgba(0, 0, 255, 0.12);
  color: #6fa3ff;
  padding: 9px 10px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: inset 0 0 18px rgba(0, 0, 255, 0.035);
}

.contact-social-links a i {
  flex: 0 0 18px;
  font-size: 1rem;
  line-height: 1;
  text-align: center;
}

.contact-social-links a span {
  min-width: 0;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.contact-social-links a:hover {
  background: rgba(0, 0, 255, 0.28);
  border-color: rgba(111, 163, 255, 0.68);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 0 18px rgba(0, 0, 255, 0.22);
}

.contact-primary-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(111, 163, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(0, 0, 255, 0.16), rgba(255, 255, 255, 0.035)),
    rgba(6, 10, 28, 0.78);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.26);
  padding: clamp(18px, 2.5vw, 28px);
}

.contact-primary-cta p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.6;
}

.contact-primary-cta a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid rgba(111, 163, 255, 0.55);
  background: linear-gradient(135deg, rgba(0, 0, 255, 0.9), rgba(61, 123, 255, 0.72));
  color: #fff;
  padding: 12px 24px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
}

.contact-primary-cta a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.contact-primary-cta a:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
  border-color: rgba(111, 163, 255, 0.95);
  box-shadow: 0 0 28px rgba(0, 0, 255, 0.34);
}

.contact-primary-cta a:hover::before {
  transform: translateX(120%);
}

@keyframes contactRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1199px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
}

@media (max-width: 575px) {

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-card {
    min-height: 220px;
    padding: 20px 16px;
  }

  .contact-intro,
  .contact-primary-cta {
    display: block;
  }

  .contact-intro span,
  .contact-primary-cta a {
    margin-top: 14px;
  }

  .contact-intro span {
    white-space: normal;
  }

  .contact-primary-cta a {
    width: 100%;
  }

  .contact-copy::after {
    right: 14px;
    bottom: 12px;
  }
}

/* =====================================================
   Services Page
   ===================================================== */

.services .section-title,
.services .services-grid,
.services-intro {
  position: relative;
  z-index: 1;
}

.services-intro {
  margin: 0 0 clamp(22px, 3vw, 34px);
  border: 1px solid rgba(111, 163, 255, 0.16);
  background: rgba(6, 10, 28, 0.72);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.2);
  padding: clamp(16px, 2vw, 24px);
}

.services-intro p {
  max-width: 980px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  line-height: 1.65;
}

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

.service-box {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 0;
  border: 1px solid rgba(111, 163, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(28, 48, 120, 0.5), rgba(8, 14, 42, 0.82)),
    #050916;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.26);
  backdrop-filter: none;
  padding: clamp(20px, 2.5vw, 30px);
  opacity: 1 !important;
  animation: serviceRise 0.55s ease both;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.service-box:nth-child(1) { animation-delay: 0.04s; }
.service-box:nth-child(2) { animation-delay: 0.08s; }
.service-box:nth-child(3) { animation-delay: 0.12s; }
.service-box:nth-child(4) { animation-delay: 0.16s; }
.service-box:nth-child(5) { animation-delay: 0.2s; }
.service-box:nth-child(6) { animation-delay: 0.24s; }
.service-box:nth-child(7) { animation-delay: 0.28s; }
.service-box:nth-child(8) { animation-delay: 0.32s; }
.service-box:nth-child(9) { animation-delay: 0.36s; }

.service-box:hover {
  transform: translateY(-4px);
  border-color: rgba(111, 163, 255, 0.48);
  background: rgba(0, 0, 255, 0.08);
  box-shadow: 0 0 24px rgba(0, 0, 255, 0.2);
}

.service-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 0;
  border: 1px solid rgba(111, 163, 255, 0.22);
  background: rgba(0, 0, 255, 0.14);
  box-shadow: 0 0 16px rgba(0, 0, 255, 0.16);
}

.service-box:hover .service-icon {
  background: rgba(0, 0, 255, 0.22);
  transform: translateY(-2px);
}

.service-icon i {
  color: #6fa3ff;
  display: block;
  font-size: 1.35rem;
  line-height: 1;
  margin: 0;
}

.service-box:hover .service-icon i {
  color: #fff;
}

.service-box h3 {
  color: #fff;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.25;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.service-box p {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-list {
  display: grid;
  gap: 10px;
  margin-top: auto;
  margin-bottom: 22px;
}

.service-list li {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
  line-height: 1.35;
}

.service-list li i {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 9px;
  border: 1px solid rgba(111, 163, 255, 0.2);
  background: rgba(0, 0, 255, 0.1);
  color: #6fa3ff;
  font-size: 0.65rem;
}

.service-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: auto;
  border: 1px solid rgba(111, 163, 255, 0.45);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  padding: 10px 14px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-align: center;
  text-transform: uppercase;
  overflow: hidden;
}

.service-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.service-cta:hover {
  color: #fff;
  text-decoration: none;
  border-color: rgba(111, 163, 255, 0.95);
  background: linear-gradient(135deg, rgba(0, 0, 255, 0.9), rgba(61, 123, 255, 0.64));
  box-shadow: 0 0 24px rgba(0, 0, 255, 0.26);
}

.service-cta:hover::before {
  transform: translateX(120%);
}

@keyframes serviceRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1199px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
}

@media (max-width: 575px) {

  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-box {
    padding: 20px 16px;
  }

  .services-intro {
    padding: 16px;
  }

  .service-cta {
    width: 100%;
  }
}

/* =====================================================
   Blog Page
   ===================================================== */

.blog .section-title,
.featured-post {
  position: relative;
  z-index: 1;
}

.featured-post {
  display: grid;
  grid-template-columns: minmax(240px, 0.86fr) minmax(0, 1.14fr);
  min-height: 430px;
  border: 1px solid rgba(111, 163, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018)),
    radial-gradient(circle at 10% 0%, rgba(0, 0, 255, 0.18), transparent 34%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: blogRise 0.7s ease both;
}

.featured-post-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
  background:
    radial-gradient(circle at center, rgba(77, 111, 255, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(5, 8, 24, 0.96), rgba(0, 0, 0, 0.96));
  overflow: hidden;
}

.featured-post-media img {
  position: relative;
  z-index: 1;
  width: min(88%, 520px);
  max-height: 78%;
  object-fit: contain;
  border: 1px solid rgba(111, 163, 255, 0.2);
  background: rgba(0, 0, 0, 0.32);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.46), 0 0 32px rgba(0, 0, 255, 0.18);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.featured-post:hover .featured-post-media img {
  transform: translateY(-4px) scale(1.015);
  filter: saturate(1.1) contrast(1.06);
}

.featured-post-media::before,
.featured-post-media::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(111, 163, 255, 0.28);
  border-radius: 50%;
  aspect-ratio: 1;
}

.featured-post-media::before {
  width: min(360px, 78%);
  box-shadow: 0 0 34px rgba(0, 0, 255, 0.2);
}

.featured-post-media::after {
  width: min(230px, 52%);
  border-style: dashed;
  animation: postOrbitSpin 14s linear infinite;
}

.post-orbit {
  width: min(120px, 30%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.92), rgba(102, 134, 255, 0.68) 42%, transparent 70%);
  filter: blur(1px);
  box-shadow: 0 0 36px rgba(77, 111, 255, 0.46);
}

.post-chip {
  position: absolute;
  z-index: 2;
  left: 20px;
  top: 20px;
  border: 1px solid rgba(111, 163, 255, 0.28);
  background: rgba(0, 0, 255, 0.14);
  color: rgba(255, 255, 255, 0.86);
  padding: 8px 11px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.featured-post-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 46px);
}

.post-kicker {
  color: #8fa4ff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.featured-post h3 {
  margin: 12px 0 16px;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 0 20px rgba(0, 0, 255, 0.28);
}

.featured-post p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  line-height: 1.75;
}

.post-meta,
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.post-meta {
  margin-top: 20px;
}

.post-meta span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
}

.post-meta span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: #4d6fff;
  box-shadow: 0 0 10px rgba(77, 111, 255, 0.7);
  vertical-align: 1px;
}

.post-tags {
  margin-top: 18px;
}

.post-tags span {
  border: 1px solid rgba(99, 125, 255, 0.22);
  background: rgba(22, 47, 142, 0.18);
  color: rgba(214, 222, 255, 0.9);
  padding: 7px 9px;
  font-size: 0.78rem;
  line-height: 1;
}

.read-more-dots {
  color: #8fa4ff;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-shadow: 0 0 12px rgba(0, 0, 255, 0.42);
}

.inline-full-post {
  margin-top: 22px;
}

.inline-full-post[hidden] {
  display: none;
}

.post-read-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  margin-top: 22px;
  border: 1px solid rgba(132, 151, 255, 0.38);
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
  padding: 11px 18px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.post-read-toggle::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.post-read-toggle:hover {
  transform: translateY(-3px);
  border-color: rgba(111, 163, 255, 0.68);
  box-shadow: 0 12px 28px rgba(23, 67, 255, 0.22);
}

.post-read-toggle:hover::before {
  transform: translateX(120%);
}

.post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.post-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  border: 1px solid rgba(97, 121, 255, 0.72);
  background: linear-gradient(135deg, rgba(38, 74, 238, 0.92), rgba(0, 20, 125, 0.92));
  color: #fff;
  padding: 11px 18px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  overflow: hidden;
}

.post-cta-outline {
  border-color: rgba(132, 151, 255, 0.38);
  background: rgba(255, 255, 255, 0.035);
}

.post-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.post-cta:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(23, 67, 255, 0.26);
}

.post-cta:hover::before {
  transform: translateX(120%);
}

.full-post-grid p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.full-post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.full-post-grid section {
  border: 1px solid rgba(111, 163, 255, 0.14);
  background: rgba(0, 0, 0, 0.18);
  padding: 18px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.full-post-grid section:hover {
  transform: translateY(-3px);
  border-color: rgba(111, 163, 255, 0.36);
  box-shadow: 0 0 24px rgba(0, 0, 255, 0.13);
}

.full-post-grid h4 {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.full-post-grid p {
  margin: 0;
}

@keyframes blogRise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 991px) {
  .featured-post {
    grid-template-columns: 1fr;
  }

  .full-post-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .featured-post {
    min-height: 0;
  }

  .featured-post-media {
    min-height: 220px;
  }

  .featured-post-content {
    padding: 22px 16px;
  }

  .post-cta {
    width: 100%;
  }

  .post-actions {
    width: 100%;
  }

  .post-read-toggle,
  .inline-full-post {
    width: 100%;
  }
}

/* =====================================================
   PROJECTS PAGE
   ===================================================== */

.projects .section-title,
.projects-intro,
.project-filters,
.projects-grid,
.projects-footer {
  position: relative;
  z-index: 1;
}

.projects-intro {
  max-width: 860px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.76);
}

.projects-intro span,
.project-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: #00f;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.projects-intro p {
  margin: 10px 0 0;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.project-filters::-webkit-scrollbar {
  display: none;
}

.projects .filter-btn {
  border: 1px solid rgba(115, 138, 255, 0.22);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.74);
  padding: 10px 14px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
}

.projects .filter-btn:hover,
.projects .filter-btn.active {
  color: #fff;
  border-color: rgba(88, 118, 255, 0.7);
  background: rgba(23, 54, 178, 0.34);
  box-shadow: 0 0 22px rgba(0, 56, 255, 0.25);
  transform: translateY(-2px);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 18px;
}

.projects .project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 540px;
  border: 1px solid rgba(100, 125, 255, 0.17);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.02));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  opacity: 0;
  animation: projectRise 0.7s ease forwards;
}

.projects .project-card:nth-child(2) {
  animation-delay: 0.08s;
}

.projects .project-card:nth-child(3) {
  animation-delay: 0.16s;
}

.projects .project-card:nth-child(4) {
  animation-delay: 0.24s;
}

.projects .project-card:nth-child(5) {
  animation-delay: 0.32s;
}

.projects .project-card:nth-child(6) {
  animation-delay: 0.4s;
}

.projects .project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(106, 135, 255, 0.48);
  box-shadow: 0 24px 64px rgba(0, 39, 255, 0.18);
}

.projects .featured-project {
  grid-column: span 2;
  min-height: 0;
}

.project-media {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #050712;
}

.projects .project-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.projects .project-card:hover .project-image {
  filter: saturate(1.12) contrast(1.08);
}

.projects .featured-project .project-media {
  height: auto;
  min-height: 0;
  aspect-ratio: 21 / 9;
  max-height: 320px;
}

.projects .featured-project .project-image {
  object-fit: contain;
  object-position: center;
  background: #050712;
}

.project-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(0deg, rgba(4, 6, 13, 0.82), transparent);
  pointer-events: none;
}

.project-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.project-content h3 {
  margin: 8px 0 10px;
  color: #fff;
  font-size: clamp(1.28rem, 2vw, 1.9rem);
  line-height: 1.1;
}

.project-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
}

.project-meta,
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-meta {
  margin-top: 16px;
}

.project-meta span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.project-meta span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: #4d6fff;
  box-shadow: 0 0 10px rgba(77, 111, 255, 0.7);
  vertical-align: 1px;
}

.tech-stack {
  margin-top: 18px;
}

.projects .tech-stack span,
.projects .tech-tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(99, 125, 255, 0.22);
  border-radius: 0;
  background: rgba(22, 47, 142, 0.18);
  color: rgba(214, 222, 255, 0.9);
  padding: 7px 9px;
  font-size: 0.78rem;
  line-height: 1;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
}

.projects .btn-primary,
.projects .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-radius: 0;
  padding: 10px 15px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.projects .btn-primary {
  border: 1px solid rgba(97, 121, 255, 0.72);
  background: linear-gradient(135deg, rgba(38, 74, 238, 0.92), rgba(0, 20, 125, 0.92));
  color: #fff;
}

.projects .btn-outline {
  border: 1px solid rgba(132, 151, 255, 0.38);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.86);
}

.projects .btn-primary:hover,
.projects .btn-outline:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(23, 67, 255, 0.24);
}

.verseflow-downloads {
  align-items: stretch;
}

.verseflow-downloads .btn-primary,
.verseflow-downloads .btn-outline {
  flex: 1 1 150px;
  min-width: 0;
}

.projects .release-pending,
.projects .release-pending:hover {
  cursor: default;
  color: rgba(255, 255, 255, 0.56);
  border-color: rgba(132, 151, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: none;
  transform: none;
}

.projects-footer {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.project-visual {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(18, 26, 58, 0.95), rgba(3, 5, 12, 0.95)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
}

.visual-window {
  position: relative;
  width: min(72%, 330px);
  aspect-ratio: 1.6;
  border: 1px solid rgba(132, 151, 255, 0.42);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 34px rgba(45, 87, 255, 0.26);
}

.visual-window span {
  position: absolute;
  left: 20px;
  right: 20px;
  height: 10px;
  background: rgba(130, 150, 255, 0.25);
}

.visual-window span:nth-child(1) {
  top: 34px;
  width: 46%;
}

.visual-window span:nth-child(2) {
  top: 62px;
  width: 72%;
}

.visual-window span:nth-child(3) {
  bottom: 32px;
  width: 56%;
}

.visual-window strong {
  position: absolute;
  right: 22px;
  bottom: 14px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 3rem;
  line-height: 1;
}

.project-visual-portal {
  background:
    radial-gradient(circle at center, rgba(82, 111, 255, 0.3), transparent 28%),
    linear-gradient(135deg, rgba(6, 9, 20, 0.98), rgba(0, 0, 0, 0.98));
}

.portal-ring {
  position: absolute;
  width: min(52%, 230px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(118, 142, 255, 0.72);
  box-shadow:
    0 0 18px rgba(62, 97, 255, 0.72),
    inset 0 0 22px rgba(62, 97, 255, 0.44);
  animation: portalSpin 8s linear infinite;
}

.portal-core {
  width: min(28%, 126px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(235, 239, 255, 0.96), rgba(75, 109, 255, 0.62) 42%, transparent 70%);
  filter: blur(1px);
}

@keyframes projectRise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 1180px) {
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projects .featured-project {
    grid-column: span 1;
    min-height: 540px;
  }

  .projects .featured-project .project-media {
    aspect-ratio: 16 / 9;
    max-height: none;
  }

  .projects .featured-project .project-image {
    object-fit: cover;
  }
}

@media (max-width: 760px) {

  .projects-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .projects .project-card {
    min-height: 560px;
  }

  .project-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .projects .filter-btn {
    flex: 0 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .projects .project-card,
  .portal-ring {
    animation: none;
    opacity: 1;
  }
}

/* =====================================================
   Festive Preview Theme
   Remove the festive-theme class on body to disable.
   ===================================================== */

body.festive-theme {
  background: #02040a;
}

body.festive-theme::before {
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 36% 52%, rgba(255, 255, 255, 0.72) 0 1px, transparent 2px),
    radial-gradient(circle at 74% 30%, rgba(255, 255, 255, 0.86) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 72%, rgba(255, 255, 255, 0.66) 0 1px, transparent 2px),
    linear-gradient(32deg, rgb(8, 8, 12) 30px, transparent);
  background-size: 180px 180px, 240px 240px, 210px 210px, 260px 260px, 60px 60px;
  background-position: 0 0, 40px 80px, 110px 20px, 20px 140px, -5px -5px;
  animation: festiveSnowDrift 38s linear infinite;
}

body.festive-theme::after {
  border-color: rgba(166, 211, 255, 0.3);
  box-shadow:
    0 0 18px rgba(80, 140, 255, 0.3),
    inset 0 0 22px rgba(217, 181, 91, 0.12);
  animation: festiveFrameGlow 5.4s ease-in-out infinite alternate;
}

body.festive-theme .scroll-progress span {
  background: linear-gradient(90deg, #8bd3ff, #fff2a8, #ff5b5b);
  box-shadow: 0 0 16px rgba(255, 242, 168, 0.48);
}

body.festive-theme .nav-menu a:before {
  background: linear-gradient(90deg, transparent, #8bd3ff, #fff2a8, #ff5b5b, transparent);
  box-shadow: 0 0 14px rgba(255, 242, 168, 0.76);
}

body.festive-theme .nav-menu a:hover,
body.festive-theme .nav-menu .active>a,
body.festive-theme .nav-menu li:hover>a {
  color: #fff2a8;
  text-shadow: 0 0 14px rgba(255, 242, 168, 0.62);
}

body.festive-theme #header.header-tops:not(.header-top)::before {
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 242, 168, 0.2), transparent 24%),
    radial-gradient(circle at 78% 28%, rgba(255, 91, 91, 0.12), transparent 24%),
    radial-gradient(circle at 60% 76%, rgba(139, 211, 255, 0.18), transparent 28%);
}

body.festive-theme #header h1,
body.festive-theme .home-title-line {
  color: #b9dcff;
  text-shadow:
    0 0 22px rgba(139, 211, 255, 0.58),
    0 0 38px rgba(255, 242, 168, 0.18);
}

body.festive-theme #header h2,
body.festive-theme .home-eyebrow,
body.festive-theme .home-subtitle {
  color: rgba(255, 255, 255, 0.88);
}

body.festive-theme .home-btn-primary,
body.festive-theme .btn-primary,
body.festive-theme .contact-primary-cta {
  border-color: rgba(255, 242, 168, 0.58);
  background: linear-gradient(135deg, rgba(20, 74, 168, 0.92), rgba(160, 38, 48, 0.78));
  box-shadow: 0 0 26px rgba(255, 242, 168, 0.18);
}

body.festive-theme .home-btn-secondary,
body.festive-theme .btn-outline,
body.festive-theme .btn-about-outline,
body.festive-theme .service-cta,
body.festive-theme .filter-btn {
  border-color: rgba(139, 211, 255, 0.34);
  box-shadow: inset 0 0 18px rgba(139, 211, 255, 0.06);
}

body.festive-theme .about .about-me.container,
body.festive-theme .MyOrbit>.container,
body.festive-theme .resume>.container,
body.festive-theme .contact>.container,
body.festive-theme .services>.container,
body.festive-theme .blog>.container,
body.festive-theme .projects.section-show>.container {
  border-color: rgba(139, 211, 255, 0.24);
  background:
    radial-gradient(circle at 9% 12%, rgba(255, 242, 168, 0.13), transparent 26%),
    radial-gradient(circle at 88% 10%, rgba(255, 91, 91, 0.1), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(139, 211, 255, 0.1), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018));
  box-shadow:
    inset 0 0 84px rgba(139, 211, 255, 0.07),
    0 18px 52px rgba(0, 0, 0, 0.38);
}

body.festive-theme .about .about-me.container::before,
body.festive-theme .MyOrbit>.container::before,
body.festive-theme .resume>.container::before,
body.festive-theme .contact>.container::before,
body.festive-theme .services>.container::before,
body.festive-theme .blog>.container::before,
body.festive-theme .projects.section-show>.container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background:
    linear-gradient(90deg, transparent, rgba(139, 211, 255, 0.9), rgba(255, 242, 168, 0.95), rgba(255, 91, 91, 0.82), transparent);
  box-shadow: 0 0 18px rgba(255, 242, 168, 0.35);
  z-index: 3;
}

body.festive-theme .about .section-title h2,
body.festive-theme .MyOrbit>.container>.section-title h2,
body.festive-theme .resume>.container>.section-title h2,
body.festive-theme .contact>.container>.section-title h2,
body.festive-theme .services>.container>.section-title h2,
body.festive-theme .blog>.container>.section-title h2,
body.festive-theme .projects>.container>.section-title h2 {
  background: linear-gradient(135deg, rgba(139, 211, 255, 0.9), rgba(255, 242, 168, 0.9), rgba(255, 91, 91, 0.76));
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 4px 4px 28px rgba(255, 242, 168, 0.24);
  opacity: 0.22;
}

body.festive-theme .about .section-title p,
body.festive-theme .MyOrbit>.container>.section-title p,
body.festive-theme .resume>.container>.section-title p,
body.festive-theme .contact>.container>.section-title p,
body.festive-theme .services>.container>.section-title p,
body.festive-theme .blog>.container>.section-title p,
body.festive-theme .projects>.container>.section-title p {
  text-shadow:
    0 0 18px rgba(139, 211, 255, 0.42),
    0 0 26px rgba(255, 242, 168, 0.18);
}

body.festive-theme .about .about-me.container::after,
body.festive-theme .MyOrbit>.container::after,
body.festive-theme .resume>.container::after,
body.festive-theme .contact>.container::after,
body.festive-theme .services>.container::after,
body.festive-theme .blog>.container::after,
body.festive-theme .projects>.container::after {
  border-color: rgba(139, 211, 255, 0.28);
  background:
    repeating-radial-gradient(circle, rgba(139, 211, 255, 0.26) 0 1px, transparent 1px 42px),
    radial-gradient(circle, rgba(255, 242, 168, 0.08), transparent 60%);
  box-shadow:
    0 0 42px rgba(139, 211, 255, 0.24),
    0 0 18px rgba(255, 242, 168, 0.18);
}

body.festive-theme .featured-post,
body.festive-theme .project-card,
body.festive-theme .service-box,
body.festive-theme .contact-card,
body.festive-theme .resume-item,
body.festive-theme .skill-focus-card,
body.festive-theme .detail-item,
body.festive-theme .orbit-card,
body.festive-theme .featured-building {
  border-color: rgba(139, 211, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018)),
    radial-gradient(circle at 8% 0%, rgba(255, 242, 168, 0.1), transparent 34%);
}

body.festive-theme .featured-post:hover,
body.festive-theme .project-card:hover,
body.festive-theme .service-box:hover,
body.festive-theme .contact-card:hover,
body.festive-theme .resume-item:hover,
body.festive-theme .skill-focus-card:hover,
body.festive-theme .detail-item:hover {
  border-color: rgba(255, 242, 168, 0.44);
  box-shadow: 0 0 28px rgba(255, 242, 168, 0.16), 0 18px 42px rgba(0, 0, 0, 0.3);
}

@keyframes festiveSnowDrift {
  to {
    background-position: 0 180px, 40px 320px, 110px 230px, 20px 400px, -5px -5px;
  }
}

@keyframes festiveFrameGlow {
  from {
    border-color: rgba(139, 211, 255, 0.22);
    box-shadow: 0 0 16px rgba(80, 140, 255, 0.24), inset 0 0 18px rgba(217, 181, 91, 0.08);
  }

  to {
    border-color: rgba(255, 242, 168, 0.36);
    box-shadow: 0 0 26px rgba(255, 242, 168, 0.3), inset 0 0 24px rgba(139, 211, 255, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.festive-theme::before,
  body.festive-theme::after {
    animation: none;
  }
}

/* =====================================================
   Shared Section Shell
   ===================================================== */

.about.section-show,
.MyOrbit.section-show,
.resume.section-show,
.contact.section-show,
.services.section-show,
.blog.section-show,
.projects.section-show {
  min-height: calc(100vh - 100px);
  padding-top: 18px;
}

.about .about-me.container,
.MyOrbit>.container,
.resume>.container,
.contact>.container,
.services>.container,
.blog>.container,
.projects.section-show>.container {
  position: relative;
  width: calc(100vw - 84px);
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  border: 1px solid rgba(111, 163, 255, 0.18);
  background:
    radial-gradient(circle at 9% 12%, rgba(0, 0, 255, 0.2), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(111, 163, 255, 0.12), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 0 80px rgba(0, 0, 255, 0.08), 0 18px 48px rgba(0, 0, 0, 0.34);
  padding: clamp(26px, 4vw, 52px);
}

.about .section-title,
.MyOrbit>.container>.section-title,
.resume>.container>.section-title,
.contact>.container>.section-title,
.services>.container>.section-title,
.blog>.container>.section-title,
.projects>.container>.section-title {
  position: relative;
  z-index: 4;
  margin-bottom: clamp(22px, 4vw, 44px);
}

.about .section-title h2,
.MyOrbit>.container>.section-title h2,
.resume>.container>.section-title h2,
.contact>.container>.section-title h2,
.services>.container>.section-title h2,
.blog>.container>.section-title h2,
.projects>.container>.section-title h2 {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 0;
  transform: translate(-50%, -50%);
  font-size: clamp(6rem, 18vw, 15rem);
  line-height: 1;
  letter-spacing: clamp(0.12rem, 0.75vw, 0.52rem);
  background: linear-gradient(135deg, #00f, #007bff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 4px 4px 24px rgba(0, 0, 255, 0.36);
  filter: blur(1px);
  opacity: 0.24;
  pointer-events: none;
  white-space: nowrap;
  text-transform: uppercase;
}

.about .section-title p,
.MyOrbit>.container>.section-title p,
.resume>.container>.section-title p,
.contact>.container>.section-title p,
.services>.container>.section-title p,
.blog>.container>.section-title p,
.projects>.container>.section-title p {
  position: relative;
  z-index: 4;
  margin: 10px 0 0;
  color: #fff;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: clamp(0.08rem, 0.8vw, 0.42rem);
  text-shadow: 0 0 22px rgba(0, 0, 255, 0.44);
  text-transform: uppercase;
}

.about .about-me.container::after,
.MyOrbit>.container::after,
.resume>.container::after,
.contact>.container::after,
.services>.container::after,
.blog>.container::after,
.projects>.container::after {
  content: "";
  position: fixed;
  right: -8vw;
  bottom: -16vw;
  width: min(540px, 72vw);
  aspect-ratio: 1;
  border: 1px solid rgba(111, 163, 255, 0.26);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(111, 163, 255, 0.28) 0 1px, transparent 1px 42px);
  box-shadow: 0 0 42px rgba(0, 0, 255, 0.24);
  opacity: 0.9;
  pointer-events: none;
  z-index: 3;
}

.about .about-me.container>*,
.MyOrbit>.container>*,
.resume>.container>*,
.contact>.container>*,
.services>.container>*,
.blog>.container>*,
.projects>.container>* {
  position: relative;
  z-index: 4;
}

.projects.section-show::before {
  content: none;
  display: none;
}

@media (max-width: 991px) {
  .about .about-me.container,
  .MyOrbit>.container,
  .resume>.container,
  .contact>.container,
  .services>.container,
  .blog>.container,
  .projects.section-show>.container {
    width: calc(100vw - 28px);
  }
}

@media (max-width: 575px) {
  .about.section-show,
  .MyOrbit.section-show,
  .resume.section-show,
  .contact.section-show,
  .services.section-show,
  .projects.section-show {
    top: 78px;
    padding-top: 22px;
  }

  .about .about-me.container,
  .MyOrbit>.container,
  .resume>.container,
  .contact>.container,
  .services>.container,
  .blog>.container,
  .projects.section-show>.container {
    width: calc(100vw - 16px);
    padding: 20px 14px 28px;
    overflow: visible;
  }

  .about .section-title h2,
  .MyOrbit>.container>.section-title h2,
  .resume>.container>.section-title h2,
  .contact>.container>.section-title h2,
  .services>.container>.section-title h2,
  .blog>.container>.section-title h2,
  .projects>.container>.section-title h2 {
    font-size: clamp(4.8rem, 25vw, 8.5rem);
    letter-spacing: 0.08em;
    opacity: 0.2;
    text-transform: uppercase;
  }

  .about .section-title p,
  .MyOrbit>.container>.section-title p,
  .resume>.container>.section-title p,
  .contact>.container>.section-title p,
  .services>.container>.section-title p,
  .blog>.container>.section-title p,
  .projects>.container>.section-title p {
    font-size: clamp(1.35rem, 7vw, 2.1rem);
    line-height: 1.08;
    letter-spacing: 0.04rem;
  }
}
