/* Custom CSS for Premium Experience */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 10px 40px -10px rgba(20, 184, 166, 0.1);
}

#services-list > div {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

/* Stagger animation for services */
#services-list > div:nth-child(1) { animation-delay: 0.1s; }
#services-list > div:nth-child(2) { animation-delay: 0.2s; }
#services-list > div:nth-child(3) { animation-delay: 0.3s; }

/* Hide scrollbar but keep functionality */
::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

body {
    -webkit-tap-highlight-color: transparent;
}

.btn-service {
    transition: all 0.3s ease;
}

.btn-service:active {
    transform: scale(0.97);
}

/* Accordion Animations */
.accordion-open {
    max-height: 2000px !important; /* Sufficient for long content */
}

.rotate-180 {
    transform: rotate(180deg);
}

/* Modal Animations */
.modal-active {
    display: flex !important;
    opacity: 1 !important;
}

.modal-content-active {
    transform: scale(1) !important;
    opacity: 1 !important;
}

@keyframes modalIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.animate-modal-in {
    animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Gallery Hover */
.gallery-img-hover {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-img-hover:hover {
    filter: brightness(0.8) contrast(1.1);
    transform: scale(1.02);
}
