@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700;800&display=swap");

:root {
  --color-primary: #ff014f;
  --color-primary-alt: #ff496f;
  --color-secondary: #060606;
  --color-heading: #ffffff;
  --color-body: #9f9f9f;
  --color-gray-2: #141414;
  --color-border: rgba(255, 255, 255, 0.1);
  --font-primary: "Rajdhani", sans-serif;
  --font-secondary: "Rubik", sans-serif;
  --portfolio-bg: #000000;
  --portfolio-panel: rgba(9, 12, 22, 0.52);
  --portfolio-panel-strong: rgba(13, 17, 29, 0.82);
  --portfolio-muted: #c4cfde;
  --portfolio-border: rgba(255, 255, 255, 0.1);
  --portfolio-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --portfolio-bounce: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-padding-top: 96px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--portfolio-bg);
  color: var(--portfolio-muted);
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea {
  letter-spacing: 0;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

a:hover {
  color: var(--color-primary);
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
  vertical-align: middle;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0 0 18px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--color-heading);
  font-family: var(--font-primary);
  font-weight: 700;
}

main {
  overflow-x: clip;
  overflow-y: visible;
}

.text-left {
  text-align: left !important;
}

.white-text {
  color: #ffffff;
  font-weight: 600;
}

.theme-color,
.red-text,
.highlight,
.red-tag,
.projects-text-red,
.journey-text {
  color: var(--color-primary) !important;
}

.mb--20 {
  margin-bottom: 20px !important;
}

.mb--30 {
  margin-bottom: 30px !important;
}

.mb--40 {
  margin-bottom: 40px !important;
}

.mb--50 {
  margin-bottom: 50px !important;
}

.mb--80 {
  margin-bottom: 80px !important;
}

.mt--5 {
  margin-top: 5px !important;
}

.mt--40 {
  margin-top: 40px !important;
}

.mt--60 {
  margin-top: 60px !important;
}

.pb--70 {
  padding-bottom: clamp(56px, 7vw, 90px) !important;
}

.tmp-section-gap,
.tmp-section-gapTop {
  position: relative;
  z-index: 1;
  overflow: visible;
}

.tmp-section-gap {
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: clamp(72px, 9vw, 120px);
}

.tmp-section-gapTop {
  padding-top: clamp(72px, 9vw, 120px);
}

.section-head,
.contact-header-wrap {
  margin-bottom: clamp(36px, 6vw, 74px) !important;
}

.section-head .title,
.project-headline,
.journey-title,
.experience-headline,
.contact-central-title {
  font-family: var(--font-primary) !important;
  font-size: clamp(34px, 5vw, 56px) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase;
  text-wrap: balance;
}

#starCanvas {
  position: fixed !important;
  inset: 0 !important;
  z-index: -3 !important;
  width: 100vw !important;
  height: 100vh !important;
  pointer-events: none;
  background: #000000;
}

#starry-background-content {
  position: relative;
  z-index: 1;
  isolation: isolate;
  margin-top: -112px;
  padding-top: 112px;
  background: transparent;
}

#starry-background-content::before {
  content: none;
}

/* Header */
.tmp-header-area-start {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
}

.tmp-header-area-start.header--sticky {
  min-height: clamp(72px, 8vw, 90px);
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  transform: translate3d(0, 0, 0);
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    transform 0.45s var(--portfolio-ease);
}

.tmp-header-area-start.header--sticky.sticky {
  background: rgba(0, 0, 0, 0.68);
  border-color: rgba(255, 1, 79, 0.14);
}

.tmp-header-area-start.header-hidden {
  transform: translate3d(0, -110%, 0) !important;
}

.header-load-anim {
  animation: headerSlideDown 0.9s var(--portfolio-ease) both;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: clamp(72px, 8vw, 90px);
}

.logo a {
  display: inline-flex;
  align-items: center;
}

.logo img {
  width: clamp(112px, 12vw, 152px);
  max-height: 54px;
  object-fit: contain;
}

.logo img.logo-white {
  display: none;
}

.tmp-mainmenu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.tmp-mainmenu > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #f5f5f5;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  transition:
    color 0.28s ease,
    text-shadow 0.28s ease,
    transform 0.28s ease;
}

.tmp-mainmenu > li > a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.28s var(--portfolio-ease);
}

.tmp-mainmenu > li.current > a,
.tmp-mainmenu > li > a.active,
.tmp-mainmenu > li > a:hover {
  color: var(--color-primary) !important;
  text-shadow: 0 0 16px rgba(255, 1, 79, 0.52);
}

.tmp-mainmenu > li.current > a::after,
.tmp-mainmenu > li > a.active::after,
.tmp-mainmenu > li > a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.tmp-header-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.social-link,
.social-links-formation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.social-link a,
.footer-social-glow {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.045);
  transition:
    transform 0.3s var(--portfolio-ease),
    color 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.social-link a:hover,
.footer-social-glow:hover {
  color: #ffffff;
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 0 18px rgba(255, 1, 79, 0.58);
  transform: translateY(-4px) scale(1.08);
}

.tmp-menu-bars,
.tmp-round-action-btn {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(255, 1, 79, 0.94), rgba(255, 73, 108, 0.88)),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 30px rgba(255, 1, 79, 0.24);
}

.tmp-menu-bars {
  position: relative;
}

.tmp-menu-bars i {
  display: none;
}

.tmp-menu-bars::before,
.tmp-menu-bars::after {
  content: "";
  position: absolute;
  left: 15px;
  width: 22px;
  height: 2px;
  border-radius: 20px;
  background: #ffffff;
  transition:
    top 0.25s var(--portfolio-ease),
    transform 0.25s var(--portfolio-ease),
    box-shadow 0.2s ease;
}

.tmp-menu-bars::before {
  top: 18px;
  box-shadow: 0 8px 0 #ffffff;
}

.tmp-menu-bars::after {
  top: 34px;
}

html.mobile-menu-open .tmp-menu-bars::before {
  top: 25px;
  transform: rotate(45deg);
  box-shadow: none;
}

html.mobile-menu-open .tmp-menu-bars::after {
  top: 25px;
  transform: rotate(-45deg);
}

.tmp-popup-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1050;
  visibility: hidden;
  opacity: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(14px) saturate(135%);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
  transition:
    opacity 0.34s ease,
    visibility 0.34s ease;
}

.tmp-popup-mobile-menu.active {
  visibility: visible;
  opacity: 1;
}

.tmp-popup-mobile-menu .inner {
  width: min(86vw, 390px);
  height: 100%;
  padding: 22px;
  overflow-y: auto;
  background:
    linear-gradient(180deg, rgba(17, 20, 31, 0.97), rgba(7, 9, 16, 0.97)),
    rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(255, 1, 79, 0.18);
  box-shadow: 30px 0 80px rgba(0, 0, 0, 0.42);
  transform: translate3d(-104%, 0, 0);
  transition: transform 0.42s var(--portfolio-ease);
}

.tmp-popup-mobile-menu.active .inner {
  transform: translate3d(0, 0, 0);
}

.tmp-popup-mobile-menu .header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tmp-popup-mobile-menu .tmp-mainmenu {
  display: grid;
  gap: 11px;
}

.tmp-popup-mobile-menu .tmp-mainmenu li {
  opacity: 0;
  transform: translateX(-18px);
}

.tmp-popup-mobile-menu.active .tmp-mainmenu li {
  animation: portfolioMobileItemIn 0.45s var(--portfolio-ease) both;
}

.tmp-popup-mobile-menu.active .tmp-mainmenu li:nth-child(2) {
  animation-delay: 45ms;
}

.tmp-popup-mobile-menu.active .tmp-mainmenu li:nth-child(3) {
  animation-delay: 90ms;
}

.tmp-popup-mobile-menu.active .tmp-mainmenu li:nth-child(4) {
  animation-delay: 135ms;
}

.tmp-popup-mobile-menu.active .tmp-mainmenu li:nth-child(5) {
  animation-delay: 180ms;
}

.tmp-popup-mobile-menu .tmp-mainmenu li a {
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 16px 0 42px;
  color: var(--portfolio-muted) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 17px;
  font-weight: 700;
}

.tmp-popup-mobile-menu .tmp-mainmenu li a::before {
  content: "";
  position: absolute;
  left: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.tmp-popup-mobile-menu .tmp-mainmenu li a:hover,
.tmp-popup-mobile-menu .tmp-mainmenu li.current a,
.tmp-popup-mobile-menu .tmp-mainmenu li a.active {
  color: #ffffff !important;
  border-color: rgba(255, 1, 79, 0.38);
  background: rgba(255, 1, 79, 0.1);
  transform: translateX(4px);
}

.tmp-popup-mobile-menu .tmp-mainmenu li a:hover::before,
.tmp-popup-mobile-menu .tmp-mainmenu li.current a::before,
.tmp-popup-mobile-menu .tmp-mainmenu li a.active::before {
  background: var(--color-primary);
  box-shadow: 0 0 18px rgba(255, 1, 79, 0.7);
}

.tmp-popup-mobile-menu .social-wrapper {
  padding-top: 24px;
}

.tmp-popup-mobile-menu .subtitle {
  display: block;
  margin-bottom: 14px;
  color: var(--portfolio-muted);
  font-weight: 700;
  text-transform: uppercase;
}

/* Hero */
.tmp-banner-one-area {
  position: relative;
  min-height: min(980px, 100svh);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: clamp(96px, 12vw, 145px);
  padding-bottom: clamp(92px, 11vw, 150px);
  margin-bottom: -42px;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.18) 54%, rgba(0, 0, 0, 0.32)),
    url("../images/banner/banner-background-one.jpg");
  background-position: center top;
  background-size: cover;
}

.tmp-banner-one-area::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 0;
  height: clamp(110px, 16vw, 190px);
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.74) 68%, #000000 100%);
}

.tmp-banner-one-area .container {
  position: relative;
  z-index: 1;
}

.banner-one-main-wrapper {
  width: 100%;
}

.banner-one-main-wrapper .row {
  min-height: clamp(620px, 76vh, 780px);
}

.banner-one-main-wrapper .inner .sub-title {
  color: #ffffff;
  font-size: clamp(18px, 2vw, 27px);
  font-weight: 700;
  line-height: 1.2;
}

.banner-one-main-wrapper .inner .title {
  max-width: 780px;
  margin-top: clamp(18px, 5vw, 62px);
  color: #ffffff;
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
}

.banner-one-main-wrapper .inner .disc {
  max-width: 640px;
  margin-top: 24px;
  color: var(--portfolio-muted);
  font-family: var(--font-secondary);
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.75;
}

.banner-right-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
  isolation: isolate;
  perspective: 900px;
  animation: portfolioHeroBreath 7.5s ease-in-out infinite;
}

.banner-right-content img {
  position: relative;
  z-index: 3;
  width: min(100%, clamp(280px, 42vw, 620px));
  max-width: none;
  filter:
    brightness(1.08)
    contrast(1.06)
    drop-shadow(0 28px 48px rgba(0, 0, 0, 0.58))
    drop-shadow(0 0 28px rgba(255, 1, 79, 0.18));
  mask-image: linear-gradient(to bottom, #000 0%, #000 88%, rgba(0, 0, 0, 0.82) 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 88%, rgba(0, 0, 0, 0.82) 94%, transparent 100%);
}

.banner-big-text-1,
.banner-big-text-2 {
  position: absolute;
  left: 50%;
  z-index: 1;
  width: 100%;
  color: rgba(255, 255, 255, 0.24);
  font-size: clamp(42px, 9vw, 94px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  opacity: 0.46;
  pointer-events: none;
  -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.72);
  text-shadow:
    0 0 18px rgba(255, 255, 255, 0.42),
    0 0 34px rgba(255, 1, 79, 0.34);
  transform: translateX(-50%);
}

.banner-big-text-1 {
  top: 16%;
  animation: up-down 1s infinite alternate;
}

.banner-big-text-2 {
  bottom: clamp(18px, 6vw, 70px);
  z-index: 5;
  color: rgba(255, 255, 255, 0.18);
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.86);
  mix-blend-mode: screen;
  animation: up-down-2 0.9s infinite alternate;
}

.theme-gradient {
  color: var(--color-primary);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  text-shadow:
    0 0 12px rgba(255, 1, 79, 0.82),
    0 0 28px rgba(255, 1, 79, 0.44);
}

.portfolio-word-rotator,
.cd-headline {
  display: inline-flex;
  min-height: 1.12em;
  overflow: visible;
  vertical-align: baseline;
}

.cd-words-wrapper {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  min-width: min(100%, 17ch);
  overflow: visible !important;
}

.portfolio-typewriter::after {
  content: "";
  width: 2px;
  height: 0.9em;
  display: inline-block;
  margin-left: 4px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.86);
  animation: typeCursorBlink 0.8s steps(2, end) infinite;
}

.cd-words-wrapper b {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  opacity: 0;
  visibility: hidden;
  white-space: nowrap;
  clip-path: none;
  filter: none;
}

.cd-words-wrapper b.is-visible {
  opacity: 1;
  visibility: visible;
  animation: none;
  text-shadow:
    0 0 18px rgba(255, 1, 79, 0.5),
    0 0 30px rgba(255, 255, 255, 0.12);
}

.cd-words-wrapper b.is-hidden {
  display: none;
  animation: none;
}

.tmp-btn,
.transparent-glow-btn {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 28px;
  color: #ffffff;
  border: 1px solid rgba(255, 1, 79, 0.42);
  border-radius: 999px;
  background:
    linear-gradient(rgba(255, 1, 79, 0.12), rgba(255, 1, 79, 0.04)),
    rgba(255, 255, 255, 0.025);
  font-family: var(--font-secondary);
  font-size: 15px;
  font-weight: 700;
  transition:
    transform 0.34s var(--portfolio-ease),
    color 0.34s ease,
    border-color 0.34s ease,
    background 0.34s ease,
    box-shadow 0.34s ease;
}

.tmp-btn:hover,
.transparent-glow-btn:hover {
  color: #ffffff;
  background: rgba(255, 1, 79, 0.16);
  border-color: var(--color-primary);
  box-shadow: 0 0 22px rgba(255, 1, 79, 0.35);
  transform: translateY(-4px);
}

.button-area-banner-one {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.tmp-btn.hover-icon-reverse .icon-reverse-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.download-cv-btn {
  position: relative;
  isolation: isolate;
  min-width: 178px;
  overflow: hidden;
}

.download-cv-btn::before {
  content: "";
  position: absolute;
  inset: -60% auto -60% -70%;
  z-index: 0;
  width: 56%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: rotate(16deg);
  transition: left 0.58s var(--portfolio-ease);
  pointer-events: none;
}

.download-cv-btn:hover::before {
  left: 118%;
}

.download-cv-content {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.tmp-btn .btn-icon {
  display: inline-flex;
  transition: transform 0.3s var(--portfolio-ease);
}

.tmp-btn.hover-icon-reverse .btn-icon + .btn-icon {
  margin-left: -26px;
  transform: translateX(-32px);
  opacity: 0;
}

.tmp-btn.hover-icon-reverse:hover .btn-icon:first-of-type {
  transform: translateX(32px);
  opacity: 0;
}

.tmp-btn.hover-icon-reverse:hover .btn-icon + .btn-icon {
  transform: translateX(0);
  opacity: 1;
}

.download-cv-btn:hover .btn-icon {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.72));
  transform: translateY(-2px) scale(1.16);
}

/* Shared cards */
.about-content-inner,
.ultra-edu-card,
.projects-directory-layout,
.timeline-content,
.panel-body,
.interactive-glow-card {
  position: relative;
  background: var(--portfolio-panel);
  border: 1px solid var(--portfolio-border);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.about-content-inner:hover,
.ultra-edu-card:hover,
.timeline-content:hover,
.panel-body:hover,
.interactive-glow-card:hover {
  background: rgba(14, 17, 29, 0.62);
}

/* About */
.about-image-wrapper {
  overflow: visible;
  padding: 18px 0;
}

.about-content-inner {
  padding: clamp(22px, 4vw, 36px);
  border-radius: 18px;
}

.about-title {
  position: relative;
  display: inline-block;
  margin-bottom: 25px;
}

.description-content p {
  color: var(--portfolio-muted);
  font-family: var(--font-secondary);
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.8;
  margin-bottom: 20px;
}

.custom-about-img-wrap {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
  overflow: hidden;
  border: 3px solid rgba(255, 1, 79, 0.72);
  border-radius: 22px;
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.42),
    0 0 32px rgba(255, 1, 79, 0.22);
  animation: aboutImageWave 4.8s ease-in-out infinite;
}

.title-line,
.title-underline-advanced,
.glow-line-red-anim,
.red-line-formation,
.my-text::after,
.my-text-exp::after,
.tech-title-line {
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-alt)) !important;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 1, 79, 0.45);
  transform-origin: left center;
  animation: portfolioLineBreath 3.2s ease-in-out infinite;
}

.title-line {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
}

.about-inline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.about-timeline-link {
  color: var(--portfolio-muted);
  font-size: 16px;
  font-weight: 700;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.about-timeline-link span,
.about-timeline-link:hover {
  color: var(--color-primary);
}

.about-timeline-link:hover {
  transform: translateX(4px);
}

/* Education */
.education-section {
  overflow: hidden;
}

.dynamic-bg-shape {
  position: absolute;
  top: 20%;
  right: -10%;
  width: 400px;
  height: 400px;
  display: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 1, 79, 0.08), transparent 70%);
  filter: blur(60px);
}

.academic-subtitle {
  color: var(--portfolio-muted);
  letter-spacing: 2px;
}

.title-underline-advanced,
.tech-title-line {
  width: 80px;
  height: 4px;
  display: block;
  margin-top: 15px;
  overflow: hidden;
}

.title-underline-advanced::after,
.glow-line-red-anim::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  animation: shine-glow 3s infinite;
}

.ultra-edu-card {
  overflow: hidden;
  margin-bottom: 20px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 18px;
  transition:
    transform 0.78s var(--portfolio-bounce),
    background 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.5s ease;
}

.ultra-edu-card:hover {
  border-color: rgba(255, 1, 79, 0.52);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.34),
    0 0 36px rgba(255, 1, 79, 0.16);
  transform: translateY(-8px) scale(1.015);
}

.card-inner-layout {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 30px);
}

.logo-side {
  position: relative;
}

.logo-box-advanced {
  position: relative;
  z-index: 3;
  width: 75px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.7s var(--portfolio-bounce);
}

.logo-box-advanced img {
  max-width: 100%;
  object-fit: contain;
}

.logo-reflection {
  position: absolute;
  bottom: -20px;
  left: 50%;
  width: 50px;
  height: 20px;
  opacity: 0;
  background: radial-gradient(ellipse at center, rgba(255, 1, 79, 0.2), transparent 70%);
  transform: translateX(-50%);
  transition: opacity 0.4s ease;
}

.ultra-edu-card:hover .logo-box-advanced {
  transform: rotate(-3deg) scale(1.1);
}

.ultra-edu-card:hover .logo-reflection {
  opacity: 1;
}

.info-side {
  flex: 1;
  min-width: 0;
}

.meta-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.edu-tag,
.edu-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 12px;
  color: var(--color-primary);
  border-radius: 999px;
  background: rgba(255, 1, 79, 0.08);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.gpa-special {
  color: #ffffff;
  background: var(--color-primary);
  box-shadow: 0 4px 10px rgba(255, 1, 79, 0.2);
}

.status-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 6px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 10px #00ff88;
  animation: blink 1.5s infinite;
}

.degree-name {
  margin-bottom: 5px;
  color: #ffffff;
  font-size: clamp(20px, 2.5vw, 27px);
  font-weight: 800;
  line-height: 1.22;
  transition: color 0.3s ease;
}

.institute-name {
  color: var(--portfolio-muted);
  font-family: var(--font-secondary);
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 500;
}

.year-range {
  color: #ffffff;
  opacity: 0.72;
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 800;
  white-space: nowrap;
  transition:
    color 0.4s ease,
    opacity 0.4s ease,
    transform 0.4s ease;
}

.ultra-edu-card:hover .degree-name,
.ultra-edu-card:hover .year-range {
  color: var(--color-primary);
  opacity: 1;
}

.red-neon-side-trigger {
  display: none;
}

/* Projects */
.project-headline {
  margin-bottom: 20px;
}

.my-text-custom {
  position: relative;
  display: inline-block;
  color: #ffffff;
}

.glow-line-red-anim {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 4px;
  display: block;
  overflow: hidden;
}

.projects-text-red {
  margin-left: 10px;
}

.sub-title-prj-box-clean {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 4px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  line-height: 1;
}

.sub-title-prj-box-clean .soft-white,
.sub-title-prj-box-clean .proj-red {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  text-transform: uppercase;
}

.soft-white {
  color: #ffffff;
}

.proj-red {
  color: var(--color-primary);
}

.projects-directory-layout {
  overflow: hidden;
  margin-top: 50px;
  padding: 2px;
  border-radius: 18px;
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 1, 79, 0.08);
}

#glow-container::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.72;
  background: radial-gradient(
    600px circle at var(--x, 50%) var(--y, 50%),
    rgba(255, 1, 79, 0.32),
    transparent 40%
  );
  transition: opacity 0.35s ease;
}

.projects-directory-layout:hover::before {
  opacity: 1;
}

.directory-box {
  position: relative;
  z-index: 1;
  display: flex;
  height: min(72vh, 690px);
  min-height: 560px;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(4, 7, 16, 0.64);
}

.directory-sidebar {
  width: min(300px, 30%);
  padding: 25px 15px;
  overflow-y: auto;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.032);
}

.sidebar-header {
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-align: center;
}

.folder-name,
.file-item,
.project-folder,
.project-file {
  width: calc(100% - 20px);
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--portfolio-muted);
  font-family: inherit;
  font-size: clamp(12px, 1.1vw, 14px);
  text-align: left;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.folder-name {
  justify-content: flex-start;
  padding: 10px 15px;
}

.file-list {
  display: none;
  padding-left: 30px;
  margin: 5px 0 8px;
}

.file-list.show {
  display: block;
}

.file-item {
  padding: 8px 14px;
  color: rgba(196, 207, 222, 0.72);
  font-size: 12px;
}

.folder-name:hover,
.folder-name.active {
  color: var(--color-primary);
  background: rgba(255, 1, 79, 0.12);
}

.file-item:hover,
.file-item.active {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.055);
}

.project-folder:focus-visible,
.project-file:focus-visible,
.transparent-glow-btn:focus-visible,
.contact-reset-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.folder-icon-gold {
  color: #ffca28;
}

.readme-icon {
  color: #519975;
}

.directory-main,
.expanded-view,
.iframe-wrapper-round {
  background: rgba(0, 0, 0, 0.22);
}

.directory-main {
  position: relative;
  flex: 1;
  min-width: 0;
}

.project-panel {
  width: 100%;
  height: 100%;
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.45s var(--portfolio-ease),
    transform 0.45s var(--portfolio-ease);
}

.project-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.iframe-wrapper-round {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0 0 16px 0;
}

.project-live-toolbar {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 1, 79, 0.18);
  background: rgba(255, 255, 255, 0.035);
}

.project-live-toolbar span {
  overflow: hidden;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-live-toolbar a {
  color: var(--color-primary);
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.project-live-toolbar a:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

#live-frame {
  width: 100%;
  height: calc(100% - 46px);
  display: block;
  border: 0;
  pointer-events: auto;
  background: #ffffff;
  transition: transform 0.22s ease;
}

.readme-full-bg {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: clamp(26px, 6vw, 64px);
  isolation: isolate;
  background-position: center;
  background-size: cover;
}

.readme-full-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #060a17 34%, rgba(6, 10, 23, 0.78) 72%, rgba(6, 10, 23, 0.45)),
    rgba(0, 0, 0, 0.24);
}

.readme-overlay-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.readme-overlay-content h1 {
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  text-wrap: balance;
}

.readme-overlay-content p {
  max-width: 640px;
  margin-bottom: 40px;
  color: var(--portfolio-muted);
  font-family: var(--font-secondary);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.7;
}

.readme-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 20px;
}

.tech-stack-glow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-stack-glow span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 15px;
  color: var(--color-primary);
  border: 1px solid rgba(255, 1, 79, 0.5);
  border-radius: 6px;
  background: rgba(255, 1, 79, 0.1);
  font-size: 13px;
  font-weight: 700;
  transition:
    transform 0.3s var(--portfolio-ease),
    color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.tech-stack-glow span:hover {
  color: #ffffff;
  background: var(--color-primary);
  box-shadow: 0 0 15px rgba(255, 1, 79, 0.72);
  transform: translateY(-3px);
}

.floating-action-links {
  display: flex;
  gap: 15px;
}

.floating-action-links a {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: 1px solid var(--color-primary);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  font-size: 24px;
  transition:
    transform 0.3s var(--portfolio-ease),
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.floating-action-links a:hover {
  color: #ffffff;
  background: var(--color-primary);
  box-shadow: 0 0 20px rgba(255, 1, 79, 0.7);
  transform: translateY(-5px);
}

/* Timeline */
.journey-title-container {
  display: inline-block;
  margin-bottom: 70px;
}

.journey-title {
  margin: 0;
}

.my-text,
.my-text-exp {
  position: relative;
  display: inline-block;
  color: #ffffff;
  padding-bottom: 8px;
}

.my-text::after,
.my-text-exp::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
}

.journey-text,
.experience-headline .highlight {
  display: inline-block;
  margin-left: 12px;
  transition:
    transform 0.34s var(--portfolio-ease),
    text-shadow 0.34s ease;
}

.journey-title-container:hover .journey-text,
.experience-headline:hover .highlight {
  text-shadow: 0 0 20px rgba(255, 1, 79, 0.6);
  transform: translateX(8px) scale(1.035);
}

.timeline-wrapper {
  position: relative;
  padding: clamp(20px, 5vw, 54px) 0;
}

.timeline-progress {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(-50%);
}

#timeline-progress-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, var(--color-primary), #ff7a95);
  box-shadow: 0 0 22px rgba(255, 1, 79, 0.7);
  transition: height 0.1s linear;
}

.timeline-item {
  position: relative;
  width: 100%;
  display: flex;
  margin: clamp(46px, 8vw, 84px) 0;
}

.timeline-item.left {
  justify-content: flex-start;
}

.timeline-item.right {
  justify-content: flex-end;
}

.timeline-dot {
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 10;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  background: rgba(15, 18, 28, 0.92);
  box-shadow:
    0 0 0 8px rgba(255, 1, 79, 0.08),
    0 0 24px rgba(255, 1, 79, 0.26);
  font-size: 20px;
  transform: translateX(-50%);
  transition:
    color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.timeline-item-active .timeline-dot,
.timeline-item:hover .timeline-dot {
  color: #ffffff;
  background: var(--color-primary);
  box-shadow:
    0 0 0 10px rgba(255, 1, 79, 0.12),
    0 0 34px rgba(255, 1, 79, 0.72);
}

.timeline-content {
  width: min(44%, 510px);
  overflow: hidden;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 16px;
  transition:
    transform 0.4s var(--portfolio-ease),
    border-color 0.35s ease,
    background 0.35s ease;
}

.timeline-content h2 {
  margin-bottom: 12px;
  font-size: clamp(21px, 2.5vw, 29px);
  line-height: 1.17;
}

.timeline-content p {
  color: var(--portfolio-muted);
  font-family: var(--font-secondary);
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.75;
}

.timeline-item:hover .timeline-content {
  border-color: rgba(255, 1, 79, 0.46);
  transform: translateY(-5px);
}

.timeline-date {
  position: absolute;
  top: 32px;
  color: var(--color-primary);
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 800;
}

.timeline-item.left .timeline-date {
  left: calc(50% + 50px);
}

.timeline-item.right .timeline-date {
  right: calc(50% + 50px);
}

/* Experience */
.experience-headline {
  cursor: pointer;
}

.experience-headline .highlight {
  margin-left: 15px;
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 5vw, 60px);
  margin-top: 40px;
}

.experience-nav {
  display: flex;
  min-width: 0;
}

.vertical-line {
  position: relative;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.line-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20%;
  background: var(--color-primary);
  box-shadow: 0 0 15px rgba(255, 1, 79, 0.85);
  transition: height 0.5s var(--portfolio-ease);
}

.nav-items {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  margin-left: -11px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 0;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0.56;
  transition:
    opacity 0.3s ease,
    transform 0.3s var(--portfolio-ease);
}

.nav-item.active,
.nav-item:hover {
  opacity: 1;
}

.nav-item:hover {
  transform: translateX(4px);
}

.nav-item .dot {
  z-index: 2;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: #1a1a1a;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.nav-item.active .dot {
  border-color: var(--color-primary);
  background: var(--color-primary);
  box-shadow: 0 0 12px rgba(255, 1, 79, 0.8);
}

.nav-label {
  color: #ffffff;
  font-size: clamp(15px, 1.45vw, 18px);
  font-weight: 700;
  white-space: nowrap;
}

.nav-item:hover .nav-label {
  color: var(--color-primary);
}

.experience-display {
  min-width: 0;
}

.experience-panel {
  display: none;
  animation: portfolioPanelIn 0.58s var(--portfolio-ease) both;
}

.experience-panel.active {
  display: block;
}

.panel-title {
  margin-bottom: 5px;
  color: #ffffff;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.18;
}

.panel-date {
  display: block;
  margin-bottom: 20px;
  color: rgba(196, 207, 222, 0.72);
  font-family: var(--font-secondary);
  font-size: clamp(13px, 1.2vw, 15px);
}

.panel-body {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: 16px;
  transition:
    transform 0.4s var(--portfolio-ease),
    border-color 0.35s ease,
    background 0.35s ease;
}

.panel-body:hover {
  border-color: rgba(255, 1, 79, 0.42);
  transform: translateY(-5px);
}

.panel-body p {
  color: var(--portfolio-muted);
  font-family: var(--font-secondary);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 12px;
}

.shine-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.06), transparent);
  transform: skewX(-25deg);
  transition: left 0.7s ease;
}

.panel-body:hover .shine-effect {
  left: 150%;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tech-tags span {
  padding: 5px 15px;
  color: var(--color-primary);
  border-radius: 999px;
  background: rgba(255, 1, 79, 0.1);
  font-size: 12px;
  font-weight: 700;
  transition:
    transform 0.3s var(--portfolio-ease),
    color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.tech-tags span:hover {
  color: #ffffff;
  background: var(--color-primary);
  box-shadow: 0 0 15px rgba(255, 1, 79, 0.72);
  transform: translateY(-3px);
}

/* Tech stack */
.tech-stack-title {
  position: relative;
  display: inline-block;
}

.tech-stack-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: clamp(58px, 5vw, 68px) clamp(22px, 3.4vw, 38px);
  justify-items: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 74px clamp(16px, 2.6vw, 26px) 48px;
  overflow: visible;
  isolation: isolate;
  perspective: 900px;
}

.tech-item {
  position: relative;
  z-index: 1;
  width: clamp(82px, 9vw, 112px);
  height: clamp(82px, 9vw, 112px);
  cursor: pointer;
  overflow: visible;
  touch-action: manipulation;
  transform-origin: center;
  will-change: transform;
  animation: portfolioTechFloat 4.2s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.tech-item:hover,
.tech-item:focus-visible,
.tech-item.tech-item-label-visible {
  z-index: 10;
  animation-play-state: paused;
}

.glass-morph {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--icon-clr);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  transition:
    transform 0.34s var(--portfolio-ease),
    border-color 0.34s ease,
    background 0.34s ease,
    box-shadow 0.34s ease;
}

.glass-morph::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(120deg, transparent 36%, rgba(255, 255, 255, 0.18), transparent 64%);
  opacity: 0;
  transform: translateX(-24%) rotate(18deg);
  transition:
    opacity 0.34s ease,
    transform 0.46s var(--portfolio-ease);
}

.glass-morph i,
.glass-morph svg,
.tech-letter-icon {
  position: relative;
  z-index: 1;
  width: clamp(32px, 4vw, 46px);
  color: var(--icon-clr);
  font-size: clamp(32px, 4vw, 46px);
  filter: drop-shadow(0 0 8px var(--icon-clr));
}

.tech-letter-icon {
  font-family: var(--font-primary);
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.tech-item:hover .glass-morph,
.tech-item:focus-visible .glass-morph,
.tech-item.tech-item-label-visible .glass-morph {
  border-color: var(--icon-clr);
  background: rgba(255, 255, 255, 0.075);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.28),
    0 0 22px color-mix(in srgb, var(--icon-clr) 44%, transparent);
  transform: translateY(-6px) scale(1.15);
}

.tech-item:hover .glass-morph::before,
.tech-item:focus-visible .glass-morph::before,
.tech-item.tech-item-label-visible .glass-morph::before {
  opacity: 1;
  transform: translateX(22%) rotate(18deg);
}

.tech-item::after {
  content: attr(data-name);
  position: absolute;
  top: -50px;
  bottom: auto;
  left: 50%;
  z-index: 1000;
  padding: 8px 18px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(12, 16, 28, 0.92);
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.5),
    inset 0 0 10px rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(12px) scale(0.92);
  transition:
    opacity 0.34s var(--portfolio-ease),
    visibility 0.34s var(--portfolio-ease),
    transform 0.34s var(--portfolio-ease),
    border-color 0.34s ease,
    box-shadow 0.34s ease;
}

.tech-item:hover::after,
.tech-item:focus-visible::after,
.tech-item.tech-item-label-visible::after {
  opacity: 1;
  visibility: visible;
  border-color: color-mix(in srgb, var(--icon-clr) 54%, rgba(255, 255, 255, 0.25));
  background: rgba(12, 16, 28, 0.96);
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.5),
    0 0 18px color-mix(in srgb, var(--icon-clr) 34%, transparent);
  transform: translateX(-50%) translateY(0) scale(1);
}

.tech-item[data-name="GitHub"]::after,
.tech-item[data-name="GitHub"]:hover::after {
  color: #ffffff;
}

/* Contact and footer */
.ultra-modern-contact {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.ultra-modern-contact::before {
  content: none;
}

.contact-header-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-central-title {
  font-size: clamp(38px, 6vw, 64px) !important;
  margin-bottom: 0;
}

.red-line-formation {
  width: 80px;
  height: 4px;
  margin-top: 15px;
}

.contact-intro-copy {
  max-width: 760px;
  margin: 24px auto 0;
  color: var(--portfolio-muted);
  font-family: var(--font-secondary);
  font-size: 17px;
  line-height: 1.75;
}

.interactive-glow-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 60px);
  border-radius: 18px;
}

.interaction-form-rounded {
  display: flex;
  flex-direction: column;
}

.click-anim-input {
  width: 100%;
  min-height: 58px;
  padding: 18px 30px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  outline: none;
  background: rgba(255, 255, 255, 0.035);
  font-family: var(--font-secondary);
  font-size: clamp(15px, 1.4vw, 17px);
  transition:
    transform 0.32s var(--portfolio-ease),
    border-color 0.32s ease,
    background 0.32s ease,
    box-shadow 0.32s ease;
}

.click-anim-input::placeholder {
  color: rgba(196, 207, 222, 0.62);
}

.click-anim-input:focus {
  border-color: var(--color-primary);
  background: rgba(255, 1, 79, 0.055);
  box-shadow: 0 0 20px rgba(255, 1, 79, 0.2);
  transform: translateY(-2px);
}

.text-area-round {
  min-height: clamp(140px, 20vw, 176px);
  border-radius: 18px;
  resize: vertical;
}

.transparent-glow-btn {
  width: 100%;
  max-width: 300px;
  border-width: 2px;
}

.contact-form-status {
  min-height: 24px;
  margin: 18px 0 0;
  color: var(--portfolio-muted);
  font-family: var(--font-secondary);
  font-size: 14px;
  text-align: center;
}

.contact-form-status[data-state="sending"] {
  color: #ffffff;
}

.contact-form-status[data-state="error"] {
  color: #ff6b8f;
}

#portfolio-contact-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.contact-success-message {
  min-height: 370px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #ffffff;
  text-align: center;
}

.contact-success-message[hidden] {
  display: none;
}

.contact-success-message i {
  color: var(--color-primary);
  font-size: 58px;
  filter: drop-shadow(0 0 16px rgba(255, 1, 79, 0.45));
}

.contact-success-message h3 {
  color: #ffffff;
  font-size: clamp(28px, 4vw, 38px);
}

.contact-success-message p {
  color: var(--portfolio-muted);
  font-family: var(--font-secondary);
  font-size: 17px;
}

.direct-mail-center {
  position: relative;
  z-index: 1;
}

.mail-label {
  display: block;
  margin-bottom: 12px;
  color: rgba(196, 207, 222, 0.72);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
}

.dynamic-mail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  color: #ffffff;
  font-size: clamp(22px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  overflow-wrap: anywhere;
  transition:
    color 0.3s ease,
    text-shadow 0.3s ease,
    transform 0.3s var(--portfolio-ease);
}

.dynamic-mail-link:hover {
  color: var(--color-primary);
  text-shadow: 0 0 20px rgba(255, 1, 79, 0.54);
  transform: translateY(-2px) scale(1.02);
}

.transparent-modern-footer {
  position: relative;
  z-index: 2;
  padding: clamp(34px, 6vw, 68px) 0;
  background: transparent;
  overflow: visible;
  opacity: 1 !important;
  clip-path: none !important;
  transform: none !important;
}

.transparent-modern-footer::before {
  content: none;
}

.footer-divider-neon {
  width: min(420px, 72vw);
  height: 2px;
  margin: 0 auto 30px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  animation: portfolioFooterLine 4s ease-in-out infinite;
}

.footer-social-glow {
  width: 50px;
  height: 50px;
  font-size: 20px;
}

.copyright-minimal {
  margin: 0;
  color: var(--portfolio-muted);
  font-family: var(--font-secondary);
  font-size: 15px;
  opacity: 1 !important;
  visibility: visible !important;
  clip-path: none !important;
  transform: none !important;
}

.owner-name {
  color: #ffffff;
  font-weight: 700;
}

/* Modern scroll animation system */
.portfolio-io-ready {
  opacity: 0 !important;
  clip-path: inset(0 0 18% 0 round 14px);
  transform: translate3d(0, 46px, 0) scale(0.985) rotateX(7deg);
  transform-origin: 50% 75%;
  transition:
    opacity 0.72s var(--portfolio-ease),
    transform 0.86s var(--portfolio-bounce),
    clip-path 0.86s var(--portfolio-bounce) !important;
  transition-delay: calc(var(--motion-index, var(--animation-order, 0)) * 65ms) !important;
  will-change: opacity, transform, clip-path;
}

.portfolio-io-ready.timeline-item.left {
  transform: translate3d(-42px, 28px, 0) scale(0.985) rotateY(-5deg);
}

.portfolio-io-ready.timeline-item.right {
  transform: translate3d(42px, 28px, 0) scale(0.985) rotateY(5deg);
}

.portfolio-io-ready.react-project-explorer,
.portfolio-io-ready.interactive-glow-card {
  transform: translate3d(0, 38px, 0) scale(0.975) rotateX(5deg);
}

.portfolio-io-ready.tmp-zoom-in {
  transform: translate3d(0, 30px, 0) scale(0.94) rotateX(5deg);
}

.portfolio-io-visible {
  opacity: 1 !important;
  clip-path: inset(0 0 0 0 round 0);
  transform: translate3d(0, 0, 0) scale(1) rotateX(0) rotateY(0) !important;
}

.portfolio-io-visible.tmp-scroll-trigger {
  animation: none !important;
}

@supports (animation-timeline: view()) {
  .tmp-section-gap > .container,
  .tmp-section-gapTop > .container {
    animation: sectionDepth both;
    animation-timeline: view();
    animation-range: entry 0% cover 34%;
  }

  .timeline-content,
  .panel-body,
  .ultra-edu-card,
  .projects-directory-layout {
    animation: cardDepth both;
    animation-timeline: view();
    animation-range: entry 4% cover 30%;
  }
}

/* Keyframes */
@keyframes headerSlideDown {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes portfolioMobileItemIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes portfolioHeroBreath {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -9px, 0);
  }
}

@keyframes up-down {
  from {
    transform: translate3d(-50%, -10px, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes up-down-2 {
  from {
    transform: translate3d(-50%, 10px, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes typeCursorBlink {
  0%,
  48% {
    opacity: 1;
  }
  49%,
  100% {
    opacity: 0.16;
  }
}

@keyframes portfolioLineBreath {
  0%,
  100% {
    opacity: 0.82;
    filter: saturate(1);
  }
  50% {
    opacity: 1;
    filter: saturate(1.35);
  }
}

@keyframes shine-glow {
  to {
    left: 100%;
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

@keyframes portfolioPanelIn {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: translate3d(28px, 10px, 0);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes aboutImageWave {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -12px, 0);
  }
}

@keyframes portfolioTechFloat {
  0% {
    transform: translate3d(0, 0, 0);
  }
  25% {
    transform: translate3d(0, -8px, 0) rotate(-1deg);
  }
  50% {
    transform: translate3d(0, -17px, 0) rotate(1.2deg);
  }
  75% {
    transform: translate3d(0, -7px, 0) rotate(-0.8deg);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes portfolioFooterLine {
  0%,
  100% {
    opacity: 0.45;
    transform: scaleX(0.62);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes sectionDepth {
  from {
    opacity: 0.2;
    transform: translateY(80px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cardDepth {
  from {
    transform: translateY(54px) scale(0.975) rotateX(8deg);
  }
  to {
    transform: translateY(0) scale(1) rotateX(0);
  }
}

/* Responsive */
@media (max-width: 1199px) {
  .banner-one-main-wrapper .inner .title {
    font-size: clamp(38px, 6.5vw, 58px);
  }
}

@media (max-width: 991px) {
  html {
    scroll-padding-top: 82px;
  }

  .tmp-banner-one-area {
    min-height: auto;
    padding-bottom: 100px;
    margin-bottom: -28px;
    text-align: center;
  }

  #starry-background-content {
    margin-top: -84px;
    padding-top: 84px;
    background: transparent;
  }

  .banner-one-main-wrapper .row {
    min-height: auto;
  }

  .banner-right-content {
    min-height: 420px;
  }

  .banner-one-main-wrapper .inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 26px;
  }

  .banner-one-main-wrapper .inner .disc {
    max-width: 680px;
  }

  .button-area-banner-one {
    display: flex;
    justify-content: center;
  }

  .about-content-inner {
    text-align: center;
  }

  .about-inline-actions {
    justify-content: center;
  }

  .section-head,
  .project-next-level .section-head {
    text-align: center !important;
  }

  .title-line,
  .glow-line-red-anim {
    left: 50%;
    transform: translateX(-50%);
  }

  .title-underline-advanced,
  .tech-title-line {
    margin-right: auto;
    margin-left: auto;
  }

  .card-inner-layout {
    align-items: flex-start;
  }

  .year-side {
    align-self: flex-start;
  }

  .directory-box {
    height: auto;
    min-height: 0;
    flex-direction: column;
  }

  .directory-sidebar {
    width: 100%;
    max-height: none;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .directory-main,
  .iframe-wrapper-round,
  .readme-full-bg {
    min-height: 560px;
  }

  .iframe-wrapper-round {
    border-radius: 0 0 16px 16px;
  }

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

  .experience-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
  }

  .vertical-line {
    display: none;
  }

  .experience-nav .nav-items {
    width: max-content;
    min-width: 100%;
    flex-direction: row;
    gap: 10px;
    margin-left: 0;
    padding: 4px;
  }

  .experience-nav .nav-item {
    flex: 0 0 auto;
    min-height: 46px;
    padding: 10px 16px;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
  }

  .experience-nav .nav-item.active {
    border-color: rgba(255, 1, 79, 0.42);
    background: rgba(255, 1, 79, 0.12);
  }

  .nav-item .dot {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 767px) {
  body {
    overflow-x: hidden;
  }

  .container {
    max-width: 100%;
    padding-right: 18px;
    padding-left: 18px;
  }

  .tmp-section-gap,
  .tmp-section-gapTop {
    padding-top: 64px;
  }

  .tmp-section-gap {
    padding-bottom: 64px;
  }

  .tmp-header-area-start.header--sticky {
    min-height: 72px;
  }

  .header-content {
    min-height: 72px;
  }

  html.mobile-menu-open,
  html.mobile-menu-open body {
    overflow: hidden;
  }

  .banner-right-content {
    min-height: 330px;
  }

  .banner-right-content img {
    width: min(82vw, 310px);
  }

  .banner-big-text-1,
  .banner-big-text-2 {
    font-size: clamp(34px, 13vw, 50px);
  }

  .banner-one-main-wrapper .inner .title {
    font-size: clamp(34px, 10.5vw, 46px);
  }

  .cd-headline,
  .cd-words-wrapper {
    max-width: 100%;
  }

  .cd-words-wrapper b {
    white-space: nowrap;
  }

  .description-content p {
    padding: 0 !important;
    text-align: left;
  }

  .about-inline-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .about-inline-actions .tmp-btn,
  .about-timeline-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .custom-about-img-wrap {
    max-width: 240px;
    margin-bottom: 30px;
  }

  .ultra-edu-card {
    padding: 22px;
  }

  .card-inner-layout {
    flex-direction: column;
    gap: 16px;
  }

  .logo-box-advanced {
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }

  .project-next-level {
    padding-bottom: 84px;
  }

  .project-next-level .section-head {
    margin-bottom: 34px !important;
  }

  .directory-sidebar {
    max-height: 238px;
    overflow-y: auto;
    padding: 16px 12px;
    scrollbar-width: thin;
  }

  .sidebar-header {
    margin-bottom: 14px;
  }

  .folder-name,
  .file-item,
  .project-folder,
  .project-file {
    min-height: 34px;
    width: calc(100% - 12px);
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .file-list {
    padding-left: 14px;
    margin-top: 2px;
    margin-bottom: 6px;
  }

  .file-item {
    padding-left: 18px;
  }

  .project-live-toolbar {
    height: 50px;
    padding: 0 12px;
    font-size: 13px;
  }

  .directory-main,
  .iframe-wrapper-round {
    height: clamp(430px, 68svh, 620px);
    min-height: 430px;
    max-height: 620px;
  }

  .readme-full-bg {
    min-height: 430px;
    padding: 32px 20px;
  }

  .iframe-wrapper-round {
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: auto;
  }

  #live-frame {
    min-height: 0;
    pointer-events: auto;
  }

  .readme-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-action-links a {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .timeline-wrapper {
    padding: 18px 0 0;
  }

  .timeline-progress {
    left: 20px;
    transform: none;
  }

  .timeline-item,
  .timeline-item.left,
  .timeline-item.right {
    display: block;
    margin: 42px 0;
    padding-left: 58px;
  }

  .timeline-dot {
    top: 0;
    left: 20px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .timeline-content {
    width: 100%;
    padding: 20px;
  }

  .timeline-date {
    position: static;
    display: inline-flex;
    margin-top: 13px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 1, 79, 0.09);
  }

  .panel-body {
    padding: 22px;
  }

  .tech-stack-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 54px 14px;
    padding-top: 56px;
    padding-right: 10px;
    padding-bottom: 42px;
    padding-left: 10px;
  }

  .tech-item {
    width: clamp(78px, 23vw, 92px);
    height: clamp(78px, 23vw, 92px);
  }

  .tech-item:hover .glass-morph,
  .tech-item:focus-visible .glass-morph,
  .tech-item.tech-item-label-visible .glass-morph {
    transform: translateY(-4px) scale(1.1);
  }

  .tech-item::after {
    top: -38px;
    bottom: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 104px;
    min-height: 24px;
    padding: 5px 10px;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 10px;
    background: rgba(12, 16, 28, 0.88) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
    font-size: 10px;
    line-height: 1;
    text-transform: none;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
  }

  .tech-item[data-name="GitHub"]::after {
    color: #ffffff !important;
  }

  .interactive-glow-card {
    border-radius: 16px;
  }

  .click-anim-input {
    padding: 16px 18px;
  }

  .transparent-glow-btn {
    max-width: none;
  }

  .direct-mail-center {
    margin-top: 36px !important;
  }

  .contact-intro-copy {
    padding: 0 12px;
    font-size: 15px;
  }

  .portfolio-io-ready {
    clip-path: none;
    transform: translate3d(0, 28px, 0) scale(0.99);
    transition:
      opacity 0.58s var(--portfolio-ease),
      transform 0.68s var(--portfolio-bounce) !important;
  }
}

@media (max-width: 480px) {
  .section-head .title,
  .project-headline,
  .journey-title,
  .experience-headline,
  .contact-central-title {
    font-size: clamp(30px, 11vw, 38px) !important;
  }

  .sub-title-prj-box-clean {
    padding: 7px 12px;
  }

  .sub-title-prj-box-clean .soft-white,
  .sub-title-prj-box-clean .proj-red {
    font-size: 16px;
  }

  .directory-main,
  .iframe-wrapper-round {
    height: clamp(390px, 62svh, 540px);
    min-height: 390px;
    max-height: 540px;
  }

  .readme-full-bg {
    min-height: 390px;
  }

  .experience-nav .nav-item {
    padding: 9px 12px;
  }

  .nav-label {
    font-size: 14px;
  }

  .social-links-formation {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .portfolio-io-ready,
  .portfolio-io-visible {
    opacity: 1 !important;
    clip-path: none !important;
    transform: none !important;
  }
}
