* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}


/* Header styling */
header {
    background: #1a1a1a;
    color: #fff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

/* Logo and title styling */
.logo-title {
    display: flex;
    align-items: center;
}

.logo {
    width: 60px; /* Adjust the size as needed */
    height: auto;
    margin-right: 10px; /* Space between the logo and the text */
}

header h1 {
    font-size: 2.5rem;
    margin: 0;
}

/* Navigation styling */
header nav {
    flex: 1;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
}

header nav ul li {
    margin-left: 1.5rem;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #00b4d8;
}

/* Hamburger menu icon */
.menu-icon {
    display: block; /* Always display the hamburger icon */
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hide navigation menu by default */
header nav ul {
    display: none; /* Hide the menu initially */
    flex-direction: column;
    width: 100%;
    background-color: #1a1a1a;
    position: absolute;
    top: 100%;
    right: 0;
    text-align: center;
}

/* Show navigation menu when active */
header nav.active ul {
    display: flex;
}

header nav.active ul li {
    margin: 1rem 0;
}




#home {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('hero-image3.jpg') no-repeat center center/cover;
    filter: brightness(30%); /* Darkens the image to create a tint effect */
    z-index: 1;
}

.hero-content {
    margin: 1rem;
    position: relative;
    z-index: 2;
    animation: fadeIn 2s ease-in-out;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: slideInFromLeft 1s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: slideInFromRight 1s ease-out;
}

.cta {
    background: #00b4d8;
    color: #fff;
    padding: 0.75rem 2rem;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    animation: fadeIn 2s ease-in-out;
}

.cta:hover {
    background: #0077b6;
}



#about {
    padding: 4rem 0;
    background: #f4f4f4;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #00b4d8;
    font-size: 2.5rem;
    animation: fadeIn 1s ease-in-out;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-in-out;
}

.about-text {
    flex: 1 1 50%;
    padding: 1rem;
}

.about-image {
    flex: 1 1 40%;
}

/* Stack text and image vertically on mobile devices */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }

    .about-image {
        margin-top: 1rem; /* Adjust space between text and image on mobile */
    }
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#services {
    padding: 4rem 0;
}

.services-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.service {
    flex: 1 1 22%;
    background: #fff;
    padding: 2rem;
    margin: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    animation: fadeInUp 1s ease-in-out;
}

.service:hover {
    transform: translateY(-10px);
}

.service i {
    font-size: 2rem;
    color: #00b4d8;
    margin-bottom: 1rem;
}

/* General Styles for h3 */
h3 {
    font-size: 1.5rem; /* Adjust the size as needed */
    color: #333;
    margin-bottom: 0.5rem;
    text-align: center;
}

/* General Styles for p */
p {
    font-size: 1rem;
    color: #666;
    text-align: center;
    margin-bottom: 1rem;
}

/* Styling for the team-member and contact-info-boxes */
.team-member,
.contact-info-box {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    margin: 1rem;
    flex: 1 1 22%;
}

/* Ensure same styling for both on hover */
.team-member:hover,
.contact-info-box:hover {
    transform: translateY(-10px);
}

/* Container flexbox settings for consistency */
.team-list,
.contact-info-boxes {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

/* Ensuring images in team-member are styled consistently */
.team-member img {
    border-radius: 50%;
    margin-bottom: 1rem;
    width: 150px;
    height: 150px;
    object-fit: cover;
}





/* Footer styling */
footer {
    background: #1a1a1a;
    color: #f4f4f4;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

footer .container {
    width: 90%;
    margin: auto;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.contact-list li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-list a {
    color: #00b4d8;
    text-decoration: none;
}

.contact-list a:hover {
    text-decoration: underline;
}

footer p {
    margin: 1rem 0;
    font-size: 0.9rem;
}


/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sticky Header */
window.onscroll = function() {makeHeaderSticky()};

function makeHeaderSticky() {
    var header = document.getElementById("header");
    var sticky = header.offsetTop;

    if (window.pageYOffset > sticky) {
        header.classList.add("sticky");
    } else {
        header.classList.remove("sticky");
    }
}

