/*
  Theme Name: Folio
  Theme URL: https://bootstrapmade.com/folio-bootstrap-portfolio-template/
  Author: BootstrapMade.com
  Author URL: https://bootstrapmade.com
*/

/*  General Styling
/*-----------------------------------------------------------------------------------*/

body {
  background: #050505;
  color: #a0a0a0;
  font-family: 'Poppins', helvetica;
  font-size: 15px;
  font-weight: 300;
  line-height: 20px;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  margin: 0 auto;
  padding: 0;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  cursor: none;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image:
    linear-gradient(rgba(0, 255, 157, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 157, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: 0 0;
  animation: cyberGrid 25s linear infinite;
  z-index: -1;
  pointer-events: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

h2 {
  color: #f0f0f0;
  font-weight: 600;
}

h4 {
  color: #e0e0e0;
  font-size: 14px;
  font-weight: 600;
}

a {
  color: #d0d0d0;
  text-decoration: none !important;
  -moz-transition: all 0.5s ease-in-out 0s;
  -ms-transition: all 0.5s ease-in-out 0s;
  -o-transition: all 0.5s ease-in-out 0s;
  -webkit-transition: all 0.5s ease-in-out 0s;
  transition: all 0.5s ease-in-out 0s;
}

a:hover {
  -moz-transition: all 0.5s ease-in-out 0s;
  -ms-transition: all 0.5s ease-in-out 0s;
  -o-transition: all 0.5s ease-in-out 0s;
  -webkit-transition: all 0.5s ease-in-out 0s;
  transition: all 0.5s ease-in-out 0s;
}

a:hover,
a:focus {
  color: #b8a07e;
  text-decoration: underline;
}

nav ul li a {
  padding: 2px 0 0 0;
  position: relative;
  display: block;
  font-size: 12px;
  color: #999999;
  letter-spacing: 0.1em;
  font-weight: 500;
  line-height: 14px;
  text-transform: uppercase;
  -moz-transition: all 0.5s ease-in-out 0s;
  -ms-transition: all 0.5s ease-in-out 0s;
  -o-transition: all 0.5s ease-in-out 0s;
  -webkit-transition: all 0.5s ease-in-out 0s;
  transition: all 0.5s ease-in-out 0s;
}

p {
  margin: 25px 0;
  padding: 0;
  font-size: 15px;
  color: #999999;
  line-height: 28px;
}

::-moz-selection {
  background: #b8a07e;
  color: #fff;
}

::selection {
  background: #b8a07e;
  color: #fff;
}

.btn {
  background: #333;
  border: medium none;
  border-radius: 0;
  color: #fff;
  font-size: 12px;
  height: 50px;
  line-height: 50px;
  padding: 0 30px;
  text-transform: uppercase;
}

.btn-ats {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12px;
  background: #fffbfb;
  color: #15def8;
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  margin-left: 8px;
  transition: 0.3s;
}

.btn-ats:hover {
  background: #f82727;
}

.btn:hover,
.btn:focus {
  color: #fff;
}

.padDiv {
  padding: 30px 20px;
}

.section-title {
  margin-bottom: 70px;
}

.section-title h2 {
  font-size: 25px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.form-control {
  background-color: transparent;
  border: 1px solid #999;
  border-radius: 0;
  color: #999999;
  font-size: 12px;
  font-weight: 500;
  height: 50px;
  letter-spacing: 0.1em;
  padding-left: 10px;
  margin: 0 0 25px 0;
  line-height: 14px;
  text-transform: uppercase;
}

.form-control:focus {
  box-shadow: none;
  outline: 0 none;
}

.paddsection {
  padding-top: 90px;
  padding-bottom: 90px;
}

.paddsections {
  padding-top: 90px;
  padding-bottom: 90px !important;
}

.hvr-shutter-in-horizontal::before {
  background: #333;
}

.hvr-shutter-in-horizontal:hover {
  background: #b8a07e;
}

.mb-30 {
  margin-bottom: 30px;
}

/*-----------------------------------------------------------------------------------*/
/*  Navbar Top (Improved Version)
/*-----------------------------------------------------------------------------------*/

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(5, 5, 5, 0.75);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  z-index: 1000;
  padding: 15px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.4);
  display: block;
}

/* container alignment */
#main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* logo */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 45px;
  width: auto;
  transition: 0.3s;
}

.logo img:hover {
  transform: scale(1.05);
}

/* navigation menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  transition: 0.3s ease;
}

/* remove list styling */
nav ul li {
  list-style: none;
}

/* navigation links */
nav ul li a {
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #c0c0c0;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-transform: capitalize;
}

/* hover effect */
nav ul li a:hover {
  background: rgba(0, 255, 157, 0.15);
  color: #00ff9d;
}

/* active section */
.nav-menu a.active {
  background: rgba(0, 255, 157, 0.2);
  color: #00ff9d;
  box-shadow: 0 0 15px rgba(0, 255, 157, 0.2);
}

/* responsive icon */
.responsive {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* mobile menu */
@media (max-width:768px) {

  /* hamburger icon */
  .responsive {
    display: block;
    font-size: 28px;
    cursor: pointer;
    z-index: 1100;
  }

  /* mobile menu */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 260px;
    background: rgba(10, 10, 10, 0.95);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    padding: 80px 25px;
    gap: 25px;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    transition: 0.4s ease;
  }

  /* open state */
  .nav-menu.active {
    right: 0;
  }

}

/*----------------------------------------------------------------------------------*/
/*  Header
/*-----------------------------------------------------------------------------------*/


#header {
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  color: white;

  /* Dark game-engine grid */
  background-color: #0a0a0a;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);

  background-size: 40px 40px;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.header-content {
  position: relative;
  z-index: 3;
}

#header .header-content {
  height: 100vh;
  text-align: left;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

/* ===== BREAK THE GRID - CYBERPUNK MATRIX HERO ===== */
#header {
  min-height: 100vh;
  height: auto;
  background-color: #040806;
  background-image:
    linear-gradient(rgba(0, 255, 100, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 100, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 100px 20px 60px;
}

.cyber-hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
  gap: 40px;
}

/* Left Typography Column */
.cyber-hero-left {
  flex: 1.1;
  text-align: left;
}

.cyber-terminal-meta {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  color: #00ff88;
  letter-spacing: 2px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.cyber-terminal-meta .meta-tag {
  display: block;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.6);
}

.cyber-terminal-meta .meta-sub {
  color: #7bc498;
  font-size: 11px;
}

/* Massive Cyberpunk Headline */
.cyber-glitch-title {
  font-family: 'Anton', 'Syncopate', sans-serif;
  font-size: clamp(48px, 7.5vw, 98px);
  line-height: 0.95;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  position: relative;
  text-shadow:
    -2px 0 rgba(0, 255, 136, 0.7),
    2px 0 rgba(255, 0, 80, 0.5);
  animation: text-glitch-jitter 4s infinite;
}

.cyber-name-first {
  color: #ffffff;
  display: block;
}

.cyber-name-last {
  color: #00ff88;
  display: block;
  text-shadow: 0 0 25px rgba(0, 255, 136, 0.6), -2px 0 #00ffff;
}

@keyframes text-glitch-jitter {
  0%, 88%, 100% {
    transform: translate(0, 0);
  }
  89% {
    transform: translate(-3px, 1px);
    text-shadow: 3px 0 rgba(255, 0, 80, 0.8), -3px 0 rgba(0, 255, 136, 0.8);
  }
  90% {
    transform: translate(3px, -1px);
    text-shadow: -3px 0 rgba(255, 0, 80, 0.8), 3px 0 rgba(0, 255, 136, 0.8);
  }
  91% {
    transform: translate(0, 0);
    text-shadow: -2px 0 rgba(0, 255, 136, 0.7), 2px 0 rgba(255, 0, 80, 0.5);
  }
}

/* Navbar Cyber Logo Glitch */
.cyber-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}

.logo-glitch {
  font-family: 'Space Mono', monospace;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 2px;
  position: relative;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
  transition: all 0.3s ease;
}

.cyber-brand-logo:hover .logo-glitch {
  color: #00ff88;
  text-shadow: 0 0 15px #00ff88, 2px 0 #ff0055;
}

.logo-status-tag {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  color: #00ff88;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 1px;
}

/* Tagline boxes */
.cyber-tagline-box {
  margin-bottom: 35px;
  font-family: 'Space Mono', monospace;
}

.cyber-badge {
  display: inline-block;
  background: #00ff88;
  color: #050a06;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  margin-bottom: 8px;
  text-shadow: none;
}

.cyber-subtag {
  font-size: 12px;
  color: #9eb5a5;
  letter-spacing: 2px;
  margin: 0;
  text-transform: uppercase;
}

/* Action Buttons */
.cyber-actions-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 35px;
  max-width: 320px;
}

.cyber-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: #00ff88;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 255, 136, 0.35);
  padding: 10px 18px;
  text-decoration: none !important;
  letter-spacing: 1px;
  transition: all 0.25s ease;
  width: fit-content;
  position: relative;
  overflow: hidden;
}

.cyber-btn-icon {
  font-size: 13px;
  color: #00ff88;
  transition: transform 0.25s ease;
}

.cyber-link-btn:hover {
  background: rgba(0, 255, 136, 0.2);
  border-color: #00ff88;
  color: #ffffff;
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.5), inset 0 0 10px rgba(0, 255, 136, 0.2);
  transform: translateX(8px);
}

.cyber-link-btn:hover .cyber-btn-icon {
  transform: rotate(15deg) scale(1.15);
  color: #ffffff;
  text-shadow: 0 0 8px #00ff88;
}

.cyber-link-btn.primary-cyber {
  border-color: #00ff88;
  background: rgba(0, 255, 136, 0.12);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

.cyber-link-btn.download-cyber {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.cyber-prompt {
  color: #00ff88;
  font-weight: 900;
}

/* Social terminal footer */
.cyber-social-terminal {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: #5d7567;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cyber-social-terminal a {
  color: #00ff88;
  text-decoration: none !important;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.cyber-social-terminal a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px #00ff88;
}

/* Right Column: Cyber Glitch Portrait Frame */
.cyber-hero-right {
  flex: 0.9;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cyber-portrait-frame {
  position: relative;
  max-width: 420px;
  width: 100%;
  padding: 15px;
}

/* HUD Corner Brackets ┌ ┐ └ ┘ */
.hud-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid #00ff88;
  pointer-events: none;
  z-index: 6;
}

.hud-corner.top-left {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.hud-corner.top-right {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}

.hud-corner.bottom-left {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}

.hud-corner.bottom-right {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

/* System Status Dot */
.hud-sys-status {
  position: absolute;
  top: -12px;
  right: 15px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: #00ff88;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 1px;
  z-index: 6;
}

.hud-sys-status .sys-dot {
  font-size: 9px;
  color: #00ff88;
  animation: pulse-matrix 1.5s infinite;
}

@keyframes pulse-matrix {
  0%, 100% { opacity: 1; text-shadow: 0 0 8px #00ff88; }
  50% { opacity: 0.3; text-shadow: none; }
}

/* Image Wrapper with Scanlines & Glitch */
.cyber-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(0, 255, 136, 0.25);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.15), 0 20px 40px rgba(0, 0, 0, 0.8);
}

.cyber-portrait-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: contrast(1.15) brightness(1.05);
  transition: transform 0.5s ease;
}

.cyber-portrait-frame:hover .cyber-portrait-img {
  transform: scale(1.03);
}

/* CRT Television Scanline Overlay */
.crt-scanlines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.4) 50%
  ),
  linear-gradient(
    90deg,
    rgba(255, 0, 0, 0.03),
    rgba(0, 255, 0, 0.02),
    rgba(0, 0, 255, 0.03)
  );
  background-size: 100% 4px, 6px 100%;
  pointer-events: none;
  z-index: 4;
}

/* Glitch Bar Displacement */
.cyber-glitch-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 40px,
    rgba(0, 255, 136, 0.06) 40px,
    rgba(0, 255, 136, 0.06) 42px
  );
  pointer-events: none;
  z-index: 5;
}

/* Telemetry Callout Box */
.hud-callout-box {
  position: absolute;
  bottom: 30px;
  right: -20px;
  background: rgba(4, 10, 7, 0.92);
  border: 1px solid #00ff88;
  padding: 10px 14px;
  font-family: 'Space Mono', monospace;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.25);
  z-index: 6;
  max-width: 180px;
}

.hud-callout-title {
  font-size: 11px;
  color: #00ff88;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.5px;
}

.hud-callout-year {
  font-size: 10px;
  color: #7bc498;
  margin-top: 5px;
}

/* Responsive Split */
@media (max-width: 991px) {
  .cyber-hero-container {
    flex-direction: column-reverse;
    text-align: center;
    gap: 50px;
    padding-top: 60px;
  }

  .cyber-hero-left {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cyber-actions-group {
    align-items: center;
  }

  .hud-callout-box {
    right: 10px;
    bottom: 20px;
  }
}

/*-----------------------------------------------------------------------------------*/
/*  Aout-us
/*-----------------------------------------------------------------------------------*/

#about {
  width: 100%;
  height: auto;
  background: transparent;
  padding-top: 190px;
}

#about .div-img-bg {
  width: 100%;
  max-width: 350px;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 12px;
  margin: auto;
}

#about .div-img-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.div-img-bg {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

#about .about-descr .p-heading {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  text-align: left;
}

#about .about-descr .separator {
  max-width: 80%;
  margin-bottom: 0;
  text-align: left;
}

/*-----------------------------------------------------------------------------------*/
/*   Services
/*-----------------------------------------------------------------------------------*/

#services {
  background: transparent;
  position: relative;
  padding-bottom: 80px;
}

.owl-item {
  float: left;
}

.services-block span {
  margin: 10px 0;
  position: relative;
  font-size: 13px;
  color: #292929;
  letter-spacing: 0.1em;
  font-weight: 500;
  text-transform: uppercase;
  display: block;
}

.services-block .separator {
  margin: 0;
  font-size: 13px;
  line-height: 22px;
}

.services-block i {
  font-size: 44px;
  color: #b8a07e;
  line-height: 44px;
}


.services-carousel .owl-stage-outer {
  overflow: hidden;
}

.services-carousel .owl-dots {
  margin-top: 5px;
  text-align: center;
}

.services-carousel .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px !important;
  height: 12px !important;
  border-radius: 50%;
  border: 0;
  padding: 0 !important;
  background-color: #ddd;
  cursor: pointer;
}

.services-carousel .owl-dot.active {
  background-color: #b8a07e;
}

.owl-nav {
  display: none;
}


/*-----------------------------------------------------------------------------------*/
/*  Portfolio
/*-----------------------------------------------------------------------------------*/

#portfolio {
  position: relative;
  padding-bottom: 50px;
}

#portfolio .portfolio-list {
  margin-bottom: 50px;
}

#portfolio .portfolio-list .nav {
  display: inline-block;
  margin: 0;
}

#portfolio .portfolio-list .nav li {
  margin: 0 40px 0 0;
  float: left;
  font-size: 14px;
  color: #999999;
  line-height: 16px;
  cursor: pointer;
  font-family: 'Poppins', helvetica;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  -moz-transition: all 0.5s ease-in-out 0s;
  -ms-transition: all 0.5s ease-in-out 0s;
  -o-transition: all 0.5s ease-in-out 0s;
  -webkit-transition: all 0.5s ease-in-out 0s;
  transition: all 0.5s ease-in-out 0s;
}

#portfolio .portfolio-list .nav li:hover,
#portfolio .portfolio-list .nav li.filter-active {
  color: #b8a07e;
  -moz-transition: all 0.5s ease-in-out 0s;
  -ms-transition: all 0.5s ease-in-out 0s;
  -o-transition: all 0.5s ease-in-out 0s;
  -webkit-transition: all 0.5s ease-in-out 0s;
  transition: all 0.5s ease-in-out 0s;
}

#portfolio .portfolio-container {
  display: inline-block;
  margin-bottom: 50px;
  width: 100%;
}

.portfolio-thumbnail {
  margin-bottom: 30px;
  overflow: hidden;
  min-height: 260px;
}

.portfolio-thumbnail img {
  max-width: 100%;
}

/*-----------------------------------------------------------------------------------*/
/*  Journal
/*-----------------------------------------------------------------------------------*/

#journal,
#journal-blog {
  height: auto;
  width: 100%;
  background: transparent;
  padding-bottom: 60px;
  position: relative;
}

#journal-blog {
  background: transparent;
  padding-bottom: 30px;
}

#journal .journal-block {
  display: inline-block;
  height: auto;
  width: 100%;
}

#journal .journal-block .journal-info {
  position: relative;
}

.journal-block .journal-info img {
  max-width: 100%;
}

.journal-block .journal-info .journal-txt {
  padding: 25px 0px;
  position: relative;
}

.journal-block .journal-info .journal-txt h4 a {
  display: block;
  font-size: 19px;
  line-height: 24px;
  margin: 0 0 13px 0;
  font-weight: 500;
  color: #292929;
  -moz-transition: all 0.5s ease-in-out 0s;
  -ms-transition: all 0.5s ease-in-out 0s;
  -o-transition: all 0.5s ease-in-out 0s;
  -webkit-transition: all 0.5s ease-in-out 0s;
  transition: all 0.5s ease-in-out 0s;
}

.journal-block .journal-info .journal-txt h4 a:hover {
  color: #b8a07e;
  -moz-transition: all 0.5s ease-in-out 0s;
  -ms-transition: all 0.5s ease-in-out 0s;
  -o-transition: all 0.5s ease-in-out 0s;
  -webkit-transition: all 0.5s ease-in-out 0s;
  transition: all 0.5s ease-in-out 0s;
}

.journal-block .journal-info .journal-txt p {
  margin: 0;
  font-size: 14px;
  line-height: 24px;
}

/*-----------------------------------------------------------------------------------*/
/*  Contact
/*-----------------------------------------------------------------------------------*/

#contact {
  padding: 80px 0;
  background: transparent;
  text-align: center;
}

.contact-form {
  max-width: 600px;
  margin: auto;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.contact-form textarea {
  resize: none;
}

.contact-form button {
  background: #000;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #333;
}

/*-----------------------------------------------------------------------------------*/
/*  Web Projects
/*-----------------------------------------------------------------------------------*/

#web-projects {
  position: relative;
  padding-bottom: 60px;
}

.web-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.web-project-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 255, 157, 0.15);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-decoration: none !important;
  color: #c0c0c0;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

.web-project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 255, 157, 0.06), rgba(0, 247, 255, 0.04));
  opacity: 0;
  transition: opacity 0.35s ease;
  border-radius: 14px;
}

.web-project-card:hover::before {
  opacity: 1;
}

.web-project-card:hover {
  border-color: rgba(0, 255, 157, 0.5);
  box-shadow: 0 0 28px rgba(0, 255, 157, 0.15), 0 4px 24px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px);
  color: #e0e0e0;
  text-decoration: none !important;
}

.wp-icon {
  font-size: 32px;
  flex-shrink: 0;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(0, 255, 157, 0.3));
}

.wp-info {
  flex: 1;
  min-width: 0;
}

.wp-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: #f0f0f0;
  margin: 0 0 5px 0;
  letter-spacing: 0.5px;
}

.wp-info p {
  font-size: 12px;
  line-height: 18px;
  color: #888;
  margin: 0 0 8px 0;
}

.wp-tag {
  font-size: 10px;
  letter-spacing: 1px;
  color: #00ff9d;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.8;
}

.wp-arrow {
  font-size: 20px;
  color: #00ff9d;
  flex-shrink: 0;
  opacity: 0.5;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.web-project-card:hover .wp-arrow {
  opacity: 1;
  transform: translate(3px, -3px);
}

/*-----------------------------------------------------------------------------------*/
/*  Footer
/*-----------------------------------------------------------------------------------*/

#footer {
  background: transparent;
  padding-top: 50px;
  padding-bottom: 50px;
}

#footer .socials-media {
  width: 100%;
}

#footer .socials-media ul {
  display: inline-block;
  float: none;
  margin: 0 0 20px 0;
}

#footer .socials-media ul li {
  float: left;
  margin-left: 10px;
  margin-right: 10px;
}

#footer .socials-media ul li a {
  font-size: 24px;
  color: #999;
  letter-spacing: 0.1em;
  font-weight: 500;
  background: transparent;
  text-transform: uppercase;
  -moz-transition: all 0.5s ease-in-out 0s;
  -ms-transition: all 0.5s ease-in-out 0s;
  -o-transition: all 0.5s ease-in-out 0s;
  -webkit-transition: all 0.5s ease-in-out 0s;
  transition: all 0.5s ease-in-out 0s;
}

#footer .socials-media ul li a:hover {
  color: #b8a07e;
  -moz-transition: all 0.5s ease-in-out 0s;
  -ms-transition: all 0.5s ease-in-out 0s;
  -o-transition: all 0.5s ease-in-out 0s;
  -webkit-transition: all 0.5s ease-in-out 0s;
  transition: all 0.5s ease-in-out 0s;
}

#footer p {
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-top: 0;
  text-transform: uppercase;
}

.credits {
  font-size: 13px;
}

/* Graphic Design Title Decoration */

.graphic-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
}

.title-decoration {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px 0;
}

.title-decoration span {
  width: 60px;
  height: 2px;
  background: #b8a07e;
  margin: 0 10px;
}

.title-decoration .diamond {
  width: 12px;
  height: 12px;
  background: #b8a07e;
  transform: rotate(45deg);
}

/* =======================================================
MODERN PORTFOLIO ENHANCEMENT STYLE
======================================================= */

/* Modern font */

body {
  font-family: 'Poppins', sans-serif;
}

/* Hero cinematic overlay */

#header {
  position: relative;
}

#header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
}

.header-content {
  position: relative;
  z-index: 2;
}


/* Modern section title */

.modern-title {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 3px;
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.modern-title::after {
  content: "";
  width: 70px;
  height: 3px;
  background: #b8a07e;
  display: block;
  margin: 15px auto 0;
}


/* Portfolio video cards */

.portfolio-thumbnail {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.portfolio-thumbnail:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.portfolio-thumbnail video {
  border-radius: 10px;
  margin-bottom: 15px;
}


/* Graphic design cards */

/* Force equal card height */
.design-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  margin-bottom: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.design-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.design-card:hover img {
  transform: scale(1.1);
}

.design-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18);
}

.design-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.design-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: #292929;
  margin-bottom: 10px;
}

.design-info p {
  font-size: 14px;
  color: #777;
}

#graphic-design .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* Skills cards */

.services-block {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.services-block:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
}


/* Modern buttons */

.btn-warning {
  background: #07fddc;
  border: none;
  padding: 2px 56px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-warning:hover {
  background: #42dbdb;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


/* Smooth image hover */

img {
  transition: transform 0.4s ease;
}

img:hover {
  transform: scale(1.02);
}


/* Smooth scrolling */

html {
  scroll-behavior: smooth;
}


/* Graphic design background */

#graphic-design {
  background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

/* 3D hover portfolio */

.portfolio-thumbnail {
  transform-style: preserve-3d;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.portfolio-thumbnail:hover {
  transform: rotateX(5deg) rotateY(-5deg) scale(1.03);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

/* Game showcase overlay */

/* =====================================
GAME PORTFOLIO FINAL FIX + ENHANCEMENTS
===================================== */

/* Game card container */

.game-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* hover lift */

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

/* video styling */

.game-card video {
  width: 100%;
  display: block;
  border-radius: 12px;
  position: relative;
  z-index: 1;
  transition: transform 0.6s ease;
  filter: contrast(1.1) saturate(1.2);
}

/* cinematic hover zoom */

.game-card:hover video {
  transform: scale(1.08);
}

/* cinematic gradient overlay */

.game-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 65%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  pointer-events: none;
  z-index: 2;
  border-radius: 12px;
}

/* game info overlay */

.game-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 3;
  pointer-events: none;
}

.game-card:hover .game-overlay {
  opacity: 1;
}

/* sound button fix */

.sound-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 999;
  background: rgba(0, 0, 0, 0.65);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.sound-btn:hover {
  background: #ffcc00;
  color: black;
}

/* steam style play button */

.play-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 18px;
  background: #ffcc00;
  color: #000;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.6);
}

.play-btn:hover {
  background: #0dc9eb;
  box-shadow:
    0 0 10px #15c4f0,
    0 0 20px #12ddf8,
    0 0 30px #13b3e4;
  transform: translateY(-2px);
}

.pixel-meteor {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #00ffff;
  box-shadow: 0 0 10px #00ffff;
  animation: meteor 5s linear infinite;
}

@keyframes meteor {
  0% {
    transform: translate(-100px, -100px);
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  100% {
    transform: translate(1400px, 700px);
    opacity: 0;
  }

}

.cube {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid #00ffff;
  animation: float 8s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-40px);
  }

  100% {
    transform: translateY(0);
  }
}

/* ===== PARTICLE BACGROUND ===== */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.header-content {
  position: relative;
  z-index: 2;
}



/* ===== Graphic Design Section Styling ===== */

#graphic-design h2 {
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

#graphic-design p {
  color: #777;
  margin-bottom: 40px;
}

#graphic-design .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  border-radius: 15px;
  overflow: hidden;
}

#graphic-design .card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
}

#graphic-design img {
  border-radius: 10px;
  width: 100%;
  height: auto;
}

.gallery-page {
  background: white;
  padding: 80px;
  min-height: 100vh;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

.back-btn {
  margin-bottom: 30px;
  padding: 10px 20px;
  border: none;
  background: black;
  color: white;
  cursor: pointer;
}

.image-viewer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.image-viewer img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

/* ===== DESIGN CARD FIX ===== */

#graphic-design .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}



.mouse-particle {
  position: fixed;
  width: 8px;
  height: 8px;
  background: linear-gradient(45deg, #00f7ff, #00ff9d);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: particleFade 0.6s linear forwards;
  z-index: 9999;
}

@keyframes particleFade {

  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -80%) scale(0);
  }
}

/* ===== Custom Glowing Cursor ===== */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(0, 255, 157, 0.4);
  background: rgba(0, 255, 157, 0.1);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
  z-index: 10000;
  box-shadow: 0 0 15px rgba(0, 255, 157, 0.2);
}

.custom-cursor.hover {
  width: 60px;
  height: 60px;
  background-color: rgba(0, 255, 157, 0.3);
  border-color: rgba(0, 255, 157, 0.8);
  box-shadow: 0 0 25px rgba(0, 255, 157, 0.6);
}

/* ===== 3D Floating Cubes ===== */
.cube {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.05), 0 0 20px rgba(0, 255, 157, 0.15);
  transform-style: preserve-3d;
  animation: float-cube 15s infinite linear;
  pointer-events: none;
  z-index: 2;
}

@keyframes float-cube {
  0% {
    transform: translateY(0) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }

  25% {
    transform: translateY(-40px) rotateX(90deg) rotateY(90deg) rotateZ(45deg);
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.05), 0 0 35px rgba(0, 255, 157, 0.4);
  }

  50% {
    transform: translateY(0) rotateX(180deg) rotateY(180deg) rotateZ(90deg);
  }

  75% {
    transform: translateY(40px) rotateX(270deg) rotateY(270deg) rotateZ(135deg);
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.05), 0 0 35px rgba(0, 255, 157, 0.4);
  }

  100% {
    transform: translateY(0) rotateX(360deg) rotateY(360deg) rotateZ(180deg);
  }
}

/* ===== 3D Tilt Card Base ===== */
.game-card,
.design-card {
  transform-style: preserve-3d;
}

.game-overlay,
.design-info {
  transform: translateZ(40px);
}

/* ===== Preloader ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #050505;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.loader-text-wrapper {
  overflow: hidden;
  margin-bottom: 20px;
}

#loader-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #00ff9d;
  display: block;
}

.progress-container {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #00ff9d;
}

/* ===== Overrides ===== */
/* ===== Graphic Design Movie Poster Cards ===== */
.design-card {
  height: 380px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(20, 20, 20, 0.8) !important;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.design-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.design-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 255, 157, 0.25) !important;
  border-color: rgba(0, 255, 157, 0.5);
}

.design-card:hover img {
  transform: scale(1.1);
}

.design-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 25px 20px 25px;
  background: linear-gradient(0deg, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.7) 40%, transparent 100%);
  text-align: left;
  transition: padding-bottom 0.4s ease;
}

.design-card:hover .design-info {
  padding-bottom: 30px;
}

.design-info h3 {
  color: #f0f0f0 !important;
  font-size: 20px;
  margin-bottom: 5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.design-info p {
  color: #b0b0b0 !important;
  font-size: 14px;
  margin: 0;
}

.game-card {
  position: relative;
}

.game-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(0deg, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0) 100%);
  pointer-events: none;
}

.game-overlay h3 {
  color: #f0f0f0;
  margin-bottom: 5px;
  font-size: 18px;
}

.game-overlay p {
  color: #a0a0a0;
  font-size: 13px;
  margin: 0;
}

.custom-cursor {
  mix-blend-mode: difference;
  background: #fff;
  border-color: #fff;
  box-shadow: none;
}

.custom-cursor.hover {
  mix-blend-mode: difference;
  background: rgba(255, 255, 255, 0.3);
  border-color: #fff;
  box-shadow: none;
}

.magnetic {
  display: inline-block;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes cyberGrid {
  0% {
    transform: translateZ(0);
    background-position: 0 0;
  }

  100% {
    transform: translateZ(0);
    background-position: 0 60px;
  }
}

/* ===== Pixel Art Character Animation ===== */
.pixel-character-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 64px;
  height: 64px;
  z-index: 5;
  animation: run-and-catch 18s infinite linear;
  pointer-events: none;
}

.pixel-character {
  width: 100%;
  height: 100%;
  animation: sprite-bob 0.15s steps(2, end) infinite alternate;
  filter: drop-shadow(0 0 15px rgba(0, 255, 157, 0.8));
}

@keyframes sprite-bob {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-6px);
  }
}

@keyframes run-and-catch {
  0% {
    transform: translateX(-10vw) translateY(0);
  }

  /* Run to first cube at 10vw */
  8% {
    transform: translateX(5vw) translateY(0);
  }

  12% {
    transform: translateX(10vw) translateY(-30vh);
  }

  /* Catch 10% cube */
  16% {
    transform: translateX(15vw) translateY(0);
  }

  /* Run to second cube at 60vw */
  35% {
    transform: translateX(40vw) translateY(0);
  }

  45% {
    transform: translateX(55vw) translateY(0);
  }

  50% {
    transform: translateX(60vw) translateY(-40vh);
  }

  /* Catch 60% cube */
  55% {
    transform: translateX(65vw) translateY(0);
  }

  /* Run to third cube at 80vw */
  65% {
    transform: translateX(75vw) translateY(0);
  }

  70% {
    transform: translateX(80vw) translateY(-50vh);
  }

  /* Catch 80% cube */
  75% {
    transform: translateX(85vw) translateY(0);
  }

  /* Exit screen */
  100% {
    transform: translateX(110vw) translateY(0);
  }
}

/* ===== Pixel Art Character 2 (Walking) Animation ===== */
.pixel-character-wrapper-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 50px;
  z-index: 4;
  animation: just-walk 28s infinite linear;
  pointer-events: none;
}

.pixel-character-2 {
  width: 100%;
  height: 100%;
  animation: sprite-bob 0.3s steps(2, end) infinite alternate;
  filter: drop-shadow(0 0 10px rgba(0, 247, 255, 0.8));
}

@keyframes just-walk {
  0% {
    transform: translateX(110vw) scaleX(-1);
  }

  100% {
    transform: translateX(-10vw) scaleX(-1);
  }
}

/* ===== Performance & Hardware Acceleration ===== */
html {
  scroll-behavior: smooth;
}

body::before {
  will-change: transform, background-position;
}

.custom-cursor,
.pixel-character-wrapper,
.pixel-character-wrapper-2,
.pixel-character,
.pixel-character-2,
.cube,
.magnetic,
.pixel-meteor {
  will-change: transform;
}

/*-----------------------------------------------------------------------------------*/
/*  Inline-style replacements (accessibility & lint compliance)
/*-----------------------------------------------------------------------------------*/

/* Gallery pages hidden by default — shown via JS using display:block */
.gallery-page {
  display: none;
}

/* Pixel meteor position variants */
.meteor-1 { top: 100px; }
.meteor-2 { top: 250px; animation-delay: 2s; }
.meteor-3 { top: 400px; animation-delay: 4s; }

/* Floating cube position variants */
.cube-1 { left: 10%; top: 70%; }
.cube-2 { left: 60%; top: 60%; }
.cube-3 { left: 80%; top: 50%; }

/* Crisp pixel rendering for SVG characters */
.pixel-character,
.pixel-character-2 {
  shape-rendering: crispEdges;
}

/* ===== Motion Graphics & Video Editing Styles ===== */

.design-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.design-card:hover video {
  transform: scale(1.1);
}

#motion-graphics {
  background: linear-gradient(to bottom, #ffffff, #050505);
}

#motion-graphics h2 {
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

#motion-graphics p {
  color: #777;
  margin-bottom: 40px;
}

.video-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  background: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  aspect-ratio: 16/9;
}

.video-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.video-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 255, 157, 0.25);
}

.video-item:hover video {
  transform: scale(1.08);
}

.video-overlay-icon {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-item:hover .video-overlay-icon {
  opacity: 1;
}

.video-overlay-icon i {
  color: #ffffff;
  font-size: 50px;
  text-shadow: 0 0 20px rgba(0, 255, 157, 0.8);
  transition: transform 0.3s ease;
}

.video-item:hover .video-overlay-icon i {
  transform: scale(1.15);
}

/* ==========================================================================
   CYBERPUNK MATRIX GLITCH INTERFACE SYSTEM
   ========================================================================== */

/* Universal Dark Matrix Background & Borders */
body {
  background-color: #040806 !important;
  color: #c5d8ce !important;
  font-family: 'Space Mono', 'Montserrat', monospace, sans-serif !important;
}

/* Section Containers & Headers */
.cyber-section {
  position: relative;
  background-color: #040806 !important;
  background-image:
    linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px) !important;
  background-size: 30px 30px !important;
  padding: 90px 0 !important;
  border-bottom: 1px solid rgba(0, 255, 136, 0.12) !important;
}

.cyber-section-header {
  margin-bottom: 55px;
}

.cyber-section-tag {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: #00ff88;
  letter-spacing: 3px;
  display: block;
  margin-bottom: 8px;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.cyber-section-title {
  font-family: 'Anton', 'Syncopate', sans-serif !important;
  font-size: clamp(32px, 4.5vw, 46px) !important;
  font-weight: 900 !important;
  letter-spacing: 2px !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  text-shadow: -2px 0 rgba(0, 255, 136, 0.7), 2px 0 rgba(255, 0, 80, 0.5) !important;
}

.cyber-section-sub {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  color: #8da497;
  letter-spacing: 1.5px;
  margin-top: 10px;
}

/* Glitch Icons & Neon Pulsing */
.cyber-glitch-icon {
  display: inline-block;
  color: #00ff88;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.8), -1px 0 rgba(255, 0, 85, 0.5);
  transition: all 0.25s ease;
}

.cyber-glitch-icon:hover,
a:hover .cyber-glitch-icon,
.cyber-card-frame:hover .cyber-glitch-icon,
.cyber-design-card:hover .cyber-glitch-icon,
.cyber-skill-card:hover .cyber-glitch-icon {
  color: #ffffff;
  text-shadow: 0 0 15px #00ff88, -2px 0 #ff0055, 2px 0 #00ffff;
  transform: scale(1.15) rotate(-3deg);
}

.cyber-icon-sm {
  font-size: 11px;
  margin-right: 4px;
}

/* Navbar Bracket Glitch Links */
#main-nav {
  background: rgba(4, 8, 6, 0.94) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(0, 255, 136, 0.25) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

#main-nav .nav-menu li a {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #8fa699 !important;
  padding: 10px 14px;
  transition: all 0.25s ease;
  position: relative;
}

#main-nav .nav-menu li a .nav-bracket {
  color: #00ff88;
  opacity: 0.4;
  transition: opacity 0.25s, transform 0.25s;
}

#main-nav .nav-menu li a:hover,
#main-nav .nav-menu li a.active {
  color: #00ff88 !important;
  text-shadow: 0 0 12px rgba(0, 255, 136, 0.8);
}

#main-nav .nav-menu li a:hover .nav-bracket {
  opacity: 1;
  color: #00ff88;
  text-shadow: 0 0 10px #00ff88;
}

.responsive i {
  color: #00ff88 !important;
  font-size: 22px;
}

/* About Section Cyber Terminal Card */
.cyber-hud-frame {
  position: relative;
  border: 1px solid rgba(0, 255, 136, 0.35) !important;
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.15), 0 15px 35px rgba(0, 0, 0, 0.8);
  border-radius: 4px !important;
}

.hud-badge-corner {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: #00ff88;
  background: rgba(4, 8, 6, 0.85);
  border: 1px solid #00ff88;
  padding: 2px 6px;
  z-index: 5;
}

.cyber-terminal-card {
  background: rgba(8, 14, 10, 0.85);
  border: 1px solid rgba(0, 255, 136, 0.3);
  padding: 24px;
  border-radius: 4px;
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.1);
  position: relative;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.term-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.term-dot.red { background: #ff5f56; }
.term-dot.yellow { background: #ffbd2e; }
.term-dot.green { background: #27c93f; }

.term-title {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: #00ff88;
  letter-spacing: 1px;
}

.about-descr .p-heading {
  font-family: 'Space Mono', monospace !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
  color: #c9ded3 !important;
}

.prompt-symbol {
  color: #00ff88;
  font-weight: 900;
}

.glitch-word {
  color: #00ff88;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.4);
}

.cyber-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px dashed rgba(0, 255, 136, 0.25);
}

.spec-node {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: #8da497;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 255, 136, 0.05);
  border: 1px solid rgba(0, 255, 136, 0.15);
  padding: 8px 10px;
}

/* Skills Section Cyber Cards */
.cyber-skill-card {
  background: rgba(8, 14, 10, 0.7) !important;
  border: 1px solid rgba(0, 255, 136, 0.2) !important;
  padding: 24px 15px !important;
  border-radius: 4px !important;
  transition: all 0.3s ease !important;
}

.cyber-skill-card:hover {
  border-color: #00ff88 !important;
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.3) !important;
  transform: translateY(-5px);
}

.skill-icon-frame {
  font-size: 38px;
  margin-bottom: 12px;
}

.cyber-skill-card span {
  font-family: 'Space Mono', monospace !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: 1px !important;
}

.skill-pct {
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  color: #00ff88;
  font-weight: 700;
  margin: 6px 0 10px 0;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
}

.skill-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, #00ff88, #00f7ff);
  box-shadow: 0 0 8px #00ff88;
}

/* Portfolio Game Cards */
.cyber-card-frame {
  position: relative;
  background: #020403 !important;
  border: 1px solid rgba(0, 255, 136, 0.3) !important;
  border-radius: 4px !important;
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.12), 0 15px 35px rgba(0, 0, 0, 0.8) !important;
  transition: all 0.35s ease !important;
}

.cyber-card-frame:hover {
  border-color: #00ff88 !important;
  box-shadow: 0 0 35px rgba(0, 255, 136, 0.4), 0 20px 45px rgba(0, 0, 0, 0.9) !important;
}

.game-tag-badge {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: #00ff88;
  letter-spacing: 1px;
  margin-bottom: 6px;
  display: block;
}

.game-overlay h3 {
  font-family: 'Anton', 'Syncopate', sans-serif !important;
  font-size: 24px !important;
  letter-spacing: 1px !important;
  color: #ffffff !important;
  text-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

.game-overlay p {
  font-family: 'Space Mono', monospace !important;
  font-size: 12px !important;
  color: #c9ded3 !important;
}

.cyber-play-btn {
  font-family: 'Space Mono', monospace !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  background: #00ff88 !important;
  color: #040806 !important;
  border-radius: 2px !important;
  padding: 8px 16px !important;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.7) !important;
  border: none !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  pointer-events: auto !important;
}

.cyber-play-btn:hover {
  background: #00f7ff !important;
  color: #040806 !important;
  box-shadow: 0 0 25px rgba(0, 247, 255, 0.9) !important;
}

/* Graphic Design & Motion Cyber Cards */
.cyber-design-card {
  position: relative;
  background: #040806 !important;
  border: 1px solid rgba(0, 255, 136, 0.25) !important;
  border-radius: 4px !important;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.1) !important;
  transition: all 0.35s ease !important;
}

.cyber-design-card:hover {
  border-color: #00ff88 !important;
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.35) !important;
  transform: translateY(-6px);
}

.card-node-id {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: #00ff88;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 4px;
}

.cyber-design-card .design-info h3 {
  font-family: 'Anton', 'Syncopate', sans-serif !important;
  font-size: 20px !important;
  letter-spacing: 1px !important;
  color: #ffffff !important;
}

.cyber-design-card .design-info p {
  font-family: 'Space Mono', monospace !important;
  font-size: 12px !important;
  color: #8da497 !important;
}

.cyber-view-link {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: #00ff88;
  font-weight: 700;
  letter-spacing: 1px;
  display: inline-block;
  margin-top: 8px;
}

/* Gallery back button */
.back-btn {
  font-family: 'Space Mono', monospace !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #00ff88 !important;
  background: rgba(4, 8, 6, 0.9) !important;
  border: 1px solid #00ff88 !important;
  padding: 8px 18px !important;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.3) !important;
  cursor: pointer;
}

.back-btn:hover {
  background: #00ff88 !important;
  color: #040806 !important;
}

/* Web Projects Cyber Cards */
.cyber-web-card {
  background: rgba(8, 14, 10, 0.75) !important;
  border: 1px solid rgba(0, 255, 136, 0.25) !important;
  border-radius: 4px !important;
  transition: all 0.35s ease !important;
}

.cyber-web-card:hover {
  border-color: #00ff88 !important;
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.35) !important;
  transform: translateY(-5px);
}

.featured-project-card {
  border: 1.5px solid #00ff88 !important;
  background: rgba(0, 255, 136, 0.05) !important;
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.25) !important;
}

.featured-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #00ff88;
  color: #040806;
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-bottom-left-radius: 4px;
}

.client-badge {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: #00ff88;
}

.cyber-node-icon {
  font-size: 26px;
  min-width: 45px;
  text-align: center;
}

.wp-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.cyber-web-card .wp-tag {
  font-family: 'Space Mono', monospace !important;
  font-size: 10px !important;
  color: #00ff88 !important;
  background: rgba(0, 255, 136, 0.1) !important;
  border: 1px solid rgba(0, 255, 136, 0.25) !important;
  padding: 2px 8px !important;
  border-radius: 2px !important;
}

.cyber-arrow {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: #00ff88;
  margin-left: auto;
  letter-spacing: 1px;
}

/* Contact Cyber Terminal Frame */
.cyber-contact-frame {
  max-width: 650px;
  margin: 0 auto;
  position: relative;
  background: rgba(8, 14, 10, 0.85);
  border: 1px solid rgba(0, 255, 136, 0.35);
  padding: 30px;
  border-radius: 4px;
  box-shadow: 0 0 35px rgba(0, 255, 136, 0.15);
}

.cyber-input-group {
  text-align: left;
  margin-bottom: 20px;
}

.cyber-input-label {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: #00ff88;
  letter-spacing: 1px;
  margin-bottom: 6px;
  display: block;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon .input-ico {
  position: absolute;
  left: 14px;
  color: #00ff88;
  font-size: 14px;
  pointer-events: none;
}

.cyber-terminal-form input,
.cyber-terminal-form textarea {
  width: 100%;
  background: rgba(4, 8, 6, 0.9) !important;
  border: 1px solid rgba(0, 255, 136, 0.3) !important;
  color: #00ff88 !important;
  font-family: 'Space Mono', monospace !important;
  font-size: 13px !important;
  padding: 12px 14px 12px 42px !important;
  border-radius: 2px !important;
  transition: all 0.25s ease;
}

.cyber-terminal-form input:focus,
.cyber-terminal-form textarea:focus {
  outline: none;
  border-color: #00ff88 !important;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.5) !important;
  background: rgba(0, 255, 136, 0.05) !important;
}

.cyber-submit-btn {
  font-family: 'Space Mono', monospace !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  background: #00ff88 !important;
  color: #040806 !important;
  border: none !important;
  padding: 14px 28px !important;
  border-radius: 2px !important;
  letter-spacing: 2px !important;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.6) !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.cyber-submit-btn:hover {
  background: #ffffff !important;
  color: #040806 !important;
  box-shadow: 0 0 30px #00ff88, 0 0 10px #ff0055 !important;
  transform: translateY(-2px);
}

.cyber-submit-btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.form-status {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.5px;
  margin: 16px 0 0;
  min-height: 1.2em;
  text-align: left;
}

.form-status.ok {
  color: #00ff88;
}

.form-status.err {
  color: #ff4d6d;
}

/* Cyber Footer */
.cyber-footer {
  background: #020403 !important;
  border-top: 1px solid rgba(0, 255, 136, 0.25) !important;
  padding: 50px 0 40px !important;
}

.footer-telemetry-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
}

.telemetry-pill {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: #00ff88;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.25);
  padding: 4px 10px;
  letter-spacing: 1px;
}

.cyber-social-links {
  gap: 20px;
  margin-bottom: 25px;
}

.cyber-social-links a {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  color: #8da497 !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.cyber-social-links a:hover {
  color: #00ff88 !important;
  text-shadow: 0 0 12px #00ff88;
  transform: translateY(-3px);
}

.cyber-copy {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: #637a6e;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.cyber-credits {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: #00ff88;
  letter-spacing: 1.5px;
}