.header {
  background: #151515 url("../images/intro-bg.jpg") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
}

.header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.header .text-container {
  z-index: 10;
}

.header .roles {
  font-family: "lora-regular", serif;
}

.header .social {
  bottom: 50px;
}

.about-img {
  width: 200px;
}

.project:hover {
  transform: scale(1.05);
  transition: all 0.5s ease-in-out;
  opacity: 0.8;
}

.services {
  background: url("../images/bg.jpg") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
}

.services::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.services .container {
  z-index: 10;
}

@media (max-width: 767px) {
  .header .social i {
    font-size: 30px;
  }

  .header .roles {
    font-size: 18px !important;
  }

  .about-content {
    flex-direction: column;
  }

  .stats .stat {
    border-right: 0 !important;
    margin-bottom: 40px;
    border-bottom: var(--bs-dark) solid 1px;
    padding-bottom: 20px;
  }
}

.project-img {
  overflow: hidden;
}

.project-img img {
  transition: transform 0.5s ease;
}

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

.view-gallery-btn {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 20px;
  text-decoration: none;
  opacity: 0;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.project-img:hover .view-gallery-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

.view-gallery-btn:hover {
  background: #0d6efd;
  color: #fff;
}

.project-video {
  position: relative;
  overflow: hidden;
  height: 260px;
  background: #000;
}

.preview-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.4s ease;
}

.project-video:hover .preview-video {
  transform: scale(1.08);
}

/* VIEW GALLERY BUTTON */
.view-gallery-btn {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 20px;
  text-decoration: none;
  opacity: 0;
  transition: 0.3s;
  z-index: 5;
}

.project-video:hover .view-gallery-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

.view-gallery-btn:hover {
  background: #0d6efd;
}

/* Override Bootstrap's .btn-sm styles for the modals */
.btn-sm {
  font-size: 11px !important;
  padding: 2px 8px !important;
  line-height: 1.2;
  border-radius: 5px !important;

}