*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    flex-wrap: wrap;
    /* overflow: hidden; */
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  .spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
 .hidden {
    display: none;
  }
   @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
   @keyframes hidePreloader {
    to { opacity: 0; visibility: hidden; }
  }
  
  #preloader {
    animation: hidePreloader 3s ease forwards;
  }

.navbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background-color: #000;
    padding-block: 15px;
}
.menu a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
}
.menu a:hover{
    text-decoration: underline;
    text-underline-offset: 15px;
}
.logo{
    margin-left: 100px;
    height: 10vh;
    border-radius: 30px;
    margin-top: 0;
    border: transparent;
}
.logo img{
    height: 10vh;
}
.menu .list {
    list-style: none;
    display: flex;
    gap: 25px;
    margin-right: 70px;
}
#toggler,
.navbar label {
    display: none;
    font-size: x-large;
    margin-right: 20px;
}
.navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
/* navbar ends */
#container {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items:flex-start;
    text-align: left;
    color: #fff;
    background-color: transparent;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: backgroundSlide 12s infinite; 
    padding: 20px;
}
#container h1, h4{
    margin-left: 100px;
    margin-top: 10%;
}

@keyframes backgroundSlide {
    0% { background-image: url('image2.jpg'); }
    25% { background-image: url('image1.jpg'); } 
    50% { background-image: url('image2.jpg'); } 
    75% { background-image: url('image4.jpg'); } 
    100% { background-image: url('image1.jpg'); } 
}
.button1 {
    background-color: white;
    color: #1a5d9f;
    text-align: center; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    text-decoration: none;
    width: 250px;
    height: 50px;
    border-radius: 15px;
    margin-left: 100px;
    font-size: 16px; 
}
.button2 {
    background-color: #1a5d9f;
    color: white;
    text-align: center; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    text-decoration: none;
    width: 250px;
    height: 50px;
    border-radius: 15px;
    font-size: 16px; 
}
.button-container {
    display: flex; 
    gap: 20px; 
    margin-top: 50px;
}
#about {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 40px;
    position: relative;
    flex-direction: row;
    gap: 100px; 
    background-color: #f9f9f9; 
}
.aboutimg {
    width: 100%; 
    max-width: 600px; 
    height: auto; 
    border-radius: 10px;
    margin-left: 80px; 
    margin-right: 20px;
}


#about-right {
    flex: 1.5; 
}

#about-right h1 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    margin-top: -90px;
    justify-content: flex-start; 
    align-items: flex-start;
    color: #333; 
}

#about-right p {
    font-size: 1.25rem;
    line-height: 1.75rem;
    color: #555;
    margin-right: 70px;
}
#ourservicessection{
    margin-left: 100px;
}
#ourservicessection h3{
    background-color: #1a5d9f;
    margin-left: 20px;
    margin-right: 70px;
    border-radius: 5px;
    color: white;
    padding: 1%;
}
#ourservicessection h4{
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-color: #1a5d9f ;
    margin-left: 130px;
    margin-top: 2%;
}
#ourservicessection-card{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: 50px;
    margin-top: 50px; 
}
#ourservicessection-card-left {
    width: 250px;
    height: 300px;
    border-radius: 10px;
    background-color: whitesmoke;
    margin: 5%;
    /* margin-top: 5%; */
    display: flex;
    flex-direction: column; 
    text-align: center;
    justify-content: center;
    align-items: center; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    padding: 15px; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#ourservicessection-card-left:hover {
    transform: translateY(-10px); 
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); 
}

#ourservicessection-card-left h5 {
    font-size: 1.2rem;
    color: black;
    margin-bottom: 10px;
    font-weight: bold;
}

#ourservicessection-card-left p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}
.button3{
    background-color: white;
    color: #1a5d9f;
    text-align: center;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    text-decoration: none;
    width: 200px;
    height: 50px;
    margin-left: 50px;
    margin-top: 20px;
    border-radius: 15px;
    font-size: 16px;
}
#ourclientssection{
    margin-left: 100px;
    margin-top: 20px;
}
#ourclientssection-client{
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-right: 70px;
    background-color: whitesmoke;
    border-radius: 10px;
}
#ourclientssection-client p{
    color: gray;
    margin-left: 200px;
    margin-right: 200px;
}
#ourclientssection-client-animated {
    background-color: #fff;
    display: flex;
    overflow: hidden; 
    white-space: nowrap; 
    position: relative;
    width: 100%; 
    height: auto; 
}

#ourclientssection-client-animated .client {
    display: flexbox;;
    margin-top: 20px;
}
#ourclientssection-client-animated .image-container img{
    
    width: 400px;;
}
#ourclientssection-client-animated .image-container {
    animation: scroll 25s linear infinite; 
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}
#products{
    margin-left: 100px;
}
#products h3{
    background-color: #1a5d9f;
    margin-left: 20px;
    margin-right: 70px;
    border-radius: 5px;
    color: white;
    padding: 1%;
}
#products h4{
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-color: #1a5d9f ;
    margin-left: 130px;
    margin-top: 2%;
}
#products p{
    margin-right: 70px;
}
.productimg {
    width: 250px; 
    border-radius: 10px;
    height: 260px;
    margin-right: 20px;
}
#products-one {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;

}
#products-one-products {
    width: 30%;
    margin: 10px 0;
}


/* product show on media css */
#products-one-two{
    display: none;
 }
/* product show on media css */
.carousel-control-prev,
.carousel-control-next {
    background-color: black; 
    }


.carousel-control-prev-icon,
.carousel-control-next-icon {
    border-radius: 50%;
    background-color: black !important; 
    }


.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem; 
    height: 3rem; 
}
.productimg:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal:target {
    display: flex;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    text-align: left;
    position: relative;
    animation: slideIn 0.3s ease-out;
}
.modal-content h2{
    color: #1a5d9f;
}
.modal .modal-content h5{
    color: #1a5d9f;
}
.modal-img {
    width: 200px;
    height: 200px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    text-decoration: none;
    font-size: 24px;
    color: #333;
    font-weight: bold;
}

.close-btn:hover {
    color: red;
}


@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
#modal-content-one{
    display: flex;
    flex-direction: row;
    
}
#modal-content-one-left{
    width: 60%;
}
#modal-content-one-right{
    width: 40%;
}


.inquiry-form {
    margin-top: 20px;
}

.inquiry-form label {
    display: block;
    font-weight: bold;
    margin-top: 10px;
}

.inquiry-form input,
.inquiry-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.inquiry-form textarea {
    resize: none;
}

.submit-btn {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #1a5d9f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.submit-btn:hover {
    background-color: #154a7e;
}

.submit-btn1{
    text-decoration: none;
    margin-top: 15px;
    padding: 5px 10px;
    background-color: #1a5d9f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

#contactus{
    background-color: #1a5d9f;
    color: white;
    padding-bottom: 1px;

}
#contactus-now{
    margin-left: 100px;
    display: flex;
    flex-direction: row;
}
#contactus-one{
    width: 30%;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 60px;
    margin-bottom: 60px;
}
#iframe{
   margin-left: 30px;
   margin-right: 30px;
   margin-top: 10px;
   margin-bottom: 10px;
}

@media (max-width: 720px) {
       #natural-impact{
        width: 100%;
       }
       #logo{
        padding-left: 10px;
       }
       #about {
       height: 100vh; 
    }
    .button1, .button2{
        margin: 0;
        margin-left: 5%;
    }
    #contactus-now{
        margin-left:5%;
    }
    #ourclientssection-client{
        margin-right: 20px;
    }
    #ourclientssection-client p{
        margin-left: 50px;
        margin-right: 50px;
    }
    #ourservicessection-card {
        margin: 0 10px;
        
    }
    #ourservicessection-card-left {
    margin: 5%;
    }

    .logo{
        margin-left: 12px;
    }
    nav ul li a{
        font-size: 16px;
        }
    #container h1, h4{
        margin-left: 5%;
        margin-top: 40%;
    }
    .aboutimg{
        margin-left: 0;
    }
    #about{
        margin-right: 10px;
        gap: 120px;
        height: auto;
    }
    #ourservicessection{
        margin-left: 9%;
    }
    #ourservicessection h4{
        margin-top: 4%;
        margin-bottom: 4%;
        margin-left: 5%;
    }
    #ourclientssection{
        margin-left: 9%;
    }
    #ourclientssection-client{
        margin-top: 5%;
    }
    #ourclientssection-client p{
        margin-top: 5%;
        text-align: center;
        margin-bottom: 5%;
    }
    #products{
        margin-left: 9%;
        margin-bottom: 5%;
    }
    #products h4{
        margin-top: 5%;
        margin-bottom: 5%;
        margin-left: 5%;
        margin-right: 5%;
    }
    #products h3{
        margin-top: 5%;
        margin-bottom: 5%;
    }
    #products p{
        margin-top: 5%;
        margin-bottom: 5%;
        margin-right: 2%;
        margin-left: 4%;
    }
    #productCarousel{
        display: none;
    }
     /* #products-one{
        flex-wrap: wrap;
        padding: 0%;
     }
    #productCarousel{
        height: 1000px;
        align-items: center;
    } */
     #products-one-two{
        display: flex;
        flex-direction: row;
     }

     #productsCarousel {
        height: 400px;
        max-width: 80%;
        margin-left: 10%;
        margin-right: 5%;
        margin-top: 5%;
        margin-bottom: 5%;
    }

    .productimg {
        height: auto;
        object-fit: cover;
    }


     .carousel-control-prev,
.carousel-control-next {
    background-color: black; 
    }


.carousel-control-prev-icon,
.carousel-control-next-icon {
    border-radius: 50%;
    background-color: black !important; 
    }


.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem; 
    height: 3rem; 
}
    .button3{
        margin-left: 0;
    }
    .menu {
        width: 100%;
        max-height: 0;
        overflow: hidden;
    }
    .list {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }
    .list a{
        display: flex;
        font-family: 'heebo', sans-serif;
        font-size: 13px;
        padding: 5px;
    }
    .list a:hover{
        text-decoration: underline;
        transition: 2s all ease-in-out;
    }
    .navbar label{
        display: flex;
        align-items: center;
        cursor: pointer;
        color: white;
    }
    #toggler:checked ~ .menu {
        max-height: 100%;
    }
    #book-now{
        background-color: transparent;
        color: #fff;
    }
}


