* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Mukta Vaani';
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0px;
    background-color: #303360;
    color: white;
    gap: 50px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    overflow: visible;
}

.header-title {
    font-size: 15px;
    letter-spacing: 2px;
}

.issn-text {
    font-size: 14px;
}

/* Keep ISSN links the same color as surrounding text and remove underline */
.issn-text a {
    color: inherit;
    text-decoration: none;
}
.issn-text a:hover {
    color: inherit;
    text-decoration: none;
}

/* Stronger ISSN hover: pop-out, glow and lift */
.issn-text a span {
    display: inline-block;
    transition: transform .18s cubic-bezier(.2,.9,.2,1), box-shadow .18s ease, background .18s ease;
    will-change: transform, box-shadow;
    position: relative;
}
.issn-text a:hover span,
.issn-text a span:hover {
    transform: translateY(-8px) scale(1.06) !important;
    box-shadow: 0 30px 60px rgba(2,6,23,0.16) !important;
    background: rgba(255,255,255,0.06) !important;
    z-index: 9999 !important;
}

.mobile-issn {
    display: none;
}

.header-items {
    width: 25%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    /* background-color: yellow; */
}

.header-items img {
    width: 80px;
    height: 100px;
    cursor: pointer;
}


.header-items svg {
    width: 35px;
    height: 35px;
    margin-left: 0;
    cursor: pointer;
}

.hamburger-icon {
    display: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    cursor: pointer;
    margin-left: 0px;
}

nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    /* background-color: #7c87ad; */
    margin-top: 6rem;
}

nav ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    min-width: fit-content;
}

nav li {
    list-style: none;
    margin: 10px 15px;
}



nav p {
    list-style: none;
    margin: 10px 20px;
    font-weight: bold;
}

nav li a {
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2px;
    white-space: nowrap;
    hyphens: none;
    overflow-wrap: normal;
    word-break: keep-all;
}

nav li a:hover {
    color: #41468d;
}

nav ul li a svg {
    width: 15px;
    height: 15px;
}

.active {
    color: #303360;
    font-weight: bold;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    min-width: 210px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    border-radius: 4px;
    border-top: 3px solid #303360;
}

.dropdown.active-dropdown .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0 !important;
    width: 100%;
}

.dropdown-menu li a {
    color: #333;
    padding: 8px 20px;
    display: block;
    text-align: left;
    justify-content: flex-start;
    font-size: 14px;
    white-space: nowrap;
    transition: background 0.2s;
}

.dropdown-menu li a:hover {
    background-color: #f1f1f1;
    color: #303360;
    padding-left: 25px;
}

.dropdown>a svg {
    transition: transform 0.3s;
}

.dropdown.active-dropdown>a svg {
    transform: rotate(180deg);
}

.nav-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-color: #ce6738;
    height: 90px;
    width: 250px;
}

.nav-right:hover {
    background-color: #d47143ee;
    cursor: pointer;
}

.nav-item {
    height: 80px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto; /* allow items to grow and shrink, avoid fixed width */
    min-width: 0; /* prevent overflow issues */
    /* background-color: aqua; */
}

.nav-left {
    flex: 0 0 20%;
}

.manuscript-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    height: 80px;
    width: 250px;
}

.manuscript-link:hover {
    cursor: pointer;
}

.nav-right p {
    text-decoration: none;
    color: white;
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60vh;
    background: url('https://res.cloudinary.com/dcgs7vfae/image/upload/v1772870881/Brand_Identity_Guideline_FOESVT_2_1_xye6t5.png');
    background-size: 100vw 60vh;
    background-position: center;
    position: relative;
    color: white;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.126);
    /* Semi-transparent overlay */
    backdrop-filter: blur(1px);
    /* Blur effect */
    z-index: 1;
    /* Ensure it's on top of the image but below content */
}

.main-content>* {
    position: relative;
    z-index: 2;
    /* Ensure content is above the overlay */
}

.main-content h1 {
    font-size: 25px;
    text-decoration: underline #ce6738 3px;
    text-underline-offset: 7px;
}

/* Sidebar: highlight the active section heading */
.sidebar-title a.active-section {
    color: #ce6738;
    font-weight: 800;
}

.sidebar-title a.active-section::after {
    content: '';
    display: inline-block;
    width: 18px;
    height: 3px;
    background: #ce6738;
    vertical-align: middle;
    margin-left: 10px;
    border-radius: 2px;
}

/* Document download/open links */
.main-section a.doc-link {
    color: #2563eb;
    text-decoration: underline;
    font-weight: 700;
}

.main-section a.doc-link:hover {
    opacity: 0.9;
}

.main-content p {
    width: 50vw;
    margin-top: 20px;
    text-align: center;
}

.latest-edition {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 40px;
    z-index: 2;
    width: 100%;
}

.latest-edition img {
    height: 250px;
}

.latest-edition img:hover {
    cursor: pointer;
}

.edition-issue {
    margin-top: 20px;
    font-size: 15px;
}

.edition-volume {
    margin: 0;
    font-size: 25px;
}

.edition-volume b {
    font-size: 25px;
    margin: 0;
}

.articles-header {
    text-decoration: underline 3px #303360;
    margin-top: 30px;
    justify-items: center;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 6px;
    text-underline-offset: 5px;
}

.journal-scope-section {
    margin-top: 50px;
    margin-bottom: 60px;
}

.journal-scope-header {
    text-decoration: underline 2px #303360;
    margin-bottom: 40px;
    justify-items: center;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 3px;
    text-underline-offset: 6px;
    text-align: center;
    color: #333;
}

.journal-scope-header p {
    margin: 0;
}

.scope-container {
    display: flex;
    justify-content: center;
    margin: 0 40px;
}

.scope-content {
    width: 100%;
    max-width: 1400px;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    padding: 50px 60px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.scope-intro {
    font-size: 17px;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.7;
    font-weight: 400;
    text-align: left;
    padding-left: 20px;
    border-left: 3px solid #303360;
    font-style: italic;
}

.scope-topics {
    margin: 25px 0;
}

.topics-preview {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    text-align: left;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #303360;
}

.topics-full {
    animation: slideDown 0.5s ease-out;
    overflow: hidden;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 800px;
        transform: translateY(0);
    }
}

.topics-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px 25px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* For larger screens, use more columns */
@media screen and (min-width: 1200px) {
    .topics-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

.topics-list li {
    font-size: 14px;
    color: #444;
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
    transition: color 0.2s ease;
    line-height: 1.5;
}

.topics-list li:before {
    content: "•";
    color: #303360;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 8px;
    font-size: 16px;
}

.topics-list li:hover {
    color: #303360;
}

.read-more-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 16px 40px;
    background: #303360;
    color: white;
    border: 2px solid #303360;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 0;
}

.read-more-btn:hover {
    background: #404878;
    border-color: #404878;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(48, 51, 96, 0.2);
}

.read-more-btn:active {
    transform: translateY(0);
}

.toggle-icon {
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.read-more-btn.expanded .toggle-icon {
    transform: rotate(180deg);
}

.articles {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 30px;
    gap: 30px;
}

.articles-sections {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: 1px solid #4d4d4d;
    height: 400px;
    width: 350px;
    padding: 10px 40px;
    gap: 0px;
    position: relative;
    color: black;
    cursor: pointer;
}

.articles-sections:hover {
    cursor: pointer;
    color: white;
}

.article-color {
    width: 20px;
    height: 400px;
    background-color: #303360ee;
    position: absolute;
    top: 0;
    left: 0;
    transition: width 0.4s ease;
    z-index: -1;
}

.articles-sections:hover .article-color {
    cursor: pointer;
    width: 100%;
    color: white;
}

.articles-sections b {
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 15rem;
    letter-spacing: 0.5px;
    width: 100%;
}

.articles-sections .article-volume {
    font-size: 14px;
}

.articles-sections .article-volume b {
    font-size: 14px;
}

.article-info {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    margin-bottom: 10px;
}

.article-info p {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
}

.article-info-title {
    margin-right: 10px;
    text-align: left;
    /* background-color: #ce6738; */
    width: 60px;
}

.open-access-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 100px;
    margin-bottom: 50px;
}

.open-journal-header {
    text-decoration: underline 3px #303360;
    justify-items: center;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 6px;
    text-underline-offset: 5px;
}

.open-journal-text {
    margin-top: 20px;
    text-align: center;
    width: 50vw;
}

/* Footer Styles */
footer {
    background-color: #303360;
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 2px solid #ce6738;
    display: inline-block;
    padding-bottom: 5px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #ce6738;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
}

@media screen and (max-width: 1024px) {
    header {
        width: 100%;
        height: 70px;
        justify-content: space-between;
        padding: 0 20px;
    }

    .header-title {
        display: none;
    }

    .header-items:not(.hamburger-icon) svg {
        display: none;
    }

    .header-items {
        width: auto;
    }

    .header-item-left {
        width: 200px;
        margin-left: 10px;
    }

    .hamburger-icon {
        display: flex !important;
        cursor: pointer;
    }

    .hamburger-icon svg {
        display: block !important;
        width: 28px;
        height: 28px;
        margin: 0;
    }

    .header-items img {
        width: 45px;
        height: 50px;
        margin: 0;
    }

    .header-item-left {
        justify-content: left;
    }

    .logo-text {
       display: none;
    }

    nav {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100vw;
        height: calc(100vh - 70px);
        background-color: #ffffff;
        padding: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        z-index: 99;
        margin-top: 0;
        overflow-y: auto;
        overflow-x: hidden;
        transition: transform 0.28s ease, opacity 0.28s ease;
        transform: translateY(-10px);
        opacity: 0;
        left: 0;
        right: 0;
    }

    nav.nav-active {
        display: flex !important;
        transform: translateY(0);
        opacity: 1;
    }

    .desktop-issn {
        display: none;
    }

    .mobile-issn {
        display: block;
        text-align: left;
        padding: 12px 20px;
        color: #999;
        border-top: 1px solid #eee;
        margin-top: auto;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    nav ul {
        flex-direction: column;
        width: 100vw;
        padding: 0;
        margin: 0;
        justify-content: flex-start;
        overflow: visible;
    }

    nav ul.nav-center {
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    nav li {
        margin: 0 !important;
        width: 100vw;
        text-align: left;
        border-bottom: 1px solid #f0f0f0;
        flex-shrink: 0 !important;
    }

    nav li p {
        margin: 0;
        padding: 10px 20px;
        font-weight: 700;
        color: #555;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    nav li a {
        justify-content: flex-start;
        padding: 14px 20px;
        font-size: 15px;
        transition: background-color 0.2s, padding-left 0.2s;
        width: 100%;
        display: flex;
        align-items: center;
    }

    nav li a:hover {
        background-color: #f0f4ff;
        padding-left: 24px;
    }

    nav li.dropdown > a {
        font-weight: 700;
        width: 100%;
    }

    nav li.dropdown > a svg {
        display: none !important;
    }

    .nav-item {
        width: 100vw;
        height: auto;
        display: flex;
        flex-direction: column;
        flex: none;
    }

    .nav-left {
        display: none !important;
    }

    .nav-center {
        width: 100vw;
        flex: 1;
        order: 1;
    }

    .nav-right,
    .manuscript-link {
        width: 100vw;
        justify-content: flex-start;
        padding: 0;
        margin: 0;
        height: auto;
        order: 2;
        border-top: 1px solid #f0f0f0;
    }
    
    .manuscript-link p {
        padding: 14px 20px;
        margin: 0;
        font-weight: 600;
        font-size: 15px;
        color: white;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border-top: none;
        border-left: 3px solid #303360;
        width: 100vw;
        background-color: #f9f9f9;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.28s ease;
        display: block;
        margin: 0;
        padding: 0;
    }

    .dropdown.active-dropdown .dropdown-menu {
        max-height: 1000px;
    }

    .dropdown-menu li {
        margin: 0 !important;
        width: 100vw;
        border-bottom: 1px solid #eee;
    }

    .dropdown-menu li a {
        padding: 11px 20px 11px 32px;
        margin: 0;
        font-size: 14px;
        width: 100vw;
        color: #555;
    }

    .dropdown-menu li a:hover {
        padding-left: 36px;
        background-color: #f0f4ff;
    }
    
    .dropdown-menu li p {
        padding: 9px 20px 9px 32px;
        margin: 0;
        font-weight: 700;
        color: #444;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.4px;
    }

    .main-content {
        margin-top: 50px;
        height: 50vh;
    }

    .main-content h1 {
        text-align: center;
        width: 80vw;
        font-size: 18px;
        margin-top: 10px;
    }

    .main-content p {
        width: 90%;
        font-size: 14px;
        margin-top: 5px;
    }

    .articles {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        margin-top: 50px;
        gap: 30px;
    }

    .articles-sections {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        border: 1px solid #4d4d4d;
        height: 400px;
        width: 350px;
        padding: 10px 40px;
        position: relative;
        color: black;
        cursor: pointer;
    }


    .latest-edition {
        position: relative;
        bottom: 0;
        margin-top: 20px;
    }

    .articles-header {
        margin-top: 30px;
    }

    /* Responsive Journal Scope Styles */
    .journal-scope-section {
        margin-top: 50px;
        margin-bottom: 40px;
    }

    .scope-container {
        margin: 0 15px;
    }

    .scope-content {
        padding: 30px 25px;
        border: 1px solid #f0f0f0;
    }

    .scope-intro {
        font-size: 15px;
        margin-bottom: 25px;
        text-align: left;
        padding-left: 15px;
        border-left: 2px solid #303360;
    }

    .topics-preview {
        font-size: 14px;
        text-align: left;
        margin-bottom: 15px;
        padding: 12px;
        background: #f8f9fa;
        border-left: 2px solid #303360;
    }

    .topics-list {
        grid-template-columns: 1fr;
        gap: 10px 15px;
    }

    .topics-list li {
        font-size: 13px;
        padding: 6px 0;
        padding-left: 18px;
    }

    .read-more-btn {
        padding: 14px 30px;
        font-size: 14px;
        margin-top: 25px;
    }
}

/* Journal Indexes Section */
.journal-indexes {
    background-color: #fff;
    padding: 40px 0;
    margin-top: 50px;
    border-top: 1px solid #eee;
    text-align: center;
}

.indexes-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.indexes-title {
    font-size: 14px;
    font-weight: bold;
    color: #303360;
    margin-bottom: 30px;
    letter-spacing: 4px;
    position: relative;
    display: inline-block;
}

.indexes-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: #ce6738;
}

.indexes-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.index-item {
    display: block;
    transition: transform 0.3s ease, filter 0.05s ease;
    filter: grayscale(10%);
    opacity: 0.7;
}

.index-item:hover {
    transform: scale(1.1);
    filter: grayscale(0%);
    opacity: 1;
}

.index-item img {
    max-height: 60px;
    max-width: 180px;
    object-fit: contain;
}

@media screen and (max-width: 720px) {
    .journal-indexes {
        padding: 30px 0;
    }

    .indexes-grid {
        gap: 20px;
    }

    .index-item img {
        max-height: 40px;
        max-width: 120px;
    }
}

@media screen and (max-width: 1000px) {
    .nav-left {
        /* display: none; */
        width: 0%;
    }

    .nav-center {
        width: 50%;
    }

    .manuscript-link {
        width: 28%;
        text-align: center;
        font-size: 14px;
    }
}

/* Desktop-only: make GUIDELINES dropdown a wide two-column panel with scroll for long lists */
@media (min-width: 801px) {
    .dropdown-menu.guidelines-menu {
        display: none; /* shown only when parent has .active-dropdown */
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-20%);
        background-color: #fff;
        min-width: 640px;
        max-width: 95vw;
        max-height: 70vh;
        overflow-y: auto;
        box-shadow: 0 12px 30px rgba(0,0,0,0.12);
        padding: 18px;
        border-radius: 6px;
        border-top: 3px solid #303360;
        z-index: 1500;
        box-sizing: border-box;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .dropdown.active-dropdown .dropdown-menu.guidelines-menu {
        display: grid;
    }

    .dropdown-menu.guidelines-menu .guidelines-col { padding: 0 8px; }

    /* Ensure inner lists stack vertically (override nav ul rules) */
    .dropdown-menu.guidelines-menu ul { display: block !important; margin: 0; padding: 0; }
    .dropdown-menu.guidelines-menu li { width: auto; border-bottom: none; }

    .dropdown-menu.guidelines-menu li a { color: #333; padding: 8px 10px; }
}

/* Strong global override for ISSN hover: scale-only (no background/shadow/translation) */
/* Uses high specificity and !important to override inline template <style> blocks. */
.issn-text a span,
header .issn-text a span,
.desktop-issn .issn-text a span,
.mobile-issn .issn-text a span {
    display: inline-block !important;
    transition: transform .14s cubic-bezier(.2,.9,.2,1) !important;
    will-change: transform !important;
    box-shadow: none !important;
    background: transparent !important;
    transform: none !important;
}
.issn-text a:hover span,
.issn-text a span:hover,
header .issn-text a:hover span,
header .issn-text a span:hover {
    transform: scale(1.06) !important;
    box-shadow: none !important;
    background: transparent !important;
}

