:root {
    --primary-color: #0e8f0e;
    --secondary-color: #118d11;
    --dark-color: #0f2b16;
    --light-color: #f8f9fa;

}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    scroll-behavior: smooth;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    --bs-navbar-active-color: var(--primary-color);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    color: var(--dark-color);
}

.nav-link:hover {
    color: var(--primary-color);
}

@keyframes fadeInUp {
    from {
        opacity: 0 ;
        transform: translateY(40px) ;
    }

    to {
        opacity: 1;
        transform: translateY(0) ;
    }
}


@keyframes wave {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-40%);
    }
}


        .animate-fadeInUp {
            animation-name: fadeInUp;
            animation-duration: 2s;
            animation-fill-mode: both;
            animation-delay: 0.2s;
        }


.hero-section {
    background: linear-gradient(135deg, #000000 0%, var(--primary-color) 100%);
    color: white;
    padding: 150px 0 100px;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    animation: wave 10s ease-in-out alternate infinite;
    background-size: cover;

}

.profile-img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.profile-img:hover {
    transform: translateY(-2px);
}

.section-title {
    position: relative;
    margin-bottom: 40px;
    font-weight: 700;
}

.section-title:after {
    content: '';
    position: absolute;
    justify-self: anchor-center;
    bottom: -15px;
    left: 0;
    width: 200px;
    height: 4px;
    background-color: var(--primary-color);
}

.skill-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
}

.skill-card:hover {
    transform: translateY(-5px);
}

.skill-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}


.project-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
}

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

.project-img {
    height: 200px;
    object-fit: cover;
}

.timeline {
    border-left: 2px solid var(--primary-color);
    position: relative;
    padding-left: 30px;
}

.timeline-item {
    margin-bottom: 30px;
    position: relative;
}

.timeline-item:before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    left: -39px;
    top: 5px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    font-size: 1.2rem;
    margin-right: 10px;
    transition: all 0.3s ease;
}

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

.contact-form {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    font-weight: 500;

}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary:hover {
    background-color: #0e8f0ec5;
    border-color: var(--secondary-color);
    transform: translateY(-1px);
}

footer {
    background: var(--dark-color);
    color: white;
    padding: 40px 0 20px;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;

}

.back-to-top.active {
    opacity: 1;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 120px 0 80px;
    }

    .profile-img {
        width: 200px;
        height: 200px;
        margin-bottom: 30px;
    }
}

.btn-light:hover {

    background-color: #d3d4d52e;
    transform: translateY(-1px);
}

a {
    color: var(--dark-color);
    text-decoration: none;
}