/*
Theme Name: GIAR IJIR Theme
Theme URI: https://www.giarijir.com/
Author: GIAR Developer
Description: A custom academic and interdisciplinary journal theme featuring dynamic two-row header, ISSN details, 3D social cubes, and clean typography.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: giar-theme
*/

:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --primary-light: #818cf8;
    --accent: #06b6d4;
    --dark: #0f172a;
    --mid: #475569;
    --light: #f8fafc;
    --border: #e2e8f0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--light);
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.5;
}

/* --- SITE HEADER SYSTEM --- */
#site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
}
.header-top {
    background: #ffffff; border-bottom: 1px solid #e2e8f0; padding: 10px 24px;
}
.header-top-inner {
    max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
}
.header-logo-link img { height: 60px; width: auto; display: block; }
.header-issn {
    display: flex; align-items: center; gap: 32px; flex: 1; justify-content: center;
}
.issn-item { display: flex; align-items: center; gap: 8px; }
.issn-label { font-size: 0.78rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; }
.issn-val { font-size: 0.95rem; font-weight: 700; color: #1e293b; }
.issn-divider { width: 1px; height: 28px; background: #e2e8f0; }

.header-gmail {
    display: flex; align-items: center; gap: 8px; text-decoration: none;
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 6px 14px;
}
.header-gmail:hover { background: #fff1f0; }
.gmail-text { font-size: 0.78rem; font-weight: 600; color: #374151; text-align: left; }
.gmail-text span { display: block; font-size: 0.68rem; color: #94a3b8; }

.header-nav {
    background: linear-gradient(90deg, #1e40af 0%, #1d4ed8 60%, #2563eb 100%);
    box-shadow: 0 2px 8px rgba(30,64,175,0.3);
}
.header-nav-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 46px;
}
.hnav-links { display: flex; align-items: center; list-style: none; gap: 2px; }
.hnav-links a {
    display: flex; align-items: center; gap: 4px; text-decoration: none; font-size: 0.83rem; font-weight: 600;
    color: rgba(255,255,255,0.92); padding: 0 14px; height: 46px;
}
.hnav-links a:hover, .hnav-links a.hn-active { background: rgba(255,255,255,0.15); color: #ffffff; }

/* Dropdown */
.hn-dropdown { position: relative; }
.hn-dropdown-menu { display: none; position: absolute; top: 100%; left: 0; padding-top: 4px; z-index: 500; min-width: 250px; }
.hn-dropdown:hover .hn-dropdown-menu { display: block; }
.hn-dropdown-inner { background: white; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,0.14); }
.hn-dropdown-header { padding: 9px 16px 6px; font-size: 0.66rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; border-bottom: 1px solid #f1f5f9; }
.hn-dropdown-menu a {
    display: flex !important; align-items: center; gap: 10px; padding: 11px 16px !important; font-size: 0.85rem; font-weight: 600 !important;
    color: #0f172a !important; height: auto !important; background: transparent !important;
}
.hn-dropdown-menu a:hover { background: #f0f4ff !important; color: #1d4ed8 !important; }
.hn-dm-icon { font-size: 0.95rem; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; background: #e0e7ff; border-radius: 6px; }

/* Flat Social Icons matching PillNav */
.hnav-socials { display: flex !important; flex-direction: row !important; align-items: center; gap: 8px; margin-left: 12px; }
.social-cube {
    width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white; text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none !important;
}
.social-cube:hover { background: #ffffff !important; transform: translateY(-2px); border-color: #ffffff; box-shadow: 0 4px 10px rgba(0,0,0,0.15) !important; }
.social-cube svg { width: 14px; height: 14px; fill: white; transition: fill 0.25s ease; }
.social-cube:hover svg { fill: #1e40af; }

/* ═══ HOME SCREEN STYLES ═══ */

        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,700;1,600&display=swap');
        
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        
        :root {
            --primary: #4f46e5;
            --primary-dark: #3730a3;
            --primary-light: #818cf8;
            --accent: #06b6d4;
            --accent2: #f59e0b;
            --dark: #0f172a;
            --dark2: #1e293b;
            --mid: #475569;
            --light: #f8fafc;
            --white: #ffffff;
            --border: #e2e8f0;
        }

        
        
        

        /* ─── SCROLLBAR ─── */
        ::-webkit-scrollbar { width: 6px; }
        ::-webkit-scrollbar-track { background: #f1f5f9; }
        ::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 3px; }

        
        /* ═══ TWO-ROW HEADER ═══ */
        

        /* Top bar — white, logo + ISSN */
        
        .header-top-inner {
            max-width: 1280px; margin: 0 auto;
            display: flex; align-items: center; justify-content: space-between;
        }
        .header-logo-link {
            display: flex; align-items: center; text-decoration: none; flex-shrink: 0;
        }
        .header-logo-link img { height: 60px; width: auto; display: block; }
        .header-issn {
            display: flex; align-items: center; gap: 32px; flex: 1;
            justify-content: center;
        }
        .issn-item {
            display: flex; align-items: center; gap: 8px;
        }
        .issn-label {
            font-size: 0.78rem; font-weight: 700; color: #94a3b8;
            text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap;
        }
        .issn-val {
            font-size: 0.95rem; font-weight: 700; color: #1e293b;
            letter-spacing: 0.5px; white-space: nowrap;
        }
        .issn-divider {
            width: 1px; height: 28px; background: #e2e8f0;
        }

        /* Bottom nav bar — blue */
        
        .header-nav-inner {
            max-width: 1280px; margin: 0 auto; padding: 0 24px;
            display: flex; align-items: center; justify-content: space-between; height: 46px;
        }
        .hnav-links {
            display: flex; align-items: center; list-style: none;
            gap: 2px; flex-wrap: nowrap;
        }
        .hnav-links > li { position: relative; }
        .hnav-links a {
            display: flex; align-items: center; gap: 4px;
            text-decoration: none; font-size: 0.83rem; font-weight: 600;
            color: rgba(255,255,255,0.92); padding: 0 14px; height: 46px;
            white-space: nowrap; transition: background 0.2s, color 0.2s;
            border-radius: 0;
        }
        .hnav-links a:hover, .hnav-links a.hn-active {
            background: rgba(255,255,255,0.15); color: #ffffff;
        }
        .hnav-links .hn-cta {
            background: rgba(255,255,255,0.2);
            border: 1px solid rgba(255,255,255,0.4);
            border-radius: 4px; margin-left: 8px;
            color: white !important;
        }
        .hnav-links .hn-cta:hover {
            background: white !important; color: #1e40af !important;
        }
        /* Dropdown on bottom nav */
        .hn-dropdown { position: relative; }
        .hn-caret { font-size: 0.55rem; opacity: 0.8; transition: transform 0.25s; }
        .hn-dropdown:hover .hn-caret { transform: rotate(180deg); }
        .hn-dropdown-menu {
            display: none; position: absolute; top: 100%; left: 0;
            padding-top: 4px; z-index: 500; min-width: 250px;
        }
        .hn-dropdown:hover .hn-dropdown-menu { display: block; }
        .hn-dropdown-inner {
            background: white; border: 1px solid #e2e8f0;
            border-radius: 10px; overflow: hidden;
            box-shadow: 0 16px 48px rgba(0,0,0,0.14);
        }
        .hn-dropdown-header {
            padding: 9px 16px 6px; font-size: 0.66rem; font-weight: 700;
            letter-spacing: 1px; text-transform: uppercase; color: #94a3b8;
            border-bottom: 1px solid #f1f5f9;
        }
        .hn-dropdown-menu a {
            display: flex !important; align-items: center; gap: 10px;
            padding: 11px 16px !important; font-size: 0.85rem; font-weight: 600 !important;
            color: #0f172a !important; border-bottom: 1px solid #f8fafc;
            height: auto !important; background: transparent !important;
            transition: background 0.15s !important;
        }
        .hn-dropdown-menu a:last-child { border-bottom: none; }
        .hn-dropdown-menu a:hover { background: #f0f4ff !important; color: #1d4ed8 !important; }
        .hn-dm-icon {
            font-size: 0.95rem; width: 26px; height: 26px;
            display: flex; align-items: center; justify-content: center;
            background: #e0e7ff; border-radius: 6px; flex-shrink: 0;
        }
        .hn-dropdown-menu a:hover .hn-dm-icon { background: #c7d2fe; }


        /* ─── HERO ─── */
        #hero {
            min-height: 100vh;
            background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 40%, #0e7490 100%);
            display: flex; align-items: center; padding: 115px 24px 60px;
            position: relative; overflow: hidden;
        }
        #hero::before {
            content: ''; position: absolute; inset: 0;
            background:
                radial-gradient(ellipse 60% 50% at 70% 40%, rgba(99,102,241,0.3), transparent),
                radial-gradient(ellipse 40% 60% at 20% 70%, rgba(6,182,212,0.2), transparent);
        }
        .hero-grid {
            max-width: 1280px; margin: 0 auto; width: 100%;
            display: grid; grid-template-columns: 1fr 480px; gap: 60px; align-items: center;
            position: relative; z-index: 2;
        }
        .hero-badge {
            display: inline-flex; align-items: center; gap: 8px;
            background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
            padding: 6px 16px; border-radius: 50px; color: #a5f3fc; font-size: 0.8rem; font-weight: 500;
            margin-bottom: 24px; backdrop-filter: blur(10px);
        }
        .badge-dot { width: 8px; height: 8px; background: #34d399; border-radius: 50%; animation: pulse 2s infinite; }
        @keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:0.5;transform:scale(1.3);} }
        
        .hero-title {
            font-size: 4rem; font-weight: 900; line-height: 1.05; letter-spacing: -0.5px;
            color: white; margin-bottom: 24px;
        }
        .hero-title .highlight {
            background: linear-gradient(135deg, #818cf8, #67e8f9);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
        }
        .hero-sub { color: #94a3b8; font-size: 1.1rem; line-height: 1.8; margin-bottom: 36px; max-width: 520px; }
        .hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
        .btn-primary {
            display: inline-flex; align-items: center; gap: 8px;
            background: linear-gradient(135deg, var(--primary), #818cf8);
            color: white; padding: 14px 28px; border-radius: 50px;
            font-weight: 700; text-decoration: none; font-size: 0.95rem;
            box-shadow: 0 8px 30px rgba(79,70,229,0.5);
            transition: all 0.3s ease;
        }
        .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(79,70,229,0.6); }
        .btn-outline {
            display: inline-flex; align-items: center; gap: 8px;
            color: #e2e8f0; padding: 14px 28px; border-radius: 50px;
            font-weight: 600; text-decoration: none; font-size: 0.95rem;
            border: 1.5px solid rgba(255,255,255,0.25); backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }
        .btn-outline:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); }

        /* ─── 3D BOOK ANIMATION ─── */
        .books-scene {
            width: 480px; height: 420px;
            perspective: 1200px;
            position: relative;
            flex-shrink: 0;
        }

        /* Individual floating books */
        .book {
            position: absolute;
            width: 120px;
            height: 160px;
            transform-style: preserve-3d;
            cursor: pointer;
            transition: filter 0.3s;
        }
        .book:hover { filter: brightness(1.15); }
        .book-face, .book-spine, .book-back, .book-top, .book-bottom {
            position: absolute;
            backface-visibility: hidden;
        }
        .book-face {
            width: 120px; height: 160px;
            border-radius: 0 6px 6px 0;
            display: flex; align-items: flex-end; padding: 12px;
            box-shadow: 4px 0 20px rgba(0,0,0,0.4);
            transform: translateZ(18px);
        }
        .book-spine {
            width: 36px; height: 160px;
            left: -36px;
            transform: rotateY(-90deg) translateZ(0px);
            transform-origin: right center;
            border-radius: 4px 0 0 4px;
            display: flex; align-items: center; justify-content: center;
        }
        .book-spine span {
            writing-mode: vertical-rl;
            font-size: 0.6rem; font-weight: 800;
            color: rgba(255,255,255,0.9); letter-spacing: 2px;
            text-transform: uppercase;
        }
        .book-back {
            width: 120px; height: 160px;
            transform: translateZ(-18px) rotateY(180deg);
            border-radius: 0 6px 6px 0;
        }
        .book-top {
            width: 36px; height: 120px;
            top: 0; left: -36px;
            transform: rotateX(90deg) rotateZ(0deg) translateZ(-16px) translateX(18px);
            background: rgba(255,255,255,0.15);
        }

        /* Book 1 - Big center book */
        .book-1 {
            top: 60px; left: 160px;
            animation: floatBook1 6s ease-in-out infinite;
        }
        .book-1 .book-face { background: linear-gradient(160deg, #6366f1, #8b5cf6); }
        .book-1 .book-spine { background: linear-gradient(180deg, #4f46e5, #6d28d9); }
        .book-1 .book-back { background: #3730a3; }

        /* Book 2 - Left floating */
        .book-2 {
            top: 20px; left: 20px;
            width: 100px; height: 140px;
            animation: floatBook2 7s ease-in-out infinite 1s;
        }
        .book-2 .book-face { width:100px; height:140px; background: linear-gradient(160deg, #0ea5e9, #06b6d4); }
        .book-2 .book-spine { height:140px; background: linear-gradient(180deg, #0284c7, #0891b2); }
        .book-2 .book-back { width:100px; height:140px; background: #075985; }

        /* Book 3 - Right floating */
        .book-3 {
            top: 40px; right: 20px;
            width: 100px; height: 135px;
            animation: floatBook3 8s ease-in-out infinite 0.5s;
        }
        .book-3 .book-face { width:100px; height:135px; background: linear-gradient(160deg, #f59e0b, #ef4444); }
        .book-3 .book-spine { height:135px; background: linear-gradient(180deg, #d97706, #dc2626); }
        .book-3 .book-back { width:100px; height:135px; background: #92400e; }

        /* Book 4 - Bottom left */
        .book-4 {
            bottom: 30px; left: 40px;
            width: 95px; height: 130px;
            animation: floatBook4 9s ease-in-out infinite 2s;
        }
        .book-4 .book-face { width:95px; height:130px; background: linear-gradient(160deg, #10b981, #34d399); }
        .book-4 .book-spine { height:130px; background: linear-gradient(180deg, #059669, #10b981); }
        .book-4 .book-back { width:95px; height:130px; background: #064e3b; }

        /* Book 5 - Bottom right */
        .book-5 {
            bottom: 20px; right: 40px;
            width: 90px; height: 125px;
            animation: floatBook5 6.5s ease-in-out infinite 3s;
        }
        .book-5 .book-face { width:90px; height:125px; background: linear-gradient(160deg, #ec4899, #a855f7); }
        .book-5 .book-spine { height:125px; background: linear-gradient(180deg, #db2777, #9333ea); }
        .book-5 .book-back { width:90px; height:125px; background: #701a75; }

        /* Book cover text */
        .book-title {
            font-size: 0.55rem; font-weight: 800; color: rgba(255,255,255,0.9);
            text-transform: uppercase; letter-spacing: 1px; line-height: 1.3;
        }

        /* Float + Rotate keyframes */
        @keyframes floatBook1 {
            0%,100%  { transform: translateY(0) rotateY(-25deg) rotateX(5deg); }
            50%      { transform: translateY(-20px) rotateY(-20deg) rotateX(8deg); }
        }
        @keyframes floatBook2 {
            0%,100%  { transform: translateY(0) rotateY(-30deg) rotateX(-3deg) rotate(-5deg); }
            50%      { transform: translateY(-15px) rotateY(-22deg) rotateX(2deg) rotate(-5deg); }
        }
        @keyframes floatBook3 {
            0%,100%  { transform: translateY(0) rotateY(-20deg) rotateX(3deg) rotate(8deg); }
            50%      { transform: translateY(-18px) rotateY(-28deg) rotateX(-2deg) rotate(8deg); }
        }
        @keyframes floatBook4 {
            0%,100%  { transform: translateY(0) rotateY(-35deg) rotateX(-5deg) rotate(-10deg); }
            50%      { transform: translateY(-12px) rotateY(-28deg) rotateX(-8deg) rotate(-10deg); }
        }
        @keyframes floatBook5 {
            0%,100%  { transform: translateY(0) rotateY(-18deg) rotateX(6deg) rotate(12deg); }
            50%      { transform: translateY(-16px) rotateY(-24deg) rotateX(2deg) rotate(12deg); }
        }

        /* Glow particles around books */
        .book-glow {
            position: absolute; border-radius: 50%; filter: blur(40px); pointer-events: none;
            animation: glowPulse 4s ease-in-out infinite alternate;
        }
        @keyframes glowPulse {
            0%   { opacity: 0.25; transform: scale(1); }
            100% { opacity: 0.5; transform: scale(1.15); }
        }

        /* ─── BOOKSHELF SECTION ─── */
        #bookshelf {
            background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
            padding: 80px 24px 60px;
            overflow: hidden;
        }
        .shelf-title-area { text-align: center; margin-bottom: 50px; }
        .shelf-label {
            display: inline-block; background: rgba(79,70,229,0.09); color: var(--primary);
            padding: 6px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 700;
            margin-bottom: 14px;
        }
        .shelf-title { font-size: 2rem; font-weight: 800; color: var(--dark); letter-spacing: -1px; }

        /* The shelf itself */
        .shelf-wrapper {
            position: relative;
            max-width: 900px;
            margin: 0 auto;
        }
        .shelf-plank {
            width: 100%; height: 16px;
            background: linear-gradient(180deg, #a0522d 0%, #6b3a1f 100%);
            border-radius: 4px;
            box-shadow: 0 6px 20px rgba(0,0,0,0.25);
            position: relative; z-index: 2;
        }
        .shelf-plank::before {
            content: ''; position: absolute; top: -5px; left: 0; right: 0; height: 5px;
            background: linear-gradient(180deg, #c8773a, #a0522d);
            border-radius: 4px 4px 0 0;
        }
        .books-on-shelf {
            display: flex;
            align-items: flex-end;
            justify-content: center;
            gap: 4px;
            padding: 0 20px 0;
            height: 200px;
            position: relative; z-index: 1;
        }
        .shelf-book {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-end;
            border-radius: 3px 5px 5px 3px;
            cursor: pointer;
            position: relative;
            transform-origin: bottom center;
            transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease;
            animation: slideUpBook 0.7s ease backwards;
        }
        .shelf-book:hover {
            transform: translateY(-28px) scale(1.06);
            box-shadow: 0 20px 40px rgba(0,0,0,0.3);
            z-index: 10;
        }
        .shelf-book:hover .shelf-book-tooltip { opacity: 1; transform: translateX(-50%) translateY(-8px); }
        .shelf-book-spine {
            width: 100%; flex: 1;
            display: flex; align-items: center; justify-content: center;
            writing-mode: vertical-rl; font-size: 0.55rem; font-weight: 800;
            color: rgba(255,255,255,0.85); letter-spacing: 2px; text-transform: uppercase;
            padding: 10px 4px;
        }
        .shelf-book-bottom {
            width: 100%; height: 6px;
            border-radius: 0 0 4px 3px;
            background: rgba(0,0,0,0.2);
        }
        .shelf-book-tooltip {
            position: absolute; bottom: calc(100% + 12px); left: 50%;
            transform: translateX(-50%) translateY(0);
            background: var(--dark); color: white;
            padding: 8px 12px; border-radius: 8px; font-size: 0.72rem; font-weight: 600;
            white-space: nowrap; pointer-events: none;
            opacity: 0; transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        }
        .shelf-book-tooltip::after {
            content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
            border: 5px solid transparent; border-top-color: var(--dark);
        }
        @keyframes slideUpBook {
            from { opacity: 0; transform: translateY(60px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        .shelf-shadow {
            width: 100%; height: 24px;
            background: linear-gradient(180deg, rgba(0,0,0,0.12), transparent);
            border-radius: 0 0 8px 8px;
        }

        /* ─── WAVE DIVIDER ─── */
        .wave { display: block; margin-bottom: -2px; }

        /* ─── FEATURES BAND ─── */
        #features { background: white; padding: 80px 24px; }
        .section-inner { max-width: 1280px; margin: 0 auto; }
        .section-tag {
            display: inline-flex; align-items: center; gap: 6px;
            background: rgba(79,70,229,0.08); color: var(--primary);
            padding: 6px 14px; border-radius: 50px; font-size: 0.8rem; font-weight: 600;
            margin-bottom: 16px;
        }
        .section-title { font-size: 2.5rem; font-weight: 800; color: var(--dark); letter-spacing: -1.5px; margin-bottom: 16px; }
        .section-sub { color: var(--mid); font-size: 1.05rem; line-height: 1.7; max-width: 560px; }
        .features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 56px; }
        .feat-card {
            border: 1.5px solid var(--border); border-radius: 20px; padding: 32px;
            transition: all 0.3s ease; cursor: default; position: relative; overflow: hidden;
            background: white;
        }
        .feat-card::before {
            content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
            transform: scaleX(0); transition: transform 0.4s ease;
        }
        .feat-card:hover { border-color: transparent; box-shadow: 0 20px 60px rgba(79,70,229,0.12); transform: translateY(-5px); }
        .feat-card:hover::before { transform: scaleX(1); }
        .feat-card.indigo::before { background: linear-gradient(90deg, var(--primary), #818cf8); }
        .feat-card.cyan::before { background: linear-gradient(90deg, var(--accent), #34d399); }
        .feat-card.amber::before { background: linear-gradient(90deg, var(--accent2), #ef4444); }
        .feat-icon {
            width: 56px; height: 56px; border-radius: 16px;
            display: flex; align-items: center; justify-content: center;
            font-size: 1.6rem; margin-bottom: 24px;
        }
        .feat-icon.indigo { background: rgba(79,70,229,0.1); }
        .feat-icon.cyan { background: rgba(6,182,212,0.1); }
        .feat-icon.amber { background: rgba(245,158,11,0.1); }
        .feat-title { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
        .feat-desc { color: var(--mid); font-size: 0.9rem; line-height: 1.7; }

        /* ─── ABOUT ─── */
        #about { background: #f8fafc; padding: 115px 24px; }
        .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
        .about-img-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
        .about-img-grid img { width: 100%; border-radius: 20px; object-fit: cover; box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: transform 0.4s ease; }
        .about-img-grid img:hover { transform: scale(1.03); }
        .about-img-grid img:first-child { height: 260px; }
        .about-img-grid img:last-child { height: 260px; margin-top: 40px; }
        .underline-bar {
            display: inline-block; position: relative; padding-bottom: 12px; margin-bottom: 24px;
        }
        .underline-bar::after {
            content: ''; position: absolute; bottom: 0; left: 0;
            width: 50px; height: 3px; border-radius: 3px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
        }
        .about-check-list { list-style: none; margin: 28px 0; display: flex; flex-direction: column; gap: 14px; }
        .about-check-list li {
            display: flex; align-items: center; gap: 12px;
            font-size: 0.95rem; font-weight: 500; color: var(--dark2);
        }
        .check-icon {
            width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            display: flex; align-items: center; justify-content: center; color: white; font-size: 0.75rem;
        }

        /* ─── SCOPE ─── */
        #scope { background: var(--dark); padding: 115px 24px; }
        .scope-header { text-align: center; margin-bottom: 60px; }
        .scope-title { font-size: 2.5rem; font-weight: 800; color: white; letter-spacing: -1.5px; }
        .scope-sub { color: #64748b; margin-top: 12px; font-size: 1rem; }
        .scope-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
        .scope-chip {
            background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
            border-radius: 14px; padding: 20px; text-align: center;
            transition: all 0.3s ease; cursor: default;
        }
        .scope-chip:hover { background: rgba(99,102,241,0.2); border-color: rgba(99,102,241,0.5); transform: translateY(-4px); }
        .scope-chip-icon { font-size: 1.8rem; margin-bottom: 10px; }
        .scope-chip-label { font-size: 0.85rem; font-weight: 600; color: #cbd5e1; }

        /* ─── PUBLICATION PROCESS ─── */
        #process { background: white; padding: 115px 24px; }
        .process-steps { display: flex; gap: 0; margin-top: 60px; position: relative; }
        .process-steps::before {
            content: ''; position: absolute; top: 30px; left: 60px; right: 60px; height: 2px;
            background: linear-gradient(90deg, var(--primary), var(--accent)); z-index: 0;
        }
        .step {
            flex: 1; text-align: center; position: relative; z-index: 1; padding: 0 12px;
        }
        .step-num {
            width: 60px; height: 60px; border-radius: 50%; border: 3px solid white;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: white; font-weight: 800; font-size: 1.1rem;
            display: flex; align-items: center; justify-content: center;
            margin: 0 auto 20px; box-shadow: 0 4px 15px rgba(79,70,229,0.4);
            transition: transform 0.3s ease;
        }
        .step:hover .step-num { transform: scale(1.15); }
        .step-title { font-weight: 700; font-size: 0.95rem; color: var(--dark); margin-bottom: 8px; }
        .step-desc { font-size: 0.82rem; color: var(--mid); line-height: 1.6; }

        /* ─── SUBMISSION ─── */
        #submission { background: linear-gradient(135deg, var(--primary), #0e7490); padding: 80px 24px; text-align: center; }
        .sub-title { font-size: 2.5rem; font-weight: 800; color: white; letter-spacing: -1.5px; }
        .sub-sub { color: rgba(255,255,255,0.7); margin-top: 12px; font-size: 1rem; }
        .sub-btn {
            display: inline-flex; align-items: center; gap: 8px;
            margin-top: 36px; background: white; color: var(--primary);
            padding: 16px 36px; border-radius: 50px; font-weight: 800; font-size: 1.05rem;
            text-decoration: none; box-shadow: 0 10px 40px rgba(0,0,0,0.3);
            transition: all 0.3s ease;
        }
        .sub-btn:hover { transform: translateY(-3px); box-shadow: 0 18px 50px rgba(0,0,0,0.4); }

        /* ─── FOOTER ─── */
        footer { background: #f1f5f9; border-top: 1px solid #e2e8f0; color: #334155; padding: 60px 24px 30px; }
        .footer-inner { max-width: 1280px; margin: 0 auto; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 48px; }
        .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
        .footer-logo-icon {
            width: 36px; height: 36px; border-radius: 10px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            display: flex; align-items: center; justify-content: center;
            color: white; font-weight: 900;
        }
        .footer-logo-text { font-size: 1.1rem; font-weight: 800; color: #0f172a; }
        .footer-about { font-size: 0.85rem; line-height: 1.8; }
        .footer-head { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #64748b; margin-bottom: 16px; }
        .footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
        .footer-links a { text-decoration: none; color: #475569; font-size: 0.85rem; transition: color 0.2s; }
        .footer-links a:hover { color: var(--primary-light); }
        .footer-contact { display: flex; flex-direction: column; gap: 10px; font-size: 0.85rem; }
        .footer-divider { border: none; border-top: 1px solid #cbd5e1; margin: 0 0 20px; }
        .footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; }
        .footer-badges { display: flex; gap: 8px; }
        .badge-pill {
            background: rgba(99,102,241,0.15); color: var(--primary-light);
            padding: 4px 10px; border-radius: 20px; font-size: 0.7rem; font-weight: 600;
        }

        /* ─── RESPONSIVE ─── */
        @media (max-width: 1024px) {
            .hero-grid { grid-template-columns: 1fr; }
            .hero-card { display: none; }
            .features-grid { grid-template-columns: repeat(2,1fr); }
            .about-grid { grid-template-columns: 1fr; }
            .scope-grid { grid-template-columns: repeat(2,1fr); }
            .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
        }
        @media (max-width: 640px) {
            .hero-title { font-size: 2.4rem; }
            .features-grid, .scope-grid { grid-template-columns: 1fr; }
            .process-steps { flex-direction: column; gap: 32px; }
            .process-steps::before { display: none; }
        }
    
        
        /* ── Gmail top-right ── */
        .header-gmail {
            display: flex; align-items: center; gap: 8px;
            text-decoration: none; flex-shrink: 0;
            background: #f8fafc; border: 1px solid #e2e8f0;
            border-radius: 8px; padding: 6px 14px;
            transition: background 0.2s, box-shadow 0.2s;
        }
        .header-gmail:hover { background: #fff1f0; box-shadow: 0 2px 8px rgba(220,38,38,0.12); }
        .gmail-icon {
            width: 22px; height: 22px; display: flex; align-items: center; justify-content: center;
        }
        .gmail-text {
            font-size: 0.78rem; font-weight: 600; color: #374151; line-height: 1.2;
        }
        .gmail-text span { display: block; font-size: 0.68rem; color: #94a3b8; font-weight: 400; }

        /* Flat Social Icons matching PillNav */
        .hnav-socials {
            display: flex !important;
            flex-direction: row !important;
            align-items: center;
            gap: 8px;
            margin-left: 12px;
            padding-left: 0;
        }
        .social-cube {
            width: 32px;
            height: 32px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.12);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: white;
            text-decoration: none;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            box-shadow: none !important;
        }
        .social-cube:hover {
            background: #ffffff !important;
            transform: translateY(-2px);
            border-color: #ffffff;
            box-shadow: 0 4px 10px rgba(0,0,0,0.15) !important;
        }
        .social-cube svg {
            width: 14px;
            height: 14px;
            fill: #ffffff;
            transition: fill 0.25s ease;
        }
        .social-cube:hover svg {
            fill: #1e40af;
        }

        

/* ═══ EXTRA_MEMBER_DETAILS_CSS ═══ */

    .member-body {
        padding: 24px 28px !important;
        display: flex;
        flex-direction: column;
        gap: 12px !important; /* Space between details */
    }
    .member-detail {
        display: flex;
        align-items: center;
        gap: 12px !important;
        font-size: 0.88rem !important;
        color: #475569 !important;
        line-height: 1.5 !important;
    }
    .detail-icon {
        font-size: 1.1rem !important;
        width: 28px;
        height: 28px;
        background: #f1f5f9;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
    }
    .member-subject {
        margin-top: 6px !important;
        display: inline-block;
        align-self: flex-start;
    }



/* ─── FLOATING ACTION BUTTONS ─── */
.giar-floating-actions {
    position: fixed;
    right: 20px;
    bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}
.floating-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.25s, box-shadow 0.25s;
    cursor: pointer;
}
.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}
.floating-btn svg {
    width: 22px;
    height: 22px;
    fill: white;
}
.floating-whatsapp {
    background-color: #25d366;
}
.floating-call {
    background-color: #3b82f6;
}


/* ═══ HD_CSS_RULES ═══ */

.floating-btn svg {
    image-rendering: -webkit-optimize-contrast !important;
    image-rendering: crisp-edges !important;
    backface-visibility: hidden !important;
    -webkit-font-smoothing: antialiased !important;
}



/* ═══ GLOBAL MOBILE RESPONSIVENESS OVERRIDES ═══ */
html, body {
    width: 100% !important;
    overflow-x: hidden !important; /* Block horizontal scrolling */
    -webkit-overflow-scrolling: touch;
}
.header-top-inner, .header-nav-inner, .section-inner, .eb-page-container, .giar-page-wrapper, .board-content, .guidelines-wrapper, .submit-container {
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
}
/* Header logo text alignment for mobile screen */
@media (max-width: 768px) {
    .header-top-inner {
        flex-direction: column !important;
        gap: 10px !important;
        text-align: center !important;
    }
    .header-issn {
        margin: 8px 0 !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 12px !important;
    }
    .logo-text-wrapper {
        margin-left: 8px !important;
    }
    .logo-title-top {
        font-size: 1.05rem !important;
    }
    .logo-title-bottom {
        font-size: 0.78rem !important;
    }
    /* Dynamic grid layouts */
    .hero-grid, .scope-grid, .features-grid, .members-grid, .submit-container, .guidelines-wrapper {
        grid-template-columns: 1fr !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    .guide-sidebar {
        position: relative !important;
        top: 0 !important;
        width: 100% !important;
        margin-bottom: 24px !important;
    }
}
