:root{
    --brand: #0d6efd; /* primary blue */
    --muted: #6c757d;
    --card-bg: #ffffff;
    --glass: rgba(255,255,255,0.6);
}
body{font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; background:#f6f8fb; color:#222}
.home {background: linear-gradient(180deg, #f8fbff 0%, #ffffff 60%); padding:3.25rem 0}
.home h1, .home h2, .home h3 {font-family: "Source Serif Pro", Georgia, "Times New Roman", serif; letter-spacing: .2px}
.home p {line-height: 1.7}
.home .section-title {margin-bottom: 1.75rem}
.home .btn {padding: .6rem 1.35rem; border-radius: .75rem; font-weight: 600; letter-spacing: .2px}
.home .btn-primary {box-shadow: 0 10px 22px rgba(13,110,253,0.18)}
.home .btn-dark {box-shadow: 0 10px 22px rgba(15,23,42,0.18)}
.home .journal-section-heading {max-width: 640px; margin: 2.25rem auto 1.5rem}
.home .section-eyebrow {display: inline-block; font-size: .8rem; text-transform: uppercase; letter-spacing: .28rem; color: rgba(13,110,253,0.7); font-weight: 700}
.home .section-subtitle {color: #6b7280; margin: 0 auto}
.home .section-heading-left {
    text-align: left;
    max-width: 760px;
    margin: 2.25rem auto 1.5rem;
}
.home .section-heading-left .section-subtitle {
    margin: 0;
}
.about-home {padding: 2rem 0 1.25rem}
.about-home .about-text {font-size: 1.05rem; color: #475569}
.about-home-tight {padding-top: 0.75rem}
.banner-image {display: block; height: auto}
.about-card {
    background: #ffffff;
    border: 1px solid rgba(15,23,42,0.08);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    box-shadow: 0 12px 28px rgba(15,23,42,0.08);
}
.about-card p:last-child {margin-bottom: 0}
.journal-list-wrapper {
    padding: 0 2rem;
}
@media (max-width: 991.98px) {
    .journal-list-wrapper {
        padding: 0;
    }
}
.navbar {
    border-bottom: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 10px 24px rgba(15,23,42,0.12);
    backdrop-filter: blur(6px);
}
.navbar .navbar-brand {gap: .65rem}
.site-logo {
    height: 60px;
    width: 60px;
    object-fit: contain;
}
.navbar-nav .nav-link {
    font-weight: 600;
    letter-spacing: .2px;
    position: relative;
}
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: .5rem;
    right: .5rem;
    bottom: -.35rem;
    height: 2px;
    background: rgba(255,255,255,0.7);
    transform: scaleX(0);
    transition: transform .2s ease;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}
.btn-journals {
    padding: .75rem 2rem;
    border-radius: 999px;
    letter-spacing: .3px;
    text-transform: uppercase;
    font-size: .85rem;
    box-shadow: 0 12px 28px rgba(13,110,253,0.25);
}
.btn-journals:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(13,110,253,0.3);
}
.site-tagline{font-size:1.05rem; color:var(--muted)}
.card-quiet{background:linear-gradient(180deg, rgba(13,110,253,0.06), rgba(13,110,253,0.02)); border:0}
.stat {font-weight:700; font-size:1.4rem}
.muted-small{color:var(--muted); font-size:.9rem}
.rounded-lg{border-radius:1rem}
.btn-primary-soft{background: rgba(13,110,253,0.12); color:var(--brand); border:0}
/* subtle hover animations */
.card:hover{transform:translateY(-6px); box-shadow:0 12px 28px rgba(15,23,42,0.06); transition:all .28s ease}
.card{transition:all .28s ease}
.news-image{height:160px; object-fit:cover; width:100%}
.journal-image{height:140px; object-fit:cover}
.footer {background:#0f1724; color:#dbeafe}
/* responsive tweaks */
@media(min-width:992px){.home .carousel{height:650px}.home .carousel .carousel-item img{height:650px; object-fit:cover}}
/* tiny helper */
.icon-box{display:flex; gap:.75rem; align-items:center}
.icon-circle{width:56px;height:56px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid rgba(13,110,253,0.06)}
.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}
.social-icon:hover {
    background: #0d6efd;
    color: #fff;
}



/* Cards */
.journal-card {
    transition: all 0.4s ease;
    border: 1px solid rgba(15,23,42,0.08);
    border-radius: 14px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 24px rgba(15,23,42,0.08);
}
.journal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(15,23,42,0.12);
}
.journal-card > a {display: block}
.journal-card img {object-fit: cover}
.journal-card .card-body {
    padding: 1.5rem 1.75rem;
}
.journal-card .card-title {font-size: 1.2rem; font-weight: 700}
.journal-card .card-title i {margin-right: .35rem; color: var(--brand)}
.journal-card .card-text {color: #4b5563}
.journal-list {margin-bottom: 2.5rem}
.journal-list-heading {margin-top: 1rem}
/* Pagination */
.pagination .page-link {
    border-radius: 50% !important;
    margin: 0 5px;
    color: #0077b6;
}
.pagination .page-item.active .page-link {
    background-color: #0077b6;
    border-color: #0077b6;
    color: white;
}
/* Footer */
footer {
    background: linear-gradient(180deg, #0d1b2a 0%, #0b1320 100%);
    color: #cbd5f5;
    padding: 56px 0 28px;
    margin-top: 64px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
footer a {
    color: #dbeafe;
    text-decoration: none;
}
footer a:hover {
    color: #fff;
}
.footer h4,
footer h5 {
    letter-spacing: .3px;
}
.footer p,
footer p {
    color: rgba(219,234,254,0.75);
}
.footer .social-icon {
    border: 1px solid rgba(255,255,255,0.15);
}
.footer .social-icon:hover {
    background: #2563eb;
    border-color: transparent;
}
.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin: 0 5px;
    border-radius: 50%;
    background: #1b263b;
    color: #ccc;
    text-align: center;
    transition: 0.3s;
}
.social-icons a:hover {
    background: #0077b6;
    color: #fff;
}
/* Hero Banner */
.hero {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}
.hero-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    z-index: 2;
}
.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
}
.hero-content p {
    font-size: 1.2rem;
    margin: 15px 0;
}
.hero-news {
    background: url('/frontend/img/news-banners.jpg') center/cover no-repeat;
}
.hero-journals {
    background: url('/frontend/img/journals-bannners.jpg') center/cover no-repeat;
}


h2.section-title {
    font-weight: 600;
    border-left: 4px solid #0d6efd;
    padding-left: 10px;
    margin-bottom: 20px;
}
.info-box {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.info-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.info-item:last-child {
    border-bottom: none;
}
.info-icon {
    font-size: 1.8rem;
    color: #0d6efd;
}
.info-content strong {
    display: block;
    margin-bottom: 5px;
    color: #222;
}
.table-align-left {
    text-align: left;
}
.table-align-center {
    text-align: center;
}
.table-middle {
    vertical-align: middle;
}
.text-justify {
    text-align: justify;
}
.leading-relaxed {
    line-height: 1.8;
}

.styled-accordion .accordion-button {
    font-weight: 600;
    background: #f8f9fa;
    transition: all 0.3s ease;
}
.styled-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(90deg, #0d6efd, #00bcd4);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.styled-accordion .accordion-button i {
    transition: transform 0.3s ease;
}
.styled-accordion .accordion-button:not(.collapsed) i {
    transform: rotate(15deg) scale(1.2);
    color: #fff !important;
}
.styled-accordion .accordion-body {
    background: #fff;
    border-radius: 0 0 12px 12px;
    padding: 15px 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-section {
    padding: 60px 0;
}
.form-box, .faq-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.form-control, .form-select {
    border-radius: 10px;
}
.btn-custom {
    background: #0d6efd;
    color: #fff;
    border-radius: 25px;
    padding: 10px 25px;
    transition: 0.3s;
}
.btn-custom:hover {
    background: #084298;
}
.form-box {
    background: #fff;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}
.form-box:hover {
    transform: translateY(-5px);
}
.form-control, .input-group-text {
    border-radius: 12px !important;
}
.btn-gradient {
    background: linear-gradient(90deg, #0d6efd, #00bcd4);
    color: #fff;
    font-weight: 600;
    border-radius: 30px;
    padding: 12px;
    transition: 0.3s ease-in-out;
    border: none;
}
.btn-gradient:hover {
    opacity: 0.9;
    transform: scale(1.02);
}
.about-section {
    padding: 80px 0;
}
.about-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0d6efd;
}
.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}
.about-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.about-images img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.about-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}
/* Banner */
.editorial-banner {
    text-align: center;
    padding: 70px 20px 50px;
    background: linear-gradient(135deg, #0d6efd, #4dabf7, #5e60ce);
    background-size: 300% 300%;
    animation: gradientMove 8s ease infinite;
    color: #fff;
    border-radius: 0 0 35px 35px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

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

.editorial-banner::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.25);
    border-radius: 0 0 35px 35px;
}

.editorial-banner .content {
    position: relative;
    z-index: 2;
}

.editorial-banner i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #ffd43b;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.editorial-banner h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.editorial-banner p {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Editor Cards */
.editor-card {
    text-align: center;
    margin-bottom: 35px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
}
.editor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
    border-radius: 20px;
    background: #fff;
}
.editor-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #e9ecef;
    margin-bottom: 12px;
    transition: transform 0.4s ease;
}
.editor-card img:hover {
    transform: scale(1.05);
}
.editor-card h5 {
    font-weight: 600;
    margin-bottom: 5px;
}
.editor-card p {
    color: #777;
    font-size: 0.95rem;
    margin: 0;
}

.editorial-banner-simple {
    background: linear-gradient(135deg, #f3f6fb, #ffffff);
    border-bottom: 2px solid #eee;
}
.editorial-banner-simple h2 {
    color: #2c3e50;
}
.editorial-banner-simple p.lead {
    color: #34495e;
    font-weight: 500;
}
.navbar{
    background-color:rgb(65 88 122) !important;
    height: 80px;
}
.upload-box {
    cursor: pointer;
    transition: all 0.3s ease;
}
.upload-box:hover {
    background: #f8f9fa;
    border-color: #0d6efd;
}
.form-control:focus, .form-select:focus {
    box-shadow: 0 0 6px rgba(13,110,253,.5);
    border-color: #0d6efd;
}
.hover-zoom {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hover-zoom:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.backdrop-blur {
    backdrop-filter: blur(6px);
}

.card-img-left {
    width: 300px;
    height: 100%;
    object-fit: contain;
    background-color: #fff;
}
@media (max-width: 768px) {
    .journal-card {flex-direction: column}
    .card-img-left {width: 100%; height: 220px}
}

.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl{
    max-width: 75%;
    width: 75%;
}
.navbar .container,
footer .container{
    max-width: 100%;
    width: 100%;
}
@media (max-width: 768px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl{
        max-width: 100%;
        width: 100%;
    }
}
@media (max-width: 768px) {
    body {
        font-size: 0.98rem;
        line-height: 1.6;
    }
    .home {
        padding: 2rem 0;
    }
    h1, h2, h3 {
        line-height: 1.2;
    }
    h1 {font-size: 1.8rem}
    h2 {font-size: 1.5rem}
    h3 {font-size: 1.2rem}
    p {margin-bottom: 0.85rem}
    .about-card {
        padding: 1.25rem 1.35rem;
    }
    .journal-list-wrapper {
        padding: 0;
    }
    .card {
        border-radius: 14px;
    }
    .card-body {
        padding: 1.1rem;
    }
    .card-img-top,
    .news-image,
    .journal-image,
    .banner-image {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    .card-img-left {
        height: 200px;
        border-radius: 14px 14px 0 0;
    }
    .journal-card {
        border-radius: 14px;
        overflow: hidden;
    }
    .section-heading-left {
        text-align: left;
        margin: 1.75rem 0 1rem;
    }
    .section-eyebrow {
        letter-spacing: .22rem;
    }
    .btn-journals {
        width: 100%;
        text-align: center;
    }
    .navbar {
        height: auto;
        padding: .5rem 0;
    }
    footer .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .info-box {
        padding: 18px;
    }
}
.handwritten-text{
    font-family: 'Dancing Script', cursive;
    font-size: 1rem;
    color: #f2d0c7;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);

}
