/* 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 ================== */
.work {
    background-color: #001f1c;
    color: white; /* Optional: to ensure text is readable on blue background */
    padding: 50px 100px;
}

.work__wrapper {
    padding: 20px 100px 20px 100px; /* Adjust padding as needed first value is top padding, second value is right padding, third value is bottom padding, fourth value is left padding */
}


.work__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;
}

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

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

.work__container {
    display: flex; /* Ensure work are displayed in a row */
    justify-content: space-between; /* Ensure work 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 */
}

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

.work__item-cards {
    display: grid; /* Use CSS Grid */
    grid-template-columns: repeat(2, 1fr); /* 4 columns of equal width */
    gap: 20px; /* Space between cards */
}

.work__item-title {
    font-size: 38px;
    margin-bottom: 5px;
    text-align: left;
    color: #f0f0f0;
}

.work__item-text {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: left;
    color: #f0f0f0;
}

.work__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%;
}

.work__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 */
}

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

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

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

.work__item-card-text {
    font-size: 14px;
    margin-bottom: 10px;
}

.work__item-card-image {
    width: 80%; /* Adjust the width as needed */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove any default inline spacing */
    margin: 0 auto; /* Center the image if needed */
    /* border: 1px solid; */
    border-radius: 16px; /* Adds rounded corners */
}

/* ================== 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 {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #001f1c;
}

/* ================== 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;
}

/* ================== Work Section Styles ================== */
.work__wrapper {
    padding: 20px 20px; /* Reduce padding for mobile */
}

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

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

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

.work__container {
    flex-direction: column; /* Stack work items vertically */
    padding: 20px 0; /* Adjust padding */
    gap: 20px; /* Space between items */
}

.work__item-title {
    font-size: 28px; /* Adjust title font size */
    text-align: left;
    color: #f0f0f0;
}

.work__item-text {
    font-size: 14px; /* Adjust text font size */
    text-align: left;
    color: #f0f0f0;
}

.work__item-cards {
    grid-template-columns: 1fr; /* Single column layout for cards */
    gap: 20px;
}

.work__item-card {
    padding: 15px; /* Adjust padding */
    margin-bottom: 20px;
}

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

.work__item-card-text {
    font-size: 14px;
    margin-bottom: 10px;
}

.work__item-card-image {
    width: 100%; /* Adjust image width */
    height: auto; /* Maintain aspect ratio */
    margin: 0 auto;
    border-radius: 16px; /* Adds rounded corners */
}

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

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

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

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

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

}