body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f4f5f7;
    color: #222;
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* NAVBAR */
.navbar {
    background: #ffffff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: 600;
    color: #1e40af;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.navbar li {
    cursor: pointer;
    font-weight: 500;
    color: #444;
    transition: 0.3s;
}

.navbar li:hover,
.navbar .active {
    color: #ff5a5f;
}

/* SECTION TITLE */
.section-title {
    text-align: center;
    padding: 60px 20px 30px;
}

.section-title h1 {
    font-size: 42px;
    font-weight: 600;
}

.section-title h1 span {
    color: #ff5a5f;
}

.underline {
    width: 60px;
    height: 4px;
    background: #444;
    margin: 15px auto 0;
    border-radius: 4px;
}

/* JOURNAL GRID */
.journal-section {
    padding: 40px 0 80px;
}

.journal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

/* CARD */
.journal-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    position: relative;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.journal-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.journal-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #eee;
    min-height: 250px;
}

.journal-card h3 {
    font-size: 16px;
    font-weight: 500;
}

.lazy-img {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.lazy-img.loaded {
    opacity: 1;
}

/* BADGES */
.badge-group {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 6px;
}

.badge {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 5px;
    color: #fff;
    font-weight: 500;
}

.orange { background: #f59e0b; }
.green { background: #10b981; }
.blue { background: #3b82f6; }

/* RESPONSIVE */
@media(max-width: 768px) {
    .section-title h1 {
        font-size: 30px;
    }
}
/* VISIT BUTTON */
.visit-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 16px;
    background: #1e40af;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s ease;
}

.visit-btn:hover {
    background: #ff5a5f;
    transform: translateY(-2px);
}

/* Infinite Load */
#loadMoreTrigger {
    height: 50px;
}

/* ================= FOOTER ================= */

.footer {
    background: #111827;
    color: #e5e7eb;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
    color: #cbd5e1;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #ff5a5f;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #374151;
    margin-top: 40px;
    padding-top: 15px;
    font-size: 13px;
    color: #9ca3af;
}
/* ================= ABOUT PORTAL ================= */

.about-portal {
    padding: 70px 0 40px;
    background: #ffffff;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #1e40af;
}

.about-text p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #475569;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* RESPONSIVE */
@media(max-width: 900px) {
    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .about-text {
        text-align: center;
    }
}
