/* Journal Website Styles */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #1E3A8A;
    --secondary-color: #4a90e2;
    --accent-color: #4193fa;
    --dark-blue: #1e293b;
    --light-blue: #e0f2fe;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    direction: rtl;
    text-align: right;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: white;
    padding: 0;
    /*border-radius: 0 0 20px 20px;*/
    margin-bottom: 0 !important;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.header .subtitle {
    text-align: center;
    font-size: 1.1rem;
    opacity: 0.9;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1% 0;
}

/* Navigation Styles */
.navbar {
    background: var(--dark-blue);
    padding: 15px 0;
    margin-bottom: 30px;
    position: relative;
    /*border-radius: 21px;*/
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    list-style: none;
    margin: 6px 0;
}
.nav-menu > li {
    position: relative;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 6px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: block;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: var(--accent-color);
    transform: translateY(-2px);
}
.has-dropdown i{
    display: ruby;
    margin-right: 8px !important;
}
/* Dropdown styles */
.has-dropdown .dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 235px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--dark-blue) !important;
    border-radius: 5px;
}

.has-dropdown li a{
    color: var(--dark-blue);
}
.has-dropdown li a:hover,
.has-dropdown li a.active {
    background: none;
    color: var(--secondary-color);
    transform: translateY(-2px);
}
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
}

/* Main Content Layout */
.main-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin-bottom: 40px;
}

/* Content Area */
.content-area {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.journal-info {
    background: linear-gradient(135deg, var(--light-blue), var(--white));
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-right: 5px solid var(--accent-color);
}

.journal-info h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.journal-info p {
    line-height: 1.8;
    color: var(--text-dark);
}

/* Articles Section */
.articles-section {
    margin-top: 30px;
}

.section-header {
    background: var(--dark-blue);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.article-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.article-item:hover {
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.article-title {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.5;
}

.article-title a {
    color: inherit;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    height: 100%;
}

.article-title a:hover {
    color: var(--accent-color);
}

/* Sidebar Styles */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.widget-header {
    background: var(--dark-blue);
    color: white;
    padding: 15px 20px;
}
i.fa{
    margin-left: 2% !important;
    font-size: 1.1rem !important;
}

.widget-content {
    padding: 20px;
}

.info-list {
    list-style: none;
}

.info-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.info-label {
    font-weight: 500;
    color: var(--text-dark);
}

.info-value {
    color: var(--accent-color);
    font-weight: 600;
}

/* Volume Archive */
.volume-item {
    background: var(--light-blue);
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.volume-item:hover {
    background: var(--accent-color);
    color: white;
}

.volume-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.issue-count {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Browse Page Styles */
.browse-header {
    background: var(--light-blue);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    text-align: center;
}

.browse-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.issue-info {
    color: var(--text-light);
    font-size: 1rem;
}

.articles-grid {
    display: grid;
    gap: 20px;
}

.article-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
}

.article-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

.article-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.author-name {
    color: var(--text-dark);
    font-weight: 500;
}

.article-actions {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-color);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-outline:hover {
    background: var(--accent-color);
    color: #FFFFFF !important;
}

/* Article Page Styles */
.article-header {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.article-title-main {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 20px;
}

.article-meta-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.meta-item {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.meta-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 5px;
}

.meta-value {
}

.article-content {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    line-height: 1.8;
}

.article-content h2 {
    color: var(--primary-color);
    margin: 30px 0 15px;
    font-size: 1.4rem;
}

.article-content p {
    margin-bottom: 15px;
}

.keywords {
    background: var(--light-blue);
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
}

.keywords h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.keyword-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.keyword-tag {
    background: var(--accent-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Statistics Box */
.stats-box {
    background: var(--light-blue);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stats-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.download-section {
    background: var(--white);
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
}

.file-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.file-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.file-size {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }

    .header h1 {
        font-size: 1.8rem;
    }

    .logo-section {
        flex-direction: column;
        gap: 20px;
    }

    .article-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .article-meta-full {
        grid-template-columns: 1fr;
    }

    .content-area,
    .article-content {
        padding: 20px;
    }

    .article-header {
        padding: 25px;
    }

    .article-title-main {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .header {
        padding: 15px 0;
    }

    .navbar {
        padding: 10px 0;
    }

    .content-area,
    .article-content {
        padding: 15px;
    }
}
/*=========================
	Start Footer CSS
===========================*/
.footer{
    position:relative;
}
.footer .footer-top{
    padding:1%;
    position:relative;
    background:var(--primary-color);
}
.footer .footer-top:before{
    position:absolute;
    content:"";
    left:0;
    top:0;
    height:100%;
    width:100%;
    background:#000;
    opacity:0.1;
}
.footer .single-footer{

}
.footer .single-footer .social{
    margin-top:25px;
}
.footer .single-footer .social li{
    display:inline-block;
    margin-left:10px;
}
.footer .single-footer .social li:last-child{
    margin-left:0;
}
.footer .single-footer .social li a {
    height: 34px;
    width: 34px;
    line-height: 34px;
    text-align: center;
    border: 1px solid #fff;
    padding: 0;
    border-radius: 100%;
    display: block;
    color:#fff;
    font-size: 16px;
    margin-top: 30%;
}
.footer .single-footer .social li a:hover{
    color:#d12028;
    background:#fff;
    border-color:transparent;
}
.footer .single-footer .social li a i{

}
.footer .single-footer.f-link li a i{
    margin-left:6px;
}
.footer .single-footer.f-link li{
    display:block;
    margin-bottom:12px;
}
.footer .single-footer.f-link li:last-child{
    margin:0;
}
.footer .single-footer.f-link li a {
    display: block;
    color: #fff;
    text-transform: capitalize;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
    font-weight: 400;
}
.footer .single-footer.f-link li a:hover{
    padding-left:8px;
}
.footer .single-footer h2{
    color:#fff;
    font-size:20px;
    font-weight:600;
    text-transform:capitalize;
    margin-bottom:40px;
    padding-bottom:20px;
    position:relative;
}
.footer .single-footer h2::before{
    position: absolute;
    content: "";
    bottom: 0;
    height: 3px;
    width: 50px;
    background: #fff;
}
.footer .single-footer .time-sidual{
    margin-top:15px;
}
.footer .single-footer .time-sidual{
    overflow:hidden;
}
.footer .single-footer .time-sidual li {
    display: block;
    color: #fff;
    width: 100%;
    margin-bottom: 5px;
}
.footer .single-footer .time-sidual li span{
    display:inline-block;
    float:right;
}
.footer .single-footer .day-head .time {
    font-weight: 400;
    float: right;
}
.footer .single-footer p{
    color:#fff;
}
.footer .single-footer .newsletter-inner{
    margin-top:20px;
    position:relative;
}
.footer .single-footer .newsletter-inner input {
    background: transparent;
    border: 1px solid #fff;
    height: 50px;
    line-height: 42px;
    width: 100%;
    margin-left: 15px;
    color: #fff;
    padding-right: 18px;
    padding-left: 70px;
    display: inline-block;
    float: right;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
    font-weight: 400;
    border-radius: 5px;
    text-align: right;
}
.footer .single-footer .newsletter-inner input:hover{
    padding-left: 22px;
}
.footer input::-webkit-input-placeholder {
    opacity: 1;
    color: #fff !important;
}

.footer input::-moz-placeholder {
    opacity: 1;
    color: #fff !important;
}

.footer input::-ms-input-placeholder {
    opacity: 1;
    color: #fff !important;
}
.footer input::input-placeholder {
    opacity: 1;
    color: #fff !important;
}
.footer .single-footer .newsletter-inner .button {
    position: absolute;
    left: 0;
    top: 0;
    height: 50px;
    line-height: 50px;
    width: 50px;
    background: #fff;
    text-shadow: none;
    box-shadow: none;
    display: inline-block;
    border: none;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
    border-radius: 5px 0 0 5px;
    color: var(--primary-color);
    font-size: 25px;
}
.footer .single-footer .newsletter-inner .button i{
    -webkit-transition:all 0.4s ease;
    -moz-transition:all 0.4s ease;
    transition:all 0.4s ease;
}
.footer .single-footer .newsletter-inner .button:hover i{
    color:#2C2D3F;
}
.footer .copyright{
    background: var(--accent-color);
    padding:25px 0 25px 0;
    text-align:center;
}
.footer .copyright .copyright-content p{
    color: var(--dark-blue);
}
.footer .copyright .copyright-content p a{
    color: #002387;
    text-decoration:none;
    display:inline-block;
    margin-left:4px;
}
/*=========================
	End Footer CSS
===========================*/

/*====================
Preloader Area CSS
=====================*/
.preloader {
    position: fixed;
    left: 0;
    height: 100%;
    width: 100%;
    text-align: center;
    z-index: 9999999;
    -webkit-transition: .9s;
    transition: .9s;
}

.preloader .loader {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-block;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 45%;
    -webkit-transform: translateY(-45%);
    transform: translateY(-45%);
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

.preloader .loader .loader-outter {
    position: absolute;
    border: 4px solid #ffffff;
    border-left-color: transparent;
    border-bottom: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    -webkit-animation: loader-outter 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
    animation: loader-outter 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
}

.preloader .loader .loader-inner {
    position: absolute;
    border: 4px solid #ffffff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    left: calc(40% - 21px);
    top: calc(40% - 21px);
    border-right: 0;
    border-top-color: transparent;
    -webkit-animation: loader-inner 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
    animation: loader-inner 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
}

.preloader .loader .indicator {
    position: absolute;
    right: 0;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%) scale(1.5);
    transform: translateY(-50%) scale(1.5);
}

.preloader .loader .indicator svg polyline {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.preloader .loader .indicator svg polyline#back {
    stroke: #ffffff;
}

.preloader .loader .indicator svg polyline#front {
    stroke: var(--primary-color);
    stroke-dasharray: 12, 36;
    stroke-dashoffset: 48;
    -webkit-animation: dash 1s linear infinite;
    animation: dash 1s linear infinite;
}

.preloader::before, .preloader::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 60%;
    z-index: -1;
    background: var(--primary-color);
    -webkit-transition: .9s;
    transition: .9s;
}

.preloader::after {
    left: auto;
    right: 0;
}

.preloader.preloader-deactivate {
    visibility: hidden;
}

.preloader.preloader-deactivate::after, .preloader.preloader-deactivate::before {
    width: 0;
}

.preloader.preloader-deactivate .loader {
    opacity: 0;
    visibility: hidden;
}

@-webkit-keyframes loader-outter {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes loader-outter {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes loader-inner {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}

@keyframes loader-inner {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}

@-webkit-keyframes dash {
    62.5% {
        opacity: 0;
    }
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes dash {
    62.5% {
        opacity: 0;
    }
    to {
        stroke-dashoffset: 0;
    }
}
#scrollUp {
    bottom: 15px;
    right: 15px;
    background: var(--primary-color);
    color: #fff;
    font-size: 25px;
    width: 45px;
    height: 45px;
    text-align: center;
    line-height: 45px;
    padding: 0;
    border-radius: 3px;
    box-shadow: 0 0 10px #00000026;
}
#scrollUp:hover{
    background:var(--accent-color);
}
/*====================
End Preloader Area CSS
=====================*/
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) { }

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { }

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { }

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {}

/* 2K & 4K Screens (optional) */
@media (min-width: 1600px) {}
