/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --border-radius: 12px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    overflow: hidden;
}

/* Header Styles */
.profile-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    padding: 60px 20px;
    position: relative;
}

.header-contact {
    position: absolute;
    top: 20px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.95;
}

.header-contact span {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 15px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    white-space: nowrap;
}

.profile-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color), var(--accent-color));
}

.name {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.title {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.95;
}

/* Main Content */
.content {
    padding: 50px 40px;
}

section {
    margin-bottom: 50px;
}

section:last-child {
    margin-bottom: 0;
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

/* Bio Section */
.bio-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 800px;
    margin-bottom: 15px;
}

.bio-text:last-child {
    margin-bottom: 0;
}

.bio-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 20px 0;
    max-width: 800px;
}

.bio-list li {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.bio-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: bold;
}

.bio-list li:last-child {
    margin-bottom: 0;
}

/* Highlights Section */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.highlight-card {
    background: var(--bg-color);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.highlight-card .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.highlight-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.highlight-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Experience Section */
.experience-section {
    margin-bottom: 50px;
}

.experience-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
    position: relative;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20px;
    bottom: 20px;
    width: 3px;
    background: linear-gradient(180deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.experience-card {
    background: var(--bg-color);
    padding: 25px 30px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
    margin-left: 30px;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.experience-card::before {
    content: '';
    position: absolute;
    left: -39px;
    top: 30px;
    width: 12px;
    height: 12px;
    background: var(--secondary-color);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--secondary-color);
}

.experience-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-hover);
    border-left-color: var(--accent-color);
}

.experience-card:hover::before {
    background: var(--accent-color);
    box-shadow: 0 0 0 2px var(--accent-color);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 15px;
    flex-wrap: wrap;
}

.experience-header h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 600;
}

.duration {
    display: inline-block;
    padding: 6px 15px;
    background: white;
    color: var(--secondary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid var(--secondary-color);
    white-space: nowrap;
}

.company {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-style: italic;
}

.responsibilities {
    list-style: none;
    padding: 0;
    margin: 0;
}

.responsibilities li {
    color: var(--text-light);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.responsibilities li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: bold;
}

.responsibilities li:last-child {
    margin-bottom: 0;
}

.responsibilities strong {
    color: var(--primary-color);
}

/* Skills Section */
.skills-section {
    background: var(--bg-color);
    padding: 30px;
    border-radius: var(--border-radius);
}

.skills-category {
    margin-bottom: 30px;
}

.skills-category:last-child {
    margin-bottom: 0;
}

.skills-category h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    display: inline-block;
    padding: 8px 16px;
    background: white;
    color: var(--text-color);
    border-radius: 20px;
    font-size: 0.9rem;
    border: 2px solid var(--secondary-color);
    transition: var(--transition);
    font-weight: 500;
}

.skill-tag:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.certifications-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.certification-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.certification-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.cert-icon {
    font-size: 1.5rem;
}

.cert-text {
    font-size: 1rem;
}

/* Contact Section */
.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: var(--bg-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 25px;
    transition: var(--transition);
    border: 2px solid transparent;
    font-weight: 500;
}

.contact-link:hover {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.contact-link.location {
    cursor: default;
}

.contact-link.location:hover {
    background: var(--bg-color);
    color: var(--text-color);
    border-color: transparent;
    transform: none;
    box-shadow: none;
}

.link-icon {
    font-size: 1.3rem;
}

/* Footer */
.profile-footer {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .name {
        font-size: 2.2rem;
    }

    .title {
        font-size: 1.1rem;
    }

    .content {
        padding: 30px 20px;
    }

    h2 {
        font-size: 1.6rem;
    }

    .bio-text {
        font-size: 1rem;
    }

    .bio-list li {
        font-size: 0.95rem;
        padding-left: 25px;
        margin-bottom: 10px;
    }

    .bio-list li::before {
        font-size: 1.1rem;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-links {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-link {
        justify-content: center;
    }

    .skills-section {
        padding: 20px;
    }

    .skill-tag {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .experience-timeline::before {
        left: 5px;
    }

    .experience-card {
        margin-left: 25px;
        padding: 20px;
    }

    .experience-card::before {
        left: -32px;
        width: 10px;
        height: 10px;
    }

    .experience-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .experience-header h3 {
        font-size: 1.2rem;
    }

    .duration {
        font-size: 0.85rem;
        padding: 5px 12px;
    }

    .company {
        font-size: 1rem;
    }

    .responsibilities li {
        font-size: 0.95rem;
        padding-left: 20px;
    }

    .header-contact {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-bottom: 20px;
        flex-wrap: wrap;
    }

    .header-contact span {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .profile-header {
        padding: 40px 15px;
    }

    .header-contact {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .header-contact span {
        font-size: 0.8rem;
        padding: 5px 10px;
    }

    .name {
        font-size: 1.8rem;
    }

    .title {
        font-size: 1rem;
    }

    .content {
        padding: 25px 15px;
    }

    .highlight-card {
        padding: 25px 15px;
    }

    .skills-section {
        padding: 15px;
    }

    .skills-category h3 {
        font-size: 1.1rem;
    }

    .skill-tag {
        font-size: 0.8rem;
        padding: 5px 10px;
    }

    .certification-badge {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .experience-card {
        margin-left: 20px;
        padding: 15px;
    }

    .experience-card::before {
        left: -28px;
        width: 8px;
        height: 8px;
    }

    .experience-header h3 {
        font-size: 1.1rem;
    }

    .duration {
        font-size: 0.8rem;
        padding: 4px 10px;
    }

    .company {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }

    .responsibilities li {
        font-size: 0.9rem;
        padding-left: 18px;
        margin-bottom: 8px;
    }

    .responsibilities li::before {
        font-size: 1rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeIn 0.6s ease-out;
}

