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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    padding: 0 5%;
    background-image: url("/images/Green-and-White-Leaf-Background-Document-A4-_1_.webp");
}

/* Header and Banner */
header {
    padding: 2rem 0;
}

.banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eaeaea;
}

.banner-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.banner-left h1 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 0.3rem;
    transition: color 0.3s ease;
}

.banner-left h1:hover {
    color: #A4B178;
}

.tagline {
    font-size: 1rem;
    color: #666;
    font-weight: 300;
}

.banner-right {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-icon {
    font-size: 1.5rem;
    color: #555;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #A4B178;
    transform: translateY(-3px);
}

.cv-download {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #A4B178;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cv-download:hover {
    background-color: #A4B178;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

/* Introduction Section */
.intro {
    max-width: 800px;
    margin: 4rem auto;
    text-align: center;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 2rem;

    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.4);
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #222;
    position: relative;
    display: inline-block;
}

.intro h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #A4B178;
}

.intro p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

/* Projects Section */
.projects {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.project-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.project-info p {
    color: #666;
    font-size: 0.9rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    color: #777;
    font-size: 0.9rem;
    border-top: 1px solid #eaeaea;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .banner-left {
        align-items: center;
    }
    
    .banner-right {
        justify-content: center;
    }
    
    .intro h2 {
        font-size: 2rem;
    }
    
    .intro p {
        font-size: 1rem;
    }
    
    .projects {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    body {
        padding: 0 3%;
    }
    
    .banner-left h1 {
        font-size: 1.8rem;
    }
    
    .projects {
        grid-template-columns: 1fr;
    }
    
    .cv-download span {
        display: none;
    }
    
    .cv-download {
        padding: 0.6rem;
    }
}
