@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #0ea5e9;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #dc2626;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e2e8f0;
    --shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
    --shadow-hover: 0 20px 40px rgba(37, 99, 235, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

/* Particles Background */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navlist {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

#menu-icon {
    display: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Home Section */
.home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 5% 2rem;
    gap: 4rem;
}

.home-content {
    flex: 1;
    max-width: 600px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-title .line {
    display: block;
}

.hero-title .highlight {
    color: var(--primary-color);
}

.typing-container {
    height: 3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.typing-container h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
}

.cursor {
    color: var(--primary-color);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.8s both;
}

.accent {
    color: var(--primary-color);
    font-weight: 600;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 1s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
}

.btn.primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow);
}

.btn.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.social-links {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 1.2s both;
}

.social-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-btn:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Fixed Floating Elements - Natural Float Animation */
.home-visual {
    flex: 1;
    position: relative;
    height: 600px;
    animation: fadeInRight 1s ease 1s both;
}

.floating-grid {
    position: relative;
    width: 100%;
    height: 100%;
}

.float-card {
    position: absolute;
    width: 140px;
    padding: 1rem;
    background: var(--bg-primary);
    border: 2px solid var(--primary-color);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    animation: float 6s ease-in-out infinite;
}

.float-card:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.float-card i {
    font-size: 2rem;
    color: var(--primary-color);
}

.float-card span {
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-primary);
    line-height: 1.2;
}

/* Floating Positions - Scattered Like Before */
.float-card:nth-child(1) { top: 5%; left: 10%; animation-delay: 0s; }
.float-card:nth-child(2) { top: 8%; right: 15%; animation-delay: 0.5s; }
.float-card:nth-child(3) { top: 25%; left: 5%; animation-delay: 1s; }
.float-card:nth-child(4) { top: 30%; right: 8%; animation-delay: 1.5s; }
.float-card:nth-child(5) { top: 45%; left: 20%; animation-delay: 2s; }
.float-card:nth-child(6) { top: 50%; right: 25%; animation-delay: 2.5s; }
.float-card:nth-child(7) { top: 65%; left: 8%; animation-delay: 3s; }
.float-card:nth-child(8) { top: 70%; right: 12%; animation-delay: 3.5s; }
.float-card:nth-child(9) { bottom: 15%; left: 25%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(1deg); }
    50% { transform: translateY(-8px) rotate(-1deg); }
    75% { transform: translateY(-12px) rotate(0.5deg); }
}

/* Responsive adjustments for floating cards */
@media (max-width: 1024px) {
    .floating-grid {
        height: 400px;
    }
    
    .float-card {
        width: 120px;
        padding: 0.8rem;
    }
}

@media (max-width: 768px) {
    .floating-grid {
        height: 300px;
    }
    
    .float-card {
        width: 100px;
        padding: 0.5rem;
    }
    
    .float-card span {
        font-size: 0.7rem;
    }
    
    .float-card i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .floating-grid {
        display: none;
    }
}


/* About Section */
.about {
    padding: 6rem 5%;
    background: var(--bg-secondary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.about-content {
    display: grid;
    gap: 4rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.skills-section {
    background: var(--bg-primary);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.tab-navigation {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    justify-content: center;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-item span {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.skill-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease;
}

.experience-timeline {
    position: relative;
    padding-left: 2rem;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateX(-5px);
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.timeline-content h5 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.education-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.education-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.education-details h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.education-details h5 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.duration {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.education-details p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Projects Section */
.projects {
    padding: 6rem 5%;
    background: var(--bg-primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Enhanced Project Cards */
.project-card {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(59, 130, 246, 0.08) 100%);
    border: 2px solid rgba(37, 99, 235, 0.2);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.8s ease;
}

.project-card:hover::before {
    left: 100%;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.25);
}

.card-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--success-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-dot.active {
    background: var(--success-color);
    box-shadow: 0 0 10px var(--success-color);
}

.project-visual {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.05), rgba(59, 130, 246, 0.1));
    border-radius: 1rem;
    margin-bottom: 2rem;
    overflow: hidden;
}

.project-icon {
    font-size: 4rem;
    color: var(--primary-color);
    z-index: 2;
    position: relative;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.circuit-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.circuit-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    transform: translateY(-50%);
    animation: circuitFlow 4s linear infinite;
    opacity: 0.6;
}

@keyframes circuitFlow {
    0% { transform: translateY(-50%) scaleX(0); transform-origin: left; }
    50% { transform: translateY(-50%) scaleX(1); transform-origin: left; }
    51% { transform: translateY(-50%) scaleX(1); transform-origin: right; }
    100% { transform: translateY(-50%) scaleX(0); transform-origin: right; }
}

.circuit-dots {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    padding: 0 2rem;
}

.circuit-dots .dot {
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary-color);
    animation: dotPulse 2s ease-in-out infinite;
}

.circuit-dots .dot:nth-child(2) { animation-delay: 0.4s; }
.circuit-dots .dot:nth-child(3) { animation-delay: 0.8s; }

@keyframes dotPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

.project-info h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.project-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tech-tag {
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
}

.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.project-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.contact-panel {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
    align-items: center;
    max-width: 980px;
    margin: 60px auto 0;
    padding: 2.75rem 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.contact-copy p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.availability-note {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1rem;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary-color);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
}

.availability-note i {
    font-size: 1.15rem;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.contact-primary {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-decoration: none;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.4);
}

.contact-primary i {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.contact-primary span {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.contact-primary strong {
    font-size: 1rem;
    font-weight: 700;
}

.contact-primary small {
    font-size: 0.82rem;
    opacity: 0.9;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contact-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.25rem;
    border: 1.5px solid var(--border-color);
    border-radius: 14px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.contact-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.04);
}

.contact-secondary i {
    font-size: 1.2rem;
}

.contact-socials {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 0.35rem;
}

.contact-socials a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.08);
    font-size: 1.35rem;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.contact-socials a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.response-hint {
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 0.15rem;
}

@media (max-width: 768px) {
    .contact {
        padding: 80px 0;
    }

    .contact-panel {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
        margin-top: 40px;
    }

    .contact-copy {
        text-align: center;
    }

    .availability-note {
        justify-content: center;
    }
}

/* Footer */
footer {
    padding: 2rem 5%;
    background: var(--bg-dark);
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.back-to-top {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .home {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .floating-grid {
        max-width: 400px;
        grid-template-columns: repeat(3, 1fr);
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #menu-icon {
        display: block;
    }
    
    .navlist {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .navlist.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .tab-navigation {
        flex-direction: column;
        align-items: center;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .floating-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .floating-grid {
        grid-template-columns: 1fr;
        max-width: 200px;
    }
    
    .float-card {
        padding: 1rem 0.5rem;
    }
    
    .float-card i {
        font-size: 1.5rem;
    }
    
    .float-card span {
        font-size: 0.7rem;
    }
}

/* ===================================
   Research Paper Section 
   =================================== */
.research-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8eeff 100%);
    position: relative;
    overflow: hidden;
}

.research-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.research-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 60px;
}

.paper-info {
    animation: slideInLeft 0.8s ease-out;
}

.paper-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.paper-badge i {
    font-size: 18px;
}

.paper-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
    margin-bottom: 12px;
}

.paper-subtitle {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 25px;
    line-height: 1.6;
}

.paper-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 15px;
}

.meta-item i {
    color: #2563eb;
    font-size: 18px;
}

/* Enhanced Abstract Box */
.paper-abstract-box {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    border-left: 4px solid #2563eb;
}

.paper-abstract-box h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    color: #1e293b;
    margin-bottom: 15px;
    font-weight: 700;
}

.paper-abstract-box h4 i {
    color: #2563eb;
    font-size: 24px;
}

.paper-abstract {
    font-size: 15px;
    line-height: 1.9;
    color: #475569;
    text-align: justify;
}

.paper-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.paper-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.read-btn {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.read-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Key Findings Flow */
.findings-flow {
    animation: slideInRight 0.8s ease-out;
}

.findings-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 30px;
    text-align: center;
}

.finding-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 20px;
    align-items: start;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.finding-card:hover {
    transform: translateX(10px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15);
    border-left-color: #2563eb;
}

.finding-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.finding-content h4 {
    font-size: 18px;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 700;
}

.finding-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #64748b;
}

.finding-content strong {
    color: #2563eb;
    font-weight: 700;
}

.arrow-connector {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px 0;
    color: #2563eb;
}

.arrow-connector i {
    font-size: 40px;
    animation: bounceArrow 2s ease-in-out infinite;
}

@keyframes bounceArrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* Co-authors Styling */
.co-authors {
    margin-bottom: 25px;
}

.co-authors h4 {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 12px;
    font-weight: 600;
}

.authors-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.author-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    color: #2563eb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.author-link:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.author-link i {
    font-size: 18px;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .research-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .findings-flow {
        order: -1;
    }
}

@media (max-width: 768px) {
    .research-section {
        padding: 80px 0;
    }
    
    .research-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .paper-title {
        font-size: 24px;
    }
    
    .paper-subtitle {
        font-size: 16px;
    }
    
    .paper-abstract-box {
        padding: 20px;
    }
    
    .finding-card {
        flex-direction: column;
        padding: 20px;
    }
    
    .finding-number {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .arrow-connector i {
        font-size: 32px;
    }
    
    .paper-actions {
        flex-direction: column;
    }
    
    .paper-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===================================
   Modern Skills Cards (Redesigned)
   =================================== */
.skills-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.skill-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
    border-color: #2563eb;
}

.skill-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.skill-icon i {
    font-size: 30px;
    color: white;
}

.skill-card h4 {
    font-size: 20px;
    color: #1e293b;
    margin-bottom: 15px;
    font-weight: 700;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tags .tag {
    padding: 8px 16px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tags .tag:hover {
    background: #2563eb;
    color: white;
    transform: scale(1.05);
}

/* Hide old skill bar styles */
.skills-grid {
    display: none !important;
}

/* About Section */
.about {
    padding: 120px 5%;
    background: var(--bg-secondary);
}

/* About Intro Paragraphs */
.about-intro {
    max-width: 900px;
    margin: 0 auto 4rem auto;
    text-align: center;
}

.about-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.about-intro p:last-child {
    margin-bottom: 0;
}

/* Tabs Container */
.tabs-container {
    max-width: 1200px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn i {
    font-size: 1.2rem;
}

.tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Skills Grid */
.skills-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.skill-card .skill-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.skill-card .skill-icon i {
    font-size: 30px;
    color: white;
}

.skill-card h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: var(--primary-color);
    color: white;
}

/* Experience Timeline */
.experience-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: 21px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--bg-secondary);
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-hover);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.experience-header h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.experience-header h4 {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.duration {
    padding: 0.25rem 0.75rem;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.location {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.experience-details {
    list-style: none;
    margin: 1.5rem 0;
}

.experience-details li {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.experience-details li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.experience-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.exp-tag {
    padding: 0.4rem 0.8rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Education Timeline */
.education-timeline {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.education-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 2rem;
    transition: all 0.3s ease;
}

.education-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.education-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.education-icon i {
    font-size: 2rem;
    color: white;
}

.education-content {
    flex: 1;
}

.education-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.education-header h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.education-header h4 {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.edu-duration {
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.education-desc {
    color: var(--text-secondary);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .skills-modern-grid {
        grid-template-columns: 1fr;
    }
    
    .authors-list {
        flex-direction: column;
    }
    
    .author-link {
        width: 100%;
        justify-content: center;
    }

    .tab-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .experience-timeline::before {
        left: 15px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-marker {
        left: 6px;
    }

    .experience-header {
        flex-direction: column;
    }

    .education-item {
        flex-direction: column;
        text-align: center;
    }

    .education-icon {
        margin: 0 auto;
    }

    .education-header {
        flex-direction: column;
        text-align: center;
    }
}

/* ===================================
   Experience Section
   =================================== */
.experience-section {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.experience-section::before {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.experience-showcase {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 60px;
}

.role-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
}

.role-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.role-badge i {
    font-size: 18px;
}

.role-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.role-company {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.role-summary {
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    font-size: 0.98rem;
}

.role-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.achievements-panel {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.achievement-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.achievement-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.achievement-icon i {
    color: white;
    font-size: 1.4rem;
}

.achievement-content h4 {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.achievement-meta {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.achievement-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
}

.achievement-points {
    list-style: none;
    margin-top: 0.75rem;
}

.achievement-points li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.45rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

.achievement-points li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.impact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

.impact-stat {
    background: white;
    border-radius: 14px;
    padding: 1.1rem 1.25rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-color);
}

.impact-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

.impact-label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

@media (max-width: 992px) {
    .experience-showcase {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .experience-section {
        padding: 80px 0;
    }

    .role-card {
        padding: 1.75rem;
    }

    .role-title {
        font-size: 1.4rem;
    }

    .role-top {
        flex-direction: column;
        align-items: flex-start;
    }
}

