/* Hide the menu toggle button by default */
.menu-toggle {
    display: none;
}

/* ================== Global Styles ================== */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #001f1c;
    color: #f0f0f0;
}

/* ================== Header Styles ================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 100px 0px 100px;
    background-color: #001f1c;
    height: 120px; /* Increase the height of the header */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

nav .logo {
    height: 80px; /* Increase the height of the logo */
}

nav ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

nav ul li {
    padding: 0 15px;
}

nav ul li a {
    background-color: transparent;
    border: 2px solid #C8E100;
    border-radius: 5px;
    color: #f0f0f0;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-size: 18px;
    text-decoration: none;
}

nav ul li a:hover {
    background-color: #C8E100;
    color: #6D6D6D;
}

.active {
    color: #f0f0f0;
}

/* ================== Services Section Styles ================== */
.services {
    background-color: #001f1c;
    color: white; /* Optional: to ensure text is readable on blue background */
    padding: 50px 100px;
}

.services__wrapper {
    padding: 20px 50px; /* Reduce padding for smaller screens */
}

@media screen and (max-width: 768px) {
    .services__wrapper {
        padding: 20px 20px;
    }    
}


.services__header {
    background-image: url('../assets/ourServicesBackground.jpg');
    width: 100%;
    height: calc(20vh - 26px); /* Adjust the height of the hero to account for the increased header height */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.services__header-title {
    font-size: 38px;
    margin-bottom: 5px;
    text-align: center;
}

.services__header-text {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.services__container {
    display: flex; /* Ensure services are displayed in a row */
    justify-content: space-between; /* Ensure services are spaced evenly */
    padding: 25px 0px; /* First value is top and bottom padding, second value is left and right padding */
    gap: 20px; /* Space between service items */
}

.services__item {
    flex: 1; /* Ensure each service item takes up equal space */
    text-align: center; /* Center-align text within each service item */
}

.services__item-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media screen and (max-width: 768px) {
    .services__item-cards {
        grid-template-columns: 1fr; /* Change to a single-column layout */
        gap: 15px;
    }
}


.services__item-title {
    font-size: 38px;
    margin-bottom: 5px;
    text-align: left;
}

.services__item-description {
    font-size: 22px;
    margin-bottom: 15px;
    text-align: left;
}

.services__item-text {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: left;
}

.services__item-button {
    background-color: transparent;
    border: 2px solid #C8E100;
    border-radius: 5px;
    color: #f0f0f0;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-size: 18px;
    width: 100%;
}

.services__item-icon {
    width: 50px; /* Adjust size as needed */
    height: 50px; /* Adjust size as needed */
    filter: invert(64%) sepia(95%) saturate(748%) hue-rotate(1deg) brightness(97%) contrast(101%); /* Adjust filter to achieve desired color */
}

.services__item-button:hover {
    background-color: #C8E100;
    color: #6D6D6D;
}

/* ================== Services Item Card Styles ================== */
.services__item-card {
    background-color: #001f1c;
    color: #f0f0f0;
    border: 1px solid #C8E100;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
}

.services__item-card-title {
    font-size: 16px;
    margin-bottom: 10px;
}

.services__item-card-text {
    font-size: 14px;
    margin-bottom: 10px;
}
/* ================== Footer Section Styles ================== */
.footer {
    background-color: #001f1c;
    color: white; /* Optional: to ensure text is readable on blue background */
    padding: 20px 100px;
}

.footer__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__left {
    display: flex;
    gap: 20px; /* Space between the items */
}

.footer__right {
    text-align: right;
}

.footer__item {
    display: flex;
    align-items: center;
}

.footer__item-icon {
    width: 15px; /* Adjust size as needed */
    height: 15px; /* Adjust size as needed */
    margin-right: 10px; /* Space between icon and text */
    filter: invert(64%) sepia(95%) saturate(748%) hue-rotate(1deg) brightness(97%) contrast(101%); /* Adjust filter to achieve desired color */
}

.footer__item-text {
    margin: 0;
    font-size: 15px;
}

.footer__item-link {
    color: #f0f0f0;
    text-decoration: none;
}

.footer__item-link:hover {
    text-decoration: underline;
}


/* ================== Media Queries for Mobile Devices ================== */
@media (max-width: 768px) {
    /* Global Styles */
    body {
        padding: 0 10px; /* Add some padding for small screens */
    }

/* ================== Header Styles ================== */


header {
    padding: 8px 20px; /* Reduce padding for mobile */
    height: 80px; /* Reduce the height of the header */
}

/* ================== Menu Toggle ================== */
nav .menu-toggle {
    display: block;
    background: none;
    border: none;
    color: #f0f0f0;
    cursor: pointer;
    padding: 10px;
    font-size: 24px; /* Adjust size as needed */
    transition: color 0.3s, transform 0.3s;
    position: relative; /* Adjust to align properly */
    z-index: 1000; /* Ensure it's above other elements */
}

nav .menu-toggle:hover {
    color: #C8E100; /* Change color on hover for better feedback */
    transform: rotate(90deg); /* Optional: Add a rotate effect on hover */
}

/* ================== New Header for Menu Options ================== */
nav ul {
    list-style: none;
    display: none; /* Initially hidden */
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #001f1c; /* Background color to match header */
    padding: 20px;
    position: absolute;
    top: 100%; /* Position below the header */
    left: 0;
    right: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
    z-index: 999; /* Ensure it appears above other elements */
}

nav ul.show {
    display: flex;
}

nav ul li {
    padding: 10px 20px;
    flex: 1 1 200px; /* Allows items to grow and shrink, creating columns */
    text-align: center;
}

nav ul li a {
    background-color: transparent;
    border: 2px solid #C8E100;
    border-radius: 5px;
    color: #f0f0f0;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-size: 18px;
    text-decoration: none;
    display: block;
    
}

nav ul li a:hover {
    background-color: #C8E100;
    color: #6D6D6D;
}

.nav-links {
    display: flex;
    display: none;
    gap: 20px;
    background-color: #001f1c;
    top: 100px; /* Align to the top */
    left: 0;
}

    /* ================== Hero Section Styles ================== */
    .hero {
        height: 60vh; /* Reduce hero section height */
        background-position: top center; /* Adjust background position */
    }

    .hero_content--title {
        font-size: 36px; /* Decrease title font size */
    }

    .hero_content--text {
        font-size: 18px; /* Decrease text font size */
    }

    .hero_content--button {
        padding: 8px 15px; /* Adjust button padding */
        font-size: 16px; /* Reduce button font size */
    }

    /* ================== Services Section Styles ================== */
    .services {
        padding: 20px 10px; /* Adjust padding */
    }

    .services__header {
        height: auto; /* Allow height to adjust based on content */
        padding: 20px 10px; /* Add padding for better spacing */
    }

    .services__header-title {
        font-size: 24px; /* Reduce font size for mobile view */
        margin-bottom: 10px; /* Adjust margin for better spacing */
    }

    .services__header-text {
        font-size: 14px; /* Reduce font size for mobile view */
        margin-bottom: 15px; /* Adjust margin for better spacing */
    }

    .services__container {
        flex-direction: column; /* Stack service items vertically */
        gap: 30px; /* Increase spacing between items */
    }

    .services__item-button {
        padding: 8px 15px; /* Adjust button padding */
        font-size: 16px; /* Reduce button font size */
    }

    .services__item-icon {
        width: 40px; /* Adjust icon size */
        height: 40px; /* Adjust icon size */
    }

    /* ================== Footer Section Styles ================== */
    .footer {
        padding: 10px 20px; /* Adjust footer padding */
        text-align: center; /* Center-align text */
    }

    .footer__container {
        flex-direction: column; /* Stack footer content vertically */
        gap: 10px; /* Space between footer items */
    }

    .footer__left {
        flex-direction: column; /* Stack footer items vertically */
        gap: 10px; /* Space between footer items */
    }

    .footer__item-icon {
        width: 12px; /* Adjust icon size */
        height: 12px; /* Adjust icon size */
    }

    .footer__item-text {
        font-size: 14px; /* Reduce text size */
    }
}
