/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif; /* Modern and professional font */
    line-height: 1.6;
    background-color: #f9f9f9; /* Light background for readability */
    color: #333;
    overflow-x: hidden; /* Prevent horizontal scrollbars */
}

/* Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2c3e50; /* Dark blue for professionalism */
    color: white;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 1rem;
}

.nav-links a {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: #ecf0f1; /* Lighter shade for hover effect */
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Sections */
.section {
    padding: 2rem;
    text-align: center;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2980b9; /* Blue for headings */
}

.about-content img {
    max-width: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 4px solid #2c3e50; /* Border around profile picture */
}

.about-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

/* Skills Section */
.skill-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.skill-list h3 {
    font-size: 1.2rem;
    color: #2980b9;
    margin-bottom: 0.5rem;
}

.skill-list ul {
    list-style: none;
    padding: 0;
}

.skill-list li {
    background-color: #ecf0f1; /* Light gray for skill items */
    padding: 0.5rem 1rem;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.skill-list li:hover {
    transform: translateY(-5px); /* Hover effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Experience and Education Sections */
.experience-item,
.education-item {
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.experience-item:hover,
.education-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.experience-item h3,
.education-item h3 {
    font-size: 1.2rem;
    color: #2980b9;
    margin-bottom: 0.5rem;
}

.experience-item p,
.education-item p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.5rem;
}

/* Projects Section */
.project-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 1rem;
}

.slide {
    flex: 0 0 auto;
    width: 300px;
    margin-right: 1rem;
    scroll-snap-align: start;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.slide:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.slide img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Contact Section */
#contact {
    background-color: #2c3e50;
    color: white;
    padding: 2rem;
    text-align: center;
}

#contact form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
}

#contact input,
#contact textarea {
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#contact button {
    padding: 0.8rem;
    background-color: #2980b9;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#contact button:hover {
    background-color: #3498db;
}

.social-links a {
    margin: 0.5rem;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ecf0f1;
}

/* Footer Section */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #2c3e50;
    }

    .burger {
        display: block;
    }

    .section {
        padding: 1rem;
    }

    .skill-list {
        grid-template-columns: 1fr;
    }
}