
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

body {
    background-color: rgb(255, 239, 220);
    font-family: 'Inter', sans-serif;
}

.opacity-main {
    background-color: rgba(4, 19, 42, 0.6); 
}

.bg-main {
    background-color: #04132A;
}

.bg-main-2 {
  background-color: #021d46;
}

.bg-main-light {
    background-color: #CB9B30;
}

/* Navbar */
.diagonal-split-background{
    background-color: #f7ede2;
  }

.navbar-box {
    background-color: #013A6B;
    border-radius: 0px 0px 20px 20px ;
}

/* Hero with background image with a focus to the right */
.hero1 .container-fluid{
  background-image: url("../assets/img/grass-patio-with-tiling-around-the-grass.webp?a=2");
}

.hero2 .container-fluid{
  background-image: url("../assets/img/side-of-house-with-brick-tiling-on-the-floor.webp?a=2");
  }

.hero3 .container-fluid{
  background-image: url("../assets/img/water-sprinkler-spraying-shrubs.webp?a=2");
  }

.hero4 .container-fluid{
  background-image: url("../assets/img/irrigation-system-on-side-of-house.webp?a=3");
  }
.hero5 .container-fluid{
  background-image: url("../assets/img/irrigation-repair.webp?a=1");
  }

.hero .container-fluid {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 75vh;  
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  max-width: 1670px;
  background-position-x: right;
}

.hero h1 {
  font-size: 3rem;
  color: #fff;  
  letter-spacing: 3px;
  text-shadow: 2px 2px 2px #00000080;
}

.hero p {
  color: #fff;
  letter-spacing: 4px;
  font-size: 1.5rem;
  text-shadow: 2px 2px 2px #00000080;
}

.hero a {
  background-color: #CB9B00;
  color: #fff;
  padding: 15px;
  border-radius: 20px 0px 20px 0px;
  text-decoration: none;
  letter-spacing: 2px;
  border: none;
}


/* Our Services */
#services {
    background-color: #90A955;
    color: #fff;
    min-height: 600px;
}

/* CTA */

#cta {
    background-color: #CB9B30;
    color: #fff;
}

#cta a {
    letter-spacing: 2px;
}


.diagonal-split-2 {
    background-color: #013A6B;
    background-image: -webkit-linear-gradient(-30deg, #CB9B30 50%, white 50%);
  }

  .text-cut {
width: 40%;

  }


/* About */
#about {
    background-color: #04132A;
    color: #fff;
}

.about-diagonal-split {
    background-image: -webkit-linear-gradient(-30deg, #CB9B30 50%, #04132A 50%);
  }

/* On mobile */
@media (max-width: 576px) {
    .hero .container-fluid {
        height: 50vh;
    }

    .hero h1 {
        font-size: 1.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero a {
        padding: 5px;
        width: 100%;
        }

    .diagonal-split-background{
      background-image: -webkit-linear-gradient(-30deg, #04132A 50%, white 30%);
    }
}

/* Contact */
.php-email-form .validate {
    display: none;
    color: red;
    margin: 0 0 15px 0;
    font-weight: 400;
    font-size: 13px;
  }
  
  .php-email-form .error-message {
    display: none;
    color: #fff;
    background: #ed3c0d;
    text-align: left;
    padding: 15px;
    font-weight: 600;
  }
  
  .php-email-form .error-message br+br {
    margin-top: 25px;
  }
  
  .php-email-form .sent-message {
    display: none;
    color: #fff;
    background: #18d26e;
    text-align: center;
    padding: 15px;
    font-weight: 600;
  }
  
  .php-email-form .loading {
    display: none;
    background: #fff;
    text-align: center;
    padding: 15px;
  }
  
  .php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid #18d26e;
    border-top-color: #eee;
    animation: animate-loading 1s linear infinite;
  }
  
  @keyframes animate-loading {
    0% {
      transform: rotate(0deg);
    }
  
    100% {
      transform: rotate(360deg);
    }
  }

/* On tablet */
@media (min-width: 577px) and (max-width: 1024px) {
    .hero .container-fluid {
        min-height: 300px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }
}
