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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4.375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    color: #fbbf24;
}

.hero-subtitle {
    font-size: 1.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.375rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    font-size: 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: #fbbf24;
    color: #1f2937;
}

.btn-primary:hover {
    background-color: #f59e0b;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #1f2937;
    transform: translateY(-2px);
}

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

.profile-placeholder {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
}

.profile-headshot {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid rgba(255,255,255,0.7);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    display: block;
    margin: 0 auto;
    background: #f3f4f6;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1f2937;
}

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

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

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #4b5563;
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #6b7280;
    font-weight: 500;
}

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

.skill-category {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.skill-category h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.skill-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: #e0e7ff;
    transform: translateY(-2px);
}

.skill-item i {
    font-size: 1.2rem;
    color: #2563eb;
}

.skill-item span {
    font-weight: 500;
    color: #374151;
}

/* Projects Section */
.projects {
    background-color: #f8fafc;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    align-items: stretch;
    justify-items: center;
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    max-width: 400px;
}

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

.project-img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    display: block;
    margin-bottom: -1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.project-placeholder {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.project-content p {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.project-tech span {
    background: #e0e7ff;
    color: #2563eb;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #1d4ed8;
}

/* Experience Section */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    width: calc(50% - 2rem);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.timeline-content h4 {
    font-size: 1rem;
    font-weight: 500;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.timeline-date {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: #4b5563;
    line-height: 1.6;
}

.timeline-horizontal {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100vw;
    max-width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    padding: 2rem 0 1rem 0;
    scrollbar-width: thin;
    scrollbar-color: #2563eb #f3f4f6;
}

.exp-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(37,99,235,0.07);
    min-width: 400px;
    max-width: 440px;
    flex: 0 0 400px;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-top: 5px solid #2563eb;
    transition: box-shadow 0.2s;
}

.exp-card:hover {
    box-shadow: 0 8px 32px rgba(37,99,235,0.13);
}

.exp-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: #1f2937;
}

.exp-card h4 {
    font-size: 1rem;
    font-weight: 500;
    color: #2563eb;
    margin-bottom: 0.2rem;
}

.exp-card .timeline-date {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 0.7rem;
}

.exp-card p {
    color: #374151;
    font-size: 0.98rem;
    margin-bottom: 0.2rem;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .timeline-horizontal {
        width: 100vw;
        max-width: 100vw;
        gap: 1rem;
    }
    .exp-card {
        min-width: 90vw;
        max-width: 95vw;
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }
}

/* Contact Section */
.contact {
    background-color: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.contact-info p {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #1d4ed8;
}

.contact-link i {
    font-size: 1.2rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 3.125rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .profile-placeholder {
        width: 200px;
        height: 200px;
        font-size: 3rem;
    }

    .profile-headshot {
        width: 250px;
        height: 250px;
    }

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

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

    .skill-items {
        grid-template-columns: 1fr;
    }

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

    .timeline::before {
        left: 1rem;
    }

    .timeline-content {
        width: calc(100% - 3rem);
        margin-left: 3rem !important;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .btn {
        font-size: 1rem;
        padding: 12px 24px;
    }
}

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

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

.education-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.education-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    padding: 2rem 2.5rem;
    max-width: 400px;
    min-width: 280px;
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: box-shadow 0.3s;
}

.education-card:hover {
    box-shadow: 0 8px 32px rgba(37,99,235,0.12);
}

.edu-degree {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2563eb;
    margin: 0.5rem 0 0.25rem 0;
}

.edu-date {
    font-size: 0.98rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.edu-desc {
    font-size: 0.98rem;
    color: #374151;
    margin-top: 0.5rem;
}

.edu-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.edu-logo {
    width: 90%;
    height: 180px;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 1rem;
    display: block;
}

@media (max-width: 900px) {
    .education-cards {
        flex-direction: column;
        align-items: center;
    }
    .education-card {
        max-width: 100%;
        width: 100%;
    }
}

.honors-list {
    list-style: disc inside;
    padding-left: 0;
    margin: 2rem 0 0 0;
}

.honors-list li {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #1f2937;
}

.honors-list strong {
    font-size: 1.08rem;
    color: #2563eb;
}

.honor-desc {
    color: #374151;
    font-size: 0.98rem;
    margin-top: 0.2rem;
}

.honors-highlight-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 2rem;
}

.honor-highlight {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(37,99,235,0.06);
}

.honor-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    min-width: 3rem;
    text-align: center;
    line-height: 1;
}

.honor-content {
    flex: 1;
}

.honor-highlight:hover {
    box-shadow: 0 6px 24px rgba(37,99,235,0.10);
}

.honor-title {
    font-size: 1.08rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.2rem;
}

.honor-meta {
    color: #2563eb;
    font-weight: 400;
    font-size: 0.98rem;
}

.timeline-vertical {
    position: relative;
    margin: 2.5rem 0 0 0;
    padding-left: 30px;
}

.timeline-vertical:before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #e0e7ff;
    border-radius: 2px;
}

.exp-timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

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

.exp-timeline-item:before {
    content: '';
    position: absolute;
    left: -18px;
    top: 18px;
    width: 16px;
    height: 16px;
    background: #2563eb;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(37,99,235,0.10);
}

.exp-timeline-content {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(37,99,235,0.06);
    padding: 1.1rem 1.3rem 1.1rem 1.3rem;
    margin-left: 0;
    min-width: 0;
    max-width: 600px;
    font-size: 0.98rem;
}

.exp-timeline-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: #1f2937;
}

.exp-timeline-content h4 {
    font-size: 0.95rem;
    font-weight: 500;
    color: #2563eb;
    margin-bottom: 0.2rem;
}

.exp-timeline-content .timeline-date {
    font-size: 0.92rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.exp-timeline-content p {
    color: #374151;
    font-size: 0.97rem;
    margin-bottom: 0.2rem;
    line-height: 1.5;
}

@media (max-width: 700px) {
    .exp-timeline-content {
        padding: 0.8rem 0.7rem 0.8rem 0.7rem;
        max-width: 98vw;
    }
    .timeline-vertical {
        padding-left: 18px;
    }
    .exp-timeline-item:before {
        left: -12px;
        width: 12px;
        height: 12px;
    }
}

.exp-timeline-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
}

.exp-timeline-date {
    font-size: 0.92rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
    min-width: 120px;
    white-space: nowrap;
    font-weight: 600;
}

@media (max-width: 700px) {
    .exp-timeline-row {
        flex-direction: column;
        gap: 0.3rem;
    }
    .exp-timeline-date {
        text-align: left;
        padding-bottom: 0.2rem;
    }
} 