:root {
    --primary-color: #0d6efd;
    --secondary-color: #1a1a2e;
    --accent-color: #f39c12;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --text-light: #e9ecef;
    --gradient-start: #1a1a2e;
    --gradient-mid: #0f3460;
    --gradient-end: #0a1e3a;
}

/* === MODERN ANIMATED TITLE === */
.modern-title {
    position: relative;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark-color);
    text-align: center;
    font-size: 1.8rem;
    letter-spacing: 0.5px;
    padding-bottom: 10px;
}

.modern-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 4px var(--primary-color); }
    100% { box-shadow: 0 0 12px var(--accent-color); }
}

.modern-title:hover::after {
    transform: translateX(-50%) scale(1.1);
}

.bg-gradient-modern .modern-title,
.bg-gradient-modern .modern-title a {
    color: white !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.bg-gradient-modern .modern-title::after {
    background: linear-gradient(90deg, #fba526, #ffffff);
    box-shadow: 0 0 8px rgba(251, 165, 38, 0.6);
}

/* === END MODERN TITLE === */

/* Enhanced gradient background */
.bg-gradient-modern {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-mid) 50%, var(--gradient-end) 100%);
    position: relative;
    overflow: hidden;
}

.bg-gradient-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.bg-gradient-modern::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 1.7s infinite;
    z-index: 1;
}

@keyframes shimmer {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

.bg-gradient-modern > * {
    position: relative;
    z-index: 2;
}

/* === SPACING SYSTEM (KONSISTEN & PROPORSIONAL) === */
.section-gap-tight {
    margin-top: 20px;
    margin-bottom: 20px;
}

.section-gap-tight:first-child {
    margin-top: 0;
}

.section-button-space {
    margin-top: 16px;
    margin-bottom: 8px;
}

/* === PERBAIKAN JARAK INTERNAL SEMUA SECTION UTAMA === */
.section-gap-tight > .container {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

/* Carousel slide padding dikurangi */
.splide__slide {
    padding-left: 8px !important;
    padding-right: 8px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Tombol Lihat Struktur Organisasi — kurangi jarak bawah */
.section-gap-tight .section-button-space:last-child {
    margin-bottom: 8px;
}

/* SPLIDE DOT STYLE */
.splide__pagination__page {
    background-color: rgba(251, 166, 38, 0.61) !important;
    border: none !important;
}

.splide__pagination__page.is-active {
    background-color: #fba526 !important;
    box-shadow: 0 0 6px rgba(251, 166, 38, 0.8) !important;
}

/* OTHER STYLES */
.hero-logo {
    max-width: 600px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
}

.logo-img {
    max-height: 60px;
}

@media (max-width: 768px) {
    .hero-logo {
        max-width: 90%;
        border-radius: 30px;
        padding: 0.8rem 1rem;
    }
    .logo-img {
        max-height: 40px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        max-height: 30px;
    }
}

.image-container {
    width: 250px;
    height: 300px;
}

/* HEADER BINTANG EMAS */
.bg-gradient-header {
    background: linear-gradient(135deg, #090f18 0%, #0d1a2c 50%, #14263d 100%);
    position: relative;
    overflow: hidden;
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bg-gradient-header canvas#goldStarsCanvas,
.bg-gradient-header .shimmer-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.bg-gradient-header > *:not(canvas):not(.shimmer-wrapper) {
    position: relative;
    z-index: 3;
}

@media (max-width: 768px) {
    .bg-gradient-header {
        padding: 2rem 0;
    }
}

/* STATS FOOTER */
.stats-simple {
    margin-top: 24px;
    padding: 16px 0;
    background: #fcfcfd;
    border-top: 1px solid #f0f0f0;
    font-size: 0.9rem;
    color: #555;
    text-align: center;
}

.stats-simple .container {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    font-weight: 600;
}

.stats-simple .item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stats-simple .text {
    color: #4a5568;
}

/* SOLUSI DARURAT: Naikkan z-index navbar sangat tinggi */
.navbar {
    z-index: 9999 !important;
}

/* Turunkan semua elemen lain */
.bg-gradient-header,
.bg-gradient-modern,
.section-gap-tight {
    position: relative;
    z-index: 1;
}

/* === HERO SECTION GRID 2x2 - RESPONSIVE === */
.hero-section {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
}

.image-grid {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.image-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.image-1 {
    grid-row: 1;
    grid-column: 1;
    aspect-ratio: 4/3 !important;
    align-self: end;
}

.image-3 {
    grid-row: 1;
    grid-column: 2;
    aspect-ratio: 1/1 !important;
    align-self: end;
}

.image-2 {
    grid-row: 2;
    grid-column: 1;
    aspect-ratio: 1/1 !important;
    align-self: start;
}

.image-4 {
    grid-row: 2;
    grid-column: 2;
    aspect-ratio: 4/3 !important;
    align-self: start;
}

.image-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    background-color: #f5f5f5;
    border: 3px solid rgba(13, 59, 102, 0.25);
    background-clip: padding-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(13, 59, 102, 0.6);
    box-shadow: 0 18px 40px rgba(13, 59, 102, 0.2), 0 0 0 2px rgba(13, 59, 102, 0.15);
}

.image-item:hover img {
    transform: scale(1.08);
}

.image-3 img {
    object-fit: contain;
    object-position: center;
    width: 100%;
    height: 100%;
}

.content-section {
    flex: 1;
    min-width: 300px;
}

.company-name {
    color: #0d3b66;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.company-description {
    color: #555;
    font-size: 1.05rem;
    margin-bottom: 15px;
    line-height: 1.7;
}

.company-link {
    color: #1a5a9a;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: color 0.3s;
}

.company-link:hover {
    color: #0d3b66;
    text-decoration: underline;
}

.checklist {
    margin-bottom: 30px;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.checklist-icon {
    color: #28a745;
    margin-right: 12px;
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.checklist-text {
    font-size: 1rem;
    color: #444;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.btn {
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: #0d3b66;
    color: white;
    box-shadow: 0 4px 15px rgba(13, 59, 102, 0.2);
}

.btn-primary:hover {
    background-color: #1a5a9a;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(13, 59, 102, 0.3);
}

.btn-secondary {
    background-color: white;
    color: #0d3b66;
    border: 2px solid #0d3b66;
}

.btn-secondary:hover {
    background-color: #f0f7ff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(13, 59, 102, 0.1);
}

.btn-tertiary {
    background-color: #28a745;
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
}

.btn-tertiary:hover {
    background-color: #2dce44;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(45, 206, 68, 0.4);
}
