/* ===== LinkedIn-Inspired Theme ===== */

:root {
    --linkedin-blue: #0A66C2;
    --linkedin-dark-blue: #004182;
    --linkedin-light: #F3F2EF;
    --text-primary: #000000;
    --text-secondary: #666666;
    --text-tertiary: #999999;
    --border-color: #E5E5E5;
    --white: #FFFFFF;
    --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-dark: 0 8px 20px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    background-color: var(--linkedin-light);
    color: var(--text-primary);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--linkedin-blue);
}

a:hover {
    text-decoration: underline;
}

/* ===== Navigation ===== */
.navbar {
    background-color: var(--white);
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--linkedin-blue);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--linkedin-blue);
    text-decoration: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
}

/* ===== Theme Toggle ===== */
.theme-toggle {
    display: none;
}

/* ===== Profile Header Section ===== */
.profile-header {
    background: var(--white);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-light);
}

.profile-banner {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--linkedin-blue) 0%, var(--linkedin-dark-blue) 100%);
    position: relative;
}

.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
}

.profile-wrapper {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    align-items: flex-start;
    padding: 2rem 0;
    margin-top: -80px;
}

.profile-left {
    display: flex;
    justify-content: center;
}

.profile-right {
    padding-top: 0.5rem;
}

.profile-info {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: flex-start;
    padding: 0 0 2rem 0;
    margin-top: -60px;
}

.profile-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid var(--white);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--linkedin-blue);
    box-shadow: var(--shadow-medium);
    flex-shrink: 0;
    overflow: hidden;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.profile-details {
    padding-top: 1rem;
}

.profile-details h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.profile-title {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.profile-subtitle {
    font-size: 0.95rem;
    color: var(--text-tertiary);
    margin-bottom: 1.25rem;
    font-weight: 400;
}

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.meta-item i {
    color: var(--linkedin-blue);
    font-size: 1rem;
}

.profile-location {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.profile-bio {
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 600px;
}

.profile-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 24px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--linkedin-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--linkedin-dark-blue);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background-color: transparent;
    color: var(--linkedin-blue);
    border: 2px solid var(--linkedin-blue);
}

.btn-secondary:hover {
    background-color: rgba(10, 102, 194, 0.1);
}

.profile-footer {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.social-links-header {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
}

.social-link-large {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--linkedin-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--linkedin-blue);
    font-size: 1.2rem;
    transition: all 0.3s;
    text-decoration: none;
}

.social-link-large:hover {
    background-color: var(--linkedin-blue);
    color: var(--white);
    box-shadow: var(--shadow-light);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--linkedin-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--linkedin-blue);
    font-size: 1rem;
    transition: all 0.3s;
}

.social-link:hover {
    background-color: var(--linkedin-blue);
    color: var(--white);
}

/* ===== Container & Sections ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    background: var(--white);
    margin-bottom: 2rem;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-light);
    border-radius: 8px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

/* ===== About Section ===== */
.about-text {
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 800px;
    margin-bottom: 1.5rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-card {
    padding: 1.5rem;
    background-color: var(--linkedin-light);
    border-radius: 8px;
    border-left: 3px solid var(--linkedin-blue);
    transition: box-shadow 0.3s;
}

.highlight-card:hover {
    box-shadow: var(--shadow-medium);
}

.highlight-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.highlight-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ===== Experience Section ===== */
.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-item {
    margin-bottom: 2.5rem;
    padding-left: 80px;
    position: relative;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: var(--linkedin-blue);
    border-radius: 50%;
    border: 3px solid var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    box-shadow: var(--shadow-light);
}

.company-logo {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1;
    display: inline-block;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.experience-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.experience-header .company {
    color: var(--linkedin-blue);
    font-weight: 600;
    font-size: 0.95rem;
}

.experience-header .period {
    color: var(--text-tertiary);
    font-size: 0.85rem;
    white-space: nowrap;
}

.experience-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.experience-highlights {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.experience-highlights li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.6;
}

.experience-highlights li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--linkedin-blue);
    font-weight: 700;
}

/* ===== Skills Section ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    display: inline-block;
    background-color: var(--linkedin-light);
    color: var(--text-primary);
    padding: 0.5rem 0.875rem;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.skill-tag:hover {
    background-color: var(--linkedin-blue);
    color: var(--white);
    border-color: var(--linkedin-blue);
}

/* ===== Education Section ===== */
.education-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.education-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    gap: 1.5rem;
}

.education-item:last-child {
    border-bottom: none;
}

.edu-icon {
    font-size: 2rem;
    color: var(--linkedin-blue);
    flex-shrink: 0;
}

.education-item h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.institution {
    color: var(--linkedin-blue);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.period {
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

.detail {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 0.5rem;
}

.certifications-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    color: var(--text-primary);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.cert-card {
    background-color: var(--linkedin-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cert-card:hover {
    box-shadow: var(--shadow-medium);
    border-color: var(--linkedin-blue);
}

.cert-icon {
    font-size: 2rem;
    color: var(--linkedin-blue);
    margin-bottom: 0.75rem;
}

.cert-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.cert-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.cert-date {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.cert-link {
    font-size: 0.75rem;
    color: var(--linkedin-blue);
    opacity: 0;
    transition: opacity 0.3s;
    margin-top: 0.5rem;
}

.cert-card:hover .cert-link {
    opacity: 1;
}

/* ===== Awards Section ===== */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.award-card {
    background-color: var(--linkedin-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.award-card.featured {
    border-color: var(--linkedin-blue);
    background-color: rgba(10, 102, 194, 0.05);
}

.award-card:hover {
    box-shadow: var(--shadow-medium);
}

.award-badge {
    width: 50px;
    height: 50px;
    background-color: var(--linkedin-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.award-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.award-issuer {
    color: var(--linkedin-blue);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.award-date {
    color: var(--text-tertiary);
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.award-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ===== Leadership Section ===== */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.leadership-card {
    background-color: var(--linkedin-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.leadership-card:hover {
    box-shadow: var(--shadow-medium);
}

.leadership-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.leadership-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.leadership-card .role {
    color: var(--linkedin-blue);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.leadership-card .period {
    color: var(--text-tertiary);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.leadership-card .description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== Contact Section ===== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-method i {
    color: var(--linkedin-blue);
    font-size: 1.2rem;
}

.contact-method:hover {
    color: var(--linkedin-blue);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--white);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--linkedin-blue);
    box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.1);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.heart {
    color: #E74C3C;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--linkedin-blue);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .profile-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .profile-left {
        justify-content: flex-start;
    }

    .profile-info {
        grid-template-columns: 1fr;
    }

    .profile-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
    }

    .nav-container {
        height: auto;
    }

    .profile-wrapper {
        text-align: center;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .profile-left {
        justify-content: center;
    }

    .profile-meta {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-info {
        text-align: center;
        gap: 1rem;
    }

    .profile-photo {
        width: 120px;
        height: 120px;
        margin: 0 auto;
        border-width: 3px;
    }

    .profile-details h1 {
        font-size: 1.8rem;
    }

    .profile-actions {
        justify-content: center;
    }

    .section {
        padding: 1.5rem 1rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .awards-grid,
    .leadership-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 1rem;
    }

    .profile-wrapper {
        padding: 1rem 0;
        margin-top: -60px;
    }

    .profile-photo {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
        border-width: 3px;
    }

    .profile-details h1 {
        font-size: 1.4rem;
    }

    .profile-title {
        font-size: 1rem;
    }

    .profile-subtitle {
        font-size: 0.85rem;
    }

    .profile-meta {
        gap: 0.75rem;
        padding: 0.75rem 0;
    }

    .meta-item {
        font-size: 0.8rem;
    }

    .profile-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
}
