* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    background: #ffffff;
    color: #0a0a0a;
    min-height: 100vh;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 40px 30px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}


header {
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease-out;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container a {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    color: #4a4a4a;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
    padding: 8px 0;
    position: relative;
}

.nav-links a:hover {
    color: #0a0a0a;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #0a0a0a;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 16px;
    align-items: center;
    padding-left: 24px;
    border-left: 1px solid #e0e0e0;
}

.social-links a {
    color: #4a4a4a;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.social-links a:hover {
    color: #1a1a1a;
    transform: translateY(-2px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

main {
    flex-grow: 1;
}

.hero {
    margin-bottom: 50px;
    animation: fadeIn 1s ease-out;
}

.tagline {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 200;
    line-height: 1.2;
    margin-bottom: 24px;
    padding-bottom: 8px;
    background: linear-gradient(90deg, #1a1a1a 0%, #4a4a4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 20px;
    color: #2a2a2a;
    font-weight: 300;
    max-width: 750px;
    line-height: 1.8;
}

/* Metrics Bar */
.metrics-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 40px;
    margin-bottom: 80px;
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-left: none;
    border-right: none;
    animation: fadeIn 1.2s ease-out;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.metric-value {
    font-size: 28px;
    font-weight: 400;
    color: #0a0a0a;
    letter-spacing: 0.5px;
}

.metric-label {
    font-size: 13px;
    font-weight: 500;
    color: #4a4a4a;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.metric-divider {
    width: 1px;
    height: 35px;
    background: #d0d0d0;
}

/* Section Wrapper */
.section-wrapper {
    margin-bottom: 100px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.section-label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 12px;
    font-family: 'Courier New', monospace;
}

.section-heading {
    font-size: 36px;
    font-weight: 400;
    color: #0a0a0a;
    margin-bottom: 50px;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 20px;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #0a0a0a;
}

.section-intro {
    font-size: 17px;
    color: #2a2a2a;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 800px;
}

.section-intro:last-of-type {
    margin-bottom: 40px;
}

/* Research Grid */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
}

.research-card {
    background: #fafafa;
    padding: 40px;
    border: 1px solid #e0e0e0;
    border-top: 3px solid #0a0a0a;
    transition: all 0.3s ease;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

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

.research-card:hover {
    background: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border-top-color: #1a1a1a;
}

.card-number {
    font-size: 72px;
    font-weight: 200;
    color: #b8b8b8;
    line-height: 1;
    margin-bottom: 24px;
    font-family: 'Courier New', monospace;
    letter-spacing: -2px;
}

.research-card h4 {
    font-size: 22px;
    font-weight: 500;
    color: #0a0a0a;
    margin-bottom: 18px;
    letter-spacing: 0.3px;
}

.research-card p {
    font-size: 16px;
    color: #2a2a2a;
    font-weight: 400;
    line-height: 1.8;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.project-card {
    background: #fafafa;
    padding: 36px;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #0a0a0a;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

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

.project-card:hover {
    background: #ffffff;
    transform: translateX(5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-left-color: #1a1a1a;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
    gap: 16px;
}

.project-card h4 {
    font-size: 20px;
    font-weight: 500;
    color: #0a0a0a;
    letter-spacing: 0.3px;
    flex: 1;
}

.status-badge {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 6px 12px;
    border-radius: 2px;
    white-space: nowrap;
    font-family: 'Courier New', monospace;
}

.status-badge.active {
    background: #0a0a0a;
    color: #ffffff;
}

.status-badge.in-progress {
    background: #e8e8e8;
    color: #4a4a4a;
    border: 1px solid #d0d0d0;
}

.project-card p {
    font-size: 16px;
    color: #2a2a2a;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.2px;
    padding: 6px 12px;
    background: #e8e8e8;
    color: #4a4a4a;
    border: 1px solid #d0d0d0;
    font-family: 'Courier New', monospace;
}

/* Tabs Section */
.tabs-section {
    margin-top: 40px;
}

.tab-navigation {
    display: flex;
    gap: 0;
    margin-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
    justify-content: center;
}

.tab-button {
    background: none;
    border: none;
    padding: 14px 36px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Courier New', monospace;
}

.tab-button:hover {
    color: #0a0a0a;
}

.tab-button.active {
    color: #0a0a0a;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: #0a0a0a;
}

.tab-content {
    animation: fadeIn 0.5s ease-out;
}

/* Lab Cards */
.lab-card {
    background: #fafafa;
    padding: 40px;
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #0a0a0a;
    transition: all 0.3s ease;
}

.lab-card:hover {
    background: #ffffff;
    transform: translateX(5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-left-color: #1a1a1a;
}

.lab-card h4 {
    font-size: 22px;
    font-weight: 500;
    color: #0a0a0a;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.lab-card p {
    font-size: 16px;
    color: #2a2a2a;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 16px;
}

.lab-card .contact-info {
    margin-top: 24px;
    font-size: 16px;
}

.lab-card a {
    color: #0a0a0a;
    text-decoration: none;
    border-bottom: 1px solid #999;
    transition: all 0.3s ease;
    font-weight: 500;
}

.lab-card a:hover {
    border-bottom-color: #0a0a0a;
}

.lab-link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 2px solid #0a0a0a !important;
}

/* Video Container */
.video-container {
    background: #fafafa;
    padding: 40px;
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #0a0a0a;
    transition: all 0.3s ease;
}

.video-container:hover {
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-left-color: #1a1a1a;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin-bottom: 28px;
    background: #e8e8e8;
    border: 1px solid #d0d0d0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info h4 {
    font-size: 20px;
    font-weight: 500;
    color: #0a0a0a;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.video-presenter {
    font-size: 14px;
    color: #666;
    font-weight: 400;
    margin-bottom: 14px;
    font-style: italic;
}

.video-description {
    font-size: 16px;
    color: #2a2a2a;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 24px;
}

.video-link {
    display: inline-block;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #0a0a0a;
    text-decoration: none;
    border-bottom: 2px solid #0a0a0a;
    transition: all 0.3s ease;
}

.video-link:hover {
    transform: translateX(5px);
}

/* Contact Section */
.contact {
    margin-bottom: 50px;
    margin-top: 60px;
    padding: 50px 40px;
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-left: none;
    border-right: none;
    animation: fadeIn 1.5s ease-out;
}

.contact p {
    font-size: 17px;
    color: #2a2a2a;
    font-weight: 400;
    text-align: center;
    line-height: 1.8;
}

.contact a {
    color: #0a0a0a;
    text-decoration: none;
    border-bottom: 1px solid #999;
    transition: all 0.3s ease;
    font-weight: 500;
}

.contact a:hover {
    border-bottom-color: #0a0a0a;
}

/* Footer */
footer {
    margin-top: auto;
    padding-top: 40px;
    animation: fadeIn 1.6s ease-out;
}

.copyright {
    font-size: 13px;
    color: #999;
    letter-spacing: 1px;
    font-weight: 400;
    text-align: center;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: #2a2a2a;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 40px 24px 20px;
    }

    .container::before {
        left: 12px;
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .social-links {
        gap: 16px;
    }

    .hero {
        margin-bottom: 40px;
    }

    .tagline {
        font-size: 32px;
    }

    .subtitle {
        font-size: 18px;
    }

    .metrics-bar {
        flex-direction: column;
        gap: 25px;
        padding: 30px;
    }

    .metric-divider {
        width: 50px;
        height: 1px;
    }

    .section-wrapper {
        margin-bottom: 60px;
    }

    .section-heading {
        font-size: 28px;
        margin-bottom: 35px;
    }

    .section-intro {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .research-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .research-card,
    .project-card,
    .lab-card,
    .video-container {
        padding: 28px;
    }

    .research-card h4,
    .project-card h4,
    .lab-card h4,
    .video-info h4 {
        font-size: 19px;
    }

    .research-card p,
    .project-card p,
    .lab-card p,
    .video-description {
        font-size: 15px;
    }

    .tab-navigation {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab-button {
        padding: 10px 20px;
        font-size: 12px;
    }

    .contact {
        padding: 30px 20px;
        margin-top: 40px;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .logo-image {
        height: 50px;
    }
}

/* Blog Styles */
.nav-link {
    color: #4a4a4a;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
    padding: 0 12px;
}

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

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

.blog-card {
    background: #fafafa;
    padding: 40px;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #0a0a0a;
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

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

.blog-card:hover {
    background: #ffffff;
    transform: translateX(5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-left-color: #1a1a1a;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Courier New', monospace;
}

.blog-date {
    color: #666;
}

.blog-category {
    background: #0a0a0a;
    color: #ffffff;
    padding: 6px 12px;
}

.blog-title {
    font-size: 24px;
    font-weight: 500;
    color: #0a0a0a;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 16px;
    color: #2a2a2a;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 24px;
}

.blog-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.author-name {
    font-size: 15px;
    font-weight: 500;
    color: #0a0a0a;
}

.author-title {
    font-size: 13px;
    color: #666;
    font-style: italic;
}

.blog-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.blog-link {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #0a0a0a;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
}

/* Blog Post Styles */
.blog-post-header {
    margin-bottom: 50px;
}

.blog-post-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #0a0a0a;
    letter-spacing: -0.5px;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.post-author-name {
    font-size: 16px;
    font-weight: 500;
    color: #0a0a0a;
}

.post-author-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.post-author-links a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.post-author-links a:hover {
    color: #0a0a0a;
}

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

.blog-post-content h2 {
    font-size: 32px;
    font-weight: 400;
    color: #0a0a0a;
    margin-top: 60px;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e0e0e0;
}

.blog-post-content h3 {
    font-size: 24px;
    font-weight: 500;
    color: #0a0a0a;
    margin-top: 40px;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.blog-post-content h4 {
    font-size: 20px;
    font-weight: 500;
    color: #0a0a0a;
    margin-top: 32px;
    margin-bottom: 12px;
}

.blog-post-content p {
    font-size: 17px;
    color: #2a2a2a;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 20px;
}

.blog-post-content ul,
.blog-post-content ol {
    font-size: 17px;
    color: #2a2a2a;
    line-height: 1.8;
    margin-bottom: 20px;
    padding-left: 30px;
}

.blog-post-content li {
    margin-bottom: 12px;
}

.blog-post-content strong {
    font-weight: 600;
    color: #0a0a0a;
}

.blog-post-content code {
    background: #f5f5f5;
    padding: 3px 8px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 15px;
    color: #0a0a0a;
    border: 1px solid #e0e0e0;
}

.blog-post-content a {
    color: #0a0a0a;
    text-decoration: none;
    border-bottom: 1px solid #999;
    transition: all 0.3s ease;
    font-weight: 500;
}

.blog-post-content a:hover {
    border-bottom-color: #0a0a0a;
}

.blog-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 16px;
    background: #fafafa;
    border: 1px solid #e0e0e0;
}

.blog-post-content th {
    background: #0a0a0a;
    color: #ffffff;
    padding: 14px;
    text-align: left;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'Courier New', monospace;
}

.blog-post-content td {
    padding: 14px;
    border-bottom: 1px solid #e0e0e0;
    color: #2a2a2a;
    line-height: 1.7;
}

.blog-post-content tr:last-child td {
    border-bottom: none;
}

.blog-post-content tr:hover {
    background: #ffffff;
}

.blog-highlight-box {
    background: #fafafa;
    border-left: 4px solid #0a0a0a;
    padding: 30px;
    margin: 30px 0;
    border: 1px solid #e0e0e0;
}

.blog-highlight-box p {
    margin-bottom: 0;
}

.blog-resources {
    background: #fafafa;
    padding: 40px;
    margin: 50px 0;
    border: 1px solid #e0e0e0;
    border-top: 3px solid #0a0a0a;
}

.blog-resources h3 {
    font-size: 20px;
    font-weight: 500;
    color: #0a0a0a;
    margin-bottom: 20px;
    margin-top: 0;
}

.resource-item {
    margin-bottom: 24px;
}

.resource-item h4 {
    font-size: 16px;
    font-weight: 500;
    color: #0a0a0a;
    margin-bottom: 8px;
    margin-top: 0;
}

.resource-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    text-decoration: none;
    color: #0a0a0a;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
}

.resource-link:hover {
    background: #0a0a0a;
    color: #ffffff;
    border-color: #0a0a0a;
    transform: translateY(-2px);
}

.blog-image-container {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    padding: 20px;
    margin: 30px 0;
}

.blog-image {
    width: 100%;
    height: auto;
    border: 1px solid #e0e0e0;
    display: block;
}

.blog-image-caption {
    text-align: center;
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
}

/* Slide Viewer */
.slide-viewer {
    background: #fafafa;
    padding: 40px;
    margin: 50px 0;
    border: 1px solid #e0e0e0;
    border-top: 3px solid #0a0a0a;
}

.slide-viewer h3 {
    font-size: 20px;
    font-weight: 500;
    color: #0a0a0a;
    margin-bottom: 24px;
    margin-top: 0;
}

.pdf-viewer-container {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 0;
    overflow: hidden;
}

.pdf-viewer-container iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.slides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.slide-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.slide-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #0a0a0a;
}

.slide-item img {
    width: 100%;
    height: auto;
    display: block;
}

.slide-caption {
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #0a0a0a;
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    letter-spacing: 0.5px;
}

/* Blog Section on Home */
.blog-preview {
    background: #fafafa;
    padding: 40px;
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #0a0a0a;
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-preview:hover {
    background: #ffffff;
    transform: translateX(5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-left-color: #1a1a1a;
}

.blog-preview h4 {
    font-size: 22px;
    font-weight: 500;
    color: #0a0a0a;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.blog-preview-item {
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.blog-preview-item:last-child {
    border-bottom: none;
}

.blog-preview-item h5 {
    font-size: 18px;
    font-weight: 500;
    color: #0a0a0a;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.blog-preview-item p {
    font-size: 15px;
    color: #2a2a2a;
    line-height: 1.7;
    margin-bottom: 12px;
}

.blog-preview-meta {
    font-size: 12px;
    color: #666;
    font-style: italic;
}

@media (max-width: 768px) {
    .header-nav {
        width: 100%;
        flex-direction: column;
        gap: 16px;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        gap: 20px;
    }

    .social-links {
        padding-left: 0;
        border-left: none;
        padding-top: 16px;
        border-top: 1px solid #e0e0e0;
    }

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

    .blog-card {
        padding: 28px;
    }

    .blog-title {
        font-size: 20px;
    }

    .blog-post-title {
        font-size: 28px;
    }

    .blog-post-content h2 {
        font-size: 24px;
        margin-top: 40px;
    }

    .blog-post-content h3 {
        font-size: 20px;
    }

    .blog-post-content p,
    .blog-post-content ul,
    .blog-post-content ol {
        font-size: 16px;
    }

    .blog-resources {
        padding: 28px;
    }

    .resource-links {
        flex-direction: column;
    }

    .resource-link {
        width: 100%;
        justify-content: center;
    }

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

    .slide-viewer {
        padding: 28px;
    }

    .pdf-viewer-container iframe {
        height: 400px;
    }

    .blog-image-container {
        padding: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
