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

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --accent-color: #3b82f6;
    --success-color: #10b981;
    --gradient: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

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

.logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.logo-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-light);
    line-height: 1.2;
}

.nav.scrolled .logo {
    opacity: 1;
    transform: translateY(0);
}

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

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.85) 0%, rgba(30, 64, 175, 0.85) 100%),
        url('images/hero-background.jpg') center/cover no-repeat;
    position: relative;
}

.hero-content {
    max-width: 900px;
}

.hero-name {
    font-size: 64px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.1;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.hero-title {
    font-size: 32px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 16px;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-company {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.company-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, 0.8);
    transition: border-color 0.3s ease;
}

.company-link:hover {
    border-color: #ffffff;
}

.hero-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 48px;
    max-width: 800px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

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

.stat {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    text-align: center;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

/* About Section */
.about {
    background: var(--bg-white);
}

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

.about-text {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* Value Proposition Section */
.value {
    background: var(--bg-light);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.value-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.value-card p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Experience Section */
.experience {
    background: var(--bg-white);
}

.experience-timeline {
    max-width: 900px;
    margin: 60px auto 0;
}

.experience-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.experience-item::before {
    content: '';
    position: absolute;
    left: 60px;
    top: 30px;
    bottom: -30px;
    width: 2px;
    background: var(--border-color);
}

.experience-year {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.experience-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.experience-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.experience-content p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.experience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-light);
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
}

/* Education Divider */
.education-divider {
    max-width: 900px;
    margin: 60px auto 0;
    display: flex;
    align-items: center;
    text-align: center;
}

.education-divider::before,
.education-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.education-divider::before {
    margin-right: 24px;
}

.education-divider::after {
    margin-left: 24px;
}

.education-text {
    font-size: 15px;
    color: var(--text-light);
    font-weight: 500;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

/* Projects Section */
.projects {
    background: var(--bg-light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.project-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.project-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    clip-path: polygon(100% 0, 100% 100%, 0 0);
    overflow: hidden;
    z-index: 1;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    opacity: 0.9;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
    opacity: 1;
}

.project-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
    padding-right: 120px;
}

.project-role {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

.project-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
    margin-right: 30px;
    position: relative;
    z-index: 2;
}

.project-metrics {
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
}

.metric-label {
    font-size: 13px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contact Section */
.contact {
    background: var(--bg-white);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 48px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    background: var(--bg-light);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.contact-icon {
    font-size: 24px;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--bg-light);
    padding: 40px 0;
    text-align: center;
}

.footer p {
    margin-bottom: 8px;
}

.footer-education {
    color: var(--text-light);
    font-size: 14px;
}

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

    .hero {
        padding: 100px 0 60px;
    }

    .hero-name {
        font-size: 40px;
    }

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

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

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

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stat-number {
        font-size: 36px;
    }

    section {
        padding: 60px 0;
    }

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

    .section-subtitle {
        font-size: 16px;
    }

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

    .experience-item {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .experience-item::before {
        display: none;
    }

    .education-divider {
        margin-top: 40px;
    }

    .education-divider::before {
        margin-right: 16px;
    }

    .education-divider::after {
        margin-left: 16px;
    }

    .education-text {
        font-size: 13px;
    }

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

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

    .contact-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

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

    .hero-name {
        font-size: 32px;
    }

    .hero-title {
        font-size: 20px;
    }

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

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

    .value-card,
    .project-card {
        padding: 24px;
    }

    .project-image {
        width: 120px;
        height: 120px;
    }

    .project-card h3 {
        padding-right: 80px;
    }
}