:root {
  --accent-color: #ffffff;
  --primary-accent: #ffffff; 
  --accent-glow: rgba(255, 255, 255, 0.4);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.15);
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Outfit', 'Inter', sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;
  scroll-behavior: smooth;
  cursor: default;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}


.body-lock {
  overflow: hidden !important;
  height: 100vh !important;
  width: 100vw !important;
  position: fixed !important;
  padding-right: 6px; 
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: #fff;
  color: #000;
  padding: 1rem;
  z-index: 1000000;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}

/* Interactive Glow Orb Replacing Static Mesh */
#glow-orb {
  position: fixed;
  top: 0;
  left: 0;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 65%);
  pointer-events: none;
  z-index: -1;
  will-change: transform;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

*:focus {
  outline: none;
}

*:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
  border-radius: 2px;
}

::selection {
  background: #fff;
  color: #000;
  text-shadow: none;
}

::-moz-selection {
  background: rgba(255, 255, 255, 0.99);
  color: #000;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.05;
  pointer-events: none;
  z-index: 999999;
  filter: url(#grainy-noise);
  mix-blend-mode: overlay;
}

* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#loader-curtain {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 100002;
  transform-origin: left;
  transform: scaleX(0);
}

#scroll-progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}


.loader-content {
  text-align: center;
}

.loader-text {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 5px;
  color: #fff;
  display: block;
  margin-bottom: 1rem;
}

.loader-bar {
  width: 100px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.loader-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #fff;
  animation: loadingBar 1.5s infinite ease-in-out;
}

@keyframes loadingBar {
  0% { left: -100%; }
  50% { left: 0%; }
  100% { left: 100%; }
}

/* Skeleton Loading Styles */
.image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.skeleton {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.1) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 8px;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: opacity 0.3s ease;
}

.card-img.loaded + .skeleton {
  display: none;
}

#cursor {
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 200000; 
  pointer-events: none;
  margin-left: -5px;
  margin-top: -5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#cursor i {
  font-family: "remixicon";
  font-size: 4px;
  color: #000;
  opacity: 0;
  transform: scale(0);
  transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

#cursor.view-project i {
  opacity: 1;
  transform: scale(1);
}

#nav {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 9999;
}

.desktop-nav {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9998;
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  padding: 0.5rem 2rem;
  border-radius: 100px;
  display: flex;
  gap: 2rem;
  transition: all 0.4s ease;
}

.desktop-nav a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 0;
  position: relative;
  overflow: hidden;
  display: inline-block;
  transition: color 0.3s ease;
}

.desktop-nav a::before {
  content: attr(href); 
  content: attr(data-text);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.desktop-nav a span {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.desktop-nav a:hover span {
  transform: translateY(-100%);
}

.desktop-nav a:hover::before {
  transform: translateY(-100%);
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: transparent; 
}

.desktop-nav a.active span {
  color: #fff;
  transform: none;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background: #fff;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: center;
}

.desktop-nav a.active::after {
  transform: translateX(-50%) scaleX(1);
}

#menu-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(15px);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  z-index: 10001;
  color: #fff;
  font-size: 1.2rem;
}

@media (max-width: 1024px) {
  .desktop-nav { display: none; }
}

@media (min-width: 1025px) {
  #menu-btn { display: none; }
}

#menu-btn:hover, #menu-btn.active {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.close-icon {
  display: none;
}

#menu-btn.active .menu-icon {
  display: none;
}

#menu-btn.active .close-icon {
  display: block;
  animation: fadeInRotate 0.4s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes fadeInRotate {
  from { opacity: 0; transform: rotate(-90deg) scale(0.8); }
  to { opacity: 1; transform: rotate(0) scale(1); }
}

.menu-dropdown {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  backdrop-filter: blur(40px) saturate(180%); 
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  padding: 2rem;
}

.menu-dropdown.active {
  opacity: 1;
  visibility: visible;
}

.nav-link.active {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.nav-link.active::after {
  width: 100%;
}

.nav-link {
  color: rgba(255, 255, 255, 0.4); 
  text-decoration: none;
  font-size: clamp(1.5rem, 5vw, 2.5rem); 
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: 0.5rem 1.5rem;
  margin: 0.2rem 0;
  display: block;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff; 
  transform: scale(1.03) !important;
}

#stars-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.star {
  position: absolute;
  width: 10px !important;
  height: 10px !important;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  background: radial-gradient(circle, #fff 50%, rgba(255, 255, 255, 0.8) 70%, transparent 80%);
  box-shadow: 0 0 8px rgba(255, 255, 255, 1), 0 0 16px rgba(255, 255, 255, 0.8), 0 0 24px rgba(255, 220, 100, 0.6);
  animation: realisticTwinkle 4s infinite ease-in-out;
  opacity: 0.8;
  transform-origin: center;
}

@keyframes realisticTwinkle {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.star.dim { width: 8px !important; height: 8px !important; opacity: 0.4; animation-duration: 5s; }
.star.bright { width: 12px !important; height: 12px !important; opacity: 1; animation-duration: 3s; }
.star.twinkle-fast { animation-duration: 2s; }

.star:hover {
  z-index: 1000 !important;
  transform: scale(3.5) !important;
  box-shadow: 0 0 20px rgba(255, 255, 255, 1), 0 0 40px rgba(255, 220, 100, 1), 0 0 60px rgba(255, 180, 80, 0.8) !important;
  animation: none !important;
}

.hero {
  min-height: 100vh;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 5vw;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 900px;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 300;
  line-height: 1.1;
  margin: 0 auto 2rem auto;
  opacity: 0.9;
  letter-spacing: -2px;
  display: block;
}

.hero-title .second-line {
  font-weight: 400; 
  opacity: 1;
  display: block !important;
  text-align: center !important;
  margin: 0 auto;
  max-width: 100%;
  line-height: 1.0;
  letter-spacing: -3px; 
  overflow: hidden; 
}

.char-reveal {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}

.hero-title .first-line {
  opacity: 1;
  display: block !important;
  text-align: center !important;
  margin: 0 auto;
  max-width: 100%;
  line-height: 1.0;
  font-weight: 300;
}

.first-line {
  opacity: 0.7;
  display: block;
  font-weight: 300;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  font-weight: 300;
  letter-spacing: 0.5px;
  opacity: 0; 
  margin: 0 auto 3rem auto;
  max-width: 90%;
  white-space: normal;
  overflow: visible;
  line-height: 1.5;
  position: relative;
  display: block;
  padding-right: 8px;
  text-align: center;
}

.hero-subtitle::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 1.2em;
  background: #fff;
  animation: BlinkCursor 0.8s infinite step-end;
}

@keyframes BlinkCursor {
  from, to { opacity: 1; }
  50% { opacity: 0; }
}

.hero-resume-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: #fff;
  padding: 0.8rem 2rem;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1rem;
  opacity: 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease, border-color 0.4s ease;
}

.hero-resume-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: -1;
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  transform: skewX(-15deg);
  transform-origin: left;
}

.hero-resume-btn:hover::after {
  transform: skewX(-15deg) translateX(110%);
}

.hero-resume-btn:hover {
  color: #000;
  border-color: #fff;
}

.hero-resume-btn i {
  font-family: "remixicon";
  font-size: 1.4rem;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  display: inline-block;
  transform-origin: center;
}

.hero-resume-btn:hover i {
  transform: rotate(360deg);
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  z-index: 5;
  pointer-events: none;
}

.scroll-hint span {
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}

.scroll-hint i {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.75);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

.page-section, .projects, .skills-section, #about, #contact {
  padding: 5vh 5% 5vh;
  display: block;
  position: relative;
}

/* Match top spacing of Experience & Skills across all other sections */
#about, #education, #certifications, #contact {
  padding-top: 8vh;
}

/* Balanced heading bottom margin */
#skills .section-heading,
#about .section-heading,
#education .section-heading,
#certifications .section-heading,
#contact .section-heading {
  margin-bottom: 3rem;
}

.section-heading {
  font-size: clamp(2.8rem, 7.5vw, 5.8rem);
  text-align: center;
  margin-top: 0;
  margin-bottom: 5rem;
  opacity: 1; 
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  position: relative;
  z-index: 10;

  color: transparent;
  -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.4);
  
  background: linear-gradient(to right, #fff 50%, transparent 50%);
  background-size: 200% 100%;
  background-position: 100% 0; 
  -webkit-background-clip: text;
  background-clip: text;
  
  transition: -webkit-text-stroke 0.4s ease;
}

.section-heading.is-fully-filled {
  -webkit-text-stroke: 1.2px transparent;
}

.section-divider {
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.2), transparent);
  border: none;
  margin: 2rem 0;
  transform-origin: left center;
}

#lines-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  opacity: 0.2;
}

.moving-line {
  position: absolute;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.moving-line.horizontal {
  width: 100%;
  height: 1px;
  top: 0;
  animation: moveHorizontal 8s linear infinite;
}

.moving-line.vertical {
  width: 1px;
  height: 100%;
  left: 0;
  background: linear-gradient(to bottom, transparent, #fff, transparent);
  animation: moveVertical 10s linear infinite;
}

.moving-line.delay {
  animation-delay: 4s;
}

@keyframes moveHorizontal {
  0% { transform: translateY(-100vh); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(200vh); opacity: 0; }
}

@keyframes moveVertical {
  0% { transform: translateX(-100vw); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateX(200vw); opacity: 0; }
}

/* ===== DESKTOP: PROJECT SIDE NAV DOTS ===== */
.project-side-nav {
  display: none; /* hidden by default, shown on desktop only */
}

@media (min-width: 1025px) {
  .project-side-nav {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: absolute;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
  }

  .side-nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    position: relative;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .side-nav-dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.3);
  }

  .side-nav-dot.active {
    background: #fff;
    border-color: #fff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.7),
                0 0 24px rgba(255, 255, 255, 0.3);
    transform: scale(1.2);
  }

  /* Numbered label that slides in from the right on hover */
  .dot-label {
    position: absolute;
    right: calc(100% + 12px);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
    font-family: 'Outfit', sans-serif;
  }

  .side-nav-dot:hover .dot-label,
  .side-nav-dot.active .dot-label {
    opacity: 1;
    transform: translateX(0);
    color: #fff;
  }
}

.gallery-wrapper {

  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 2000px;  
}

.gallery-card {
  position: absolute;
  width: 75vw;
  height: 75vh;
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  display: flex;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  opacity: 1; 
  visibility: visible;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  --mouse-x: 50%;
  --mouse-y: 50%;
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    800px circle at var(--mouse-x) var(--mouse-y),
    rgba(255, 255, 255, 0.08),
    transparent 40%
  );
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.gallery-card:hover::before {
  opacity: 1;
}

.card-content {
  display: flex;
  width: 100%;
  height: 100%;
}

.card-left {
  flex: 1;
  padding: 4rem 4rem 4.5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.2);
}

.card-right {
  flex: 1.2;
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.cert-img { aspect-ratio: 4/3; }
.detail-img { aspect-ratio: 16/9; }

.gallery-card:hover .card-img {
  transform: scale(1);
}

.card-number {
  font-size: 8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: 0rem;
  left: 2rem;
  line-height: 1;
  pointer-events: none;
  font-family: inherit;
}

.card-left h3 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -1.5px;
}

.card-tech {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.5rem;
  font-family: monospace;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-tagline {
  font-size: 1.15rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.8rem;
  font-weight: 400;
  max-width: 90%;
}

.card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2.2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.3s ease;
}

.card-features li i {
  color: #fff;
  font-size: 1.1rem;
  opacity: 0.8;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

.card-features li:hover {
  color: #fff;
  transform: translateX(5px);
}

.card-features li:hover i {
  opacity: 1;
  transform: scale(1.1);
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1rem;
  margin-top: auto; 
}

.btn {
  flex: 0 1 auto;
  min-width: 140px;
  max-width: 220px;
}

.project-phase {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  z-index: 10;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Progress dots: hidden on desktop, shown only inside the mobile media query */
.projects-progress-dots {
  display: none;
}

/* ===== MOBILE / TABLET: VERTICAL SCROLL PROJECTS ===== */
@media (max-width: 1024px) {

  /* Progress dots indicator */
  .projects-progress-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
  }

  .progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: default;
  }

  .progress-dot.active {
    background: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    transform: scale(1.3);
  }

  .gallery-wrapper {
    height: auto;
    display: flex;
    flex-direction: column;
    overflow: visible;
    padding: 0 0 2rem;
    perspective: none;
  }

  .gallery-card {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto 2.5rem;
    height: auto;
    min-height: auto;
    left: auto !important;
    top: auto !important;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Entrance animation initial state — JS adds .card-visible to trigger */
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.7s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
  }

  .gallery-card.card-visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }

  /* Subtle glow on the active/hovered card */
  .gallery-card.card-visible:hover {
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.6),
                0 0 40px rgba(255, 255, 255, 0.04);
  }

  .card-content {
    flex-direction: column;
  }

  /* Image on top, text below */
  .card-right {
    flex: none;
    height: 240px;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
  }

  .card-left {
    padding: 2rem 1.8rem 2.2rem;
    flex: none;
    position: relative;
    z-index: 2;
  }

  .card-number {
    font-size: 5rem;
    top: 0.8rem;
    left: 1rem;
    color: rgba(255, 255, 255, 0.04);
  }

  .card-left h3 {
    font-size: 1.75rem;
    letter-spacing: -1px;
    margin-bottom: 0.6rem;
  }

  .card-tech {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }

  .card-tagline {
    font-size: 1rem;
    margin-bottom: 1.4rem;
    max-width: 100%;
  }

  .card-features {
    margin-bottom: 1.6rem;
    gap: 0.65rem;
  }

  .card-features li {
    font-size: 0.9rem;
  }

  .card-links {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .btn {
    width: 100%;
    flex: none;
    max-width: 100%;
    justify-content: center;
  }

  .project-phase {
    top: 1rem;
    right: 1rem;
  }
}

.btn {
  flex: 1;
  min-width: 140px;
  max-width: 220px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(99, 102, 241, 0.2) 0%, transparent 60%), rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600; 
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  white-space: nowrap;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
  gap: 0.8rem;
}

.btn:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.btn.primary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn.primary:hover {
  background: #fff;
  color: #000;
}

.btn span {
  position: relative;
  z-index: 2;
}

.btn i {
  font-size: 1.1rem;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  z-index: 2;
  color: var(--accent-color);
}

.btn.case-study {
  background: #fff;
  color: #000 !important;
  border: none;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

.btn.case-study:hover {
  background: rgba(255, 255, 255, 0.95);
}

.btn.case-study span {
  font-weight: 700;
}

.btn.case-study i {
  color: #000 !important;
}

.btn.case-study:hover i {
  transform: rotate(45deg);
}



.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.1) 50%, 
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: none;
  pointer-events: none;
  z-index: 1;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn:hover::after {
  animation: btnShine 1s ease-in-out forwards;
}

@keyframes btnShine {
  0% { left: -150%; }
  100% { left: 150%; }
}

.btn:hover i {
  transform: translateX(4px);
}

.btn.primary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn.primary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.05);
}

.btn.primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.05), transparent);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn.primary:hover::before {
  opacity: 1;
}


.skills-section {
  padding: 4rem 5%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.04) 0%, #000 70%);
}



.skills-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 0;
}

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

/* Inverted Group Hover */
.skills-bento-grid .bento-item {
  transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1), filter 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

@media (min-width: 1025px) {
  .skills-bento-grid:hover .bento-item {
    opacity: 0.35;
    filter: blur(1.5px) grayscale(40%);
  }
  
  .skills-bento-grid .bento-item:hover {
    opacity: 1;
    filter: blur(0px) grayscale(0%);
  }
}

/* Bento Item Sizing */
.bento-backend {
  grid-column: 1;
  grid-row: span 2;
}

.bento-frontend {
  grid-column: 2;
  grid-row: 1;
}

.bento-tools {
  grid-column: 2;
  grid-row: 2;
}

.skill-card-bento {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 160px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.bento-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
}

.bento-header i {
  font-size: 1.5rem;
  color: #fff;
  opacity: 0.9;
}

.bento-header h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 2;
}

.skill-tags li {
  padding: 0.5rem 1.2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.3s ease;
}

/* Background Decorative Icon */
.bento-bg-icon {
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.03);
  transform: rotate(-15deg);
  pointer-events: none;
  transition: all 0.6s ease;
}

/* Hover Effects */
.skill-card-bento:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.skill-card-bento:hover .bento-bg-icon {
  transform: rotate(0deg) scale(1.1);
  color: rgba(255, 255, 255, 0.06);
}

.skill-card-bento:hover .skill-tags li {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* RESPONSIVE BENTO */
@media (max-width: 1024px) {
  .skills-bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    min-height: auto;
  }
  
  .bento-frontend, .bento-backend, .bento-tools {
    grid-column: span 2;
    grid-row: auto;
  }

  .skill-card-bento {
    min-height: 200px;
  }
}

@media (max-width: 600px) {
  .skills-bento-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .bento-frontend, .bento-backend, .bento-tools {
    grid-column: span 1;
  }
  
  .bento-header h3 {
    font-size: 1.3rem;
  }
}



.about-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cert-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1.8rem;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
  cursor: pointer; 
}

.cert-info {
  position: relative;
  z-index: 2;
  transition: all 0.5s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.cert-icon {
  font-size: 2rem;
  color: var(--accent-color);
  filter: drop-shadow(0 0 10px var(--accent-glow));
  margin-bottom: 0.2rem;
}

.cert-info h3 {
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.3;
}

.cert-provider {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.cert-tap-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
  padding: 0.45rem 1.1rem;
  background: rgba(255, 255, 255, 0.08);  
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.5px;
  pointer-events: none; 
  transition: all 0.3s ease;
  opacity: 0.8;
}

.cert-card:hover .cert-tap-hint {
  background: #fff;
  color: #000;
  border-color: #fff;
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.15);
}

.cert-tap-hint i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.cert-card:hover .cert-tap-hint i {
  color: #000;
}

.cert-reveal {
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 3;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cert-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  gap: 0.5rem;
}

.cert-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.cert-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.cert-card:hover .cert-info {
  opacity: 0;
  transform: scale(0.9);
}

.cert-card:hover .cert-reveal {
  opacity: 1;
  visibility: visible;
}

#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  backdrop-filter: blur(10px);
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.status-with-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.status-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  border-radius: inherit;
  animation: statusPulse 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

@keyframes statusPulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

.about-facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem auto;
  width: auto;
}

@media (max-width: 768px) {
  .about-facts-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

.fact-card {
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.08); 
  border: 1px solid rgba(255, 255, 255, 0.25); 
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 1; 
}

.fact-card i {
  font-size: 1.8rem;
  color: #fff;
  opacity: 0.6;
}

.fact-info span {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.25rem;
}

.fact-info p {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 600;
  margin: 0;
}

.fact-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.fact-card:hover i {
  opacity: 1;
  transform: scale(1.1);
}

.about-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  align-items: center;
}

.about-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  margin-bottom: 2rem;
  text-align: center;
}

.about-text strong {
  color: #fff;
  font-weight: 600;
}

.about-action {
  margin-top: 1rem;
}

.lets-talk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2.8rem;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  text-decoration: none;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease, border-color 0.4s ease;
  z-index: 1;
}

.lets-talk-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: -1;
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
  transform: translateY(100%);
}

.lets-talk-btn:hover::before {
  transform: translateY(0%);
}

.lets-talk-btn:hover {
  color: #000;
  border-color: #fff;
}

.experience-hero-section {
  padding: 80px 0;
  position: relative;
}

.feature-grid-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.project-grid-item {
  margin-bottom: 6rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-internal-divider {
  border: none;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  height: 0;
  margin: 4rem 0;
  opacity: 0.6;
}

.project-context-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}

.context-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.company-badge {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
}

.company-badge i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.context-divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 1.2rem;
}

.role-badge {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.time-badge {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  letter-spacing: 2.5px;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  text-transform: uppercase;
}

.grid-project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
}

.project-main-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem 0;
  line-height: 1.1;
}

.project-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.grid-content-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr; 
  gap: 1.5rem; 
  align-items: stretch;
}

.grid-col {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.col-overview {
  justify-content: space-between;
}

.company-mini-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.company-mini-header i {
  font-size: 1.5rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem;
  border-radius: 8px;
}

.mini-company-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.mini-role {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

.grid-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.grid-tech-stack {
  margin-top: auto;
}

.grid-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.8rem;
}

.mini-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mini-tech-tags span {
  font-size: 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 1px;
}

.col-visuals {
  padding: 0; 
  overflow: hidden;
  border: none; 
  background: none;
}

.grid-screenshot-frame {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  min-height: 400px;
}

.grid-screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}



/* 3D Tilt Glare Overlay */
.card-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.4) 0%, transparent 60%);
  z-index: 10;
  mix-blend-mode: overlay;
  border-radius: inherit;
}
.image-container, .grid-screenshot-frame {
  position: relative;
  overflow: hidden;
}

.col-contribution {
  justify-content: flex-start;
  padding-left: 1.5rem;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding-bottom: 0.5rem;
}

.grid-bullet-list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.grid-bullet-list li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  padding-left: 1rem;
  border-left: 2px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.grid-bullet-list li:hover {
  border-left-color: #fff;
  padding-left: 1.2rem;
}

.grid-bullet-list li strong {
  display: block;
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 0.1rem;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.grid-cta-btn {
  width: 100%;
  padding: 0.8rem 1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 1.5rem;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.grid-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #fff;
  transition: left 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: -1;
}

.grid-cta-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-25deg);
  transition: none; 
  z-index: 2;
  pointer-events: none;
}

.grid-cta-btn:hover {
  color: #000;
  border-color: #fff;
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.grid-cta-btn:hover::before {
  left: 0;
}

.grid-cta-btn:hover::after {
  animation: buttonShine 1.5s infinite;
}

@keyframes arrowExitEnter {
  0% { transform: translate(0, 0); opacity: 1; }
  45% { transform: translate(10px, -10px); opacity: 0; }
  50% { transform: translate(-10px, 10px); opacity: 0; }
  100% { transform: translate(0, 0); opacity: 1; }
}

.grid-cta-btn:hover i {
  animation: arrowExitEnter 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@media (max-width: 1024px) {
  .grid-content-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .grid-screenshot-frame {
    min-height: 300px;
  }

  .project-context-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .context-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .context-divider {
    display: none;
  }
}

.split-hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.hero-production-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  margin-bottom: 2.5rem;
  align-self: flex-start; 
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #fff;
  text-transform: uppercase;
}

.hero-pulse-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 5rem; 
  align-items: center;
  width: 100%;
}

.split-left {
  padding: 0;
}

.company-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.company-icon {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: all 0.4s ease;
}

.company-icon:hover {
  transform: rotate(360deg) scale(1.05);
  border-color: rgba(255, 255, 255, 0.3);
}

.company-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.2rem 0;
}

.company-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.role-info {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.role-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.4rem 0;
}

.role-duration {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.project-title-section {
  margin-bottom: 1rem;
}

.project-main-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.4rem 0;
  line-height: 1.2;
}

.project-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  font-weight: 400;
}

.project-description {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-inline-link {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.hero-inline-link:hover {
  border-color: #fff;
}

.hero-metrics-compact {
  display: flex;
  gap: 3.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-compact {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.metric-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.metric-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.features-bullets {
  margin-bottom: 2.5rem;
}

.features-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.2rem;
}

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

.bullet-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6; 
  color: rgba(255, 255, 255, 0.85);
}

.bullet-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.5;
}

.bullet-list li:hover {
  color: #fff;
}

.tech-stack-section {
  margin-bottom: 3rem;
}

.tech-stack-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 1.2rem 0;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tech-tag {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.tech-tag::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: #fff;
  transition: height 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: -1;
}

.tech-tag:hover {
  border-color: #fff;
  color: #000;
  transform: translateY(-2px);
}

.tech-tag:hover::before {
  height: 100%;
}


.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.hero-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.5s ease;
  z-index: 1;
}

.hero-cta-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-25deg);
  animation: buttonShine 6s infinite;
  z-index: 2;
}

@keyframes buttonShine {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

.hero-cta-btn:hover {
  transform: translateY(-2px);
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-cta-btn:hover::before {
  left: 0;
}

.hero-cta-btn i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.hero-cta-btn:hover i {
  transform: translate(3px, -3px);
}

.split-right {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.story-action-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  width: 100%;
  order: 1; 
}

.screenshot-container {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  order: 2; 
}

.action-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.screenshot-frame {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.screenshot-frame:hover {
  transform: scale(1.03);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.screenshot-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03);
  color: rgba(255, 255, 255, 0.3);
}

.screenshot-placeholder i {
  font-size: 3.5rem;
  margin-bottom: 0.8rem;
  opacity: 0.3;
}

.screenshot-placeholder p {
  text-align: center;
  font-size: 0.9rem;
  margin: 0;
}

.screenshot-placeholder small {
  font-size: 0.8rem;
  opacity: 0.6;
}

.hero-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.screenshot-frame:hover .hero-screenshot {
  transform: scale(1.08);
}

@media (max-width: 1200px) {
  .split-content {
    grid-template-columns: 48% 52%;
    gap: 2.5rem;
  }

  .project-main-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 968px) {
  .split-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .split-left {
    order: 2;
  }

  .split-right {
    order: 1;
  }

  .hero-metrics-compact {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .experience-hero-section {
    padding: 60px 0;
  }

  .hero-production-badge {
    font-size: 0.65rem;
    padding: 0.4rem 1.2rem;
    gap: 0.5rem;
    margin-bottom: 2rem;
  }

  .company-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .company-name {
    font-size: 1.1rem;
  }

  .role-title {
    font-size: 1.4rem;
  }

  .project-main-title {
    font-size: 1.6rem;
  }

  .project-subtitle {
    font-size: 0.9rem;
  }

  .project-description {
    font-size: 0.95rem;
  }

  .hero-metrics-compact {
    flex-direction: column;
    gap: 1rem;
    padding: 0.8rem 0;
  }

  .metric-number {
    font-size: 1.6rem;
  }

  .features-bullets {
    margin-bottom: 1.5rem;
  }

  .bullet-list {
    gap: 0.6rem;
  }

  .bullet-list li {
    font-size: 0.9rem;
    padding-left: 1.2rem;
  }

  .hero-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.8rem;
  }

  .screenshot-container {
    aspect-ratio: 4/3;
  }
}

.lets-talk-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #fff;
  transform: none !important;
}

@media (max-width: 768px) {
  .about-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .about-content-wrapper {
    text-align: center;
    align-items: center;
  }
  
  .about-star-container {
    height: 100px;
  }
}

.timeline-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  left: 50px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.timeline-progress {
  position: absolute;
  left: -1px;
  top: 0;
  width: 4px; /* Slightly thicker than the track */
  height: 0%;
  background: #ffffff;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.3);
  z-index: 1;
  border-radius: 4px;
}

.timeline-item {
  position: relative;
  padding-left: 100px;
  margin-bottom: 4rem;
}

.timeline-marker {
  position: absolute;
  left: 41px;
  top: 0;
  width: 20px;
  height: 20px;
  background: #000;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  z-index: 2;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-marker i {
  font-size: 10px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.timeline-marker.active {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

.timeline-marker.active i {
  opacity: 1;
  color: #000;
}

.experience-item .timeline-marker {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.experience-item .timeline-marker i {
  opacity: 1;
}

.timeline-item:hover .timeline-marker {
  background: #fff;
  box-shadow: 0 0 15px #fff;
}

.experience-item:hover .timeline-marker {
  background: #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.experience-item:hover .timeline-marker i {
  color: #fff;
}

.timeline-content {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(10px);
}

.timeline-date {
  display: inline-block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.timeline-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 500;
}

.timeline-content .college {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.timeline-content .details {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 300;
  line-height: 1.6;
}

/* CONTACT SECTION */
.contact-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2.5rem;
  width: 100%;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0;
  gap: 0;
  position: relative;
}



.contact-title {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.contact-subtitle {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  font-size: 0.95rem;
  max-width: 400px;
}

.contact-social-icons {
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0.75rem 0;
}

.contact-social-icons a {
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 1.3rem;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  letter-spacing: 1px;
  box-shadow: none;
  backdrop-filter: none;
  text-decoration: none;
}

.contact-social-icons a:hover {
  transform: scale(1.6);
  filter: brightness(1.2) drop-shadow(0 0 15px rgba(255,255,255,0.5));
  color: #ffffff !important;
}

.contact-details {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-detail-link {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 0.375rem 0;
}

.contact-detail-link:hover {
  color: #fff;
  padding-left: 0.75rem;
}

.contact-form-card {
  padding: 1.25rem !important;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(25px);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: rgba(0, 0, 0, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-title {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
  color: #fff;
  line-height: 1.0;
}

.contact-info-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.2rem;
  max-width: 90%;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.contact-social-icons {
  display: flex;
  gap: 1.2rem;
}


.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

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

@media (max-width: 600px) {
  .form-row { 
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

.contact-form input, 
.contact-form textarea {
  width: 100%;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
  padding: 1rem 0;
  border-radius: 0 !important;
  color: #fff !important;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  box-shadow: none !important;
  filter: none !important;
}

.contact-form input:focus, 
.contact-form textarea:focus {
  outline: none !important;
  border-bottom-color: #fff !important;
  padding-left: 10px;
}

.contact-form input:focus:invalid,
.contact-form textarea:focus:invalid {
  border-bottom-color: rgba(255, 100, 100, 0.8) !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff !important;
  -webkit-box-shadow: 0 0 0px 1000px #000 inset !important;
  transition: background-color 5000s ease-in-out 0s;
  caret-color: #fff;
}

.submit-btn {
  width: 100%;
  padding: 1.2rem 2rem;
  background: transparent;
  color: #fff;
  border: 1px solid #ffffff;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  transform: none !important; 
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  transition: left 0.6s ease;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  transform: none !important; 
}

.availability-badge-small {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  border-radius: inherit;
  animation: pulse-ring 1.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

@keyframes pulse-ring {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

.copy-hint-icon {
  font-size: 0.9rem;
  opacity: 0.4;
  margin-left: 1rem;
  transition: all 0.3s ease;
}

.email-link.copied .copy-hint-icon {
  color: #ffffff;
  opacity: 1;
  transform: scale(1.2);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.contact-detail-link:hover .copy-hint-icon {
  opacity: 1;
}


@media (max-width: 992px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .contact-info {
    text-align: center;
    align-items: center;
  }
  
  .contact-social-icons {
    justify-content: center;
  }
  
  .contact-detail-link {
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-form-card {
    padding: 2rem 1.5rem;
  }
}

#form-messages .form-msg {
  display: none;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  text-align: center;
}

.form-msg.success { background: rgba(0, 255, 0, 0.1); border: 1px solid #0f0; color: #0f0; }
.form-msg.error { background: rgba(255, 0, 0, 0.1); border: 1px solid #f00; color: #f00; }

/* Status Badges for Detail Pages */
.status-badge-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.hero-production-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #fff;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

/* In-Development: Professional Hollow Ring Style */
.hero-pulse-dot.warning {
  background-color: transparent !important;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}


/* Action Buttons for Detail Pages */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  margin-top: 1rem;
}

.wow-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1.6rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.wow-btn.live {
  background: #fff;
  color: #000;
  border-color: #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.wow-btn.git {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  backdrop-filter: blur(10px);
}

.wow-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.wow-btn.live:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.15);
}

.wow-btn.git:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.wow-btn i {
  font-size: 1.1rem;
}

.hero-pulse-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: inherit;
  animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

/* Footer Simple Nav - Premium Hover */
.footer-nav-simple {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
}

/* Footer Simple Nav - Sophisticated Minimal Effect */
.footer-nav-simple {
  display: flex;
  gap: 3rem;
  justify-content: center;
}

.footer-nav-simple a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.4rem 0;
  display: inline-block;
}

.footer-nav-simple a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  transform: translateX(-50%) scale(0);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.footer-nav-simple a:hover {
  color: #fff;
  letter-spacing: 4px;
}

.footer-nav-simple a:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  width: 20px;
  height: 2px;
  border-radius: 2px;
}



/* Loading state for Stats */
.stat-val.loading {
  opacity: 0.3;
  filter: blur(4px);
  animation: stat-loading 1.5s ease-in-out infinite;
}

@keyframes stat-loading {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.footer {
  min-height: auto;
  padding: 1rem 2%;
  margin-top: auto;
  flex-shrink: 0;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0 1rem;
}

.footer-social { 
  display: flex; 
  gap: 1rem; 
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0.75rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.footer-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.6));
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 1px;
}

.footer-link:hover::before { width: 80%; }

.footer-link i {
  font-family: "remixicon";
  font-size: 1.1rem;
  opacity: 0.7;
  transition: all 0.3s ease;
  transform: translateX(0);
}

.footer-link:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.footer-link:hover i {
  opacity: 1;
  transform: translateX(4px);
}

.footer-time {
  flex: 1;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-copy {
  text-align: right;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-info {
    text-align: center;
    align-items: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .desktop-only { display: none !important; }

  .about-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding: 0 1.5rem;
  }

  .about-content-wrapper {
    text-align: center;
    margin: 0 auto;
    max-width: 100%;
    align-items: center;
  }

  .about-text {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .about-facts-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
  }

  .fact-card {
    justify-content: flex-start;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.04);
  }

  .about-visual {
    display: none !important;
  }
}


@media (max-width: 768px) {
  .hero-title { font-size: 3.5rem; }
  .form-group { grid-template-columns: 1fr; }
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(15px);
}

.modal-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-image-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.modal-img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}

.modal-close, .modal-prev, .modal-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.modal-close:hover, .modal-prev:hover, .modal-next:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.modal-close {
  top: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  font-size: 1.6rem;
  z-index: 100001; 
}

.modal-prev {
  left: -70px;
  font-size: 2rem;
}

.modal-next {
  right: -70px;
  font-size: 2rem;
}

@media (max-width: 1024px) {
  .modal-prev { left: 20px; top: 50%; transform: translateY(-50%); }
  .modal-next { right: 20px; top: 50%; transform: translateY(-50%); }
  .modal-close { top: 20px; right: 20px; }
  
  .modal-prev:hover, .modal-next:hover {
     transform: translateY(-50%) scale(1.1);
  }
}

@media (max-width: 600px) {
  .modal-prev, .modal-next {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  .modal-close {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

.detail-modal {
  z-index: 150000; 
}

.detail-content {
  max-width: 1200px;
  width: 95vw;
  height: min(85vh, 900px);
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  width: 100%;
  min-height: 100%;
}

.detail-left {
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0; 
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  height: 100%;
  overflow: hidden;
}

.detail-image-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 0; 
  overflow: hidden;
  box-shadow: none;
  border: none;
}

.detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-right {
  display: flex;
  flex-direction: column;
  padding: 3rem 4rem;
  min-height: 0; 
  pointer-events: auto; 
  overflow: hidden;
  justify-content: flex-start;
}

.detail-title {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
  color: #fff;
}

.detail-tagline {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2.5rem;
}

.detail-scroll-area {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0; 
  padding-right: 2rem;
  padding-bottom: 1rem; 
}

.detail-scroll-area::-webkit-scrollbar {
  width: 6px;
}

.detail-scroll-area::-webkit-scrollbar-track {
  background: transparent;
}

.detail-scroll-area::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  transition: background 0.3s ease;
}

.detail-scroll-area::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.detail-scroll-area {
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
  scrollbar-width: thin;
}

.detail-section {
  margin-bottom: 2.5rem;
}

.detail-section h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.detail-section h4 i {
  color: #fff;
  opacity: 0.8;
}

.detail-section p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
}

.detail-impact-text {
  font-weight: 500;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.2rem;
  border-radius: 12px;
  border-left: 4px solid #fff;
  margin-top: 0.5rem;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.detail-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.detail-tech-tags span {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.85);
  font-family: monospace;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* RESPONSIVE DETAIL */
@media (max-width: 1024px) {
  .detail-content {
    height: 85vh;
    width: 90vw;
    display: flex;
    flex-direction: column;
    overflow-y: auto; 
    -webkit-overflow-scrolling: touch;
  }

  .detail-grid {
    display: block;
    height: auto;
  }
  
  .detail-left {
    padding: 1.5rem;
    height: 250px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
  }
  
  .detail-right {
    padding: 2rem 1.5rem;
    overflow: visible; 
  }

  .detail-scroll-area {
    overflow-y: visible; 
    height: auto;
    padding-right: 0;
  }

  .detail-title {
    font-size: 2rem;
  }

  .detail-tagline {
    margin-bottom: 1.5rem;
  }

  .detail-section {
    margin-bottom: 2rem;
  }
}

@media (max-width: 600px) {
  .detail-content {
    height: 90vh;
    width: 95vw;
  }

  .detail-left {
    height: 180px;
    padding: 1rem;
  }

  .detail-right {
    padding: 1.5rem 1rem;
  }

  .detail-title {
    font-size: 1.6rem;
  }
}

/* GITHUB ACTIVITY WIDGET */
.github-stats-container {
  margin: 4rem auto 3rem;
  max-width: 1100px;
  width: 90%;
  padding: 3rem 3rem 2.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.5s forwards;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.github-stats-container::before {
  content: "Engineering Velocity";
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.25;
  font-weight: 600;
}

.github-activity-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0 1.5rem 0;
  margin: 0;
}

.activity-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 300px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  opacity: 0;
  animation: dotFade 0.6s ease-out forwards;
}

.dot:nth-child(1) { animation-delay: 0.1s; }
.dot:nth-child(2) { animation-delay: 0.15s; }
.dot:nth-child(3) { animation-delay: 0.2s; }
.dot:nth-child(4) { animation-delay: 0.25s; }
.dot:nth-child(5) { animation-delay: 0.3s; }
.dot:nth-child(6) { animation-delay: 0.35s; }
.dot:nth-child(7) { animation-delay: 0.4s; }
.dot:nth-child(8) { animation-delay: 0.45s; }
.dot:nth-child(9) { animation-delay: 0.5s; }
.dot:nth-child(10) { animation-delay: 0.55s; }

@keyframes dotFade {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.dot.level-1 { background: rgba(255, 255, 255, 0.25); }
.dot.level-2 { background: rgba(255, 255, 255, 0.45); }
.dot.level-3 { background: rgba(255, 255, 255, 0.7); }
.dot.level-4 { background: rgba(255, 255, 255, 1); box-shadow: 0 0 12px rgba(255, 255, 255, 0.5); }

.dot:hover {
  transform: scale(1.8);
  background: #fff !important;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.github-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 0;
  padding: 2rem 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  animation: fadeInUp 0.8s ease-out 0.7s forwards;
  opacity: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 1.5rem 1rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 16px;
  position: relative;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  font-size: 1.8rem;
  color: #fff;
}

.stat-item:hover .stat-icon {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.stat-val {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Courier New', monospace;
  line-height: 1;
  letter-spacing: -2px;
}

.stat-val.loading {
  color: transparent;
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.05) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 8px;
  min-width: 100px;
  height: 3rem;
  display: inline-block;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.stat-label {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 700;
  white-space: nowrap;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (max-width: 1024px) {
  .github-stats-container {
    width: 90%;
    padding: 2.5rem 2rem;
  }
  
  .github-summary {
    gap: 1.5rem;
    padding: 1.5rem 1rem 0;
  }
  
  .stat-val { 
    font-size: 2.5rem; 
  }
}

@media (max-width: 768px) {
  .github-stats-container {
    width: 92%;
    margin: 3rem auto 2rem;
    padding: 2rem 1.5rem;
  }
  
  .github-stats-container::before {
    font-size: 0.6rem;
    top: 0.8rem;
    right: 1rem;
  }
  
  .github-activity-grid {
    grid-template-columns: repeat(auto-fill, minmax(14px, 1fr));
    gap: 5px;
    min-height: 125px;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  
  .github-summary {
    gap: 1.5rem;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 2rem 1rem 0;
  }
  
  .stat-item {
    flex: 0 1 auto;
  }
  
  .stat-val { 
    font-size: 2.2rem; 
  }
  
  .stat-label {
    font-size: 0.6rem;
    letter-spacing: 1.5px;
  }
}

@media (max-width: 480px) {
  .github-stats-container {
    width: 95%;
    padding: 1.5rem 1rem;
  }
  
  .github-activity-grid {
    grid-template-columns: repeat(auto-fill, minmax(12px, 1fr));
    gap: 4px;
    min-height: 100px;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
  }
  
  .github-summary {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 0 0;
  }
  
  .stat-item {
    max-width: 100%;
    width: 100%;
    flex: 1;
  }
  
  .stat-val { 
    font-size: 1.8rem; 
  }
}
.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.availability-badge {
  font-size: 0.65rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-weight: 700;
}

.availability-badge .dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 10px #fff;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}
/* CELEBRATION (CONFETTI) STYLES */
.confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  top: 0;
  left: 0;
  z-index: 100002;
  pointer-events: none;
  border-radius: 2px;
}

/* ===== ABOUT SECTION ===== */
.about-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Zone 1: Bio (left) + Facts (right) */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-left {
  opacity: 0;
  transform: translateX(-24px);
}

.about-text {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.68);
  padding-left: 1.8rem;
  border-left: 2px solid rgba(255, 255, 255, 0.15);
}

.about-text strong {
  color: #fff;
  font-weight: 600;
}

/* Facts grid — 2×2 on the right */
.about-right {
  opacity: 0;
  transform: translateX(24px);
}

.about-facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.fact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.fact-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 0% 0%, rgba(255,255,255,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.fact-card:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
}

.fact-card:hover::after { opacity: 1; }

.fact-card i {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
  transition: color 0.3s ease;
}
.fact-card:hover i { color: #fff; }

.fact-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.fact-info > span {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: rgba(255, 255, 255, 0.32);
  font-weight: 700;
}

.fact-info p {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

/* Status dot */
.status-with-dot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
  animation: statusPulse 2.5s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 8px rgba(255,255,255,0.7); }
  50%       { transform: scale(1.6); opacity: 0.55; box-shadow: 0 0 18px rgba(255,255,255,0.4); }
}

/* Zone 2: Full-width CTA bar */
.about-cta-bar {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(16px);
}

.about-cta-name {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.about-cta-divider {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
}

/* Responsive */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Center the About Section CTA (Name & Let's Talk Button) on Mobile */
  .about-cta-bar {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem;
    gap: 1.5rem;
  }
  
  .about-cta-divider {
    width: 60px;
    height: 1px;
    margin: 0 auto;
  }
  
  .about-action {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 500px) {
  .about-facts-grid {
    grid-template-columns: 1fr;
  }
  .about-cta-bar {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}

/* ===== SERVICES SECTION ===== */
.services-header {
  text-align: center;
  margin-bottom: 3rem;
}

.services-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255, 255, 255, 0.45);
  margin-top: -1.5rem;
  letter-spacing: 0.5px;
  font-weight: 400;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 2rem 1.6rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 10% 10%, rgba(255,255,255,0.06) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.8);
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-icon-wrap {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.service-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.2px;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  font-weight: 400;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  padding: 0.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: auto;
  transition: color 0.3s ease, gap 0.3s ease;
}

.service-cta i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-cta {
  color: rgba(255, 255, 255, 0.9);
  gap: 0.65rem;
}

.service-card:hover .service-cta i {
  transform: translateX(3px);
}

/* Footer bar */
.services-footer-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding: 1.2rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.02);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  backdrop-filter: blur(10px);
}

.services-open-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.3px;
}

.services-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(255,255,255,0.7);
  animation: servicesPulse 2.5s ease-in-out infinite;
}

@keyframes servicesPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.6); opacity: 0.5; }
}

.services-demo-badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.3px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 2rem;
}

.services-demo-badge i {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .services-footer-bar {
    flex-direction: column;
    gap: 1rem;
    border-radius: 16px;
    text-align: center;
  }

  .services-demo-badge {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
    width: 100%;
    justify-content: center;
  }
}

