/* Custom CSS minimal - hanya yang tidak bisa dicapai Bootstrap */
.cs-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.cs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.2) !important;
}

.cs-avatar {
    transition: all 0.3s ease;
}

.cs-card:hover .cs-avatar {
    transform: scale(1.1);
}

.status-dot {
    width: 8px;
    height: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}
    
.card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(71, 42, 138, 0.1);
    margin-bottom: 30px;
    position: relative;
    transition: all 0.3s ease;
    border: none;
    border:1px solid rgb(235, 235, 236);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(71, 42, 138, 0.2);
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    
}

.card-img-top {
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: all 0.5s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
    opacity: 0.9;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.card-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.card-overlay p {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0;
}

.circle-badge {
    position: absolute;
    right: 15px;
    top: 55%;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: -moz-linear-gradient(135deg, hsla(258, 64%, 22%, 1) 0%, hsla(258, 63%, 46%, 1) 83%);
    background: -webkit-linear-gradient(135deg, hsla(258, 64%, 22%, 1) 0%, hsla(258, 100%, 61%, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#29145A", endColorstr="#572BC0", GradientType=1);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.16);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
    border: 3px solid white;
}

.card-body {
    
    background-color: white;
}

.card-category {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: hsla(258, 64%, 22%, 1);
    margin-bottom: 12px;
    display: inline-block;
    padding: 5px 0;
    border-bottom: 2px solid hsla(258, 64%, 22%, 1);
}

.card-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: hsla(258, 64%, 22%, 1);
    line-height: 1.4;
    
}

.card-text {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.card-footer {
    background-color: #f8f9fa;
    padding: 15px 25px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
}

.info-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #555;
}

.info-item i {
    margin-right: 8px;
    color: #6a11cb;
    font-size: 1.1rem;
}

.location-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #472a8a;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.join-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(106, 17, 203, 0.3);
}

.join-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(106, 17, 203, 0.4);
}

.cities {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 5px;
}

.city-badge {
    background-color: rgba(255, 255, 255, 0.9);
    color: #472a8a;
    padding: 3px 10px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
}

.logo-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo-badge img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* WhatsApp Widget Styles */
.whatsapp-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background: #25d366;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: scale(1.1);
    color: white;
}

.whatsapp-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: none;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.whatsapp-header {
    background: #25d366;
    color: white;
    padding: 16px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.team-info {
    background: #f8f9fa;
    padding: 12px 16px;
    border-bottom: 1px solid #e9ecef;
    font-size: 12px;
    color: #6c757d;
}

.team-member {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f3f4;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.team-member:hover {
    background: #f8f9fa;
    color: #25d366;
    text-decoration: none;
}

.member-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
}

.online-indicator {
    width: 12px;
    height: 12px;
    background: #25d366;
    border: 2px solid white;
    border-radius: 50%;
    position: absolute;
    bottom: 2px;
    right: 2px;
}

.member-info h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.member-info small {
    color: #6c757d;
    font-size: 12px;
}

.whatsapp-icon {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.team-member:hover .whatsapp-icon {
    opacity: 1;
}

.bg-wa-icon {
    background-color: #7b8b81;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.training-card {
    background: white;
    border-radius: 20px;
    padding:15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 20px 0;
}

.swiper {
    width: 100%;
    height: 500px;
    border-radius: 15px;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.swiper-slide img {
    display: block;
    width: 100%;
   
}

.img-radius{
    border-radius: 15px;
}



.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.swiper-slide:hover .image-overlay {
    transform: translateY(0);
}

.sidebar {
    padding: 40px 30px;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 0 20px 20px 0;
}

.sidebar h2 {
    color: #333;
    font-weight: 700;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.category-item {
    background: #f8ebff;
    color: #6c757d;
    padding: 15px 25px;
    border-radius: 15px;
    margin: 10px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.3);
}

.category-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
    background: -webkit-linear-gradient(135deg, hsla(258, 64%, 22%, 1) 0%, hsla(258, 100%, 61%, 1) 100%);
}

.category-item.active {
    background: -webkit-linear-gradient(135deg, hsla(258, 64%, 22%, 1) 0%, hsla(258, 100%, 61%, 1) 100%);
    box-shadow: 0 8px 25px rgba(17, 153, 142, 0.4);
}

.swiper-button-next,
.swiper-button-prev {
    color: white;
    margin-top: -20px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 16px;
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background: #4facfe;
    opacity: 1;
}

.slide-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10;
}

@media (max-width: 768px) {
    .training-card {
        flex-direction: column;
    }
    
    .swiper {
        height: 300px;
        border-radius: 15px;
    }
    
    .sidebar {
        height: auto;
        border-radius: 0 0 20px 20px;
        padding: 20px;
    }
    
    .sidebar h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
}

.custom-tabs {
    background: white;
    border-radius: 15px;
    padding: 0;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.custom-tabs .nav-tabs {
    border: none;
    display: flex;
    background: linear-gradient(135deg, var(--light-purple), #f8f9ff);
    border-radius: 15px 15px 0 0;
    padding: 1rem;
}

.custom-tabs .nav-tabs .nav-item {
    flex: 1;
    margin: 0 0.5rem;
}

.custom-tabs .nav-tabs .nav-link {
    border: none;
    background: #f8ebff;
    color: #6c757d;
    text-align: center;
    padding: 1rem;
    border-radius: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    width: 100%;
}

.custom-tabs .nav-tabs .nav-link.active {
    background: -webkit-linear-gradient(135deg, hsla(258, 64%, 22%, 1) 0%, hsla(258, 100%, 61%, 1) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.4);
    transform: translateY(-2px);
}

.custom-tabs .nav-tabs .nav-link:hover:not(.active) {
    background: -webkit-linear-gradient(135deg, hsla(258, 64%, 22%, 1) 0%, hsla(258, 100%, 61%, 1) 100%);
    transform: translateY(-1px);
}

.tab-content {
    padding: 2rem;
    background: white;
    border-radius: 0 0 15px 15px;
}

.facility-header {
    color: #6c757d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.facility-title {
    color: #2d3748;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.facility-list {
    list-style: none;
    padding: 0;
}

.facility-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
    font-weight: 500;
    position: relative;
    padding-left: 2rem;
}

.facility-list li:before {
    content: counter(item-counter);
    counter-increment: item-counter;
    position: absolute;
    left: 0;
    top: 0.8rem;
    background: linear-gradient(135deg, var(--primary-purple), #8b5cf6);
    color: white;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.facility-list {
    counter-reset: item-counter;
}

.facility-list li:last-child {
    border-bottom: none;
}

.facility-note {
    background: linear-gradient(135deg, #fff7ed, #fef3c7);
    border-left: 4px solid var(--astara-orange);
    padding: 1rem;
    margin-top: 2rem;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #92400e;
}

.hero-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.news-section {
    margin-top: 4rem;
    text-align: center;
}

.news-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.news-subtitle {
    color: #6c757d;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .custom-tabs .nav-tabs {
        flex-direction: column;
    }
    
    .custom-tabs .nav-tabs .nav-item {
        margin: 0.25rem 0;
    }
    
    .facility-title {
        font-size: 1.5rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-popup {
        width: 300px;
        right: -10px;
    }
}