

/* ---------- Base ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #050505, #111);
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Old versions of Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
  pointer-events: none;
  /* Disables click events on the element */
  -webkit-user-drag: none;
  /* Prevents dragging in WebKit browsers */
  user-drag: none;
}

video {
  -webkit-touch-callout: none; /* Disable long-press context menu on iOS */
  -webkit-user-select: none;
  user-select: none;
}



a,
button {
    font: inherit
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    position: relative;
    top: -80px;
    display: grid;
    place-items: center;
    z-index: 5;
    background: url("/assets/images/portfoliohero.webp") center/cover no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .4)
}

.hero h1 {
    position: relative;
    z-index: 10;
    font-size: clamp(20px, 5vw, 56px);
    text-align: center;   
}
@media screen and (max-width: 768px) {
  .hero h1 {
    font-size: 20px;
  }
}

/* ---------- Sticky Tabs ---------- */
.tabs {
    position: fixed;
    inset: auto 0 auto 0;
    top: 100px;
    display: flex;
    gap: 40px;
    width: 100%;
    max-width: 700px;
    flex-wrap: wrap;
    gap: 15px;
    padding: 10px;
    justify-self: center;
    justify-content: center;
    z-index: 1;
    border-radius: 0px 0px 50px 50px;
    background-color: #ffffff45;
    backdrop-filter: blur(10px);
    pointer-events: none;
    /* let clicks through except buttons */
}

.tabs button {
    pointer-events: auto;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 6px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: .25s;
}

.tabs button.active,
.tabs button:hover {
    background: #00ffff;
    border-color: #00ffff;
    color: #000;
}

/* Mobile view */
@media (max-width: 768px) {
  .tabs {
    display: none;
  }

}



/* ---------- vertical Scroller (pinned) ---------- */

.h-wrapper {
  position: relative;
  height: auto !important; /* Let content determine height naturally */
}

.h-sticky {
  position: relative; 
  height: auto;
  overflow: visible;
  z-index: 0;
  background: linear-gradient(#0d0d0d, #0d0d0d);
  border-top: 1px solid #222;
}

.h-track {
  display: block;
  width: 100%;
  height: auto;
  transition: none;
}

.panel {
  width: 100vw; /* full viewport width */
  max-width: 1200px; /* or your desired max-width */
  margin: 0 auto 40px auto; /* center horizontally and spacing vertically */
  padding: 60px 20px 40px; /* adjust padding as needed */
  display: block;
  height: auto;
  flex-direction: initial;
  justify-content: initial;
}

.panel h2 {
    color: #00ffff;
    font-size: 55px;
    margin-bottom: 10px;
    margin-left: 0px;
    padding-top: 50px;
}

@media screen and (max-width: 768px) {
  .panel h2 {
    font-size: 40px;
    margin-left: 0px;
  }
}

/* Gallery remains flex-wrap so images flow nicely */

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 20px;
  flex: 1;
}

/* Cards unchanged */

.card {
  position: relative;
  border-radius: 14px;
  width: 100%;
  max-width: 200px;
  height: auto;
  aspect-ratio: 1/1;
  overflow: hidden;
  cursor: pointer;
  background: #111;
  border: 1px solid #909090;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card:hover {
  box-shadow: 0 0px 25px rgba(0, 255, 255, 0.6);
  border: 1px solid #00ffff;
}

.card img,
.card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

.card:hover img,
.card:hover video {
  transform: scale(1.06);
}


.label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .55);
    padding: 6px 8px;
    font-size: 13px;
    text-align: center;
}

.label a {
    color: #fff;
    text-decoration: none;
    font-size: medium;
}

.client-marquee {
  padding: 80px 20px;
  text-align: center;
  background: #0d0d0d;
}

.client-marquee h2 {
  color: #00ffff;
  font-size: 36px;
  margin-bottom: 40px;
}

.marquee {
  overflow: hidden;
  position: relative;
  padding-top: 10px;
  width: 100%;
}

.marquee-inner {
  display: flex;
  gap: 30px;
  animation: marquee 25s linear infinite;
}

@media (max-width: 768px) {
  .marquee-inner { animation: none; }
}


.client-card {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 14px;
  padding: 20px;
  width: 280px;
  flex-shrink: 0;
  text-align: center;
  transition: 0.3s;
}
.client-card:hover {
  border: 1px solid #00ffff;
  box-shadow: 0 0 15px rgba(0,255,255,0.3);
  transform: translateY(-5px);
}

.client-card img {
  border-radius: 50%;
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin-bottom: 15px;
}

.client-card p {
  color: #ccc;
  font-size: 15px;
  margin-bottom: 10px;
  font-style: italic;
}

.client-card h4 {
  color: #fff;
  font-size: 16px;
}

/* Marquee Animation */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


.divider {
  height: 2px;
  background: #00ffff;
  margin: 20px 0 60px 0;
}


/* ---------- Lightbox ---------- */
/* Modal (Lightbox) */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.modal-content img{
  max-width: 90%;
  max-height: 80vh;
  border-radius: 12px;
}

.modal-content video {
  max-width: 100%;
  height: 70vh;
  max-height: 150vh;
  border-radius: 12px;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}


/* Navbar */
.navbar {
  position: sticky;
  top: 20px; /* ✅ Stick 20px below the top */
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 70px;
  margin: 0px 50px 0px 50px;
  border-radius: 50px;
  background-color: #ffffff45;
  backdrop-filter: blur(10px);
  transition: top 0.3s ease;
}

.navbar .logo {
  width: 70px;
  background-color: #000;
  border-radius: 50%;
}

.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 0px;
  position: relative;
  z-index: 10;
}

.navbar .nav-links li a {
  text-decoration: none;
  color: rgb(255, 255, 255);
  padding: 7px 20px;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar .nav-links li a:hover {
  color: #000000;
  background-color: #a4a4a4;
  padding: 7px 20px;
  border-radius: 10px;
}

.nav-links li {
  position: relative;
  padding: 0 5px;
}

.nav-links li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.4);
}

.navbar .nav-links li a.active {
  color: #000000;                
  background-color: #00ffff;     
  border-radius: 10px;          
  padding: 7px 20px;             
  font-weight: 600;           
}


/* Dropdown Styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #00000092;
  border-radius: 10px;
  padding: 10px 0;
  display: none;
  flex-direction: column;
  min-width: 150px;
  z-index: 999;
  list-style: none; /* ✅ Remove bullets */
  margin: 0;
}

.dropdown:hover .dropdown-menu {
  display: flex;
}

.dropdown-menu li {
  padding: 8px 20px;
}

.dropdown-menu li a {
  color: white;
  text-decoration: none;
  display: block;
  transition: 0.3s;
}

.dropdown-menu li a:hover {
  background: #00ffff;
  color: black;
  border-radius: 5px;
}

/* Always hide mobile nav on desktop */
.mobile-nav {
  display: none;
}

@media screen and (max-width:2480px) {
  .menu-toggle {
    display: none;
  }
}

/* Show menu on mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 28px;
    background: none;
    border: none;
    color: #00ffff;
    z-index: 1001;
  }

  .navbar {
    padding: 5px 20px;
    margin: 0 20px;
  }

  .desktop-nav {
    display: none !important;
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    z-index: 1000;
    transition: left 0.3s ease;
  }

  .nav-links li:not(:last-child)::after{
    width: 120px;
    height: 1px;
    top: 35px;
    left: 20px;
  }

  .mobile-nav.show {
    left: -25px;
    top: -25px;
  }

  .mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    margin-bottom: 20px;
  }

  .mobile-nav .logo {
    width: 60px;
    border-radius: 50%;
    background: #000;
  }

  .mobile-nav .close-btn {
    font-size: 30px;
    color: #00ffff;
    cursor: pointer;
  }

  .mobile-nav .nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-left: 0;
    margin-top: 40px;
    align-items: flex-start;
  }

  .mobile-nav .nav-links li a {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
  }

  .mobile-nav .dropdown-menu {
    display: none;
    padding-left: 15px;
  }

  .mobile-nav .dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* Footer */
.footer-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 22px 22px 0 0;
}

.site-footer { 
    background-color: #00000088;
  backdrop-filter: blur(88px);
  border-radius: 22px 22px 0 0;
  margin: 10px auto 0 auto;
  position: relative;
  padding-top: 56px;
  padding-bottom: 10px;
}

.footer-grid {
  display: inline-flex;
  flex-wrap: wrap;
  margin: 0 auto;
  gap: 0;
  justify-content: space-between;
  padding: 0 18px 0 18px;
  position: relative;
  align-items: stretch;
}

.footer-col {
  flex: 1 1 210px;
  min-width: 210px;
  margin: 0 8px 0 8px;
  padding: 36px 18px 38px 18px;
  color: #e3eaff;
  position: relative;
  z-index: 1;
}

.footer-divider {
  width: 2px;
  margin: 36px 0 38px 0;
  background: linear-gradient(180deg,#11e9ff37 0%,#009fff00 100%);
  border-radius: 2px;
  align-self: stretch;
  display: block;
}

.footer-col h2, .footer-col h3 {
  color: #e5f9ff;
  font-size: 1.35em;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
  font-weight: 600;
  text-shadow: 0 1px 4px #00ffff22;
}

.footer-col p, .footer-col ul li {
  color: #b4daec;
  font-size: 1.06em;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
  position: relative;
  border: 1px solid #00eeee;
  border-radius: 6px;
  padding: 5px;
  transition: color 0.23s;
}

.footer-col ul li:hover {
  color: #00eeee;
  background-color: #00000088;
}

.footer-social {
  margin-top: 15px;
}

.footer-social a {
  display: inline-block;
  margin-right: 14px;
  transition: transform 0.22s, filter 0.22s;

}

.footer-social img {
  width: 27px;
  height: auto;
  filter: grayscale(1) brightness(1.11) drop-shadow(0px 1px 10px #00bfbf27);
  border-radius: 22%;
  background: #2a4048;
  padding: 3px;
  
  transition: filter 0.22s, background 0.22s, transform 0.22s;
}

.footer-social img:hover {
  filter: brightness(1.35) drop-shadow(0 0 11px #00ffc288);
  background: #112934;
  transform: scale(1.16) rotate(-8deg);
}

.footer-bottom {
  text-align: center;
  color: #8eb6be;
  padding: 20px 0 8px 0;
  font-size: 1em;
  letter-spacing: 1.7px;
}

.footer-logo-col {
   grid-column: 1 / -1; /* spans across full grid */
  text-align: center;
}

.footer-logo {
  width: 250px;
  height: 250px;
  object-fit: contain;
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.58);
  box-shadow: 0 3px 12px #00fff740, 0 0px 0px #000;
  border: 1px solid #00fff7;
  padding: 8px;
  filter: drop-shadow(0 0 16px #00fff755);
  transition: transform 0.22s, box-shadow 0.22s;
}
.footer-logo:hover {
  box-shadow: 0 8px 36px #00ffee77;
}


@media (max-width: 1050px) {
  .footer-grid {
    flex-direction: column;
  }
  .footer-divider {
    display: none;
  }
  .footer-col {
    margin-bottom: 5px;
    padding: 22px 11px 24px 11px;
    border-radius: 11px;
  }
  #services-footer {
    display: none;
  }

  .footer-social img{
    filter: unset;
  }
}


/* Glow Animation */
@keyframes glow {
  from {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  }
  to {
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.6);
  }
}


@media (max-width: 768px) {
  .panel h2 {
    margin-left: 0;
    font-size: 32px;
    text-align: center;
  }
  .footer-logo {
    max-width: 100%;
  height: auto;
  }
}
