/* SPJ Publication - Main Stylesheet */
/* Theme Colors: Yellow (#FFD700, #FFC107) and Blue (#0056B3, #1E90FF) */

:root {
    --primary-blue: #0056B3;
    --secondary-blue: #1E90FF;
    --primary-yellow: #FFC107;
    --secondary-yellow: #FFD700;
    --dark-blue: #003366;
    --light-blue: #E3F2FD;
    --dark-text: #333333;
    --light-text: #666666;
    --border-color: #dee2e6;
    --white: #ffffff;
    --light-bg: #f8f9fa;
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-text);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--dark-blue);
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

.btn-warning {
    background-color: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: var(--dark-text);
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 5px;
}

.btn-warning:hover {
    background-color: var(--secondary-yellow);
    border-color: var(--secondary-yellow);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

/* Top Header */
.top-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-header a {
    color: var(--white);
    margin-right: 15px;
}

.top-header a:hover {
    color: var(--primary-yellow);
}

.top-header .badge {
    font-size: 10px;
    padding: 2px 6px;
    vertical-align: top;
    margin-left: 3px;
}

/* Main Header */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand img {
    height: 60px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark-text);
    font-weight: 500;
    padding: 15px 20px;
    position: relative;
    font-size: 15px;
}

.navbar-light .navbar-nav .nav-link i {
    margin-right: 5px;
    color: var(--primary-blue);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-blue);
}

.navbar-light .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-yellow);
    transition: width 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after {
    width: 60%;
}

/* Hero Section */
.hero-section {
    /* background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%); */
    background: linear-gradient(135deg, #00356a 0%, #003c7b 100%);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

p{
 text-align: justify;
}

.service-box p{
    text-align: center;
}

.hero-section::before {
    /* content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover; */
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-section .col-lg-8 .lead{
    margin-bottom: 15px;
}

.readyToCollaborate{
    color: #fff;
    margin: 0px;
    margin-bottom: 0px !important;
}

.animate__animated .btn-outline-light{
    padding: 13px 40px;
}

.card-body{
    padding: 30px;
}

.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-blue), var(--primary-yellow));
    margin: 20px auto 0;
    border-radius: 2px;
}

.section-title p {
    color: var(--light-text);
    font-size: 1.1rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.card-img-top {
    border-radius: 10px 10px 0 0;
    height: 250px;
    object-fit: cover;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 0px;
}

.text-muted {
    text-align: center;
}
.section-title p{
    text-align: center;
}


.policy-section p{
    text-align: center;
}

.card-text {
    color: var(--light-text);
    font-size: 0.95rem;
}

/* Journal/Book Cards */
.journal-card,
.book-card {
    margin-bottom: 30px;
}

.journal-badge,
.book-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-yellow);
    color: var(--dark-text);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

.open-access-badge {
    background: #28a745;
    color: var(--white);
}

/* Featured Section */
.featured-section {
    background: var(--light-bg);
    padding: 80px 0;
}

.featured-item {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.featured-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.featured-item img {
    width: 100%;
    max-width: 200px;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.featured-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Filter Sidebar */
.filter-sidebar {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.filter-sidebar h5 {
    color: var(--dark-blue);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-yellow);
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-text);
}

.filter-group .form-check {
    margin-bottom: 10px;
}

.filter-group .form-check-input:checked {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Pagination */
.pagination {
    margin-top: 40px;
}

.pagination .page-link {
    color: var(--primary-blue);
    border-color: var(--border-color);
    padding: 10px 18px;
    margin: 0 3px;
    border-radius: 5px;
}

.pagination .page-link:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Management Team */
.team-member {
    text-align: center;
    margin-bottom: 40px;
}

.team-member-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 5px solid var(--primary-yellow);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.team-member h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.team-member .designation {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-weight: 500;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.form-control,
.form-select {
    border: 2px solid var(--border-color);
    border-radius: 5px;
    padding: 12px 15px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.15);
}

.form-control::placeholder {
    color: #aaa;
}

/* Contact Form */
.contact-info-box {
    background: var(--light-blue);
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-blue);
    margin-bottom: 30px;
}

.contact-info-box h4 {
    margin-bottom: 20px;
}

.contact-info-box ul {
    list-style: none;
    padding: 0;
}

.contact-info-box ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info-box ul li i {
    color: var(--primary-blue);
    font-size: 20px;
    margin-right: 15px;
    width: 30px;
}

/* Cart & Checkout */
.cart-table {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.cart-table th {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    font-weight: 600;
    padding: 15px;
}

.cart-table td {
    padding: 15px;
    vertical-align: middle;
}

.cart-summary {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 10px;
    border: 2px solid var(--primary-yellow);
}

.cart-summary h4 {
    margin-bottom: 20px;
    color: var(--dark-blue);
}

.cart-summary .summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.cart-summary .total-row {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    border-bottom: none;
    margin-top: 15px;
}

/* Book Details Page */
.book-detail-img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.book-meta {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.book-meta .meta-item {
    margin-bottom: 15px;
    display: flex;
}

.book-meta .meta-item strong {
    min-width: 120px;
    color: var(--dark-blue);
}

.book-chapters {
    margin-top: 40px;
}

.chapter-item {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-blue);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.chapter-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateX(5px);
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-widget h4 {
    color: var(--primary-yellow);
    font-size: 1.3rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-yellow);
    padding-left: 5px;
}

.footer-links a i {
    margin-right: 8px;
    color: var(--primary-yellow);
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info li i {
    color: var(--primary-yellow);
    font-size: 18px;
    margin-right: 12px;
    margin-top: 3px;
    min-width: 20px;
}

.contact-info a {
    color: var(--white);
}

.contact-info a:hover {
    color: var(--primary-yellow);
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-yellow);
    color: var(--dark-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom a {
    color: var(--primary-yellow);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0, 86, 179, 0.4);
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    transform: translateY(-5px);
}

/* Loading Spinner */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .navbar-collapse {
        background: var(--white);
        padding: 20px;
        margin-top: 15px;
        border-radius: 10px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .top-header {
        font-size: 12px;
    }
    
    .top-header a {
        display: block;
        margin: 5px 0;
    }
    
    .filter-sidebar {
        margin-bottom: 30px;
    }
}

/* Print Styles */
@media print {
    .top-header,
    .main-header,
    .main-footer,
    .scroll-to-top,
    .btn {
        display: none !important;
    }
}

/* Utility Classes */
.text-primary-blue {
    color: var(--primary-blue) !important;
}

.text-primary-yellow {
    color: var(--primary-yellow) !important;
}

.bg-primary-blue {
    background-color: var(--primary-blue) !important;
}

.bg-primary-yellow {
    background-color: var(--primary-yellow) !important;
}

.bg-light-blue {
    background-color: var(--light-blue) !important;
}


@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1214px;
    }
}
.nav-link  .fas{
    display: none;
}
.top-header{
    padding: 8px 0;
    font-size: 12px;
}