/* International Research Standard Design (Nature/Harvard Style) */
:root {
    /* Primary Palette - Deep & Authoritative */
    --primary-blue: #0A192F;
    /* Deep Navy - Trust, Intelligence */
    --secondary-blue: #112240;
    /* Slightly Lighter Navy */
    --accent-gold: #D4AF37;
    /* Prestige/Gold */
    --accent-cyan: #64FFDA;
    /* Innovation/Tech - Subtle highlights */

    /* Functional Colors */
    --text-main: #CCD6F6;
    /* Off-white text for dark backgrounds */
    --text-muted: #8892B0;
    /* Muted slate for secondary text */
    --text-dark: #1F2937;
    /* Dark text for light backgrounds */
    --bg-body: #F8F9FA;
    /* Very light grey for main content readability */
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    /* Elegant, high-contrast */
    --font-body: 'Plus Jakarta Sans', sans-serif;
    /* Clean, modern, geometric */

    /* Spacing & Layout */
    --container-width: 1280px;
    --header-height: 90px;
    --border-radius: 8px;

    /* Effects */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.3);
    --backdrop-blur: blur(12px);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-gold);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border: var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.text-gold {
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

/* Stats/Quick Links */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 2rem;
    gap: 2rem;
    margin-bottom: 4rem;
    text-align: center;
}

.stat-item i {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.stat-item h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stat-item.with-border {
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    border-radius: 4px;
    /* Slightly rounded */
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--accent-cyan);
    border: 1px solid transparent;
}

.btn-primary:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 25, 47, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--accent-cyan);
}

.section-padding {
    padding: 6rem 0;
    /* More breathing room */
}

/* Header - Modern, Sticky, Glassmorphism */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
    height: 70px;
    /* Shrink on scroll */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.brand-logo {
    height: 50px;
    /* Optimal for 90px header */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand:hover .brand-logo {
    transform: scale(1.05);
}

/* 
.brand i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.brand-text h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
}

.brand-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
} 
*/

/* Navigation */
.nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-item a {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-item a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-item a:hover::after {
    width: 100%;
}

.nav-item a:hover,
.nav-item a.active {
    color: var(--primary-blue);
    /* Calmer: Keep text dark */
}

/* Ensure underline is visible for both hover and active */
.nav-item a:hover::after,
.nav-item a.active::after {
    width: 100%;
}

.nav-item a.active {
    font-weight: 700;
    /* Bold for active state */
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
}

/* Auth/Search Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.action-btn {
    font-size: 1.1rem;
    color: var(--primary-blue);
    transition: color 0.3s;
}

.action-btn:hover {
    color: var(--accent-gold);
}

/* Hero Section - Full Width, Immersive */
.hero-section {
    position: relative;
    height: 90vh;
    /* More immersive */
    min-height: 600px;
    /* International Standard: Abstract Network / Constellation */
    /* Psychology: Blue = Trust/Intellect. Nodes = Connection/Global. */
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    display: flex;
    align-items: center;
    margin-top: var(--header-height);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Deep Blue Gradient: Professional, Calm, Authoritative */
    background: linear-gradient(135deg, rgba(8, 18, 33, 0.95) 0%, rgba(10, 25, 47, 0.85) 60%, rgba(10, 25, 47, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: #fff;
    animation: fadeInUp 1s ease-out;
}

.hero-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    max-width: 600px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.section-title {
    font-size: 2rem;
    color: var(--secondary-blue);
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: -1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
}

/* News Section - Modern Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover img {
    transform: scale(1.05);
    /* Subtle smooth zoom */
}

.news-content {
    padding: 1.5rem;
}

.news-tag {
    color: var(--accent-gold);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.5rem;
}

.news-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-card h3 a {
    color: var(--primary-blue);
}

.news-card h3 a:hover {
    color: var(--accent-gold);
}

/* Journal List - 3D Hover & Glassmorphism */
.journal-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.journal-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2.5rem;
    background: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.journal-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
    /* Subtle highlight */
    transform: translateY(-2px);
}

.journal-cover {
    width: 100%;
    height: 260px;
    background: #f0f0f0;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    overflow: hidden;
    border-radius: 4px;
}

.journal-item:hover .journal-cover {
    transform: rotateY(-5deg) rotateX(2deg);
    /* 3D hint */
}

.journal-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.journal-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.journal-meta {
    font-family: var(--font-body);
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.journal-metrics {
    display: flex;
    gap: 3rem;
    margin: 1.5rem 0;
}

.metric-box {
    text-align: left;
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    font-family: var(--font-heading);
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Services Section - Modern & Interactive */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Explicit 4 columns */
    gap: 1.5rem;
    padding: 1rem 0;
}

@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy spring */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 1;
}

/* Hover Effect: Lift & Glow */
.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 50, 100, 0.1);
    border-color: var(--primary-blue);
    background: #fff;
}

/* Gradient Overlay on Hover */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.03) 0%, rgba(0, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card:hover::after {
    opacity: 1;
}

.service-highlight {
    background: linear-gradient(145deg, #fff, #f0f7ff);
    border: 1px solid var(--accent-cyan);
    box-shadow: 0 10px 25px rgba(0, 200, 255, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
}

/* Icon Animation on Hover */
.service-card:hover .service-icon {
    background: var(--primary-blue);
    color: #fff;
    transform: rotateY(360deg);
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.3);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--dark-blue);
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-link {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: rgba(0, 86, 179, 0.05);
}

.service-link:hover {
    gap: 0.8rem;
    background: var(--primary-blue);
    color: #fff;
    padding-right: 1.2rem;
}

/* Footer */
/* Footer - Dark & Corporate */
footer {
    background: var(--primary-blue);
    color: #fff;
    padding-top: 5rem;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: var(--accent-cyan);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    color: var(--text-main);
    opacity: 0.8;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: var(--text-main);
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-col a:hover {
    color: var(--accent-cyan);
    opacity: 1;
    text-decoration: none;
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-form input {
    padding: 0.8rem;
    border: none;
    border-radius: 4px 0 0 4px;
    width: 100%;
    outline: none;
}

.newsletter-form button {
    padding: 0 1.2rem;
    background: var(--accent-gold);
    border: none;
    color: var(--primary-blue);
    font-weight: 700;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #fff;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.mission-card {
    background: var(--bg-body);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.mission-card:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
    border-color: var(--border-color);
    transform: translateY(-3px);
}

.mission-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: rgba(10, 25, 47, 0.1);
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.mission-card:hover .mission-number {
    color: var(--accent-gold);
}

.mission-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.mission-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Partners Section */
.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    opacity: 0.7;
}

.partner-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: default;
}

.partner-logo i {
    font-size: 1.5rem;
}

.partner-logo:hover {
    color: var(--primary-blue);
    opacity: 1;
    transform: translateY(-2px);
}



/* Team Section (Refined) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    align-items: start;
}

.team-card {
    text-align: left;
    /* Cleaner alignment */
    transition: all 0.4s ease;
}

.member-img-wrapper {
    width: 100%;
    height: 320px;
    background: #f0f0f0;
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    /* Soft square */
}

.member-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    /* Premium Grayscale start */
    transition: all 0.5s ease;
}

.team-card:hover .member-img-wrapper img {
    filter: grayscale(0%);
    /* Color on hover */
    transform: scale(1.05);
}

.member-info h3 {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    color: var(--primary-blue);
    margin-bottom: 0.3rem;
}

.member-role {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 1rem;
}

.member-bio {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.member-social a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.member-social a:hover {
    color: var(--accent-cyan);
}

/* Responsive Team */
@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .member-img-wrapper {
        height: 400px;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .side-stories {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border-color);
        padding-top: 2rem;
    }
}

@media (max-width: 992px) {
    .top-bar {
        display: none;
    }

    /* Simplify header */

    .header-container {
        padding: 1rem;
    }

    .brand-text h1 {
        font-size: 1.4rem;
    }

    .brand-text p {
        display: none;
    }

    /* Hide desktop nav items, keep mobile toggle */
    .nav-list {
        flex-direction: column;
    }

    /* Mobile Nav Drawer */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        /* Slide out */
        width: 80%;
        height: 100vh;
        background: var(--secondary-blue);
        z-index: 2000;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding-top: 4rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        display: block;
        /* Ensure it's not hidden by flex parent */
    }

    .main-nav.active {
        right: 0;
    }

    .nav-item a {
        display: block;
        padding: 1.2rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        color: #fff;
        font-size: 1.1rem;
    }

    .nav-item a::after {
        display: none;
        /* Remove underline effect on mobile */
    }

    .nav-item a:hover {
        background: rgba(255, 255, 255, 0.05);
        color: var(--accent-cyan);
    }

    /* Mobile Hamburger & Close */
    .mobile-toggle {
        display: block !important;
        font-size: 1.8rem;
        /* Increased size */
        color: var(--primary-blue) !important;
        /* Force visible */
        cursor: pointer;
        z-index: 2001;
        margin-left: 1rem;
        transition: opacity 0.3s ease;
    }

    /* Force Hide Burger when Menu Open - RELIABLE METHOD */
    body.menu-active .mobile-toggle {
        display: none !important;
        opacity: 0;
    }

    /* Mobile Toggle Touch Feedback */
    .mobile-toggle:active {
        color: var(--accent-gold) !important;
        /* Gold highlight on press */
        transform: scale(0.95);
    }

    /* Removed header:not(.scrolled) override */



    /* Close button inside nav */
    .nav-close {
        display: block !important;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        font-size: 1.5rem;
        color: #fff;
        cursor: pointer;
        z-index: 2002;
        width: 40px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
    }

    /* Adjust Cards for Mobile */
    /* Adjust Cards for Mobile */
    .journal-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }

    /* Hide Desktop Login on Mobile */
    .desktop-only {
        display: none !important;
    }

    /* Show Mobile Login */
    .mobile-login-btn {
        display: block !important;
    }

    .journal-cover {
        width: 100%;
        max-width: 280px;
        /* Constrain width for a cleaner look */
        height: 380px;
        /* Taller ratio */
        margin: 0 auto;
        box-shadow: var(--shadow-md);
    }

    .journal-info {
        width: 100%;
    }

    .journal-metrics {
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
        margin: 1.5rem 0;
        padding: 1rem 0;
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
    }

    .metric-box {
        flex: 1 1 30%;
        /* Allow wrapping but keep structure */
        min-width: 80px;
    }

    /* Full width buttons on mobile for precision */
    .journal-info .btn {
        display: block;
        width: 100%;
        margin: 0 0 1rem 0 !important;
        /* Override inline margins */
        text-align: center;
    }

    /* Hero Section Mobile - Centered & Premium Glass */
    .hero-content {
        margin: 0 1.5rem;
        /* Breathable margins */
        padding: 2.5rem 1.5rem;
        background: rgba(10, 25, 47, 0.65);
        /* Dark Glass */
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
        transform: translateY(0);
        transition: transform 0.3s ease;
    }

    .hero-content:active {
        transform: scale(0.98);
        /* Subtle touch interaction */
    }

    .hero-label {
        align-self: center;
        background: rgba(100, 255, 218, 0.15);
        border-color: var(--accent-cyan);
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 2rem;
    }

    /* Stack Hero Buttons */
    .hero-content div {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .hero-content .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }

    .journal-metrics {
        justify-content: center;
        gap: 2rem;
    }

    .metric-box {
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* Redundant hero styles removed to preserve new glass layout */

    /* Mobile Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }

    .stat-item.with-border {
        border-left: none;
        border-right: none;
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
        padding: 1.5rem 0;
    }

    /* Adjust News Grid for smaller screens */
    .news-grid {
        grid-template-columns: 1fr;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
        /* Force stack on mobile */
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .hero-content div {
        flex-direction: column;
    }

    .journal-metrics {
        gap: 1rem;
    }
}

/* Ensure these are hidden on Desktop */
.nav-close {
    display: none;
}

/* Researchers Page Header - Modern & Tech */
.research-hero {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    /* Dark Blue Base */
    padding: 10rem 0 6rem;
    overflow: hidden;
    text-align: center;
    color: #fff;
    margin-bottom: 2rem;
}

/* Background "Tech" Grid */
.research-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

/* Glowing Orbs */
.research-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 60%);
    z-index: 0;
    filter: blur(80px);
}

.research-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.research-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    /* High contrast gradient: White to Light Blue-Grey */
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    /* Standard property */
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Enhanced readability */
}

.research-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #e2e8f0;
    /* Light Slate 200 - Very readable on dark */
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustment for Research Title */
@media (max-width: 768px) {
    .research-title {
        font-size: 2.2rem;
    }
}

/* Modern Service Card */
.service-card-modern {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(10, 25, 47, 0.1);
    border-color: rgba(100, 255, 218, 0.3);
}

/* Typography on Card (Always Dark & Readable) */
.service-card-modern h3 {
    font-size: 1.25rem;
    margin-bottom: 1.2rem;
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

.service-card-modern p {
    color: var(--text-dark);
}

/* Service Tags List */
.service-tags-list li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: #334155;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.service-tags-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent-cyan);
    /* Cyan checkmark */
    margin-right: 0.8rem;
    font-size: 0.8rem;
}

/* Icon Animation - Like Login Button Hover */
.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    /* Bouncy */
    background: rgba(10, 25, 47, 0.05);
    /* Light BG Default */
    color: var(--primary-blue);
}

/* Individual Colors (Default State) */
.icon-academic {
    background: rgba(230, 57, 70, 0.1);
    color: #e63946;
}

.icon-publishing {
    background: rgba(10, 25, 47, 0.05);
    color: var(--primary-blue);
}

.icon-collaboration {
    background: rgba(255, 215, 0, 0.1);
    color: #d4af37;
}

.icon-innovation {
    background: rgba(100, 255, 218, 0.1);
    color: var(--primary-blue);
}

/* Hover State - "Login Button" Effect (Uniform for all) */
.service-card-modern:hover .service-icon-wrapper {
    background: var(--primary-blue);
    /* Solid Dark Blue */
    color: var(--accent-cyan);
    /* Bright Cyan Icon */
    transform: scale(1.1) rotate(10deg);
    /* Tilt Animation */
    box-shadow: 0 8px 15px rgba(10, 25, 47, 0.2);
}

/* Badge Style */
.badge-sm {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 700;
    background: #e2e8f0;
    color: var(--primary-blue);
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* Language Switcher - High Visibility */
.lang-btn {
    background: rgba(10, 25, 47, 0.05);
    /* Light dark bg */
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.lang-btn:hover {
    background: var(--primary-blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 86, 179, 0.2);
}

.lang-btn i {
    font-size: 1rem;
}

/* About Text Readability */
.about-text-lead {
    font-size: 1.25rem !important;
    /* Larger */
    line-height: 1.8 !important;
    color: #334155 !important;
    /* Darker Slate Gray for readability */
    font-weight: 500;
    margin-bottom: 2rem;
}

.about-text-body {
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
    color: #475569 !important;
    /* Slightly lighter but readable */
}

/* Visibility Logic */
[data-lang="id"] {
    display: none;
}

[data-lang="en"] {
    display: block;
}

body[data-current-lang="id"] [data-lang="en"] {
    display: none !important;
}

body[data-current-lang="id"] [data-lang="id"] {
    display: block !important;
}

/* Inline visibility */
span[data-lang] {
    display: none;
}

body[data-current-lang="id"] span[data-lang="id"] {
    display: inline !important;
}

body:not([data-current-lang="id"]) span[data-lang="en"] {
    display: inline !important;
}

/* Feature Box Hover Effect */
.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .about-grid-modern {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    text-align: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-blue);
    z-index: -1;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.4s ease;
    border-radius: 16px;
}

.contact-card:hover::before {
    opacity: 1;
    transform: scale(1);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(10, 25, 47, 0.15);
}

.contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background: #fff !important;
    transform: scale(1.1) rotate(10deg);
}

/* Specific Colors */
.icon-email {
    background: rgba(234, 67, 53, 0.1);
    color: #ea4335;
}

.contact-card:hover .icon-email {
    color: #ea4335;
}

.icon-wa {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.contact-card:hover .icon-wa {
    color: #25d366;
}

.icon-ig {
    background: rgba(131, 58, 180, 0.1);
    color: #833AB4;
}

.contact-card:hover .icon-ig {
    color: #833AB4;
}

.icon-li {
    background: rgba(0, 119, 181, 0.1);
    color: #0077b5;
}

.contact-card:hover .icon-li {
    color: #0077b5;
}


.contact-card h3 {
    color: var(--primary-blue);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.contact-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.contact-action {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.contact-card:hover h3,
.contact-card:hover p,
.contact-card:hover .contact-action {
    color: #fff;
    opacity: 1;
    transform: translateY(0);
}

/* Language Toggle Logic */
[data-current-lang="en"] [data-lang="id"] {
    display: none !important;
}

[data-current-lang="id"] [data-lang="en"] {
    display: none !important;
}