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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

/* Global */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

section {
    padding: 80px 0;
}

h1, h2, h3 {
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    margin-bottom: 32px;
    text-align: center;
    color: #111827;
}

p {
    color: #4b5563;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e5e7eb;
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 72px;
}

.nav-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

.nav-menu {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: #4b5563;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    column-gap: clamp(3rem, 7vw, 8rem);
    padding-top: 96px;
    padding-bottom: 64px;
}

.hero-content {
    max-width: 46rem;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: #111827;
    margin-bottom: 16px;
}

.highlight {
    color: #2563eb;
}

.tagline {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 20px;
}

.description {
    font-size: 1.05rem;
    color: #4b5563;
    margin-bottom: 32px;
    max-width: 640px;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #2563eb;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-secondary {
    border: 1px solid #d1d5db;
    color: #111827;
    background-color: #ffffff;
}

.btn-secondary:hover {
    background-color: #f9fafb;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-photo {
    width: min(100%, 360px);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    border: 6px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    display: block;
    margin-inline: auto;
    background-color: #f3f4f6;
}

/* Desktop left whitespace */
@media (min-width: 1024px) {
    .hero {
        padding-left: clamp(3rem, 8vw, 7rem);
        padding-right: clamp(2rem, 4vw, 4rem);
    }
}

/* About */
.about {
    background-color: #f9fafb;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin: 0 auto 20px;
    font-size: 1rem;
}

.stats {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stat {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.stat h3 {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 8px;
}

.stat p {
    font-size: 0.95rem;
    color: #6b7280;
}

/* Experience */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 24px;
    border-left: 2px solid #dbeafe;
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
}

.timeline-dot {
    position: absolute;
    left: -35px;
    top: 8px;
    width: 16px;
    height: 16px;
    background-color: #2563eb;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 3px #dbeafe;
}

.timeline-content {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.timeline-content h3 {
    font-size: 1.25rem;
    color: #111827;
    margin-bottom: 8px;
}

.company {
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 16px;
}

.timeline-content ul {
    list-style: disc;
    padding-left: 20px;
}

.timeline-content li {
    margin-bottom: 10px;
    color: #4b5563;
}

/* Skills */
.skills {
    background-color: #f9fafb;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.skill-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.skill-card h3 {
    margin-bottom: 12px;
    color: #111827;
    font-size: 1.15rem;
}

.skill-card p {
    color: #4b5563;
    font-size: 0.95rem;
}

/* Certifications */
.certifications {
    margin-top: 24px;
}

.certifications h3 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 1.4rem;
    color: #111827;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto 16px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px 18px;
}

.cert-year {
    display: inline-block;
    min-width: 56px;
    font-weight: 700;
    color: #2563eb;
}

.cert-name {
    color: #374151;
    font-weight: 500;
}

.cert-note {
    text-align: center;
    font-size: 0.95rem;
}

.cert-note a {
    color: #2563eb;
}

.cert-note a:hover {
    text-decoration: underline;
}

/* Contact */
.contact {
    background-color: #ffffff;
    text-align: center;
}

.contact p {
    max-width: 700px;
    margin: 0 auto 24px;
}

.contact-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #111827;
    transition: all 0.3s ease;
}

.contact-link:hover {
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    padding: 24px 0;
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
    text-align: center;
}

.footer p {
    font-size: 0.95rem;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 1023px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-left: 24px;
        padding-right: 24px;
        row-gap: 32px;
    }

    .hero-content {
        max-width: 100%;
    }

    .description {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 768px) {
    section {
        padding: 64px 0;
    }

    .navbar .container {
        flex-direction: column;
        justify-content: center;
        gap: 12px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }

    .hero {
        min-height: auto;
        padding-top: 120px;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .tagline {
        font-size: 1rem;
    }

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

    .timeline {
        padding-left: 18px;
    }

    .timeline-dot {
        left: -29px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 18px;
    }

    .btn,
    .contact-link {
        width: 100%;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .profile-photo {
        width: min(100%, 280px);
    }
}
