/* Modern, Professional Styling */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --background: #ffffff;
    --background-secondary: #f8fafc;
    --border-light: #e5e7eb;
    --success-color: #10b981;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
    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: var(--text-primary);
    background-color: var(--background);
    font-size: 16px;
}

/* Typography */
h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h4 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    padding: 1rem 0;
    transition: transform 0.3s ease;
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.navbar ul li a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar ul li a:hover,
.navbar ul li a.active {
    color: var(--primary-color);
    background-color: var(--background-secondary);
}

/* Burger Menu */
#burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.line {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

/* Sections */
.section {
    padding: 5rem 0;
    position: relative;
}

.section:nth-child(even) {
    background-color: var(--background-secondary);
}

/* Home Section */
.home-section {
    padding: 8rem 0 6rem;
    text-align: center;
    background: linear-gradient(135deg, var(--background) 0%, var(--background-secondary) 100%);
}

.profile-photo-large {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    border: 4px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
    display: block;
}

.name {
    color: var(--primary-color);
    font-weight: 700;
}

.home-section p {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    text-align: left;
}

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

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Experience Section */
.experience-section {
    background-color: var(--background);
}

.experience-item {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.experience-item:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

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

.experience-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.company-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 0.75rem;
    border: 1px solid var(--border-light);
    padding: 0.75rem;
    background: white;
    box-shadow: var(--shadow-sm);
}

.experience-details h3 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.experience-details h4 {
    color: var(--text-secondary);
    font-weight: 500;
}

.experience-right p {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
}

.experience-item > p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.experience-item ul {
    list-style: none;
    padding: 0;
}

.experience-item ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.experience-item ul li::before {
    content: '•';
    color: var(--primary-color);
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
}

/* Education Section */
.education-section {
    background-color: var(--background-secondary);
}

.education-item {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.education-item:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

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

.education-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.education-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 1rem;
    font-size: 1.5rem;
}

.university-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 0.75rem;
    border: 1px solid var(--border-light);
    padding: 0.75rem;
    background: white;
    box-shadow: var(--shadow-sm);
}

.education-details h3 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.education-details h4 {
    color: var(--text-secondary);
    font-weight: 500;
}

.education-right p {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
}

.education-item > p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.education-item ul {
    list-style: none;
    padding: 0;
}

.education-item ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.education-item ul li::before {
    content: '•';
    color: var(--primary-color);
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
}

/* Featured Project Section */
.featured-project-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 5rem 0;
}

.featured-project-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.featured-project-left {
    max-width: 600px;
}

.project-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.project-badge i {
    color: #fbbf24;
}

.featured-project-left h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 500;
}

.project-description {
    margin-bottom: 2.5rem;
}

.project-description p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.project-features {
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 0.75rem;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feature-item h4 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.project-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: white;
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.project-tech-stack {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tech-label {
    font-weight: 600;
    color: var(--text-primary);
}

.tech-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-tag {
    background: white;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.featured-project-right {
    display: flex;
    justify-content: center;
}

.project-showcase {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    max-width: 500px;
    width: 100%;
    border: 1px solid var(--border-light);
}

.showcase-header {
    background: #f8fafc;
    padding: 1rem;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.browser-dots {
    display: flex;
    gap: 0.5rem;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #ef4444; }
.browser-dots span:nth-child(2) { background: #f59e0b; }
.browser-dots span:nth-child(3) { background: #10b981; }

.url {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

.showcase-content {
    padding: 2rem;
}

.demo-interface h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.claim-result {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-light);
}

.claim-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.result-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-weight: bold;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.result-badge.false {
    background: #fecaca;
    color: #dc2626;
}

.confidence {
    font-weight: 600;
    color: var(--primary-color);
}

.explanation {
    background: #f0f9ff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
    line-height: 1.6;
}

.sources {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-light);
}

.sources ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.5rem;
}

.sources li {
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

/* Skills Section */
.skills-section {
    text-align: center;
}

.skills-section ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 0;
}

.skills-section ul li {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.skills-section ul li:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.project-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.project-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    background: var(--background-secondary);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.project-links {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* Blog Section */
.blog-section {
    background-color: var(--background-secondary);
}

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

.blog-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.blog-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--secondary-color);
}

/* Contact Section */
.contact-section {
    background: var(--background);
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-light);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.submit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
    background-color: var(--text-primary);
    color: white;
    text-align: center;
    padding: 3rem 0 2rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    padding: 0.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
    color: var(--primary-color);
    background: white;
    transform: translateY(-2px);
}

.footer p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    #burger {
        display: flex;
    }
    
    .h-nav-resp {
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .navbar ul {
        flex-direction: column;
        background: white;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border-light);
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .home-section {
        padding: 6rem 0 4rem;
    }
    
    .experience-header,
    .education-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .experience-left,
    .education-left {
        align-items: flex-start;
    }
    
    .company-logo {
        width: 65px;
        height: 65px;
    }
    
    .education-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .university-logo {
        width: 65px;
        height: 65px;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: center;
    }
    
    .projects-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-section ul {
        justify-content: flex-start;
    }
    
    .featured-project-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .featured-project-left h2 {
        font-size: 2.5rem;
    }
    
    .project-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .project-actions .primary-btn,
    .project-actions .secondary-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .project-tech-stack {
        justify-content: center;
    }
    
    .project-showcase {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .profile-photo-large {
        width: 140px;
        height: 140px;
    }
    
    .experience-item,
    .education-item,
    .contact-form {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .featured-project-left h2 {
        font-size: 2rem;
    }
    
    .featured-project-section {
        padding: 3rem 0;
    }
    
    .project-features .feature-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .showcase-content {
        padding: 1.5rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}
