body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #235f30;
    color: #333;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color:#00572e; 
    padding: 10px 20px;
}

nav img {
    height: 120px;
    width: 140px; 
}

.logo nav p{
    color: #cdcec4;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    padding: 10px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #fff9f9; 
    background-color: #666;
}
/* Styling for the hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background-color: #333;
    margin: 4px 0;
    transition: 0.4s;
}

/* Hide the menu by default */
.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 10px;
}

.nav-links a {
    text-decoration: none;
    color: #a5a4a4;
    font-size: 16px;
}

.homepage-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
    background-image: url('images/cln.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    flex-wrap: wrap; 
}

.text-content {
    flex: 1;
    padding-right: 20px;
}

.text-content h1 {
    font-size: 2.0em;
    margin-bottom: 20px;
    color: #fd3807;
}

.text-content p {
    font-size: 1.7em;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #000000;
    font-style: italic;
    font-weight: bold;
}
.text-content h4 {
    font-size: 1.2em;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #ff0000;
}

.learn-more {
    padding: 10px 20px;
    font-size: 1em;
    background-color: #1d3a20;
    color: #fff;
    border: none;
    cursor: pointer;
}

.learn-more:hover {
    background-color: #555;
}

.image-content {
    flex: 1;
    padding-left: 20px;
}

.image-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}




/*last*/

.btn {
     background-color: #ff6347;
     color: white;
     padding: 10px 20px;
     border: none;
     border-radius: 5px;
     cursor: pointer;
     text-decoration: none;
     transition: background-color 0.3s;
     margin-left: 12px;
 }
 
 .btn:hover {
     background-color: #e55342;
 }


section {
    padding: 40px 0;
}

.container {
    width: 88%;
    margin: 0 auto;
    background-color: rgb(197, 190, 187);
}

.container h2{
    color: #ff2600;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #000000;
}




.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;}

.image-container {
    position:relative;
    width: 50%;
    height:auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-right: 15px;
    margin-left: 10px;
}

.image-container .image {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.image-container:hover .image {
    transform: scale(1.2);
}

.overlay {
    position:absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: 0.5s ease;
}

.image-container:hover .overlay {
    height: 100%;
}

.overlay .text {
    white-space: nowrap;
    color: white;
    font-size: 18px;
    position:absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 10px;
}

.overlay .text h2 {
    margin: 0 0 10px;
    font-size: 20px;
}

.overlay .text p {
    margin: 0;
    font-size: 13px;
}








.about p, .services p {
    text-align: center;
    margin-bottom: 20px;
 }
.services .service-box {
    background-color: #fff;
    padding: 20px;
    margin: 10px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.services .service-box h3 {
    color: #008080;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact form label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.contact form input, .contact form textarea {
    width: 95%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact form .btn {
    padding: 10px 20px;
    background-color: #008080;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
}

footer p {
    margin: 0;
}



.content-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    background-color: #ffffff;
    padding: 18px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.text-container {
    flex: 1;
    padding-right: 20px;
}

.text-container h2 {
    margin: 0 0 10px;
    font-size: 1.5em;
    color: #f72500;
 }

.text-container h1 {
    margin: 0 0 10px;
    font-size: 1.5em;
    color: #38f89e;
}

.text-container p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

.image-container {
    flex: 1;
    width: 500px;
    height: 300px; 
}

.image-container img {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .content-container {
        flex-direction: column; 
    }



    .text-container,
    .image-container {
        flex: none;
        width: 90%;
        padding: 5px;
    }

    nav ul {
        flex-direction: column; 
        align-items: flex-start; 
        width: 100%; 
        padding: 0;
        background-color: #ff2600;
    }

    nav ul li {
        display: block; 
        width: 100%;
        text-align: right;
        font-weight: bold;
      }

    nav ul li a {
        display: block; 
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
        flex-direction:column;
        width: 50%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: rgba(255, 255, 255, 0.61)
        
    }

    .nav-links li {
        margin: 0;
        text-align: center;
        padding: 10px 0;
    }



    .hamburger {
        display: flex;
    }

    .nav-links.active {
        display: flex; /* Show when active */
    }

    .homepage-section {
        flex-direction: column; /* Stack items vertically */
        padding: 20px; /* Reduce padding on smaller screens */
    }


    .homepage-section, .image-content {
        flex: none; /* Remove flex-grow to stop elements from expanding */
        width: 100%; /* Make both text and image take full width */
        padding: 0; /* Remove padding to make full use of space */
        margin-bottom: 20px; /* Add margin between text and image */
    }



    .text-content, .image-content {
        flex: none; /* Remove flex-grow to stop elements from expanding */
        width: 100%; /* Make both text and image take full width */
        padding: 0; /* Remove padding to make full use of space */
        margin-bottom: 20px;
        margin-left: 8px;
        }

    .text-content {
        padding-bottom: 20px; /* Add padding below text content */
    }

    .image-content {
        padding-top: 20px; /* Add padding above image content */
    }
}
    /*last*/


