body {
    height: 100%;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: #2f71cc;
    color: #fff;
    text-align: center;
}

.navbar {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 10px 20px; /* Adjusted padding */
    display: flex;
    justify-content: space-between;
    align-items: center; /* Centers navbar items vertically */
    position: sticky;
    top: 0;
    z-index: 1000; /* Ensure navbar stays on top of other content */
}

.burger-menu {
    position: relative;
}

.toggle-button {
    display: none; /* Initially hidden */
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    height: 21px;
}

.fa-bars{
    padding-right: 100%;
}

.navbar-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; /* Makes links horizontal */
}

.navbar-links li {
    padding: 0 15px; /* Spacing between links */
}

.navbar-links a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    display: block;
    padding: 10px 0; /* Padding for clickable area */
}

.introduction {
    background-color: rgba(255, 255, 255, 0.1);
    margin: 40px auto;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    max-width: 800px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: justify; /* Justify text */
    text-align-last: center; /* Center the last line */
}

.introMessage {
    font-size: 20px;
    line-height: 1.6;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.05em; /* Increased letter spacing */
}

.introMessage strong {
    font-weight: 900;
    color: #dbf6e9;
}

.introduction img {
    width: 600px;
    height: 400px;
    border-radius: 10px; /* Optional: Adds rounded corners to the image */
}
/* General styling for the section */

/* Styles for the wrapper to center content and limit its width */
.wrapper {
    max-width: 1200px; /* Sets a max-width to keep content from stretching too wide */
    margin: 0 auto; /* Centers the wrapper */
    padding: 0 15px; /* Adds padding to keep content from touching the edges */
}

/* Styling for the services list */
.services {
    list-style: none; /* Removes bullet points from the list */
    display: flex; /* Displays list items in a row */
    flex-wrap: wrap; /* Allows items to wrap in smaller screens */
    gap: 20px; /* Adds space between the items */
    padding: 0; /* Removes default padding */
}

/* Individual service item styling */
.services li {
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), #2f71cc;
    border-radius: 5px; /* Rounds the corners of the service items */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Adds a subtle shadow */
    flex: 1; /* Allows items to grow */
    min-width: 280px; /* Minimum width for each service item */
    overflow: hidden; /* Ensures nothing spills outside the border */
}

/* Header image styling */
.services li .header img {
    width: 100%; /* Makes image take up the full width of its container */
    height: auto; /* Keeps the aspect ratio of the image */
    border-bottom: 1px solid #ddd; /* Adds a subtle separator */
}

/* Content styling within each service */
.services li .content {
    padding: 15px; /* Adds padding around the text for spacing */
}

.services li .content h2 {
    font-weight: 900;
    color: #dbf6e9;
    margin-bottom: 10px; /* Adds some space below the heading */
}

.services li .content p {
    font-size: 20px;
    line-height: 1.6;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.05em; /* Increased letter spacing */
}

.lead{
    font-size: 20px;
    line-height: 1.6;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.05em; /* Increased letter spacing */
}

.headerIntro h2{
    font-weight: 900;
    color: #dbf6e9;
    margin-bottom: 10px; /* Adds some space below the heading */
}

.flex-grow-1 {
    flex-grow: 1; /* Allows content area to grow */
}

footer {
    background-color: #ffffff; /* Adjusts the footer background */
    color: black;
    padding-top: 20px;
    padding-bottom: 40px;
}

footer h5 {
    color: black;
    margin-bottom: 20px;
    font-size: 25px;
}
footer p{
    color: black;
}
footer a{
    text-decoration: none;
    color: rgb(0, 0, 0);
    display: block;
    padding: 10px 0; /* Padding for clickable area */
}
footer p {
    font-size: 20px;
}

.video-container {
    overflow: hidden; /* Ensures no overflow */
}

.embed-responsive-item {
    width: 100%; /* Ensures the video is always as wide as its container */
    height: auto; /* Adjust height automatically */
}

@media (max-width: 768px) {
    /* Adjusts layout for smaller screens */
    .introduction{
        background-color: rgba(255, 255, 255, 0.1);
        margin: 40px auto;
        padding: 20px;
        border-radius: 15px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
        max-width: 800px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        text-align:center; /* Justify text */
        text-align-last: center; /* Center the last line */
    }
    .services {
        flex-direction: column; /* Stacks the items vertically */
    }

}

/* Extra styling for iframe to make it responsive */
.services li iframe {
    width: 100%; /* Ensures the video stretches to fill the container */
    height: auto; /* Adjusts height automatically */
    border: none; /* Removes the default border */
}


@media (max-width: 768px) {
    .introduction {
        flex-direction: column; /* Stacks image and text vertically on smaller screens */
    }

    .introduction img {
        max-width: 80%; /* Makes image larger on smaller screens */
        margin: 0 auto 20px; /* Centers image and adds spacing below */
        height: 300px;
    }

    .introText, .introMessage {
        max-width: 100%; /* Allows text to take full width on smaller screens */
    }
}
/* Responsive */
@media (max-width: 900px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .toggle-button {
        display: flex; /* Shows the burger menu on small screens */
    }

    .navbar-links ul {
        flex-direction: column; /* Stacks links vertically on small screens */
        width: 100%; /* Full width for smaller screens */
    }

    .navbar-links {
        display: none; /* Hidden by default, shown when burger menu is clicked */
        width: 100%; /* Ensures dropdown uses full width */
    }

    .navbar-links.active {
        display: block; /* Shows links when active */
    }

    .navbar-links li, .navbar-links a {
        text-align: center; /* Centers links */
        padding: 10px 0; /* Adjusts padding for vertical layout */
    }
}
