/* style.css */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    margin-bottom: 5px;
    font-size: 2.2em;
}

header p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

header nav ul {
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    margin-bottom: 0;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #ddd;
}

main {
    flex: 1;
}

.section {
    padding: 40px 0;
}

.section h2 {
    color: #333;
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 2em;
    font-weight: 600;
}

.bg-light {
    background-color: #f9f9f9;
}

.experience-item {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.experience-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.experience-item h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.experience-item .date {
    color: #777;
    margin-bottom: 15px;
    font-style: italic;
    font-size: 1.1em;
}

.experience-item ul {
    padding-left: 25px;
    list-style-type: disc;
    margin-bottom: 0;
}

.experience-item ul li{
    margin-bottom: 8px;
    font-size: 1.1em;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.skill-category {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.skill-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}


.skill-category h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
    margin-bottom: 15px;
    font-size: 1.3em;
    font-weight: 600;
}

.skill-category ul {
    padding-left: 25px;
    list-style-type: disc;
    margin-bottom: 0;
}

.skill-category ul li{
    margin-bottom: 8px;
    font-size: 1.1em;

}

.project-item {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.project-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.project-item h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.5em;
    margin-bottom: 12px;
}

.project-item .description {
    margin-bottom: 15px;
    color: #555;
    font-size: 1.1em;
    line-height: 1.7;
}

.project-item .technologies {
    color: #777;
    font-style: italic;
    font-size: 1em;
}

#contact {
    text-align: center;
}

#contact p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.contact-info{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#contact a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 1.2em;
}

#contact a:hover {
    color: #0078d7;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 25px 0;
    margin-top: 40px;
    border-top: 1px solid #444;
}

footer p{
    font-size: 1.1em;
}

.header-content{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-list{
    display: flex;
    list-style: none;
    padding: 0;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-list li{
    margin: 0 15px;
}

.nav-list li a{
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-list li a:hover{
    color: #ddd;
}

@media (max-width: 768px) {
    header h1{
        font-size: 2.5em;
    }
    header p{
        font-size: 1.2em;
    }
    .nav-list li{
        margin: 10px;
    }
    .skills-grid {
        grid-template-columns: 1fr;
    }
    .header-content{
        align-items: center;
        text-align: center;
    }
    header nav ul li {
        margin: 10px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2em;
    }
    header p{
        font-size: 1em;
    }
    .section h2{
        font-size: 1.75em;
    }
    .nav-list li a{
        font-size: 1em;
    }
    .experience-item h3{
        font-size: 1.2em;
    }
    .project-item h3{
        font-size: 1.2em;
    }
    footer p{
        font-size: 0.9em;
    }
}
