:root {
  --metal-button:
    radial-gradient(circle at 50% 22%, #7a7a7a 0%, #464646 34%, #151515 100%);

  --metal-button-glow:
    inset 0 2px 5px rgba(255,255,255,.22),
    inset 0 -8px 18px rgba(0,0,0,.78),
    0 0 18px rgba(190,190,190,.2);

  --project-text-glow:
    0 0 18px rgba(255,255,255,.55),
    0 0 42px rgba(255,255,255,.22),
    inset 0 0 18px rgba(255,255,255,.08);
}
/* CUSTOM STAR CURSOR FOR CLICKABLE ELEMENTS */

a:hover,
button:hover,
.project-filter-btn:hover,
.project-card:hover,
.clickable-img:hover,
.nav-pill:hover,
#modalCloseBtn:hover{
  cursor: url("../_images/cursor.cur") 16 16, pointer !important;
}
.smaller-img {
  max-width: 80%;
}

@media (max-width: 767px) {
  .smaller-img {
    max-width: 100%;
  }
}
.contact-popup {
  border-radius: 28px;
  background: rgba(18, 18, 18, 0.96);
  color: #fff;
  padding: 28px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
  position: relative;
}

.contact-close {
  position: absolute;
  top: 18px;
  right: 18px;
  filter: invert(1);
  opacity: 0.9;
}

.contact-popup-logo {
  height: 72px;
  width: auto;
  margin-bottom: 22px;
}

.contact-popup-copy {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 360px;
  margin: 0 auto 26px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-popup-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-popup-btn {
  display: block;
  width: 100%;
  padding: 14px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #111;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.contact-popup-btn:hover {
  transform: translateY(-2px);
  opacity: 0.85;
  color: #111;
}
html,
body {
  margin: 0;
  padding: 0;
  background: #000;
  color: #fff;
  font-family: "Inter", Arial, sans-serif;
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 80px;
}
@media (max-width: 767px) {
  .about-section {
    text-align: center;
  }

  .about-section p {
    text-align: left;
    padding-left: 15px;
  }
}
.services-title{
  margin: 20px;
}
/* HEADER */

.site-header {
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,.14);
  z-index: 1040;
}

.navbar-toggler {
  border: 1px solid #666;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  filter: invert(1);
}

.nav-pill {
  padding: .75rem 2.5rem;
  border-radius: 12px;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  transition: none;
}

.nav-pill:hover {
  background: #000;
  color: #fff;
  box-shadow: var(--project-text-glow);
}

.nav-pill.active {
  background: var(--metal-button);
  color: #fff;
  box-shadow: var(--metal-button-glow);
}

/* HERO */

.hero {
  min-height: 68vh;
  height: 70vh;
  position: relative;
  overflow: hidden;
  background: #080808;
  isolation: isolate;
}

.background {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(140,140,140,.3), transparent 13%),
    radial-gradient(circle at 80% 28%, rgba(70,70,70,.58), transparent 20%),
    radial-gradient(circle at 45% 78%, rgba(105,105,105,.34), transparent 18%),
    linear-gradient(135deg, #050505 0%, #141414 35%, #2c2c2c 58%, #090909 100%);
}

.background::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.24), transparent 2%),
    radial-gradient(circle at 72% 18%, rgba(255,255,255,.16), transparent 1.8%),
    radial-gradient(circle at 86% 74%, rgba(255,255,255,.18), transparent 2.2%),
    radial-gradient(circle at 38% 82%, rgba(255,255,255,.12), transparent 1.7%),
    radial-gradient(circle at 58% 46%, rgba(255,255,255,.14), transparent 1.8%);
  opacity: .55;
  filter: blur(.4px);
  animation: sparkleDrift 6s ease-in-out infinite alternate;
}

@keyframes sparkleDrift {
  from {
    transform: translate(-1%, -1%);
    opacity: .35;
  }

  to {
    transform: translate(1.5%, 1%);
    opacity: .65;
  }
}
@media (max-width: 576px) {
  #assets .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
#heroTrailCanvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .62;
}

.reveal-container {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  pointer-events: none;
}

.reveal-text {
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 800;
  transform: translateY(40px);
  background: linear-gradient(135deg, #888, #d0d0d0, #777);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.service-icon {
  width: 80px;
  height: auto;
  filter: drop-shadow(0 0 14px rgba(255,255,255,.24));
}

.top-text {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-90px);
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 800;
  color: #fff;
  pointer-events: none;
}

/* PROJECT FILTERS */

.project-dropdown-section {
  background: #000;
}

.project-filter-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0 100px 2rem;
}

.project-filter-btn {
  border: none;
  border-radius: 28px;
  min-height: 110px;
  padding: 1.5rem;
  background: #fff;
  color: #000;
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: none;
  transition: none;
}

.project-filter-btn:hover {
  background: #000;
  color: #fff;
  transform: none;
  box-shadow: var(--project-text-glow);
}

.project-filter-btn.active {
  background: var(--metal-button);
  color: #fff;
  box-shadow: var(--metal-button-glow);
}

.project-dropdown-panel {
  padding: 1.5rem 10px;
  border-radius: 30px;
}

.project-group {
  display: none;
}

.project-group.active {
  display: flex;
}

/* PROJECT CARDS */

.project-card {
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  transition: transform .3s ease, box-shadow .3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 58px rgba(0,0,0,.28);
}

.project-card-image-wrap {
  flex: 1 1 auto;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.project-card-image {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 5px;
}

/* PROJECT CARD TEXT PANELS */

.project-card-info {
  display: none;
  background: #000;
  color: #fff;
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--project-text-glow);
}

.project-card-overlay {
  background: #000;
  color: #fff;
  padding: 1.25rem;
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .35s ease, transform .35s ease, box-shadow .25s ease;
  box-shadow: var(--project-text-glow);
}

.project-card:hover .project-card-overlay {
  opacity: 1;
  transform: translateY(0);
  box-shadow: var(--project-text-glow);
}

.project-card-info h3,
.project-card-overlay h3 {
  margin: 0 0 .5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.project-card-info p,
.project-card-overlay p {
  margin: 0;
  line-height: 1.5;
  font-size: 1rem;
  color: #fff;
}

/* MODAL */

.modal-content {
  background: transparent;
}

.modal-body {
  max-height: 85vh;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

#modalImage {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  transition: transform .3s ease;
  cursor: zoom-in;
}

#modalImage.zoomed {
  transform: scale(2);
  cursor: zoom-out;
  margin-top: 40vh;
  margin-bottom: 40vh;
}

#modalCloseBtn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  opacity: 1;
  z-index: 99999;
  background-color: transparent;
  background-image:
    url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293A1 1 0 0 1 .293 14.293L6.586 8 .293 1.707A1 1 0 0 1 .293.293z'/%3e%3c/svg%3e"),
    var(--metal-button);
  background-size: 16px 16px, cover;
  background-position: center, center;
  background-repeat: no-repeat;
}

#modalCloseBtn:hover {
  transform: scale(1.1);
}

/* CLICK EFFECT */

div.clickEffect {
  position: fixed;
  box-sizing: border-box;
  border-style: solid;
  border-color: white;
  border-radius: 50%;
  animation: clickEffect .4s ease-out;
  z-index: 99999;
  pointer-events: none;
}

@keyframes clickEffect {
  0% {
    opacity: 1;
    width: .5em;
    height: .5em;
    margin: -.25em;
    border-width: .5rem;
  }

  100% {
    opacity: .2;
    width: 15em;
    height: 15em;
    margin: -7.5em;
    border-width: .03rem;
  }
}

/* GENERAL */

h2 {
  background: linear-gradient(135deg, #777, #d8d8d8, #888, #f2f2f2, #666);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* TABLET + MOBILE CARD FIX */

@media (max-width: 1199.98px) {
  .project-filter-buttons {
    grid-template-columns: 1fr;
    margin-left: 0;
    margin-right: 0;
  }

  .project-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: auto !important;
    height: auto !important;
    background: transparent !important;
    overflow: visible !important;
    border-radius: 24px;
  }

  .project-card-info {
    order: 1 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 5 !important;
    width: 100% !important;
    min-height: 120px !important;
    background: #000 !important;
    color: #fff !important;
    padding: 1.25rem !important;
    text-align: center !important;
    box-shadow: var(--project-text-glow) !important;
    border-radius: 24px 24px 0 0 !important;
  }

  .project-card-image-wrap {
    order: 2 !important;
    flex: none !important;
    background: #000 !important;
    border-radius: 0 0 24px 24px;
  }

  .project-card-info h3,
  .project-card-info p {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #fff !important;
  }

  .project-card-overlay {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  .project-card:hover {
    transform: none !important;
  }
}
.project-card-image {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.project-card-overlay {
  background: var(--chrome-gradient);
  background-size: 220% 220%;
  color: #000;
  box-shadow: var(--chrome-shadow);
}
.project-card:hover .project-card-overlay {
  opacity: 1;
  transform: translateY(0);
}

.project-card:hover .project-card-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* tablet + mobile */
@media (max-width: 991.98px) {
  .project-filter-buttons {
    grid-template-columns: 1fr;
  }

  .project-card {
  background: transparent;
}

.project-card-image-wrap {
  background: #000;
}

  .project-card-info {
  background: var(--chrome-gradient);
  background-size: 220% 220%;
  color: #000;
  box-shadow: var(--chrome-shadow);
}

  .project-card-overlay {
    display: none;
  }
  
  .project-card:hover {
    transform: none;
  }
}

@media (max-width: 767.98px) {
  .project-card-info h3 {
    font-size: 1.3rem;
  }

  .project-card-info p {
    font-size: 0.95rem;
  }
}
.project-dropdown-panel{
  padding-left: 10;
  padding-right: 10;
}
.project-filter-buttons{
  margin-left: 100px;
  margin-right: 100px;
}
@media (max-width: 991.98px){
 .project-filter-buttons{
  margin-left: 0px;
  margin-right: 0px;
} 
}
.project-card-overlay {
  color: #fff;
}
.gradient-border {
  border-radius: 20px;
  border: 2px solid transparent;
  padding: 20px;
  background: 
    linear-gradient(#000, #000) padding-box,
    linear-gradient(135deg, #2563eb, #60a5fa) border-box;
}
#modalImage {
  max-width: 100%;
  max-height: 80vh; /* 👈 key line */
  object-fit: contain;
}
.modal-content{
   background: transparent;
}
#modalCloseBtn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  opacity: 1;
  z-index: 99999;
  background-color: transparent;
  background-image:
    url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293A1 1 0 0 1 .293 14.293L6.586 8 .293 1.707A1 1 0 0 1 .293.293z'/%3e%3c/svg%3e"),
    linear-gradient(135deg, #2563eb, #60a5fa);
  background-size: 16px 16px, cover;
  background-position: center, center;
  background-repeat: no-repeat;
}

#modalCloseBtn:hover {
  transform: scale(1.1);
}
.modal-body {
  max-height: 85vh;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

#modalImage {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  transition: transform 0.3s ease;
  cursor: zoom-in;
  transform-origin: center center; /* 👈 key */
}

#modalImage.zoomed {
  transform: scale(2);
  cursor: zoom-out;
  margin-top: 40vh;
  margin-bottom: 40vh;
}*/
h2 {
  background: var(--chrome-gradient);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}*/
