.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #004437; /* Unified theme color */
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-sizing: border-box;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    max-height: 50px;
    width: auto;
    margin-left: 20px;
}

.navbar nav {
    display: flex;
    gap: 20px;
    margin-right: 20px;
}

.navbar nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    font-size: 1em;
    padding: 8px 12px;
    transition: color 0.3s ease;
}

.navbar nav a:hover {
    color: #b5d8c8;
}

/* Hamburger icon */
.menu-icon {
    display: none;
    font-size: 1.5em;
    color: #ffffff;
    cursor: pointer;
    margin-right: 20px;
}

/* Add padding so content isn't hidden by fixed navbar */
body {
    padding-top: 60px;
}

/* --------------------------------------- */
/* Existing Page Styles (Preserved)        */
/* --------------------------------------- */

/* General Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
}

/* Heading Section */
.heading-section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 40px; /* Adjust height as needed */
    padding: 40px; /* Adds extra spacing inside the container */
    background-color: white;
    color: #004437; /* Theme color */
    margin-top: 60px; /* Adjust the spacing above the heading */
    margin-bottom: 5px; /* Adjust the spacing below the heading */
}

.heading-section h1 {
    font-size: 2.5em;
    margin: 0; /* Ensures no extra space inside the h1 */
}

/* About Section */
.about-section {
    background-color: #004437; /* Theme color */
    color: white;
    padding: 50px 20px;
}

.about-section h2 {
    text-align: center;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 30px;
    margin-top: 0px;
    color: white;
}

.about-section p {
    text-align: center;
    font-size: 1.2em;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #d3d3d3;
}

.about-section h3 {
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    color: white;
}

.about-left, .about-right {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #1e6045; /* Slightly lighter theme color for contrast */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-left p, .about-right ul {
    font-size: 1.2em;
    line-height: 1.8;
    color: white;
}

.about-right ul {
    list-style-type: none;
    padding-left: 0;
}

.about-right ul li {
    background: #2f7f5d;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.about-right ul li strong {
    color: #ffffff;
    font-weight: bold;
}

/* Explore More Section */
.explore-more {
    text-align: center;
    padding: 40px 20px;
    background-color: #f4f4f4;
    color: #004437; /* Theme color */
}

.explore-more .cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #004437;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.2em;
}

.explore-more .cta-button:hover {
    background-color: #1e6045;
}

/* Contact Section */
.contact-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #e3f1ed;
    color: #004437;
}

.contact-section .cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #004437;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.2em;
}

.contact-section .cta-button:hover {
    background-color: #1e6045;
}

/* Latest Insights Section */
#latest-insights {
    padding: 40px 20px;
    text-align: center;
    background-color: #f4f4f4; /* Neutral background for contrast */
    color: #004437; /* Theme color */
}

#latest-insights h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: #004437; /* Theme color */
}

#insights-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Ensures responsiveness on smaller screens */
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    padding: 20px;
    max-width: 350px;
    width: 100%;
    text-align: left; /* Align content to the left */
    display: flex;
    flex-direction: column; /* Ensure vertical stacking */
    justify-content: space-between; /* Space content evenly */
}

.blog-card button {
    display: inline-block;
    background-color: #004437; /* Theme color */
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin: 0 auto; /* Centers the button horizontally */
}

.blog-card button:hover {
    background-color: #1e6045; /* Lighter shade on hover */
}

/* All Insights Button */
#all-insights-button {
    margin-top: 30px;
    padding: 12px 25px;
    background-color: #004437; /* Theme color */
    color: white;
    border: none;
    border-radius: 20px; /* Rounded corners */
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

#all-insights-button:hover {
    background-color: #00372e; /* Slightly darker theme color */
}

/* --------------------------------------- */
/* Responsive Adjustments (Mobile/iPad)    */
/* --------------------------------------- */

@media (max-width: 768px) {
    /* Show hamburger, hide normal nav */
    .menu-icon {
        display: block;
        font-size: 1.8em; /* Slightly larger for better tap target */
        padding: 5px 10px; /* Larger tap area */
        background-color: rgba(255, 255, 255, 0.1); /* Subtle background */
        border-radius: 5px; /* Rounded edges */
        transition: background-color 0.3s ease;
    }
    .menu-icon:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }
    .navbar nav {
        display: none;
        position: absolute;
        top: 70px; /* Adjusted for taller navbar */
        right: 0;
        flex-direction: column;
        background-color: #004437;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Depth effect */
    }
    .navbar nav.active {
        display: flex;
    }
    .navbar nav a {
        font-size: 1.1em; /* Larger text for readability */
        padding: 15px; /* More tap space */
        border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Subtle divider */
    }
    .navbar nav a:last-child {
        border-bottom: none; /* Remove divider from last item */
    }

    /* Adjust sections for mobile */
    .heading-section {
        padding: 15px; /* Reduced padding */
        margin-top: 70px; /* Account for taller navbar */
    }
    .heading-section h1 {
        font-size: 2em; /* Smaller but readable */
    }
    .about-section {
        padding: 30px 20px;
    }
    .about-section h2 {
        font-size: 2em;
    }
    .about-section p {
        font-size: 1em; /* Adjusted for mobile */
    }
    .about-left, .about-right {
        padding: 15px;
    }
    .explore-more,
    .contact-section,
    #latest-insights {
        padding: 20px;
    }
    .blog-card {
        max-width: 90%; /* Fit better on smaller screens */
        margin: 0 auto 20px; /* Center with spacing */
    }
    #insights-container {
        gap: 10px;
    }
}
