/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.3s;
}

a:hover {
    color: #3498db;
}

/* Header Styles */
header {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 40px 0;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
}

/* Navigation Styles */
nav {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
}

nav li {
    padding: 15px 20px;
}

nav a {
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

nav a:hover {
    color: #3498db;
}

nav a.active {
    color: #3498db;
}

nav a.active:after,
nav a:hover:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #3498db;
    bottom: 0;
    left: 0;
}

/* Main Content Styles */
.main-content {
    padding: 40px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 30px;
    align-items: start;
}

.about-text h2 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.about-text p {
    margin-bottom: 15px;
}

.about-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.contact-info {
    margin-top: 25px;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    border-left: 3px solid #3498db;
}

.contact-info p {
    margin-bottom: 8px;
}

.contact-info i {
    width: 20px;
    color: #3498db;
    margin-right: 8px;
}

/* Skills Section */
.skills-section {
    background-color: white;
    padding: 40px 0;
}

.skills-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.skill-category {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.skill-category h3 {
    margin-bottom: 15px;
    color: #3498db;
    font-size: 1.2rem;
}

.skill-category ul {
    list-style-position: inside;
}

.skill-category li {
    margin-bottom: 5px;
}

/* Footer Styles */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 20px 0;
    text-align: center;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: white;
    margin: 0 10px;
    font-size: 1.2rem;
}

.social-links a:hover {
    color: #3498db;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        max-width: 60%;
        margin: 0 auto 20px;
    }

    footer .container {
        flex-direction: column;
    }

    .social-links {
        margin-top: 15px;
    }

    nav ul {
        flex-wrap: wrap;
    }

    nav li {
        padding: 10px 15px;
    }
}
