/* In your global.css or a new fonts.css file */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: url("../assets/fonts/open-sans/open-sans-v43-latin-regular.woff2")
    format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  src: url("../assets/fonts/open-sans/open-sans-v43-latin-600.woff2")
    format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  src: url("../assets/fonts/open-sans/open-sans-v43-latin-700.woff2")
    format("woff2");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

a {
  text-decoration: none !important;
  color: #d9d9d9;
}
.hidden {
  display: none;
}

.btn-bg {
  background-color: #a2342c;
  padding: 0.9rem 0.7rem;
  font-weight: bold !important;
  font-size: 12px !important;
  border-radius: 0 !important;
}
.scroll-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 10px;
  margin-left: 20px;
  color: #ffffff;
}
.scroll-text-color {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 10px;
  margin-left: 20px;
  color: #a2342c;
}

.btn-bg-header {
  background-color: #a2342c;
  padding: 10px 20px !important;
  font-weight: normal !important;
  font-size: 16px !important;
  border: none;
  color: #ffffff;
  border-radius: 3px;
  transition: all 0.3s ease;
  text-transform: uppercase;
}
.btn-bg-header a {
  color: #ffffff;
  text-decoration: none;
}
.btn-bg-header:hover {
  background-color: #a53931;
  color: #e9e9e9;
  transform: translateY(-5px);
}

.project-header {
  padding-left: 100px !important;
  padding-right: 100px !important;
}
@media (max-width: 1024px) {
  .text-title {
    font-size: 14px !important;
    padding: 8px 10px;
    border-radius: 3px;
  }
}

.civil-infrastructure-hero {
  position: relative;
  background-image: url("/assets/Services/civil-infrastructure/civil-infra-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  color: rgba(255, 255, 255, 0.891); /* Optional: ensures text is readable */
}

.civil-infrastructure-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.562); /* Black overlay with 50% opacity */
  z-index: -1;
}

.warehouse-development-hero {
  position: relative;
  background-image: url("/assets/Services/warehouse-development/warehouse-hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  color: rgba(255, 255, 255, 0.891);
}

.warehouse-development-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.682); /* Black overlay with 50% opacity */
  z-index: -1;
}

.land-development-hero {
  position: relative;
  background-image: url("/assets/Services/land-development/land-development-hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  color: rgba(255, 255, 255, 0.891);
}
.land-development-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.584); /* Black overlay with 50% opacity */
  z-index: -1;
}
.treatment-hero {
  position: relative;
  background-image: url("/assets/Services/treatment/treatment-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  color: rgba(255, 255, 255, 0.891);
}
.treatment-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.718); /* Black overlay with 50% opacity */
  z-index: -1;
}

.electro-mechanical-hero {
  position: relative;
  background-image: url("/assets/Services/electro-mechanical/electro-mechanical.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  color: rgba(255, 255, 255, 0.891);
}
.electro-mechanical-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.597); /* Black overlay with 50% opacity */
  z-index: -1;
}
.roads-bridges-hero {
  position: relative;
  background-image: url("/assets/Services/roads-and-bridges/road-bridge.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  color: rgba(255, 255, 255, 0.891);
}
.roads-bridges-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.351); /* Black overlay with 50% opacity */
  z-index: -1;
}
.social-infrastructure-hero {
  position: relative;
  background-image: url("/assets/Services/social-infrastructure/social-infrastructure.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  color: rgba(255, 255, 255, 0.891);
}
.social-infrastructure-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.618); /* Black overlay with 50% opacity */
  z-index: -1;
}
.commercial-industrial-buildings-hero {
  position: relative;
  background-image: url("/assets/Services/commercial-and-industrial-buildings/commercial-and-industrial-buildings2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  color: rgba(255, 255, 255, 0.891);
}
.commercial-industrial-buildings-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.618); /* Black overlay with 50% opacity */
  z-index: -1;
}
