input,
textarea,
select {
  color: #fff !important;
  border-radius: 10px !important;
}
.xl-text {
  font-size: 65px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Adjust based on your navbar height */
}

#home {
  scroll-margin-top: 80px;
}

.header {
  margin-top: -80px;
  padding-top: 80px;
}

.header {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55)),
    url("../images/header-background.jpg") center center / cover no-repeat;
  min-height: 70vh; /* enough height on desktop */
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

/* Ensure image behaves like a background if used directly */
.header > img.hero-img,
.header > .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Keep content visible above the overlay */
.header .container {
  position: relative;
  z-index: 2;
  padding: 60px 15px; /* balanced vertical spacing */
}

/* Control spacing and alignment */
.header .col-md-8 {
  padding-top: 40px;
}

/* Vertical decorative line on desktop */
.header .vertical-decoration {
  z-index: 3;
  position: absolute;
}

/* ----------- Text & Button Styling ----------- */
.header h1.xl-text {
  font-size: 65px;
  line-height: 1.1;
  margin-bottom: 0.6rem;
}

/* Rotating or changing text */
.header .replace-me {
  display: block;
  color: var(--bs-primary);
  font-weight: 700;
  font-size: inherit;
  margin-top: 5px;
}

/* Buttons styling */
.header .btn {
  margin-top: 18px;
  display: inline-block;
}

/* Tablets and small laptops */
@media (max-width: 992px) {
  .header {
    min-height: 60vh;
    background-position: center;
  }

  .header h1.xl-text {
    font-size: 48px;
    line-height: 1.15;
  }

  .header .replace-me {
    display: block;
    font-size: 30px;
    margin-top: 6px;
  }

  .header p.lead {
    font-size: 16px;
    margin-top: 8px;
  }

  .header .btn {
    margin-top: 14px;
  }
}

/* Mobile phones */
@media (max-width: 576px) {
  .header {
    min-height: 65vh;
    text-align: left;
    background-size: cover;
  }

  .header .container {
    padding: 40px 20px;
  }

  .header h1.xl-text {
    font-size: 34px;
    line-height: 1.2;
  }

  .header .replace-me {
    font-size: 22px;
    margin-top: 4px;
  }

  .header p.lead {
    font-size: 15px;
  }

  .header .btn {
    margin-top: 10px;
  }
}

.vertical-decoration {
  top: 12%;
  width: 24px;
}

.hr-heading {
  display: inline-block;
  width: 3.5rem;
  height: 0.125rem;
  margin-top: 0.625rem;
  border: none;
  background-color: var(--bs-primary);
  opacity: 1;
}

.navbar {
  transition: all 0.5s ease-in-out;
  padding: 0rem 0;
}

.navbar-brand img {
  transition: all 0.5s ease-in-out;
  width: 100%;
  height: 70px;
}
.navbar-sticky {
  opacity: 0.8;
}

.details .vertical-decoration {
  top: 0;
  left: 0;
  width: 24px;
}

.details-2 .vertical-decoration {
  top: 5%;
  right: 0;
  width: 24px;
}

.services {
  background-color: #ffffff;
  /* background-image: url("../images/paint-splash.png"); */
  background-repeat: repeat-x; /* repeat horizontally */
  background-size: contain; /* keep thin splash proportions */
  background-position: 0 60px;
  position: relative;
  z-index: 1;
}

/* Service Card background (blue-black maintained) */
.bg-service {
  background: #1d3557; /* your blue-black */
  border-radius: 12px;
  padding: 20px;
}

/* Icon Accent Color */
.icon-accent {
  color: #e63946; /* Vibrant red accent */
}

.projects {
  cursor: pointer;
}

.card-img-top {
  width: 100%;
  height: 250px; /* keeps all image containers same height */
  object-fit: cover; /* auto-crops and scales without distortion */
  object-position: center;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  cursor: default;
}

.hr-heading {
  width: 80px;
  height: 3px;
  background-color: #0d6efd; /* Bootstrap primary blue */
  border: none;
  opacity: 1;
}

.faqs {
  background-image: url("../images/paint-splash.png");
  background-repeat: repeat-x; /* repeat horizontally */
  background-size: contain; /* keep thin splash proportions */
  background-position: 0 40px;
  position: relative;
  z-index: 1;
}

@keyframes pulse-border {
  0% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
    opacity: 0;
  }
}

.project-modals .modal-dialog {
  max-width: 1150px;
  margin-top: 130px;
}

@keyframes pulse-border {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}
