body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background: #00000000;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease; /* Smooth transition for background color */
}

header.scrolled {
    background: rgba(0, 0, 0, 0.8); /* Dark semi-transparent background when scrolled */
    color: #fff; /* Text color set to white for contrast */
}

header .logo img {
    width: 150px;
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 14px 20px;
    display: block;
    font-size: 1rem;
}

.nav-links a.quick-contact {
    background: #20c20e;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-links a:scrolled {
    background: transparent;
}

.nav-links a:hover {
    text-shadow: none;
    background: #15690c;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.header {
    background-color: #f5f5f5;
    padding: 20px;
    text-align: center;
}

.header h1 {
    margin: 0;
    font-size: 36px;
    color: #20c20e;
}

.header p {
    font-size: 18px;
    color: #666666;
    max-width: 800px;
    margin: 20px auto;
    line-height: 1.6;
}

.info-section {
    background-color: #15690c;
    color: white;
    padding: 40px 20px;
    text-align: center;
    margin: 20px 0;
}

.info-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.tab {
    background-color: #20C20E;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin: 0 5px;
}

.tab.active {
    background-color: #00ff00;
}

.info-content {
    display: none;
}

.info-content.active {
    display: block;
}

.info-content p, .info-content ul {
    text-align: left;
    margin: 0 auto;
    max-width: 800px;
}

.info-content ul {
    list-style-type: none;
    padding: 0;
}

.info-content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}

.info-content ul li.tick::before {
    content: "✔";
    color: #15690c;
    position: absolute;
    left: 0;
    top: 0;
}

.contact-button {
    margin-top: 20px;
}

.contact-button a {
    background-color: #20C20E;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    display: inline-block;
    border-radius: 5px;
}

.contact-button a:hover {
    background-color: #15690c;
}

.hero {
    background: url(../../assets/img/im3.jpg); /*no-repeat center center/cover*/
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #f2f3f5;
    text-align: center;
    z-index: -1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px #00ff00;
}

.hero-content .btn {
    background: #20C20E;
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
}

.hero-content .btn:hover {
    background: #15690c;
}


/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .nav-links li {
        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active + .nav-links {
        display: flex;
    }
}

/* General Styles for the Services Section */
.services-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #f4f4f4;
    padding: 50px 20px;
}

/* Styles for Each Service Item */
.service {
    background-color: #15690c;
    color: #fff;
    margin: 10px;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    flex: 1 1 calc(33.333% - 20px); /* Three items per row */
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service:hover {
    transform: scale(1.05); /* Zoom in on hover */
}

/* Background Image for Each Service Item */
.service::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1; /* Ensure background is behind text */
}

/* Overlay for Each Service Item */
.service::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Dark overlay */
    z-index: 1; /* Ensure overlay is above background */
}

/* Service Image Styles */
.service img {
    max-width: 100px;
    margin-bottom: 10px;
}

/* Service Title Styles */
.service h2 {
    margin: 10px 0 0;
    font-size: 1.5em;
    z-index: 2; /* Ensure title is above overlay */
}

/* Service Description Styles */
.service p {
    margin: 0;
    font-size: 1.2em;
    z-index: 2; /* Ensure text is above overlay */
}

/* Responsive Styles for Smaller Screens */
@media (max-width: 480px) {
    .service {
        flex: 1 1 100%; /* One item per row on small screens */
    }
}


/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .nav-links li {
        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active + .nav-links {
        display: flex;
    }

    .service {
        flex: 1 1 calc(50% - 20px); /* For 2 items per row on smaller screens */
    }
}

@media (max-width: 480px) {
    .service {
        flex: 1 1 100%; /* For 1 item per row on small screens */
    }
}

/* Existing styles ... */

.Network-services {
    background-color: #f4f4f4;
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.Network-container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    flex-wrap: wrap;
}

.Network-text {
    flex: 1;
    padding: 20px;
}

.Network-text h2 {
    color: #20C20E;
    font-size: 2.5em;
}

.Network-text p {
    color: #555;
    font-size: 1.2em;
}

.Network-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.Network-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .Network-container {
        flex-direction: column;
    }

    .Network-text, .Network-image {
        flex: 1 1 100%;
        text-align: center;
    }
}

/* Reset default margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Styling for the Human Behaviour Testing */
.Web-services {
    background-color: #f4f4f4;
    padding: 40px 20px;
    text-align: center;
}

.Web-container {
    max-width: 800px;
    margin: 0 auto;
}

.Web-text h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.Web-text p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #333;
}

.Human-services {
    background-color: #f4f4f4;
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.Human-container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    flex-wrap: wrap;
}

.Human-text {
    flex: 1;
    padding: 20px;
}

.Human-text h2 {
    color: #15690c;
    font-size: 2.5em;
}

.Human-text p {
    color: #555;
    font-size: 1.2em;
}

.Human-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.Human-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .Human-container {
        flex-direction: column;
    }

    .Human, .Human-image {
        flex: 1 1 100%;
        text-align: center;
    }
}



footer {
    background-image: url(../img/im3.jpg);
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}