/* === Custom Global Styling === */

/* header */
/* Navbar hover and active effect */
/* Navbar transparan saat awal */
.navbar-transparent {
    background-color: transparent;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.navbar-scrolled {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-scrolled .nav-link,
.navbar-scrolled .navbar-brand {
    color: #212529 !important;
}

.navbar-scrolled .btn-outline-light {
    color: #212529 !important;
    border-color: #212529 !important;
}

.navbar .nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    font-weight: 500;
}

.navbar .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: #0d6efd;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: all 0.3s ease-in-out;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.navbar .nav-link:hover {
    color: #0d6efd;
}

body {
    font-family: "Inter", sans-serif;
}

/* === Button Hover Effects === */

.btn-primary:hover,
.btn-outline-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    color: #fff;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #fff;
    border-color: #6c757d;
}

.btn-default:hover,
.btn-light:hover {
    background-color: #f8f9fa;
    color: #000;
}

/* Add transition to all buttons */
.btn {
    transition: all 0.3s ease-in-out;
}

/* Optional: Anchor hover for better UX */
a:hover {
    text-decoration: none;
    color: #0d6efd;
}

/* Optional: Card hover effect */
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

#compliance-support h3 {
    font-size: 1.75rem;
}

#compliance-support p {
    font-size: 1rem;
}

#compliance-support img {
    transition: transform 0.3s ease;
}

#compliance-support img:hover {
    transform: scale(1.05);
}

.hero-section {
    background-image: url("../img/illustration/11.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: #fff; /* Biar teks terlihat */
}
/* Opsional: overlay gelap agar teks makin terbaca */
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* Atur gelap-terangnya */
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Kalau ingin lebih tinggi */
@media (min-width: 992px) {
    .hero-background {
        height: 400px;
    }
}

#gallery,
#footer,
#about {
    background-color: #043873;
}

#gallery .highlight {
    display: inline-block;
    width: 60px;
    height: 4px;
    background: #f4c542;
    margin-left: 8px;
    vertical-align: middle;
    border-radius: 2px;
}

.gallery-card {
    border: none;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-card img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card img:hover {
    transform: scale(1.05);
}

/* Membesarkan panah */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-size: 100%, 100%;
}

/* Membuat background bundar dengan transparansi */
.carousel-control-prev,
.carousel-control-next {
    width: 4rem;
    height: 4rem;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background-color: rgba(121, 119, 119, 0.7);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Efek hover */
.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgb(0, 0, 0);
    transform: translateY(-50%) scale(1.1);
}

/* Opsional: Bayangan biar lebih pop out */
.carousel-control-prev,
.carousel-control-next {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive image height */
@media (max-width: 768px) {
    .gallery-card img {
        height: 300px;
    }
}

.wave-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    display: block;
    width: 200%; /* Lebih lebar dari layar agar looping terlihat */
    height: 100px;
    animation: waveSlide 8s linear infinite;
}

.wave-path {
    fill: #043873; /* Ganti sesuai background */
}

@keyframes waveSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.fullscreen-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.fullscreen-section-c {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
}
