:root {
    --primary-color: #8b0000; /* Merah Utama PT ABT Danie Group */
    --primary-dark: #5c0000;  /* Merah Gelap untuk Gradient/Hover */
    --accent-color: #a71d2a;   /* Merah Cerah untuk Akses/Highlight */
    --text-color: #333333;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.bg-light { background-color: var(--bg-light); }
.section { padding: 80px 0; }

.section-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Header Dan Navigasi */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none !important;
}

.brand-logo {
    max-height: 40px !important;
    width: auto !important;
    display: inline-block !important;
    vertical-align: middle;
}

.logo span { color: var(--accent-color); }

.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    font-size: 14px;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Tombol-tombol */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white) !important;
}

.btn-primary:hover { 
    background: var(--primary-dark); 
}

.btn-secondary {
    background: #e2e8f0;
    color: var(--primary-color) !important;
}

.btn-secondary:hover {
    background: #cbd5e1;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(
        135deg, 
        rgba(139, 0, 0, 0.82) 0%,
        rgba(92, 0, 0, 0.86) 100%
    ), url('/bksup/1225-4.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 110px 0;
    text-align: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero p {
    font-size: 1.15rem;
    max-width: 750px;
    margin: 0 auto 30px;
    opacity: 0.95;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.hero .btn-primary {
    background: var(--white);
    color: var(--primary-color) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hero .btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

.hero .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Grid Dan Kartu Layanan (Pembersihan Underline Dan Warna Biru) */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.card-link, 
.card-link:hover, 
.card-link:focus, 
.card-link:visited {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.card h3 {
    color: var(--primary-color) !important;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none !important;
}

.card p {
    color: #475569 !important;
    font-size: 0.95rem;
    line-height: 1.6;
    text-decoration: none !important;
}

/* Layout Grid Artikel (3 Kolom x 2 Baris) */
.article-grid-wrapper {
    width: 100%;
    margin-top: 30px;
}

.article-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.article-grid-item {
    display: block;
}

.article-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card-link:hover .article-card {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-color: #8b0000;
}

.article-thumb-container {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f1f5f9;
}

.article-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-link:hover .article-thumb-img {
    transform: scale(1.05);
}

.article-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.article-date {
    font-size: 0.8rem;
    color: #64748b !important;
    margin-bottom: 8px;
}

.article-title {
    font-size: 1.1rem;
    color: #0f172a !important;
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 700;
}

.article-excerpt {
    font-size: 0.9rem;
    color: #475569 !important;
    margin-bottom: 15px;
    line-height: 1.5;
}

.read-more {
    color: #8b0000 !important;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Navigasi Paginasi Artikel (Prev 1 2 3 Next) */
.article-pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.page-btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 38px;
    height: 38px;
    padding: 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: #334155;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.page-btn:hover:not(.disabled) {
    border-color: #8b0000;
    color: #8b0000;
    background: #fef2f2;
}

.page-btn.active {
    background: #8b0000;
    color: #ffffff;
    border-color: #8b0000;
    box-shadow: 0 2px 6px rgba(139, 0, 0, 0.3);
}

.page-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f1f5f9;
}

/* Style Kartu Anak Usaha / Ekosistem */
.subsidiary-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.preview-frame {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #e2e8f0;
}

.subsidiary-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.subsidiary-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.subsidiary-content h3 {
    color: var(--primary-color) !important;
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.subsidiary-content p {
    font-size: 0.9rem;
    color: #475569 !important;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Style Kartu Ulasan Google */
.review-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 3px solid #8b0000;
    border-radius: 8px;
    padding: 20px;
}

.review-stars {
    color: #f59e0b;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.review-text {
    font-size: 0.9rem;
    color: #334155;
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.5;
}

.review-author strong {
    display: block;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.review-author span {
    font-size: 0.8rem;
    color: #64748b;
}

/* Styling Footer Dinamis PT ABT Danie Group */
.footer {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    padding: 60px 0 20px 0;
    font-size: 0.9rem;
    border-top: 4px solid var(--accent-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.8fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    color: #ffffff !important;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.brand-logo-footer {
    max-height: 38px;
    width: auto;
    background: #ffffff;
    padding: 3px 6px;
    border-radius: 4px;
}

.footer-desc {
    color: #f1f5f9 !important;
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer-title {
    color: #ffffff !important;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #ffffff;
}

.footer-links, .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li, .footer-contact li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-links a, .footer-contact a {
    color: #f8fafc !important;
    text-decoration: none !important;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-links a:hover, .footer-contact a:hover {
    color: #fef2f2 !important;
    transform: translateX(4px);
}

.contact-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    color: #e2e8f0 !important;
    font-size: 0.85rem;
}

/* Responsif Mobile Dan Tablet */
@media (max-width: 868px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Style Responsif Mobile Dan Tablet */
@media (max-width: 992px) {
    .article-grid-container {
        grid-template-columns: repeat(2, 1fr); /* Tablet: 2 Kolom */
    }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    .nav-menu.active { display: flex; }
    .hero h1 { font-size: 1.8rem; }
}

@media (max-width: 600px) {
    .article-grid-container {
        grid-template-columns: 1fr; /* HP: 1 Kolom */
    }
}