/* General Body Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-image: url('images/background.jpg');
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
}

/* Header and Navigation */
header {
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.logo h1 {
    margin: 0;
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #17a2b8;
}

/* Burger menu for mobile */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Sections */
section {
    padding: 4rem 2rem;
    text-align: center;
}

#about, #projects, #skills, #contact {
    background: rgba(0, 0, 0, 0.8);
    margin: 2rem;
    border-radius: 10px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* About Section */
.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.about-text {
    max-width: 600px;
    text-align: left;
}

.about-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid #17a2b8;
}

/* Projects Section */
.projects-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.project-card {
    background: #333;
    padding: 1.5rem;
    border-radius: 10px;
    width: 300px;
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-card img {
    width: 100%;
    border-radius: 5px;
}

.project-card h3 {
    margin: 1rem 0;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #17a2b8;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
}

/* Skills Section */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.skill {
    background: #17a2b8;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 1rem;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #17a2b8;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.9);
    text-align: center;
    padding: 1rem 0;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background: rgba(0, 0, 0, 0.9);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }

    .nav-links li {
        opacity: 0;
    }

    .burger {
        display: block;
    }

    .about-container {
        flex-direction: column;
    }
}

.nav-active {
    transform: translateX(0%);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

/* pagenation */
.pagination {
            display: flex;
            justify-content: center;
            margin: 30px 0;
            font-family: Arial, sans-serif;
        }
        
        .pagination a {
            color: #333;
            padding: 8px 16px;
            text-decoration: none;
            border: 1px solid #ddd;
            margin: 0 4px;
            border-radius: 4px;
            transition: background-color 0.3s;
        }
        
        .pagination a.active {
            background-color: #4CAF50;
            color: white;
            border: 1px solid #4CAF50;
        }
        
        .pagination a:hover:not(.active) {
            background-color: #ddd;
        }
        
        .pagination a.disabled {
            color: #aaa;
            pointer-events: none;
            cursor: default;
        }

        /* welome container */

        /* Hero image styling */
        .hero-image {
            width: 100%;
            display: block;
            margin: 0 auto;
            max-height: 900px; /* Adjust as needed */
            object-fit: cover; /* Ensures the image covers the area while maintaining aspect ratio */
        
        }
        
/* welcome content */
.content {
text-align: center;
font-size: 2rem;
}