@import url("https://fonts.googleapis.com/css2?family=Aladin&family=Berkshire+Swash&family=Hanuman:wght@100..900&display=swap");

html {
  overflow-x: hidden !important;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

body {
  overflow-x: hidden !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased; /* smooth fonts on Safari */
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent; /* removes tap highlight on iOS */
}

/* Sticky Navbar */
.navbar {
  background-color: #fff;
  border-bottom: 2px solid var(--primary-color);
  backdrop-filter: blur(12px);
}

/* .navbar {
  width: 100%;
  box-sizing: border-box; /* include padding in width */
/* } */

.navbar-brand img {
  height: 80px;
  width: 100px;
}

.row {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

:root {
  --primary-color: #002a59;
  --secondary-color: #7f8082;
}

.navbar {
  border-bottom: 2px solid var(--primary-color);
  /* padding: 0 !important;
  margin: 0 !important; */
  background-color: none !important;
  backdrop-filter: blur(12px);
  /* position: sticky !important; */
}

button,
button:focus,
button:active,
button:visited {
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important; /* Removes Bootstrap focus shadow */
}

.nav-link {
  color: var(--primary-color) !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
}

/* From Uiverse.io by SujitAdroja */
.btn {
  color: var(--primary-color);
  font-weight: 500 !important;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--primary-color) !important;
  padding: 10px 20px;
  font-size: 17px;
  cursor: pointer;
  font-weight: bold;
  background: transparent;
  position: relative;
  transition: all 1s;
  overflow: hidden;
}

.btn:hover {
  color: white !important;
  font-weight: 500;
}

.btn::before {
  color: white !important;
  content: "";
  position: absolute;
  height: 100%;
  width: 0%;
  top: 0;
  left: -40px;
  transform: skewX(45deg);
  background-color: var(--primary-color);
  z-index: -1;
  transition: all 1s;
  font-weight: 500 !important;
}

.btn:hover::before {
  width: 160%;
}

.btn a {
  text-decoration: none;
  color: inherit;
  font-weight: 500 !important;
}

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.397)),
    url(../img/hero-images/homapage-hero.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: scroll;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
}

.hero-content {
  display: flex;
  justify-content: center;
}

.hero-title {
  margin-top: 1rem;
  color: white;
  font-weight: 900;
  font-size: 2rem;
}

.hero-desc {
  margin-top: 1rem;
  color: white;
  font-weight: 400;
  font-size: 1.2rem;
}

.hero-cta {
  /* From Uiverse.io by NorthFishHasNa */
  button {
    margin-top: 1rem;
    display: inline-block;
    border-radius: 4px;
    background-color: var(--secondary-color);
    /* border: none; */
    color: #ffffff;
    text-align: center;
    font-size: 1rem;
    padding: 10px;
    /* width: 130px; */
    transition: all 0.5s;
    cursor: pointer;
    /* margin: 5px; */
    font-weight: 500;
    border: 2px solid white !important;
  }

  button span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
  }

  button span:after {
    content: ">";
    position: absolute;
    opacity: 0;
    top: 0;
    right: -15px;
    transition: 0.5s;
  }

  button:hover span {
    padding-right: 15px;
    text-decoration: none;
  }

  button:hover span:after {
    opacity: 1;
    right: 0;
  }
}

.hero-cta a {
  text-decoration: none;
  color: inherit;
}

.hvr-underline-from-center:before {
  background: var(--primary-color) !important;
}

.section-padding,
.section-margin {
  padding-left: 15px;
  padding-right: 15px;
}

.section-title {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-color);
  text-align: center;
  position: relative; /* needed for ::after */
}

.section-title::after {
  content: "";
  display: block;
  width: 5%; /* 50% width */
  height: 3px; /* thickness of the border */
  background-color: var(--secondary-color);
  margin: 0 auto; /* center it */
  margin-top: 0.5rem; /* spacing below text */
  border-radius: 2px; /* optional, rounded edges */
}

.about-desc {
  margin-top: 1rem;
  color: black;
  font-weight: 400;
  font-size: 1.2rem;
}

.text-justify {
  text-align: justify;
}

.about-inner-box img {
  border-radius: 70% 30% 30% 70% / 60% 40% 60% 40%;
}

.service-box {
  padding: 10px;
  transition: 0.3s;
  margin: 0;
}

.service-box:hover .service-inner-box {
  box-shadow: 0 4px 10px rgba(0, 42, 89, 0.3);
  transform: scale(1.05);
}

.service-inner-box {
  border: 1px solid var(--primary-color) !important;
  border-radius: 10px;
  padding: 10px;
  transition: 0.3s;
  /* margin: 10px; */
}

.card {
  border-radius: 15px !important;
  border: 2px solid var(--primary-color) !important;
  background-color: transparent !important;
}

.service-img {
  border-radius: 10px;
  height: 200px;
}

.service-img {
  filter: grayscale(1);
  transition: 0.5s;
}

.service-box:hover .service-img {
  filter: grayscale(0);
}

.service-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-top: 0.5rem;
  transition: 0.3s;
  text-align: center;
}

.service-sub-title {
  color: var(--secondary-color);
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 0.5rem;
  text-align: center;
  transition: 0.3s;
}

.service-desc {
  color: black;
  font-size: 1rem;
  font-weight: 400;
  margin-top: 0.5rem;
  text-align: justify;
  transition: 0.3s;
  text-align: center;
  background-blend-mode: color-burn;
}

/* .service-section {
  background: linear-gradient(to left, #002a59 0%, #ffffff60 100%, #002a59 100%),
    url(../img/services/service-banner.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: scroll;
} */

.service-section-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hvr-bounce-to-bottom:before {
  background: var(--primary-color) !important;
  border-radius: 10px;
}

.service-inner-box:hover .service-title {
  color: var(--secondary-color);
}

.service-inner-box:hover .service-desc {
  color: var(--secondary-color);
}

.section-margin {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.why-box {
  margin: 10px;
  border-radius: 10px;
}

.why-iiner-box {
  border: 1px solid var(--secondary-color);
  padding: 10px;
  border-radius: 10px;
  width: 100%;
}

.why-icon {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--primary-color);
}

.why-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 5px;
  text-transform: capitalize;
}

.why-desc {
  color: black;
  font-size: 1rem;
  margin-top: 5px;
  /* text-align: justify; */
}

.why-count {
  font-size: 2rem;
  font-weight: 900;
  opacity: 0.2;
}

.service-icon svg {
  font-size: 2rem;
  color: var(--primary-color);
  text-align: center;
}

.service-icon {
  display: flex;
  justify-content: center;
}

.why-image {
  width: 100%;
}

.why-image img {
  display: block; /* removes inline-gap */
  width: 100%; /* fill container width */
  height: auto; /* keep aspect ratio */
  max-width: 100%; /* don’t overflow */
  border-radius: 20px;
}

@media (max-width: 576px) {
  .why-image {
    aspect-ratio: 4 / 3;
  } /* taller on phones */
}

.client-img img {
  padding: 10px;
  border-radius: 50%;
  height: 80px;
  width: 80px;
}

.testimony-box {
  border: 1px solid var(--primary-color);
  /* background-color: var(--secondary-color); */
  padding: 10px;
  border-radius: 25px;
  transition: 0.3s;
}

.testimony-box:hover {
  box-shadow: 0 4px 10px rgba(0, 60, 89, 0.5);
}

.client-name {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--primary-color);
}

.client-firm {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--primary-color);
}

.client-testimony {
  font-size: 1rem;
  font-weight: 400;
  color: var(--secondary-color);
  text-align: justify;
}

.testimonials {
  padding: 1rem;
  /* background-color: var(--primary-color); */
}

.cta-section {
  background-color: var(--primary-color);
}

.cta-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-title {
  font-size: 1.5rem;
  color: white;
  font-weight: 900;
  text-align: center;
  margin-top: 10px;
}

.cta-desc {
  margin-top: 10px;
  color: white;
  font-weight: 400;
  text-align: center;
  font-size: 1.2rem;
}

.cta-link {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.cta-link a {
  border: 2px solid white;
  padding: 5px 3%;
  border-radius: 10px;
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

.cta-link a:hover {
  border: 2px solid var(--secondary-color);
  padding: 5px 3%;
  border-radius: 10px;
  text-decoration: none;
  color: var(--secondary-color);
}

.reputation-box {
  margin: 10px;
  border: 1px solid var(--secondary-color);
  border-radius: 10px;
  transition: 0.3s;
}

.reputation-inner-box {
  padding: 5px;
}

.reputation-box:hover {
  box-shadow: 0 4px 10px rgba(0, 42, 89, 0.3);
  transform: scale(1.05);
}

.reputation-icon {
  font-size: 2rem;
  color: var(--primary-color);
}

.reputation-title {
  color: black;
  font-size: 1.5rem;
  font-weight: 700;
}

.reputation-desc {
  color: var(--secondary-color);
  font-size: 1rem;
}

/* .why-choose {
  /* background: linear-gradient(to bottom left, #002a59, #ffffff 80%); */
/* background: #002a5931; */
/* padding: 5px; */
/* } */

#myBtn {
  display: none;
  position: fixed;
  bottom: 10px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: var(--primary-color);
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
  transition: 0.3s;
}

#myBtn:hover {
  background-color: var(--secondary-color);
}

.footer-box {
  padding: 10px;
}

.footer-desc {
  color: var(--secondary-color);
  font-size: 1rem;
  font-weight: 400;
  text-align: justify;
}

.footer-title {
  color: var(--primary-color);
  font-size: 1.2rem;
  font-weight: 800;
}

.footer-desc > li {
  list-style-type: none;
  margin-top: 8px;
}
.footer-link {
  text-decoration: none;
  color: var(--secondary-color);
  font-weight: 400;
  padding: 5px;
}

#counters h2 {
  color: #002a59;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

#counters p {
  color: #7f8082;
  font-weight: 500;
  position: relative;
  z-index: 2;
  font-size: 1.5rem;
}

.counter-col {
  position: relative;
  overflow: hidden;
  padding: 10px;
}

.counter-icon {
  font-size: 80px;
  color: #002a59;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.15;
  z-index: 1;
}

/* Navbar link styles */
.nav-link {
  color: var(--secondary-color);
  transition: all 0.3s ease;
}

.nav-link.active {
  color: var(--primary-color) !important;
  font-weight: 600;
  position: relative;
}

.nav-link.active::after {
  content: "";
  display: block;
  width: 50%;
  height: 3px;
  background-color: var(--primary-color);
  margin: 4px auto 0 auto;
  border-radius: 2px;
}

.nav-link.mobi-active {
  color: var(--secondary-color) !important;
  font-weight: 600;
}

/* Modal styles */
.modal-header {
  background-color: var(--primary-color);
  color: #fff;
  border-bottom: none;
}

.modal-footer {
  border-top: none;
}

.btn-primary {
  background-color: var(--primary-color);
  border: none;
}

.btn-primary:hover {
  background-color: #004080;
}

.btn-secondary {
  background-color: var(--secondary-color);
  border: none;
  color: #fff;
}

.btn-secondary:hover {
  background-color: #606162;
}

.form-label {
  color: var(--primary-color);
  font-weight: 500;
}

.form-control,
.form-select {
  border-radius: 8px;
  border: 1px solid var(--secondary-color);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(0, 42, 89, 0.25);
}

#whatsapp-btn {
  position: fixed;
  left: 20px;
  bottom: 30px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 50px; /* centers icon */
  font-size: 24px;
  z-index: 9999;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

#whatsapp-btn:hover {
  transform: scale(1.1);
  background-color: #20b958;
}

/* Tooltip */
#whatsapp-tooltip {
  visibility: hidden;
  opacity: 0;
  width: max-content;
  background-color: #25d366;
  color: white;
  text-align: center;
  padding: 5px 10px;
  border-radius: 5px;
  position: absolute;
  left: 60px; /* distance from button */
  bottom: 0;
  line-height: 1.2;
  font-size: 14px;
  white-space: nowrap;
  transition: opacity 0.3s;
}

#whatsapp-btn:hover #whatsapp-tooltip {
  visibility: visible;
  opacity: 1;
}

.top-bar {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  background-color: var(--primary-color);
  color: #fff;
}

.marquee-wrapper {
  overflow: hidden;
}

.btn-contact {
  background-color: var(--secondary-color);
  color: #fff;
  font-weight: 200 !important;
  border-radius: 50px;
  padding: 5px 12px;
  transition: all 0.3s;
}

.btn-contact:hover {
  background-color: #c0c2c4; /* lighter hover */
  color: #002a59;
}

/* Mobile: hide contact btn, show only marquee */
@media (max-width: 767px) {
  .contact-btn {
    display: none !important;
  }
  .marquee-wrapper {
    margin-left: 0 !important;
  }
}

.about-hero {
  background: linear-gradient( rgba(0, 0, 0, 0.397)),
    url(../img/hero-images/about-hero.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: scroll;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.vission-mission-content {
  display: flex;
  justify-content: center;
}

.vision-icon {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-top: 10px;
}

.vision-title {
  color: var(--secondary-color);
  font-size: 1.5rem;
  font-weight: 700;
}

.vision-title span {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 10px;
}

.vision-desc {
  color: var(--secondary-color);
  font-size: 1rem;
  text-align: justify;
  margin-top: 10px;
}

.why-sec-box {
  padding: 10px;
  margin: 10px;
}

.abt-why-icon {
  border-radius: 60% 30% 30% 20%;
  background-color: var(--primary-color);
  padding: 8px;
  color: var(--secondary-color);
  font-size: 2.5rem;
  margin-top: 10px;
  transition: 0.3s;
}

.why-sec-box:hover .abt-why-icon {
  border-radius: 70% 30% 30% 70% / 60% 40% 60% 40%;
  color: white;
}

.why-title {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
}

.why-desc {
  color: var(--secondary-color);
  font-size: 1rem;
  text-align: justify;
  margin-top: 10px;
}

.counter-col {
  overflow: hidden;
}

.jbs-service-card {
  transition: all 0.3s ease;
  text-align: center;
}

.jbs-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.jbs-service-icon {
  margin-bottom: 1rem;
}

.jbs-dedicated-services-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.service-hero {
  background: linear-gradient( rgba(0, 0, 0, 0.397)),
    url(../img/hero-images/service-hero.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: scroll;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.project-hero {
  background: linear-gradient( rgba(0, 0, 0, 0.397)),
    url(../img/hero-images/project-hero.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: scroll;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.project-card {
  transition: all 0.3s ease;
  background: #fff;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.project-img img {
  height: 200px;
  object-fit: cover;
}

.project-info h5 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.project-info p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.project-details li {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.build-status-completed {
  color: green;
  /* border: 1px solid green; */
  /* background-color: rgba(0, 128, 0, 0.281); */
  padding: 2px 3%;
  margin: 10px;
}

.build-status-under-construction {
  color: red;
  /* border: 1px solid red; */
  /* background-color: rgba(255, 0, 0, 0.288); */
  padding: 2px 3%;
  margin: 10px;
}

.splide,
.splide__track,
.splide__list,
.carousel-inner {
  max-width: 100%;
  overflow: hidden;
}

.contact-hero {
  /* background: radial-gradient(
      circle at center,
      rgba(0, 42, 89, 0) 0%,
      rgba(0, 42, 89, 0.712) 80%
    ),
    url(../img/hero-images/contact-hero.jpg); */

      background: linear-gradient( rgba(0, 0, 0, 0.397)),
    url(../img/hero-images/contact-hero.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: scroll;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.contact-icon {
  color: var(--secondary-color);
  font-size: 2.5rem;
}

.contact-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
}

.contact-desc li {
  list-style-type: none;
  margin-top: 5px;
}

.contact-link {
  text-decoration: none;
  color: black;
  font-weight: 500;
}

.contact-box {
  padding: 10px;
  border: 1px solid var(--secondary-color);
  border-radius: 10px;
  margin: 5px;
}

.contact-inner-box {
  padding: 10px;
}

.owl-carousel .owl-item img {
  width: auto;
}
