/* --- GLOBAL VARIABLES --- */
:root {
    --teal: #008B9B;
    --teal-dark: #006b77;
    --blue: #00509D;
    --light: #f8f9fa;
    --white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #444;
}

a { text-decoration: none; transition: 0.3s; }

/* --- COLORS & BUTTONS --- */
.text-teal { color: var(--teal) !important; }
.bg-teal { background-color: var(--teal) !important; }

.btn-primary { background-color: var(--blue); border-color: var(--blue); border-radius: 50px; padding: 10px 25px; }
.btn-primary:hover { background-color: #003f7d; }

.btn-teal { background-color: var(--teal); color: white; border-radius: 50px; padding: 8px 25px; font-weight: 600; }
.btn-teal:hover { background-color: var(--teal-dark); color: white; }

/* --- FOOTER STYLING --- */
.footer-section {
    background-color: #f1f5f9;
}

.footer-logo img {
    max-width: 180px;
    height: auto;
}

.footer-menu-list li {
    margin-bottom: 10px;
}

.footer-menu-list li a {
    color: #64748b;
}

.footer-menu-list li a:hover {
    color: var(--teal);
    padding-left: 5px;
}

.social-btn {
    width: 35px;
    height: 35px;
    background: var(--teal);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
}

.social-btn:hover {
    background: var(--blue);
    transform: translateY(-3px);
}

/* --- CARDS & ANIMATION --- */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.1) !important;
}

/* --- FLOATING WA --- */
.float-wa {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.float-wa:hover {
    transform: scale(1.1);
    color: white;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .display-4 { font-size: 2.5rem; }
    .footer-section { text-align: center; }
    .footer-section .d-flex { justify-content: center; }
    .float-wa { width: 50px; height: 50px; bottom: 20px; right: 20px; font-size: 25px; }
}
/* --- BLOG SECTION STYLING --- */

/* 1. Blog Card Base */
.blog-card {
    border: none;
    border-radius: 1.25rem; /* rounded-4 */
    background: var(--white);
    overflow: hidden;
}

/* 2. Thumbnail & Zoom Effect */
.blog-thumb-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumb-wrapper img {
    transform: scale(1.1);
}

/* 3. Category Badge Over Image */
.blog-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--teal);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* 4. Blog Titles & Meta */
.blog-title a {
    color: var(--blue);
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Batasi 2 baris agar rapi */
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.2rem;
}

.blog-title a:hover {
    color: var(--teal);
}

.blog-meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 5. Read More Link */
.read-more-link {
    color: var(--teal);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more-link:hover {
    color: var(--blue);
    gap: 10px; /* Animasi panah sedikit bergeser */
}

/* 6. Pagination (Untuk halaman blog utama) */
.pagination-wrapper .page-numbers {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 4px;
    background: white;
    color: var(--blue);
    border: 1px solid #eee;
    font-weight: 600;
}

.pagination-wrapper .page-numbers.current {
    background: var(--teal);
    color: white;
    border-color: var(--teal);
}

.pagination-wrapper .page-numbers:hover:not(.current) {
    background: var(--light);
    color: var(--teal);
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .blog-thumb-wrapper {
        height: 180px;
    }
}