body {
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: 'Square721';
  src: url('square721_dmnormal.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

h1,
h4 {
  font-family: "Open Sans", Sans-serif;
  font-weight: 600;
  color: #544c44
}

h2 {
  font-size: 2.5rem !important;
  color: black;
  font-weight: 700 !important;
  font-family: "Open Sans", Sans-serif;
}

/* banner */

.main-banner {
  position: relative;
  background: url(img/roofing\ banner.jpg) no-repeat center;
  background-size: cover;
  padding: 100px 0;
  color: #FFF;
  min-height: 720px;
}

.main-banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.466);
  /* Adjust the opacity for the overlay effect */
  z-index: 1;
  mix-blnd-mode: multiply;
}

.main-banner .container {
  position: relative;
  z-index: 2;
}

.lp-logo {
  width: 200px;
}

.btn-enquire {
  color: white;
  background: #0e85c9;
  margin-top: 40px;
  font-weight: 600;
  font-size: 25px;
}


.btn-enquire:hover {
  background-color: #0e85c9;
  color: black;
}


.form-box {
  /* background-color: #057ebbc4; */
  background-color: #0b74ba !important;
  padding: 40px;
  border-radius: 20px;
  border-width: 5px;
  border-color: #0e85c9 !important;
  border: solid;
}

@media(max-width:700px) {
  .form-box {
    padding: 20px 20px;
  }
}

/* about */

.text {
  font-size: 18px;
}


/* counter */

.counter-section {
  padding: 100px 0;
  text-align: center;
  color: #000000;
  background: #e8f4fa;
  background-size: cover;

}

.container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.counter-box {
  text-align: center;
  flex: 1;
  min-width: 150px;
  max-width: 200px;
}

.counter-box h4 {
  font-size: 40px;
  margin: 0;
  font-weight: 500;
  font-family: "Open Sans", Sans-serif;
  color: #0e85c9;
}

.counter-box p {
  margin: 10px 0 0;
  font-size: 1.2rem;
}

.counter-box:not(:last-child)::after {
  content: '';
  height: 60px;
  width: 1px;
  background-color: #555;
  position: absolute;
  right: 0;
}

.counter-box p {
  font-family: 'Square721', Arial, sans-serif;
}

/* project */

.project {
  position: relative;
  overflow: hidden;
}

.project-img {
  width: 100%;
  display: block;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project:hover .project-img {
  transform: scale(1.1);
  /* Zoom-in effect on hover */
}

.overlayy {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  /* Semi-transparent overlay */
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project:hover .overlayy {
  opacity: 1;
  /* Show overlay on hover */
}

.overlayy-content {
  color: #fff;
  text-align: center;
}

.overlayy-content h2 {
  font-size: 1.5rem;
  margin: 0;
}

.overlayy-content p {
  margin-top: 10px;
  font-size: 1rem;
}


.main-banner2 .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(189 0 0 / 44%);
  /* Adjust the opacity for the overlay effect */
  z-index: 1;
  mix-blnd-mode: multiply;
}

.main-banner2 .container {
  position: relative;
  z-index: 2;
}



/*whats app button*/
.whatsapp-button {
  position: fixed;
  /* This will keep the button in a fixed position */
  bottom: 20px;
  /* Distance from bottom */
  right: 20px;
  /* Distance from right */
  background-color: #19c959;
  /* WhatsApp green color */
  color: #fff !important;
  padding: 5px 12px 6px 12px;
  border: 1px solid;
  border-radius: 50px;
  text-align: center;
  font-size: 20px;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
  z-index: 1000;
  /* So that it stays above other elements */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-button a {
  color: #FFF;
}

.counter-icon {
  font-size: 40px;
  color: #0E83C9;
  margin-bottom: 15px;
}

.counter-box {
  text-align: center;
  padding: 20px;
}

/* flip-card css */
.flip-card {
  background: transparent;
  width: 100%;
  min-width: 200px;
  height: 320px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* FRONT & BACK COMMON */
.flip-card-front,
.flip-card-back {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.flip-card-front h5 {
  margin: 10px;
  font-size: 25px;
  font-weight: 600;
  color: #fff;
}

/* FRONT */
.flip-card-front {
  background: #0e85c9;
}

/* BACK */
.flip-card-back {
  background: #FFF;
  color: #0e85c9;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.flip-card-back p {
  font-size: 26px;
}

@media (max-width: 768px) {
  .flip-card {
    min-width: 150px;
    height: 250px;
  }
}

@media (max-width: 768px) {


  .flip-card {
    min-width: 150px;
    height: 250px;
  }

  .flip-card-inner {
    transition: transform 0.6s ease-in-out;
  }

  .flip-card:hover .flip-card-inner {
    transform: none;
  }


  .flip-card.is-flipped .flip-card-inner {
    transform: rotateY(180deg);
  }

  .flip-card-front,
  .flip-card-back {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
}

@media (max-width: 768px) {
  .main-banner2 .container {
    padding-top: 20px !important;
  }
}