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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f9fa;
    color: #2c3e50;
    line-height: 1.6;
}

/* Navigation Bar */
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

li {
    float: left;
}

li a, .dropbtn {
    display: inline-block;
    color: #2c3e50;
    text-align: center;
    padding: 16px 24px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

li a:hover, .dropdown:hover .dropbtn {
    background-color: #f0f0f0;
    color: #3498db;
}

li.dropdown {
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 180px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    border-radius: 4px;
    margin-top: 0;
}

.dropdown-content a {
    color: #2c3e50;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    text-align: left;
    transition: background-color 0.2s ease;
}

.dropdown-content a:hover {
    background-color: #f0f0f0;
    color: #3498db;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Main Content Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Hero Section */
.hero {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 60px 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
}

.hero h1 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1em;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Profile Section */
.profile-section {
    display: flex;
    gap: 40px;
    align-items: center;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.profile-image {
    flex-shrink: 0;
}

.profile-image img {
    border-radius: 50%;
    width: 250px;
    height: 250px;
    object-fit: cover;
    object-position: center 5%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.profile-image img:hover {
    transform: scale(1.05);
}

.profile-content {
    flex: 1;
}

.profile-content h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 2em;
}

.profile-content p {
    color: #555;
    line-height: 1.8;
}

/* Section Grid */
.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.section-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.section-card h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.5em;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
}

.section-card ul {
    list-style: none;
    background: none;
    box-shadow: none;
    position: static;
    padding-left: 0;
}

.section-card li {
    float: none;
    padding: 8px 0;
    color: #555;
    border-left: 3px solid #3498db;
    padding-left: 15px;
    margin-bottom: 10px;
}

.section-card li a {
    padding: 0;
    color: #3498db;
}

.section-card p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* Skills Tags */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background-color: #e8f4f8;
    color: #2c3e50;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background-color: #3498db;
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-section {
        flex-direction: column;
        text-align: center;
    }

    .section-grid {
        grid-template-columns: 1fr;
    }

    li a, .dropbtn {
        padding: 12px 16px;
    }

    .hero h1 {
        font-size: 2em;
    }
}