* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}


/* Contact Links */
.contact-info a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #3498db;
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-link {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #3498db;
}
/* Add margin between social links */
.social-link {
    margin: 0 10px; /* 10px horizontal spacing */
    display: inline-block; /* Required for margin to work properly */
}

/* If using Font Awesome icons, add spacing to the icons */
.social-link i {
    margin: 0 8px;
}

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

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

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid #fff;
}

/* Navigation */
nav {
    background: #34495e;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
    transition: all 0.3s ease;
}

.nav-links li {
    margin: 0 1rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
}

.nav-links a:hover {
    color: #3498db;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Mobile Nav */
@media (max-width: 768px) {
    nav {
        padding: inherit;
    }
    .hamburger {
        display: block;
    }
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #34495e;
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
    }

    .nav-links.active {
        max-height: 500px;
        opacity: 1;
        padding: 1rem 0;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Section Styles */
section {
    padding: 4rem 0;
    background: white;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-size: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
    display: inline-block;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 0 2rem;
}

.skill-item {
    background: #f4f4f4;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    transition: transform 0.3s;
}

.skill-item:hover {
    transform: translateY(-5px);
    background: #e8e8e8;
}

/* Experience Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-item {
    border-left: 2px solid #3498db;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    width: 15px;
    height: 15px;
    background: #3498db;
    border-radius: 50%;
    position: absolute;
    left: -8.5px;
    top: 0;
}

.timeline-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.date {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

button {
    background: #3498db;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

button:hover {
    background: #2980b9;
}

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