/* Google Material Design Portfolio */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --google-blue: #1a73e8;
    --google-blue-dark: #1557b0;
    --google-red: #ea4335;
    --google-yellow: #fbbc04;
    --google-green: #34a853;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --border-color: #dadce0;
    --bg-alt: #f8f9fa;
    --shadow-sm: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px rgba(60, 64, 67, 0.15);
    --shadow-md: 0 1px 3px rgba(60, 64, 67, 0.3), 0 4px 8px rgba(60, 64, 67, 0.15);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Roboto', arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: #fff;
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-brand {
    font-family: 'Google Sans', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-photo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3);
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    padding: 8px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.1s ease-in-out;
    font-size: 14px;
}

.nav-link:hover {
    background: rgba(60, 64, 67, 0.08);
    color: var(--text-primary);
}

.projects-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.1s ease-in-out;
    margin-left: 8px;
}

.projects-btn:hover {
    background: rgba(60, 64, 67, 0.08);
}

.nav-contact-btn {
    margin-left: 16px;
    font-size: 14px;
    padding: 8px 20px;
}

.grid-icon {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    width: 18px;
    height: 18px;
}

.dot {
    width: 4px;
    height: 4px;
    background: var(--text-secondary);
    border-radius: 50%;
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    background: #fff;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-profile {
    margin-bottom: 32px;
}

.hero-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(60, 64, 67, 0.28);
    border: 4px solid #fff;
}

.hero-title {
    font-family: 'Google Sans', sans-serif;
    font-size: 48px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-weight: 400;
}

.hero-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 10px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.1s ease-in-out;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--google-blue);
    color: white;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px rgba(60, 64, 67, 0.15);
}

.btn-primary:hover {
    background: var(--google-blue-dark);
    box-shadow: 0 1px 3px rgba(60, 64, 67, 0.3), 0 4px 8px rgba(60, 64, 67, 0.15);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: #f8f9fa;
    border-color: #dadce0;
}

.btn-outline {
    background: transparent;
    color: var(--google-blue);
    border: 1px solid var(--google-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-outline:hover {
    background: #e8f0fe;
}

.btn-outline i {
    font-size: 16px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Google Sans', sans-serif;
    font-size: 36px;
    font-weight: 500;
    color: var(--google-blue);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-title {
    font-family: 'Google Sans', sans-serif;
    font-size: 36px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 48px;
    text-align: center;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* .timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
} */

.timeline-item {
    position: relative;
    /* padding-left: 60px; */
    margin-bottom: 48px;
}

.timeline-marker {
    position: absolute;
    left: 12px;
    top: 8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--google-blue);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--google-blue);
}

.timeline-content {
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 16px;
}

.timeline-title {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.timeline-company {
    font-size: 16px;
    color: var(--google-blue);
    font-weight: 400;
}

.timeline-meta {
    text-align: right;
}

.timeline-date {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.timeline-location {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
}

.timeline-list {
    list-style: none;
    margin-bottom: 16px;
}

.timeline-list li {
    padding-left: 24px;
    margin-bottom: 8px;
    position: relative;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.timeline-list li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--google-blue);
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 4px 12px;
    background: #e8f0fe;
    color: var(--google-blue);
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

/* Projects */
.projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 32px;
}

.project-card {
    background: white;
    padding: 32px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    flex: 1 1 calc(50% - 16px);
    min-width: 300px;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 16px;
}

.project-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.project-title {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.project-date {
    font-size: 14px;
    color: var(--text-secondary);
}

.project-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.project-features {
    list-style: none;
    margin-bottom: 24px;
}

.project-features li {
    padding-left: 24px;
    margin-bottom: 8px;
    position: relative;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.project-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--google-green);
    font-weight: bold;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    padding: 6px 12px;
    background: var(--bg-alt);
    color: var(--text-primary);
    border-radius: 4px;
    font-size: 12px;
    border: 1px solid var(--border-color);
}

.more-projects {
    text-align: center;
    margin-top: 32px;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-category {
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.skill-category-header i {
    font-size: 24px;
    color: var(--google-blue);
}

.skill-category-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-item {
    padding: 8px 16px;
    background: #e8f0fe;
    color: var(--google-blue);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* About Section */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text {
    margin-bottom: 48px;
}

.about-paragraph {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
}

.highlight-card {
    background: white;
    padding: 32px 24px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.2s ease-in-out;
}

.highlight-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.highlight-number {
    font-family: 'Google Sans', sans-serif;
    font-size: 48px;
    font-weight: 500;
    color: var(--google-blue);
    margin-bottom: 8px;
}

.highlight-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Expertise Section */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.expertise-card {
    background: white;
    padding: 32px 24px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.2s ease-in-out;
}

.expertise-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.expertise-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: #e8f0fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--google-blue);
}

.expertise-icon i {
    font-size: 32px;
}

.expertise-title {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.expertise-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Education */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.education-card {
    background: white;
    padding: 32px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
}

.education-icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--google-blue);
}

.education-icon i {
    font-size: 48px;
}

.education-title {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.education-school {
    font-size: 16px;
    color: var(--google-blue);
    margin-bottom: 8px;
}

.education-date,
.education-gpa,
.education-location {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.certifications {
    background: white;
    padding: 32px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.cert-title {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.cert-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.cert-icon {
    width: 24px;
    height: 24px;
    background: var(--google-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

.cert-icon i {
    font-size: 12px;
}

.cert-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.cert-provider {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Contact */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.6;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.contact-card {
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    transition: all 0.1s ease-in-out;
    cursor: pointer;
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 32px;
    color: var(--google-blue);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 24px;
}

.contact-info {
    text-align: left;
    flex: 1;
    min-width: 0;
}

.contact-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-value {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
    word-break: break-word;
    overflow-wrap: break-word;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    box-shadow: var(--shadow-sm);
}

.social-btn:hover {
    background: var(--google-blue);
    color: white;
    border-color: var(--google-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.social-btn i {
    font-size: 20px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0a121d 0%, #182a43 100%);
    padding: 60px 0 24px;
    color: white;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-brand {
    text-align: center;
}

.footer-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-name {
    font-family: 'Google Sans', sans-serif;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 8px;
    color: white;
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

.footer-quote {
    text-align: center;
    position: relative;
    padding: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.footer-quote i {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 12px;
}

.footer-quote p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: white;
    font-style: italic;
}

.quote-author {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.footer-connect {
    text-align: center;
    margin-bottom: 32px;
}

.footer-connect-title {
    font-family: 'Google Sans', sans-serif;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 12px;
    color: white;
}

.footer-connect-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-btn:hover {
    background: white;
    color: var(--google-blue);
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.footer-social-btn i {
    font-size: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
}

.footer-made {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.footer-made i {
    color: #ea4335;
    animation: pulse 1.5s ease-in-out infinite;
}

.footer-made .bi-cup-hot-fill {
    color: #fbbc04;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-photo {
        width: 96px;
        height: 96px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    /* .btn {
        width: 100%;
    } */

    .hero-stats {
        gap: 24px;
    }

    .projects-grid {
        flex-direction: column;
    }

    .project-card {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .project-header {
        flex-direction: column;
    }

    .project-actions {
        width: 100%;
    }

    .project-actions .btn {
        flex: 1;
    }

    .timeline::before {
        left: 10px;
    }

    /* .timeline-item {
        padding-left: 40px;
    } */

    .timeline-marker {
        left: 2px;
    }

    .timeline-header {
        flex-direction: column;
    }

    .timeline-meta {
        text-align: left;
    }

    .section-title {
        font-size: 28px;
    }
}