/* Basic styles, adjust as needed */
body {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
    font-size: 18px;
    color: #09577a;
    line-height: 1.6;
}

/* For headings (h1, h2, h3, etc.) */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Open Sans", sans-serif;
  /* Other styles for headings */
  color: #09577a;
}

div {
    width: 100%;
}

header {
    background-color: #fff;
    color: #fff;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.read-more {
    border: 2px solid #09577a;
    border-radius: 50%;
    padding: 10px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 100;
    font-size: 12px;
    font: normal normal normal 12px/1 FontAwesome;
    -webkit-font-smoothing: antialiased;
}

.copyright {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: left;
    padding: 20px 40px;
    width: -webkit-fill-available;
}

.copyright p {
    font-size: 10px;
}

.nav-div {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.social-footer {
    padding: 0;
    display: flex;
    margin: 0 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-right: 20px;
    /* border-right: 1px solid #fff; */
    /* padding-right: 42px; */
}

footer p {
    font-size: small;
    margin: 5px 0;
    width: max-content;
}

.contact-info {
    display: flex;
    text-align: left;
    justify-content: center;
    column-gap: 40px;
    flex-direction: column;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    /* column-gap: 40px; */
    text-align: left;
    justify-content: flex-start;
    margin-right: 20px;
    /* border-right: 1px solid #fff; */
    width: max-content;
    padding-right: 40px;
}

footer img {
    width: 100%;
    max-width: 222px;
    margin: 30px;
    filter: brightness(0) invert(1);
}

footer h4 {
    color: #fff;
    width: max-content;
}

.footer-nav-menu {
    display: flex;
    flex-direction: column;
    width: max-content;
}

.footer-nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: normal;
    transition: color 0.3s ease;
    font-size: small;
}

.footer-nav-menu li {
    display: inline;
    margin-right: 0;
    width: max-content;
}

.footer-socials {
    display: flex;
    align-items: flex-start;
    /* color: #fff; */
    flex-direction: column;
    margin-right: 20px;
    /* border-right: 1px solid #fff; */
    width: max-content;
    padding-right: 40px;
}

.footer-socials a {
    color: #fff;
}

.footer-socials div {
    display: flex;
    justify-content: space-between;
    max-width: 90px;
}

.footer-links {
    display: flex;
    /* margin: auto; */
    max-width: 1200px;
    flex-direction: column;
    margin-right: 20px;
    /* border-right: 1px solid #fff; */
    width: max-content;
    padding-right: 40px;
}

.footer-navigation {
    width: max-content;
}

.useful-links {
    display: flex;
    flex-direction: column;
    margin-right: 20px;
    /* border-right: 1px solid #fff; */
    width: max-content;
    padding-right: 40px;
}

.useful-links div {
    display: flex;
    flex-direction: column;
}

.useful-links a {
    color: #fff;
    font-size: small;
}


/* Initially hide the search icon */
#searchBtn {
    display: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    /* Additional styling for the search icon */
    color: #105779;
}


/* Show the search icon on hover */
.search-box:hover #searchBtn {
    display: inline-block;
    /* Additional styling for the search icon */
}

nav {
    display: flex;
    margin: 5px 0 15px 0;
}

#menu-toggle {
    display: none;
    /* Add styles as needed */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

a {
    color: #333;
    text-decoration: none;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: normal; /* Set default font weight */
    transition: color 0.3s ease; /* Adding transition effect */
}

nav ul li a:hover {
    color: #09577a; /* Change color on hover */
    font-weight: bold; /* Apply bold font weight on hover */
    font-size: 17px;
}

footer nav ul li a:hover {
    color: #09577a; /* Change color on hover */
    font-weight: normal; /* Apply bold font weight on hover */
    font-size: small;
}

nav ul li a:hover::after {
    content: '';
    display: block;
    width: 100%; /* Adjust width as needed */
    height: 1px; /* Thickness of the line */
    background-color: #09577a; /* Color of the line */
    position: absolute;
    bottom: -3px; /* Adjust the distance from the text */
    left: 0;
}

nav ul li a.current {
    color: #09577a; /* Change color on hover */
    font-weight: bold; /* Apply bold font weight on hover */
    position: relative; /* Position the anchor element relatively */
}

nav ul li a.current::after {
    content: '';
    display: block;
    width: 100%; /* Adjust width as needed */
    height: 1px; /* Thickness of the line */
    background-color: #09577a; /* Color of the line */
    position: absolute;
    bottom: -3px; /* Adjust the distance from the text */
    left: 0;
}

section {
    padding: 50px;
}

footer {
    /* text-align: center; */
    background-color: #333;
    color: #fff;
    padding: 0;
    position: relative;
    bottom: 0;
    background: linear-gradient(to left, #09577a, #1cafec);
    margin: auto;
    display: flex;
    flex-direction: column;
}

.logo {
    width: 300px;
    padding: 40px;
}
.logo img {
    width: -webkit-fill-available;
    min-width: 250px;
}
.social-footer a {
    margin: 0 10px;
    font-size: 20px;
    color: #105779;
}

        /* Additional styles for the content within the home section */
#home {
            /* Set the background image path relative to the CSS file */
            background-image: url('../images/waste-water-industry.jpg');
            /* Adjust background properties */
            background-size: cover;
            background-position: center;
            color: #fff; /* Set text color to white for better visibility */
            /* Other styles for the section */
            padding: 100px; /* Adjust padding as needed */
            text-align: center; /* Center text */
            position: relative; /* Add position relative to create stacking context */
            height: 516px;
        }

        /* Create an overlay using a pseudo-element */
        #home::before {
            content: ''; /* Required for pseudo-elements */
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5); /* Adjust opacity as needed */
            z-index: 1; /* Ensure overlay is above the background image */
        }

        
        #home p {
            font-size: 1.2em;
            position: relative; /* Ensure text is positioned above the overlay */
            z-index: 2; /* Set a higher z-index to place text above the overlay */
        }


#home-2 {
            /* Set the background image path relative to the CSS file */
            background-image: url('../images/waste-water-industry.jpg');
            /* Adjust background properties */
            background-size: cover;
            background-position: center;
            color: #fff; /* Set text color to white for better visibility */
            /* Other styles for the section */
            padding: 100px; /* Adjust padding as needed */
            text-align: center; /* Center text */
            position: relative; /* Add position relative to create stacking context */
            height: 150px;
            display: flex;
            align-items: center;
        }

        /* Create an overlay using a pseudo-element */
        #home-2::before {
            content: ''; /* Required for pseudo-elements */
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5); /* Adjust opacity as needed */
            z-index: 1; /* Ensure overlay is above the background image */
        }

        /* Additional styles for the content within the home section */
        #home-2 h1 {
            font-size: 2.5em;
            position: relative; /* Ensure text is positioned above the overlay */
            z-index: 2; /* Set a higher z-index to place text above the overlay */
            text-align: left;
            color: #fff;
            width: 100%;
        }

        #home-2 p {
            font-size: 1.2em;
            position: relative; /* Ensure text is positioned above the overlay */
            z-index: 2; /* Set a higher z-index to place text above the overlay */
        }


/* Style for the Our Values section */
#values {
  padding: 0 0 50px;
  /* background-color: #f4f4f4; */ /* Adjust background color */
  text-align: center;
  margin-top: -49px;
  z-index: 1;
  position: relative;
}

.values-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.value {
  width: 270px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: #09577a; /* Adjust icon color */
}

.value h3 {
  font-size: 21px;
  margin-bottom: 10px;
  color: #09577a;
  margin-top: -30px;
}

.value p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.values-icons {
    font-size: 60px;
    /* border: solid 3px #09577a; */
    border-radius: 50%;
    padding: 30px;
    width: 160px;
    height: 160px;
    align-items: center;
    display: flex;
    justify-content: center;
    background: #fff;
    font: normal normal normal 14px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Style for the about section */
#about {
    /* padding: 0px 0; */
    background-color: #3333330a; /* Adjust background color */
    /* text-align: center; */
    display: flex;
}

.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-content {
    /* max-width: 800px; */
    /* margin-bottom: 20px; */
    padding: 20px 40px;
    /* background: #09577a; */
    margin: 40px;
    border-radius: 0;
    border: solid 2px #09577a;
    border-top: 0;
    border-bottom: 0;
    border-left: 0;
}

.about-content-1 {
    display: flex;
    margin: 0 auto;
    max-width: 1200px;
}

.about-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    margin-top: 0;
    /* color: #fff; */
}

.about-content p {
    font-size: 16px;
    line-height: 1.6;
    /* color: #fff; */
}


.about-image {
    text-align: center; /* Center the image */
    margin-top: 20px; /* Adjust top margin as needed */
}

.about-image img {
    max-width: 100%; /* Ensure the image doesn't exceed its container */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Add a border-radius for rounded corners */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Add a subtle shadow effect */
}


/* Basic styles, adjust as needed */

.search-social-div {
    display: flex;
    position: relative;
    width: auto;
    align-items: center;
    margin: 30px 0 30px 0;
}


/* Style for the about section */

.what-we-do-div {
    max-width: 1200px;
}

#services {
    padding: 60px 0;
    background-color: #f4f4f4f0; /* Adjust background color */
    /* text-align: center; */
    display: flex;
    margin: 0 auto;
    z-index: -3;
    position: relative;
}

.services-content-1 {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
}

.services-div-1 {
    padding: 40px 40px 40px 40px;
    display: flex;
    width: 444px;
    flex-direction: column;
    row-gap: 40px;
}

.services-div-1 img {
    height: 222px;
    width: -webkit-fill-available;
    object-fit: cover;
}

.services-quote {
    /* font-style: italic; */
    font-size: 1.2em;
    padding: 20px;
    border-bottom: 5px solid #1cafec; /* Change the color as needed */
    background-color: #1cafec1a; /* Change the background color */
    margin: 0 0 50px;
    color: #09577a;
}

.indented-list {
    list-style: none;
    text-indent: -20px;
    margin-left: 40px;
    /* text-align: justify; */
    color: #09577a;
}

.services-div-2 {
    padding: 40px 40px 0 0;
    display: flex;
    flex-direction: column;
    /* row-gap: 20px; */
}

.services-div-3 {
    padding: 0 40px 0 0;
}

.about-container {
    display: flex;
    flex-direction: row;
}

.about-image {
    /* Style for the image container */
}

.mission-vision-div {
    padding: 40px 40px 40px 0px;
}
.mission-vision-div h2 {
    color: #1cafec;
    font-style: normal;
}
.mission-vision-div p {
    font-size: 16px;
    color: #09577a;
}

.mission-vision-div-extended {
    /* padding: 40px 80px 40px 80px; */
    display: flex;
    column-gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    width: auto;
}

/* Additional styling for call-to-action buttons and forms */

.contact-us-button {
    z-index: 1000;
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.cta-button,
.submit-button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 15px;
    background-color: #1cafec;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    position: relative;
    z-index: 200;
    width: 15%;
}

.submit-button {
    background-color: #ff6600;
}

input[type="text"], input[type="email"], input[type="tel"], textarea {
    width: -webkit-fill-available;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #105779;
    border-radius: 5px;
    color: #105779;
    font-family: "Open Sans", sans-serif;
}


/* Case Studies Section Styles */
#case-studies {
    padding: 50px 0;
    background: linear-gradient(to right, #09577a, #1cafec);
    text-align: center;
}

.case-studies-div {
    max-width: 1200px;
    margin: 0 auto;
}

#case-studies h2 {
    color: #fff;
    text-align: left;
    padding-left: 90px;
}

.case-studies-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.case-study-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: left;
    opacity: 0; /* Initially hidden */
    transition: opacity 0.5s ease; /* Transition for opacity change */
}

.case-study-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #09577a;
}

.case-study-card p {
    font-size: 1em;
    line-height: 1.6;
    color: #09577a;
}

/* Define the fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-20px); /* Move from left */
    }
    to {
        opacity: 1;
        transform: translateX(0); /* Move to original position */
    }
}

/* Apply the fade-in animation to the card when it has the 'fade-in' class */
.case-study-card.fade-in {
    animation: fadeIn 0.5s ease forwards; /* Apply animation */
}

.accreditation-sources {
    display: flex;
}

.accreditation-sources div {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #09577a;
    color: #ffffff;
    border-radius: 50%;
    width: 100%;
    min-height: 8rem;
    padding: 19px;
    margin: 10px;
    text-align: center;
    font-size: small;
    font-weight: 600;
    /* border: 4px solid #ccc; */
}

.login-button {
    background: #09577a36;
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 7px;
    font-size: medium;
    font-weight: 600;
}

.search-box {
    display: flex;
    width: 73%;
}





/* Media query for medium-sized screens (e.g., tablets) */
@media only screen and (max-width: 768px) {
    .search-social-div {
        display: flex;
        position: relative;
        width: auto;
        align-items: center;
        margin: 30px auto;
    }
  
}

/* Media query for smaller screens (e.g., mobile phones) */
@media only screen and (max-width: 480px) {
    .search-social-div {
        display: flex;
        position: relative;
        width: auto;
        align-items: center;
        margin: 30px auto;
    }

    
}
