@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

:root {
    --primary-green: #2ecc71;
    --secondary-green: #27ae60;
    --light-green: #a9dfbf;
    --dark-green: #1e8449;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-green);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-green);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px;
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 5rem;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 2.5rem 0;
    }

    .hamburger {
        display: block;
    }
}

/* Rest of your CSS styles */

/* Make sure to add responsive styles for other sections */
@media screen and (max-width: 768px) {
    .home-content {
        flex-direction: column;
        text-align: center;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    /* Add more responsive styles for other sections as needed */
}

section {
    min-height: auto;
    padding: 4rem 2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

section:nth-child(odd) {
    background-color: var(--light-green);
}

h1, h2, h3 {
    color: var(--secondary-green);
}

#home {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    width: 100%;
    padding: 0 2rem;
}

.text-content {
    text-align: left;
    color: #333;
}

h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-green);
}

.tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: var(--secondary-green);
}

.intro {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.btn {
    font-family: 'Poppins', sans-serif;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-green);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    font-weight: 400;
}

.btn:hover {
    background-color: var(--secondary-green);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
}

.btn-outline:hover {
    background-color: var(--primary-green);
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    color: var(--secondary-green);
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-green);
    transform: translateY(-3px);
}

#home img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-green);
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--secondary-green);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

#about {
    background-color: var(--light-green);
}

.about-content {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    width: 100%;
}

.about-text {
    flex: 1;
}

.skills-list {
    columns: 2;
    list-style-type: none;
    padding: 0;
}

.skills-list li {
    margin-bottom: 0.5rem;
}

.skills-list li::before {
    content: "✓";
    color: var(--primary-green);
    margin-right: 0.5rem;
}

.about-stats {
    display: flex;
    gap: 1rem;
}

.stat-item {
    text-align: center;
    background-color: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-green);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.experience-item {
    margin-bottom: 2rem;
    max-width: 600px;
    width: 100%;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
}

.project-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card h3, .project-card p {
    padding: 0 1rem;
}

.certificate-list {
    list-style-type: none;
    padding: 0;
}

.certificate-list li {
    background-color: var(--primary-green);
    color: white;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.certificate-list li:hover {
    transform: scale(1.05);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}
