/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    display: flex;
    background-color: #f4f4f9;
}

.sidebar {
    width: 250px;
    background-color: #2c3e50;
    color: #ecf0f1;
    min-height: 100vh;
    padding: 2rem 1rem;
    position: fixed;
}

.sidebar h1 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: bold;
}

.sidebar nav ul {
    list-style: none;
    padding: 0;
}

.sidebar nav ul li {
    margin: 1.5rem 0;
}

.sidebar nav ul li a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 1.2rem;
}

.sidebar nav ul li a.active {
    font-weight: bold;
    color: #3498db;
}

main {
    margin-left: 270px;
    padding: 2rem;
    width: calc(100% - 270px);
}

/* Section Styles */
.section {
    padding: 4rem 2rem;
    margin: 0 auto;
    max-width: 1200px;
    background-color: #fff;
    margin-bottom: 3rem;
    overflow: hidden;
}

.section h2 {
    font-size: 2.5rem;
    color: #34495e;
    margin-bottom: 2rem;
    text-align: center;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.progress-bar {
    background: #ecf0f1;
    border-radius: 5px;
    overflow: hidden;
    height: 15px;
}

.progress {
    background: #3498db;
    height: 100%;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.project {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.project img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.project h3 {
    font-size: 1.5rem;
    color: #34495e;
    margin-bottom: 0.5rem;
}

.project p {
    font-size: 1rem;
    color: #555;
}

/* Services Section */
#services {
    background-color: #f7f8fc;
    padding: 4rem 2rem;
    text-align: center;
}

#services h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.service {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
}

.service p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
#contact {
    background-color: #f7f8fc;
    padding: 4rem 2rem;
    text-align: center;
}

#contact h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
}

#contact-form label {
    display: block;
    font-weight: bold;
    margin-top: 1rem;
    color: #34495e;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin: 0.5rem 0 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

#contact-form button {
    padding: 0.8rem 2rem;
    border: none;
    background-color: #3498db;
    color: white;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
}

#contact-form button:hover {
    background-color: #2980b9;
}
