/* Style Importing Section */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
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-smooth iframe {
  pointer-events: none;
}

body {
  height: auto !important;
  margin: 0;
  background: black;
  color: #fff;
  font-family: "Work Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  overflow-x: hidden;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Social Sidebar */
.social-sidebar {
  position: absolute;
  left: 3rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  z-index: 100;
}

.sidebar-line {
  width: 1px;
  height: 100px;
  background: rgba(255, 255, 255, 0.3);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.social-icon {
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
  position: relative;
}

.social-icon:hover {
  color: #FFEA00;
}

@media (max-width: 768px) {
  .social-sidebar {
    left: 1.5rem;
  }

  .sidebar-line {
    height: 100px;
  }

  .social-icon {
    font-size: 1rem;
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 480px) {
  .social-sidebar {
    display: none;
    /* Hide on very small screens to avoid clutter */
  }
}

/* Heros section style for all  */

.hero-title {
  font-size: clamp(4rem, 12vw, 12rem);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
  position: relative;
  display: inline-block;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.title-stroke {
  color: transparent;
  -webkit-text-stroke: 2px #fff;
  text-stroke: 2px #fff;
  display: block;
}

.title-filled {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  color: #fff;
  -webkit-text-fill-color: #fff;
  display: block;
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
}

.section.gray {
  background: rgb(21, 21, 21);
  position: relative;
  z-index: 2;
  /* border-radius: 40px 40px 0 0; */
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.5);
  padding-top: 4rem;
}


/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  background: #fff;
  /* initial white */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow: hidden;
}

/* Lock scroll while preloader is visible */
body.is-loading {
  overflow: hidden;
}

/* Preloader content */
#preloader .hello {
  position: relative;
  display: flex;
  gap: 0.4em;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 12vw, 10rem);
  line-height: 0.9;
  color: #0d0d0d;
  letter-spacing: 0.02em;
  z-index: 10;
}

#preloader .hello span {
  display: inline-block;
  transform: translateY(120%);
  opacity: 0;
  will-change: transform, opacity;
}

/* Subtle progress bar under the word */
#preloader .preloader-progress {
  position: absolute;
  bottom: 8vh;
  left: 50%;
  transform: translateX(-50%);
  width: min(70vw, 560px);
  height: 4px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  overflow: hidden;
  z-index: 10;
}

#preloader .preloader-progress .bar {
  width: 0%;
  height: 100%;
  background: #FFEA00;
  /* theme accent used elsewhere */
  border-radius: inherit;
  will-change: width;
}

/* Page Transition Overlay */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.transition-panel {
  position: absolute;
  top: 0;
  height: 100%;
  background: #1a1a1a;
  transform: scaleY(0);
}

.transition-panel:nth-child(1) {
  left: 0;
  width: 20%;
  transform-origin: top;
}

.transition-panel:nth-child(2) {
  left: 20%;
  width: 20%;
  transform-origin: top;
}

.transition-panel:nth-child(3) {
  left: 40%;
  width: 20%;
  transform-origin: top;
}

.transition-panel:nth-child(4) {
  left: 60%;
  width: 20%;
  transform-origin: top;
}

.transition-panel:nth-child(5) {
  left: 80%;
  width: 20%;
  transform-origin: top;
}

.transition-text {
  position: relative;
  z-index: 2001;
  font-size: 12vw;
  color: #fff;
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  letter-spacing: 15px;
  font-weight: 900;
}

.main-nav-list li,
h1,
.container {
  perspective: 1000px;
  /* Gives the 3D rotation depth */
}

h1 {
  opacity: 1;
  /* 0 */
  transform-origin: top left;
  will-change: transform, opacity, filter;
}

#text-container {
  display: inline-block;
  color: #FFEA00;
  position: relative;
}

.hand-drawn-line {
  position: absolute;
  bottom: -0.2em;
  left: 0;
  width: 100%;
  height: 0.5em;
  pointer-events: none;
  overflow: visible;
  filter: drop-shadow(0 0 5px rgba(255, 234, 0, 0.4));
}

@media (max-width: 768px) {
  .hand-drawn-line {
    bottom: -0.1em;
    height: 0.4em;
    stroke-width: 6;
    /* Slightly thicker for visibility on small screens */
  }
}

/* Hello text */
.hello span {
  display: inline-block;
  font-size: clamp(3rem, 15vw, 7rem);
  font-weight: 900;
  opacity: 0;
  transform: translateY(100%);
  color: #111;
  z-index: 10;
  position: relative;
}

/* Overlays */
.overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  will-change: transform;
}

.overlay.black {
  background: #000;
}

.overlay.blue {
  background: #8f8f8f;
}

.site-content {
  opacity: 0;
}


/* Hamburger Button */
.menu-btn {
  position: fixed;
  top: 3rem;
  right: 3rem;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2100;
  transition: all 0.4s cubic-bezier(0.7, 0, 0.3, 1);
  overflow: hidden;
}

.menu-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scale(0);
  border-radius: 50%;
  transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
  z-index: -1;
}

.menu-btn:hover::before {
  transform: scale(1);
}

.menu-btn-inner {
  width: 24px;
  height: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-btn span {
  width: 100%;
  height: 2px;
  background: #fff;
  display: block;
  transition: all 0.4s cubic-bezier(0.7, 0, 0.3, 1);
  transform-origin: center;
}

.menu-btn:hover span {
  background: #000;
}

/* Active State (Menu Open) */
.menu-btn.active {
  background: #fff;
  border-color: #fff;
}

.menu-btn.active span {
  background: #000;
}

.menu-btn.active .menu-btn-inner {
  justify-content: center;
}

.menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translateY(1px);
}

.menu-btn.active span:nth-child(2) {
  width: 0;
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-1px);
}



/* main navbar elements  */
.main-nav {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  z-index: 1000;
  background: #000;
}

.main-nav-list {
  display: flex;
  gap: 3rem;
  list-style: none;
  margin: 0;
  padding: 0;
  perspective: 800px;
}

.main-nav-list li {
  margin: 0;
  padding: 0;
  backface-visibility: hidden;
}

.main-nav-link {
  position: relative;
  display: inline-block;
  cursor: pointer;
  color: white;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 0.5rem 0;
  line-height: 1.5;
  perspective: 1000px;
}

.char-wrapper {
  position: relative;
  display: inline-block;
  transform-style: preserve-3d;
}

.char-front,
.char-back {
  display: inline-block;
  backface-visibility: hidden;
}

.char-back {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotateY(180deg);
  color: #FFEA00;
  /* Optional accent color for the back face */
}

/* Nav Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  pointer-events: none;
  background: transparent;
  visibility: hidden;
}

/* Nav Content */
.nav-overlay.open {
  pointer-events: auto;
  visibility: visible;
}

.nav-panels {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  pointer-events: none;
}

.nav-panel {
  flex: 1;
  height: 100%;
  background: #000;
  transform: scaleY(0);
  transform-origin: top;
}

.sec-nav {
  padding: 3rem 1rem;
}

.container-nav {
  max-width: 9000px;
  margin: auto;
  position: relative;
  z-index: 2;
  opacity: 0;
}

.hover-link {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 2rem 0;
  border-bottom: 2px solid #404040;
  cursor: pointer;
  overflow: hidden;
}

.hover-link:hover {
  border-color: white;
}

.text h2 {
  margin: 0;
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 800;
  color: #ffffff;
}

.hover-link:hover h2 {
  color: #888;
}

.char {
  display: inline-block;
}

.hover-link:hover .sub {
  color: white;
}

.hover-img {
  position: absolute;
  width: 260px;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0) rotate(-12deg);
  z-index: -1;
}

.nav-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 4rem;
  padding: 0 5vw;
  opacity: 0;
  transform: translateY(20px);
}

.nav-socials {
  display: flex;
  gap: 2rem;
}

.nav-socials a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
  padding: 5px 0;
}

.nav-socials a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #fff;
  transform: translateX(-101%);
  transition: transform 0.3s ease;
}

.nav-socials a:hover::after {
  transform: translateX(0);
}

.nav-contact p {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav-contact a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .nav-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 3rem;
  }

  .nav-socials {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .nav-contact a {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .nav-footer {
    padding: 0 8vw;
  }
}

.arrow {
  font-size: 3rem;
  opacity: 0;
  transform: translateX(25%);
}

/* 3D Model */
/* .model3D {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-90%, -50%) rotateY(180deg);
    width: 70%;
    height: 70%;
    z-index: -99999;
    border-radius: 2000px;
  }

  @media (max-width: 1400px) {
    .model3D {
      width: 60%;
      height: 60%;
      transform: translate(-80%, -50%) rotateY(180deg);
    }
  }

  @media (max-width: 1024px) {
    .model3D {
      width: 50%;
      height: 50%;
      transform: translate(-70%, -50%) rotateY(180deg);
    }
  }

  @media (max-width: 768px) {
    .model3D {
      width: 80%;
      height: 80%;
      transform: translate(-50%, -50%) rotateY(180deg);
      opacity: 0.6;
    }
  } */

/* Heros Section (1 code for all heros) */
section.hero {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  z-index: 1;
}


/* .ticker-wrapper1 {
    position: relative;
    width: clamp(280px, 80vw, 800px);
    overflow: hidden;
    height: clamp(3rem, 10vw, 9rem);
    border-radius: clamp(20px, 5vw, 60px);
    background: rgb(0, 242, 255);
  }

  .ticker1 {
    display: inline-block;
    white-space: nowrap;
    color: #0d0d0d;
  }

  .ticker1 span {
    font-size: clamp(3rem, 10vw, 9rem);
    display: inline-block;
    margin-right: clamp(20px, 4vw, 50px);
    transform: translateY(-0.7rem);
  } */

/* Responsive tweaks */
/* @media (max-width: 768px) {
    section.hero {
    transform: translateY(-4rem);
    }
  }

  @media (max-width: 480px) {
    section.hero {
    transform: translateY(-2rem);
    }
  } */

/* Content after hero */
.content-section {
  min-height: 100vh;
  padding: 4rem 2rem;
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 100%);
}

.content-section h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  text-align: center;
}

.content-section p {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: center;
}

.hero-section-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  background: #000;
  overflow: hidden;
}

.hero2 {
  text-align: center;
  font-size: 3.4rem;
  position: relative;
  z-index: 2;
  transform: translateY(-5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

/* Magnetic Button Styles */
.magnetic-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 3rem;
  background: black;
  border: 1.5px solid #fff;
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  overflow: hidden;
  cursor: pointer;
  z-index: 10;
  transition: border-color 0.4s ease;
}

.magnetic-btn .btn-text {
  position: relative;
  z-index: 2;
  display: block;
  pointer-events: none;
}

.magnetic-btn .btn-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  z-index: 1;
  pointer-events: none;
}

.magnetic-btn:hover {
  border-color: #fff;
}


.relative {
  position: relative;
  display: inline-block;
}


/* Responsive tweaks for Starting Text */



/* Title 1 */
.title1 {
  text-align: center;
  font-size: 7rem;
  background: linear-gradient(to right, #000000, #f0f0f0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.title1.t2 {
  transform: translateY(-8rem);
  overflow: hidden;
}

/* Default: normal cursor */
body {
  cursor: auto;
}

/* Hide cursor only when hovering a project */
.proj-pic:hover {
  cursor: none;
}

/* Enhanced cursor â€“ subtle glow + magnetic easing */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(229, 233, 233, 0.25), rgba(104, 105, 106, 0));
  backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px rgba(78, 81, 81, 0.4),
    0 0 20px rgba(39, 40, 41, 0.35),
    0 0 40px rgba(255, 255, 255, 0.283);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  z-index: 1000;
  color: #000000;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  will-change: transform, opacity;
  transition: transform 0.15s cubic-bezier(.25, 1, .5, 1),
    opacity 0.2s ease,
    background 0.3s ease;
}

.projects-cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  padding: 2.5rem 2rem;
  overflow: visible;
  /* Extended waves need to be visible */
  justify-content: center;
  flex-wrap: wrap;
}

/* The advanced neon drawing line */
.neon-drawing-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 350%;
  /* Extended to reach into and cover the about section */
  pointer-events: none;
  z-index: -1;
  overflow: visible;
}


#neon-drawing-path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 6px;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
  stroke-dasharray: 10000;
  stroke-dashoffset: 10000;
  will-change: stroke-dashoffset;
}



.proj-pic {
  position: relative;
  z-index: 2;
}

/* Projects Cards Section */
.projects-cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  padding: 2.5rem 2rem;
  overflow: visible;
  scroll-snap-type: none;
  justify-content: center;
  flex-wrap: wrap;
}

/* subtle scrollbar styling */
.projects-cards::-webkit-scrollbar {
  height: 6px;
}

.projects-cards::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.projects-cards::-webkit-scrollbar-thumb {
  background: rgba(216, 216, 216, 0.6);
  border-radius: 3px;
}

.projects-cards::-webkit-scrollbar-thumb:hover {
  background: rgba(216, 216, 216, 0.6);
}

/* card â€“ glassmorphism + 3-D lift */
.proj-pic {
  flex: 0 0 clamp(280px, 60vw, 800px);
  background: rgba(17, 17, 17, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
    box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform, box-shadow;
}

.proj-pic:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 20px 50px -10px rgba(255, 255, 255, 0.08);
}

/* image wrapper â€“ zoom on hover */
.proj-img-container {
  position: relative;
  width: 100%;
  height: clamp(280px, 40vw, 550px);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


.proj-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 16 / 9;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}


.proj-pic:hover img {
  transform: scale(1.1);
}

/* In Progress Loader */
.progress-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  z-index: 1;
}

.loader-circle {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(255, 234, 0, 0.1);
  border-top: 3px solid #FFEA00;
  border-radius: 50%;
  animation: spin 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
  box-shadow: 0 0 20px rgba(255, 234, 0, 0.3);
}

.loader-text {
  margin-top: 1.5rem;
  font-family: "Work Sans", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 4px;
  color: #FFEA00;
  text-transform: uppercase;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.02); }
}

/* Overlay & Wavy Name */
.proj-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 5;
  pointer-events: none;
}

.proj-pic:hover .proj-overlay {
  opacity: 1;
}

.wavy-name {
  font-size: clamp(1.5rem, 3.5vw, 3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
  pointer-events: none;
  text-align: center;
  padding: 0 1rem;
}

.wavy-name .char {
  display: inline-block;
}


/* content block */
.proj-content {
  padding: 2rem;
  color: #fff;
}

.proj-content h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.proj-content p {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  opacity: 0.75;
  line-height: 1.5;
}

/* tech-stack â€“ glowing pills */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0 1.25rem;
}

.tech-stack span {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.tech-stack span:hover {
  background: rgba(0, 242, 255, 0.15);
  color: #00f2ff;
  box-shadow: 0 0 12px rgba(0, 242, 255, 0.25);
}

/* Comming Soon Section */
.cards-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 55vh;
  padding: 4rem;
  flex-wrap: wrap;
}

.ComingCard {
  position: relative;
  width: 550px;
  height: 320px;
  background: #111;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 255, 247, 0.2);
  display: grid;
  grid-template-columns: 18rem;
}

.coming-text {
  font-size: 2rem;
  font-weight: 800;
  color: transparent;
  background: linear-gradient(50deg, rgb(255, 255, 255), blue);
  -webkit-background-clip: text;
  background-clip: text;
  text-align: center;
}

.ComingCard img {
  transform: translateX(7rem);
  max-width: 100%;
  height: auto;
}

/* About Section : */

.about {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  margin: 0 auto;
}

/* Independent style for the about-title as a special case */
.about-title {
  font-size: clamp(5rem, 15vw, 12rem);
  font-weight: 900;
  letter-spacing: -5px;
  line-height: 1;
  position: relative;
  text-align: center;
  width: 100%;
  margin-bottom: 3rem;
  display: block;
  /* Changed from inline-block */
}

.about-stroke {
  -webkit-text-stroke: 2px #fff;
  text-stroke: 2px #fff;
  /* Added standard property */
  color: transparent;
  display: block;
  position: relative;
  /* Added */
}

.about-filled {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  color: #fff;
  -webkit-text-fill-color: #fff;
  display: block;
  clip-path: inset(100% 0 0 0);
}

.about-div {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  max-width: 1400px;
  width: 100%;
}

.about-pic-wrapper {
  position: relative;
  flex: 1;
  max-width: 950px;
  cursor: none;
  order: 1;
  overflow: hidden;
  border-radius: 20px;
  background: #000;
}

.about-pic {
  width: 100%;
  height: clamp(400px, 80vh, 800px);
  display: block;
  object-fit: cover;
  border-radius: 20px;
  transform-origin: center;
  transition: filter 0.5s ease;
}


.cursor-message {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 14px;
  background: #0b0f14;
  color: #ebebeb;
  font-family: "Fira Code", "JetBrains Mono", monospace;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 6px;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  scale: 0.8;
  z-index: 10;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 1px rgba(73, 73, 72, 0.25),
    0 10px 30px rgba(0, 0, 0, 0.45);
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
}

/* CMD blinking cursor */
.cursor-message::after {
  content: "|";
  margin-left: 6px;
  animation: blink 1s steps(1) infinite;
  color: #ffffff;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.about-text {
  width: 50%;
  text-align: center;
  order: 2;
}

.reveal-text {
  font-size: 3rem;
  color: #ffffff;
}

.reveal-text {
  overflow: hidden;
  padding: 8px 0;
  text-align: center;
  width: 100%;
}

.reveal-text .line-inner {
  display: block;
  transform: translateY(100%);
  opacity: 0;
}

.word {
  display: inline-block;
  overflow: hidden;
  margin-right: 0.3em;
  vertical-align: top;
}

.word-inner {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
}

/* stack vertically on small screens */
@media (max-width: 768px) {
  .about-div {
    flex-wrap: wrap;
  }

  .about-pic,
  .about-text {
    width: 100%;
    text-align: center;
  }
}

/* Skills Style Section */
.sk-hero {
  text-align: center;
  font-size: 7rem;
  background: linear-gradient(to right, #000000, #f0f0f0);
  ;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-top: 8rem;
}

.skills-section {
  min-height: 400vh;
  position: relative;
  background: #000;
}

.section-header {
  text-align: center;
  padding: 100px 20px 50px;
}

.section-title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #888;
  font-weight: 400;
}

/* Skills Section Transition */
.skills-wrapper {
  position: relative;
  z-index: 10;
  margin-top: -150px;
  /* Pull it over the about section */
  background: #000;
  padding-top: 50px;
}

.skills-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: translateY(-98%);
  /* Sits just above the section */
  z-index: 1;
}

.skills-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 150px;
}

.skills-wave path {
  fill: #000;
}

.cards-container {
  position: sticky;
  top: 0;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.cards-stack {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 600px;
}

.skill-card {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.2);
  width: 240%;
  max-width: 2200px;
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  border: 1px solid #222;
  border-radius: 20px;
  padding: 70px 60px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
}



.skill-category {
  font-size: 0.85rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  font-weight: 600;
}

.skill-name {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #fff;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.skill-tag {
  padding: 10px 20px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #aaa;
}

.expertise-bar {
  margin-top: 30px;
}

.expertise-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #888;
}

.bar-bg {
  width: 100%;
  height: 8px;
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffeb3b, #ffd700);
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 235, 59, 0.6);
}

.card-number {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 1rem;
  color: #444;
  font-weight: 700;
}

@media (max-width: 768px) {
  .cards-stack {
    height: 500px;
  }

  .skill-card {
    padding: 40px 30px;
    max-width: 350px;
  }

  .skill-name {
    font-size: 2rem;
  }

  .section-header {
    padding: 60px 20px 30px;
  }
}

/* Ticker Section */
.ticker-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 50px;
  overflow: hidden;
}

.ticker {
  padding: 1vw;
  white-space: nowrap;
}

.ticker:first-child {
  background-color: #f1f1f1;
  scale: 1.1;
}

.ticker:last-child {
  background-color: #1f1f1f;
  scale: 1.1;
}

.ticker-wrap {
  display: flex;
  gap: 20px;
}

.ticker-text {
  color: #000;
  font-size: clamp(40px, 4.375vw, 70px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.ticker:last-child .ticker-text {
  color: #fff;
}

.accent {
  color: #e6db118f;
  font-family: 'Caveat', cursive;
  font-weight: 500;
  font-size: 1em;
}

.ticker:last-child .accent {
  color: #424443;
}

/* services container styling */

.services-section {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #000;
  overflow: hidden;
  display: block;
  /* Ensures pinning works correctly */
}

.svg-drawing-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 150%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.mobile-svg {
  display: none;
}

#drawing-path {
  fill: none;
  stroke: #FFEA00;
  stroke-width: 45;
  stroke-linecap: round;
  filter: drop-shadow(0 0 2px rgba(255, 234, 0, 0.5));
}

#mobile-drawing-path {
  fill: none;
  stroke: #FFEA00;
  stroke-width: 8;
  stroke-linecap: round;
  filter: drop-shadow(0 0 2px rgba(255, 234, 0, 0.5));
}

.horizontal-track {
  display: flex;
  flex-wrap: nowrap;
  width: fit-content;
  height: 100vh;
  align-items: center;
  position: relative;
  z-index: 2;
  position: relative;
  cursor: pointer;
}

.service-card {
  width: 80vw;
  /* Wide cards */
  height: 100vh;
  background: transparent;
  flex-shrink: 0;
  padding: 10vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
}

.card-number {
  color: #FFEA00;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.card-content h2 {
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 900;
  margin: 0;
}

.card-content p {
  font-size: 1.2rem;
  opacity: 0.6;
  max-width: 400px;
}

/* Services Responsive */
@media (max-width: 600px) {
  .services-section {
    height: auto !important;
    min-height: 100vh;
    overflow: visible;
    padding: 80px 0;
  }

  .horizontal-track {
    flex-direction: column;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
  }

  .service-card {
    width: 100% !important;
    height: auto !important;
    min-height: 400px;
    padding: 60px 30px;
    border-left: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center;
    text-align: center;
  }

  .service-card:last-child {
    border-bottom: none;
  }

  .card-content p {
    margin: 0 auto;
  }

  .svg-drawing-container {
    width: 100%;
    height: 100%;
    position: absolute;
  }

  .mobile-svg {
    display: block;
  }

  .desktop-svg {
    display: none;
  }
}


/* contact me Hero  */
.contact-form-hero {
  text-align: center;
  font-size: 7rem;

}

.contact-section {
  min-height: 100vh;
  padding: 100px 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

}

.form-wrapper {
  max-width: 900px;
  width: 100%;
  position: relative;
}

.section-title {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  letter-spacing: -4px;
  margin-bottom: 20px;
  line-height: 0.9;
  opacity: 0;
  transform: translateY(50px);
}

.section-title span {
  display: block;
}

.title-line-1 {
  color: #fff;
}

.title-line-2 {
  color: transparent;
  -webkit-text-stroke: 2px #fff;
  text-stroke: 2px #fff;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #666;
  margin-bottom: 60px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(30px);
  text-align: center;
}

.contact-form {
  position: relative;
}

.form-group {
  margin-bottom: 40px;
  position: relative;
  opacity: 0;
  transform: translateX(-50px);
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #666;
  margin-bottom: 15px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.form-group.focused label {
  color: #fff;
}

.input-wrapper {
  position: relative;
  overflow: hidden;
}

.input-wrapper::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #222;
  z-index: 1;
}

.input-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: #fff;
  z-index: 2;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group.focused .input-wrapper::after {
  width: 100%;
}

input,
textarea {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 300;
  padding: 15px 0;
  outline: none;
  font-family: inherit;
  transition: transform 0.3s ease;
}

textarea {
  resize: none;
  min-height: 120px;
  font-size: clamp(1rem, 2vw, 1.3rem);
}

input::placeholder,
textarea::placeholder {
  color: #333;
  font-weight: 300;
}

.char-count {
  position: absolute;
  right: 0;
  bottom: -25px;
  font-size: 0.75rem;
  color: #444;
  letter-spacing: 1px;
}

.submit-wrapper {
  margin-top: 60px;
  opacity: 0;
  transform: translateY(30px);
}

.submit-btn {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 20px 60px;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 5px;
  line-height: 1;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #fff;
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.submit-btn:hover {
  color: #000;
}

.submit-btn:hover::before {
  left: 0;
}

.submit-btn span {
  position: relative;
  z-index: 1;
}

/* Decorative elements */
.deco-line {
  position: absolute;
  width: 2px;
  height: 0;
  background: #fff;
  opacity: 0.1;
}

.deco-line-1 {
  top: 0;
  left: -100px;
}

.deco-line-2 {
  top: 30%;
  right: -100px;
}

.deco-line-3 {
  bottom: 0;
  left: 50%;
}

.cursor-follower {
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}

.cursor-follower.active {
  width: 60px;
  height: 60px;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .contact-section {
    padding: 60px 20px;
  }

  .section-subtitle {
    margin-bottom: 40px;
  }

  .form-group {
    margin-bottom: 30px;
  }

  .submit-btn {
    width: 100%;
    padding: 18px 40px;
  }

  .deco-line-1,
  .deco-line-2 {
    display: none;
  }
}

/* Footer  */
.modern-footer {
  width: 100%;
  min-height: 70vh;
  background: #000;
  color: #fff;
  padding: 60px 40px 20px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  max-width: 1600px;
  margin: 0 auto 40px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

/* Left Column - Socials */
.footer-left {
  padding-top: 20px;
}

.footer-heading {
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: #666;
  margin-bottom: 30px;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  position: relative;
  opacity: 1;
}

.footer-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #FFEA00;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-link:hover::before {
  width: 100%;
}

.footer-link:hover {
  color: #FFEA00;
  padding-left: 10px;
}

.footer-link i {
  font-size: 0.9rem;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.footer-link:hover i {
  opacity: 1;
  transform: translate(3px, -3px);
}

/* Center Column - 3D Model */
.footer-center {
  align-items: center;
  justify-content: center;
  position: relative;
}

#threejs-container {
  width: 100%;
  height: 450px;
  position: relative;
  margin: 0 auto;
}

#threejs-container canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* Right Column - Info */
.footer-right {
  padding-top: 20px;
  gap: 40px;
  align-items: flex-end;
  text-align: right;
}

.footer-info-group {
  margin-bottom: 30px;
}

.footer-time,
.footer-version {
  font-size: 1.1rem;
  color: #fff;
  margin: 10px 0 0 0;
  font-weight: 300;
}

/* Back to Top Button */
.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 24px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.back-to-top-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #FFEA00;
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.back-to-top-btn:hover::before {
  left: 0;
}

.back-to-top-btn:hover {
  border-color: #FFEA00;
  color: #000;
  transform: translateY(-3px);
}

.back-to-top-btn i {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.back-to-top-btn:hover i {
  transform: translateY(-3px);
  animation: arrowBounce 0.6s ease-in-out infinite;
}

@keyframes arrowBounce {

  0%,
  100% {
    transform: translateY(-3px);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* Large ELYASSE Name with Wavy Animation */
.footer-name-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0 20px;
  position: relative;
  overflow: hidden;
}

#wavy-text {
  color: #fff;
  font-family: 'Arial Black', sans-serif;
  font-size: clamp(4rem, 15vw, 18rem);
  letter-spacing: 8px;
  margin: 0;
  display: block;
  overflow: hidden;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  font-weight: 900;
  margin: -40px;
}

#wavy-text .char {
  display: inline-block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    margin-bottom: 30px;
  }

  .footer-left,
  .footer-right {
    align-items: flex-start;
    text-align: left;
  }

  .footer-center {
    order: -1;
  }

  #threejs-container {
    height: 380px;
  }

  #wavy-text {
    font-size: clamp(3.5rem, 12vw, 12rem);
    letter-spacing: 6px;
  }
}

@media (max-width: 768px) {
  .modern-footer {
    padding: 50px 20px 20px;
    min-height: auto;
  }

  .footer-grid {
    gap: 40px;
    margin-bottom: 20px;
  }

  #threejs-container {
    height: 300px;
  }

  #wavy-text {
    font-size: clamp(3rem, 10vw, 8rem);
    letter-spacing: 4px;
  }

  .footer-link {
    font-size: 1rem;
  }

  .footer-name-container {
    padding: 30px 0 15px;
  }

  .back-to-top-btn {
    font-size: 0.85rem;
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .modern-footer {
    padding: 40px 15px 15px;
  }

  #threejs-container {
    height: 220px;
  }

  .footer-heading {
    font-size: 0.65rem;
    margin-bottom: 20px;
  }

  .footer-link {
    font-size: 0.95rem;
    padding: 10px 0;
  }

  .footer-time,
  .footer-version {
    font-size: 1rem;
  }

  #wavy-text {
    font-size: clamp(2.5rem, 12vw, 5rem);
    letter-spacing: 2px;
  }

  .footer-name-container {
    padding: 20px 0 10px;
  }
}

@media (max-width: 375px) {
  #threejs-container {
    height: 180px;
  }

  #wavy-text {
    font-size: clamp(2rem, 12vw, 4rem);
    letter-spacing: 1px;
  }

  .footer-grid {
    gap: 30px;
  }

  .footer-link {
    font-size: 0.9rem;
  }
}


/* -------------------------
   Responsive overrides
   (do not change design intent,
   only adapt fixed values for small screens)
   ------------------------- */


/* Large Desktops / Laptops (1400px and below) */
@media (max-width: 1400px) {
  .hero-title {
    font-size: clamp(4rem, 10vw, 10rem);
  }

  .hero2 h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
  }

  .projects-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2.5rem 4rem;
  }

  .proj-pic {
    max-width: 550px;
    margin: 0 auto;
  }

  .proj-img-container {
    height: 350px;
  }

  .about-pic {
    height: 500px;
  }

  .reveal-text {
    font-size: 2.5rem;
  }

  .skill-card {
    padding: 50px 40px;
    max-width: 450px;
  }

  .skill-name {
    font-size: 2.2rem;
  }

  .service-card {
    width: 70vw;
    padding: 6vw;
  }

  .footer-grid {
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 20px;
  }

  #threejs-container {
    height: 350px;
  }

  #wavy-text {
    font-size: clamp(4rem, 12vw, 14rem);
  }
}

/* Tablets (1024px and below) */
@media (max-width: 1024px) {
  .menu-btn {
    width: 60px;
    height: 60px;
    top: 2.5rem;
    right: 3rem;
  }

  .main-nav-list {
    gap: 2rem;
  }

  .main-nav-link {
    font-size: 1.1rem;
  }

  .flip-link {
    font-size: clamp(2rem, 6.5vw, 4.5rem);
    right: 8rem;
    bottom: 6rem;
  }

  .container {
    transform: translateX(0) translateY(-25rem);
  }

  .container h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    padding: 0 1.5rem;
  }



  .hero-title {
    font-size: clamp(4rem, 12vw, 10rem);
  }

  .projects-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
  }

  .proj-pic {
    max-width: 100%;
  }

  .proj-pic img {
    height: clamp(220px, 30vw, 450px);
  }

  .about-div {
    flex-direction: column;
    gap: 3rem;
  }

  .about-text {
    width: 90%;
  }

  .reveal-text {
    font-size: 2.5rem;
  }

  .about-pic-wrapper {
    max-width: 100%;
    margin: 0 auto;
  }

  .skill-card {
    width: 100%;
    max-width: 90vw;
    padding: 40px 30px;
  }

  .skill-name {
    font-size: 2rem;
  }

  .service-card {
    width: 85vw;
    padding: 8vw;
  }

  .card-content h2 {
    font-size: clamp(2.5rem, 9vw, 6rem);
  }
}

/* Small Tablets (768px and below) */
@media (max-width: 768px) {
  .menu-btn {
    width: 55px;
    height: 55px;
    top: 2rem;
    right: 2rem;
  }

  .main-nav {
    display: none;
  }

  .flip-link {
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    right: 5rem;
    bottom: 5rem;
  }

  .nav-content {
    left: 10%;
  }

  section.hero {
    height: 70vh;
    transform: translateY(-5rem);
  }

  .container {
    transform: translateX(0) translateY(-20rem);
  }

  .container h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    padding: 0 1rem;
  }

  .relative {
    display: block;
  }



  /* Responsive Hero2 & Button */
  .hero2 {
    transform: translateY(-2rem);
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .hero2 h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    line-height: 1.2;
  }

  .magnetic-btn {
    padding: 1rem 2.2rem;
    font-size: 1rem;
  }

  .hero-title {
    font-size: clamp(3.5rem, 10vw, 8rem);
    padding: 0 1rem;
  }

  .projects-cards {
    padding: 1rem 0.5rem;
    gap: 1.5rem;
  }

  .line-container {
    width: 4px;
  }

  .proj-pic img {
    height: clamp(200px, 40vw, 400px);
  }

  .proj-content {
    padding: 1.5rem;
  }

  .proj-content h3 {
    font-size: clamp(1rem, 2vw, 1.3rem);
  }

  .proj-content p {
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  }

  .tech-stack span {
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
  }

  .about-text {
    width: 95%;
  }

  .reveal-text {
    font-size: 2rem;
  }

  .about-pic-wrapper {
    max-width: 90%;
  }

  .skills-section {
    min-height: 300vh;
  }

  .skill-card {
    width: 180%;
    transform: translate(-50%, -50%) scale(1);
    padding: 40px 30px;
    max-width: 100%;
  }

  .skill-name {
    font-size: 1.8rem;
  }

  .skill-tags {
    gap: 8px;
  }

  .skill-tag {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .service-card {
    width: 90vw;
    padding: 6vw;
    height: auto;
    min-height: 80vh;
  }

  .card-content h2 {
    font-size: clamp(2rem, 8vw, 5rem);
  }

  .card-content p {
    font-size: 1.1rem;
  }

  .contact-section {
    padding: 60px 15px;
  }

  .form-wrapper {
    max-width: 100%;
  }

  .section-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    margin-bottom: 40px;
  }

  .form-group {
    margin-bottom: 30px;
  }

  input,
  textarea {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
  }

  .submit-btn {
    width: 100%;
    padding: 18px 40px;
    letter-spacing: 3px;
  }
}

/* Large Phones (600px and below) */
@media (max-width: 600px) {
  .menu-btn {
    width: 50px;
    height: 50px;
    top: 1.5rem;
    right: 1.5rem;
  }

  .menu-btn span {
    width: 25px;
    height: 2.5px;
  }

  .main-nav {
    padding: 1rem;
  }

  .main-nav-list {
    gap: 1rem;
  }

  .main-nav-link {
    font-size: 0.9rem;
    padding: 0.3rem 0;
  }

  .flip-link {
    font-size: clamp(1.5rem, 5.5vw, 3rem);
    right: 3rem;
    bottom: 4rem;
  }

  .nav-content {
    left: 5%;
  }

  section.hero {
    height: 60vh;
    transform: translateY(-3rem);
  }

  .container {
    transform: translateX(0) translateY(-15rem);
  }

  .container h1 {
    font-size: clamp(1.2rem, 3.5vw, 2rem);
    padding: 0 0.5rem;
    line-height: 1.4;
  }




  .hero-title,
  .about-title {
    font-size: clamp(2rem, 10vw, 4rem);
    letter-spacing: -1px;
    width: 100%;
    padding: 0 1rem;
    white-space: nowrap;
    display: block;
    left: 0;
    transform: none;
    text-align: center;
  }

  .section.gray {
    margin-top: 1rem;
  }

  .projects-cards {
    padding: 1rem 0.5rem;
    gap: 1.2rem;
  }

  .proj-pic {
    border-radius: 15px;
    margin: 0 auto;
    width: 100%;
    max-width: 500px;
  }

  .proj-pic img {
    height: clamp(180px, 50vw, 350px);
    border-radius: 15px 15px 0 0;
  }

  .proj-content {
    padding: 1rem;
  }

  .proj-content h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .proj-content p {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .tech-stack {
    gap: 0.5rem;
    margin: 0.8rem 0 1rem;
  }

  .tech-stack span {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
  }

  .about-text {
    width: 100%;
    padding: 0 1rem;
  }

  .reveal-text {
    font-size: 1.5rem;
  }

  .reveal-text .line {
    padding: 5px 0;
  }

  .about-pic-wrapper {
    max-width: 95%;
  }

  .cursor-message {
    font-size: 0.7rem;
    padding: 8px 12px;
  }

  .skills-section {
    min-height: 250vh;
  }

  .skills-wrapper .ticker-section {
    position: relative;
    overflow: hidden;
    background: transparent;
    transform: none;
    scale: 1;
    padding: 0.5rem 0;
  }

  .skills-wrapper .ticker {
    background: transparent;
    transform: none;
    scale: 1;
  }

  .skills-wrapper .ticker-wrap {
    display: inline-flex;
    will-change: transform;
  }

  .skills-wrapper .ticker-text {
    white-space: nowrap;
    color: #fff;
  }

  .skills-wrapper .ticker-section .accent {
    color: #FFEA00;
  }

  .about-header {
    text-align: center;
    margin: 2.5rem 0 1.5rem;
  }

  .about-heading {
    font-size: clamp(2rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: -2px;
    color: #fff;
    line-height: 1;
  }

  .about-text {
    max-width: 980px;
    margin: 0.8rem auto 0;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #cfcfcf;
    text-transform: none;
    /* keep readability for paragraph */
  }

  .about-ticker {
    position: relative;
    overflow: hidden;
    padding: 0.6rem 0;
  }

  .about-ticker .ticker {
    width: 100%;
  }

  .about-ticker .ticker-wrap {
    display: inline-flex;
    will-change: transform;
  }

  .about-ticker .ticker-text {
    white-space: nowrap;
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-weight: 800;
    color: #fff;
  }

  .about-ticker .accent {
    color: #FFEA00;
  }

  .about-gray {
    position: relative;
    margin-top: clamp(-140px, -10vw, -80px);
    /* overlaps upward */
    z-index: 2;
    padding: 0;
  }

  .gray-reveal {
    position: relative;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.3s ease-out;
  }

  .about-skills {
    position: relative;
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .about-skills .mid-line {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
  }

  .skills-col {
    display: grid;
    gap: 1rem;
  }

  .skill-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 1rem 1.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
  }

  @media (max-width: 1024px) {
    .about-skills {
      grid-template-columns: 1fr;
    }

    .about-skills .mid-line {
      display: none;
    }
  }

  .about-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1rem 6rem;
  }

  .about-hero {
    text-align: center;
    margin-bottom: 3rem;
  }

  .about-hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    color: #fff;
    margin-bottom: 1rem;
  }

  .about-hero-text {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #cfcfcf;
    max-width: 900px;
    margin: 0 auto 1.5rem;
  }

  .about-pills {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .pill {
    padding: 0.5rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    font-size: 0.9rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
  }

  .about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-top: 2rem;
  }

  .about-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.4rem;
  }

  .about-card-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fff;
  }

  .about-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
    color: #d8d8d8;
    font-size: 0.95rem;
  }

  .stack-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .stack-chip {
    padding: 0.35rem 0.7rem;
    font-size: 0.85rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
  }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
  }

  .stat {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1rem;
    text-align: center;
  }

  .stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #FFEA00;
  }

  .stat-label {
    font-size: 0.85rem;
    color: #cfcfcf;
  }

  .principles-section {
    margin-top: 3rem;
  }

  .principles-title {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.8rem;
  }

  .principles-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.6rem;
    color: #d8d8d8;
  }

  .about-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0 0;
  }

  .cta-title {
    font-size: 1.4rem;
    color: #fff;
  }

  .cta-btn {
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    background: #FFEA00;
    color: #0d0d0d;
    text-decoration: none;
    font-weight: 700;
  }

  @media (max-width: 1024px) {
    .about-grid {
      grid-template-columns: 1fr;
    }

    .stats-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  .nav-overlay {
    will-change: clip-path;
    backface-visibility: hidden;
  }

  .title-filled {
    will-change: clip-path;
  }

  .proj-pic {
    will-change: transform, box-shadow;
    backface-visibility: hidden;
  }

  .proj-pic img {
    will-change: transform;
    transform: translateZ(0);
  }

  .cards-stack .skill-card {
    will-change: transform, opacity;
    backface-visibility: hidden;
  }

  .horizontal-track,
  .service-card {
    will-change: transform;
    backface-visibility: hidden;
  }

  .main-nav-link .top-text span,
  .main-nav-link .bottom-text span {
    will-change: transform;
  }

  .cards-container {
    .cards-stack {
      height: 400px;
      max-width: 90vw;
    }

    .skill-card {
      width: 100%;
      transform: translate(-50%, -50%) scale(1);
      padding: 25px 20px;
      border-radius: 15px;
    }

    .card-number {
      font-size: 0.85rem;
      top: 15px;
      right: 20px;
    }

    .skill-category {
      font-size: 0.75rem;
      margin-bottom: 15px;
    }

    .skill-name {
      font-size: 1.5rem;
      margin-bottom: 20px;
    }

    .skill-tags {
      gap: 6px;
      margin-bottom: 20px;
    }

    .skill-tag {
      padding: 6px 12px;
      font-size: 0.75rem;
    }

    .expertise-bar {
      margin-top: 20px;
    }

    .bar-bg {
      height: 6px;
    }
  }

  .services-section {
    height: auto;
    padding: 4rem 0;
  }

  .horizontal-track {
    flex-direction: column;
    height: auto;
    width: 100%;
    display: flex;
  }

  .service-card {
    width: 80vw;
    height: auto;
    min-height: 60vh;
    padding: 15vw 5vw;
    border-left: none;
    display: flex !important;
    flex-direction: column;
    position: relative;
    flex-shrink: 1;
  }

  .service-card:nth-child(odd) {
    align-self: flex-start;
    text-align: left;
  }

  .service-card:nth-child(even) {
    align-self: flex-end;
    text-align: right;
  }

  .service-card .card-number {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: static;
    color: #FFEA00;
  }

  .service-card .card-content h2 {
    font-size: clamp(1.8rem, 10vw, 3.5rem);
    line-height: 1.1;
  }

  .service-card .card-content p {
    font-size: 1rem;
    max-width: 250px;
    opacity: 0.8;
    margin-top: 1rem;
  }

  .service-card:nth-child(even) .card-content p {
    margin-left: auto;
  }

  .desktop-svg {
    display: none;
  }

  .mobile-svg {
    display: block;
  }

  #mobile-drawing-path {
    stroke-width: 6;
  }

  .contact-section {
    padding: 40px 10px;
  }

  .section-subtitle {
    font-size: 0.9rem;
    padding: 0 1rem;
  }

  .form-group label {
    font-size: 0.75rem;
    letter-spacing: 2px;
  }

  input,
  textarea {
    font-size: 1rem;
    padding: 12px 0;
  }

  textarea {
    min-height: 100px;
  }

  .submit-btn {
    padding: 15px 30px;
    font-size: 0.9rem;
    letter-spacing: 2px;
  }

  .deco-line {
    display: none;
  }
}


/* Small Phones (480px and below) */
@media (max-width: 480px) {
  .menu-btn {
    width: 45px;
    height: 45px;
    top: 1.2rem;
    right: 1.2rem;
  }

  .menu-btn span {
    width: 22px;
    height: 2px;
    gap: 5px;
  }

  .main-nav-list {
    flex-direction: column;
    gap: 0.8rem;
  }

  .flip-link {
    font-size: clamp(1.2rem, 5vw, 2.5rem);
    right: 2rem;
    bottom: 3rem;
  }

  section.hero {
    height: 50vh;
  }

  .container {
    transform: translateX(0) translateY(-12rem);
  }

  .container h1 {
    font-size: clamp(1rem, 3vw, 1.5rem);
    line-height: 1.3;
  }

  .container h1 br {
    display: block;
  }


  .hero-title,
  .about-title {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
    letter-spacing: -1px;
    white-space: nowrap;
    display: block;
    width: 100%;
    left: 0;
    transform: none;
    text-align: center;
  }

  .projects-cards {
    gap: 1rem;
  }

  .line-container {
    width: 3px;
  }

  .proj-pic img {
    height: clamp(150px, 45vw, 300px);
  }

  .proj-content {
    padding: 0.8rem;
  }

  .proj-content h3 {
    font-size: 0.9rem;
  }

  .proj-content p {
    font-size: 0.75rem;
  }

  .tech-stack span {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }

  .ComingCard {
    width: 95vw;
    height: auto;
    padding: 1rem;
  }

  .coming-text {
    font-size: 1.5rem;
  }

  .reveal-text {
    font-size: 1.2rem;
  }

  .skill-card {
    width: 140%;
    padding: 25px 15px;
  }

  .skill-name {
    font-size: 1.3rem;
  }

  .service-card {
    min-height: 60vh;
    padding: 8vw 4vw;
  }

  .card-content h2 {
    font-size: clamp(1.5rem, 6vw, 3rem);
  }

  .card-content p {
    font-size: 0.9rem;
  }

  .section-subtitle {
    font-size: 0.85rem;
  }

  input,
  textarea {
    font-size: 0.9rem;
  }

  .submit-btn {
    padding: 12px 25px;
    font-size: 0.85rem;
  }

  /* Hide custom cursor on mobile */
  .cursor {
    display: none !important;
  }

  .cursor-message {
    display: none !important;
  }
}

/* Extra Small Phones (360px and below) */
@media (max-width: 360px) {
  .menu-btn {
    width: 40px;
    height: 40px;
    top: 1rem;
    right: 1rem;
  }

  .flip-link {
    font-size: clamp(1rem, 4.5vw, 2rem);
    right: 1.5rem;
    bottom: 2.5rem;
  }

  .container {
    transform: translateX(0) translateY(-10rem);
  }

  .container h1 {
    font-size: clamp(0.9rem, 2.8vw, 1.3rem);
  }

  .hero-title,
  .about-title {
    font-size: clamp(1.2rem, 10vw, 2.2rem);
    white-space: nowrap;
    display: block;
    width: 100%;
    left: 0;
    transform: none;
    text-align: center;
  }

  .proj-pic img {
    height: clamp(130px, 40vw, 250px);
  }

  .proj-content {
    padding: 0.6rem;
  }

  .tech-stack {
    gap: 0.4rem;
  }

  .reveal-text {
    font-size: 1rem;
  }

  .skill-card {
    width: 130%;
    padding: 20px 12px;
  }

  .skill-name {
    font-size: 1.1rem;
  }

  .skill-tag {
    padding: 5px 10px;
    font-size: 0.7rem;
  }

  .card-content h2 {
    font-size: clamp(1.3rem, 5.5vw, 2.5rem);
  }

  .card-content p {
    font-size: 0.85rem;
  }

  input,
  textarea {
    font-size: 0.85rem;
  }

  .submit-btn {
    padding: 10px 20px;
    font-size: 0.8rem;
    letter-spacing: 1px;
  }

  #wavy-text {
    font-size: clamp(1.8rem, 14vw, 4rem);
    letter-spacing: 0px;
    white-space: nowrap;
  }
}

/* Landscape orientation fixes for mobile */
@media (max-height: 500px) and (orientation: landscape) {
  section.hero {
    height: 90vh;
  }

  .container {
    transform: translateX(0) translateY(-8rem);
  }


  .about-pic-wrapper {
    max-width: 50%;
  }

  .service-card {
    min-height: 100vh;
  }
}

/* Accessibility: Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .proj-pic {
    border: 2px solid #fff;
  }

  .tech-stack span {
    border: 2px solid #fff;
  }

  input,
  textarea {
    border-bottom: 2px solid #fff;
  }
}

/* Print styles */
@media print {

  .menu-btn,
  .nav-overlay,
  .cursor,
  .cursor-message,
  .glass-container {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }
}

/* Hero Animation Elements */
.hero-anim-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: visible;
}

.hero-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 242, 255, 0.4) 0%, rgba(138, 43, 226, 0.4) 40%, rgba(0, 0, 0, 0) 70%);
  transform: translate(-50%, -50%);
  filter: blur(50px);
  opacity: 0.6;
}

.hero-dashed-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 550px;
  height: 550px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* Premium UI Textures */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("https://grainy-gradients.vercel.app/noise.svg");
  filter: contrast(150%) brightness(100%);
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.neon-text-glow {
  color: #FFEA00;
  text-shadow: 0 0 10px rgba(255, 234, 0, 0.3);
}

/* Custom Selection */
::selection {
  background: #FFEA00;
  color: #000;
}

/* About Page Specific Styles */
.about-page {
  background: #000;
}

.section-padding {
  padding: 120px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* About Hero */
.about-hero {
  height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.about-hero-title {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  font-family: 'Bebas Neue', sans-serif;
}

.about-hero-title .line {
  display: block;
  overflow: hidden;
}

.about-hero-title .accent {
  color: #FFEA00;
  -webkit-text-stroke: 1px #FFEA00;
  color: transparent;
}

.hero-sub {
  margin-top: 3rem;
  max-width: 600px;
}

.hero-sub p {
  font-size: 1.2rem;
  color: #888;
  line-height: 1.6;
  text-transform: none;
}

.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.scroll-indicator span {
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: #555;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, #FFEA00, transparent);
}

/* Expertise Section */
.section-header {
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-family: 'Bebas Neue', sans-serif;
  color: #fff;
  margin-bottom: 1rem;
}

.title-line {
  width: 100px;
  height: 4px;
  background: #FFEA00;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.expertise-card {
  position: relative;
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  transition: all 0.4s ease;
}

.expertise-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 234, 0, 0.3);
  transform: translateY(-10px);
}

.expertise-card::before {
  content: attr(data-index);
  position: absolute;
  top: 1rem;
  right: 2rem;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  font-family: 'Bebas Neue', sans-serif;
}

.expertise-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #FFEA00;
}

.expertise-card p {
  font-size: 1rem;
  color: #aaa;
  line-height: 1.7;
  text-transform: none;
  margin-bottom: 2rem;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.expertise-tags span {
  font-size: 0.75rem;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: #fff;
  letter-spacing: 1px;
}

/* Tech Stack Section */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 4rem;
}

.stack-category h4 {
  font-size: 1.2rem;
  color: #FFEA00;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.stack-category p {
  font-size: 1.1rem;
  color: #888;
  line-height: 1.8;
  text-transform: none;
}

/* Personal Section */
.personal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.personal-image-wrapper {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 30px;
}

.personal-image {
  width: 100%;
  height: 110%;
  object-fit: cover;
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #000, transparent);
  opacity: 0.4;
}

.personal-content p {
  font-size: 1.1rem;
  color: #aaa;
  line-height: 1.8;
  text-transform: none;
  margin-bottom: 2rem;
}

.fun-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.fact span {
  font-size: 2.5rem;
  font-weight: 900;
  color: #FFEA00;
  font-family: 'Bebas Neue', sans-serif;
}

.fact p {
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.5rem;
}

/* About CTA */
.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-family: 'Bebas Neue', sans-serif;
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.2rem;
  color: #888;
  text-transform: none;
  margin-bottom: 3rem;
}

@media (max-width: 992px) {
  .personal-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .personal-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 80px 0;
  }

  .expertise-grid {
    gap: 1.5rem;
  }

  .fun-facts {
    grid-template-columns: repeat(2, 1fr);
  }
}