.target-card {
    position: relative;
    border-radius: 16px;
}

.target-card img {
    border-radius: 16px 16px 0 0;
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    background: #dc3545;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    position: absolute;
    left: 16px;
    bottom: -28px; /* setengah icon keluar image */
    z-index: 2;
}

/* Mobile tweak */
@media (max-width: 767px) {
    .icon-wrapper {
        width: 48px;
        height: 48px;
        left: 12px;
        bottom: -24px;
    }
}

.icon-wrapper i {
    font-size: 24px;
}

.rounded-5 {
    border-radius: 3rem !important;
}

.title-underline {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background-color: #dc3545;
    border-radius: 2px;
}

/* Navbar */
.nav-link-custom {
    position: relative;
    font-weight: 400;
    transition: all 0.3s ease;
}
.nav-link-custom:hover {
    font-weight: 500;
    color: #dc3545 !important;
}
.nav-link-custom::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #dc3545;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-link-custom:hover::after {
    width: 100%;
}
.nav-link-dropdown.dropdown-toggle {
    position: relative;
    font-weight: 400;
    transition: all 0.3s ease;
}
.nav-link-dropdown.dropdown-toggle:hover {
    font-weight: 500;
    color: #dc3545 !important;
}
.navbar .nav-link {
    color: #ffffff; /* default */
    transition: color 0.3s ease, background-color 0.3s ease;
}
.navbar .nav-link:hover {
    color: rgb(135, 25, 25);
}
.navbar .dropdown-menu .dropdown-item:hover {
    background-color: rgb(135, 25, 25);
    color: #ffffff;
}

/* Footer */
.newsletter-form {
    width: 100%;
}
@media (min-width: 992px) {
    .newsletter-form {
        width: 50%;
    }
}

/* Card */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* About Us */
.solution-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 100px;
}

.solution-arc {
    position: relative;
    width: 520px;
    height: 260px;
    border-top: 8px solid #fff;
    border-radius: 520px 520px 0 0;
}

/* Posisi icon mengikuti arc */
.pos-1 {
    position: absolute;
    bottom: 0px;
    left: -30px;
}

.pos-2 {
    position: absolute;
    bottom: 150px;
    left: 50px;
}

.pos-3 {
    position: absolute;
    top: -40px;
    left: 220px;
}

.pos-4 {
    position: absolute;
    bottom: 150px;
    right: 50px;
}

.pos-5 {
    position: absolute;
    bottom: 0;
    right: -30px;
}

.solution-icon {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease, color 0.3s ease;
}
.solution-icon .icon-img {
    width: 30px;
    height: 30px;
    transition: filter transform 0.3s ease, 0.3s ease;
}
.solution-icon:hover .icon-img {
    filter: brightness(0) invert(1);
    transform: scale(1.1);
}
.solution-icon:hover {
    background: linear-gradient(to bottom, white, #dc3545) !important;
    color: #fff !important;
    border: none !important;
    transform: scale(1.1);
}
.solution-icon:focus,
.solution-icon:active,
.solution-icon.active {
    background: linear-gradient(to bottom, white, #dc3545) !important;
    color: #fff !important;
    border: none !important;
    transform: scale(1.1);
}
.solution-icon:focus .icon-img,
.solution-icon:active .icon-img,
.solution-icon.active .icon-img {
    filter: brightness(0) invert(1);
    transform: scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

.carousel-control-prev,
.carousel-control-next {
    width: 3rem;
}

.solution-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.solution-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #dc3545; /* bootstrap danger */
    clip-path: polygon(100% 100%, 100% 100%, 100% 100%, 100% 100%);
    transition: clip-path 0.45s ease;
    z-index: 0;
}
.solution-card > * {
    position: relative;
    z-index: 1;
}
.solution-card:hover::before {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(220, 53, 69, 0.35);
}
.solution-card:hover p,
.solution-card:hover .text-danger {
    color: #fff !important;
}
.solution-card:hover .icon-img {
    filter: brightness(0) invert(1);
    transform: scale(1.1);
}

.btn-custom {
    color: #fff !important;
    background: rgba(220, 53, 69, 0.8);
    border: 2px solid rgba(220, 53, 69, 1);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.btn-custom:hover {
    transform: translateY(-6px);
    background: rgba(220, 53, 69, 0.8);
    box-shadow: 0 20px 40px rgba(220, 53, 69, 0.5);
}

@media (min-width: 768px) {
    .rounded-md-pill {
        border-radius: 50rem !important;
    }
}

@media (max-width: 767.98px) {
    .rounded-md-pill {
        border-radius: 0 !important;
    }
}

@media (min-width: 768px) {
    .navbar-desktop {
        border-radius: 50rem; /* rounded-pill */
        margin-top: 1rem; /* mt-3 */
        padding-left: 3rem; /* px-5 */
        padding-right: 3rem;
    }
}

.pulse {
    animation: pulse 2s infinite;
}
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.hero-section {
    width: 100vw;
    height: 100vh;
    position: relative;
}

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

.hero-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 1;
}

.hero-section .content {
    position: relative;
    z-index: 3;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
