/* Initialize color variables */
:root {
    --primary-color: #00264d;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --background-color: #ffffff;
    --nav-background-color: #ffffff;
    --nav-text-color: #333;
    --nav-hover-color: #f1f1f1;
    --button-background-color: rgba(0, 0, 0, 0.5);
    --button-hover-background-color: rgba(0, 0, 0, 0.8);
    --dot-color: #bbb;
    --dot-active-color: #717171;
    --service-background-color: #f8f9fa;
    --paint-stroke-color: #e0e0e0;
    --footer-background-color: #333;
    --footer-text-color: #f8f9fa;
    --footer-link-color: #ffffff;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: var(--background-color);
}

.header {
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 10px 50px 10px 50px ;
    background-color: var(--primary-color);
    height: 70px;
    text-align: center;
}

.logo {
    height: 50px;
    max-width: 100%;
    max-width: 90%;
}

.navbar {
    height: 70px;
    background-color: var(--nav-background-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    position: relative;
}

.nav-menu {
    list-style-type: none;
    margin: 1;
    padding: 0;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-item {
    position: relative;
    padding:  10 px ;
}

.nav-item a {
    text-decoration: none;
    color: var(--nav-text-color);
    padding: 20px 50px 20px 50px;
    border-radius: 10px;
    display: block;
    border: #09264d;   
}
/* Styles for navigation menu icons */
.nav-icon {
    width: 20px; /* Adjust the size as needed */
    height: 20px; /* Adjust the size as needed */
    margin-left: 10px; /* Space between text and icon */
    vertical-align: middle; /* Align icon with text */
}

.nav-item a:hover,
.nav-item:hover > a {
    background-color:var(--primary-color);
    color: var(--footer-text-color) ;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--nav-background-color);
    list-style-type: none;
    margin: 0;
    padding: 20; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 20;
}
.dropdown-menu li a {
    padding: 10px 10px;
    display: block;
    text-align: left;
    color: var(--primary-color);
    
    /* text-decoration: none; */
    
}

.dropdown-menu li a:hover {
    background-color: var(--primary-color);
}

.nav-item:hover .dropdown-menu {
    display: block;
    width: 220px;
}

.dropdown-link {
    display: block;
    padding: 5px 5px;
    color: var(--primary-color);
    text-decoration: none;
    transition: background-color 0.3s ease;
}
/* 
.aboutus {
    padding: 50px 20px;
    background-color: var(--service-background-color);
} */

/* .section-title {
    text-align: center;
    font-size: 2em;
    margin-bottom: 20px;
    color: var(--primary-color) ;
} */

.aboutus-item, .aboutus-, .aboutus {
    background-color: var(--secondary-color);
    color: #09264d;
    border-radius: 5px;
    padding: 0px  20px 0px 20px;
    line-height: 1.5;
    margin-bottom: 40px;
    max-width: 800px;
    margin: 0 5 ;
}
.main-content {
    max-width: max-content;
    margin: 0 auto;
    padding: 20px;
}

.aboutus-content h3 {
    margin: 0 0 10px 0;
    color: var(--primary-color);
}
.aboutus-content p {
    margin: 0 0 20px 0;
    color: var(--text-color);
}
.setsusapart-conclusion h4{
    font-weight:500;
    font-size: larger;
    color: rgb(57, 127, 136);
}
.footer {
    background-color: var(--footer-background-color);
    color: var(--footer-text-color);
    padding: 20px 0;
    text-align: center;
}
.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    /* margin: 10px; */
}
.footer-section {
    font-size: small;
    margin-bottom: 10px;
}
.setsusapart-content{
    margin: 0 auto;

}
.footer-section p, .footer-section ul, .footer-section li {
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--footer-text-color);
}
.footer-section ul {
    padding-left: 0;
}

.footer-section li a {
    text-decoration: none;
    color: var(--footer-link-color);
    transition: color 0.3s ease;
}

.footer-section li a:hover {
    color: var(--primary-color);
}

/* .footer-bottom {
    margin-top: 20px;
} */

.footer-bottom p {
    margin: 0;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.bar {
    height: 3px;
    width: 100%;
    background-color: #ffffff; /* Change the hamburger icon color to white */
    border-radius: 10px;
}

@media (max-width: 768px) {
    .header {
        height: auto;
        padding: 10px;
        display: flex;
        justify-content: space-between; /* Align the logo and hamburger to the sides */
        align-items: center; /* Center align vertically */
    }

    .logo {
        height: 40px; /* Reduce the logo size */
        max-width: 70%; /* Reduce width if necessary to fit the logo properly */
    }

    .navbar {
        display: none; /* Hide the original navbar on mobile */
    }

    .hamburger {
        display: flex;
        position: relative;
        top: 0;
        right: 0;
    }

    .sidebar {
        height: 100%;
        width: 250px;
        position: fixed;
        top: 0;
        left: -250px; /* Initially hidden off-screen */
        background-color: var(--primary-color);
        transition: left 0.3s ease;
        z-index: 1000;
        padding-top: 60px; /* Space for the header */
        overflow-x: hidden;
    }

        .sidebar.show {
            left: 0; /* Slide in the sidebar */
        }

        .sidebar .nav-menu {
            display: flex;
            flex-direction: column;
            padding-left: 20px;
    }

    .nav-item a {
        padding: 15px;
        font-size: 18px;
        color: var(--footer-text-color);
        text-decoration: none;
        display: block;
        transition: background-color 0.3s ease;
    }

    .nav-item a:hover {
        background-color: var(--button-hover-background-color);
    }

    .carousel {
        height: 300px;
    }

    .carousel-container a {
        height: 100%;
    }

    .service-content {
        flex: 1;
        margin-bottom: 20px;
    }
    .service-item {
        flex-direction: column;
        text-align: center;
    }

    .service-item.reverse {
        flex-direction: column;
    }

    .service-image-container {
        margin: 0 0 20px 0;
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .service-item.reverse .service-image-container {
        margin: 0 0 20px 0;
    }
}
