/* Reset basic spacing */
body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
body {
      background-color: #000;
      font-family: 'General Sans', sans-serif;
      color: #f1f1f1;
      scroll-behavior: smooth;
      /* font-family: 'Segoe UI', sans-serif; */
    }
    /* .navbar {
      background-color: transparent;
      transition: background-color 0.3s ease;
    }
    .navbar.scrolled {
      background-color: black !important;
    }
    .navbar-brand, .nav-link {
      color: #fff !important;
    }
    .navbar-brand,
    .navbar-nav .nav-link {
      font-size: 0.95rem;
      letter-spacing: 0.5px;
    } */
h2 {
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

/* @media (max-width: 991.98px) {
  .navbar-nav .nav-link {
    background-color: #000;
    font-weight: 500;
    padding: 10px 0;
    color: #fff !important;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
    position: relative;
  }

  .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 0%;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
  }

  .navbar-nav .nav-link:hover::after {
    width: 100%;
  }
} */


/* Base styles */
.navbar {
  width: 100%;
  background-color: transparent;
  z-index: 1000;
  position: fixed;
}

.navbar.scrolled {
  background-color: #000 !important;
}
.navbar-brand img {
  height: 25px;
}

/* Minimalist Burger Button */
.burger-btn {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
  padding: 0;
}

.burger-btn span {
  display: block;
  width: 18px;
  height: 1px;
  background-color: white;
  transition: all 0.3s ease;
}

/* Subtle shift on second line */
.burger-btn span:nth-child(2) {
  transform: translateX(-7px); /* shift slightly left */
}

/* Animate to "X" when active */
.burger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-btn.active span:nth-child(2) {
  opacity: 0;
}

.burger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* Fullscreen Overlay */
.fullscreen-nav {
  position: fixed;
  top: 0;
  left: 0;
  height: 0;
  width: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.95);
  transition: height 0.4s ease;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fullscreen-nav ul {
  list-style: none;
  padding: 0;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease 0.1s;
}

.fullscreen-nav ul li {
  margin: 1.5rem 0;
}

.fullscreen-nav ul li a {
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
  font-weight: 300;
  letter-spacing: 1px;
}

/* Active state */
.fullscreen-nav.active {
  height: 100vh;
}

.fullscreen-nav.active ul {
  opacity: 1;
}

/* Mobile Toggler Icon - White */
/* .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  filter: invert(1);
  width: 1.5rem;
  height: 1.5rem;
} */

/* Mobile Menu Background */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: black;
  }

  .navbar-nav {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
}

/* Burger Toggler Base */
/* Burger Icon Style */
/* .custom-toggler {
  border: none;
  background: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
  z-index: 1002;
}

.toggler-bar {
  width: 24px;
  height: 2px;
  background-color: white;
  transition: all 0.3s ease-in-out;
}

/* Animation on open */
.custom-toggler.active .top-bar {
  transform: rotate(45deg) translate(5px, 5px);
}
.custom-toggler.active .middle-bar {
  opacity: 0;
}
.custom-toggler.active .bottom-bar {
  transform: rotate(-45deg) translate(5px, -5px);
} */





/* Force collapse menu on all screen sizes */
/* @media (min-width: 992px) {
  .navbar-expand-lg .navbar-collapse {
    display: none !important;
  }

  .navbar-expand-lg .navbar-toggler {
    display: block !important;
  }
} */



/* .custom-toggler {
  background: none;
  border: none;
  outline: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0.25rem;
  z-index: 1001;
}

.toggler-bar {
  width: 24px;
  height: 2px;
  background-color: white;
  transition: all 0.3s ease-in-out;
} */

/* Animate into "X" when active */
/* .custom-toggler.active .top-bar {
  transform: rotate(45deg) translate(5px, 5px);
}

.custom-toggler.active .middle-bar {
  opacity: 0;
}

.custom-toggler.active .bottom-bar {
  transform: rotate(-45deg) translate(5px, -5px);
} */


    .section {
      padding: 80px 0;
      /* border-bottom: 1px solid #222; */
    }

.section-header {
  margin-bottom: 3rem;
}

.section-wrapper {
  max-width: 720px;
  margin: 0 auto 3rem auto;
  padding: 0 1rem;
}

#typed-text {
  font-size: 2.5rem;
  font-weight: 500;
  color: #f8f8f8;
}

/* Hide static on desktop, show typed */
.static-mobile {
  display: none;
}

.typed-desktop {
  display: inline;
}

@media (max-width: 768px) {
  .static-mobile {
    display: inline;
  }

  .hero-subtext {
    display: none;
  }

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



.hero-title,
.hero-subtext {
  font-family: 'General Sans', sans-serif;
}

.hero-subtext{
  font-size: 0.9rem!important;
}

.pirus-title {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: #f5f5f5;
  margin-bottom: 0.75rem;
}

.pirus-subtitle {
  font-size: 0.95rem;
  font-weight: 300;
  color: #888;
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto;
}

#hero {
  min-height: 90vh;
}

  @media (max-width: 768px) {
    #hero {
      min-height: 10vh;
      padding-top: 4rem;
      padding-bottom: 2rem;
    }
  }

.hero-section {
  min-height: 80vh;
  padding: 6rem 1rem;
  background-color: #0d0d0d;
  background-image: url('images/bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.973);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 600;
  color: #f8f8f8;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-subtext {
  font-size: 1.125rem;
  font-weight: 300;
  color: #ccc;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
}

/* 🔧 Mobile-specific tweaks */
@media (max-width: 768px) {
  .hero-section {
    min-height: 40vh;
    padding: 3rem 1rem;
  }

  .hero-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
  }

  .hero-subtext {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.7rem;
  }

  .hero-subtext {
    font-size: 0.85rem;
  }

  .hero-section {
    min-height: 55vh;
    padding: 2rem 1rem;
  }
}


.portfolio-section img {
  display: block;
}

.portfolio-item {
  position: relative;
  display: block;
  overflow: hidden;
  transition: transform 0.4s ease;
  cursor: pointer;
}

.portfolio-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.portfolio-item::after {
  content: "View Project";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.portfolio-item:hover::before {
  opacity: 1;
}

.portfolio-item:hover::after {
  opacity: 1;
}

.portfolio-item:hover {
  transform: scale(1.05);
}

.modal-body {
  overflow: hidden;
}

.modal-body img {
  max-height: 90vh;
  object-fit: contain;
}

.underline {
  width: 40px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}


.testimonial-card {
      background-color: rgba(255, 255, 255, 0.020);
      padding: 2rem;
      /* border-radius: 12px; */
      text-align: center;
      height: 100%;
    }

    .testimonial-avatar {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      object-fit: cover;
      margin-bottom: 1rem;
    }

    .carousel-inner {
      max-width: 1000px;
      margin: 0 auto;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
      filter: invert(1);
    }

    .text-muted {
      color: #bbb !important;
    }
/* .testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.05);
} */



    .btn-outline-light {
      border-color: #fff;
      color: #fff;
    }
    .btn-outline-light:hover {
      background-color: #fff;
      color: #000;
    }

.minimal-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: white;
  margin-bottom: 1.5rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  font-weight: 300;
}

.minimal-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.minimal-input:focus {
  outline: none;
  border-bottom: 1px solid rgba(255,255,255,0.5);
}

.minimal-btn {
  background: none;
  border: 1px solid #a547ed8a;
  padding: 0.5rem 2rem;
  color: white;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.minimal-btn:hover {
  background-color: #a547ed;
  border-color: rgba(255,255,255,0.0);
  color: black;
}


    footer {
      padding: 20px 0;
      text-align: center;
      color: #999;
      font-size: 14px;
    }
    .portfolio-item img, .photo-item img {
      width: 100%;
      height: auto;
      border-radius: 6px;
      cursor: pointer;
    }
    .logo-slider {
      overflow-x: auto;
      white-space: nowrap;
      padding: 20px 0;
    }
    .logo-slider img {
      height: 60px;
      margin: 0 30px;
      filter: grayscale(100%);
      opacity: 0.7;
      transition: 0.3s ease;
    }
    .logo-slider img:hover {
      filter: grayscale(0%);
      opacity: 1;
    }

.photo-scroll {
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
}

.scroll-container {
  display: inline-flex;
  gap: 1rem;
  animation: scrollLeft 40s linear infinite;
}

.scroll-container img {
  height: 250px;
  width: auto;
  border-radius: 12px;
  transition: transform 0.3s ease-in-out;
}

.scroll-container img:hover {
  transform: scale(1.05);
}

.photo-scroll {
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;

  /* Hide scrollbar for all browsers */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE/Edge */
}

.photo-scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.greyscale{
    filter: grayscale(5);
}

.greyscale:hover{
    filter: grayscale(0);
    transition: 0.5s;
}


/* Smooth continuous scroll animation */
@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


.portfolio-thumb {
  position: relative;
  overflow: hidden;
}

.portfolio-thumb img {
  filter: grayscale(0%);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.portfolio-thumb:hover img {
  transform: scale(1.03);
  filter: grayscale(100%);
}

.portfolio-thumb .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: rgba(0,0,0,0.7);
  width: 100%;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-thumb:hover .overlay {
  opacity: 1;
}

.project-title {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: lowercase;
  color: #fff;
}

.project-type {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

.modal-content {
  border: none;
  border-radius: 0;
}

.modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modal dialog fills the screen */
.modal-dialog.modal-fullscreen {
  margin: 0;
  width: 100vw;
  height: 100vh;
}

/* Modal content styles */
.modal-content {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-color: rgba(0, 0, 0, 0.95);
}


/* Inner content wrapper */
.modal-inner {
  max-width: 700px;
  max-height: 90vh;
  overflow: hidden;
  color: #fff;
}

/* Remove body scroll effect */
body.modal-open {
  overflow: hidden !important;
  padding-right: 0 !important;
}

.modal {
  padding-right: 0 !important;
}

/* Hide scrollbar completely */
.modal-content::-webkit-scrollbar,
.modal-inner::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}
/* Hide scrollbar on all major browsers */
.modal-body::-webkit-scrollbar {
  display: none;
}
.modal-body {
  -ms-overflow-style: none;  /* IE/Edge */
  scrollbar-width: none;     /* Firefox */
}



