/* General Reset and Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    line-height: 1.6;
    color: #fff; /* White text for better contrast */
    background-color: #004d40; /* Dark teal body background */
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: #e0f2f1; /* Light teal for links */
    transition: color 0.3s ease;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem;
}

/* Navbar */
.navbar {
    background: rgba(0, 77, 64, 0.8); /* Semi-transparent dark teal background */
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 100;
    transition: background-color 0.3s ease;
}

.navbar .brand {
    color: #fff; /* White text for brand name */
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: 700;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    color: #fff; /* White text for navigation links */
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 101; /* Ensure it's above other elements */
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff; /* White for menu toggle */
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff; /* White text */
    position: relative;
    z-index: 1;
    padding: 0 2rem;
    background: linear-gradient(135deg, #00796b, #004d40); /* Gradient background with teal shades */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 77, 64, 0.6); /* Dark teal overlay */
    z-index: -1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    padding: 0.75rem 2rem;
    background-color: #00897b; /* Medium teal button background */
    color: #fff; /* White text */
    border: 2px solid #00897b;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: transparent;
    color: #00897b; /* Medium teal on hover */
    border-color: #00897b;
}

/* About Section */
.about {
    padding: 4rem 0;
    text-align: center;
    background-color: #00796b; /* Medium teal background */
    color: #fff; /* White text */
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about p {
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.5;
}

.about-img {
    width: 100%;
    max-width: 300px;
    margin-top: 2rem;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Projects Section */
.projects {
    padding: 4rem 0;
    background-color: #004d40; /* Dark teal background */
    color: #fff; /* White text */
}

.projects h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project {
    background-color: #26a69a; /* Light teal/green for project cards */
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #fff; /* White text inside project cards */
}

.project:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.project img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    text-align: center;
    background-color: #00897b; /* Medium teal/green background */
    color: #fff; /* White text */
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact p {
    margin-bottom: 2rem;
}

.contact .btn {
    padding: 0.75rem 2rem;
    background-color: #004d40; /* Dark teal button */
    color: #fff; /* White text */
    border: 2px solid #004d40;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact .btn:hover {
    background-color: transparent;
    color: #004d40; /* Dark teal text on hover */
}

/* Footer */
footer {
    background-color: #004d40; /* Dark teal background */
    color: #fff; /* White text */
    padding: 1rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 60px;
        right: 0; /* Align menu to the right */
        width: 100%;
        max-width: 250px; /* Limit the width of the menu */
        flex-direction: column;
        background-color: #004d40; /* Dark teal background for mobile nav */
        transition: transform 0.3s ease;
        transform: translateX(100%); /* Hide menu off-screen by default */
        height: 100vh;
        justify-content: center;
        gap: 1.5rem;
        padding-top: 2rem;
    }

    .menu-toggle {
        display: flex; /* Show hamburger menu on mobile */
    }

    .navbar.active .nav-links {
        transform: translateX(0); /* Slide in the menu */
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }
}
