/* Font Awesome 4.7 — must be the very first line of the file */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css");

/* ==========================================================
   Brand colors
   ========================================================== */
:root {
    --ac-1: var(--pub-navy, #00246e);        /* brand navy */
    --ac-2: var(--pub-navy-soft, #1c3f8a);   /* soft navy */
    --ac-deep: var(--pub-navy-deep, #00184d);/* deep navy, for hovers/dark accents */
    --ink: #121a2e;                          /* near-black with a blue tint */
    --muted: #5f6a80;                        /* blue-grey for secondary text */
    --line: #e2e8f2;                         /* light blue-grey border */
    --soft: #f3f6fb;                         /* very light blue background */
    --radius: 14px;
    --shadow-sm: 0 1px 2px rgba(18,26,46,.04), 0 2px 8px rgba(18,26,46,.04);
    --shadow-lg: 0 14px 32px -10px rgba(0,36,110,.28), 0 4px 12px rgba(18,26,46,.06);
    --grad: linear-gradient(78deg, var(--ac-deep) 0%, var(--ac-1) 50%, var(--ac-2) 100%);
}

/* ==========================================================
   Base
   ========================================================== */
body {
    font-family: "Roboto","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
    line-height: 24px;
    color: var(--muted);
    background-color: #fff;
}

a {
    color: var(--ac-2);
    text-decoration: none;
}
a:hover,
a:focus {
    color: var(--ac-1);
    text-decoration: underline;
}

p {
    margin: 0 0 1em;
    text-align: justify;
}

h1, .h1 {
    font-size: 1.8em;
    color: var(--ac-1);
    font-weight: bold;
}
h2, .h2 {
    font-size: 25px;
}
h3, .h3 {
    font-size: 20px;
}

.page-header small {
    font-weight: 400;
    line-height: 1;
    color: var(--muted);
}

.breadcrumb a {
    color: var(--ac-1);
}

.alert-info {
    background-color: var(--ac-deep);
    border-color: var(--ac-deep);
    color: #fff;
}
.alert a:not(.close):not(.btn),
.alert .alert-link {
    color: #fff;
    font-weight: bold;
}

.main_content main {
    border: 1px solid var(--line);
    border-radius: 8px;
}

.obj_article_details.abstract,
.obj_article_details.item > :last-child {
    text-align: justify;
}

.article-details .author-bios .biography h3 {
    font-size: 18px;
    color: var(--ac-2);
}

.media .lead {
    font-size: 15px;
    padding-left: 18px;
}

.media-heading h1, .media-heading h2, .media-heading h3,
.media-heading h4, .media-heading h5, .media-heading h6,
h1.media-heading, h2.media-heading, h3.media-heading,
h4.media-heading, h5.media-heading, h6.media-heading {
    font-size: 19px;
}

/* ==========================================================
   Header + navigation
   ========================================================== */
.navbar-brand {
    font-size: 14px;
    font-weight: 600;
}
.navbar-default .navbar-brand,
.header_view .navbar-brand {
    color: var(--ac-1);
    font-size: 16px;
    font-weight: 600;
}
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus,
.header_view .navbar-brand:hover,
.header_view .navbar-brand:focus {
    color: var(--ac-2);
    background-color: transparent;
}

.navbar-nav {
    float: left;
    margin: 0;
    margin-top: 20px;
}
.navbar-default .nav > li > a,
.header_view .nav > li > a {
    color: #fff;
}
#main-navigation > li a {
    color: #000;
    font-size: 13px;
    font-weight: bold;
}

.user_navigation a {
    color: #000;
}

.open > .dropdown-menu {
    display: block;
    background: #fff;
}
.dropdown-menu > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.846;
    color: #000;
    white-space: nowrap;
}

.navbar-toggle {
    position: relative;
    float: right;
    padding: 9px 10px;
    margin: 15px 15px 15px 0;
    background-color: var(--ac-1);
    background-image: none;
    border: 1px solid var(--ac-1);
    border-radius: 3px;
}
.navbar-default .navbar-toggle,
.header_view .navbar-toggle {
    border-color: var(--ac-1);
}

.btn-topheader {
    padding: 6px;
    margin-top: 10px;
    margin-right: 20px;
    height: 40px;
    width: 160px;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    background: var(--grad);
}

/* Responsive header image */
.headerimg {
    width: 100%;
    max-width: 600px;
}

@media (max-width: 767px) {
    .headerimg {
        max-width: 290px;
    }
    .topmenuss {
        display: none;
    }
    .navbar-toggle {
        background-color: var(--ac-1) !important;
        border: 1px solid var(--ac-1) !important;
        color: #fff;
    }
}

/* ==========================================================
   Journal homepage
   ========================================================== */
.journal_index {
    background: url('https://ijdm.co.in/d/bg.webp') top right no-repeat;
}
.journal_index h1 {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

.about_journal {
    padding: 20px;
    font-size: 1.03em;
    color: #fff;
    /* semi-transparent so the background image still shows through */
    background: linear-gradient(78deg, rgba(0,24,77,.88) 0%, rgba(0,36,110,.88) 50%, rgba(28,63,138,.88) 100%);
}

/* ==========================================================
   Sidebar blocks + panels
   ========================================================== */
.pkp_block {
    margin-bottom: 23px;
    border: none;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0,0,0,.3);
}

.panel-default > .panel-heading,
.pkp_block .title {
    padding: 13px 18px;
    font-size: 24px;
    color: #fff;
    background: var(--grad);
    border-color: var(--line);
}

.panel-default,
.pkp_block,
.list-group-item,
.pkp_block ul li {
    border-color: var(--line);
    font-weight: bold;
    font-size: 14px;
    color: var(--ac-1);
}

.pkp_page_article .article-details .panel-default > .panel-heading {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(to bottom, var(--ac-2) 0%, var(--ac-1) 100%);
    border-bottom: 1px solid var(--line);
}

/* ==========================================================
   Forms + buttons
   ========================================================== */
.form-control {
    display: block;
    width: 240px;
    height: 37px;
    padding: 6px 16px;
    font-size: 13px;
    line-height: 1.846;
    color: #666;
    background-color: #fff;
    background-image: none;
    border: 1px solid var(--ac-1);
    border-radius: 3px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.08);
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.navbaraws-form .form-control {
    width: 300px;
    height: 50px;
    padding: 4px 6px;
    border: 2px solid var(--ac-1);
    background-color: #fff;
}

.btn-search {
    padding: 6px;
    margin-top: 20px;
    height: 50px;
    width: 300px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    background: var(--ac-1);
}
.btn-search:hover {
    background: var(--ac-deep);
}

.btn-primary {
    color: #fff;
    background: var(--grad);
    border-color: transparent;
    font-weight: 600;
}
.btn-primary:hover,
.btn-primary:focus {
    color: #fff;
    background: var(--ac-deep);
}

.radius-50 {
    border-radius: 50px !important;
}

/* ==========================================================
   Modern article cards – OJS Bootstrap 3 theme
   ========================================================== */

/* ---------- Section headings ---------- */
.issue-toc .page-header {
    border: 0;
    margin: 36px 0 18px;
    padding: 0;
}
.issue-toc .page-header h2,
.issue-toc .page-header h2 small {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ac-1);
    margin: 0;
}
.issue-toc .page-header h2::after {
    content: "";
    width: 48px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--ac-1), var(--ac-2));
}

/* ---------- Card ---------- */
.article-summary.media {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 0 0 20px;
    padding: clamp(16px, 2.5vw, 24px) clamp(18px, 3vw, 30px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform .3s cubic-bezier(.2,.8,.2,1),
                box-shadow .3s ease,
                border-color .3s ease;
}
.article-summary.media::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--ac-1), var(--ac-2));
    transition: width .3s ease;
}
.article-summary.media:hover {
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}
.article-summary.media:hover::before {
    width: 6px;
}

/* Reset Bootstrap's table-cell media layout */
.article-summary .media-left,
.article-summary .media-body {
    display: block;
    width: auto;
    padding: 0;
    overflow: visible;
}

/* Cards with a cover image get a two-column layout */
.article-summary.media:has(.media-left) {
    grid-template-columns: clamp(80px, 13vw, 120px) minmax(0, 1fr);
}
.article-summary .media-left img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 16px -6px rgba(18,26,46,.25);
    transition: transform .3s ease;
}
.article-summary.media:hover .media-left img {
    transform: scale(1.03);
}

/* ---------- Title ---------- */
.article-summary .media-heading {
    margin: 0 0 8px;
    font-size: clamp(16px, 14px + .45vw, 19px);
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: -.01em;
    text-wrap: balance;
}
.article-summary .media-heading a {
    color: var(--ink);
    text-decoration: none;
    background-image: linear-gradient(var(--ac-1), var(--ac-1));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 2px;
    transition: background-size .35s ease, color .2s ease;
}
.article-summary .media-heading a:hover,
.article-summary .media-heading a:focus-visible {
    color: var(--ac-1);
    background-size: 100% 2px;
}

/* ---------- Authors ---------- */
.article-summary .meta {
    margin: 0 0 12px;
}
.article-summary .authors {
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
}

/* ---------- Pages + views pills ---------- */
.article-summary .pages,
.article-summary .abstract-views {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 6px 16px 0;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--muted);
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    white-space: nowrap;
}
.article-summary .pages::before {
    content: "Pages:";
    font-weight: 700;
    color: var(--ac-1);
}
.article-summary .abstract-views .fa {
    font-size: 12px;
    color: var(--ac-1);
}

/* ---------- Galley buttons ---------- */
.article-summary .btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    float: none;
}
.article-summary .btn-group > .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    float: none;
    margin: 0;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .03em;
    color: #fff;
    background: linear-gradient(135deg, var(--ac-1), var(--ac-2));
    background-size: 150% 150%;
    border: 0;
    border-radius: 999px !important;
    box-shadow: 0 4px 12px -4px rgba(0,36,110,.45);
    transition: background-position .4s ease, box-shadow .25s ease, transform .2s ease;
}
.article-summary .btn-group > .btn:hover {
    color: #fff;
    background-position: 100% 0;
    box-shadow: 0 8px 18px -6px rgba(0,36,110,.55);
    transform: translateY(-1px);
}
.article-summary .btn-group > .btn:focus-visible {
    color: #fff;
    outline: 3px solid rgba(28,63,138,.35);
    outline-offset: 2px;
}
.article-summary .btn-group > .btn sup {
    top: 0;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(255,255,255,.22);
    border-radius: 999px;
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
    .article-summary.media {
        gap: 14px;
        border-radius: 12px;
    }
    .article-summary.media:has(.media-left) {
        grid-template-columns: 72px minmax(0, 1fr);
    }
    .article-summary.media:hover {
        transform: none;
    }
    .article-summary .btn-group > .btn {
        flex: 1 1 auto;
        justify-content: center;
        padding: 10px 16px;
    }
}

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
    .article-summary.media,
    .article-summary.media *,
    .article-summary.media::before {
        transition: none !important;
        transform: none !important;
    }
}

/* ---------- OPTIONAL: 2 cards per row on very wide screens ----------
   To enable, delete this comment's opening and closing markers.
@media (min-width: 1200px) {
    .issue-toc .media-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
    .issue-toc .media-list > .article-summary.media {
        margin: 0;
    }
}
---------- end optional block ---------- */

.obj_article_summary .abstract-views {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    font-size: 13px;
    line-height: 1.4;
    color: var(--muted);
    margin: 4px 0 10px;
    overflow: visible;
    white-space: normal;
}
.obj_article_summary .abstract-views .fa {
    font-size: 12px;
    color: var(--ac-1);
}

/* ==========================================================
   Footer
   ========================================================== */
footer[role="contentinfo"] {
    background: var(--ac-1);
    background-image: url(https://ijdm.co.in/d/footer_bg.png);
    color: #fff;
    padding-top: 50px;
    font-weight: bold;
}

.footer .footer-tags > li {
    padding: 5px 2px;
}
.footer .footer-tags > li > a {
    display: inline-block;
    font-size: 14px;
    color: #ccc;
    border: 1px solid #bfbfbf;
    text-decoration: none;
    padding: 5px 10px;
    transition: all 200ms cubic-bezier(0.7, 1, 0.7, 1);
}
.footer .footer-tags > li > a:hover {
    color: var(--ac-1);
    background: #fff;
    border-color: #fff;
}

.footer .fa {
    margin-right: 10px;
    font-size: 1.3em;
    color: #858585;
}

.columnfot {
    float: left;
    width: 25%;
    padding: 10px;
    font-weight: bold;
    color: #fff;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

@media screen and (max-width: 600px) {
    .column {
        width: 100%;
    }
}
@media screen and (max-width: 800px) {
    .columnfot {
        width: 100%;
    }
}

/* ==========================================================
   Layout helpers
   ========================================================== */
@media (min-width: 768px) {
    .col-sm-1st {
        width: 30%;
        float: left;
        position: relative;
        min-height: 1px;
        padding-right: 15px;
        padding-left: 15px;
    }
    .col-sm-2nd {
        width: 65%;
        float: right;
        padding-left: 15px;
        margin-left: 15px;
    }
}

.responsive-img {
    width: 100%;
    height: auto;
    max-width: 800px;
    display: block;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .responsive-img {
        max-width: 300px;
    }
}

.imgs {
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 5px;
}

/* ==========================================================
   Icons
   ========================================================== */
.fa-solid, .fas {
    font-weight: 900;
}
.fa-regular, .fa-solid, .far, .fas {
    font-family: "Font Awesome 6 Free";
}
.fa-2x {
    font-size: 2em;
}

.fa-hand-o-down {
    color: #ff9800;
    font-size: 30px;
    margin: 20px;
}

.bounce {
    display: inline-block;
    position: relative;
    animation: bounce 0.5s infinite linear;
}
@keyframes bounce {
    0%   { top: 0; }
    50%  { top: -0.2em; }
    70%  { top: -0.3em; }
    100% { top: 0; }
}

/* ---------- Social icon bar ---------- */
.icon-bar {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
}
.icon-bar a {
    display: block;
    text-align: center;
    padding: 16px;
    transition: all 0.3s ease;
    color: #fff;
    font-size: 20px;
}
.icon-bar a:hover {
    background-color: var(--ac-deep);
}
@media (max-width: 767px) {
    .icon-bar {
        display: none;
    }
}

.facebook { background: #3B5998; color: #fff; }
.twitter  { background: #55ACEE; color: #fff; }
.google   { background: #dd4b39; color: #fff; }
.linkedin { background: #007bb5; color: #fff; }
.youtube  { background: #FF0000; color: #fff; }