/* Vet Service Accordion - Public Styles */

.vsa-accordion-container {
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 20px; */
}

.vsa-accordion-item {
    background: #ffffff;
    border: 2px solid #77777742;
    border-radius: 20px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 
                0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.vsa-accordion-item:hover {
    border-color: #F3E8FF;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 
                0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.vsa-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    cursor: pointer;
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.vsa-accordion-header:hover {
    background-color: #f9fafb;
}

.vsa-header-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex: 1;
}

.vsa-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.vsa-accordion-item:hover .vsa-icon-wrapper {
    transform: scale(1.05);
}

.vsa-icon-wrapper i {
    font-size: 28px;
    color: #ffffff;
}

.vsa-header-text {
    flex: 1;
}

.vsa-title {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 700 !important;
    color: #111827;
    line-height: 1.3;
}

.vsa-description {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    font-weight: 400 !important;
}

.vsa-toggle-btn {
    width: 40px;
    height: 40px;
    /* border-radius: 50%; */
    border: none;
    background: #fff ;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    margin-left: 16px;
}

.vsa-toggle-btn:hover {
    background: #fff ;
}

.vsa-toggle-btn i {
    font-size: 16px;
    color: #6b7280;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.vsa-accordion-item.active .vsa-toggle-btn i {
    transform: rotate(180deg);
}

.vsa-accordion-content {
    padding: 0 28px 28px 28px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.vsa-accordion-item.active .vsa-accordion-content {
    opacity: 1;
    transform: translateY(0);
}

.vsa-content-image {
   margin-bottom: 0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb; /* Background abu-abu muda */
    min-height: 300px; /* Minimal height biar ga terlalu kecil */
    max-height: 450px;
}

.vsa-content-image img {
 max-width: 100%;
    max-height: 450px;
    height: auto;
    width: auto;
    display: block;
    object-fit: contain;
    border-radius: 12px !important;

/* Responsive Design */
@media (max-width: 768px) {
    .vsa-accordion-container {
        /* padding: 12px; */
    }
    
    .vsa-accordion-item {
        border-radius: 16px;
        margin-bottom: 12px;
    }
    
    .vsa-accordion-header {
        padding: 20px 16px;
    }
    
    .vsa-header-content {
        gap: 16px;
    }
    
    .vsa-icon-wrapper {
        width: 48px;
        height: 48px;
    }
    
    .vsa-icon-wrapper i {
        font-size: 24px;
    }
    
    .vsa-title {
        font-size: 18px;
    }
    
    .vsa-description {
        font-size: 14px;
    }
    
    .vsa-toggle-btn {
        width: 36px;
        height: 36px;
    }
    
    .vsa-accordion-content {
        padding: 0 16px 20px 16px;
    }
    
    .vsa-content-image {
        margin-bottom: 0;
        border-radius: 12px;
    }
    .vsa-content-image img {
        max-height: none;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .vsa-accordion-header {
        padding: 16px 12px;
    }
    
    .vsa-header-content {
        gap: 12px;
    }
    
    .vsa-icon-wrapper {
        width: 44px;
        height: 44px;
    }
    
    .vsa-icon-wrapper i {
        font-size: 20px;
    }
    
    .vsa-title {
        font-size: 16px;
    }
    
    .vsa-description {
        font-size: 13px;
    }
    
    .vsa-toggle-btn {
        width: 32px;
        height: 32px;
        margin-left: 8px;
    }
    
    .vsa-toggle-btn i {
        font-size: 14px;
    }
}

/* Animation classes for smooth transitions */
.vsa-accordion-content {
    transition: all 0.3s ease;
}

/* Print styles */
@media print {
    .vsa-accordion-item {
        page-break-inside: avoid;
    }
    
    .vsa-toggle-btn {
        display: none;
    }
    
    .vsa-accordion-content {
        display: block !important;
    }
}
