/* General */
 body {
      margin: 0;
      background: #111;
      color: #fff;
      font-family: 'Poppins', sans-serif;
      overflow-x: hidden;
    }


section {
  margin-bottom: 80px;
}

h1 {
  font-size: 2.5rem;
font:Manrope
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

p {
  font-size: 1.2rem;
  line-height: 1.5;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: left;
  text-align: center;
  color: white;
  overflow: hidden;
}

/* Video background */
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* makes video behave like background-size: cover */
  z-index: -1;         /* pushes it behind content */
}

/* Content stays above video */
.hero-content {
  position: relative;
  z-index: 1;
}


/* Language Switcher */
.lang-switch {
  position: fixed;
  top: 20px;
  right: 100px;
  width: 120px;
  height: 36px;
 border: 1px solid rgba(255, 255, 255, 0.3); 
      border-radius: 30px;
      background: transparent;
     
  overflow: hidden;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-family: Poppins;
  font-weight: bold;
  
  z-index: 1000;
}

.lang-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.lang {
  flex: 33 0 60px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: White;
  opacity: 0.4;
  transition: all 0.4s ease;
}

.lang.active {
  background: white;
  color: black;
  border-radius: 20px;
padding: 4px 0.5px;
  
  opacity: 1;
}
.lang:hover {
      background: #444;
      transform: translateX(-3px);
padding: 4px 1px;
border-radius: 30px;
    }
 /* 3. Menu Button (Outlined Circle + SVG) */
    .menu-btn {
      position: fixed;
      top: 20px;
      right: 20px;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      border: 2px solid white;
      background: transparent;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 1000;
      transition: transform 0.2s ease-out, background 0.3s;
    }
    .menu-btn:hover {
      background: rgba(255,255,255,0.1);
    }
    .menu-btn svg {
      pointer-events: none;
    }
 /* 7. Fullscreen Overlay Menu */
    .overlay-menu {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(17, 17, 17, 0.95);
      display: flex;
      justify-content: center;
      align-items: center;
      opacity: 0;
      pointer-events: none;
      z-index: 900; /* under buttons */
      transition: opacity 0.5s ease;
    }
    .overlay-menu.active {
      opacity: 1;
      pointer-events: auto;
    }
    .overlay-menu nav ul {
      list-style: none;
      padding: 0;
      margin: 0;
      text-align: center;
    }
    .overlay-menu nav ul li {
      margin: 20px 0;
    }
    .overlay-menu nav ul li a {
      font-size: 36px;
      font-weight: 700;
      color: #fff;
      text-decoration: none;
      transition: color 0.3s;
    }
    .overlay-menu nav ul li a:hover {
      color: #aaa;
    }
 



.side-logo {
  opacity: 1;
  visibility: visible;
}

    }
/* Hide the default cursor */
body {
 
}

/* Custom circle cursor */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border: 2px solid white;   /* outline circle */
  border-radius: 50%;
  pointer-events: none;       /* make sure it doesn't block clicks */
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out;
  z-index: 9999;
}
.typewriter {
  font-size: 2rem;
  font-weight: bold;
  color: white;
  border-right: 2px solid white; /* blinking cursor */
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  50% { border-color: transparent; }
}
.typing-text {
  display: inline-block;
  min-width: 12ch;   /* reserve space for the longest word */
  text-align: left;
  white-space: nowrap;
}

 .bg-title {
  position: absolute;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(255,255,255,0.05); /* very light */
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}
section {
  position: relative;
  z-index: 1;
}
@media(max-width: 768px) {
  h1, h2 {
    font-size: 1.5rem;
  }
  .bg-title {
    font-size: 4rem; /* shrink background text */
  }
}
/* Profile Section */
.profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  padding: 80px 10%;
  gap: 40px;
  position: relative;
}

.profile-left {
  position: relative;
  flex: 1;
}

.profile-img {
  width: 350px;
  border-radius: 20px;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.profile-img:hover {
  transform: scale(1.05);
}

/* Big word behind image */
.bg-word {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-size: 8rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05); /* subtle white */
  z-index: 1;
  pointer-events: none;
}

.profile-right {
  flex: 1;
  text-align: left;
}

.whoiam {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 20px;
}

@media(max-width: 768px) {
  .profile {
    flex-direction: column;
    text-align: center;
  }

  .bg-word {
    font-size: 4rem;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .profile-img {
    width: 250px;
  }
}


.whoiam {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 900;
  margin: 0 0 12px 0;
  color: #fff;
}

.whoiam-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  max-width: 48ch;
}

/* hover micro-bounce (instant feedback) */
.profile-img:hover {
  transform: translateY(-6px) scale(1.03);
  transition: transform 300ms cubic-bezier(.2,.8,.2,1);
}

/* responsive stacking */
@media (max-width: 900px) {
  .profile {
    flex-direction: column;
    text-align: center;
    padding: 48px 6%;
  }
  .profile-left { order: 1; margin-bottom: 28px; justify-content: center; }
  .profile-right { order: 2; padding-left: 0; }
  .bg-word { left: 50%; transform: translate(-50%, -50%); font-size: clamp(3rem, 14vw, 6rem); }
  .profile-img { width: 260px; }
}
@keyframes smoothBounce {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-20px); }
  100% { transform: translateY(0); }
}

.profile-img {
  animation: smoothBounce 2s ease-in-out infinite;
}
.about {
  text-align: center;
  padding: 5rem 2rem;
  position: relative;
}

.about .bg-title {
  font-size: 6rem;
  font-weight: 900;
  color: rgba(255,255,255,0.05);
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.about h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.about p {
  max-width: 600px;
  margin: 0 auto 2rem auto;
  font-size: 1.2rem;
  z-index: 1;
  position: relative;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.bento-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.skill-list span {
  background: rgba(255,255,255,0.1);
  padding: 0.4rem 0.8rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-item h4 {
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
}

.stat-item p {
  font-size: 0.9rem;
  opacity: 0.8;
}

.cv .btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: #007bff;
  color: white;
  border-radius: 0.5rem;
  font-weight: bold;
  transition: background 0.3s ease;
  text-decoration: none;
}

.cv .btn:hover {
  background: #0056b3;
}
.bento-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  /* Neon Glow */
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.5),
              0 0 30px rgba(0, 123, 255, 0.3),
              inset 0 0 10px rgba(255,255,255,0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bento-box:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 0 25px rgba(0, 123, 255, 0.8),
              0 0 50px rgba(0, 123, 255, 0.6),
              inset 0 0 15px rgba(255,255,255,0.1);
}
/* Manrope stays default for body text */
body, p {
  font-family: 'Manrope', sans-serif;
}

/* Outfit for headings, bento box titles, hero, accents */
h1, h2, .bento-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
}
.bento-section {
  padding: 100px 10%;
  text-align: center;
  position: relative;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  margin-bottom: 60px;
  color: white;
}

/* Neon Glow Background Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  position: relative;
}

.bento-grid::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, #a020f0, #00e5ff);
  filter: blur(40px);
  opacity: 0.15;
  z-index: 0;
}

.bento-box {
  background: #111;
  padding: 40px 20px;
  border-radius: 1px;
  position: relative;
  z-index: 1;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(160, 32, 240, 0.6);
}

.bento-box h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 10px;
}

.bento-box p {
  font-family: 'Manrope', sans-serif;
  color: #aaa;
  font-size: 1rem;
}

.bento-box.wide {
  grid-column: span 2;
}
@font-face {
  font-family: "EmpireFont";
  src: url("fonts/empire.ttf") format("truetype");
}


.three-d-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  perspective: 1000px;
  background: #111;
}

.cube {
  width: 200px;
  height: 200px;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateCube 10s infinite linear;
}

.face {
  position: absolute;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #ff00ff, #00ffff);
  opacity: 0.9;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2rem;
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
}

/* Faces */
.front  { transform: rotateY(0deg) translateZ(100px); }
.back   { transform: rotateY(180deg) translateZ(100px); }
.right  { transform: rotateY(90deg) translateZ(100px); }
.left   { transform: rotateY(-90deg) translateZ(100px); }
.top    { transform: rotateX(90deg) translateZ(100px); }
.bottom { transform: rotateX(-90deg) translateZ(100px); }

@keyframes rotateCube {
  from { transform: rotateX(0) rotateY(0); }
  to   { transform: rotateX(360deg) rotateY(360deg); }
}
.skills-marquee {
  overflow: hidden;
  background: #111;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.marquee {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  white-space: nowrap;
}

.marquee span {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  padding-right: 3rem;
}

/* Top row - left to right */
.marquee-left .marquee-track {
  animation: scroll-left 60s linear infinite;
}

/* Bottom row - right to left */
.marquee-right .marquee-track {
  animation: scroll-right 60s linear infinite;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* only move half since we duplicated */
}

@keyframes scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
/* ---------- Contact section ---------- */
.contact-section {
  position: relative;
  min-height: 100vh;
  background: #f7c600; /* bold yellow while shape is visible */
  overflow: hidden;
  color: #111;
  padding: 0;
}

/* Stage that shows the shape + intro text */
.contact-stage {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 6vw;
  box-sizing: border-box;
}

/* Rounded rectangle (was oval) */
.contact-shape {
  width: 300px;
  height: 400px;
  border-radius: 40% / 50%;
  background: url("black.jpg") center/cover no-repeat;
  overflow: hidden;
  position: relative;
  z-index: 2;
}


/* image inside the shape */
.contact-shape img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Intro text (visible while the shape is small) */
.contact-intro-text {
  max-width: 55%;
  color: #111;
}
.contact-intro-text .intro-title {
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  margin: 0 0 0.6rem;
  font-weight: 700;
}
.contact-intro-text .intro-desc {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  margin: 0;
  line-height: 1.6;
}

/* Panel revealed after expansion (initially hidden) */
.contact-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6vw;
  box-sizing: border-box;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
}

/* Left: contact form */
.panel-left {
  width: 48%;
  max-width: 700px;
  transform: translateY(30px);
  opacity: 0;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.contact-form label { display:block; }
.contact-form .label-text {
  display:block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #111;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.95);
  font-size: 1rem;
  color: #111;
  box-shadow: 0 3px 12px rgba(0,0,0,0.06) inset;
}
.contact-form textarea { resize: vertical; min-height: 140px; }

/* Buttons */
.form-actions {
  display:flex;
  gap: 1rem;
  margin-top: 0.4rem;
}
.btn-primary {
  background: #111;
  color: #fff;
  padding: 0.85rem 1.2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 700;
}
.btn-primary:hover { opacity: 0.95; transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: #111;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.12);
  cursor: pointer;
}

/* Right side big title */
.panel-right {
  width: 40%;
  text-align: right;
  transform: translateY(30px);
  opacity: 0;
}
.panel-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 0.9;
  margin: 0;
  color: #111;
}

/* small screens: stack */
@media (max-width: 900px) {
  .contact-stage { flex-direction: column-reverse; padding: 4vw; gap: 1.5rem; height: auto; min-height: 70vh; }
  .contact-shape { width: 260px; height: 320px; margin: 0 auto; transform-origin: center center; }
  .contact-intro-text { max-width: 100%; text-align: center; }
  .contact-panel { flex-direction: column; padding: 4vw; gap: 2rem; }
  .panel-left, .panel-right { width: 100%; text-align: center; }
  .panel-right { order: 2; }
  .panel-left { order: 1; }
}
.scroll-arrow {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  background: transparent;
  border: 2px solid var(--brand-red);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--brand-red);
  cursor: pointer;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, -8px); }
}
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap');
/* ===== Site Logo (top-right) ===== */
.site-logo {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.site-logo img {
  width: 70%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1); /* makes it white if original is dark */
}

/* Hover effect */
.site-logo:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.1);
}

/* ===== Responsive (smaller on mobile) ===== */
@media (max-width: 768px) {
  .site-logo {
    width: 45px;
    height: 45px;
    top: 12px;
    right: 12px;
  }
  .site-logo img {
    width: 80%;
  }
}

