/* General and reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Varela Round', sans-serif;
    list-style-type: none; /* Removes bullets from list items */
}

body, html {
    height: auto;
}
html {
    scroll-behavior: smooth;
}

ul{
    list-style: none;
}
img{
    height: 100%;
    width: 100%;
}

a {
    text-decoration: none;
}
.navbar{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: auto;
    padding: 20px 75px;
    transition: all 1s ease;
}
/* Logo positioned on the left */
nav .logo {
    font-size: 23px;
    font-weight: 600;
    color: white;
    cursor: default;
}

/* Resize logo image */
.logo img {
    height: 250px; /* Adjust height as needed */
    width: auto; /* Maintains aspect ratio */
    object-fit: contain; /* Ensures the image scales within the specified height */
}

.logo {
    width: 200px; /* Adjust logo size */
    height: auto; /* Maintain aspect ratio */
}
.btn-menubar svg {
    width: 40px;
    height: 40px;
    fill: #37b426;
    margin-bottom: 0;
}

.lg-hidden {
    display: none;
}
.menu-right > .menu-li{
    position: relative;
    display: flex;
    align-items: center;
    gap: 55px;
}

.btn-link {
    border: none;
    outline: none;
    padding: 8px 18px;
    color: #fff;
    background-color: #37b426;
}
.menu-li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 55px;
    background-color: rgba(0, 0, 0, 0.3); /* Set the menu background with 50% opacity */
    padding: 20px;  /* Optional: add padding for spacing */
    border-radius: 5px;  /* Optional: for rounded corners */
}
.menu-li .menu {
    list-style: none;
    display: flex;
    gap: 20px;
    width: 100%;
    color: white;
}

/* Adjust the menu links to ensure readability with the opacity background */
.menu-li .menu-link {
    text-decoration: none;
    color: white;
    font-size: 17px;
    padding: 8px 18px;  /* Adjust padding for better click area */
    border-radius: 5px;  /* Optional, for rounded corners */
}
/* Hover effect for menu links */
.menu-li .menu-link:hover {
    background-color: rgba(0, 0, 0, 0.5);  /* Darker opacity on hover */
}

.header{
    position: relative;
    background:url('../images/our\ team\ desktop\ image.jpg');
    width: 100%;
    height: 70vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.text-box{
    width: 50%;
    padding: 0 75px;
    display: flex;
    height: 80vh;
    align-items: center;
    padding-bottom: 310px;
    padding-left: 160px;
}
.text-content h1{
    font-size: 4rem;
    /*padding-bottom: 100px;*/
    padding-top: -300px;
    color: white;
    top: 80px;
}

.text-content .btn-link{
    padding: 10px 10px;
    font-size: 17px;
    border-radius: 5px;
    cursor: pointer;
}
.text-content h1,
.text-content p{
    text-shadow: 2px 2px 2px #000;
}

/* Submenu Styles */
/* Hide submenu by default */
.submenu {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.4); 
    padding: 10px 30px;
    list-style: none;
    margin-top: 17px;
    top: 100%;
    left: 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    border: 2px solid white;
}

.submenu li {
    padding: 10px 20px;
}

.submenu li a {
    text-decoration: none;
    color: white; /* Adjust color as needed */
    font-size: 18px;
    font-weight: bold;
}

.submenu li a:hover {
    color: #37b426; /* Highlight color on hover */
}

/* Adjust positioning within navbar */
.menu-right > .menu-li > li {
    position: relative;
}

.menu-right > .menu-li > li.has-submenu > a {
    display: flex;
    align-items: left;
}


@media (max-width: 900px) {
    .sm-hidden {
        display: none;
    }

    .lg-hidden {
        display: block;
    }

    .navbar {
        padding: 10px 25px;
    }

    /* Menu container that becomes fixed when active */
    .menu-right .menu-li {
        position: fixed;
        top: -550px;
        left: 0px;
        padding: 10px 25px;
        width: 100%;
        opacity: 0;
        z-index: 1;
        gap: 10px;
        color: var(--text-color);
        background: var(--light-color);
        flex-direction: column;
        visibility: hidden;
        transition: all 1s ease;
        transform-origin: bottom;
    }

    /* Active navbar with white background and moving it down */
    .navbar.active {
        
        top: 60px; /* Adjusted to prevent logo overlap */
        transition: top 0.3s ease; /* Smooth transition */
    }

    .navbar.active .logo h2 {
        color: var(--main-color);
    }

    /* Active state of the menu-li */
    .menu-li.active {
        background-color: #ddd;
        left: 0;
        top: 220px; /* Adjust to avoid covering content */
        opacity: 1;
        visibility: visible;
    }

    .menu-li.active .menu-link {
        color: var(--text-color);
    }

    .menu-li li {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .text-box {
        width: 100%;
        padding: -1 25px;
    }

    .text-content h1 {
        font-size: 2.5rem;
    }

}

/* Ensure the navbar doesn't cover the logo on small screens */
@media (max-width: 900px) {
    .navbar.active {
        top: 80px; /* Adjust the value as needed for better positioning */
    }
}

/* Logo Adjustments */
@media (max-width: 900px) {
    .logo img {
        height: 120px; /* Smaller height for responsiveness */
        width: auto;   /* Maintain aspect ratio */
    }

    .logo {
        width: 150px;
        height: auto;
    }
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
}

.page-title span {
    color: #37b426;
}

/* Services Section */
.services-detail {
    padding: 60px 0;
    background-color: white;
}

.container {
    max-width: 1200px; /* Set a max width for your content */
    margin: 0 auto; /* Center the container */
    padding: 0 20px; /* Add horizontal padding */
}

/* Page Title Styles */
.page-title {
    text-align: center;
    font-size: 36px; /* Large title size */
    font-weight: bold;
    margin-bottom: 40px;
}

.page-title span {
    color: #37b426; /* Highlight color for the span */
}

/* Team Section Styles */
.team-section {
    padding: 60px 0; /* Add vertical spacing */
    background-color: white; /* Light background for contrast */
    text-align: center; /* Center the text */
}

.section-title {
    font-size: 2.5em; /* Title size */
    margin-bottom: 10px; /* Space below the title */
}

.title-underline {
    width: 50px; /* Width of the underline */
    height: 4px; /* Height of the underline */
    background-color: black; /* Color of the underline */
    margin: 0 auto 20px; /* Center the underline and add space below */
}

/* Team Member Styles */
/* Team Section Styles */
.team-section {
    padding: 60px 0; /* Vertical spacing */
    background-color: white; 
    text-align: center; /* Center the text */
}

.container {
    max-width: 1400px; /* Set a max width for the content */
    margin: 0 auto; /* Center the container */
    padding: 0 20px; /* Horizontal padding */
}

/* Section Title Styles */
.section-title {
    font-size: 3em; /* Title size */
    margin-bottom: 20px; /* Space below the title */
    color: #14261c; /* Dark gray for the title */
    font-family: "Varela Round", Sans-serif;
    line-height: 1.3em;
    font-weight: 600;
    vertical-align: baseline;
}

.title-underline {
    width: 50px; /* Width of the underline */
    height: 4px; /* Height of the underline */
    background-color: #14261c; /* Highlight color for the underline */
    margin: 0 auto 40px; /* Center the underline and space below */
}

/* Team Member Styles */
.team-member {
    display: flex; /* Use flexbox for layout */
    align-items: center; /* Center items vertically */
    margin-bottom: 40px; /* Space below each member */
    padding-left: 50px;
    background-color: white; /* White background for each member */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    padding: 10px; /* Padding inside the team member section */
}

/* CEO Section Styles */
.from-ceo {
    padding-bottom: 100px;
    flex: 1; /* Allow this section to grow */
    text-align: center; /* Align text to the left */
    padding-right: 0px; /* Space between text and image */
    padding-inline: 10px;
}

.from-ceo h5 {
    font-size: 5em; /* Size for the heading */
    color: #333; /* Dark gray for the heading */
    margin-bottom: 10px; /* Space below the heading */
}

.from-ceo p {
    margin: 10px 0; /* Space between paragraphs */
    line-height: 1.6; /* Line height for readability */
    color: #555; /* Medium gray for paragraph text */
}

/* Image Styles */
.team-member-image {
    flex: 0 0 40%; /* Fixed width for images */
    padding: 20px; /* Padding around the image */
    margin: 10px 0; /* Space between paragraphs */
    line-height: 1.6; /* Line height for readability */
    color: #555; /* Medium gray for paragraph text */
    padding-left: -80px;
    text-align: left; /* Align text to the left */
}

.team-image-side, .team-image-top {
    max-width: 100%; /* Make sure the image is responsive */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Rounded corners for images */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .team-member {
        flex-direction: column; /* Stack items vertically on small screens */
        align-items: center; /* Center items */
    }

    .from-ceo {
        padding-right: 0; /* Remove padding on small screens */
        text-align: center; /* Center text on small screens */
    }

    .team-member-image {
        margin-bottom: 20px; /* Space below the image */
    }
}




.footer {
    background-color: #37b426; /* Dark navy background for clarity */
    color: #ecf0f1; /* Light grey text color for contrast */
    padding: 40px 20px; /* Padding around the footer */
    text-align: center; /* Center text */
}

.footer-content {
    display: flex; /* Flexbox layout for footer sections */
    justify-content: space-between; /* Even spacing between sections */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    max-width: 1200px; /* Maximum width for the content */
    margin: 0 auto; /* Center the content */
    gap: 30px; /* Adds space between the sections */
}

.footer-info, .quick-links, .connect {
    flex: 1 1 200px; /* Flexibility with a minimum width */
    margin: 10px; /* Space around sections */
    padding: 20px; /* Padding for inner sections */
    background-color: #37b426; /* Slightly transparent background for contrast */
    border-radius: 10px; /* Rounded corners */
}

.footer-info h3, .quick-links h4, .connect h4 {
    margin-bottom: 10px; /* Space below headings */
    font-weight: bold; /* Bold heading */
}

.quick-links ul {
    list-style: none; /* Remove default list style */
    padding: 0; /* Remove padding */
}

.quick-links li {
    margin: 5px 0; /* Space between links */
}

.quick-links a {
    color: white; /* Bright yellow link color */
    text-decoration: none; /* Remove underline from links */
    transition: color 0.3s ease, transform 0.3s ease; /* Smooth color and transform transition */
}

.quick-links a:hover {
    color: #37b426; /* Change to a vibrant green on hover */
    transform: scale(1.1); /* Enlarge on hover */
}

.connect {
    margin-top: 20px; /* Space above social media section */
}

.social-media {
    margin-top: 15px; /* Space above the social media icons */
}

.social-icon {
    color: #ecf0f1; /* Light grey icon color for contrast */
    font-size: 1.8em; /* Size of the icons */
    margin: 0 10px; /* Space between icons */
    transition: transform 0.3s ease, color 0.3s ease; /* Smooth transition for hover effect */
}

.social-icon:hover {
    transform: scale(1.2); /* Slightly enlarge icon on hover */
    color: #37b426; /* Change to bright yellow on hover */
}

.footer-bottom {
    margin-top: 20px; /* Space above copyright */
    border-top: 1px solid #000000; /* Top border for separation */
    padding-top: 10px; /* Padding above copyright */
    font-size: 0.9em; /* Smaller font size for copyright */
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column; /* Stack sections on smaller screens */
        align-items: center; /* Center align sections */
    }
}
