/* =====================================================
   PEERCITE PUBLISHERS - COMPLETE STYLESHEET
   ===================================================== */

/* ==================== GOOGLE FONTS ==================== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ==================== CSS RESET ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==================== VARIABLES ==================== */
:root {
    --primary: #10B981;
    --primary-dark: #34D399;
    --primary-light: #34D399;
    --primary-glow: rgba(193, 250, 231, 0.25);

    --dark: #111111;
    --gray-900: #1a1a1a;
    --gray-600: #525252;
    --gray-500: #666666;
    --gray-400: #888888;
    --gray-300: #b3b3b3;
    --gray-200: #e5e5e5;
    --gray-100: #f3f3f3;
    --white: #ffffff;
    --bg: #fdf2f2;

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    --container: 1400px;
    --padding: 2.5rem;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);

    --transition: 0.3s ease;
}

/* ==================== BASE ==================== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--bg);
}

body.no-scroll {
    overflow: hidden;
}

::selection {
    background: var(--primary);
    color: var(--white);
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--padding);
}

.logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;
}

/* ==================== SKIP LINK ==================== */

/* =====================================================
   3D GLOBE PRELOADER
   ===================================================== */

.preloader {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #0a0a0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    overflow: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-scene {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

/* ==================== FLOATING PARTICLES ==================== */
.particles-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(16, 185, 129, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
    animation: particleFloat 15s linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) translateX(100px) scale(1);
        opacity: 0;
    }
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 2s;
    animation-duration: 12s;
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: 4s;
    animation-duration: 18s;
}

.particle:nth-child(4) {
    left: 40%;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    left: 50%;
    animation-delay: 3s;
    animation-duration: 14s;
}

.particle:nth-child(6) {
    left: 60%;
    animation-delay: 5s;
}

.particle:nth-child(7) {
    left: 70%;
    animation-delay: 2.5s;
    animation-duration: 16s;
}

.particle:nth-child(8) {
    left: 80%;
    animation-delay: 4.5s;
}

.particle:nth-child(9) {
    left: 90%;
    animation-delay: 1.5s;
    animation-duration: 13s;
}

.particle:nth-child(10) {
    left: 95%;
    animation-delay: 3.5s;
}

/* ==================== 3D GLOBE ==================== */
.globe-container {
    position: relative;
    width: 350px;
    height: 350px;
    transform-style: preserve-3d;
    animation: globeFloat 6s ease-in-out infinite;
}

@keyframes globeFloat {

    0%,
    100% {
        transform: translateY(0px) rotateX(10deg);
    }

    50% {
        transform: translateY(-20px) rotateX(10deg);
    }
}

.globe {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #1e3a5f, #0a1929);
    transform-style: preserve-3d;
    animation: globeRotate 20s linear infinite;
    box-shadow:
        inset -40px -40px 80px rgba(0, 0, 0, 0.6),
        inset 20px 20px 40px rgba(16, 185, 129, 0.1),
        0 0 100px rgba(16, 185, 129, 0.3);
}

@keyframes globeRotate {
    from {
        transform: rotateY(0deg) rotateX(10deg);
    }

    to {
        transform: rotateY(360deg) rotateX(10deg);
    }
}

/* Globe Lines */
.globe-lines {
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.latitude-line,
.longitude-line {
    position: absolute;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50%;
}

.latitude-line {
    width: 100%;
    left: 0;
}

.latitude-line.line-1 {
    top: 25%;
    height: 50%;
}

.latitude-line.line-2 {
    top: 40%;
    height: 20%;
}

.latitude-line.line-3 {
    top: 50%;
    height: 1px;
    width: 100%;
    border-radius: 0;
}

.longitude-line {
    height: 100%;
    left: 50%;
    transform: translateX(-50%) rotateY(var(--rotation));
}

.longitude-line.line-1 {
    --rotation: 0deg;
}

.longitude-line.line-2 {
    --rotation: 45deg;
}

.longitude-line.line-3 {
    --rotation: 90deg;
}

.longitude-line.line-4 {
    --rotation: 135deg;
}

/* Continents/Regions */
.continents {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    animation: continentsRotate 20s linear infinite;
}

@keyframes continentsRotate {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

.continent {
    position: absolute;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.continent:hover {
    transform: scale(1.3);
}

/* Positioning continents around the globe */
.continent.europe {
    top: 30%;
    left: 55%;
}

.continent.asia {
    top: 35%;
    left: 70%;
}

.continent.americas {
    top: 40%;
    left: 20%;
}

.continent.africa {
    top: 55%;
    left: 50%;
}

.region-dot {
    width: 12px;
    height: 12px;
    background: #10B981;
    border-radius: 50%;
    box-shadow:
        0 0 20px rgba(16, 185, 129, 0.8),
        0 0 40px rgba(16, 185, 129, 0.4);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

.region-pulse {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid #10B981;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulsateRing 2s ease-out infinite;
}

@keyframes pulsateRing {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Globe Effects */
.globe-glow {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3), transparent 70%);
    animation: glowPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.globe-atmosphere {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
            rgba(52, 211, 153, 0.1),
            rgba(16, 185, 129, 0.05) 50%,
            transparent 70%);
    pointer-events: none;
}

/* ==================== ORBIT RINGS ==================== */
.orbit-ring {
    position: absolute;
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 50%;
    animation: orbitRotate 8s linear infinite;
}

.orbit-ring.ring-1 {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(75deg);
    animation-duration: 6s;
}

.orbit-ring.ring-2 {
    width: 450px;
    height: 450px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateY(60deg) rotateX(15deg);
    animation-duration: 10s;
    animation-direction: reverse;
}

.orbit-ring.ring-3 {
    width: 500px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(45deg) rotateZ(30deg);
    animation-duration: 14s;
}

@keyframes orbitRotate {
    from {
        transform: translate(-50%, -50%) rotateZ(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotateZ(360deg);
    }
}

/* ==================== BRAND ==================== */
.preloader-brand {
    position: absolute;
    bottom: 15%;
    text-align: center;
    z-index: 10;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1rem;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes dotBlink {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.8);
    }
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -1px;
}

.brand-highlight {
    color: #10B981;
    text-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
}

.brand-tagline {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0.5rem 0 1rem;
}

.loading-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.loading-dots .dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    animation: dotBounce 1.4s ease-in-out infinite;
}

.loading-dots .dot:nth-child(1) {
    animation-delay: 0s;
}

.loading-dots .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotBounce {

    0%,
    80%,
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* ==================== FLOATING ICONS ==================== */
.floating-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.float-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10B981;
    font-size: 1.5rem;
    animation: iconFloat 8s ease-in-out infinite;
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-30px) rotate(90deg);
    }

    50% {
        transform: translateY(0) rotate(180deg);
    }

    75% {
        transform: translateY(30px) rotate(270deg);
    }
}

.float-icon.icon-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.float-icon.icon-2 {
    top: 20%;
    right: 10%;
    animation-delay: 2s;
    animation-duration: 10s;
}

.float-icon.icon-3 {
    bottom: 25%;
    left: 15%;
    animation-delay: 4s;
    animation-duration: 12s;
}

.float-icon.icon-4 {
    bottom: 20%;
    right: 15%;
    animation-delay: 6s;
    animation-duration: 9s;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .globe-container {
        width: 250px;
        height: 250px;
    }

    .orbit-ring.ring-1 {
        width: 300px;
        height: 300px;
    }

    .orbit-ring.ring-2 {
        width: 350px;
        height: 350px;
    }

    .orbit-ring.ring-3 {
        width: 400px;
        height: 400px;
    }

    .brand-title {
        font-size: 2rem;
    }

    .float-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .floating-icons {
        display: none;
        /* Hide on mobile for cleaner look */
    }
}

@media (max-width: 480px) {
    .globe-container {
        width: 200px;
        height: 200px;
    }

    .continent {
        width: 30px;
        height: 30px;
    }

    .region-dot {
        width: 8px;
        height: 8px;
    }
}



/* ==================== MAIN HEADER ==================== */
/* .main-header {
    position: sticky;
    top: 0;
    background: rgb(255, 255, 255);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
} */

/* .main-header.scrolled {
    box-shadow: var(--shadow-md);
} */

/* .main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    background-origin: padding-box;
} */

/* Desktop Nav */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    margin-left: 0px;
    gap: 6px;
    padding: 8px 12px;
}

.nav-link:hover {
    background: rgba(16, 185, 129, 0.08);
    color: var(--primary);
}

.nav-link.active {
    color: var(--primary);
}

.nav-badge {
    background: var(--primary);
    color: var(--white);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: var(--radius-full);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(10px);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    min-width: 750px;
    padding: 0;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
    /* invisible bridge */
}

.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.8rem;
    border-radius: var(--radius-md);
}

.dropdown-item:hover {
    background: rgba(16, 185, 129, 0.08);
}

.dropdown-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-size: 1.2rem;
}

.dropdown-item:hover .dropdown-icon {
    background: var(--primary);
    color: var(--white);
}

.dropdown-title {
    font-weight: 600;
    font-size: 0.9rem;
}

.dropdown-desc {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Mega Menu */
.mega-menu {
    width: 750px;
    padding: 0;
}

.mega-menu-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 1.5rem;
}

.mega-col {
    padding: 0 1rem;
}

.mega-col:not(:last-child) {
    border-right: 1px solid var(--gray-100);
}

.mega-col:last-child {
    border-right: none;
}

.mega-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.mega-title i {
    color: var(--primary);
}

.mega-links a {
    display: block;
    padding: 0.4rem 0;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.mega-links a:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

.mega-featured-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.2rem;
    position: relative;
}

.featured-badge {
    display: inline-block;
    background: #10B981;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.mega-featured-card h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.mega-featured-card p {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.featured-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.featured-stats .stat {
    display: flex;
    flex-direction: column;
}

.featured-stats strong {
    font-size: 1.2rem;
}

.featured-stats span {
    font-size: 0.7rem;
    opacity: 0.8;
}

.mega-featured-btn {
    color: var(--white);
    font-weight: 600;
}

.mega-footer {
    background: var(--gray-100);
    padding: 1rem;
    text-align: center;
}

.mega-footer-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Header Actions */
/* .header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
} */

/* .header-icon-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    font-size: 1.2rem;
} */

/* .header-icon-btn:hover {
    background: var(--gray-100);
    color: var(--primary);
} */

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==================== SEARCH OVERLAY ==================== */
/* =====================================================
   ENHANCED SEARCH DROPDOWN STYLES
   ===================================================== */

/* ==================== SEARCH STYLES ==================== */

.search-autocomplete-wrapper {
    position: relative;
    width: 320px;
    margin-left: auto;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.search-box:focus-within {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

#search-input {
    flex: 1;
    padding: 14px 20px 14px 50px;
    border: none;
    outline: none;
    font-size: 15px;
    background: transparent;
    width: 100%;
}

#search-input::placeholder {
    color: #9ca3af;
}

.search-btn {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6366f1;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
}

.search-btn:hover {
    color: #4f46e5;
}

.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-top: 8px;
    max-height: 340px;
    overflow-y: auto;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    display: none;
    z-index: 9999;
    padding: 8px 0;
}

.search-dropdown.show {
    display: block;
}

.suggestion-item {
    padding: 14px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    transition: all 0.2s;
}

.suggestion-item:hover {
    background: #f8fafc;
}

.suggestion-item i {
    color: #6366f1;
    font-size: 18px;
}

.suggestion-highlight {
    color: #6366f1;
    font-weight: 600;
}

/* For mobile responsiveness */
@media (max-width: 992px) {
    .search-autocomplete-wrapper {
        width: 100%;
        margin: 15px 0;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .search-dropdown {
        max-height: 300px;
        border-radius: 8px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    }

    .dropdown-item {
        padding: 0.875rem 1rem;
    }

    .dropdown-item-title {
        font-size: 0.875rem;
        white-space: normal;
        overflow: visible;
        text-overflow: initial;
    }

    .dropdown-item-icon {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .search-dropdown {
        max-height: 250px;
    }

    .dropdown-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .dropdown-no-results {
        padding: 1.5rem 1rem;
    }
}

/* ==================== MOBILE MENU ==================== */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 400;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}


.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 90%;
    max-width: 400px;
    height: 100vh;
    background: var(--white);
    z-index: 500;
    overflow-y: auto;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.mobile-logo .logo-mark {
    width: 56px;
    height: 36px;
    font-size: 1rem;
}

.mobile-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-100);
    font-size: 1.5rem;
}

.mobile-search {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 1.5rem;
    padding: 0.8rem 1rem;
    background: var(--gray-100);
    border-radius: var(--radius-full);
}

.mobile-search input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
}

.mobile-nav {
    flex: 1;
    padding: 0 1rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-md);
    width: 100%;
    text-align: left;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(16, 185, 129, 0.08);
    color: var(--primary);
}

.mobile-nav-link i {
    font-size: 1.2rem;
    width: 24px;
}

.mobile-nav-link .chevron {
    margin-left: auto;
    transition: transform var(--transition);
}

.mobile-dropdown.open .chevron {
    transform: rotate(180deg);
}

.mobile-badge {
    background: var(--primary);
    color: var(--white);
    font-size: 0.65rem;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
}

.mobile-dropdown-content {
    display: none;
    padding-left: 3.5rem;
}

.mobile-dropdown.open .mobile-dropdown-content {
    display: block;
}

.mobile-dropdown-content a {
    display: block;
    padding: 0.6rem 0;
    color: var(--gray-600);
}

.mobile-dropdown-content a:hover {
    color: var(--primary);
}

.mobile-dropdown-content .view-all {
    color: var(--primary);
    font-weight: 600;
}

.mobile-menu-cta {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.mobile-menu-footer {
    padding: 1.5rem;
    background: var(--gray-100);
}

.mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mobile-contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.85rem;
}

.mobile-socials {
    display: flex;
    gap: 0.5rem;
}

.mobile-socials a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    color: var(--gray-600);
}

.mobile-socials a:hover {
    background: var(--primary);
    color: var(--white);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 0;
}

.hero-slides-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.65) 0%,
            rgba(0, 0, 0, 0.35) 60%,
            rgba(0, 0, 0, 0.15) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    text-align: center;
    padding: 2rem;
    color: white;
    animation: heroFadeIn 0.8s ease;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h2 {
    font-family: var(--header-font);
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgb(255, 255, 255);
}

.hero-content p {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    line-height: 1.6;
    opacity: 0.92;
    max-width: 500px;
    margin: 0 auto;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

/* Hero Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.08);
}

.hero-prev {
    left: 2rem;
}

.hero-next {
    right: 2rem;
}

/* Hero Dots */
.hero-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    z-index: 10;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero-dot.active {
    background: white;
    transform: scale(1.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 6rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    transition: var(--transition);
}

.btn-hero-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.5);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 1.1rem 2.3rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    text-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Text Transition Effects */
#hero-tag-text,
#hero-title-line1,
#hero-title-highlight,
#hero-title-line2,
#hero-description {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Remove Side Image (No Longer Needed) */
.hero-image {
    display: none;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero {
        min-height: 100vh;
    }

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

    .carousel-controls {
        padding: 0 1rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding: 0 1rem;
    }

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

    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

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

    .carousel-controls {
        display: none;
    }

    .carousel-indicators {
        bottom: 20px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    .indicator.active {
        width: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

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

    .hero-buttons {
        gap: 0.8rem;
    }
}

/* ==================== STATS SECTION ==================== */
.stats-section {
    background: var(--white);
    padding: 4rem 0;
    border-bottom: 1px solid var(--gray-200);
}

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

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.stat-card .stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ==================== WHY SECTION ==================== */

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-tag {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray-500);
} */

/* ==================== FEATURED JOURNALS ==================== */
.featured-section {
    padding: 5rem 0;
    background: var(--gray-100);
}

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

.journal-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.journal-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.journal-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.journal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.journal-card:hover .journal-image img {
    transform: scale(1.1);
}

.journal-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

/* Category Badges */
.conf-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bg-tech {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.bg-medical {
    background: linear-gradient(135deg, #10b981, #059669);
}

.bg-environmental {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.bg-social {
    background: linear-gradient(135deg, #ec4899, #be185d);
}

.bg-life {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}


.journal-content {
    padding: 1.5rem;
}

.journal-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.journal-content p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.journal-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.journal-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.journal-link {
    color: var(--primary);
    font-weight: 600;
}

.journal-link:hover {
    text-decoration: underline;
}

.section-cta {
    text-align: center;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--dark);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.btn-view-all:hover {
    background: var(--primary);
    color: var(--white);
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 5rem 0;
}

.cta-content {
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.btn-cta-primary:hover {
    background: var(--dark);
    color: var(--white);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
}

/* ==================== NEWSLETTER ==================== */
.newsletter-section {
    background: var(--dark);
    padding: 4rem 0;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.newsletter-text h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 0;
    flex: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--radius-full) 0 0 var(--radius-full);
    font-size: 1rem;
}

.newsletter-form button {
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 0 var(--radius-full) var(--radius-full) 0;
    font-weight: 600;
    cursor: pointer;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

/* ==================== FOOTER ==================== */
.site-footer {
    background: #f8ddd0;
    color: var(--gray-400);
    padding-top: 4rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-mark {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 0.5rem;
}

.footer-social {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.1rem;
}

.footer-social:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-column h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 2px;
}

.footer-contact-item a,
.footer-contact-item span {
    color: var(--gray-400);
}

.footer-contact-item a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copyright {
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    color: var(--white);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {

    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        display: none;
    }

    .stats-grid,
    .journals-grid,
    .how-grid,
    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {

    .top-bar-left span,
    .top-bar-divider {
        display: none;
    }

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

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

    .stats-grid,
    .journals-grid,
    .how-grid,
    .speakers-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        width: 100%;
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        border-radius: var(--radius-full);
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

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

/* ==================== PAGE HERO (All Inner Pages) ==================== */
.page-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--gray-900) 100%);
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: relative;
    text-align: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(16, 185, 129, 0.15), transparent 50%);
}

.page-hero-content {
    position: center;
    text-align: center;
    z-index: 2;
}

.page-tag {
    /* display: inline-block; */
    background: rgba(16, 185, 129, 0.2);
    color: var(--primary);
    padding: 0.4rem 1rem;
    text-align: center;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.page-hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== PUBLICATIONS PAGE ==================== */
.filter-section {
    padding: 0.4rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 70px;
    z-index: 50;
}

.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.filter-search {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--gray-100);
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-full);
    flex: 1;
    max-width: 400px;
}

.filter-search input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 0.95rem;
}

.filter-categories {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    background: var(--gray-100);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
}

.publications-section {
    padding: 4rem 0;
}

.publications-grid {
    display: grid;
    background-color: rgba(0, 0, 0, 0.5);
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.publication-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.publication-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.publication-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.publication-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.publication-card:hover .publication-image img {
    transform: scale(1.1);
}

.publication-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
}

.publication-content {
    padding: 1.5rem;
}

.publication-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.publication-content p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.publication-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.publication-stats span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.publication-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ==================== ABOUT PAGE ==================== */
.about-content-section {
    padding: 5rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

.about-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
}

.about-feature i {
    color: var(--primary);
    font-size: 1.3rem;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
}

.values-section {
    padding: 5rem 0;
    background: var(--gray-100);
}

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

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-md);
    color: var(--primary);
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.value-card:hover .value-icon {
    background: var(--primary);
    color: var(--white);
}

.team-section {
    padding: 5rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.team-card {
    text-align: center;
}

.team-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info h4 {
    margin-bottom: 0.3rem;
}

.team-info span {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
}

.team-info p {
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* ==================== AUTHORS PAGE ==================== */
.steps-section {
    padding: 5rem 0;
}

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

.step-card {
    position: relative;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-md);
    color: var(--primary);
    font-size: 1.8rem;
    margin: 1rem auto;
}

.guidelines-section {
    padding: 5rem 0;
    background: var(--gray-100);
}

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

.guideline-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
}

.guideline-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.guideline-card ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.guideline-card li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--gray-600);
}

.guideline-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* ==================== CONTACT PAGE ==================== */
.contact-section {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.contact-form-wrapper h2 {
    margin-bottom: 2rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
}

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

.btn-submit-form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    align-self: flex-start;
}

.btn-submit-form:hover {
    background: var(--primary-dark);
}

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

.contact-info-card {
    background: var(--gray-100);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-info-card h4 {
    margin-bottom: 0;
}

.contact-info-card a,
.contact-info-card span {
    color: var(--gray-600);
}

/* FAQ */
.faq-section {
    padding: 5rem 0;
    background: var(--gray-100);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    font-weight: 600;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--gray-100);
}

.faq-question i {
    transition: transform var(--transition);
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.5rem;
    color: var(--gray-600);
}

.faq-item.open .faq-answer {
    display: block;
}

/* ==================== JOURNAL PAGE ==================== */
.journal-hero {
    background: linear-gradient(135deg, var(--dark), var(--gray-900));
    padding: 6rem 0 4rem;
}

.journal-hero-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    align-items: start;
}

.journal-cover {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.journal-cover img {
    width: 100%;
}

.journal-info {
    color: var(--white);
}

.journal-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.journal-info h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.journal-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.journal-metrics {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.metric-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.journal-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.journal-indexing {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.indexing-logos {
    display: flex;
    gap: 1rem;
}

.indexing-logos span {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .publications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .journal-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .journal-cover {
        max-width: 200px;
        margin: 0 auto;
    }

    .journal-metrics,
    .journal-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .publications-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Keep 2 per row on mobile as requested */
        gap: 1rem;
    }

    .values-grid,
    .team-grid,
    .steps-grid,
    .guidelines-grid {
        grid-template-columns: 1fr;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 0.1rem;
        padding-bottom: 0.5rem;
        padding-inline: unset !important;
    }

    .filter-search {
        max-width: 100%;
    }

    .filter-categories {
        justify-content: center;

    }

    .form-row {
        grid-template-columns: fr;
    }
}

/* ==================== HEADER PRIMARY BUTTON ==================== */
/* .btn-primary-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary-header:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
} */

/* Mobile CTA */
.btn-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: var(--primary);
    color: var(--white);
    padding: 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.btn-mobile-cta:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.mobile-menu-cta {
    display: none;
}


/* FORCE HIDE HEADER BUTTON - HOMEPAGE */
.header-actions .btn-primary-header {
    display: none !important;
}

/* FORCE HIDE MOBILE MENU CTA BUTTON */
.mobile-menu .btn-mobile-cta {
    display: none !important;
}

/* ==================== HOW IT WORKS SECTION ==================== */
.how-section {
    padding: 5rem 0;
    background: var(--white);
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.how-card {
    position: relative;
    background: var(--bg);
    padding: 2.5rem 2rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.how-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.how-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
}

.how-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-md);
    color: var(--primary);
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.how-card:hover .how-icon {
    background: var(--primary);
    color: var(--white);
}

.how-card h4 {
    margin-bottom: 0.5rem;
}

.how-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin: 0;
}

/* ==================== SPEAKERS SECTION ==================== */
.speakers-section {
    padding: 5rem 0;
    background: var(--gray-100);
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.speaker-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.speaker-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.speaker-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary);
    transition: var(--transition);
}

.speaker-card:hover .speaker-image {
    border-color: var(--primary-dark);
    transform: scale(1.05);
}

.speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-info h4 {
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.speaker-role {
    display: block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
}

.speaker-org {
    display: block;
    color: var(--gray-500);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.speaker-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--gray-400);
}

.speaker-stats span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* ==================== CONFERENCE BADGE ==================== */
.conference-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

/* ==================== RESPONSIVE FOR NEW SECTIONS ==================== */
/* Grid Responsiveness handled in main media queries around line 2340 */

/* ==================== BREADCRUMB ==================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
}

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

.breadcrumb i {
    font-size: 1rem;
}

.breadcrumb span {
    color: var(--primary);
}

/* ==================== NO RESULTS ==================== */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray-400);
}

.no-results i {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

/* ==================== PARTNERS SECTION (About Page) ==================== */
.partners-section {
    padding: 5rem 0;
    background: var(--white);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.partner-card {
    background: var(--gray-100);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid transparent;
    transition: var(--transition);
}

.partner-card:hover {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.partner-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.partner-card h4 {
    margin-bottom: 0.5rem;
}

.partner-card p {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.partner-stat {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

/* ==================== PARTNER SECTION (Contact Page) ==================== */
.partner-section {
    padding: 5rem 0;
    background: var(--white);
}

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

.partner-info-card {
    background: var(--gray-100);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid transparent;
    transition: var(--transition);
}

.partner-info-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.partner-info-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-md);
    color: var(--primary);
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.partner-info-card:hover .partner-info-icon {
    background: var(--primary);
    color: var(--white);
}

.partner-info-card h4 {
    margin-bottom: 0.5rem;
}

.partner-info-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ==================== STANDARDS SECTION (How We Publish Page) ==================== */
.standards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.standard-card {
    background: var(--gray-100);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid transparent;
    transition: var(--transition);
}

.standard-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.standard-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-md);
    color: var(--primary);
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.standard-card:hover .standard-icon {
    background: var(--primary);
    color: var(--white);
}

.standard-card h4 {
    margin-bottom: 0.5rem;
}

.standard-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ==================== STAT COUNT FIX ==================== */
.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    display: inline;
}

/* ==================== PUBLICATION CARD HIDDEN STATE ==================== */
.publication-card.hidden {
    display: none;
}

/* ==================== RESPONSIVE ADDITIONS ==================== */
@media (max-width: 1024px) {

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

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

@media (max-width: 768px) {

    .partners-grid,
    .standards-grid,
    .partner-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== JOURNAL DETAIL PAGE ==================== */

/* About Section */
.journal-about-section {
    padding: 5rem 0;
    background: var(--white);
}

.journal-about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.journal-about-text .section-tag {
    display: inline-block;
    margin-bottom: 1rem;
}

.journal-about-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.journal-about-text p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.journal-scope {
    margin-top: 2rem;
}

.scope-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    list-style: none;
}

.scope-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.scope-list li i {
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Journal Info Box */
.journal-info-box {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--gray-200);
}

.journal-info-box h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary);
    color: var(--primary);
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

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

.info-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
}

.info-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
}

/* Proceedings Section */
.proceedings-section {
    padding: 5rem 0;
    background: var(--gray-100);
}

.proceedings-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.proceeding-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.proceeding-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.proceeding-conference {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* No Proceedings State */

/* Other Journals Grid */
.other-journals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.other-journal-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    display: block;
    color: inherit;
}

.other-journal-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    color: inherit;
    opacity: 1;
}

.other-journal-img {
    height: 140px;
    overflow: hidden;
}

.other-journal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.other-journal-card:hover .other-journal-img img {
    transform: scale(1.08);
}

.other-journal-info {
    padding: 1.25rem;
}

.other-journal-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.5rem;
}

.other-journal-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
    color: var(--dark);
}

.other-journal-info p {
    font-size: 0.8rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .journal-about-grid {
        grid-template-columns: 1fr;
    }

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

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

    .proceeding-card {
        flex-direction: column;
        gap: 1rem;
    }

    .other-journals-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== JOURNAL COVER IMAGE - LARGER ==================== */
.journal-cover {
    width: 100%;
    max-width: 450px;
    min-width: 350px;
}

.journal-cover img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Make the hero grid give more space to the image */
.journal-hero-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 4rem;
    align-items: start;
}

/* Responsive */
@media (max-width: 1024px) {
    .journal-hero-grid {
        grid-template-columns: 1fr;
    }

    .journal-cover {
        max-width: 100%;
        min-width: unset;
    }

    .journal-cover img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .journal-cover img {
        height: 280px;
    }
}

/* ============================================
   PROCEEDING PAGE STYLES
   ============================================ */

/* Breadcrumb */
.breadcrumb-section {
    background: #fad2fc;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #888;
}

.breadcrumb a {
    color: #10B981;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #059669;
}

.breadcrumb span {
    color: #ccc;
    font-size: 16px;
}

/* Proceeding Hero */
.proceeding-hero {
    background: linear-gradient(135deg, #111 0%, #1a1a2e 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.proceeding-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.proceeding-badge-wrap {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.proceeding-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 42px;
    margin: 0 0 15px;
    line-height: 1.2;
}

.proceeding-subtitle {
    font-size: 18px;
    color: #aaa;
    margin-bottom: 25px;
}

.proceeding-meta-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 14px;
    color: #888;
}

.proceeding-meta-row span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.proceeding-meta-row i {
    color: #10B981;
    font-size: 18px;
}

/* Content Grid */
.proceeding-content-section {
    padding: 60px 0;
    background: #f5dec9;
}

.proceeding-grid {
    display: grid;
    grid-template-columns: 2fr 320px;
    gap: 40px;
}

/* Main Content */
.proceeding-main-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.proceeding-main-content h2 i {
    color: #10B981;
}

.proceeding-abstract {
    background: #fff;
    border-left: 4px solid #10B981;
    padding: 30px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 40px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.proceeding-abstract p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

/* Articles List */
.proceeding-articles-list {
    margin-bottom: 40px;
}

.articles-count {
    background: #c1cefa;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 20px;
}

.article-placeholder-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid #eee;
    transition: all 0.3s;
}

.article-placeholder-card:hover {
    border-color: #10B981;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.1);
}

.article-icon {
    width: 50px;
    height: 50px;
    background: #F0FDF4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10B981;
    font-size: 24px;
}

.article-info h4 {
    margin: 0 0 5px;
    font-size: 16px;
    font-family: 'Space Grotesk', sans-serif;
}

.article-info p {
    margin: 0;
    font-size: 13px;
    color: #888;
}

.article-status {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    color: #10B981;
    font-weight: 500;
}

.coming-soon-badge {
    background: #FFF7ED;
    color: #F97316;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.more-articles {
    text-align: center;
    padding: 15px;
    color: #888;
    font-size: 14px;
}

.no-articles {
    text-align: center;
    padding: 40px;
    color: #888;
    font-size: 16px;
}

.no-articles i {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}

/* Actions */
.proceeding-actions {
    margin-top: 30px;
}

/* Sidebar */
.proceeding-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-card {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    margin: 0 0 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-card h3 i {
    color: #10B981;
}

.access-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.access-info li {
    padding: 8px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
}

.access-info li i {
    color: #10B981;
}

.citation-tools .btn {
    margin-bottom: 8px;
}

.btn-full {
    width: 100%;
}

.related-info p {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}

/* Loading Placeholder */
.loading-placeholder {
    text-align: center;
    padding: 40px;
    color: #888;
}

.loading-placeholder i {
    font-size: 32px;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 992px) {
    .proceeding-grid {
        grid-template-columns: 1fr;
    }

    .proceeding-sidebar {
        position: static;
    }

    .proceeding-hero h1 {
        font-size: 28px;
    }

    .proceeding-meta-row {
        flex-wrap: wrap;
        gap: 15px;
    }
}

/* ============================================
   CONFERENCE PAGE STYLES
   ============================================ */
.conference-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.conf-section {
    padding: 4rem 0;
    min-height: 50vh;
}

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

.btn-radiant {
    background: linear-gradient(45deg, #ff007a, #7928ca, #ff007a);
    background-size: 200% auto;
    color: white !important;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(121, 40, 202, 0.4);
    transition: 0.5s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    animation: gradientPulse 3s infinite linear;
    border: none;
    cursor: pointer;
    text-decoration: none;
    margin-left: 1rem;
}

.btn-radiant:hover {
    background-position: right center;
    box-shadow: 0 6px 20px rgba(121, 40, 202, 0.6);
    transform: translateY(-2px);
}

@keyframes gradientPulse {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.conf-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.conf-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.conf-image {
    position: relative;
    height: 250px;
}

.conf-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.conf-card:hover .conf-image img {
    transform: scale(1.05);
}

.conf-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(17, 17, 17, 0.85);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.conf-badge.pulse-badge {
    background: rgba(239, 68, 68, 0.9);
    animation: flash 2s infinite;
}

.conf-badge.upcoming {
    background: rgba(52, 211, 153, 0.9);
}

.conf-badge.past {
    background: rgba(107, 114, 128, 0.9);
}

@keyframes flash {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.conf-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.conf-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
}

.conf-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.conf-meta i {
    color: var(--primary);
    font-size: 1.1rem;
}

.conf-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--dark);
}

.conf-content p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 2rem;
    flex: 1;
}

.conf-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

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

/* =====================================================
   NEW STYLES FOR DYNAMIC SEARCH RESULTS
   ===================================================== */

.search-result-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    color: var(--slate-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: var(--bg);
}

.result-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    margin-right: 1rem;
}

.result-text {
    flex-grow: 1;
}

.result-title {
    display: block;
    font-weight: 600;
    color: var(--slate-darkest);
    margin-bottom: 0.25rem;
}

.result-category {
    font-size: 0.85rem;
    color: var(--slate);
}

.result-arrow {
    font-size: 1.5rem;
    color: var(--slate-light);
    margin-left: 1rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.search-result-item:hover .result-arrow {
    color: var(--primary);
    transform: translateX(5px);
}

.no-search-results {
    padding: 2rem;
    text-align: center;
    color: var(--slate);
}

/* =====================================================
   MOBILE RESPONSIVE ENHANCEMENTS
   ===================================================== */

/* ==================== TABLET & BELOW (1024px) ==================== */
@media (max-width: 1024px) {
    :root {
        --padding: 1.5rem;
    }

    .logo-img {
        height: 70px;
    }

    /* Top Bar Mobile */
    .top-bar {
        font-size: 0.75rem;
        padding: 0.4rem 0;
    }

    .top-bar-left,
    .top-bar-right {
        gap: 1rem;
    }

    .top-bar-social {
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
    }

    /* Header */
    .main-header .container {
        padding-top: 0.3rem;
        padding-bottom: 0.3rem;
    }

    /* Search Bar */
    .nav-controls {
        max-width: 400px;
        margin: 0;
    }

    /* Hero Slider */
    .hero-slider {
        height: 350px;
    }

    .hero-content h2 {
        font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    }

    .hero-arrow {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }

    .hero-prev {
        left: 1rem;
    }

    .hero-next {
        right: 1rem;
    }

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

    /* Newsletter */
    .newsletter-content {
        flex-direction: column;
        gap: 2rem;
    }

    .newsletter-form {
        max-width: 100%;
    }

    /* Footer */
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* ==================== MOBILE (768px) ==================== */
@media (max-width: 768px) {
    :root {
        --padding: 1rem;
    }

    body {
        font-size: 15px;
    }

    /* Top Bar - Hide Less Important Items */
    .top-bar-left span:not(:first-child),
    .top-bar-divider {
        display: none;
    }

    .top-bar {
        font-size: 0.7rem;
    }

    /* Logo */
    .logo-img {
        height: 60px;
    }

    /* Hide Desktop Nav */
    .desktop-nav,
    .nav-controls {
        display: none !important;
    }

    /* Show Hamburger */
    .hamburger {
        display: flex;
    }

    /* Header Actions */
    .header-actions {
        gap: 0.3rem;
    }

    .header-icon-btn {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    /* Hero Slider */
    /* .hero-slider {
        height: 300px;
    } */

    .hero-content {
        padding: 1.5rem 1rem;
    }

    .hero-content h2 {
        font-size: clamp(1.3rem, 3vw, 2rem);
        margin-bottom: 0.75rem;
    }

    .hero-content p {
        font-size: clamp(0.8rem, 1.3vw, 0.9rem);
    }

    .hero-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }

    .hero-prev {
        left: 0.5rem;
    }

    .hero-next {
        right: 0.5rem;
    }

    .hero-buttons {
        margin-bottom: 3rem;
        gap: 0.75rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    /* Stats Section */
    .stats-section {
        padding: 3rem 0;
    }

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

    .stat-card {
        padding: 1.5rem;
    }

    .stat-number,
    .stat-suffix {
        font-size: 2rem;
    }

    /* Section Headers */
    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    /* Featured Journals */
    .featured-section {
        padding: 3rem 0;
    }

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

    /* CTA Section */
    .cta-section {
        padding: 3rem 0;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

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

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
    }

    /* Newsletter */
    .newsletter-section {
        padding: 3rem 0;
    }

    .newsletter-text h3 {
        font-size: 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .newsletter-form input,
    .newsletter-form button {
        border-radius: var(--radius-full);
        width: 100%;
    }

    /* Footer */
    .site-footer {
        padding-top: 3rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 2rem;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 0.75rem;
    }

    /* Back to Top */
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    /* Page Hero */
    .page-hero {
        padding: 4rem 0 3rem;
    }

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

    .page-hero p {
        font-size: 1rem;
    }

    /* Filter Section */
    .filter-section {
        padding: 0.75rem 0;
        top: 60px;
    }

    .filter-bar {
        gap: 1rem;
    }

    .filter-search {
        max-width: 100%;
        padding: 0.7rem 1.2rem;
    }

    /* Publications Grid */
    .publications-section {
        padding: 3rem 0;
    }

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

    /* About Page */
    .about-content-section {
        padding: 3rem 0;
    }

    .about-grid {
        gap: 2rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    /* Values & Team */
    .values-section,
    .team-section {
        padding: 3rem 0;
    }

    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    /* Steps & Guidelines */
    .steps-section,
    .guidelines-section {
        padding: 3rem 0;
    }

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

    /* Contact */
    .contact-section {
        padding: 3rem 0;
    }

    .contact-grid {
        gap: 2rem;
    }

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

    /* FAQ */
    .faq-section {
        padding: 3rem 0;
    }

    /* How It Works */
    .how-section {
        padding: 3rem 0;
    }

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

    /* Speakers */
    .speakers-section {
        padding: 3rem 0;
    }

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

    /* Partners */
    .partners-section {
        padding: 3rem 0;
    }

    .partners-grid,
    .partner-grid {
        grid-template-columns: 1fr;
    }

    /* Standards */
    .standards-grid {
        grid-template-columns: 1fr;
    }

    /* Journal Detail */
    .journal-hero {
        padding: 4rem 0 3rem;
    }

    .journal-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .journal-cover {
        max-width: 300px;
        margin: 0 auto;
    }

    .journal-cover img {
        height: 280px;
    }

    .journal-info h1 {
        font-size: 2rem;
    }

    .journal-metrics,
    .journal-actions {
        justify-content: center;
    }

    .journal-about-section {
        padding: 3rem 0;
    }

    .journal-about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .scope-list {
        grid-template-columns: 1fr;
    }

    .proceedings-section {
        padding: 3rem 0;
    }

    .proceeding-card {
        flex-direction: column;
        gap: 1rem;
    }

    .other-journals-grid {
        grid-template-columns: 1fr;
    }

    /* Conference */
    .conf-section {
        padding: 3rem 0;
    }

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

    /* Proceeding Page */
    .proceeding-hero {
        padding: 40px 0;
    }

    .proceeding-hero h1 {
        font-size: 28px;
    }

    .proceeding-meta-row {
        flex-wrap: wrap;
        gap: 15px;
    }

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

    .proceeding-sidebar {
        position: static;
    }
}

/* ==================== SMALL MOBILE (480px) ==================== */
@media (max-width: 480px) {
    :root {
        --padding: 0.875rem;
    }

    body {
        font-size: 14px;
    }

    /* Top Bar */
    .top-bar {
        padding: 0.3rem 0;
    }

    .top-bar-right {
        gap: 0.5rem;
    }

    .top-bar-social {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }

    /* Logo */
    .logo-img {
        height: 50px;
    }

    /* Header */
    .header-icon-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    /* Hero Slider */
    /* .hero-slider {
        height: 250px;
    } */

    .hero-content h2 {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .hero-content p {
        font-size: 0.75rem;
    }

    .hero-arrow {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }

    .hero-dot {
        width: 8px;
        height: 8px;
    }

    .hero-buttons {
        margin-bottom: 2rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }

    /* Stats */
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .stat-number,
    .stat-suffix {
        font-size: 1.8rem;
    }

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

    /* Section Headers */
    .section-tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

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

    /* Journal Cards */
    .journal-image {
        height: 160px;
    }

    .journal-content {
        padding: 1.2rem;
    }

    .journal-content h3 {
        font-size: 1.05rem;
    }

    /* CTA */
    .cta-content h2 {
        font-size: 1.5rem;
    }

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

    /* Newsletter */
    .newsletter-text h3 {
        font-size: 1.3rem;
    }

    .newsletter-form input {
        padding: 0.85rem 1.2rem;
        font-size: 0.9rem;
    }

    .newsletter-form button {
        padding: 0.85rem 1.5rem;
    }

    /* Footer */
    .footer-logo .logo-mark {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .footer-description {
        font-size: 0.85rem;
    }

    .footer-social {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    /* Page Hero */
    .page-hero {
        padding: 3rem 0 2rem;
    }

    .page-hero h1 {
        font-size: 1.6rem;
    }

    .page-hero p {
        font-size: 0.9rem;
    }

    /* Filter */
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    /* Publication Cards */
    .publication-image {
        height: 150px;
    }

    .publication-content {
        padding: 1.2rem;
    }

    .publication-content h3 {
        font-size: 1rem;
    }

    /* About */
    .about-text h2 {
        font-size: 1.6rem;
    }

    /* Value Cards */
    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    /* Team */
    .team-image {
        width: 120px;
        height: 120px;
    }

    /* Steps */
    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    /* Contact */
    .contact-info-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    /* Journal Detail */
    .journal-cover img {
        height: 240px;
    }

    .journal-info h1 {
        font-size: 1.6rem;
    }

    .metric-value {
        font-size: 1.6rem;
    }

    /* Proceeding */
    .proceeding-hero h1 {
        font-size: 22px;
    }

    .proceeding-subtitle {
        font-size: 15px;
    }

    .article-placeholder-card {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Conference */
    .conf-image {
        height: 200px;
    }

    .conf-content {
        padding: 1.5rem;
    }

    .conf-content h3 {
        font-size: 1.2rem;
    }

    .btn-radiant {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
        margin-left: 0;
        margin-top: 1rem;
    }

    /* Mobile Menu */
    .mobile-menu {
        width: 100%;
        max-width: 100%;
    }

    .mobile-search {
        margin: 1rem;
        padding: 0.7rem 0.9rem;
    }

    .mobile-nav-link {
        padding: 0.85rem;
        font-size: 0.95rem;
    }
}

/* ==================== LANDSCAPE MOBILE FIX ==================== */
@media (max-width: 900px) and (max-height: 500px) {
    /* .hero-slider {
        height: 80vh;
    } */

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero-buttons {
        margin-bottom: 2rem;
    }
}

/* ==================== TOUCH DEVICE OPTIMIZATIONS ==================== */
@media (hover: none) and (pointer: coarse) {

    /* Increase tap targets */
    .nav-link,
    .filter-btn,
    .btn-primary-header {
        min-height: 44px;
        min-width: 44px;
    }

    /* Remove hover effects on touch devices */
    .journal-card:hover,
    .publication-card:hover,
    .conf-card:hover {
        transform: none;
    }

    /* Prevent accidental zooming */
    input,
    select,
    textarea {
        font-size: 16px !important;
    }
}


/* ==================== STATS SECTION FIXES ==================== */
.stats-section {
    overflow: hidden;
    max-width: 100vw;
}

.stats-grid {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.stat-card {
    max-width: 100%;
    box-sizing: border-box;
}

/* ==================== CONTENT SECTIONS FIXES ==================== */
.featured-section,
.cta-section,
.newsletter-section,
.about-content-section,
.values-section,
.team-section,
.steps-section,
.guidelines-section,
.contact-section,
.faq-section,
.how-section,
.speakers-section,
.partners-section,
.proceedings-section,
.publications-section,
.journal-about-section,
.conf-section {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

/* All Grids */
.journals-grid,
.publications-grid,
.stats-grid,
.values-grid,
.team-grid,
.steps-grid,
.guidelines-grid,
.partners-grid,
.partner-grid,
.standards-grid,
.how-grid,
.speakers-grid,
.about-grid,
.contact-grid,
.journal-about-grid,
.proceedings-list,
.other-journals-grid,
.conf-grid,
.faq-grid {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* All Cards */
.journal-card,
.publication-card,
.stat-card,
.value-card,
.team-card,
.step-card,
.guideline-card,
.partner-card,
.partner-info-card,
.standard-card,
.how-card,
.speaker-card,
.contact-info-card,
.proceeding-card,
.other-journal-card,
.conf-card,
.faq-item {
    max-width: 100%;
    box-sizing: border-box;
}

/* Images */
.journal-image img,
.publication-image img,
.about-image img,
.team-image img,
.speaker-image img,
.conf-image img,
.journal-cover img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* ==================== FILTER SECTION FIXES ==================== */
.filter-section {
    overflow-x: hidden;
    max-width: 100vw;
}

.filter-bar {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.filter-search {
    max-width: 100%;
    box-sizing: border-box;
}

.filter-categories {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.filter-categories::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

@media (max-width: 768px) {
    .filter-bar {
        padding: 0 0.5rem;
    }

    .filter-categories {
        justify-content: flex-start;
        padding: 0.5rem 0;
    }

    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* ==================== CTA & NEWSLETTER FIXES ==================== */
.cta-content,
.newsletter-content {
    max-width: 100%;
    box-sizing: border-box;
}

.cta-buttons,
.newsletter-form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .newsletter-form input {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* ==================== FOOTER FIXES ==================== */
.site-footer {
    overflow-x: hidden;
    max-width: 100vw;
}

.footer-main,
.footer-bottom {
    max-width: 100%;
    overflow: hidden;
}

.footer-column {
    max-width: 100%;
    box-sizing: border-box;
}

.footer-links {
    max-width: 100%;
}

@media (max-width: 768px) {
    .footer-bottom .container {
        width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }
}

/* ==================== MOBILE MENU FIXES ==================== */
.mobile-menu {
    max-width: 100vw;
    overflow-x: hidden;
}

.mobile-menu-header,
.mobile-search,
.mobile-nav,
.mobile-menu-cta,
.mobile-menu-footer {
    max-width: 100%;
    box-sizing: border-box;
}

/* ==================== PAGE HERO FIXES ==================== */
.page-hero {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

.page-hero-content {
    max-width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.page-hero h1 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.breadcrumb {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ==================== JOURNAL DETAIL PAGE FIXES ==================== */
.journal-hero {
    overflow-x: hidden;
    max-width: 100vw;
}

.journal-hero-grid {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.journal-info {
    max-width: 100%;
    box-sizing: border-box;
}

.journal-metrics,
.journal-actions {
    max-width: 100%;
    flex-wrap: wrap;
}

.journal-info h1 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .journal-cover {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .journal-metrics {
        gap: 1rem;
        justify-content: center;
    }

    .journal-actions {
        gap: 0.75rem;
        flex-direction: column;
        align-items: stretch;
    }

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

/* ==================== PROCEEDING PAGE FIXES ==================== */
.proceeding-hero,
.proceeding-content-section {
    overflow-x: hidden;
    max-width: 100vw;
}

.proceeding-grid {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.proceeding-main-content,
.proceeding-sidebar {
    max-width: 100%;
    box-sizing: border-box;
}

.article-placeholder-card {
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .proceeding-meta-row {
        width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }

    .proceeding-badge-wrap {
        flex-wrap: wrap;
    }
}

/* ==================== CONFERENCE PAGE FIXES ==================== */
.conf-card {
    max-width: 100%;
    box-sizing: border-box;
}

.conf-content {
    max-width: 100%;
}

.conf-actions {
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .btn-radiant {
        width: 100%;
        margin: 0;
        box-sizing: border-box;
    }
}

/* ==================== FORM FIXES ==================== */
.contact-form,
.newsletter-form {
    max-width: 100%;
}

.form-row {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-group {
    max-width: 100%;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* ==================== SEARCH OVERLAY FIXES ==================== */
.search-dropdown {
    max-width: calc(100vw - 2rem);
    left: 1rem;
    right: 1rem;
}

.dropdown-item {
    max-width: 100%;
    box-sizing: border-box;
}

/* ==================== TABLE/RESPONSIVE CONTENT FIXES ==================== */
table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

@media (max-width: 768px) {
    table {
        font-size: 0.85rem;
    }
}

/* ==================== MEGA MENU FIXES ==================== */
@media (max-width: 768px) {
    .mega-menu {
        width: 100%;
        max-width: calc(100vw - 2rem);
    }

    .mega-menu-inner {
        grid-template-columns: 1fr;
    }
}

/* ==================== IMAGE GALLERY FIXES ==================== */
.journal-image,
.publication-image,
.conf-image,
.other-journal-img {
    overflow: hidden;
    max-width: 100%;
}

/* ==================== TEXT OVERFLOW PREVENTION ==================== */
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
li {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Long URLs and email addresses */
a[href^="mailto:"],
a[href^="http"] {
    word-break: break-all;
}

/* ==================== MOBILE SPECIFIC OVERFLOW FIXES ==================== */
@media (max-width: 768px) {

    /* Ensure all sections are contained */
    section {
        overflow-x: hidden;
        max-width: 100vw;
    }

    /* Container padding adjustment */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Remove negative margins that might cause overflow */
    * {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Fix for flex items */
    .hero-buttons,
    .cta-buttons,
    .journal-actions,
    .journal-metrics,
    .conf-actions {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Button fixes */
    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-cta-primary,
    .btn-cta-secondary,
    .btn-view-all,
    .btn-mobile-cta,
    .btn-primary-header {
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* ==================== SMALL MOBILE SPECIFIC (480px) ==================== */
@media (max-width: 480px) {

    /* Force maximum container constraint */
    .container {
        max-width: 100vw;
        padding-left: 0.875rem;
        padding-right: 0.875rem;
        overflow-x: hidden;
    }

    /* Hero content specific */
    .hero-content {
        padding: 1.5rem 0.875rem;
    }

    /* Page hero specific */
    .page-hero-content {
        padding: 0 0.875rem;
    }

    /* All cards padding adjustment */
    .journal-card,
    .publication-card,
    .value-card,
    .step-card,
    .guideline-card {
        padding: 1rem 0.875rem;
    }

    /* Form inputs */
    .form-group input,
    .form-group select,
    .form-group textarea,
    .newsletter-form input,
    .filter-search input {
        width: 100%;
        max-width: 100%;
        font-size: 16px;
        /* Prevent zoom on iOS */
    }
}

/* ==================== LANDSCAPE MODE FIX ==================== */
@media (max-width: 900px) and (orientation: landscape) {
    /* .hero-slider {
        max-height: 70vh;
        overflow: hidden;
    } */

    .hero-content {
        padding: 1rem;
    }
}

/* ==================== IFRAME & EMBED FIXES ==================== */
iframe,
embed,
object,
video {
    max-width: 100%;
    height: auto;
}

/* ==================== PRE & CODE FIXES ==================== */
pre,
code {
    max-width: 100%;
    overflow-x: auto;
    word-wrap: break-word;
    white-space: pre-wrap;
}

/* ==================== SAFETY NET - FORCE CONSTRAINT ==================== */
@media (max-width: 768px) {

    /* Absolutely force everything to stay within viewport */
    * {
        max-width: 100vw !important;
    }

    /* Exception for properly contained elements */
    .container>*,
    .hero-content>*,
    .page-hero-content>*,
    section>.container>* {
        max-width: 100% !important;
    }
}

/* ==================== DEBUGGING HELPER (Remove in production) ==================== */

/* @media (max-width: 768px) {
    * {
        outline: 1px solid red;
    }
    
    *:hover {
        outline: 2px solid blue;
    }
} */
/* =====================================================
   Z-INDEX FIX - PREVENT HERO SLIDER OVERLAP
   ===================================================== */

/* ==================== HEADER Z-INDEX ==================== */
.top-bar {
    position: relative;
    z-index: 200;
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    /* Increased from 100 */
    background: rgb(255, 255, 255);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* ==================== DROPDOWN MENUS Z-INDEX ==================== */
/* .dropdown-menu {
    position: absolute;
    z-index: 2000; */
/* Higher than header */
/* } */
/* 
.mega-menu {
    z-index: 2000;
} */

/* Search Dropdown */
/* .search-dropdown {
    position: absolute;
    z-index: 9999;
}

.search-autocomplete-wrapper {
    position: relative;
    z-index: 100;
} */

/* ==================== HERO SLIDER Z-INDEX ==================== */
/* .hero-slider {
    position: relative;
    z-index: 1; 
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 0;
}

.hero-slide {
    position: relative;
    z-index: 1; 
}

.hero-slide::before {
    position: absolute;
    z-index: 2;
} */

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-arrow {
    position: absolute;
    z-index: 10;
    /* Above content but below header */
}

.hero-dots {
    position: absolute;
    z-index: 10;
}

/* ==================== MOBILE MENU Z-INDEX ==================== */
.mobile-overlay {
    position: fixed;
    z-index: 400;
}

.mobile-menu {
    position: fixed;
    z-index: 500;
}

/* ==================== PRELOADER Z-INDEX ==================== */
.preloader {
    position: fixed;
    z-index: 99999;
    /* Highest - covers everything */
}

/* ==================== BACK TO TOP Z-INDEX ==================== */
.back-to-top {
    position: fixed;
    z-index: 100;
}

/* ==================== ENSURE PROPER STACKING ==================== */
/* Create stacking context for header */
.main-header .container {
    position: relative;
    z-index: 1;
}

/* Navigation dropdowns */
.nav-dropdown {
    position: relative;
    z-index: auto;
}

.nav-dropdown:hover .dropdown-menu {
    z-index: 2000;
}

/* ==================== MOBILE FIXES ==================== */
@media (max-width: 768px) {
    .main-header {
        z-index: 1000;
    }

    /* .hero-slider {
        z-index: 1;
        margin-top: 0;
    } */

    /* Ensure mobile menu is above everything except preloader */
    .mobile-menu {
        z-index: 5000;
    }

    .mobile-overlay {
        z-index: 4000;
    }
}

/* ==================== FILTER SECTION Z-INDEX ==================== */
.filter-section {
    position: sticky;
    top: 70px;
    z-index: 50;
    /* Below header but above content */
    background: var(--white);
}

/* ==================== PAGE SECTIONS Z-INDEX ==================== */
/* Ensure all page sections are below header */
.stats-section,
.featured-section,
.cta-section,
.newsletter-section,
.about-content-section,
.values-section,
.team-section,
.steps-section,
.guidelines-section,
.contact-section,
.faq-section,
.how-section,
.speakers-section,
.partners-section,
.proceedings-section,
.publications-section,
.journal-about-section,
.conf-section {
    position: relative;
    z-index: 1;
}

/* =====================================================
   HEADER SPACING & LOGO FIX
   ===================================================== */

/* ==================== MAIN HEADER OPTIMIZATION ==================== */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgb(255, 255, 255);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    overflow: visible;
    /* Allow dropdowns */
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    gap: 1rem;
    /* Add gap between logo and nav */
    overflow: visible;
    height: auto;
    min-height: 70px;
    /* Fixed minimum height */
}

/* ==================== LOGO OPTIMIZATION ==================== */
.logo-img {
    height: 65px;
    /* Reduced from 90px */
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    /* Prevent logo from shrinking */
}

/* ==================== DESKTOP NAV SPACING ==================== */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* Increased from 0.25rem */
    margin-left: 1.5rem;
    /* Add space after logo */
    overflow: visible;
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.6rem 1rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    border-radius: var(--radius-sm);
    white-space: nowrap;
    /* Prevent text wrapping */
}

/* ==================== SEARCH CONTROLS OPTIMIZATION ==================== */
.nav-controls {
    flex-grow: 1;
    max-width: 450px;
    /* Reduced from 500px */
    margin: 0 1rem;
    /* Reduced from 2rem */
    overflow: visible;
}

.integrated-access-bar {
    display: flex;
    align-items: center;
    background: var(--bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 0.2rem;
    /* Reduced from 0.25rem */
    padding-left: 0.8rem;
    /* Reduced from 1rem */
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all var(--transition);
    overflow: visible;
}

.search-section {
    display: flex;
    align-items: center;
    flex-grow: 1;
    overflow: visible;
}

.search-icon-ui {
    color: var(--slate);
    font-size: 1.1rem;
    /* Reduced from 1.2rem */
}

#journal-search-trigger,
#journal-search {
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
    padding: 0.5rem 0.6rem;
    /* Reduced from 0.6rem 0.8rem */
    font-size: 0.875rem;
    /* Reduced from 0.95rem */
    color: var(--slate-dark);
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#journal-search-trigger::placeholder,
#journal-search::placeholder {
    color: var(--slate);
    font-size: 0.85rem;
    /* Smaller placeholder */
}

.access-divider {
    width: 1px;
    height: 20px;
    /* Reduced from 24px */
    background: var(--border-color);
    margin: 0 0.4rem;
    /* Reduced from 0.5rem */
}

.nav-btn.journal-articles-btn {
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-full);
    padding: 0.4rem 0.8rem;
    /* Reduced from 0.5rem 1rem */
    font-size: 0.75rem;
    /* Reduced from 0.8rem */
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* ==================== HEADER ACTIONS OPTIMIZATION ==================== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    /* Reduced from 0.5rem */
    overflow: visible;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.header-icon-btn {
    width: 40px;
    /* Reduced from 44px */
    height: 40px;
    /* Reduced from 44px */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    /* Reduced from 1.2rem */
    flex-shrink: 0;
}

.header-icon-btn:hover {
    background: var(--gray-100);
    color: var(--primary);
}

/* ==================== REMOVE SCROLLBAR FROM HEADER ==================== */
.main-header {
    overflow: visible;
    /* Changed from hidden to allow dropdowns */
}

.main-header .container {
    overflow: visible;
    /* Allow dropdowns to show */
}

.top-bar,
.main-header {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.top-bar::-webkit-scrollbar,
.main-header::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

/* ==================== RESPONSIVE HEADER ==================== */

/* Tablet */
@media (max-width: 1024px) {
    .logo-img {
        height: 55px;
        /* Reduced */
    }

    .main-header .container {
        padding-top: 0.4rem;
        padding-bottom: 0.4rem;
        min-height: 60px;
        gap: 0.75rem;
    }

    .nav-controls {
        max-width: 350px;
        margin: 0 0.75rem;
    }

    .desktop-nav {
        margin-left: 1rem;
        gap: 0.3rem;
    }

    .nav-link {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .logo-img {
        height: 50px;
        /* Reduced */
    }

    .main-header .container {
        padding-top: 0.4rem;
        padding-bottom: 0.4rem;
        min-height: 60px;
        gap: 0.5rem;
    }

    /* Hide desktop nav and search on mobile */
    .desktop-nav,
    .nav-controls,
    .search-autocomplete-wrapper,
    .search-trigger {
        display: none !important;
    }

    /* Show hamburger */
    .hamburger {
        display: flex !important;
        align-items: center;
        gap: 10px;
        background: var(--gray-100);
        padding: 8px 15px;
        border-radius: var(--radius-full);
        margin-left: auto;
    }

    .hamburger::after {
        content: "MENU";
        font-family: var(--font-heading);
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 1px;
        color: var(--dark);
    }

    .header-actions {
        display: none !important; /* Hide other header actions to make room for Menu in place of search */
    }

    .header-icon-btn {
        width: 38px;
        height: 38px;
        font-size: 1.05rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .logo-img {
        height: 45px;
        /* Further reduced */
    }

    .main-header .container {
        padding-top: 0.3rem;
        padding-bottom: 0.3rem;
        min-height: 55px;
        gap: 0.4rem;
    }

    .header-icon-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .header-actions {
        gap: 0.25rem;
    }
}

/* ==================== TOP BAR OPTIMIZATION ==================== */
.top-bar {
    background: var(--primary);
    color: var(--white);
    padding: 0.4rem 0;
    /* Reduced from 0.5rem */
    font-size: 0.8rem;
    /* Reduced from 0.85rem */
    overflow: hidden;
}

.top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    /* Reduced from 1.5rem */
    overflow: visible;
}

.top-bar-social {
    width: 28px;
    /* Reduced from 30px */
    height: 28px;
    /* Reduced from 30px */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    font-size: 0.85rem;
    /* Reduced from 0.9rem */
}

/* ==================== COMPACT HEADER VARIANT (Optional) ==================== */
.main-header.compact {
    min-height: 60px;
}

.main-header.compact .logo-img {
    height: 55px;
}

.main-header.compact .container {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

/* ==================== HAMBURGER MENU ==================== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    /* Reduced from 5px */
    padding: 0.4rem;
    /* Reduced from 0.5rem */
    cursor: pointer;
}

.hamburger-line {
    width: 22px;
    /* Reduced from 24px */
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
    border-radius: 2px;
}

/* ==================== SCROLLED HEADER STATE ==================== */
.main-header.scrolled {
    box-shadow: var(--shadow-md);
}

.main-header.scrolled .logo-img {
    height: 60px;
    /* Slightly smaller when scrolled */
    transition: height 0.3s ease;
}

/* ==================== FLEX ALIGNMENT FIX ==================== */
.main-header .container>* {
    flex-shrink: 0;
    /* Prevent items from shrinking unexpectedly */
}

.desktop-nav {
    flex-shrink: 1;
    /* Allow nav to shrink if needed */
}

.nav-controls {
    flex-shrink: 1;
    /* Allow search to shrink if needed */
}

/* ==================== PREVENT OVERFLOW ==================== */
.main-header,
.main-header .container,
.desktop-nav,
.nav-controls,
.header-actions {
    max-width: 100%;
    box-sizing: border-box;
}

/* =====================================================
   ABSOLUTE HORIZONTAL SCROLL PREVENTION
   ===================================================== */

/* ==================== GLOBAL OVERFLOW FIX ==================== */
html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* Force all elements to respect viewport width */
* {
    max-width: 100%;
}

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

/* ==================== CONTAINER FIX ==================== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--padding);
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* ==================== PRELOADER FIX ==================== */
.preloader {
    position: fixed;
    inset: 0;
    width: 100vw;
    max-width: 100%;
    overflow: hidden;
}

.preloader-scene,
.particles-bg,
.floating-icons {
    max-width: 100vw;
    overflow: hidden;
}

.globe-container {
    max-width: 90vw;
    margin: 0 auto;
}

/* Hide orbit rings on all devices to prevent overflow */
.orbit-ring {
    display: none;
}

@media (min-width: 1200px) {
    .orbit-ring {
        display: block;
    }
}

/* ==================== HEADER ABSOLUTE FIX ==================== */
.top-bar {
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.top-bar .container {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgb(255, 255, 255);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    overflow: visible;
    /* Allow dropdowns but prevent horizontal scroll */
    width: 100%;
    max-width: 100vw;
}

.main-header .container {
    overflow: visible;
    /* For dropdowns */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Ensure nav doesn't overflow */
.desktop-nav {
    overflow: visible;
    flex-wrap: nowrap;
}

/* Prevent search from causing overflow */
.nav-controls {
    overflow: visible;
    max-width: 100%;
}

.integrated-access-bar {
    overflow: visible;
    max-width: 100%;
}

.search-autocomplete-wrapper {
    position: relative;
    overflow: visible;
    max-width: 100%;
}

/* ==================== HERO SLIDER ABSOLUTE FIX ==================== */
/* .hero-slider {
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-slides-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.hero-slide {
    min-width: 100%;
    max-width: 100%;
    width: 100%;
} */

.hero-content {
    max-width: 100%;
    padding: 2rem 1rem;
    box-sizing: border-box;
}

.hero-content h2,
.hero-content p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

/* ==================== ALL SECTIONS FIX ==================== */
section,
.stats-section,
.featured-section,
.cta-section,
.newsletter-section,
.about-content-section,
.values-section,
.team-section,
.steps-section,
.guidelines-section,
.contact-section,
.faq-section,
.how-section,
.speakers-section,
.partners-section,
.proceedings-section,
.publications-section,
.journal-about-section,
.conf-section,
.page-hero,
.filter-section {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* ==================== ALL GRIDS FIX ==================== */
.journals-grid,
.publications-grid,
.stats-grid,
.values-grid,
.team-grid,
.steps-grid,
.guidelines-grid,
.partners-grid,
.partner-grid,
.standards-grid,
.how-grid,
.speakers-grid,
.about-grid,
.contact-grid,
.journal-about-grid,
.proceedings-list,
.other-journals-grid,
.conf-grid,
.faq-grid {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
}

/* ==================== ALL CARDS FIX ==================== */
.journal-card,
.publication-card,
.stat-card,
.value-card,
.team-card,
.step-card,
.guideline-card,
.partner-card,
.partner-info-card,
.standard-card,
.how-card,
.speaker-card,
.contact-info-card,
.proceeding-card,
.other-journal-card,
.conf-card,
.faq-item {
    max-width: 100%;
    box-sizing: border-box;
}

/* ==================== IMAGES FIX ==================== */
img,
.journal-image img,
.publication-image img,
.about-image img,
.team-image img,
.speaker-image img,
.conf-image img,
.journal-cover img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==================== BUTTONS & ACTIONS FIX ==================== */
.hero-buttons,
.cta-buttons,
.journal-actions,
.journal-metrics,
.conf-actions {
    max-width: 100%;
    box-sizing: border-box;
}

.btn-hero-primary,
.btn-hero-secondary,
.btn-cta-primary,
.btn-cta-secondary,
.btn-view-all,
.btn-mobile-cta,
.btn-primary-header,
.btn-radiant {
    max-width: 100%;
    box-sizing: border-box;
}

/* ==================== FOOTER FIX ==================== */
.site-footer {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.footer-main,
.footer-bottom {
    overflow: hidden;
    max-width: 100%;
}

/* ==================== MOBILE MENU FIX ==================== */
.mobile-menu {
    max-width: 100vw;
    overflow-x: hidden;
}

.mobile-overlay {
    max-width: 100vw;
    overflow: hidden;
}

/* ==================== FORMS FIX ==================== */
.contact-form,
.newsletter-form,
.form-row,
.form-group {
    max-width: 100%;
    box-sizing: border-box;
}

.form-group input,
.form-group select,
.form-group textarea,
.newsletter-form input,
.filter-search input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* ==================== TEXT OVERFLOW FIX ==================== */
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
li,
.dropdown-item-title,
.result-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

/* ==================== TABLE FIX ==================== */
table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

/* ==================== IFRAME & EMBED FIX ==================== */
iframe,
embed,
object,
video {
    max-width: 100%;
    height: auto;
}

/* ==================== CODE & PRE FIX ==================== */
pre,
code {
    max-width: 100%;
    overflow-x: auto;
    word-wrap: break-word;
    white-space: pre-wrap;
}

/* ==================== MOBILE SPECIFIC (768px and below) ==================== */
@media (max-width: 768px) {

    /* Force viewport constraint */
    html,
    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
    }

    /* Container safety */
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Remove all negative margins */
    * {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Grid adjustments */
    .journals-grid,
    .publications-grid,
    .stats-grid,
    .values-grid,
    .team-grid,
    .steps-grid,
    .guidelines-grid,
    .partners-grid,
    .partner-grid,
    .standards-grid,
    .how-grid,
    .speakers-grid,
    .conf-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Full width buttons */
    .hero-buttons,
    .cta-buttons,
    .journal-actions {
        flex-direction: column;
        width: 100% !important;
    }

    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Hero slider mobile */
    .hero-slider {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .hero-content {
        padding: 1.5rem 1rem !important;
        width: 100% !important;
    }

    /* Filter section mobile */
    .filter-bar {
        flex-direction: column;
        padding: 0.5rem 1rem !important;
        width: 100% !important;
    }

    .filter-search {
        width: 100% !important;
        max-width: 100% !important;
    }

    .filter-categories {
        width: 100% !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Newsletter mobile */
    .newsletter-form {
        flex-direction: column !important;
        width: 100% !important;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100% !important;
        border-radius: var(--radius-full) !important;
    }

    /* Footer mobile */
    .footer-main {
        grid-template-columns: 1fr !important;
    }

    .footer-bottom .container {
        flex-direction: column;
        width: 100% !important;
    }

    /* Cards mobile */
    .journal-card,
    .publication-card,
    .conf-card,
    .value-card {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Search dropdown mobile */
    .search-dropdown {
        left: 1rem !important;
        right: 1rem !important;
        max-width: calc(100vw - 2rem) !important;
    }

    /* Mega menu mobile */
    .mega-menu {
        display: none !important;
    }

    /* Proceeding page mobile */
    .proceeding-grid {
        grid-template-columns: 1fr !important;
    }

    .proceeding-meta-row {
        flex-wrap: wrap;
        width: 100% !important;
    }

    /* Journal hero mobile */
    .journal-hero-grid {
        grid-template-columns: 1fr !important;
    }

    .journal-metrics {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* About grid mobile */
    .about-grid,
    .contact-grid,
    .journal-about-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==================== SMALL MOBILE (480px and below) ==================== */
@media (max-width: 480px) {

    /* Extra safety for small screens */
    html,
    body {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    .container {
        padding-left: 0.875rem !important;
        padding-right: 0.875rem !important;
    }

    /* Hero content */
    .hero-content {
        padding: 1rem 0.875rem !important;
    }

    /* All cards */
    .journal-card,
    .publication-card,
    .value-card,
    .step-card {
        padding: 1rem !important;
    }

    /* Forms */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px !important;
        /* Prevent zoom on iOS */
    }

    /* Buttons */
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 0.75rem 1rem !important;
        font-size: 0.85rem !important;
    }
}

/* ==================== SAFETY NET - FORCE EVERYTHING ==================== */
@media (max-width: 768px) {

    /* Nuclear option - force everything within viewport */
    * {
        max-width: 100vw !important;
    }

    /* But allow properly contained children */
    .container *,
    section>.container>* {
        max-width: 100% !important;
    }

    /* Ensure no element creates horizontal scroll */
    body>* {
        max-width: 100vw !important;
    }
}

/* ==================== HIDE HORIZONTAL SCROLLBAR ==================== */
/* Even if content tries to overflow, hide the scrollbar */
html::-webkit-scrollbar-track:horizontal,
body::-webkit-scrollbar-track:horizontal {
    display: none;
}

html::-webkit-scrollbar:horizontal,
body::-webkit-scrollbar:horizontal {
    display: none;
    height: 0;
}

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

/* Prevent horizontal scroll in Firefox */
@-moz-document url-prefix() {

    html,
    body {
        overflow-x: hidden !important;
    }
}

/* ==================== DEBUGGING (REMOVE IN PRODUCTION) ==================== */
/* Uncomment to find overflow culprits */
/*
@media (max-width: 768px) {
    * {
        outline: 1px solid red !important;
    }
    
    *:hover {
        outline: 2px solid blue !important;
    }
}
*/

/* ==================== SPECIFIC ELEMENT FIXES ==================== */

/* Fix specific elements that commonly cause overflow */

/* Navigation */
.desktop-nav {
    max-width: 100%;
    overflow: visible;
}

/* Top bar links */
.top-bar-left,
.top-bar-right {
    max-width: 100%;
    overflow: visible;
}

/* Hero arrows */
.hero-arrow {
    max-width: 52px;
}

.hero-prev {
    left: 0.5rem;
}

.hero-next {
    right: 0.5rem;
}

/* Stats grid */
.stats-grid {
    width: 100%;
    padding: 0;
    margin: 0;
}

/* CTA section */
.cta-content {
    max-width: 100%;
    padding: 0 1rem;
}

/* Newsletter */
.newsletter-content {
    max-width: 100%;
    padding: 0;
}

/* Conference cards */
.conf-content {
    max-width: 100%;
    overflow: hidden;
}

/* Proceeding hero */
.proceeding-hero {
    max-width: 100vw;
    overflow: hidden;
}

.proceeding-hero-inner {
    max-width: 100%;
    padding: 0 1rem;
}

/* Breadcrumb */
.breadcrumb {
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}

.breadcrumb::-webkit-scrollbar {
    display: none;
}

/* ==================== FINAL CONSTRAINT ==================== */
/* Last resort: constrain everything */
@media (max-width: 768px) {

    #root,
    #app,
    main {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
}

.publications ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.publications>ul>li {
    margin-bottom: 20px;
}

.publications h3 {
    font-size: 1.2em;
    margin-bottom: 8px;
    color: #333;
}

.publications ul ul li {
    margin-left: 15px;
    line-height: 1.6;
}

/* =====================================================
   PUBLICATIONS DROPDOWN - CONSISTENT STYLING FIX
   ===================================================== */

/* ==================== MEGA MENU CONSISTENCY ==================== */

/* Ensure all mega menu columns have the same structure */
.mega-col {
    padding: 0 1rem;
    border-right: 1px solid var(--gray-100);
    background: transparent;
    /* Remove any background images */
    position: relative;
}

.mega-col:last-child {
    border-right: none;
}

/* Remove background images from all columns */
.mega-col::before,
.mega-col::after {
    display: none;
}

/* Consistent title styling for all columns */
.mega-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
    color: var(--dark);
    /* Ensure text is always dark */
    background: transparent;
}

.mega-title i {
    color: var(--primary);
    font-size: 1rem;
}

/* Consistent links styling for all columns */
.mega-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-links a {
    display: block;
    padding: 0.4rem 0;
    font-size: 0.85rem;
    color: var(--gray-600);
    /* Consistent text color */
    background: transparent;
    transition: var(--transition);
    text-decoration: none;
}

.mega-links a:hover {
    color: var(--primary);
    padding-left: 0.5rem;
    background: transparent;
}

/* Remove any special styling from specific columns */
.mega-col[data-category="medical"],
.mega-col[data-category="technology"],
.mega-col[data-category="environmental"] {
    background: transparent !important;
    background-image: none !important;
}

/* If there's a featured card in Environmental, style it like others */
.mega-col .mega-featured-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    height: 100%;
}

/* Ensure no column has overlay text */
.mega-col {
    color: var(--dark);
}

/* Remove any absolute positioned elements */
.mega-col>*:not(.mega-title):not(.mega-links):not(.mega-featured-card) {
    position: static;
}

/* ==================== SPECIFIC FIX FOR ENVIRONMENTAL COLUMN ==================== */

/* If Environmental has a special class, normalize it */
.mega-col.environmental-col,
.mega-col.env-special {
    background: transparent !important;
    background-image: none !important;
    color: var(--dark) !important;
}

/* Remove any background overlays */
.mega-col::before {
    content: none !important;
    display: none !important;
}

/* Ensure all text is visible */
.mega-col * {
    color: inherit;
    background: transparent;
}

.mega-col .mega-title {
    color: var(--dark) !important;
}

.mega-col .mega-links a {
    color: var(--gray-600) !important;
}

.mega-col .mega-links a:hover {
    color: var(--primary) !important;
}

/* ==================== PREVENT IMAGE BACKGROUNDS ==================== */

/* Remove any injected background styles */
.mega-menu .mega-col[style*="background"] {
    background: transparent !important;
}

/* Ensure no images are set as backgrounds */
.mega-col img {
    display: none;
    /* Hide any images in the mega menu columns */
}

/* ==================== UNIFORM GRID LAYOUT ==================== */

.mega-menu-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 1.5rem;
    gap: 0;
    /* No gap, borders handle spacing */
    background: var(--white);
}

/* Each column should be equal */
.mega-col {
    min-height: 300px;
    /* Ensure consistent height */
    display: flex;
    flex-direction: column;
}

.mega-links {
    flex: 1;
    /* Take remaining space */
}

/* ==================== FEATURED CARD CONSISTENCY ==================== */

/* If using featured cards, ensure they're in the 4th column only */
.mega-col:nth-child(4) {
    padding: 0;
    /* No padding for featured card column */
}

.mega-featured-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mega-featured-card h4 {
    color: var(--white) !important;
}

.mega-featured-card p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* ==================== REMOVE EXPLORE BUTTONS FROM COLUMNS ==================== */

/* If there are "Explore Publications" buttons in columns, style them consistently */
.mega-col .explore-btn,
.mega-col button {
    display: none;
    /* Hide or... */
}

/* ...or style them consistently */
.mega-col .explore-btn {
    background: transparent;
    border: 1px solid var(--gray-300);
    color: var(--dark);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    margin-top: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.mega-col .explore-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ==================== TEXT OVERLAY FIX ==================== */

/* Remove any overlaid text on images */
.mega-col .overlay-text,
.mega-col .image-overlay {
    display: none;
}

/* Ensure normal text flow */
.mega-col {
    position: relative;
}

.mega-col>* {
    position: static;
    z-index: auto;
}

/* ==================== RESPONSIVE CONSISTENCY ==================== */

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

    .mega-col {
        border-right: none;
        border-bottom: 1px solid var(--gray-100);
        min-height: auto;
    }

    .mega-col:last-child {
        border-bottom: none;
    }
}

/* Common column styling */
.dropdown-column {
    flex: 1;
    padding: 20px 30px;
    border-right: 1px solid #e5e5e5;
}

/* Remove border from last column */
.dropdown-column:last-child {
    border-right: none;
}

/* Section titles (Medical, Technology, Environmental) */
.dropdown-column h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    position: relative;
}

/* Active underline (same for all) */
.dropdown-column h4::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #10B981;
    /* your green theme */
}

/* List items */
.dropdown-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-column ul li {
    font-size: 15px;
    color: #555;
    margin: 10px 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

/* Hover effect */
.dropdown-column ul li:hover {
    color: #10B981;
}

/* 🔥 FIX FOR ENVIRONMENTAL COLUMN */
.dropdown-column.environmental {
    opacity: 1 !important;
    /* remove faded look */
    color: #1a1a1a !important;
}

/* Ensure text inside is not faded */
.dropdown-column.environmental ul li {
    color: #555 !important;
}

/* Optional: active tab highlight (if needed) */
.dropdown-column.active h4 {
    color: #10B981;
}