/* ===========================
   IJBPS Journal Stylesheet
   International Journal of Biological and Pharmaceutical Sciences
=========================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-blue: #0B4F8A;
    --secondary-green: #4CAF50;
    --light-bg: #F8FBFD;
    --white: #ffffff;
    --dark-text: #1F2937;
    --light-text: #6B7280;
    --border: #D1D5DB;
    --hover-blue: #083B66;
    --shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
}

/* Header */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 15px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
}

.logo span {
    color: var(--secondary-green);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    color: var(--secondary-green);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #EAF5FC, #F0FFF4);
    padding: 80px 60px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--secondary-green);
}

.hero p {
    font-size: 18px;
    color: var(--light-text);
    max-width: 800px;
    margin: auto;
}

.btn {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 30px;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}

.btn:hover {
    background: var(--hover-blue);
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: "";
    width: 80px;
    height: 4px;
    background: var(--secondary-green);
    display: block;
    margin: 10px auto;
}

/* Cards */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 50px;
}

.card {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-8px);
}

.card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

/* Journal Articles */
.article {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.article-title {
    font-size: 22px;
    color: var(--primary-blue);
    font-weight: 600;
}

.article-meta {
    color: var(--light-text);
    font-size: 14px;
    margin-top: 8px;
}

/* Sidebar */
.sidebar {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.sidebar h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
}

/* Buttons */
.submit-btn {
    background: var(--secondary-green);
}

.submit-btn:hover {
    background: #3E8E41;
}

/* Footer */
footer {
    background: var(--primary-blue);
    color: white;
    padding: 50px 30px;
    text-align: center;
}

footer h3 {
    margin-bottom: 15px;
    color: #A7F3D0;
}

footer p {
    color: #E5E7EB;
}

.footer-links {
    margin: 20px 0;
}

.footer-links a {
    color: white;
    margin: 0 12px;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--secondary-green);
}

/* Responsive */
@media(max-width: 768px) {
    .hero h1 {
        font-size: 34px;
    }

    nav ul {
        flex-direction: column;
        gap: 12px;
    }

    .card-container {
        padding: 20px;
    }
}