/* General Body & Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6; /* Light gray background */
    color: #333; /* Dark text for readability */
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 700;
    margin-top: 0;
    color: #003366; /* Dark blue for headings */
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #0073e6; /* Accent blue line */
    border-radius: 2px;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin-bottom: 10px;
}

/* Header Tagline Enhancements */
.tagline-highlight {
    font-size: 1.5rem; /* Slightly larger text for emphasis */
    font-weight: 500; /* Bolder font weight */
    color: #fff; /* Keep it white for contrast */
    display: block; /* Ensures it takes its own line */
    margin-bottom: 10px; /* Space below the tagline */
    padding: 10px 0; /* Add some padding so the text isn't right against the lines */
    border-top: 1px solid rgba(255, 255, 255, 0.5); /* A subtle white line above */
    border-bottom: 1px solid rgba(255, 255, 255, 0.5); /* A subtle white line below */
}

.header-location {
    font-size: 1.1rem;
    font-weight: 400;
    color: #e6f2ff; /* Lighter color for location */
    display: block;
    margin-top: 5px; /* Space above the location */
}

/* Adjust header-tagline for overall spacing */
.header-tagline {
    margin-bottom: 25px; /* Adjust as needed for overall spacing */
}

/* Header & Navigation */
.header {
    background-color: #003366; /* Dark blue background */
    color: #fff;
    padding: 80px 0 40px;
    text-align: center;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-image {
    width: 400px;
    height: 400px;
    border-radius: 50%; /* Makes the image a circle */
    border: 5px solid #fff;
    margin-bottom: 25px;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.header-name {
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.header-tagline {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 25px;
    color: #e6f2ff;
}

.header-social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

.header-social-links a {
    color: #fff;
    text-decoration: none;
    font-size: 2rem;
    transition: transform 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
}

.header-social-links a.icon-link {
    font-size: 1.1rem;
    font-weight: 500;
}

.header-social-links a.icon-link svg {
    margin-right: 8px;
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.header-social-links a:hover {
    transform: scale(1.05);
    color: #e6f2ff;
}

.header-social-links a:hover svg {
    stroke: #e6f2ff;
}

.navbar {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.navbar ul {
    display: flex;
    justify-content: center;
    margin: 0;
}

.navbar li {
    margin: 0 20px;
}

.navbar a {
    color: #003366;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
}

.navbar a:hover {
    color: #0073e6; /* Lighter blue on hover */
    background-color: #e6f2ff; /* Very light blue background on hover */
}

/* Main Sections */
main {
    padding: 40px 0;
}

.section {
    padding: 60px 0;
    border-bottom: 1px solid #e0e0e0;
}

/* Qualifications Summary */
.summary-content p {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
}

.competencies {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.competencies h3 {
    text-align: center;
    color: #0073e6;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.competencies ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.competencies li {
    font-size: 1rem;
    line-height: 1.8;
}

/* Experience & Projects */
.experience-item, .project-item {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-item:hover, .project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.experience-item h3, .project-item h3 {
    font-size: 1.8rem;
    color: #003366;
    margin-bottom: 5px;
}

.company, .dates, .project-role {
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

.experience-item ul, .project-item ul {
    margin-top: 15px;
    padding-left: 20px;
}

.experience-item li, .project-item li {
    list-style-type: disc;
    margin-bottom: 12px;
}

/* Skills & Community */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.skill-category h3 {
    color: #0073e6;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.community-item {
    background-color: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.community-item h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.community-item p {
    color: #555;
    margin: 0;
}

/* Footer */
.footer {
    background-color: #003366;
    color: #e6f2ff;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-name {
        font-size: 2.5rem;
    }

    .header-tagline {
        font-size: 1.1rem;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .navbar ul {
        flex-direction: column;
        align-items: center;
    }

    .navbar li {
        margin: 10px 0;
    }

    h2 {
        font-size: 1.8rem;
    }

    .experience-item h3, .project-item h3 {
        font-size: 1.5rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}