.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;
}

/* --------------------------------------- */
/* General Styles for Services Page        */
/* --------------------------------------- */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
    padding-top: 60px; /* So content is not hidden under fixed navbar */
}

/* Services Content Section */
.services-content {
    background-color: #004437;
    color: white;
    padding: 50px;
    margin-bottom: 50px;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    color: white;
    font-size: 2.5em;
    font-weight: bold;
}

p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #d3d3d3;
}

/* Services */
.service {
    margin-bottom: 30px;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 20px;
}

.service h3 {
    font-size: 1.8em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
}

.toggle-btn {
    background-color: white;
    color: #004437;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    margin-left: 15px;
}

.toggle-btn:hover {
    background-color: #f4f4f4;
}

.service-details {
    display: none;
    padding: 20px;
    background-color: #00372e;
    border-radius: 5px;
    margin-top: 10px;
    text-align: left; /* Align all content to the left */
    color: #e0e0e0;
}

.service-details p {
    font-size: 1.2em;
    margin-bottom: 15px;
}

.service-details ul {
    list-style-type: disc;
    padding-left: 20px;
}

.service-details ul li {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* Styling for highlighted text */
.service-details strong {
    color: #ffffff; /* Make the strong text more visible */
    font-weight: bold;
}

/* Why InfoNest Section */
.why-infonest {
    background-color: white;
    padding: 50px;
    text-align: center;
    margin-bottom: 50px;
}

.why-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.why-box {
    background-color: #004437;
    color: white;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
}

/* Let's Get Started Section */
.get-started {
    background-color: #004437;
    color: white;
    text-align: center;
    padding: 50px;
    margin-bottom: 50px;
}

.get-started button {
    background-color: white;
    color: #004437;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1.2em;
}

/* Tools Section */
.tools-section {
    background-color: #e3f1ed;
    padding: 50px;
    text-align: center;
    margin-bottom: 50px;
}

.tools-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tool-card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
}

.tool-card h3 {
    color: #004437;
    margin-bottom: 10px;
}

.tool-card p {
    margin-bottom: 15px;
    font-size: 0.9em;
    color: #333;
}

.tool-card a {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    color: white;
    background-color: #004437;
    padding: 10px 15px;
    border-radius: 20px;
    font-weight: bold;
}

.tool-card a:hover {
    background-color: #1e6045;
}

h2.theme-title {
    color: #004437; /* Updated to use the theme color */
}

/* Footer */
footer {
    background-color: #004437;
    color: white;
    text-align: center;
    padding: 0px;
}

/* --------------------------------------- */
/* Responsive Adjustments (Mobile/iPad)    */
/* --------------------------------------- */

@media (max-width: 768px) {
    /* Show hamburger, hide normal nav */
    .menu-icon {
        display: block;
        font-size: 1.8em;
        padding: 5px 10px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
    }
    .navbar nav {
        display: none;
        position: absolute;
        top: 70px;
        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);
    }
    .navbar nav.active {
        display: flex;
    }
    .navbar nav a {
        font-size: 1.1em;
        padding: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    .navbar nav a:last-child {
        border-bottom: none;
    }

    /* Adjust sections for mobile */
    .services-content,
    .why-infonest,
    .get-started,
    .tools-section {
        padding: 20px;
        margin-bottom: 30px;
    }
    h2 {
        font-size: 2em;
    }
    .service h3 {
        font-size: 1.5em;
        flex-direction: column; /* Stack title and button */
        align-items: flex-start;
    }
    .toggle-btn {
        margin-left: 0;
        margin-top: 10px;
    }
    .why-container {
        flex-direction: column;
    }
    .why-box {
        width: 90%; /* Fit mobile screen */
        margin-bottom: 20px;
    }
    .tool-card {
        width: 90%; /* Fit mobile screen */
        margin-bottom: 20px;
    }
}
