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

:root {
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --cyan-500: #06b6d4;
    --blue-100: #dbeafe;
    --blue-50: #eff6ff;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --green-600: #16a34a;
    --green-100: #dcfce7;
    --cyan-50: #ecf9ff;
    --gray-100: #f3f4f6;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--slate-700);
    background-color: var(--slate-50);
    line-height: 1.6;
}

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

/* Header & Navigation */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    z-index: 50;
}

.navbar {
    padding: 16px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--slate-800);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--slate-600);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--blue-600);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

/* Main Content */
main {
    margin-top: 0;
    padding-top: 80px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-600) 0%, var(--cyan-500) 100%);
    color: var(--white);
    padding: 40px 0;
}

.hero-content {
    text-align: center;
}

.hero-icon {
    width: 220px;
    /* adjust size if needed */
    height: 220px;
    border-radius: 50%;
    background-color: #ffffff;
    /* white circle background */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    overflow: hidden;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.25);
    /* IMPORTANT */
}

.hero-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* ensures image fills circle */
    border-radius: 50%;
}

.hero-icon {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.15),
        0 0 0 6px rgba(255, 255, 255, 0.25);
}

.hero-icon:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.15),
        0 0 0 6px rgba(255, 255, 255, 0.25);
}

.hero-icon {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}


.hero-icon svg {
    display: block;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 32px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    letter-spacing: 0.1em;
}

.hero-description {
    font-size: 18px;
    max-width: 768px;
    margin: 0 auto 32px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--white);
    color: var(--blue-600);
}

.btn-primary:hover {
    background-color: var(--blue-50);
    transform: scale(1.05);
}

.btn-secondary {
    background-color: rgba(29, 78, 216, 0.5);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--blue-700);
    transform: scale(1.05);
}

/* Sections */
section {
    padding: 80px 0;
}

.about-section {
    background-color: var(--white);
}

.experience-section {
    background-color: var(--slate-50);
}

.education-section {
    background-color: var(--white);
}

.skills-section {
    background-color: var(--slate-50);
}

.contact-section {
    background: linear-gradient(135deg, var(--blue-600) 0%, var(--cyan-500) 100%);
    color: var(--white);
    text-align: center;
}

/* Section Titles */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: var(--slate-800);
}

.section-title.light {
    color: var(--white);
}

/* About Section */
.about-content {
    max-width: 896px;
    margin: 0 auto;
    font-size: 18px;
    color: var(--slate-600);
    line-height: 1.75;
}

.about-content p {
    margin-bottom: 16px;
}

/* Experience Section */
.experience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .experience-grid {
        grid-template-columns: 1fr;
    }
}

.experience-card {
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 32px;
    transition: box-shadow 0.3s ease;
}

.experience-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.card-icon {
    padding: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.card-icon.blue {
    background-color: var(--blue-100);
    color: var(--blue-600);
}

.card-icon.green {
    background-color: var(--green-100);
    color: var(--green-600);
}

.card-title-group h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 4px;
}

.card-title-group .company {
    color: var(--blue-600);
    font-weight: 600;
}

.card-title-group .date {
    color: var(--slate-500);
    font-size: 14px;
}

.card-body {
    margin-left: 64px;
}

.card-description {
    color: var(--slate-600);
    margin-bottom: 16px;
}

.card-body h4 {
    font-weight: 600;
    color: var(--slate-800);
    margin-top: 16px;
    margin-bottom: 8px;
    font-size: 16px;
}

.responsibility-list,
.project-list {
    list-style-position: inside;
    color: var(--slate-600);
    space: 8px;
}

.responsibility-list li,
.project-list li {
    margin-bottom: 8px;
    margin-left: 0;
}

/* Education Section */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.education-card {
    border-radius: 16px;
    padding: 24px;
    border: 1px solid;
}

.education-card.blue {
    background: linear-gradient(135deg, var(--blue-50) 0%, var(--cyan-50) 100%);
    border-color: var(--blue-100);
}

.education-card.gray {
    background: linear-gradient(135deg, var(--slate-50) 0%, #f0f4f8 100%);
    border-color: #e2e8f0;
}

.education-header {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.education-header svg {
    color: var(--blue-600);
    flex-shrink: 0;
}

.education-card.gray .education-header svg {
    color: var(--slate-600);
}

.education-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--slate-800);
}

.university {
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 4px;
}

.college {
    color: var(--slate-600);
    font-size: 14px;
    margin-bottom: 16px;
}

.education-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.year {
    color: var(--slate-500);
    font-size: 14px;
}

.percentage {
    background-color: var(--blue-600);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
}

.education-card.gray .percentage {
    background-color: var(--slate-600);
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.skills-card {
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 32px;
}

.skills-header {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    align-items: center;
}

.skills-header svg {
    color: var(--blue-600);
    flex-shrink: 0;
}

.skills-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--slate-800);
}

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

.tag {
    display: inline-block;
    background-color: var(--blue-100);
    color: var(--blue-700);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
}

.tag.gray {
    background-color: var(--slate-100);
    color: var(--slate-700);
}

.skills-list {
    space: 16px;
}

.skill-group {
    margin-bottom: 16px;
}

.skill-category {
    color: var(--slate-700);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    display: block;
}

.interests-card {
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 32px;
    text-align: center;
}

.interests-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 24px;
}

.interests-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.interest-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--blue-100) 0%, var(--cyan-50) 100%);
    color: var(--slate-700);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
}

/* Contact Section */
.contact-subtitle {
    font-size: 18px;
    max-width: 896px;
    margin: 0 auto 48px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 32px;
    max-width: 512px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-size: 18px;
    margin-bottom: 24px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item svg {
    flex-shrink: 0;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.contact-item.address {
    align-items: flex-start;
}

.contact-item.address p {
    margin: 0;
    font-size: 18px;
}

/* Footer */
footer {
    background-color: var(--slate-900);
    color: var(--white);
    padding: 32px 0;
    text-align: center;
}

footer p {
    color: #cbd5e1;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 32px;
    }

    section {
        padding: 48px 0;
    }

    .card-body {
        margin-left: 0;
    }

    .experience-card {
        padding: 24px;
    }

    .card-header {
        flex-direction: column;
    }

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

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 24px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}