/* General Body Styling */
html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh; /* Ensure the body and html elements take the full height */
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: rgb(82, 206, 248);
    color: #333;
    text-align: center;
    padding: 0px;
    background-size: cover; /* Ensures the background covers the entire area */
    background-position: center; /* Centers the image */
    background-attachment: scroll; /* Keeps the image fixed while scrolling */
   
}

/* Main Container Styling */
.container {
    margin: auto;
    padding-top: 60px;
    min-width: 100%;
    padding: 0px;
    background-color: rgba(255, 255, 255, 0.8);
    flex-grow: 1; /* Ensures the container takes up remaining space and pushes the footer down */
}

.logo {
    height: 100px; /* Adjust the size of the logo */
}

/* Add this CSS to ensure the list wraps properly */
#reasons-list {
    overflow: hidden; /* Ensure overflow is hidden */
}

#reasons-list ul {
    text-align: left;
    margin-top: 20px;
    margin-left: 100px;
    margin-bottom: 100px;
    padding: 0; /* Reset padding */
    padding-left: 0; /* Ensure no padding on left */
    list-style-type: none; /* Remove bullet points if needed */
    overflow-wrap: break-word; /* Break long words */
}

#reasons-list li {
    margin-bottom: 10px; /* Space between list items */
    white-space: normal; /* Allow text to wrap */
}   

.side-image {
    padding-right: 100px;
}

/* Nav Bar Styles */
nav {
    padding: 5px 0; /* Keep it the same as footer */

    display: flex;
    justify-content: center; /* Align content in center horizontally */
    align-items: center; /* Align content vertically */
    height: 40px; /* Set a fixed height similar to the footer */
}

.nav-links {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center; /* Aligns links horizontally like the navbar */
    gap: 10px; /* Space between the links */
}

.nav-links li {
    margin: 0 10px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    padding: 4px 8px; /* Reduce padding to make it slimmer */
    display: block;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-links a:hover {
    background-color: white;
    color: black;
}

/* Address Block Styling */
.address {
    margin-top: 10px;
    padding: 10px;
    display: inline-block;
    word-wrap: break-word; /* Ensures long text wraps inside the container */
}

//* Footer Styling */
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0; /* Prevent the footer from shrinking */
}

/* Footer Links Styling */
.footer-links {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center; /* Aligns links horizontally like the navbar */
    gap: 10px; /* Space between the links */
}

.footer-links li {
    display: inline;
}

.footer-links a {
    text-decoration: none;
    color: #333;
    font-size: 12px;
    padding: 4px 8px; /* Reduce padding to make it slimmer */
    display: block;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.footer-links a:hover {
    background-color: white;
    color: black;
}

.copyright{
    font-size: 10px;
}
/* Responsive Styling for Smaller Screens */
@media (max-width: 768px) {
    /* General body padding adjustments for smaller screens */
    body {
        padding: 0px;
    }

    /* Adjust the max-width of the container for mobile */
    .container {
        max-width: 100%;
     
    }

    /* Make nav bar links stack on smaller screens */
    .nav{
        margin-top: 10px;
    }
    .nav-links {
        max-width: 100%;
        padding: 10px;
    }

    .nav-links li {
        margin: 5px 0; /* Add margin between stacked links */
    }

    .nav-links a {
        font-size: 12px;
    }

    /* Ensure address block fits and text wraps properly */
    .address {
        width: 100%;
        word-wrap: break-word; /* Ensures the address text wraps on smaller screens */
        box-sizing: border-box; /* Make sure it fits within its container */
    }

    /* Footer adjustments for smaller screens */
    footer {
        max-width: 100%;
        padding: 10px;
    }

    /* Resize headings for mobile */
    h1, h2, h3, h5 {
        font-size: 1.2em; /* Decrease heading sizes */
    }

    p {
        font-size: 16px; /* Adjust paragraph font size for mobile */
    }

    /* Ensure links have proper spacing on smaller screens */
    .link-container a {
        font-size: 14px; /* Smaller font for mobile */
        display: block; /* Stack the links vertically on small screens */
        margin: 5px 0;
    }
    #reasons-list ul {
        text-align: center;
        margin-left: 20px;
        font-size: 12px;
        margin-bottom: 0px;

    }
}

/* Additional responsive styling for very small screens (e.g. phones) */
@media (max-width: 480px) {
    .nav-links li {
        margin: 3px 0; /* Reduce the margin between nav links */
    }

    .nav-links a {
        font-size: 10px;
    }

    .container, footer {
        padding: 10px;
    }

    h1, h2, h3, h5 {
        font-size: 1em; /* Further reduce heading sizes */
    }

    p {
        font-size: 14px; /* Adjust paragraph font size for very small screens */
    }

    li{
        font-size: 12px;
    }

    #reasons-list ul {
        text-align: flex;
        font-size: 12px;
        margin-bottom: 0px;
    }
}

/* Base styles for larger screens */
.content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.content-wrapper ul {
    flex: 1;
    margin-right: 20px;
}

.side-image {
    max-width: 400px;
    height: auto;
}

/* Media query for smaller screens (adjust layout for screens smaller than 768px) */
@media (max-width: 768px) {
    
    #reasons-list ul {
        margin-left: 5px;
        text-align: center;
        font-size: 11px;
        margin-bottom: 0px;
    }
    .content-wrapper {
        flex-direction: column; /* Stack the list and the image vertically */
        align-items: flex-start; /* Center the content */

    }

    .content-wrapper ul {
        margin-right: 2 0; /* Remove margin on the right when stacking */
        width: 100%; /* Make the list take up full width */

    }

    .side-image {
        max-width: 100%; /* Make the image responsive */
        margin-top: 0px; /* Add space between the list and the image */
        margin-bottom: 25px;
    }
}
