.btn-kon {
    display: table!important;
    padding: 15px!important;
    text-align: center!important;
}
.text-link-arrow {
    top: 3px;
    position: relative;
}
/* fallback untuk gambar membrane jika link rusak */
.membrane-bg-fallback {
    background: linear-gradient(135deg, #0b2b5c, #1e4b8f);
}
/* slider smooth transition */
.slide-transition {
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-slide {
    opacity: 0;
    transform: scale(1.05);
}
.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 10;
}
/* progress bar */
.slider-progress {
    transition: width 5s linear;
}
/* gallery tab transitions */
.gallery-tab {
    transition: all 0.3s ease;
}
.gallery-item {
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 30px -10px rgba(19, 91, 236, 0.3);
}
.gallery-item::after {
    content: "search";
    font-family: "Material Symbols Outlined";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 32px;
    background: rgba(19, 91, 236, 0.9);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 20;
}
.gallery-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

/* Workflow animations */
.workflow-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.workflow-card:hover {
    transform: translateY(-10px);
}
.workflow-line {
    transition: all 0.8s ease;
}
.workflow-number {
    transition: all 0.3s ease;
}
.workflow-card:hover .workflow-number {
    transform: scale(1.1);
    background-color: #135bec;
    color: white;
}
.workflow-icon {
    transition: all 0.5s ease;
}
.workflow-card:hover .workflow-icon {
    transform: rotate(5deg) scale(1.1);
}
/* Animasi muncul saat scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}
.delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
}
.delay-2 {
    animation-delay: 0.4s;
    opacity: 0;
}
.delay-3 {
    animation-delay: 0.6s;
    opacity: 0;
}
.delay-4 {
    animation-delay: 0.8s;
    opacity: 0;
}
.h-30 {
    height: 10rem;
}

/* Testimonial styles */
.testimonial-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 40px -15px rgba(19, 91, 236, 0.3);
}

/* Modal zoom styles */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    max-width: 90vw;
    max-height: 90vh;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    position: relative;
}
.modal-backdrop.active .modal-content {
    transform: scale(1);
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 10000;
    transition: transform 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    backdrop-filter: blur(4px);
}
.modal-close:hover {
    transform: rotate(90deg);
    background: rgba(255,255,255,0.2);
}
.testimonial-image {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-block; /* Agar ukuran sesuai pembungkus */
}
.testimonial-image::after {
    content: "search";
    font-family: "Material Symbols Outlined";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 16px; /* Icon zoom lebih kecil */
    background: rgba(19, 91, 236, 0.9);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}
.testimonial-image:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.testimonial-image:hover img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

/* Rating stars */
.star-rating {
    color: #fbbf24;
    display: inline-flex;
    gap: 2px;
}

/* testimonial carousel 3 kolom */
.testimonial-carousel-container {
    position: relative;
    overflow: hidden;
    padding: 2.5rem 0;
}
.testimonial-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.testimonial-carousel-slide {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 0 0.5rem;
}

/* ===== MENU RESPONSIVE MODERN - LEBIH RAPI ===== */
.desktop-menu a {
    position: relative;
    padding: 0.5rem 0;
}
.desktop-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #135bec;
    transition: width 0.3s ease;
}
.desktop-menu a:hover::after {
    width: 100%;
}
.desktop-menu a.active::after {
    width: 100%;
}

/* Mobile Menu - Improved */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: white;
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    padding: 2rem 1.5rem;
    overflow-y: auto;
    border-radius: 20px 0 0 20px;
}
.dark .mobile-menu {
    background: #101622;
    border-left: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu.active {
    right: 0;
}
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile menu items animation */
.mobile-menu-item {
    transform: translateX(30px);
    opacity: 0;
    animation: slideInRight 0.4s ease forwards;
}
@keyframes slideInRight {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
.mobile-delay-1 { animation-delay: 0.1s; }
.mobile-delay-2 { animation-delay: 0.15s; }
.mobile-delay-3 { animation-delay: 0.2s; }
.mobile-delay-4 { animation-delay: 0.25s; }
.mobile-delay-5 { animation-delay: 0.3s; }

/* Hamburger button animation - lebih kecil dan rapi */
.hamburger {
    width: 24px;
    height: 18px;
    position: relative;
    cursor: pointer;
    z-index: 1000;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    position: absolute;
    transition: all 0.3s ease;
    border-radius: 2px;
}
.hamburger span:first-child {
    top: 0;
}
.hamburger span:nth-child(2) {
    top: 8px;
}
.hamburger span:last-child {
    bottom: 0;
}
.hamburger.active span:first-child {
    transform: rotate(45deg);
    top: 8px;
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}
.hamburger.active span:last-child {
    transform: rotate(-45deg);
    bottom: 8px;
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid white;
}
.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    animation: pulse-wa 2s infinite;
    z-index: -1;
}
@keyframes pulse-wa {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}
.whatsapp-float span {
    font-size: 32px;
}

/* Tooltip WhatsApp */
.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: white;
    color: #075E54;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}
.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 80px;
}

/* Responsive breakpoints */
@media (max-width: 768px) {
    .testimonial-carousel-slide {
        grid-template-columns: 1fr;
    }
    .desktop-menu {
        display: none;
    }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float span {
        font-size: 28px;
    }
}
@media (min-width: 769px) {
    .hamburger, .mobile-menu, .mobile-menu-overlay {
        display: none;
    }
}