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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #f8fafc;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

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

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

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #0ea5e9;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #1a365d;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('portfolio_hero_bg.png') center/cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 1000px;
    padding: 0 1.5rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title-accent {
    display: block;
    color: #00d4ff;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    margin-bottom: 2rem;
    color: #cbd5e1;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    font-size: 1.125rem;
    color: #e2e8f0;
}

.hero-connections {
    color: #00d4ff;
}

.hero-cta {
    background: #00d4ff;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hero-cta:hover {
    background: #0ea5e9;
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: #f1f5f9;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 1.5rem;
}

.section-divider {
    width: 6rem;
    height: 4px;
    background: #00d4ff;
    margin: 0 auto 2rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-focus {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 1rem;
}

.about-focus h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 1.5rem;
}

.focus-list {
    list-style: none;
}

.focus-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    color: #64748b;
}

.focus-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #00d4ff;
    border-radius: 50%;
    margin-right: 0.75rem;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

/* Experience Section */
.experience-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.experience-item {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.experience-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.experience-company h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.experience-company p {
    color: #64748b;
}

.experience-icon {
    font-size: 2rem;
    color: #00d4ff;
}

.experience-roles {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.role {
    border-left: 4px solid #00d4ff;
    padding-left: 1.5rem;
}

.role h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.role-duration {
    color: #64748b;
    margin-bottom: 0.75rem;
}

.role-description {
    color: #64748b;
    margin-bottom: 0.75rem;
}

.role-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: #e0f7ff;
    color: #0c4a6e;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Education Section */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.education-item {
    background: #f8fafc;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: box-shadow 0.3s ease;
}

.education-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.education-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.education-icon {
    font-size: 2rem;
    color: #00d4ff;
    margin-right: 0.75rem;
}

.education-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a365d;
}

.education-degree {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.education-field {
    color: #64748b;
    margin-bottom: 1rem;
}

.education-grade {
    color: #0ea5e9;
    font-weight: 600;
    margin-bottom: 1rem;
}

.achievements {
    margin-bottom: 1rem;
}

.achievements h4 {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.achievements ul {
    list-style: none;
}

.achievements li {
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    color: #64748b;
}

.achievements li i {
    color: #00d4ff;
    margin-right: 0.5rem;
    font-size: 0.75rem;
}

.education-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag-small {
    background: white;
    color: #64748b;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    border: 1px solid #e2e8f0;
}

/* Certifications */
.certifications {
    margin-top: 4rem;
}

.certifications-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a365d;
    text-align: center;
    margin-bottom: 2rem;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.cert-item {
    background: #f8fafc;
    border-radius: 0.5rem;
    padding: 1rem;
    border-left: 4px solid #00d4ff;
}

.cert-item h4 {
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.cert-item p {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.cert-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

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

.skill-category {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.skill-category:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.skill-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.skill-icon {
    background: #e0f7ff;
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-right: 1rem;
}

.skill-icon i {
    font-size: 1.5rem;
    color: #0c4a6e;
}

.skill-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a365d;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag-interactive {
    background: #f1f5f9;
    color: #374151;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: default;
}

.skill-tag-interactive:hover {
    background: #e0f7ff;
    color: #0c4a6e;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

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

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #00d4ff;
    margin-right: 1rem;
    width: 24px;
}

.contact-item a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: #0ea5e9;
}

.connect-topics h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 1rem;
}

.connect-topics ul {
    list-style: none;
}

.connect-topics li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    color: #64748b;
}

.connect-topics li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #00d4ff;
    border-radius: 50%;
    margin-right: 0.75rem;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.professional-impact {
    background: #f8fafc;
    border-radius: 1rem;
    padding: 2rem;
}

.professional-impact h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 1.5rem;
}

.impact-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #0ea5e9;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #64748b;
    font-size: 0.875rem;
}

.quote {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.quote p {
    color: #64748b;
    font-style: italic;
    text-align: center;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0;
}

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

.footer-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-content p {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.footer-social {
    margin-bottom: 2rem;
}

.footer-social a {
    color: #cbd5e1;
    font-size: 1.5rem;
    transition: color 0.2s ease;
}

.footer-social a:hover {
    color: #00d4ff;
}

.footer-copyright {
    color: #94a3b8;
    font-size: 0.875rem;
    padding-top: 2rem;
    border-top: 1px solid #334155;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-info {
        align-items: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .impact-stats {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .experience-item,
    .education-item,
    .skill-category {
        padding: 1.5rem;
    }
    
    .professional-impact {
        padding: 1.5rem;
    }
    
    .impact-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Smooth animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

