* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Ensures padding and border are included in total width and height */
}

@media (max-width: 768px) {
    .project-list {
        flex-direction: column;
        align-items: center;
    }
}


body {
    font-family: 'Inter', sans-serif; /* Modern font */
    color: #f5f5f5; /* Light gray for better readability */
    background-color: #333; /* Dark background for contrast */
    line-height: 1.6; /* Improved readability */
}

html {
    scroll-behavior: smooth;
}

/* Smooth transition for all links and buttons */
a, button {
    transition: all 0.3s ease;
}

/* Navigation Bar */
nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1rem 0;
    background-color: #222; /* Dark background for nav */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Subtle shadow for depth */
}

.navLinks {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navLinks a {
    color: #f5f5f5; /* Light gray for nav links */
    text-decoration: none;
    font-size: 1rem; /* Smaller font size for a cleaner look */
}

.navLinks a:hover {
    color: #007bff; /* Accent color for hover */
}

/* Profile Section */
#profile {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0; /* Reduced margin for tighter layout */
}

.profilePhotoContainer img {
    border-radius: 50%; /* Circular profile photo */
    width: 200px;
    height: 200px;
    object-fit: cover; /* Ensures no distortion */
}

.section_text {
    text-align: center;
}

.section_text h1 {
    color: #f5f5f5; /* Light gray for section text */
    
}

/* Buttons */
.btn {
    font-size: 1rem;
    border: none; /* Remove borders */
    padding: 0.75rem 1rem; 
    border-radius: 25px; /* Rounded corners */
    background-color: #007bff; /* Accent color */
    color: white;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2); /* Subtle shadow for depth */
}

.btn:hover {
    background-color: #0056b3; /* Darker shade on hover */
}

.icon {
    height: 30px;
    width: 30px;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.img1 {
    width: 50px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.img2 {
    width: 40px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.img1:hover, .img2:hover {
    transform: scale(1.1);
}

.container {
    max-width: 960px;
    margin: auto;
    padding: 20px;
}

h2 {
    text-align: center;
    color: #007BFF;
    margin: 40px 0;
    font-size: 2.5rem;
}

#about .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.about-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #007BFF;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-text {
    max-width: 600px;
    text-align: center;
}

/* Experience Section */
.experience {
    text-align: left;
    max-width: 960px;
    margin: 40px auto; /* Provides spacing and centers the section */
    padding: 30px;
    background-color: #222; /* Dark background for the container */
    border-radius: 10px; /* Rounded corners for the container */
}

.experience-entry {
    background-color: #333; /* Slightly lighter than the container for contrast */
    margin-bottom: 20px; /* Space between entries */
    padding: 20px;
    border-radius: 8px; /* Rounded corners for each entry */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* Shadow for each card */
    transition: transform 0.3s ease-in-out; /* Smooth transition for hover effect */
}

.experience-entry:hover {
    transform: translateY(-5px); /* Slight raise effect on hover */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); /* Enhanced shadow on hover */
}

.experience h3, .experience h4, .experience a, .experience p {
    color: #f5f5f5; /* Light gray text for better readability against dark background */
}

.experience a {
    font-size: 1rem;
    font-weight: bold;
    color: #007bff; /* Accent color for links */
    text-decoration: none;
    margin-bottom: 10px; /* Space below links */
}

.experience a:hover {
    text-decoration: underline; /* Underline on hover for links */
}

.experience p {
    margin-top: 5px; /* Spacing for paragraph start */
}

/* List styles for bullet points */
.experience ul {
    list-style-type: disc; /* Bullet style */
    padding-left: 20px; /* Indent for bullets */
    
}

.experience li {
    padding-bottom: 5px; /* Space between list items */
}

.project-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    transition: box-shadow 0.3s ease-in-out, transform 0.2s ease;

}

.project-item {
    background-color: #222; /* Slightly darker background for each project card */
    color: #f5f5f5; /* Light text color for readability */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: 340px;
    transition: box-shadow 0.3s ease-in-out, transform 0.2s ease;

}

.project-item:hover {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
    transform: translateY(-5px);
}

.project-info {
    padding: 20px;
}

.project-info h3, .project-info p {
    color: #f5f5f5;
}

.project-link {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    margin-top: 10px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.project-link:hover {
    background-color: #0056b3;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .project-list {
        flex-direction: column;
        align-items: center;
    }
}

#contact {
    background-color: #333; /* Dark background */
    padding: 60px 0;
    text-align: center;
}

#contact .container {
    max-width: 600px;
    margin: auto;
    padding: 0 20px;
}

#contact h2 {
    color: #007BFF;
    margin-bottom: 40px;
}

.contact-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.contact-icon1 {
    width: 80px;
    height: auto;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.contact-icon2 {
    width: 100px;
    height: auto;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.contact-icon1:hover, .contact-icon2:hover {
    transform: scale(1.1);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    min-width: 150px;
    height: 50px;
    text-align: center;
    font-size: 16px;
    line-height: 25px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: white;
    transition: background-color 0.3s;
}

.btn-color-1, .btn-color-2 {
    background-color: #007bff;
}

.btn-color-1:hover {
    background-color: #0056b3;
}

.btn-color-2:hover {
    background-color: #004080;
}

@media (max-width: 768px) {
    #profile, .about-content, #experience, #projects, #contact {
        flex-direction: column;
        text-align: center;
    }

    .navLinks {
        flex-direction: column;
        gap: 0.5rem;
    }

    #whats-next {
        background-color: #222; /* Dark background */
        color: #f5f5f5; /* Light gray text */
        padding: 30px 0;
    }
    
    #whats-next .container {
        max-width:  800px;
        margin: auto;
        padding: 0 20px;
    }
    
    #whats-next h2 {
        text-align: center;
        color: #007BFF;
        margin-bottom: 20px;
    }
    
    #whats-next .upcoming-endeavor{
        margin-top: 10px;
        color: #0056b3;
        text-align: center;
    }
    
    #whats-next p {
        text-align: center;
        line-height: 1.6;
        margin-bottom: 10px;
    }
    
    footer#site-footer {
        background-color: #222;
        color: #ffffff;
        padding: 20px 0;
        text-align: center;
    }
    
    footer#site-footer .container {
        margin: auto;
        padding: 0 20px;
    }
    
    footer#site-footer a {
        color: #ffffff;
        text-decoration: none;
    }
    
    footer#site-footer a:hover {
        text-decoration: underline;
    }

    .experience {
        max-width: 960px;
        margin: 20px auto;
        padding: 20px;
        background-color: #222; /* Light gray background */
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .experience-entry {
        background-color: #333; /* Dark background */
        margin-bottom: 20px;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        transition: box-shadow 0.3s ease-in-out, transform 0.2s ease;
    }

    .experience-entry:hover {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        transform: translateX(10px);
    }

    h4, a {
        display: block;
    }

    a {
        font-size: 1rem;
        color: #007bff;
        text-decoration: none;
        margin-bottom: 10px;
    }

    a:hover {
        text-decoration: underline;
    }

    ul {
        padding-left: 20px;
        list-style: inside;
    }

    li {
        margin-bottom: 10px;
        font-size: 1rem;
    }
}
