/* ======================================================================
   SECTION: ROOT VARIABLES & THEME
   ====================================================================== */
:root {
  --bg-color: #050505;
  --card-bg: rgba(255, 255, 255, 0.03);
  --text-color: #ffffff;
  --text-muted: #aaaaaa;
  --accent: #00ff88;
  --nav-bg: rgba(10, 10, 10, 0.6);
  --border: rgba(255, 255, 255, 0.08);
  --btn-text: #000000;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
}
[data-theme="light"] {
  --bg-color: #f2f2f5;
  --card-bg: rgba(255, 255, 255, 0.6);
  --text-color: #1d1d1f;
  --text-muted: #6e6e73;
  --accent: #2970ff;
  --nav-bg: rgba(255, 255, 255, 0.7);
  --border: rgba(0, 0, 0, 0.05);
  --btn-text: #ffffff;
}
/* ----------------------------------------------------------------------
   END: ROOT VARIABLES & THEME
   ---------------------------------------------------------------------- */
/* ======================================================================
   SECTION: GLOBAL RESET & BASE STYLES
   ====================================================================== */
*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-x: hidden;
}
body {
  background: var(--bg-color);
  color: var(--text-color);
  font-family: Outfit, sans-serif;
  overflow-x: hidden;
  cursor: auto;
  transition:
    background 0.4s ease,
    color 0.4s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
a {
  text-decoration: none;
  color: inherit;
}
ol,
ul {
  list-style: none;
}
button {
  cursor: pointer;
  font-family: inherit;
}
.text-center {
  text-align: center;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
section {
  padding: 100px 5%;
}
/* ----------------------------------------------------------------------
   END: GLOBAL RESET & BASE STYLES
   ---------------------------------------------------------------------- */
/* ======================================================================
   SECTION: PRELOADER
   ====================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-color);
  z-index: 99999;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}
.loader-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.preloader-img {
  width: 120px;
  height: auto;
  display: block;
}
[data-theme="dark"] .preloader-img {
  filter: invert(1) brightness(2);
}
.loader-bar {
  width: 220px;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}
.loader-progress {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.9s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
/* ----------------------------------------------------------------------
   END: PRELOADER
   ---------------------------------------------------------------------- */
/* ======================================================================
   SECTION: BACKGROUND BLOBS / AMBIENT EFFECTS
   ====================================================================== */
.background-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.blob-1 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  top: -100px;
  left: -100px;
}
.blob-2 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  bottom: -50px;
  right: -50px;
}
@media (max-width: 768px) {
  .background-blobs {
    display: none;
  }
}
/* ----------------------------------------------------------------------
   END: BACKGROUND BLOBS / AMBIENT EFFECTS
   ---------------------------------------------------------------------- */
/* ======================================================================
   SECTION: CUSTOM CURSOR
   ====================================================================== */
.cursor {
  width: 40px;
  height: 40px;
  border: 1px solid var(--text-color);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  z-index: 9999;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cursor.active {
  transform: translate(-50%, -50%) scale(2.5);
  background: rgba(255, 255, 255, 0.1);
  border-color: transparent;
}
@media (hover: none), (max-width: 768px) {
  .cursor,
  .cursor-dot {
    display: none;
  }
}
/* ----------------------------------------------------------------------
   END: CUSTOM CURSOR
   ---------------------------------------------------------------------- */
/* ======================================================================
   SECTION: NAVIGATION BAR
   ====================================================================== */
.glass-nav-top {
  position: fixed;
  top: 25px;
  left: 50%;
  transform: translateX(-50%) translate3d(0, 0, 0);
  width: 90%;
  max-width: 950px;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 12px 30px;
  will-change: transform;
}
.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-img {
  height: 35px;
  width: auto;
  transition: filter var(--transition);
}
[data-theme="dark"] .logo-img {
  filter: invert(1) brightness(100%);
}
.logo span {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  color: var(--accent);
  font-size: 1.1rem;
}
.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links a {
  color: var(--text-color);
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.7;
  transition:
    opacity var(--transition),
    color var(--transition);
}
.nav-links a:hover {
  opacity: 1;
  color: var(--accent);
}
.menu-toggle {
  display: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-color);
  background: 0 0;
  border: none;
  padding: 5px;
  line-height: 1;
}
.theme-switch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-color);
  transition:
    background var(--transition),
    color var(--transition);
}
.theme-switch:hover {
  background: var(--accent);
  color: #000;
}
@media (max-width: 768px) {
  .glass-nav-top {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background: var(--bg-color);
    top: 15px;
    padding: 10px 20px;
  }
  .menu-toggle {
    display: block;
  }
    .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    width: 100%;
    background: var(--bg-color);
    flex-direction: column;
    padding: 25px 30px;
    gap: 20px;
    border-radius: 20px;
    border: 1px solid var(--border);
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    z-index: 999;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links li {
    list-style: none;
  }
}
header {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 10% 60px;
  position: relative;
  z-index: 1;
}
/* ----------------------------------------------------------------------
   END: NAVIGATION BAR
   ---------------------------------------------------------------------- */
/* ======================================================================
   SECTION: HERO SECTION
   ====================================================================== */
.hero-container {
  width: 100%;
  max-width: 1100px;
  text-align: left;
  transform: translateZ(0);
}
.code-greeting {
  font-family: "Space Grotesk", monospace;
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}
.hero-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 15px;
}
.text-gradient {
  background: linear-gradient(90deg, var(--accent), var(--text-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.hero-subheadline {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 25px;
}
.hero-bio {
  color: var(--text-muted);
  font-size: clamp(0.9rem, 2vw, 1rem);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.btn-solid {
  display: inline-flex;
  align-items: center;
  padding: 16px 45px;
  background: linear-gradient(90deg, var(--accent), #00cc6a);
  color: #000;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  box-shadow: 0 10px 25px rgba(0, 255, 136, 0.2);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.btn-solid:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 255, 136, 0.4);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 35px;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 50px;
  font-weight: 600;
  transition:
    background var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}
.btn-outline:hover {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}
.hero-socials {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  font-size: 1rem;
  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}
.social-btn:hover {
  border-color: var(--accent);
  color: #000;
  background: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}
@media (max-width: 768px) {
  header {
    padding: 100px 5% 60px;
    justify-content: flex-start;
  }
  .hero-container {
    text-align: center;
  }
  .hero-bio {
    margin: 0 auto 35px;
    text-align: center;
  }
  .cta-group {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }
  .hero-socials {
    justify-content: center;
  }
}
@media (max-width: 380px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-subheadline {
    font-size: 1.3rem;
  }
  .btn-solid {
    padding: 14px 30px;
    font-size: 0.9rem;
  }
}
/* ----------------------------------------------------------------------
   END: HERO SECTION
   ---------------------------------------------------------------------- */
/* ======================================================================
   SECTION: ABOUT SECTION
   ====================================================================== */
.about-section {
  position: relative;
  padding: 120px 5%;
  overflow: hidden;
}
.watermark-text {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%) translateZ(0);
  font-size: clamp(5rem, 15vw, 15rem);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  color: var(--text-color);
  opacity: 0.03;
  z-index: 0;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
  will-change: transform;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.about-img-wrapper {
  position: relative;
}
.img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transform: translateZ(0);
}
.about-img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
  display: block;
}
.img-frame:hover .about-img {
  transform: scale(1.05);
}
.experience-badge {
  position: absolute;
  bottom: 30px;
  right: -20px;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid var(--accent);
  padding: 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 3;
}
@media (min-width: 769px) {
  .experience-badge {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}
.exp-number {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
}
.exp-text {
  font-size: 0.75rem;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.2;
}
.about-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  justify-content: center;
  width: 100%;
}
.section-tag {
  display: block;
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.section-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-align: center;
}
.section-title span {
  color: var(--accent);
}
.section-title .highlight {
  color: var(--accent);
}
.section-subtitle {
  color: var(--text-muted);
  font-size: clamp(0.9rem, 2vw, 1rem);
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.about-content .section-title {
  text-align: left;
}
.about-bio {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.stats-row {
  display: flex;
  gap: 40px;
  margin: 40px 0;
  border-top: 1px solid var(--border);
  padding-top: 30px;
  width: 100%;
  flex-wrap: wrap;
}
.stat-item h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
}
.stat-item h3::after {
  content: "+";
  color: var(--accent);
  font-size: 1.2rem;
  vertical-align: top;
}
.stat-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn-wrapper {
  margin-top: 10px;
}
@media (max-width: 968px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about-content {
    align-items: center;
    text-align: center;
  }
  #about .about-bio,
  #about .section-tag,
  #about .section-title {
    text-align: center !important;
  }
  .stats-row {
    justify-content: center;
    gap: 20px;
  }
  .watermark-text {
    font-size: clamp(4rem, 20vw, 8rem);
    top: 15%;
  }
  .experience-badge {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -20px auto 0;
    width: fit-content;
  }
}
@media (max-width: 480px) {
  .about-section {
    padding: 80px 5%;
  }
  .stats-row {
    gap: 15px;
  }
  .stat-item h3 {
    font-size: 2rem;
  }
  .experience-badge {
    padding: 15px;
  }
}
/* ----------------------------------------------------------------------
   END: ABOUT SECTION
   ---------------------------------------------------------------------- */
/* ======================================================================
   SECTION: SERVICES SECTION
   ====================================================================== */
.service-section {
  padding: 100px 5%;
}
.carousel-container {
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  will-change: transform;
}
.carousel-track {
  display: flex;
  gap: 25px;
  width: max-content;
  transform: translateZ(0);
}
.service-card {
  width: 280px;
  background: var(--card-bg);
  padding: 45px 25px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-decoration: none;
  text-align: center;
  flex-shrink: 0;
  color: var(--text-color);
  transition:
    transform 0.4s ease,
    border-color 0.4s ease;
}
.service-card h3 {
  font-family: "Space Grotesk", sans-serif;
  margin-top: 15px;
  font-size: 1.1rem;
}
.icon-box {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--accent);
  font-size: 1.8rem;
  transition:
    background 0.4s ease,
    color 0.4s ease;
}
@media (hover: hover) {
  .service-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .service-card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
  }
  .service-card:hover .icon-box {
    background: var(--accent);
    color: #000;
  }
}
@media (hover: none) {
  .service-card:active {
    border-color: var(--accent);
    transform: scale(0.97);
  }
}
@media (max-width: 768px) {
  .carousel-container {
    mask-image: linear-gradient(
      to right,
      transparent,
      black 5%,
      black 95%,
      transparent
    );
    -webkit-mask-image: linear-gradient(
      to right,
      transparent,
      black 5%,
      black 95%,
      transparent
    );
  }
  .service-card {
    width: 220px;
    padding: 30px 20px;
  }
}
/* ----------------------------------------------------------------------
   END: SERVICES SECTION
   ---------------------------------------------------------------------- */
/* ======================================================================
   SECTION: PORTFOLIO SECTION - GRID & FILTERS
   ====================================================================== */
.portfolio-section {
  padding: 80px 0;
  background: 0 0;
}
.portfolio-section .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 50px;
  flex-wrap: wrap;
  padding: 0 5%;
}
.filter-btn {
  padding: 10px 22px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: Outfit, sans-serif;
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    font-weight var(--transition);
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  font-weight: 700;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  align-items: stretch;
  padding: 0 5%;
}
@media (max-width: 991px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .portfolio-filters {
    gap: 8px;
  }
  .filter-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}
.portfolio-item {
  transition: opacity 0.4s ease;
}
.portfolio-item.hidden {
  display: none !important;
}
.portfolio-card {
  position: relative;
  display: block;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  line-height: 0;
  isolation: isolate;
}
.portfolio-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}
@media (hover: hover) {
  .portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
  .portfolio-card:hover img {
    transform: scale(1.08);
  }
}
.portfolio-card.mixed-layout {
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}
.portfolio-content.epic-style {
  padding: 15px 18px;
  background: var(--bg-color);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.3s ease;
}
.tech-stack {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.tech-badge {
  font-size: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border);
  font-weight: 600;
  white-space: nowrap;
}
.epic-style h3 {
  font-size: 1.1rem;
  color: var(--text-color);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.3;
  margin: 0;
}
.epic-style h3 .version {
  font-size: 0.6rem;
  background: var(--accent);
  color: #000;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 700;
  white-space: nowrap;
}
[data-theme="light"] .epic-style h3 .version {
  color: #fff;
}
.epic-style p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.4;
  margin-bottom: 8px;
}
.epic-style p .highlight {
  color: var(--text-color);
  font-weight: 600;
  border-bottom: 1px dashed var(--accent);
}
.epic-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.82rem;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #000;
  transition: all 0.3s ease;
}
@media (hover: hover) {
  .epic-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px var(--accent);
    transform: translateY(-2px);
    color: #fff !important;
    border-color: #fff;
  }
}
[data-theme="light"] .epic-btn {
  color: #fff !important;
}
[data-theme="light"] .epic-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: #000;
  color: #000 !important;
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.15));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  transition: transform 0.4s ease;
  transform: translateY(100%);
  z-index: 2;
  line-height: 1.5;
}
.portfolio-info h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
  color: #fff;
  transform: translateY(20px);
  opacity: 0;
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}
.portfolio-info span {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  transform: translateY(20px);
  opacity: 0;
  transition:
    transform 0.4s 0.1s ease,
    opacity 0.4s 0.1s ease;
  display: block;
}
.portfolio-link {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 1.1rem;
  text-decoration: none;
  transform: scale(0) rotate(-45deg);
  transition: transform 0.4s 0.2s ease;
}
.portfolio-card:hover .portfolio-overlay {
  transform: translateY(0);
}
.portfolio-card:hover .portfolio-info h3,
.portfolio-card:hover .portfolio-info span {
  transform: translateY(0);
  opacity: 1;
}
.portfolio-card:hover .portfolio-link {
  transform: scale(1) rotate(0);
}
.load-more-container {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  padding: 0 5%;
}
#loadMoreBtn {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 35px;
}
#loadMoreBtn:hover {
  background: 0 0;
  color: var(--accent);
  border-color: var(--accent);
}
[data-theme="light"] #loadMoreBtn {
  background: #2970ff;
  color: #fff;
  border-color: #2970ff;
}
[data-theme="light"] #loadMoreBtn:hover {
  background: 0 0;
  color: #2970ff;
  border-color: #2970ff;
}
/* ----------------------------------------------------------------------
   END: PORTFOLIO SECTION - GRID & FILTERS
   ---------------------------------------------------------------------- */
/* ======================================================================
   SECTION: PORTFOLIO CARD MOCKUPS (ILLUSTRATIONS)
   ====================================================================== */
/* ---- Desktop / Dashboard Mockup ---- */
.desktop-wrapper {
  width: 100%;
  height: 250px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #0f172a 0, #1e293b 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.desktop-wrapper::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.12) 0,
    transparent 70%
  );
  top: -50px;
  right: -50px;
  z-index: 0;
  pointer-events: none;
}
.monitor-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
  z-index: 1;
  transform: scale(0.9);
}
.portfolio-card:hover .monitor-stack {
  transform: scale(0.9) translateY(-10px);
}
.monitor-bezel {
  width: 280px;
  height: 170px;
  background: linear-gradient(to bottom, #222, #000);
  border-radius: 8px;
  border: 2px solid #333;
  padding: 6px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
}
.monitor-neck {
  width: 40px;
  height: 20px;
  background: #222;
  margin-top: -2px;
  z-index: -1;
}
.monitor-base {
  width: 100px;
  height: 8px;
  background: #333;
  border-radius: 4px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}
.desktop-screen {
  width: 100%;
  height: 100%;
  background: #f1f5f9;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  position: relative;
}
.ds-sidebar {
  width: 40px;
  height: 100%;
  background: #1e293b;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 15px;
  gap: 10px;
}
.ds-sidebar-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.5rem;
}
.ds-sidebar-icon.active {
  background: #3b82f6;
  color: #fff;
}
.ds-main {
  flex: 1;
  padding: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.ds-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 5px;
}
.ds-title {
  width: 50px;
  height: 6px;
  background: #94a3b8;
  border-radius: 3px;
}
.ds-btn {
  padding: 3px 8px;
  background: #cbd5e1;
  border-radius: 3px;
  color: #fff;
  font-size: 0.5rem;
  font-weight: 700;
  animation: clickDesktopBtn 6s infinite;
}
.ds-table {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ds-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 4px 6px;
  border-radius: 3px;
  border: 1px solid #e2e8f0;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}
.ds-row-info {
  display: flex;
  gap: 6px;
  align-items: center;
}
.ds-icon {
  width: 14px;
  height: 14px;
  background: #e2e8f0;
  border-radius: 3px;
}
.ds-text {
  width: 50px;
  height: 4px;
  background: #cbd5e1;
  border-radius: 2px;
}
.ds-row.target {
  animation: selectDesktopRow 6s infinite;
}
@keyframes selectDesktopRow {
  0%,
  10% {
    background: #fff;
    border-color: #e2e8f0;
  }
  15%,
  35% {
    background: #eff6ff;
    border-color: #3b82f6;
  }
  100%,
  40% {
    background: #fff;
    border-color: #e2e8f0;
  }
}
@keyframes clickDesktopBtn {
  0%,
  20% {
    background: #cbd5e1;
    transform: scale(1);
  }
  25% {
    background: #2563eb;
    transform: scale(0.9);
  }
  30% {
    background: #2563eb;
    transform: scale(1);
  }
  100%,
  35% {
    background: #cbd5e1;
  }
}
.ds-invoice {
  position: absolute;
  bottom: 0;
  right: 15px;
  width: 120px;
  height: 90px;
  background: #fff;
  border-radius: 5px 5px 0 0;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  transform: translateY(110%);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: slideUpInvoice 6s infinite;
  z-index: 10;
}
@keyframes slideUpInvoice {
  0%,
  35% {
    transform: translateY(110%);
  }
  40%,
  75% {
    transform: translateY(0);
  }
  100%,
  80% {
    transform: translateY(110%);
  }
}
.inv-header {
  width: 40%;
  height: 4px;
  background: #64748b;
  margin-bottom: 4px;
}
.inv-row {
  width: 100%;
  height: 3px;
  background: #e2e8f0;
}
.inv-total {
  width: 50%;
  height: 5px;
  background: #22c55e;
  margin-top: auto;
  border-radius: 2px;
}
.ds-success {
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%) scale(0);
  background: #10b981;
  color: #fff;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.6rem;
  font-weight: 700;
  z-index: 20;
  animation: popSuccessDesktop 6s infinite;
}
@keyframes popSuccessDesktop {
  0%,
  65% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
  70%,
  80% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100%,
  85% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
}
.ds-cursor {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.8);
  text-shadow: 0 0 2px #fff;
  z-index: 50;
  pointer-events: none;
  animation: moveMouseDesktop 6s infinite;
}
@keyframes moveMouseDesktop {
  0% {
    top: 150px;
    left: 250px;
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  15% {
    top: 70px;
    left: 120px;
    transform: scale(1);
  }
  20% {
    transform: scale(0.8);
  }
  25% {
    transform: scale(1);
  }
  30% {
    top: 25px;
    left: 215px;
  }
  35% {
    transform: scale(0.8);
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
/* ---- Tablet / Database Scan Mockup ---- */
.tablet-bezel {
  width: 260px;
  height: 170px;
  background: #1d1d1f;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.tablet-screen {
  width: 100%;
  height: 100%;
  background: #0f172a;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.tablet-cam {
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: #333;
  border-radius: 50%;
}
.db-grid {
  padding: 15px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.db-item {
  height: 25px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}
.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #eab308;
  box-shadow: 0 0 15px #eab308;
  animation: scanMove 2.5s infinite linear;
  z-index: 10;
}
.scan-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(234, 179, 8, 0) 0,
    rgba(234, 179, 8, 0.08) 50%,
    rgba(234, 179, 8, 0) 100%
  );
  animation: scanMove 2.5s infinite linear;
  transform: translateY(-100%);
}
@keyframes scanMove {
  0% {
    top: -10%;
  }
  100% {
    top: 110%;
  }
}
.scan-badge {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.3);
  color: #eab308;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
/* ---- Admit Card Mockup ---- */
.card-portal {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 900px;
}
.admit-card {
  width: 150px;
  height: 100px;
  background: linear-gradient(145deg, #241b3a, #14101f);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  padding: 12px;
  display: grid;
  grid-template-columns: 32px 1fr;
  grid-template-rows: auto auto;
  gap: 6px 10px;
  position: relative;
  transition: transform 0.5s ease;
}
.portfolio-card:hover .admit-card {
  transform: rotateY(-8deg) rotateX(4deg) translateY(-6px);
}
.card-photo {
  grid-row: 1/3;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #3a2d5c;
  border: 1px solid #8b5cf6;
}
.card-text {
  height: 6px;
  border-radius: 3px;
  align-self: center;
}
.card-barcode {
  grid-column: 2;
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    #fff 0,
    #fff 2px,
    transparent 2px,
    transparent 4px
  );
  opacity: 0.7;
  border-radius: 2px;
}
.card-seal {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #8b5cf6;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.6);
  animation: sealPulse 2s ease-in-out infinite;
}
@keyframes sealPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.8;
  }
}
/* ---- ID Card Mockup ---- */
.id-wrapper {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}
.id-card {
  width: 140px;
  height: 200px;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border-radius: 12px;
  border: 1px solid rgba(168, 85, 247, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 15px;
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
}
.portfolio-card:hover .id-card {
  transform: rotateY(10deg) rotateX(5deg) translateY(-10px);
  box-shadow: -10px 20px 40px rgba(0, 0, 0, 0.6);
}
.id-hole {
  width: 30px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 15px;
}
.id-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #334155;
  border: 2px solid #a855f7;
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
}
.id-photo::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: rgba(168, 85, 247, 0.5);
  border-radius: 50%;
}
.id-lines {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.id-line {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}
.id-line.short {
  width: 60%;
}
.id-line.long {
  width: 90%;
}
.id-badge {
  margin-top: auto;
  background: rgba(168, 85, 247, 0.2);
  color: #a855f7;
  font-size: 0.6rem;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(168, 85, 247, 0.4);
  display: flex;
  align-items: center;
  gap: 5px;
  animation: pulseBadge 2s infinite;
}
@keyframes pulseBadge {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(168, 85, 247, 0);
  }
  50% {
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
  }
}
.id-bg-circle {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px dashed rgba(168, 85, 247, 0.1);
  border-radius: 50%;
  z-index: -1;
  animation: spinSlow 10s infinite linear;
}
@keyframes spinSlow {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}
/* ---- Cyber Security Cover Mockup ---- */
.cyber-cover {
  height: 300px;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(-45deg, #3a1c71, #d76d77, #ffaf7b);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}
.cyber-content {
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cyber-icon {
  font-size: 60px;
  color: #fff;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.cyber-text {
  color: #fff;
  font-family: sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition:
    background 0.3s,
    color 0.3s,
    box-shadow 0.3s;
}
.cyber-circle {
  position: absolute;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  top: -50px;
  right: -50px;
  z-index: 1;
  filter: blur(30px);
}
.portfolio-card:hover .cyber-icon {
  transform: scale(1.25) rotate(8deg);
}
.portfolio-card:hover .cyber-text {
  background: #fff;
  color: #3a1c71;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}
@keyframes gradientBG {
  0% {
    background-position: 0 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
/* ---- Mobile App Preview Mockup (pf-) ---- */
.pf-wrapper {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 10px;
}
.pf-mobile-frame {
  width: 100px;
  height: 180px;
  background: #1e293b;
  border: 2px solid #38bdf8;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.pf-mobile-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 12px;
  background: #0f172a;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  z-index: 10;
}
.pf-mobile-screen {
  width: 100%;
  height: 100%;
  background: #0f172a;
  overflow: hidden;
  position: relative;
}
.pf-scroll-content {
  width: 100%;
  padding: 20px 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: pfScroll 6s linear infinite;
}
@keyframes pfScroll {
  0% {
    transform: translateY(0);
  }
  20% {
    transform: translateY(0);
  }
  80% {
    transform: translateY(-120px);
  }
  100% {
    transform: translateY(0);
  }
}
.pf-ui-hero {
  width: 100%;
  height: 40px;
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 6px;
}
.pf-ui-circle {
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}
.pf-ui-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}
.pf-ui-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.pf-ui-card {
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.pf-ui-text {
  height: 60px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}
/* ---- Ticket Generator Mockup (tg-) ---- */
.tg-wrapper {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 20px;
}
.tg-dispenser {
  width: 140px;
  height: 40px;
  background: #1e293b;
  border-radius: 8px 8px 0 0;
  border: 2px solid #f43f5e;
  border-bottom: none;
  position: relative;
  z-index: 5;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tg-slot {
  position: absolute;
  bottom: -4px;
  left: 10px;
  right: 10px;
  height: 8px;
  background: #000;
  border-radius: 4px;
  z-index: 6;
}
.tg-light {
  width: 8px;
  height: 8px;
  background: #333;
  border-radius: 50%;
  position: absolute;
  top: 10px;
  right: 15px;
  animation: tgBlink 1s infinite;
}
.tg-ticket {
  position: relative;
  width: 120px;
  height: 140px;
  background: #f8fafc;
  border-radius: 0 0 6px 6px;
  margin-top: -5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  padding: 15px 10px;
  gap: 8px;
  overflow: hidden;
  animation: tgPrint 4s ease-in-out infinite;
  transform-origin: top center;
}
.tg-line {
  height: 4px;
  background: #cbd5e1;
  border-radius: 2px;
}
.tg-cut-line {
  width: 100%;
  height: 1px;
  border-bottom: 2px dashed #94a3b8;
  margin-top: 5px;
}
.tg-qr-box {
  margin-top: auto;
  width: 40px;
  height: 40px;
  background: #1e293b;
  align-self: flex-end;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  padding: 2px;
}
.tg-qr-dot {
  background: #f8fafc;
  opacity: 0.5;
}
@keyframes tgPrint {
  0% {
    height: 0;
    opacity: 0;
  }
  20% {
    height: 40px;
    opacity: 1;
  }
  70% {
    height: 140px;
  }
  90% {
    height: 140px;
    transform: translateY(0);
  }
  100% {
    height: 140px;
    transform: translateY(20px);
    opacity: 0;
  }
}
@keyframes tgBlink {
  0%,
  100% {
    background: #333;
    box-shadow: none;
  }
  50% {
    background: #f43f5e;
    box-shadow: 0 0 8px #f43f5e;
  }
}
/* ---- Greeting Bot Mockup (gb-) ---- */
.gb-wrapper {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.gb-floating-card {
  width: 150px;
  height: 190px;
  background: #1e293b;
  border: 1px solid rgba(249, 115, 22, 0.4);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  animation: gbFloat 4s ease-in-out infinite;
}
.gb-hero-header {
  width: 100%;
  height: 70px;
  background: linear-gradient(120deg, #334155 30%, #475569 50%, #334155 70%);
  background-size: 200% 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  animation: gbShimmer 3s infinite linear;
}
.gb-icon-bubble {
  position: absolute;
  bottom: -15px;
  right: 12px;
  width: 34px;
  height: 34px;
  background: #f97316;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  z-index: 10;
}
.gb-body-content {
  padding: 25px 15px 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gb-text-line {
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
.gb-heart-pop {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 26px;
  height: 26px;
  background: #ef4444;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 11px;
  animation: gbHeartBeat 2s infinite;
}
@keyframes gbFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes gbShimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}
@keyframes gbHeartBeat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}
/* ---- Laptop Showcase Mockup ---- */
.laptop-showcase {
  width: 220px;
}
.laptop-screen {
  width: 100%;
  height: 150px;
  background: #0d1b2a;
  border: 2px solid rgba(0, 212, 255, 0.25);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  animation: lapFloat 4s ease-in-out infinite;
}
.lap-navbar {
  height: 18px;
  background: #16213e;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
  flex-shrink: 0;
}
.lap-navbar::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00d4ff;
  box-shadow:
    12px 0 0 rgba(255, 255, 255, 0.15),
    24px 0 0 rgba(255, 255, 255, 0.15);
}
.lap-hero {
  height: 50px;
  margin: 10px;
  border-radius: 6px;
  background-size: 200% 100%;
  animation: lapShimmer 3s linear infinite;
}
.lap-content {
  display: flex;
  gap: 6px;
  padding: 0 10px 10px;
  flex: 1;
}
.lap-box {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 4px;
  animation: lapBoxPulse 2.5s ease-in-out infinite;
}
.lap-box:nth-child(2) {
  animation-delay: 0.3s;
}
.lap-box:nth-child(3) {
  animation-delay: 0.6s;
}
@keyframes lapFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes lapShimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}
@keyframes lapBoxPulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}
/* ---- Fixture Card Mockup ---- */
.fixture-card {
  width: 170px;
  background: #14141f;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(227, 25, 55, 0.2);
}
.fixture-header {
  height: 28px;
}
.fixture-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.fixture-row {
  height: 14px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}
.fixture-row.active {
  background: rgba(227, 25, 55, 0.12);
  border-color: rgba(227, 25, 55, 0.5);
  animation: fixtureGlow 2.5s ease-in-out infinite;
}
.fixture-medal {
  align-self: center;
  margin-top: 6px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f8d347, #e3a91f);
  color: #4a2c00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 6px 14px rgba(248, 211, 71, 0.4);
  animation: medalBounce 2.5s ease-in-out infinite;
}
@keyframes fixtureGlow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(227, 25, 55, 0);
  }
  50% {
    box-shadow: 0 0 12px rgba(227, 25, 55, 0.5);
  }
}
@keyframes medalBounce {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-6px) rotate(8deg);
  }
}
/* ---- Work Timeline Mini Mockup ---- */
.work-timeline {
  width: 200px;
  height: 170px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-bar {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 50%;
  height: 3px;
  background: rgba(99, 102, 241, 0.2);
  border-radius: 3px;
  transform: translateY(-50%);
}
.work-timeline .timeline-dot {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2a2a3d;
  border: 2px solid #6366f1;
  transform: translateY(-50%);
  z-index: 2;
}
.work-timeline .timeline-dot:first-child {
  left: 20px;
}
.work-timeline .timeline-dot:nth-child(2) {
  left: 50%;
  margin-left: -6px;
}
.work-timeline .timeline-dot:nth-child(3) {
  right: 20px;
}
.work-timeline .timeline-dot.active {
  background: #6366f1;
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.8);
  animation: dotPulse 2s ease-in-out infinite;
}
.work-card {
  position: absolute;
  bottom: 20px;
  width: 110px;
  background: #1a1a2e;
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  animation: workCardFloat 3.5s ease-in-out infinite;
}
.work-title {
  height: 6px;
  width: 70%;
  background: #6366f1;
  border-radius: 3px;
  margin-bottom: 8px;
}
.work-time {
  height: 4px;
  width: 45%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}
@keyframes dotPulse {
  0%,
  100% {
    transform: translateY(-50%) scale(1);
  }
  50% {
    transform: translateY(-50%) scale(1.3);
  }
}
@keyframes workCardFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
/* ---- Mobile Device App Mockup ---- */
.mobile-device {
  width: 110px;
  height: 190px;
  background: #0b1f17;
  border: 2px solid #10b981;
  border-radius: 18px;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.mobile-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 12px;
  background: #061410;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  z-index: 5;
}
.mobile-app {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 16px;
  gap: 8px;
  position: relative;
}
.app-header {
  height: 34px;
  margin: 0 8px;
  border-radius: 6px;
}
.app-task {
  height: 22px;
  margin: 0 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 5px;
}
.app-task.active {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.5);
  animation: taskCheck 3s ease-in-out infinite;
}
.app-fab {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #06281c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  box-shadow: 0 6px 15px rgba(16, 185, 129, 0.5);
  animation: fabPop 2.5s ease-in-out infinite;
}
@keyframes taskCheck {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(3px);
  }
}
@keyframes fabPop {
  0%,
  100% {
    transform: scale(1) rotate(0);
  }
  50% {
    transform: scale(1.15) rotate(90deg);
  }
}
/* ---- Football Lineup Builder Mockup ---- */
.field-builder {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.pitch {
  position: absolute;
  inset: 15px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.25);
}
.pitch::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}
.pitch::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.player-icon {
  position: absolute;
  font-size: 1.4rem;
  color: #ec4899;
  text-shadow: 0 0 10px rgba(236, 72, 153, 0.8);
  z-index: 3;
  animation: playerMove 5s ease-in-out infinite;
}
.lineup-info {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 8px;
  background: rgba(236, 72, 153, 0.15);
  border: 1px solid rgba(236, 72, 153, 0.4);
  border-radius: 10px;
  z-index: 3;
}
@keyframes playerMove {
  0% {
    top: 30%;
    left: 30%;
  }
  25% {
    top: 20%;
    left: 60%;
  }
  50% {
    top: 55%;
    left: 65%;
  }
  75% {
    top: 60%;
    left: 25%;
  }
  100% {
    top: 30%;
    left: 30%;
  }
}
/* ---- Experience Showcase Cards Mockup ---- */
.exp-showcase {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.exp-card {
  width: 55px;
  height: 90px;
  background: #101c1b;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  animation: expFloat 3.5s ease-in-out infinite;
}
.exp-card:first-child {
  animation-delay: 0s;
}
.exp-card:nth-child(2) {
  animation-name: expFloatMid;
  animation-delay: 0.4s;
}
.exp-card:nth-child(3) {
  animation-delay: 0.8s;
}
@keyframes expFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes expFloatMid {
  0%,
  100% {
    transform: translateY(-10px);
  }
  50% {
    transform: translateY(-20px);
  }
}
/* ---- Link Hub Mockup ---- */
.link-hub {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.link-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(217, 70, 239, 0.5);
  animation: avatarGlow 2.5s ease-in-out infinite;
  margin-bottom: 6px;
}
.link-item {
  width: 130px;
  height: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(217, 70, 239, 0.25);
  border-radius: 20px;
  opacity: 0;
  animation:
    linkFadeIn 0.5s ease forwards,
    linkFloat 3s ease-in-out infinite;
}
.link-item:nth-child(2) {
  animation-delay: 0.1s, 0s;
}
.link-item:nth-child(3) {
  animation-delay: 0.25s, 0.3s;
}
.link-item:nth-child(4) {
  animation-delay: 0.4s, 0.6s;
}
.link-item:nth-child(5) {
  animation-delay: 0.55s, 0.9s;
}
@keyframes avatarGlow {
  0%,
  100% {
    box-shadow: 0 0 15px rgba(217, 70, 239, 0.4);
  }
  50% {
    box-shadow: 0 0 26px rgba(217, 70, 239, 0.7);
  }
}
@keyframes linkFadeIn {
  to {
    opacity: 1;
  }
}
@keyframes linkFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}
/* ---- Project Preview Mockup ---- */
.project-preview {
  width: 190px;
  background: #1a1030;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  position: relative;
  animation: previewFloat 4s ease-in-out infinite;
}
.prev-header {
  height: 26px;
}
.prev-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.prev-item {
  height: 14px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
}
.prev-item:nth-child(2) {
  width: 70%;
}
.prev-badge {
  position: absolute;
  top: 6px;
  right: 8px;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.5px;
}
@keyframes previewFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}
/* ---- Education Card Mockup ---- */
.education-card {
  width: 180px;
  background: #0c1c22;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  position: relative;
  animation: eduFloat 4s ease-in-out infinite;
}
.edu-header {
  height: 55px;
}
.edu-badge {
  position: absolute;
  top: 35px;
  left: 12px;
  background: #06b6d4;
  color: #00232b;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(6, 182, 212, 0.4);
}
.edu-items {
  padding: 20px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.edu-item {
  height: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
}
.edu-item:nth-child(2) {
  width: 60%;
}
@keyframes eduFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
/* ---- Reveal-on-Scroll Animation Triggers ---- */
.app-fab,
.app-task.active,
.card-seal,
.cyber-cover,
.ds-btn,
.ds-cursor,
.ds-invoice,
.ds-row.target,
.ds-success,
.education-card,
.exp-card,
.fixture-medal,
.fixture-row.active,
.gb-floating-card,
.gb-heart-pop,
.gb-hero-header,
.id-badge,
.id-bg-circle,
.lap-box,
.lap-hero,
.laptop-screen,
.link-avatar,
.link-item,
.pf-scroll-content,
.player-icon,
.project-preview,
.scan-line,
.scan-overlay,
.tg-light,
.tg-ticket,
.work-card,
.work-timeline .timeline-dot.active {
  animation-play-state: paused;
}
.portfolio-card.in-view .app-fab,
.portfolio-card.in-view .app-task.active,
.portfolio-card.in-view .card-seal,
.portfolio-card.in-view .cyber-cover,
.portfolio-card.in-view .ds-btn,
.portfolio-card.in-view .ds-cursor,
.portfolio-card.in-view .ds-invoice,
.portfolio-card.in-view .ds-row.target,
.portfolio-card.in-view .ds-success,
.portfolio-card.in-view .education-card,
.portfolio-card.in-view .exp-card,
.portfolio-card.in-view .fixture-medal,
.portfolio-card.in-view .fixture-row.active,
.portfolio-card.in-view .gb-floating-card,
.portfolio-card.in-view .gb-heart-pop,
.portfolio-card.in-view .gb-hero-header,
.portfolio-card.in-view .id-badge,
.portfolio-card.in-view .id-bg-circle,
.portfolio-card.in-view .lap-box,
.portfolio-card.in-view .lap-hero,
.portfolio-card.in-view .laptop-screen,
.portfolio-card.in-view .link-avatar,
.portfolio-card.in-view .link-item,
.portfolio-card.in-view .pf-scroll-content,
.portfolio-card.in-view .player-icon,
.portfolio-card.in-view .project-preview,
.portfolio-card.in-view .scan-line,
.portfolio-card.in-view .scan-overlay,
.portfolio-card.in-view .tg-light,
.portfolio-card.in-view .tg-ticket,
.portfolio-card.in-view .work-card,
.portfolio-card.in-view .work-timeline .timeline-dot.active {
  animation-play-state: running;
}
@media (max-width: 600px) {
  .education-card,
  .fixture-card,
  .laptop-showcase,
  .project-preview,
  .work-timeline {
    transform: scale(0.9);
  }
  .exp-showcase {
    gap: 10px;
  }
  .link-item {
    width: 110px;
  }
  .app-fab,
  .app-task.active,
  .card-seal,
  .cyber-cover,
  .ds-btn,
  .ds-cursor,
  .ds-invoice,
  .ds-row.target,
  .ds-success,
  .education-card,
  .exp-card,
  .fixture-medal,
  .fixture-row.active,
  .gb-floating-card,
  .gb-heart-pop,
  .gb-hero-header,
  .id-badge,
  .id-bg-circle,
  .lap-box,
  .lap-hero,
  .laptop-screen,
  .link-avatar,
  .link-item,
  .pf-scroll-content,
  .player-icon,
  .project-preview,
  .scan-line,
  .scan-overlay,
  .tg-light,
  .tg-ticket,
  .work-card,
  .work-timeline .timeline-dot.active {
    animation: none !important;
  }
  .cyber-circle,
  .id-bg-circle {
    filter: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  ::after,
  ::before {
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
  }
}
/* ----------------------------------------------------------------------
   END: PORTFOLIO CARD MOCKUPS (ILLUSTRATIONS)
   ---------------------------------------------------------------------- */
/* ======================================================================
   SECTION: EXPERIENCE / WORK TIMELINE SECTION
   ====================================================================== */
.experience-section {
  padding: 100px 5%;
  position: relative;
  background: 0 0;
  overflow: hidden;
  z-index: 1;
}
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 0;
}
.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-50%);
}
.timeline-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--accent),
    transparent
  );
  opacity: 0.5;
}
.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 40px;
  margin-bottom: 60px;
}
.timeline-item.left {
  left: 0;
  text-align: right;
}
.timeline-item.right {
  left: 50%;
  text-align: left;
}
.timeline-item .timeline-dot {
  position: absolute;
  top: 25px;
  width: 16px;
  height: 16px;
  background: var(--bg-color);
  border: 2px solid var(--accent);
  border-radius: 50%;
  z-index: 2;
  transition:
    background 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 0 10px var(--accent);
}
.timeline-item.left .timeline-dot {
  right: -8px;
}
.timeline-item.right .timeline-dot {
  left: -8px;
}
.timeline-item:hover .timeline-dot {
  background: var(--accent);
  transform: scale(1.3);
  box-shadow: 0 0 20px var(--accent);
}
.timeline-content {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  will-change: transform;
}
@media (min-width: 769px) {
  .timeline-content {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
  }
}
.timeline-content::before {
  content: "";
  position: absolute;
  top: 28px;
  width: 0;
  height: 0;
  border-style: solid;
  z-index: 1;
}
.timeline-item.left .timeline-content::before {
  right: -10px;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent var(--border);
}
.timeline-item.right .timeline-content::before {
  left: -10px;
  border-width: 10px 10px 10px 0;
  border-color: transparent var(--border) transparent transparent;
}
.timeline-item:hover .timeline-content {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.exp-header {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 15px;
}
.exp-role h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  color: var(--text-color);
  margin-bottom: 5px;
}
.company {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}
.exp-date {
  font-family: "Space Grotesk", sans-serif;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 5px;
}
.exp-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
}
.exp-list {
  padding: 0;
  margin: 0;
}
.exp-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-color);
  font-size: 0.9rem;
  margin-bottom: 10px;
  line-height: 1.4;
}
.exp-list li i {
  color: var(--accent);
  font-size: 0.9rem;
  min-width: 20px;
  text-align: center;
  flex-shrink: 0;
}
@media (min-width: 769px) {
  .timeline-item.left .exp-list li {
    flex-direction: row-reverse;
  }
}
.exp-link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 25px;
  padding: 12px 20px;
  background: var(--accent);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.exp-link-btn span {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #000;
}
.exp-link-btn i {
  color: #000;
  font-size: 1rem;
}
.exp-link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}
[data-theme="light"] .exp-link-btn,
[data-theme="light"] .exp-link-btn i,
[data-theme="light"] .exp-link-btn span {
  background: #2970ff;
  border-color: #2970ff;
  color: #fff;
}
.timeline-bg-logo {
  position: absolute;
  top: 20px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 25px rgba(0, 0, 0, 0.5),
    inset 0 0 10px rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  transition:
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    transform 0.4s ease;
}
.timeline-bg-logo img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
  transition: transform 0.4s ease;
}
.timeline-item.right .timeline-bg-logo {
  left: -310px;
  top: 110px;
}
.timeline-item.left .timeline-bg-logo {
  right: -320px;
  top: 120px;
}
.timeline-item:hover .timeline-bg-logo {
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--accent);
  transform: scale(1.08);
}
.timeline-item:hover .timeline-bg-logo img {
  transform: scale(1.1) rotate(5deg);
}
@media (max-width: 768px) {
  .timeline-line {
    left: 24px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 65px;
    padding-right: 15px;
    margin-bottom: 40px;
  }
  .timeline-item.left,
  .timeline-item.right {
    left: 0 !important;
    text-align: left;
  }
  .timeline-item.left .timeline-dot,
  .timeline-item.right .timeline-dot {
    left: 16px;
    right: auto;
  }
  .timeline-item.left .timeline-content::before,
  .timeline-item.right .timeline-content::before {
    left: -10px;
    right: auto;
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--border) transparent transparent;
  }
  .timeline-item.left .exp-list li {
    flex-direction: row;
  }
  .timeline-bg-logo {
    display: none;
  }
  .timeline-content {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
@media (max-width: 480px) {
  .experience-section {
    padding: 60px 5%;
  }
  .exp-role h3 {
    font-size: 1.2rem;
  }
  .timeline-content {
    padding: 20px;
  }
}
/* ----------------------------------------------------------------------
   END: EXPERIENCE / WORK TIMELINE SECTION
   ---------------------------------------------------------------------- */
/* ======================================================================
   SECTION: MARKETPLACE SECTION
   ====================================================================== */
.marketplace-section {
  padding: 100px 5%;
}
.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 50px;
  content-visibility: auto;
  contain-intrinsic-size: 300px;
}
.market-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 30px;
  text-decoration: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background-color var(--transition);
  will-change: transform;
  transform: translateZ(0);
}
.market-status {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid var(--border);
  pointer-events: none;
}
.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite ease-out;
}
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}
.market-icon {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 30px;
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    color var(--transition);
  will-change: transform;
}
.market-info h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: var(--text-color);
}
.market-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 25px;
}
.view-profile {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  opacity: 1;
  transform: translateX(0);
  transition:
    transform var(--transition),
    opacity var(--transition);
}
@media (hover: hover) {
  .view-profile {
    opacity: 0;
    transform: translateX(-10px);
  }
  .market-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
  }
  .market-card:hover .market-icon {
    transform: scale(1.1) rotate(-5deg);
    color: var(--accent);
  }
  .market-card:hover .view-profile {
    opacity: 1;
    transform: translateX(0);
  }
  .market-card:hover .card-glow {
    opacity: 0.25;
  }
  .card-glow {
    position: absolute;
    width: 120px;
    height: 120px;
    background: var(--accent);
    filter: blur(60px);
    bottom: -60px;
    right: -60px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
  }
}
@media (hover: none) {
  .card-glow {
    display: none;
  }
  .market-card:active {
    transform: scale(0.98);
    border-color: var(--accent);
  }
}
[data-theme="light"] .market-card {
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}
[data-theme="light"] .market-status {
  background: rgba(0, 0, 0, 0.03);
}
@media (max-width: 600px) {
  .marketplace-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .market-card {
    padding: 30px 20px;
  }
}
/* ----------------------------------------------------------------------
   END: MARKETPLACE SECTION
   ---------------------------------------------------------------------- */
/* ======================================================================
   SECTION: SKILLS SECTION
   ====================================================================== */
.skills-section {
  padding: 100px 5%;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
  margin-top: 50px;
  content-visibility: auto;
  contain-intrinsic-size: 350px;
}
.skill-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 35px 25px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    border-color 0.4s ease,
    box-shadow 0.4s ease;
  will-change: transform;
  transform: translateZ(0);
}
.skill-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 25px;
  transition:
    transform 0.5s ease,
    background-color 0.4s ease,
    color 0.4s ease,
    border-color 0.4s ease;
  transform-style: preserve-3d;
}
.skill-content h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-color);
}
.skill-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}
.skill-tags span {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 14px;
  border-radius: 30px;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
}
.skill-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  margin-top: auto;
}
.skill-progress-bar .progress {
  height: 100%;
  background: var(--accent);
  border-radius: 10px;
  transform: translateX(-100%);
  animation: fillBar 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.3s;
}
@keyframes fillBar {
  to {
    transform: translateX(0);
  }
}
@media (hover: hover) {
  .skill-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .skill-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.3);
  }
  .skill-card:hover .skill-icon {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    transform: rotateY(360deg);
  }
  .skill-card:hover .skill-tags span {
    background: rgba(0, 255, 136, 0.05);
    border-color: rgba(0, 255, 136, 0.2);
    color: var(--accent);
  }
}
@media (hover: none) {
  .skill-card:active {
    transform: scale(0.98);
    border-color: var(--accent);
  }
}
[data-theme="light"] .skill-card {
  background: #fff;
  border-color: #e5e5e5;
}
[data-theme="light"] .skill-tags span {
  background: rgba(0, 0, 0, 0.05);
  color: #555;
}
[data-theme="light"] .skill-card:hover {
  box-shadow: 0 15px 30px rgba(41, 112, 255, 0.1);
}
[data-theme="light"] .skill-card:hover .skill-tags span {
  background: rgba(41, 112, 255, 0.1);
  border-color: rgba(41, 112, 255, 0.3);
  color: var(--accent);
}
@media (max-width: 600px) {
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .skill-card {
    padding: 25px 20px;
  }
}
/* ----------------------------------------------------------------------
   END: SKILLS SECTION
   ---------------------------------------------------------------------- */
/* ======================================================================
   SECTION: CERTIFICATES SECTION (SWIPER)
   ====================================================================== */
.cert-section {
  padding: 100px 5%;
  overflow: hidden;
  background: 0 0;
}
.cert-swiper {
  padding: 40px 10px 80px;
  margin-top: 20px;
  transform: translateZ(0);
  mask-image: linear-gradient(
    to right,
    transparent,
    black 5%,
    black 95%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 5%,
    black 95%,
    transparent
  );
}
.swiper-slide {
  height: auto;
  display: flex;
  align-items: stretch;
}
.cert-card {
  width: 100%;
  position: relative;
  border-radius: 24px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
  will-change: transform;
}
.cert-img-container {
  width: 100%;
  padding: 20px 20px 0;
  background: 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cert-img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition:
    transform 0.6s ease,
    box-shadow 0.6s ease;
  display: block;
}
.cert-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  z-index: 2;
}
.cert-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.cert-issuer {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.cert-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--accent);
  border-radius: 50px;
  color: var(--accent);
}
.cert-content h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  color: var(--text-color);
  margin-bottom: 8px;
  line-height: 1.3;
}
.cert-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 25px;
}
.cert-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  margin-top: auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-color);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}
.cert-link::after {
  content: "→";
  font-size: 1.1rem;
  transition: transform var(--transition);
}
@media (hover: hover) {
  .cert-card:hover {
    transform: translateY(-12px);
    border-color: var(--accent);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  }
  .cert-card:hover .cert-img {
    transform: scale(1.03) rotate(-1deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  }
  .cert-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
  }
  .cert-link:hover::after {
    transform: translateX(6px);
  }
  .cert-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--accent);
    filter: blur(80px);
    bottom: -50px;
    right: -50px;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
  }
  .cert-card:hover .cert-glow {
    opacity: 0.4;
  }
}
@media (hover: none) {
  .cert-glow {
    display: none;
  }
  .cert-card:active {
    transform: scale(0.98);
  }
}
.swiper-button-next,
.swiper-button-prev {
  color: var(--accent);
  background: rgba(15, 15, 15, 0.9);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1rem;
  font-weight: 700;
}
.swiper-pagination-bullet-active {
  background: var(--accent) !important;
  width: 25px !important;
  border-radius: 10px !important;
  opacity: 1;
}
/* ----------------------------------------------------------------------
   END: CERTIFICATES SECTION (SWIPER)
   ---------------------------------------------------------------------- */
/* ======================================================================
   SECTION: BLOG / ARTICLES SECTION
   ====================================================================== */
.blog-section {
  padding: 100px 0;
  background: 0 0;
  position: relative;
  z-index: 2;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
  position: relative;
  will-change: transform;
}
@media (hover: hover) {
  .blog-card {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
  }
  .blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }
  .blog-card:hover .blog-img-box img {
    transform: scale(1.05);
  }
}
.blog-img-box {
  position: relative;
  height: 250px;
  overflow: hidden;
  width: 100%;
  background: #111;
  flex-shrink: 0;
}
.blog-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.blog-img-box iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  border: none;
  z-index: 1;
}
.pdf-thumbnail {
  pointer-events: none;
  user-select: none;
}
.click-overlay {
  position: absolute;
  inset: 0;
  cursor: pointer;
  z-index: 10;
  background: 0 0;
}
.blog-category {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--accent);
  color: #000;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 800;
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  z-index: 15;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.blog-info {
  padding: 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}
.blog-meta .dot {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}
.blog-info h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  color: var(--text-color);
  line-height: 1.3;
  margin: 0 0 12px;
}
.blog-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
}
.blog-btn-link {
  margin-top: auto;
  color: var(--text-color);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition:
    color var(--transition),
    transform var(--transition);
  font-family: "Space Grotesk", sans-serif;
  background: 0 0;
  border: none;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}
.blog-btn-link:hover {
  color: var(--accent);
  transform: translateX(5px);
}
.blog-card.featured {
  grid-column: 1/-1;
  flex-direction: row;
}
.blog-card.featured .blog-img-box {
  flex: 1.2;
  height: auto;
  min-height: 350px;
}
.blog-card.featured .blog-info {
  flex: 1;
  padding: 45px;
  justify-content: center;
}
.blog-card.featured h3 {
  font-size: 2rem;
}
@media (max-width: 992px) {
  .blog-card.featured {
    flex-direction: column;
    grid-column: 1/-1;
  }
  .blog-card.featured .blog-img-box {
    height: 280px;
    min-height: unset;
  }
  .blog-card.featured .blog-info {
    padding: 30px;
  }
  .blog-card.featured h3 {
    font-size: 1.6rem;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .blog-section {
    padding: 60px 0;
  }
  .blog-info {
    padding: 20px;
  }
  .blog-img-box {
    height: 200px;
  }
}
/* ----------------------------------------------------------------------
   END: BLOG / ARTICLES SECTION
   ---------------------------------------------------------------------- */
/* ======================================================================
   SECTION: MODAL (PDF VIEWER)
   ====================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
}
.modal-overlay[aria-hidden="false"],
.modal-overlay[style*="display: block"] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-content {
  background: #1a1a1a;
  margin: auto;
  padding: 20px;
  border: 1px solid var(--accent);
  width: 92%;
  height: 90%;
  max-width: 1200px;
  border-radius: var(--radius-lg);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}
.close-modal {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  position: absolute;
  right: 20px;
  top: 8px;
  cursor: pointer;
  background: 0 0;
  border: none;
  line-height: 1;
  transition: color var(--transition);
  z-index: 100;
}
.close-modal:hover {
  color: var(--accent);
}
.pdf-container {
  flex-grow: 1;
  width: 100%;
  margin-top: 30px;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.pdf-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.modal-footer {
  text-align: center;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.modal-footer a {
  color: var(--accent);
  font-weight: 700;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* ----------------------------------------------------------------------
   END: MODAL (PDF VIEWER)
   ---------------------------------------------------------------------- */
/* ======================================================================
   SECTION: CONTACT SECTION
   ====================================================================== */
.contact-section {
  position: relative;
  background: 0 0;
  padding: 80px 20px 100px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.glow-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.contact-section .glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.12;
  mix-blend-mode: screen;
}
.contact-section .blob-1 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  top: 10%;
  left: -100px;
  animation: floatBlob 10s ease-in-out infinite alternate;
}
.contact-section .blob-2 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  bottom: 10%;
  right: -50px;
  animation: floatBlob 8s ease-in-out infinite alternate-reverse;
}
@keyframes floatBlob {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(30px, 50px);
  }
}
@media (max-width: 768px) {
  .contact-section .glow-blob {
    display: none;
  }
}
.contact-section .container {
  width: 100%;
  max-width: 1100px;
  position: relative;
  z-index: 2;
}
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
@media (min-width: 769px) {
  .contact-card {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
}
.contact-info {
  padding: 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border);
}
.contact-info .section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  text-align: left;
  margin-bottom: 18px;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 35px;
  line-height: 1.6;
}
.contact-details {
  margin-bottom: 30px;
}
.detail-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
  color: var(--text-color);
  font-size: 0.95rem;
  font-weight: 500;
}
.detail-item a {
  color: var(--text-color);
  transition: color var(--transition);
}
.detail-item a:hover {
  color: var(--accent);
}
.detail-item .icon {
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-form-wrapper {
  padding: 45px;
}
.form-group {
  margin-bottom: 22px;
}
.form-group label {
  display: block;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  color: var(--text-color);
  font-size: 1rem;
  font-family: Outfit, sans-serif;
  outline: 0;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  resize: vertical;
}
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
  background: rgba(255, 255, 255, 0.5);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}
[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus {
  box-shadow: 0 0 0 3px rgba(41, 112, 255, 0.1);
}
.submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: var(--btn-text);
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
  cursor: pointer;
  transition:
    filter var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.submit-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(0, 255, 136, 0.4);
}
.arrow {
  transition: transform var(--transition);
}
.submit-btn:hover .arrow {
  transform: translateX(5px);
}
@media (max-width: 900px) {
  .contact-card {
    grid-template-columns: 1fr;
  }
  .contact-info {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 35px 25px;
  }
  .contact-info .section-title {
    text-align: center;
  }
  .contact-form-wrapper {
    padding: 35px 25px;
  }
}
@media (max-width: 480px) {
  .contact-section {
    padding: 50px 10px 80px;
  }
  .contact-info {
    padding: 25px 20px;
  }
  .contact-form-wrapper {
    padding: 25px 20px;
  }
  .submit-btn {
    padding: 14px;
  }
}
/* ----------------------------------------------------------------------
   END: CONTACT SECTION
   ---------------------------------------------------------------------- */
/* ======================================================================
   SECTION: SHARED SECTION HEADER UTILITY
   ====================================================================== */
.section-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0 auto 50px;
}
[data-theme="light"] .btn-solid {
  background: linear-gradient(90deg, #2970ff, #0056e0);
  color: #fff;
  box-shadow: 0 10px 25px rgba(41, 112, 255, 0.3);
}
[data-theme="light"] .btn-solid:hover {
  box-shadow: 0 15px 35px rgba(41, 112, 255, 0.5);
  color: #fff;
}
[data-theme="light"] .btn-outline:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
[data-theme="light"] .social-btn:hover {
  box-shadow: 0 0 20px rgba(41, 112, 255, 0.4);
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
[data-theme="light"] .filter-btn.active,
[data-theme="light"] .filter-btn:hover,
[data-theme="light"] .portfolio-link,
[data-theme="light"] .service-card:hover .icon-box,
[data-theme="light"] .skill-card:hover .skill-icon {
  color: #fff;
}
[data-theme="light"] .exp-link-btn {
  background: #2970ff;
  border-color: #2970ff;
}
[data-theme="light"] .exp-link-btn i,
[data-theme="light"] .exp-link-btn span {
  color: #fff;
}
[data-theme="light"] .submit-btn:hover {
  box-shadow: 0 10px 20px -5px rgba(41, 112, 255, 0.4);
}
@media (max-width: 768px) {
  body,
  html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  .container {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  section {
    padding-left: 2% !important;
    padding-right: 2% !important;
  }
  .about-section,
  .education-section,
  .experience-section,
  .marketplace-section,
  .portfolio-section,
  .service-section,
  .skills-section {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
  }
  .marketplace-grid,
  .portfolio-grid,
  .skills-grid {
    width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .contact-section {
    padding-left: 2% !important;
    padding-right: 2% !important;
  }
  .contact-section .container {
    width: 100% !important;
  }
}
@media (max-width: 480px) {
  section {
    padding-left: 1% !important;
    padding-right: 1% !important;
  }
  .container {
    width: 100% !important;
  }
  .marketplace-grid,
  .portfolio-grid,
  .skills-grid {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
/* ----------------------------------------------------------------------
   END: SHARED SECTION HEADER UTILITY
   ---------------------------------------------------------------------- */
/* ======================================================================
   SECTION: VIDEO FACADE (YOUTUBE)
   ====================================================================== */
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #111;
  border-radius: inherit;
  overflow: hidden;
}
.video-facade {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
}
.video-facade i {
  font-size: 3.5rem;
  color: #fff;
  opacity: 0.9;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.video-facade:hover i {
  transform: scale(1.1);
  opacity: 1;
}
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* ----------------------------------------------------------------------
   END: VIDEO FACADE (YOUTUBE)
   ---------------------------------------------------------------------- */



   .portfolio-status {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 40px 0;
  font-size: 0.95rem;
  line-height: 1.5;
}



/* ======================================================================
   Footer Section
   ====================================================================== */
.site-footer {
    text-align: center;
    padding: 25px 20px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #888;
    font-size: 14px;
}

.site-footer p {
    margin: 0;
}

@media (max-width: 600px) {
    .site-footer {
        padding: 20px 15px;
        font-size: 13px;
    }
}




/* Equal-height cards: no more gaps under shorter cards */
.portfolio-item { display: flex; }
.portfolio-card { flex: 1; min-width: 0; }

/* Image-only cards fill the full card height */
.portfolio-card:not(.mixed-layout) > img { height: 100%; object-fit: cover; }

/* Animated "Data Entry" style cover fills the card */
.cyber-cover { height: 100%; min-height: 300px; }

/* Web-app cards: text area grows, button always sticks to the bottom */
.portfolio-card.mixed-layout .portfolio-content { flex: 1; }
.portfolio-card.mixed-layout .epic-btn { margin-top: auto; }


/* Wider Portfolio section (desktop/laptop only, other sections untouched) */
@media (min-width: 992px) {
  .portfolio-section .container {
    width: 80%;
    max-width: 1500px;   /* eta ber-kombaite paro: 1400 / 1600 */
  }
  .portfolio-section .portfolio-grid {
    padding: 0;          /* ager 5% side padding soriye dilam */
  }
}
/* ---- perf additions (same visuals, cheaper) ---- */
@keyframes revealUp{from{opacity:0;transform:translateY(50px)}to{opacity:1;transform:none}}
.loaded .reveal-text{animation:revealUp .8s ease-out both}
@keyframes marqueeX{to{transform:translateX(-50%)}}
.carousel-track.marquee-run{animation:marqueeX 25s linear infinite}
.carousel-track.marquee-paused{animation-play-state:paused}
@media (hover:hover){.carousel-track.marquee-run:hover{animation-play-state:paused}}
.reveal-img{transition:opacity 1s cubic-bezier(.25,.46,.45,.94),transform 1s cubic-bezier(.25,.46,.45,.94)}
.reveal-img.rv-pre{opacity:0;transform:scale(.9)}





.qualification-section{padding:100px 5%}
.qual-timeline{position:relative;max-width:900px;margin:0 auto}
.qual-timeline::before{content:"";position:absolute;left:20px;top:0;bottom:0;width:2px;background:linear-gradient(to bottom,var(--accent),transparent)}
.qual-item{position:relative;padding-left:64px;margin-bottom:36px}
.qual-item:last-child{margin-bottom:0}
.qual-dot{position:absolute;left:7px;top:26px;width:28px;height:28px;border-radius:50%;background:var(--bg-color);border:2px solid var(--accent);color:var(--accent);display:grid;place-items:center;font-size:.7rem;box-shadow:0 0 18px color-mix(in srgb,var(--accent) 45%,transparent)}
.qual-card{position:relative;background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius-lg);padding:28px;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);transition:transform var(--transition),border-color var(--transition),box-shadow var(--transition);overflow:hidden}
.qual-card::before{content:"";position:absolute;inset:0 0 auto 0;height:3px;background:linear-gradient(90deg,var(--accent),transparent)}
.qual-card:hover{transform:translateY(-6px);border-color:var(--accent);box-shadow:0 18px 40px color-mix(in srgb,var(--accent) 14%,transparent)}
.qual-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}
.qual-icon{width:50px;height:50px;border-radius:var(--radius-md);display:grid;place-items:center;font-size:1.25rem;color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,transparent)}
.qual-badge{display:inline-flex;align-items:center;gap:8px;font-size:.78rem;font-weight:600;padding:6px 14px;border-radius:50px;color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,transparent);border:1px solid color-mix(in srgb,var(--accent) 35%,transparent)}
.qual-badge.qual-done{color:var(--text-muted);background:var(--card-bg);border-color:var(--border)}
.qual-pulse{width:8px;height:8px;border-radius:50%;background:var(--accent);animation:qualPulse 1.6s ease-in-out infinite}
@keyframes qualPulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(1.5)}}
.qual-degree{font-family:"Space Grotesk",sans-serif;font-size:1.5rem;font-weight:700;color:var(--text-color);margin-bottom:4px}
.qual-sub{color:var(--text-muted);font-size:.95rem;margin-bottom:18px}
.qual-meta{display:flex;flex-wrap:wrap;gap:10px}
.qual-chip{display:inline-flex;align-items:center;gap:8px;font-size:.85rem;color:var(--text-color);padding:8px 14px;border-radius:var(--radius-sm);background:var(--card-bg);border:1px solid var(--border)}
.qual-chip i{color:var(--accent)}
.qual-chip.qual-result{border-color:color-mix(in srgb,var(--accent) 40%,transparent);font-weight:600}
@media (min-width:768px){
  .qual-timeline::before{left:50%;transform:translateX(-50%)}
  .qual-item{width:50%;padding:0 48px 0 0}
  .qual-item:nth-child(even){margin-left:50%;padding:0 0 0 48px}
  .qual-dot{left:auto;right:-14px}
  .qual-item:nth-child(even) .qual-dot{right:auto;left:-14px}
}
@media (max-width:480px){.qualification-section{padding:70px 5%}.qual-card{padding:22px}.qual-degree{font-size:1.3rem}}
@media (prefers-reduced-motion:reduce){.qual-pulse{animation:none}.qual-card{transition:none}}




/* ---- Announcement pill ---- */
.announce-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 18px 6px 6px;
  margin-bottom: 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  color: var(--text-color);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent) 16%, transparent),
    rgba(255, 255, 255, 0.05)
  );
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  box-shadow:
    0 8px 30px color-mix(in srgb, var(--accent) 14%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  transform: translateZ(0);
}
.announce-tag {
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--btn-text);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}
.announce-text {
  font-weight: 500;
  line-height: 1.3;
}
.announce-pill i {
  font-size: 0.8rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}
.announce-pill:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow:
    0 12px 35px color-mix(in srgb, var(--accent) 28%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.announce-pill:hover i {
  transform: translateX(4px);
}

/* Blur only on desktop (smooth, no lag) */
@media (hover: hover) and (min-width: 769px) {
  .announce-pill {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .announce-pill {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.82rem;
    gap: 8px;
    padding: 5px 14px 5px 5px;
    max-width: 100%;
  }
  .announce-tag {
    padding: 5px 12px;
    font-size: 0.75rem;
  }
}
@media (max-width: 380px) {
  .announce-text { font-size: 0.75rem; }
}


/* ---- Announcement pill: center + attention animation ---- */
.announce-pill {
  position: relative;
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 28px;
  /* entrance: fade + rise + scale. 'backwards' so hover still works after */
  animation: announceIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s backwards;
}

/* Light shimmer sweeping across the pill */
.announce-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    110deg,
    transparent 35%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 65%
  );
  background-size: 250% 100%;
  background-position: 150% 0;
  animation: announceShimmer 3.8s ease-in-out 1.6s infinite;
}

/* Pulse ring behind the "New" tag */
.announce-tag {
  position: relative;
}
.announce-tag::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--accent);
  z-index: -1;
  opacity: 0;
  animation: announcePulse 2.2s ease-out 1.2s infinite;
}

/* Arrow gently nudges to invite a click */
.announce-pill i {
  animation: announceArrow 1.8s ease-in-out 1.5s infinite;
}
.announce-pill:hover i {
  animation: none;
  transform: translateX(5px);
}

@keyframes announceIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes announceShimmer {
  0%   { background-position: 150% 0; }
  60%, 100% { background-position: -50% 0; }
}
@keyframes announcePulse {
  0%   { transform: scale(1);   opacity: 0.45; }
  100% { transform: scale(1.7); opacity: 0; }
}
@keyframes announceArrow {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(5px); }
}

/* Mobile: lighter, no pulse ring (saves GPU) */
@media (max-width: 768px) {
  .announce-tag::before { display: none; }
  .announce-pill::after { animation-duration: 4.5s; }
}


/* Wider hero bio on desktop */
@media (min-width: 992px) {
  .hero-bio {
    max-width: 900px;   /* aro chai hole 1000px / 100% dao */
  }
}



/* ---- Floating notification version ---- */
.announce-float {
  position: fixed;
  top: 100px;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 999;              /* nav er niche (nav = 1000) */
  animation: none;           /* hero er entrance animation bad */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-28px) scale(0.94);
  /* solid bg, jate content er upor porleo porishkar dekhay */
  background: color-mix(in srgb, var(--accent) 14%, var(--bg-color));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35),
              0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent);
  transition: opacity 0.5s ease,
              transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.15),
              visibility 0s linear 0.6s;
}
.announce-float.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}
.announce-float.show:hover {
  transform: translateY(-2px) scale(1.03);
}

/* Mobile: pill ta niche theke uthe ashbe (thumb-friendly) */
@media (max-width: 768px) {
  .announce-float {
    top: auto;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    max-width: 92%;
    padding: 8px 18px 8px 8px;       /* boro tap area */
    font-size: 0.88rem;
    transform: translateY(40px) scale(0.94);   /* niche theke uthbe */
  }
  .announce-float .announce-tag {
    padding: 7px 14px;
  }
  .announce-float.show {
    transform: translateY(0) scale(1);
  }
  /* touch device e hover nai, tai tap korle chhoto press effect */
  .announce-float.show:hover {
    transform: translateY(0) scale(1);
  }
  .announce-float.show:active {
    transform: scale(0.96);
  }
}

/* ===== Key-features list (web & project cards) ===== */
.epic-style h3 { flex-wrap: wrap; row-gap: 6px; }
.feat-list {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text-color);
  min-width: 0;
}
.feat-list li span { overflow-wrap: anywhere; }
.feat-list li i {
  color: var(--accent, #22c55e);
  font-size: 0.7rem;
  margin-top: 4px;
  flex-shrink: 0;
}
/* Button always sits at the bottom of the card, so cards in one row stay even */
.portfolio-card.mixed-layout .portfolio-content.epic-style {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.portfolio-card.mixed-layout .portfolio-content.epic-style .epic-btn { margin-top: auto; }
@media (max-width: 480px) {
  .feat-list li { font-size: 0.76rem; }
}


/* ---- Announcement pill: mobile size fix ---- */
@media (max-width: 768px) {
  .announce-pill {
    font-size: 0.72rem;
    gap: 6px;
    padding: 4px 10px 4px 4px;
    max-width: 92%;
  }
  .announce-tag {
    padding: 4px 9px;
    font-size: 0.66rem;
  }
  .announce-text {
    font-size: 0.72rem;
    line-height: 1.2;
  }
  .announce-pill i {
    font-size: 0.6rem;
  }
}

@media (max-width: 380px) {
  .announce-pill {
    font-size: 0.66rem;
  }
  .announce-text {
    font-size: 0.66rem;
  }
}
