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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
  border: none;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
  width: 0;
  height: 0;
}

body {
  background-color: #100e0b;
  font-family: "Poppins", sans-serif;
  color: #1e221b;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::selection {
  background: #2563eb;
  color: #fff;
}

/* =====================================================================
   Top Horizontal Scroll Progress Indicator
   ===================================================================== */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4.5px;
  width: 0%;
  background: linear-gradient(90deg, #38bdf8, #60a5fa, #818cf8, #c084fc, #f472b6);
  box-shadow: 0 0 12px rgba(96, 165, 250, 0.85), 0 0 24px rgba(56, 189, 248, 0.6);
  z-index: 100002;
  pointer-events: none;
  transition: width 0.08s ease-out;
  border-radius: 0 3px 3px 0;
}

/* =====================================================================
   Modern Round Floating Glassmorphism Navbar (Auto-hiding on Scroll Down)
   ===================================================================== */
header {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 2.8rem;
  width: calc(100% - 4rem);
  max-width: 900px;
  background: rgba(16, 14, 11, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s ease, background 0.3s ease;
}

/* Auto-hide class when scrolling down */
header.nav-hidden {
  transform: translate(-50%, -130%);
  opacity: 0;
  pointer-events: none;
}

header .logo {
  font-size: 2.1rem;
  font-weight: 800;
  text-decoration: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  letter-spacing: -0.03rem;
}

header .logo i {
  font-size: 2.2rem;
  color: #60a5fa;
}

header .logo:hover {
  color: #93c5fd;
}

header .navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.8rem;
}

header .navbar ul li a {
  font-size: 1.5rem;
  color: #e2e8f0;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02rem;
  padding: 0.6rem 1.4rem;
  border-radius: 2rem;
  transition: all 0.25s ease;
}

header .navbar ul li a.active,
header .navbar ul li a:hover {
  color: #60a5fa;
  background: rgba(96, 165, 250, 0.15);
}

#menu {
  font-size: 2.4rem;
  cursor: pointer;
  color: #ffffff;
  display: none;
}

@media (max-width: 768px) {
  header {
    top: 1.2rem;
    padding: 0.8rem 2rem;
    width: calc(100% - 2.4rem);
    border-radius: 3rem;
  }
  #menu {
    display: block;
  }
  header .navbar {
    position: fixed;
    top: 5.5rem;
    right: -120%;
    width: 80%;
    max-width: 300px;
    height: auto;
    background: rgba(16, 14, 11, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 2rem;
    transition: 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    padding: 2.5rem 1.8rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
  }
  header .navbar.nav-toggle {
    right: 1.2rem;
  }
  header .navbar ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
  header .navbar ul li {
    width: 100%;
  }
  header .navbar ul li a {
    display: block;
    width: 100%;
    color: #fff;
    font-size: 1.65rem;
    padding: 1rem 1.4rem;
  }
  header .navbar ul li a.active,
  header .navbar ul li a:hover {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.2);
  }
}

/* =====================================================================
   Main Page Scroll Flow Wrapper
   (Sits on top with drop-shadow, scrolls off to unveil fixed sticky footer)
   ===================================================================== */
.main-page-flow {
  position: relative;
  z-index: 10;
  background: #100e0b;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.28);
}

/* =====================================================================
   Aura Gradient Architecture: "Microdots"
   ===================================================================== */
.aura-bg {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  /* Layers blend against base background #100e0b */
}

/* Layer 1 - normal (Microdots Lattice) */
.aura-layer-1 {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.16) 1px, transparent 1.5px);
  background-size: 14px 14px;
  mix-blend-mode: normal;
  transform: translateZ(0);
  will-change: transform;
  pointer-events: none;
  z-index: 0;
}

/* Layer 2 - screen (Central Blue Glow) */
.aura-layer-2 {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 50% at 50% 45%, rgba(59, 130, 246, 0.26) 0%, transparent 75%);
  mix-blend-mode: screen;
  filter: blur(234px);
  transform: translateZ(0);
  will-change: transform;
  pointer-events: none;
  z-index: 0;
}

/* Layer 3 - screen (Top-Right Cyan Glow) */
.aura-layer-3 {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 25%, rgba(125, 211, 252, 0.22) 0%, transparent 30%);
  mix-blend-mode: screen;
  filter: blur(162px);
  transform: translateZ(0);
  will-change: transform;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 768px) {
  .aura-layer-2 {
    filter: blur(163px);
  }
  .aura-layer-3 {
    filter: blur(113px);
  }
}

/* =====================================================================
   Aura Gradient Architecture: "Aurora Beams" (For About & Skills Sections)
   ===================================================================== */
.aurora-bg {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background-color: #100e0b;
}

/* Layer 1 - screen */
.aurora-layer-1 {
  position: absolute;
  inset: 0;
  background: radial-gradient(55.8% 55.49% at 50% 100%, rgb(38, 77, 76) 0%, rgba(25, 48, 47, 0) 100%);
  mix-blend-mode: screen;
  transform: translateZ(0);
  will-change: transform;
  pointer-events: none;
  z-index: 0;
}

/* Layer 2 - screen (Beams) */
.aurora-layer-2 {
  position: absolute;
  inset: 0;
  background: 
    repeating-linear-gradient(
      100deg,
      #262626 0%,
      #262626 3%,
      rgba(38, 38, 38, 0.7) 5%,
      rgba(38, 38, 38, 0.7) 7%,
      transparent 10%,
      transparent 12%,
      rgba(38, 38, 38, 0.7) 14%,
      #262626 16%
    ),
    repeating-linear-gradient(
      100deg,
      #9ca3af 0%,
      #9ca3af 1.5%,
      rgba(156, 163, 175, 0.8) 2%,
      #6b7280 3%,
      #6b7280 4%,
      rgba(156, 163, 175, 0.8) 4.5%,
      #9ca3af 5%
    );
  background-size: 300% 200%;
  mix-blend-mode: screen;
  filter: blur(108px);
  opacity: 0.9;
  transform: translateZ(0);
  will-change: transform;
  pointer-events: none;
  z-index: 0;
}

/* Layer 3 - multiply */
.aurora-layer-3 {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 100% 100%, #ffffff 20%, #0a0a0a 80%);
  mix-blend-mode: multiply;
  transform: translateZ(0);
  will-change: transform;
  pointer-events: none;
  z-index: 0;
}

/* Film-grain overlay */
.aurora-grain {
  position: absolute;
  inset: 0;
  mix-blend-mode: overlay;
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 768px) {
  .aurora-layer-2 {
    filter: blur(75px);
  }
}

.aura-content {
  position: relative;
  z-index: 1;
}

/* =====================================================================
   Common Section Styles
   ===================================================================== */
section {
  min-height: 100vh;
  padding: 8rem 9% 6rem 9%;
  position: relative;
}

.heading {
  font-size: 3.6rem;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.04rem;
  margin-bottom: 3.5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.heading.heading-left {
  text-align: left;
}

.heading.heading-right {
  text-align: right;
}

@media (max-width: 768px) {
  .heading.heading-left,
  .heading.heading-right {
    text-align: center;
  }
}

.heading span {
  background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.heading i {
  margin-right: 1rem;
  color: #60a5fa;
  -webkit-text-fill-color: initial;
}

/* =====================================================================
   Home / Intro Hero Section
   ===================================================================== */
.home {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  min-height: 100vh;
  align-items: center;
  justify-content: space-between;
  padding: 12rem 9% 6rem 9%;
  background-color: #100e0b;
  color: #fff;
  overflow: hidden;
}

.home #particles-js {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 0;
  pointer-events: none;
}

.home .content {
  flex: 1 1 45rem;
  z-index: 1;
}

.home .content h2 {
  font-size: 5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
}

.home .content h2 span {
  font-size: 5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #60a5fa, #c084fc, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home .content p {
  font-size: 2.2rem;
  color: #cbd5e1;
  font-weight: 600;
  padding: 1.5rem 0 2rem 0;
  text-transform: none;
}

.home .content p span.typing-text {
  font-size: 2.2rem;
  color: #38bdf8;
  font-weight: 700;
  border-right: 2.5px solid #38bdf8;
  padding-right: 4px;
  animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: #38bdf8; }
}

.home .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.4rem 3.2rem;
  border-radius: 4rem;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  box-shadow: 0px 8px 22px rgba(37, 99, 235, 0.4);
  font-family: "Nunito", sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.home .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0px 12px 28px rgba(37, 99, 235, 0.6);
  background: linear-gradient(135deg, #1d4ed8, #6d28d9);
}

.home .socials {
  margin-top: 3.5rem;
}

.home .socials .social-icons {
  display: flex;
  gap: 1.2rem;
  list-style: none;
}

.social-icons a {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93c5fd;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
  transition: all 0.25s ease;
}

.social-icons a:hover {
  color: #fff;
  background-color: #2563eb;
  border-color: #2563eb;
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.5);
}

.home .image {
  flex: 1 1 40rem;
  text-align: center;
  z-index: 1;
}

.home .image img {
  width: 75%;
  max-width: 38rem;
  border-radius: 50%;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(59, 130, 246, 0.25);
  border: 3px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.home .image img:hover {
  transform: scale(1.03);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(59, 130, 246, 0.4);
}

/* =====================================================================
   About Me Section (Minimal, Point-Wise & Modular)
   ===================================================================== */
.about {
  padding-top: 10rem;
  background-color: #100e0b;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.about .heading {
  color: #ffffff;
}

.about .heading span {
  background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about .heading i {
  color: #60a5fa;
}

.about .row {
  display: flex;
  flex-direction: row;
  gap: 4.5rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.about .row .image {
  flex: 1 1 34rem;
  text-align: center;
}

.about .row .image img {
  width: 100%;
  max-width: 34rem;
  height: auto;
  border-radius: 2.2rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4), 0 0 30px rgba(59, 130, 246, 0.2);
  border: 3px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.about .row .image img:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.5), 0 0 40px rgba(59, 130, 246, 0.35);
}

.about-point-grid {
  flex: 1 1 52rem;
  background: rgba(20, 24, 34, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2.2rem;
  padding: 3.5rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.about-header-pill {
  margin-bottom: 2.2rem;
}

.about-header-pill h3 {
  color: #ffffff;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.02rem;
}

.about-header-pill .tag {
  display: inline-block;
  font-size: 1.35rem;
  color: #60a5fa;
  background: rgba(96, 165, 250, 0.12);
  font-weight: 700;
  padding: 0.4rem 1.4rem;
  border-radius: 2rem;
  margin-top: 0.6rem;
}

/* Bullet Points Container */
.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-bottom: 2.5rem;
}

.point-card {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  padding: 1.6rem;
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.point-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 8px 22px rgba(59, 130, 246, 0.2);
}

.point-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1.2rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(124, 58, 237, 0.18));
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  flex-shrink: 0;
}

.point-text strong {
  display: block;
  font-size: 1.45rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.point-text p {
  font-size: 1.3rem;
  color: #cbd5e1;
  line-height: 1.5;
  font-family: "Nunito", sans-serif;
  text-transform: none;
}

.resumebtn {
  margin-top: 1rem;
}

.resumebtn .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 2.8rem;
  border-radius: 1.2rem;
  transition: all 0.3s ease;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  box-shadow: 0px 8px 20px rgba(37, 99, 235, 0.35);
  font-family: "Nunito", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
}

.resumebtn .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0px 12px 25px rgba(37, 99, 235, 0.45);
  background: linear-gradient(135deg, #1d4ed8, #6d28d9);
}

/* =====================================================================
   Skills Section
   ===================================================================== */
.skills {
  min-height: 90vh;
  background-color: #100e0b;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.skills-content-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
}

.skills .heading {
  color: #fff;
}

.skills .heading span {
  background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.skills .heading i {
  color: #60a5fa;
}

.skills .container {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2rem;
  padding: 3.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.skills .container .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
}

.skills .container .bar {
  flex: 0 1 14.5rem;
  width: 14.5rem;
  min-width: 12.5rem;
  padding: 1.6rem 1.2rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skills .container .bar:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(96, 165, 250, 0.5);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.3);
}

.skills .container .bar .info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.skills .container .bar .info img {
  width: 4.8rem;
  height: 4.8rem;
  object-fit: contain;
}

.skills .container .bar .info span {
  font-size: 1.45rem;
  font-weight: 600;
  color: #f3f4f6;
  text-align: center;
}

/* =====================================================================
   Education Section
   ===================================================================== */
.education {
  background: #100e0b;
  color: #fff;
  min-height: 80vh;
  position: relative;
  overflow: hidden;
}

.education .heading {
  color: #fff;
}

.education .heading span {
  background: linear-gradient(135deg, #38bdf8, #818cf8, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.education .heading i {
  color: #38bdf8;
}

.education-content-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
}

.education .box-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 950px;
  margin: 0 auto;
}

.education .box-container .box {
  display: flex;
  flex-direction: row;
  border-radius: 1.8rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transition: all 0.35s ease;
}

.education .box-container .box:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 25px rgba(59, 130, 246, 0.25);
}

.education .box-container .box .image {
  flex: 1 1 25rem;
  min-height: 18rem;
}

.education .box-container .box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.education .box-container .box .content {
  flex: 2 1 45rem;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.education .box-container .box .content h3 {
  font-size: 2.1rem;
  color: #f9fafb;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.education .box-container .box .content p {
  font-size: 1.45rem;
  color: #cbd5e1;
  font-family: "Nunito", sans-serif;
  margin-bottom: 1rem;
}

.education .box-container .box .content h4 {
  font-size: 1.35rem;
  color: #38bdf8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

/* =====================================================================
   Optimized Modern Projects Section
   ===================================================================== */
.work {
  background: #100e0b;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.work .heading {
  color: #fff;
}

.work .heading span {
  background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.work .heading i {
  color: #60a5fa;
}

.work-content-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
}

.projects-modern-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.8rem;
  max-width: 1200px;
  margin: 0 auto 4rem auto;
}

.project-card {
  flex: 1 1 35rem;
  max-width: 38rem;
  min-width: 30rem;
  background: rgba(20, 24, 34, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
  transform: translateZ(0);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 165, 250, 0.5);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(59, 130, 246, 0.25);
}

.project-thumb-wrap {
  height: 18.5rem;
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #111;
}

.project-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-thumb-wrap img {
  transform: scale(1.04);
}

.project-card-body {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.project-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.project-title-row h3 {
  font-size: 2rem;
  color: #fff;
  font-weight: 700;
}

.project-card-body p {
  font-size: 1.4rem;
  color: #cbd5e1;
  font-family: "Nunito", sans-serif;
  line-height: 1.55;
  margin-bottom: 1.6rem;
  text-transform: none;
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.tech-pill {
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.08);
  color: #93c5fd;
  border: 1px solid rgba(147, 197, 253, 0.2);
  font-family: "Nunito", sans-serif;
}

.project-actions {
  display: flex;
  gap: 1.2rem;
}

.btn-project-live {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 0.9rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0b1329;
  background: linear-gradient(135deg, #93c5fd, #60a5fa);
  transition: all 0.25s ease;
}

.btn-project-live:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(96, 165, 250, 0.5);
  background: linear-gradient(135deg, #bfdbfe, #93c5fd);
}

.btn-project-code {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 0.9rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s ease;
}

.btn-project-code:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.work .viewall {
  display: flex;
  justify-content: center;
}

.work .viewall .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.3rem 3rem;
  border-radius: 1.2rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.work .viewall .btn:hover {
  background: #fff;
  color: #111;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.25);
}

/* =====================================================================
   Full-Screen Sticky Reveal Footer (Pops Up After Main Page Finishes)
   ===================================================================== */
.sticky-footer {
  position: relative;
  height: 100vh;
  width: 100%;
  clip-path: polygon(0% 0, 100% 0%, 100% 100%, 0 100%);
  background: #141812;
  overflow: hidden;
  color: #fff;
  z-index: 1;
}

.sticky-footer-inner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  pointer-events: auto;
}

.footer-3d-bg-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

#footer-3d-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.footer-overlay-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(238, 243, 231, 0.12) 0%, rgba(20, 24, 18, 0.65) 60%, rgba(14, 18, 13, 0.92) 100%);
  pointer-events: none;
  z-index: 2;
}

.footer-content-layer {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12vh 6% 4vh 6%;
  pointer-events: none;
}

.footer-content-layer * {
  pointer-events: auto;
}

/* Centered Human Footer Hero */
.footer-minimal-hero {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.footer-title {
  font-size: clamp(4.4rem, 5.5vw, 6.2rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 1.4rem;
  font-family: "Poppins", sans-serif;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
}

.footer-subtitle {
  font-size: clamp(1.6rem, 2vw, 1.85rem);
  color: rgba(255, 255, 255, 0.82);
  font-family: "Nunito", sans-serif;
  line-height: 1.55;
  font-weight: 400;
  max-width: 520px;
  margin: 0 auto 3.4rem auto;
}

/* Action Pills Row */
.footer-action-pills {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.btn-footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 2.6rem;
  border-radius: 5rem;
  font-size: 1.55rem;
  font-weight: 600;
  font-family: "Nunito", sans-serif;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
  transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
}

.btn-footer-pill:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  color: #ffffff;
}

.btn-footer-pill.btn-footer-primary {
  background: linear-gradient(135deg, #2506ad, #6b21a8);
  border-color: rgba(233, 66, 247, 0.45);
  box-shadow: 0 8px 25px rgba(37, 6, 173, 0.45);
  color: #ffffff;
  font-weight: 700;
}

.btn-footer-pill.btn-footer-primary:hover {
  background: linear-gradient(135deg, #1d038f, #581c87);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(233, 66, 247, 0.4);
}

/* Bottom Container with Subtle Divider Line and Tiny Copyright */
.footer-bottom-container {
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
}

.footer-divider-line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 2rem;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.65);
  font-family: "Nunito", sans-serif;
  letter-spacing: 0.02rem;
}

.footer-back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.4rem;
  transition: all 0.25s ease;
}

.footer-back-to-top:hover {
  background: #2506ad;
  border-color: #2506ad;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(37, 6, 173, 0.4);
}

/* Interactive Get in Touch Modal Overlay */
.message-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 10, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100005;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.message-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.message-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: rgba(20, 24, 35, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2.2rem;
  padding: 3.5rem 3rem 3rem 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65), 0 0 30px rgba(37, 6, 173, 0.25);
  transform: scale(0.92) translateY(20px);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.message-modal-overlay.active .message-modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.6rem;
  right: 1.8rem;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #e942f7;
  transform: rotate(90deg);
}

.modal-header {
  margin-bottom: 2.2rem;
}

.modal-header h3 {
  font-size: 2.4rem;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.modal-header h3 i {
  color: #00dfd8;
}

.modal-header p {
  font-size: 1.45rem;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Nunito", sans-serif;
  margin-top: 0.4rem;
}

.modal-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}

.modal-form-grid .form-field-full {
  grid-column: 1 / -1;
}

.modal-form-grid .input-wrap {
  position: relative;
}

.modal-form-grid .input-wrap i {
  position: absolute;
  left: 1.6rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
  transition: color 0.25s ease;
}

.modal-form-grid .input-wrap.textarea-wrap i {
  top: 1.8rem;
  transform: none;
}

.modal-form-grid .input-wrap input,
.modal-form-grid .input-wrap textarea {
  width: 100%;
  padding: 1.3rem 1.6rem 1.3rem 4.4rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.2rem;
  font-family: "Nunito", sans-serif;
  font-size: 1.5rem;
  color: #fff;
  transition: all 0.25s ease;
}

.modal-form-grid .input-wrap textarea {
  min-height: 12rem;
  resize: vertical;
}

.modal-form-grid .input-wrap input::placeholder,
.modal-form-grid .input-wrap textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.modal-form-grid .input-wrap input:focus,
.modal-form-grid .input-wrap textarea:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: #00dfd8;
  box-shadow: 0 0 16px rgba(0, 223, 216, 0.25);
}

.modal-form-grid .input-wrap input:focus ~ i,
.modal-form-grid .input-wrap textarea:focus ~ i {
  color: #00dfd8;
}

.modal-form-grid .form-submit-area {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  margin-top: 0.8rem;
}

.modal-form-grid .btn-glow-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.3rem 3rem;
  border-radius: 1.2rem;
  font-family: "Nunito", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #2506ad, #6b21a8);
  box-shadow: 0 6px 20px rgba(37, 6, 173, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-form-grid .btn-glow-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(37, 6, 173, 0.6);
  background: linear-gradient(135deg, #1d038f, #581c87);
}



/* =====================================================================
   Responsive Media Queries
   ===================================================================== */
@media (max-width: 992px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
  }
  .about .row {
    flex-direction: column;
    text-align: center;
  }
  .about-points {
    grid-template-columns: 1fr;
  }
  .about .row .image {
    margin-bottom: 2rem;
  }
}

@media (max-width: 600px) {
  html {
    font-size: 55%;
  }
  section {
    padding: 8rem 5% 4rem 5%;
  }
  .project-card {
    max-width: 100%;
    width: 100%;
  }
  .footer-content-layer {
    padding: 4rem 5% 2rem 5%;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
  }
  .footer-quick-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}
