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

body {
    font-family: 'Inter', sans-serif;
    background-color: #181818; /* Dark background */
    color: #e0e0e0; /* Light text */
    line-height: 1.6;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #282828; /* Darker navbar */
    padding: 10px 15px;
    z-index: 10;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.nav-link {
    color: #999; /* Slightly lighter gray for links */
    text-decoration: none;
    padding: 8px 15px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-right: 15px;
    border-radius: 5px; /* Rounded corners for navbar links */
}

.nav-link:hover {
    background-color: #357ae8; /* Blue hover effect */
    color: white; /* White text on hover */
    transform: scale(1.05);
}

/* Page Transition */
.fade-in {
    opacity: 1 !important;
    transition: opacity 1s ease-in-out;
}

/* About Me Section Layout */
#about-me {
    position: relative;
    margin-top: 0px;
    padding: 40px 15px;
    background-color: #181818; /* Dark background */
    text-align: center;
    height: 100vh; /* Full screen height */
    display: flex;
    flex-direction: column; /* Use flexbox for vertical centering */
    align-items: center;
    justify-content: center;
}

.container {
    width: 80%; /* Adjust container width */
    max-width: 1200px;
}

h1 {
    font-size: 2.8rem;
    color: #e0e0e0; /* Light text for headings */
    margin-bottom: 15px;
    font-weight: 600;
}

h2 {
    font-size: 1.8rem;
    color: #e0e0e0;
    font-weight: 500;
    margin-bottom: 10px;
}

.intro-text {
    font-size: 1.1rem;
    margin-top: 15px;
    line-height: 1.6;
    color: #999;
}

/* Content Sections */
.content-section {
    display: flex;
    gap: 20px; /* Space between sections */
    margin-top: 30px; /* Space from intro text */
}

.left-content, .right-content {
    flex: 1; /* Equal width for both sections */
    background-color: #282828; /* Darker background for sections */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.left-content:hover, .right-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

/* GitHub Profile Image */
.github-profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 15px;
    display: block; /* Prevents image from affecting text flow */
    margin-left: auto;
    margin-right: auto;
}

/* Contributions Section */
#contributions {
    margin-top: 20px;
    font-size: 1.1rem;
    text-align: center;
    padding: 15px;
    border: 1px solid #333; /* Darker border */
    border-radius: 8px;
    color: #999;
}

/* Info Card Styling */
.info-card {
    margin-bottom: 25px;
}

.info-card h2 {
    margin-bottom: 10px;
}

/* Unordered List with Indentation */
ul {
    list-style-type: disc; /* Use bullet points */
    margin-left: 0; /* Remove default left margin */
    padding-left: 0; /* Remove default left padding */
    color: #999;
    list-style-position: inside; /* Place bullets inside the list item */
}

li {
    margin-bottom: 8px;
    padding-left: 20px; /* Add padding to the left for spacing */
    text-indent: -20px; /* Move the text back to align with the bullet */
}

/* Responsive Design Adjustments */
@media (max-width: 768px) {
    #about-me {
        height: auto;
        padding: 20px 15px;
    }

    .content-section {
        flex-direction: column; /* Stack sections vertically */
    }

    .left-content, .right-content {
        width: 90%;
        margin: 15px auto; /* Center the sections */
    }

    .navbar {
        flex-direction: column;
        padding: 12px 15px;
    }

    .nav-link {
        margin: 8px 0;
        text-align: center;
    }

    .container {
        width: 90%;
    }
}