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

:root {
    --primary-color: #6366f1;
    --secondary-color: #ec4899;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --success: #10b981;
    --accent: #f59e0b;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==================== NAVBAR ==================== */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.logo-icon {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.8;
}

.nav-links a.active {
    border-bottom: 2px solid white;
    padding-bottom: 0.5rem;
}

/* ==================== HAMBURGER MENU ==================== */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 0.4rem;
    padding: 0;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ==================== RESPONSIVE NAVBAR ==================== */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

    .logo {
        gap: 0.3rem;
        font-size: 1rem;
    }

    .logo-icon {
        font-size: 1.5rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        flex-direction: column;
        justify-content: flex-start;
        gap: 0;
        padding: 1rem 0;
        border-top: 3px solid rgba(255, 255, 255, 0.1);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateX(0);
    }

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

    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: background 0.3s ease;
    }

    .nav-links a:hover {
        background: rgba(0, 0, 0, 0.1);
        opacity: 1;
    }

    .nav-links a.active {
        background: rgba(0, 0, 0, 0.2);
        border-bottom: 3px solid white;
        padding-bottom: calc(1rem - 1px);
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .logo-text {
        display: none;
    }

    .logo {
        font-size: 0.9rem;
    }

    .logo-icon {
        font-size: 1.3rem;
    }

    .hamburger span {
        width: 22px;
        height: 2.5px;
    }

    .nav-links {
        top: 50px;
    }

    .nav-links a {
        padding: 0.9rem 1.5rem;
    }
}

/* ==================== HERO SECTION ==================== */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
}

.monkey-mascot {
    width: 300px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.monkey-mascot:hover {
    transform: scale(1.05);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

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

/* ==================== FEATURES SECTION ==================== */
.features {
    padding: 5rem 2rem;
    background-color: var(--light-bg);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ==================== ABOUT INTRO SECTION ==================== */
.about-intro {
    padding: 4rem 2rem;
    background: white;
    border-top: 1px solid var(--border-color);
}

.about-intro .container {
    max-width: 900px;
    margin: 0 auto;
}

.about-intro h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.about-intro p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* ==================== RESEARCH SECTION ==================== */
.research-section {
    padding: 5rem 2rem;
    background: white;
}

.research-container {
    max-width: 1200px;
    margin: 0 auto;
}

.research-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.upload-box {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    border-left: 5px solid var(--primary-color);
}

.upload-box h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.upload-box > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

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

.input-field {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.upload-form button {
    grid-column: 1 / -1;
    padding: 1rem;
    font-size: 1rem;
}

.papers-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.paper-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.paper-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.15);
    transform: translateY(-5px);
}

.paper-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.paper-author {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.paper-description {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.paper-actions {
    display: flex;
    gap: 1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    flex: 1;
    text-align: center;
}

/* ==================== CTA SECTION ==================== */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section p {
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #334155;
    text-align: center;
    padding-top: 2rem;
    color: #94a3b8;
}

/* Social links in footer */
.social-links {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.6rem;
}
.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.04);
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
    text-decoration: none;
}
.social-links a:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.06);
    color: var(--primary-color);
}
.social-links svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
}


/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .nav-links {
        gap: 1rem;
    }

    .monkey-mascot {
        width: 200px;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .upload-form {
        grid-template-columns: 1fr;
    }

    .upload-form button {
        grid-column: 1;
    }
}

/* ==================== ABOUT HERO ==================== */
.about-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

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

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.about-hero p {
    font-size: 1.3rem;
    opacity: 0.95;
}

/* ==================== ABOUT CONTENT ==================== */
.about-content {
    padding: 5rem 2rem;
    background: white;
}

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

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
}

.about-section.reverse {
    grid-template-columns: 1fr 1fr;
}

.about-section.reverse .about-section-image {
    order: -1;
}

.about-section h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-section p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.about-section-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-large {
    font-size: 8rem;
    animation: float 3s ease-in-out infinite;
}

.vision-list {
    list-style: none;
    margin: 1.5rem 0;
}

.vision-list li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.why-choose-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.why-choose-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.why-icon {
    font-size: 1.8rem;
    min-width: 2rem;
}

.why-choose-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.why-choose-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* ==================== VALUES SECTION ==================== */
.values-section {
    background: var(--light-bg);
    padding: 4rem 2rem;
    margin: 3rem -2rem;
    text-align: center;
}

.values-section h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.value-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ==================== JOIN US CTA (removed) ==================== */
/* Styles for `.join-us-section` and `.join-buttons` removed per request. */

/* ==================== FAQ SECTION ==================== */
.faq-section {
    background: var(--light-bg);
    padding: 5rem 2rem;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.faq-list {
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.faq-item h3 {
    cursor: pointer;
    color: var(--primary-color);
    transition: color 0.3s ease;
    padding: 1rem;
    margin: 0;
    border-radius: 8px;
    user-select: none;
    font-size: 1.1rem;
}

.faq-item h3:hover {
    color: var(--secondary-color);
    background: var(--light-bg);
}

.faq-item p {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-light);
    margin: 0;
    line-height: 1.8;
}

.faq-item.open p {
    max-height: 500px;
    padding: 0 1rem 1rem 1rem;
}

/* ==================== FEATURED RESEARCH SECTION ==================== */
.featured-research {
    padding: 5rem 2rem;
    background: white;
}

.featured-research-container {
    max-width: 1200px;
    margin: 0 auto;
}

.featured-research h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

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

.research-area-card {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.research-area-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.15);
    background: white;
}

.research-area-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.research-area-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.research-area-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.area-link {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.area-link:hover {
    color: var(--primary-color);
}

/* ==================== HOW IT WORKS SECTION ==================== */
.how-it-works {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

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

.step {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.step {
    position: relative;
}


/* Small screens: stack steps vertically and draw a vertical timeline line */
@media (max-width: 900px) {
    .steps-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        position: relative;
        padding-left: 1rem;
    }

    /* Full-height vertical line behind the step numbers */
    .steps-container::before {
        content: '';
        position: absolute;
        left: 34px; /* aligns with center of .step-number */
        top: 20px;
        bottom: 20px;
        width: 4px;
        border-radius: 2px;
        z-index: 0;
    }

    .step {
        position: relative;
        padding-left: 80px; /* space for the number and line */
        text-align: left;
        background: white;
    }

    .step-number {
        position: absolute;
        left: 0;
        top: 12px;
        margin: 0;
        z-index: 1;
        width: 52px;
        height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .step h3, .step p {
        text-align: left;
    }

    /* hide horizontal connectors on small screens */
    .step:not(:last-child)::after {
        display: none;
    }
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials {
    padding: 5rem 2rem;
    background: white;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 15px 30px rgba(236, 72, 153, 0.1);
}

.stars {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-card p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 0.95rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.author-avatar {
    font-size: 2.5rem;
}

.testimonial-author strong {
    color: var(--primary-color);
    font-size: 1rem;
}

.testimonial-author p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
    font-style: normal;
}

/* ==================== STATS SECTION ==================== */
.stats {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 4rem 2rem;
}

.stats-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat {
    color: white;
}

.stat h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* ==================== RESEARCH PAGE UPLOAD BOX ==================== */
.research-section {
    padding: 5rem 2rem;
    background: white;
}

.research-container {
    max-width: 1200px;
    margin: 0 auto;
}

.upload-box {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    border-left: 5px solid var(--primary-color);
}

.upload-box h2 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.upload-box > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.upload-form .btn-large {
    grid-column: 1 / -1;
}

/* ==================== FILTER SECTION ==================== */
.filter-section {
    margin: 3rem 0;
}

.filter-section h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-dark);
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
}

/* ==================== STATS SECTION (RESEARCH PAGE) ==================== */
.stats-section {
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    padding: 4rem 2rem;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* ==================== RESPONSIVE - NEW SECTIONS ==================== */

/* ==================== MOBILE FIRST - XS (320px to 480px) ==================== */
@media (max-width: 480px) {
    /* Global */
    body {
        font-size: 14px;
        line-height: 1.5;
    }

    /* Navbar */
    .nav-container {
        padding: 0 1rem;
    }

    .logo {
        gap: 0.3rem;
        font-size: 1rem;
    }

    .logo-icon {
        font-size: 1.5rem;
    }

    .nav-links {
        gap: 0.8rem;
        font-size: 0.85rem;
    }

    .nav-links a {
        padding: 0.25rem 0.5rem;
    }

    /* Hero Section */
    .hero {
        padding: 3rem 1rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }

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

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        border-radius: 30px;
    }

    .monkey-mascot {
        width: 150px;
    }

    /* Features Section */
    .features {
        padding: 3rem 1rem;
    }

    .features h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .features-container {
        gap: 1rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    /* Featured Research */
    .featured-research {
        padding: 3rem 1rem;
    }

    .featured-research h2 {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .research-areas-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .research-area-card {
        padding: 1.25rem;
    }

    .research-area-icon {
        font-size: 2.5rem;
    }

    .research-area-card h3 {
        font-size: 1.1rem;
    }

    /* How It Works */
    .how-it-works {
        padding: 3rem 1rem;
    }

    .how-it-works h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .step {
        padding: 1.5rem 1rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .step-connector {
        display: none;
    }

    /* Testimonials */
    .testimonials {
        padding: 3rem 1rem;
    }

    .testimonials h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .testimonials-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .testimonial-card {
        padding: 1.25rem;
    }

    .testimonial-author {
        gap: 0.75rem;
    }

    .author-avatar {
        font-size: 2rem;
    }

    /* Stats */
    .stats {
        padding: 3rem 1rem;
    }

    .stats-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat h3 {
        font-size: 1.75rem;
    }

    .stat p {
        font-size: 0.85rem;
    }

    /* CTA */
    .cta {
        padding: 2.5rem 1rem;
    }

    .cta h2 {
        font-size: 1.5rem;
    }

    .cta p {
        font-size: 0.95rem;
    }

    /* Research Hero */
    .research-hero {
        padding: 2.5rem 1rem;
    }

    .research-hero h1 {
        font-size: 1.5rem;
    }

    .research-hero p {
        font-size: 0.95rem;
    }

    /* Research Section */
    .research-section {
        padding: 2.5rem 1rem;
    }

    .upload-box {
        padding: 1.5rem;
        border-radius: 10px;
    }

    .upload-box h2 {
        font-size: 1.2rem;
    }

    .upload-box > p {
        font-size: 0.9rem;
    }

    .upload-form {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .input-field {
        padding: 0.65rem;
        font-size: 0.95rem;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
    }

    /* Filter */
    .filter-section {
        margin: 2rem 0;
    }

    .filter-section h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    /* Papers */
    .papers-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .paper-card {
        padding: 1rem;
    }

    .paper-title {
        font-size: 1rem;
    }

    .paper-author {
        font-size: 0.8rem;
    }

    .paper-description {
        font-size: 0.9rem;
    }

    .paper-actions {
        flex-direction: column;
    }

    .btn-small {
        padding: 0.6rem;
        font-size: 0.8rem;
    }

    /* Stats Section */
    .stats-section {
        padding: 2.5rem 1rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* Footer */
    .footer {
        padding: 2rem 1rem 0.5rem;
    }

    .footer-container {
        gap: 1.5rem;
        margin-bottom: 1rem;
    }

    .footer-section h4 {
        margin-bottom: 0.75rem;
        font-size: 0.95rem;
    }

    .footer-section p {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }

    .footer-section ul li {
        margin-bottom: 0.3rem;
    }

    .footer-section a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        padding-top: 1rem;
        font-size: 0.8rem;
    }

    /* About */
    .about-hero {
        padding: 2.5rem 1rem;
    }

    .about-hero h1 {
        font-size: 1.5rem;
    }

    .about-hero p {
        font-size: 0.95rem;
    }

    .about-content {
        padding: 2.5rem 1rem;
    }

    .about-section {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .about-section h2 {
        font-size: 1.3rem;
    }

    .about-section p {
        font-size: 0.9rem;
    }

    .icon-large {
        font-size: 3rem;
    }

    .vision-list li {
        font-size: 0.95rem;
    }

    .why-choose-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .why-icon {
        font-size: 1.3rem;
    }

    .why-choose-item h3 {
        font-size: 0.95rem;
    }

    .why-choose-item p {
        font-size: 0.8rem;
    }

    .values-section {
        padding: 2.5rem 1rem;
        margin: 2rem -1rem;
    }

    .values-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .values-grid {
        gap: 1rem;
    }

    .value-card {
        padding: 1.25rem;
    }

    .value-card h3 {
        font-size: 1rem;
    }

    .value-card p {
        font-size: 0.85rem;
    }

    /* `.join-us-section` responsive rules removed */

    .faq-section {
        padding: 2.5rem 1rem;
    }

    .faq-container {
        max-width: 100%;
    }

    .faq-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .faq-item h3 {
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    .faq-item p {
        font-size: 0.85rem;
    }
}

/* ==================== TABLET - SM (481px to 768px) ==================== */
@media (min-width: 481px) and (max-width: 768px) {
    /* Navbar */
    .nav-links {
        gap: 1.5rem;
        font-size: 0.95rem;
    }

    /* Hero */
    .hero {
        padding: 4rem 1.5rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .monkey-mascot {
        width: 220px;
    }

    /* Features */
    .features {
        padding: 4rem 1.5rem;
    }

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

    .features-container {
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.75rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    /* Featured Research */
    .featured-research {
        padding: 4rem 1.5rem;
    }

    .featured-research h2 {
        font-size: 2rem;
    }

    .research-areas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .research-area-icon {
        font-size: 3rem;
    }

    /* How It Works */
    .how-it-works {
        padding: 4rem 1.5rem;
    }

    .steps-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .step {
        padding: 1.75rem;
    }

    /* Testimonials */
    .testimonials {
        padding: 4rem 1.5rem;
    }

    .testimonials-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Stats */
    .stats-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* Research Section */
    .research-section {
        padding: 4rem 1.5rem;
    }

    .upload-box {
        padding: 2rem;
    }

    .upload-form {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Filter */
    .filter-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Papers */
    .papers-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Stats Section */
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Footer */
    .footer {
        padding: 2.5rem 1.5rem;
    }

    /* About */
    .about-hero {
        padding: 3.5rem 1.5rem;
    }

    .about-content {
        padding: 4rem 1.5rem;
    }

    .about-section {
        gap: 2rem;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .faq-container {
        max-width: 700px;
    }
}

/* ==================== TOUCH DEVICE OPTIMIZATIONS ==================== */
@media (hover: none) and (pointer: coarse) {
    /* Touch-friendly buttons and links */
    .btn {
        min-height: 44px;
        min-width: 44px;
    }

    .filter-btn {
        min-height: 40px;
        padding: 0.75rem 1.5rem;
    }

    .feature-card,
    .research-area-card,
    .testimonial-card,
    .paper-card,
    .value-card {
        cursor: pointer;
    }

    .feature-card:active,
    .research-area-card:active,
    .testimonial-card:active,
    .paper-card:active {
        opacity: 0.9;
    }
}

/* ==================== CONTACT PAGE ==================== */
.contact-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

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

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-hero p {
    font-size: 1.3rem;
    opacity: 0.95;
}

.contact-section {
    padding: 5rem 2rem;
    background: white;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-main {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-form-box,
.contact-info-box {
    background: white;
}

.contact-form-box {
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.contact-form-box h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-form-box > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.85rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

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

.btn-submit {
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.form-message-success {
    background: #dcfce7;
    color: #166534;
    border-left: 4px solid #10b981;
}

.form-message-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.contact-info-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-box h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.info-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.info-item:hover {
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.1);
    transform: translateX(5px);
}

.info-icon {
    font-size: 2rem;
    min-width: 2.5rem;
    text-align: center;
}

.info-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0.25rem 0;
}

.info-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--secondary-color);
}

/* ==================== DEPARTMENTS ==================== */
.departments {
    margin-bottom: 4rem;
}

.departments h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

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

.department-card {
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.department-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.1);
    transform: translateY(-5px);
}

.department-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.department-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.dept-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-block;
}

.dept-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ==================== SOCIAL SECTION ==================== */
.social-section {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 15px;
    margin-bottom: 4rem;
}

.social-section h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: white;
}

.social-section p {
    margin-bottom: 2rem;
    font-size: 1.05rem;
    opacity: 0.95;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.social-link:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-3px);
}

/* ==================== RESPONSE TIME ==================== */
.response-time-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.response-item {
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.response-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.15);
}

.response-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.response-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.response-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ==================== CONTACT FAQ ==================== */
.contact-faq {
    margin-top: 4rem;
}

.contact-faq h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.faq-list {
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.faq-item h3 {
    cursor: pointer;
    color: var(--primary-color);
    transition: color 0.3s ease;
    padding: 1.25rem;
    margin: 0;
    border-radius: 8px;
    user-select: none;
    font-size: 1.05rem;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
}

.faq-item h3:hover {
    color: var(--secondary-color);
    background: var(--light-bg);
}

.faq-item p {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-light);
    margin: 0;
    line-height: 1.8;
    padding: 0 1.25rem;
}

.faq-item.open p {
    max-height: 500px;
    padding: 0 1.25rem 1.25rem 1.25rem;
}

/* ==================== CONTACT RESPONSIVE ==================== */
@media (max-width: 480px) {
    .contact-hero {
        padding: 2.5rem 1rem;
    }

    .contact-hero h1 {
        font-size: 1.5rem;
    }

    .contact-hero p {
        font-size: 0.95rem;
    }

    .contact-section {
        padding: 2.5rem 1rem;
    }

    .contact-main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .contact-form-box {
        padding: 1.25rem;
    }

    .contact-form-box h2 {
        font-size: 1.3rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.65rem;
        font-size: 16px;
    }

    .btn-submit {
        padding: 0.85rem;
    }

    .info-item {
        padding: 1rem;
        gap: 0.75rem;
    }

    .info-icon {
        font-size: 1.75rem;
        min-width: 2rem;
    }

    .info-content p {
        font-size: 0.85rem;
    }

    .departments h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .departments-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .department-card {
        padding: 1.25rem;
    }

    .department-card h3 {
        font-size: 1rem;
    }

    .department-card p {
        font-size: 0.85rem;
    }

    .social-section {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }

    .social-section h2 {
        font-size: 1.3rem;
    }

    .social-section p {
        font-size: 0.9rem;
    }

    .social-links {
        gap: 0.5rem;
    }

    .social-link {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .response-time-box {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .response-item {
        padding: 1.25rem;
    }

    .response-icon {
        font-size: 2rem;
    }

    .contact-faq h2 {
        font-size: 1.5rem;
    }

    .faq-item h3 {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .faq-item p {
        padding: 0 1rem;
    }

    .faq-item.open p {
        padding: 0 1rem 1rem 1rem;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .contact-hero {
        padding: 3.5rem 1.5rem;
    }

    .contact-section {
        padding: 4rem 1.5rem;
    }

    .contact-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .departments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .response-time-box {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* ==================== LANDSCAPE ORIENTATION ==================== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

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

    .monkey-mascot {
        width: 120px;
    }

    .hero {
        padding: 2rem 1.5rem;
    }
}

/* ==================== ORIGINAL RESPONSIVE (Modified) ==================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .featured-research h2 {
        font-size: 2rem;
    }

    .research-area-card {
        padding: 1.5rem;
    }

    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-container {
        grid-template-columns: 1fr;
    }

    .stats-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat h3 {
        font-size: 2rem;
    }

    .filter-buttons {
        justify-content: center;
    }

    .upload-form {
        grid-template-columns: 1fr;
    }

    .research-hero h1 {
        font-size: 2rem;
    }

    .research-hero p {
        font-size: 1.1rem;
    }
}
    .about-section {
        grid-template-columns: 1fr;
    }

    .about-section.reverse .about-section-image {
        order: 0;
    }

    .about-hero h1 {
        font-size: 2rem;
    }

    .values-section {
        margin: 2rem -2rem;
    }

    /* `.join-buttons` responsive rules removed */

    .why-choose-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .icon-large {
        font-size: 5rem;
    }

/* ==================== COOKIE CONSENT BANNER ==================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    color: #fff;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-message {
    flex: 1;
}

.cookie-message h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cookie-message p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-message a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-message a:hover {
    color: var(--secondary-color);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.cookie-accept {
    background: var(--primary-color);
    color: white;
}

.cookie-accept:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.cookie-decline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.cookie-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
        width: 100%;
    }

    .cookie-message {
        margin-bottom: 0.5rem;
    }
}

/* ==================== PRIVACY PAGE STYLES ==================== */
.privacy-page {
    min-height: 100vh;
    background: #fff;
}

.privacy-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.privacy-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.privacy-hero-content .last-updated {
    font-size: 1rem;
    opacity: 0.9;
}

.privacy-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

.privacy-content {
    line-height: 1.8;
}

.privacy-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.privacy-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.privacy-content p {
    margin-bottom: 1rem;
    color: var(--text-light);
    text-align: justify;
}

.privacy-content ul {
    margin: 1rem 0 1rem 2rem;
}

.privacy-content li {
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.privacy-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.contact-info {
    background: var(--light-bg);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    margin: 2rem 0;
}

.contact-info p {
    margin-bottom: 0.5rem;
    text-align: left;
}

.toc-box {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 0.5rem;
    position: sticky;
    top: 80px;
    height: fit-content;
}

.toc-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.toc-box ul {
    list-style: none;
}

.toc-box li {
    margin-bottom: 0.5rem;
}

.toc-box a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.toc-box a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .privacy-container {
        grid-template-columns: 1fr;
    }

    .toc-box {
        position: relative;
        top: auto;
    }

    .privacy-hero-content h1 {
        font-size: 2rem;
    }
}

/* ==================== RESEARCH INTRO & CATEGORIES ==================== */
.research-intro {
    background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
}

.research-intro h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.research-intro p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.research-categories-section {
    padding: 4rem 2rem;
    background: white;
    margin: 2rem 0;
}

.research-categories-container {
    max-width: 1200px;
    margin: 0 auto;
}

.research-categories-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

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

.category-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    border-top: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

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

.category-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.category-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ==================== PUBLISHING BENEFITS ==================== */
.publishing-benefits {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
}

.publishing-benefits h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: white;
}

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

.benefit-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.benefit-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.benefit-item p {
    line-height: 1.8;
    font-size: 0.95rem;
    opacity: 0.95;
}

/* ==================== GETTING STARTED GUIDE ==================== */
.getting-started {
    padding: 4rem 2rem;
    background: white;
}

.getting-started-container {
    max-width: 1200px;
    margin: 0 auto;
}

.getting-started h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.guide-step {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    position: relative;
    padding-left: 4rem;
    transition: all 0.3s ease;
}

.guide-step:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    left: 1rem;
    top: 1rem;
    background: var(--primary-color);
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
}

.guide-step h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.guide-step p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

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

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

    .steps-guide {
        grid-template-columns: 1fr;
    }

    .research-categories-section h2,
    .publishing-benefits h2,
    .getting-started h2 {
        font-size: 1.5rem;
    }
}

/* ==================== ABOUT PAGE EXTENDED SECTIONS ==================== */
.history-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f0f4ff, #f8f9ff);
}

.history-container {
    max-width: 1200px;
    margin: 0 auto;
}

.history-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.section-description {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.history-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.timeline-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.timeline-marker {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.timeline-item h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.timeline-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.impact-stats {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.impact-stats h3 {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

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

.impact-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 8px;
    border-top: 3px solid var(--primary-color);
}

.impact-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.impact-card p {
    color: var(--text-light);
    font-weight: 500;
}

/* ==================== COMMITMENT SECTION ==================== */
.commitment-section {
    padding: 4rem 2rem;
    background: white;
}

.commitment-container {
    max-width: 1200px;
    margin: 0 auto;
}

.commitment-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.commitment-section > .commitment-container > p {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

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

.commitment-item {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.commitment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.commitment-item h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.commitment-item p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ==================== PARTNERSHIP SECTION ==================== */
.partnership-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.partnership-container {
    max-width: 1200px;
    margin: 0 auto;
}

.partnership-section h2 {
    text-align: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
}

.partnership-section > .partnership-container > p {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    opacity: 0.95;
}

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

.benefit-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.benefit-box h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.benefit-box p {
    line-height: 1.8;
    font-size: 0.95rem;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .history-timeline {
        grid-template-columns: 1fr;
    }

    .commitment-items {
        grid-template-columns: 1fr;
    }

    .partnership-benefits {
        grid-template-columns: 1fr;
    }

    .history-section h2,
    .commitment-section h2,
    .partnership-section h2 {
        font-size: 1.5rem;
    }

    .impact-number {
        font-size: 2rem;
    }
}