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

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

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

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo:hover {
    color: #0056b3;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-links a:hover,
.nav-links a.active {
    color: #007bff;
    background: rgba(0, 123, 255, 0.1);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.hero .subtitle {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.social-links a {
    color: #fff;
    font-size: 1.8rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    color: #007bff;
    transform: translateY(-3px);
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background: white;
}

.about h2 {
    text-align: center;
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.about-text {
    margin-bottom: 4rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

/* Projects Section */
.projects {
    background-color: #f4f4f4;
    padding: 100px 0;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.project-card h3 {
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.contact h2 {
    color: #007bff;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

#contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #007bff;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

#contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

#contact-form button {
    background: #007bff;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 100%;
}

#contact-form button:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

#contact-form button:active {
    transform: translateY(0);
}

/* Responsive Design for Contact Form */
@media (max-width: 768px) {
    .contact {
        padding: 2rem 1rem;
    }

    #contact-form {
        padding: 1.5rem;
    }

    .contact h2 {
        font-size: 2rem;
    }
}

/* Quick Links */
.quick-links {
    margin-top: 4rem;
}

.quick-links h3 {
    text-align: center;
    color: #333;
    font-size: 2rem;
    margin-bottom: 2rem;
}

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

.link-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.link-card i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.link-card h4 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.link-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

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

    .about,
    .contact {
        padding: 4rem 1rem;
    }

    .contact-form {
        padding: 2rem;
    }

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

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

.fade-in {
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }

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

    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 0.8rem;
    }
}

/* Additional Styles for New Pages */

/* Education Page */
.education-section, .industry-section, .research-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.education-section h1, .industry-section h1, .research-section h1 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.experience-summary, .research-summary {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.education-card, .experience-card, .research-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #007bff;
}

.education-card h2, .experience-card h2, .research-card h2 {
    color: #007bff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.education-card h3, .experience-card h3, .research-card h3 {
    color: #555;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.education-card h4, .experience-card h4 {
    color: #007bff;
    font-size: 1.1rem;
    margin: 1.5rem 0 0.5rem;
}

.duration {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.education-details, .experience-details, .research-details {
    color: #444;
    line-height: 1.6;
}

.education-details p, .experience-details p, .research-details p {
    margin-bottom: 1rem;
}

.education-details ul, .experience-details ul, .research-details ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.education-details li, .experience-details li, .research-details li {
    color: #555;
    margin-bottom: 0.5rem;
    position: relative;
}

.education-details li:before, .experience-details li:before, .research-details li:before {
    content: "•";
    color: #007bff;
    position: absolute;
    left: -1.5rem;
}

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

.skill-category {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.skill-category h3 {
    color: #007bff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.skill-category ul {
    list-style: none;
    padding-left: 0;
}

.skill-category li {
    color: #555;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.skill-category li:before {
    content: "•";
    color: #007bff;
    position: absolute;
    left: 0;
}

.previous-education {
    margin-top: 1rem;
}

@media (max-width: 992px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .education-section, .industry-section, .research-section {
        padding: 1rem;
    }

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

    .education-card, .experience-card, .research-card {
        padding: 1.5rem;
    }
}

/* Publication Styles */
.publication-filters {
    margin: 30px 0;
    text-align: center;
}

.filter-btn {
    background: none;
    border: 2px solid #007bff;
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: #007bff;
    color: white;
}

.publication-entry {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.publication-entry:last-child {
    border-bottom: none;
}

.publication-links {
    margin-top: 15px;
}

.publication-links .btn {
    margin-right: 10px;
    font-size: 0.9rem;
}

/* Citation Metrics */
.citation-metrics {
    margin: 2rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

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

.metric-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.metric-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.metric-values {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.metric-total, .metric-recent {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-values .number {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.metric-values .label {
    font-size: 0.9rem;
    color: #666;
}

/* Responsive Design for New Pages */
@media screen and (max-width: 768px) {
    .skills-grid,
    .interests-grid,
    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .publication-filters {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .filter-btn {
        margin: 5px;
    }
}

/* Quick Links Section */
.quick-links {
    margin: 30px 0;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.link-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.link-card i {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 10px;
}

.link-card h4 {
    margin: 10px 0;
    color: #333;
}

.link-card p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Responsive Design for Quick Links */
@media screen and (max-width: 768px) {
    .links-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 0.75rem 1rem;
        display: block;
        width: 100%;
    }
}

/* Adjust main content for fixed navbar */
main {
    padding-top: 80px;
}

/* Research Highlights and Interests */
.research-highlights, .research-interests {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.research-section > div {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.research-card, .highlight-card, .interest-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.research-card:last-child, .highlight-card:last-child, .interest-card:last-child {
    margin-bottom: 0;
}

.research-grid, .interests-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.research-card h3, .highlight-card h3, .interest-card h3 {
    color: #007bff;
    margin-bottom: 1rem;
}

.research-card ul, .interest-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.research-card li, .interest-card li {
    margin-bottom: 0.5rem;
    color: #555;
}

.research-impact ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.research-impact li {
    margin-bottom: 1rem;
    color: #555;
    padding-left: 1.5rem;
    position: relative;
}

.research-impact li:before {
    content: "•";
    color: #007bff;
    position: absolute;
    left: 0;
}

.collapsible-header {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    margin: 0;
    user-select: none;
    width: 100%;
    background: none;
    border: none;
}

.collapsible-header h2 {
    margin: 0;
    color: #007bff;
    pointer-events: none;
}

.collapsible-header:after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    color: #007bff;
    pointer-events: none;
}

.collapsible-header.active:after {
    transform: rotate(180deg);
}

.collapsible-content {
    overflow: hidden;
    padding-top: 1.5rem;
}

@media (max-width: 768px) {
    .research-grid, .interests-grid {
        grid-template-columns: 1fr;
    }
}

/* Research Page Styles */
.research-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.research-section h1 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.research-summary {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Timeline Section - Chronological Experience */
.research-timeline {
    margin-bottom: 3rem;
}

.research-timeline .research-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #007bff;
}

.research-timeline h2 {
    color: #007bff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.research-timeline h3 {
    color: #555;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.research-timeline .duration {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.research-timeline .research-details p {
    color: #444;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.research-timeline ul {
    list-style: none;
    padding-left: 1.5rem;
}

.research-timeline li {
    margin-bottom: 0.5rem;
    color: #555;
    position: relative;
}

.research-timeline li:before {
    content: "•";
    color: #007bff;
    position: absolute;
    left: -1.5rem;
}

/* Collapsible Sections */
.research-areas, .research-highlights, .research-impact, .research-interests {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    padding: 0;
    overflow: hidden;
}

.collapsible-header {
    width: 100%;
    padding: 1.5rem 2rem;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.3s ease;
}

.collapsible-header:hover {
    background-color: #f8f9fa;
}

.collapsible-header h2 {
    margin: 0;
    color: #007bff;
    font-size: 1.5rem;
}

.collapsible-header:after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #007bff;
    transition: transform 0.3s ease;
}

.collapsible-header.active:after {
    transform: rotate(180deg);
}

.collapsible-content {
    padding: 0 2rem 2rem;
}

/* Grid Layouts */
.research-grid, .interests-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Cards within Grids */
.research-card, .highlight-card, .interest-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
}

.research-card h3, .highlight-card h3, .interest-card h3 {
    color: #007bff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Research Impact Specific */
.research-impact ul {
    list-style: none;
    padding: 0;
}

.research-impact li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.research-impact li:before {
    content: "•";
    color: #007bff;
    position: absolute;
    left: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .research-grid, .interests-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .research-grid, .interests-grid {
        grid-template-columns: 1fr;
    }
    
    .research-section {
        padding: 1rem;
    }
    
    .collapsible-header {
        padding: 1rem 1.5rem;
    }
    
    .collapsible-content {
        padding: 0 1.5rem 1.5rem;
    }
}

/* Home Page Styles */
.home-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.home-section h1 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.home-section .subtitle {
    color: #007bff;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.social-links a {
    color: #007bff;
    font-size: 1.8rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    color: #0056b3;
    transform: translateY(-3px);
}

.content-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid #007bff;
}

.content-card h2 {
    color: #007bff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.card-content {
    color: #444;
    line-height: 1.6;
}

.card-content p {
    margin-bottom: 1.5rem;
}

.quick-links-section {
    margin-top: 3rem;
}

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

.link-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.link-card i {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.link-card h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.link-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .home-section {
        padding: 1rem;
    }

    .home-section h1 {
        font-size: 2rem;
    }

    .home-section .subtitle {
        font-size: 1.2rem;
    }

    .content-card {
        padding: 1.5rem;
    }

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

/* Publications Page Styles */
.publications-section {
    padding: 2rem 0;
}

.publications-section h1 {
    color: #007bff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.publications-summary {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.publications-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
}

.filter-btn {
    background: #f8f9fa;
    border: 2px solid #007bff;
    color: #007bff;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(0, 123, 255, 0.1);
}

.filter-btn.active {
    background: #007bff;
    color: white;
}

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

.publication-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #007bff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.publication-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.publication-card h3 {
    color: #007bff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.publication-card .authors {
    color: #444;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.publication-card .venue {
    color: #666;
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.publication-card .year {
    color: #007bff;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.publication-card .publication-abstract,
.publication-card .publication-impact {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.publication-card .publication-abstract p,
.publication-card .publication-impact p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .publications-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-btn {
        width: 100%;
        text-align: center;
    }

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

    .publication-card {
        padding: 1.5rem;
    }
}

/* Scholar Stats Styles */
.stats-container {
    margin: 2rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 1rem;
}

.last-updated {
    text-align: right;
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Research Page Specific Styles */
.research-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.research-section h1 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.research-summary {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Research Areas and Grid Layouts */
.research-grid, .interests-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Cards within Grids */
.research-card, .highlight-card, .interest-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.research-card h3, .highlight-card h3, .interest-card h3 {
    color: #007bff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Section Styles */
.research-areas, .research-highlights, .research-impact, .research-interests {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    padding: 2rem;
}

.research-areas h2, .research-highlights h2, .research-impact h2, .research-interests h2 {
    color: #007bff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Research Impact Specific */
.research-impact .impact-content ul {
    list-style: none;
    padding: 0;
}

.research-impact .impact-content li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.research-impact .impact-content li:before {
    content: "•";
    color: #007bff;
    position: absolute;
    left: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .research-grid, .interests-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .research-grid, .interests-grid {
        grid-template-columns: 1fr;
    }
    
    .research-section {
        padding: 1rem;
    }
}
