/* Importing Google Font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Roboto', sans-serif;
    color: #333;
    background-color: #f4f4f9;
}

/* Navigation Styles */
nav {
    margin-top: 1px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 7vh;
    background-color: #555555;
    color: #fff;
    padding-left: 100px;
    z-index: 2; /* Above parallax */
}

nav .title {
    font-size: 2.5vh;
}

nav .menu a {
    margin-left: 55px;
    text-decoration: none;
    color: #fff;
    transition: color 0.3s;
    padding-right: 10px;
    margin-left: 20px;
    font-size: 2vh;
    background-color: #2f6d00;
    border-radius: 10%;
    padding: 10px;
}

nav .menu a:last-child {
    margin-right: 125px;
}

nav .menu a:hover {
    color: #ddd;
}

.popup {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    font-size: 6vh;
    transform: translate(-50%, -50%);
    width: 900px;
    background: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    z-index: 1000;
}

.popup-content {
    position: relative;
}

.close {
    position: absolute;
    top: 2px;
    right: 10px;
    cursor: pointer;
    font-size: 50px;
}

/*main styles*/

.block {
    width: 100%;
    height: auto; /* Set height to auto */
    background-color: rgba(255, 255, 255, 0.5);
    overflow: hidden; /* Helps contain any floated or absolutely positioned child elements */
}

.content-container {
    display: flex;
    align-items: center; /* vertically centers the text and image */
    justify-content: center; /* horizontally centers the container */
    width: 70%; /* takes up 80% of the page width */
    margin: 0 auto; /* centers the container on the page */
    height: 45vh; /* ensures it takes the full height of the block */
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 1vw;
    background-color: #eceaea;
    margin-top: 10vh;
    border-radius: 10px;
}

.text-content {
    flex: 1; /* ensures the text content and image take up equal space */
    padding-right: 20px; /* provides some spacing between text and image */
    color: rgb(5, 32, 32);
    text-align: center;
    font-size: 3.5vh;
    line-height: 1.8;
}

.block-image {
    height: 45vh;
    width: auto;
    flex-shrink: 0; /* prevents the image from shrinking if the text content becomes too long */
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.2);
}

/* Additional Text Container */
.additional-text-container {
    width: 80%;
    margin: 2rem auto;
    padding: 2rem;
    text-align: left;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.additional-text-container h2, .additional-text-container h3 {
    color: #555;
}

.additional-text-container p {
    line-height: 1.6;
}

/* Parallax Image */
.parallax-container {
    position: relative;
    overflow: hidden;
    height: 15vh;
}

.parallax-image {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    min-width: 100%;
    min-height: 100%;
    opacity: 0.9;
}

/* Section Titles */
.lower-block-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 4vh 0;
    color: #333;
}

.additional-text-container-b {
    width: 80%; /* takes up 80% of the page width */
    margin: 30px auto 0; /* centers the container on the page and adds a top margin */
    text-align: center; /* centers the title and text */
    background-color: #ffffff;
    padding: 0.5vh 1vw;
    padding-bottom: 5vh;
    margin-bottom: 4vh;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.additional-text-container-b h2 {
    font-size: 2.5rem; /* adjust as per your preference */
    margin-bottom: 15px; /* space between title and text */
}

.additional-text-container-b h3 {
    font-size: 2.5vh; /* adjust as per your preference */
    margin-bottom: 15px; /* space between title and text */
}


/* Button Styles */
.centered-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.8rem;
    color: #ffffff;
    background: linear-gradient(135deg, #73cf27, #004d40); /* Teal gradient */
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-weight: 500;
}

.centered-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.centered-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


/* Footer Styles */
.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #555555;
    color: #fff;
    padding: 1.5rem;
    flex-wrap: wrap;
    text-align: center;
}

.footer-content p, .footer-content a {
    margin: 0;
    font-size: 26px;
    color: #ddd;
    text-decoration: none;
}

.footer-content a:hover {
    color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 968px) {
    
    nav {
        visibility: hidden;
    }

    .content-container {
        width: 90%; /* takes up 80% of the page width */
    }

    .text-content {
        font-size: 0.8rem;
    }

    .image-row {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        text-align: left;
    }
}
