.btn-primary-ppid {
    background-color: #034EA2;
    color: white;
}

.bg-primary-ppid {
    background-color: #034EA2;
}

.text-primary-ppid {
    color: #034EA2;
}

.text-label-ppid {
    color: white;
    font-size: 14px;
    font-weight: 600;
}

.text-label-xl-bold {
    color: white;
    font-size: 70px;
    font-weight: 700;
}

.table-primary {
    --bs-table-color: #000;
    --bs-table-bg: #034EA2;
    --bs-table-border-color: #bacbe6;
    --bs-table-striped-bg: #c5d7f2;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #bacbe6;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #bfd1ec;
    --bs-table-hover-color: #000;
    border-color: var(--bs-table-border-color);
}

.hero-section {
    background: url('../images/bg-ppid-hero.png') center center / cover no-repeat;
    height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-shape {
    background: url('../images/ppid-hero-shape.png') center center / cover no-repeat;
    height: 30%;
    width: 100vw;
    z-index: 2;
    position: absolute;
    bottom: 0;
    left: 0;
}

.hero-content {
    position: relative;
    z-index: 3;
    min-height: 200px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(34, 34, 34, 0.6);
    z-index: 1;
}

.hero-section h1 {
    font-size: 60px;
    font-weight: 700;
}

.hero-section h2 {
    font-size: 32px;
    font-weight: 600;
}

.tb-informasi {
    max-height: 28rem;
}

.service-card {
    transition: box-shadow 0.3s, transform 0.3s;
    cursor: pointer;
}

.service-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transform: translateY(-6px) scale(1.03);
    z-index: 2;
}

/* Hero Slider Styles */
.hero-slider-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slider .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(34, 34, 34, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.hero-content .container {
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content .row {
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Owl Carousel Custom Styles for Hero Slider */
.hero-slider.owl-carousel {
    position: relative;
}

.hero-slider .owl-stage-outer {
    height: 90vh;
    min-height: 600px;
}

.hero-slider .owl-item {
    height: 90vh;
    min-height: 600px;
}

/* Disable Owl Carousel Navigation */
.hero-slider .owl-nav {
    display: none !important;
}

.hero-slider .owl-nav button.owl-prev,
.hero-slider .owl-nav button.owl-next {
    display: none !important;
}

.hero-slider .owl-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
}

.hero-slider .owl-dots .owl-dot {
    display: inline-block;
    margin: 0 8px;
    outline: none;
}

.hero-slider .owl-dots .owl-dot span {
    display: block;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-slider .owl-dots .owl-dot.active span,
.hero-slider .owl-dots .owl-dot:hover span {
    background: #034EA2;
    border-color: white;
    transform: scale(1.2);
}

.owl-dots button.owl-dot {
    background: transparent;
}

.owl-dots button.owl-dot.active {
    background-color: transparent;
}

/* Additional improvements for hero slider */
.hero-slider.owl-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.hero-slider .owl-item .hero-slide {
    transition: opacity 0.5s ease-in-out;
}

/* Preloader for hero images */
.hero-slide-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #034EA2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 0;
}

.hero-slide-bg[style*="background-image"]::before {
    display: none;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Improved button styles in hero */
.hero-content .btn-primary-ppid {
    box-shadow: 0 4px 15px rgba(3, 78, 162, 0.3);
    border: none;
    transition: all 0.3s ease;
}

.hero-content .btn-primary-ppid:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(3, 78, 162, 0.4);
}

/* Responsive Design for Hero Slider */
@media (max-width: 768px) {
    .hero-slider-section,
    .hero-slide,
    .hero-slider .owl-stage-outer,
    .hero-slider .owl-item {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-slider .owl-nav {
        padding: 0 1rem;
    }
    
    .hero-slider .owl-nav button.owl-prev,
    .hero-slider .owl-nav button.owl-next {
        width: 50px !important;
        height: 50px !important;
        font-size: 20px !important;
        line-height: 46px !important;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-slider .owl-nav {
        display: none;
    }
}

/* Enhanced vertical centering with fallbacks */
.hero-slider-section .hero-slide,
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

.hero-content .container {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}

.hero-content .row {
    width: 100% !important;
    margin: 0 !important;
}

/* Responsive adjustments for vertical centering */
@media (max-width: 768px) {
    .hero-content {
        padding: 1rem 0 !important;
    }
    
    .hero-content .container {
        min-height: auto !important;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 0.5rem 0 !important;
    }
}