/* Force normal font style for this section only */
.home-unified-exams-section * {
    font-style: normal !important;
}

@keyframes blob {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(20px, -50px) scale(1.1);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    75% {
        transform: translate(50px, 50px) scale(1.05);
    }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Exam Group Header Styling */
.exam-group-header {
    position: relative;
    transition: all 0.3s ease;
}

.exam-group-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.exam-group-header.border-l-4 {
    border-left-width: 6px;
}

/* Exam Tab System Styling */
.tab-exam-button {
    position: relative;
    transition: all 0.2s ease;
}

.tab-exam-button:hover {
    background-color: rgba(59, 130, 246, 0.05);
}

.tab-exam-panel {
    animation: fadeIn 0.3s ease-in-out;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Legacy mobile duplicate — heç vaxt göstərmə */
#content-offline-mobile {
    display: none !important;
}

/* Xəbərlər kimi 1 sətir slider — bütün cihazlar */
.home-unified-exam-slide {
    width: min(280px, calc(100vw - 2.5rem));
    max-width: calc(100vw - 2.5rem);
    height: auto;
    flex-shrink: 0;
    display: flex;
}

.home-unified-exam-slide > * {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

@media (min-width: 360px) {
    .home-unified-exam-slide {
        width: min(300px, calc(100vw - 2.75rem));
    }
}

@media (min-width: 640px) {
    .home-unified-exam-slide {
        width: 300px;
        max-width: 300px;
    }
}

@media (min-width: 768px) {
    .home-unified-exam-slide {
        width: 320px;
        max-width: 320px;
    }
}

@media (min-width: 1024px) {
    .home-unified-exam-slide {
        width: 340px;
        max-width: 340px;
    }
}

.homeUnifiedOfflineSwiper .swiper-wrapper,
.homeUnifiedOnlineSwiper .swiper-wrapper {
    align-items: stretch;
}

.home-unified-offline-pagination.swiper-pagination-static,
.home-unified-online-pagination.swiper-pagination-static {
    position: static !important;
    display: flex !important;
    justify-content: center;
    gap: 6px;
}

.home-unified-offline-pagination .swiper-pagination-bullet,
.home-unified-online-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #cbd5e1;
    opacity: 1;
}

.home-unified-offline-pagination .swiper-pagination-bullet-active,
.home-unified-online-pagination .swiper-pagination-bullet-active {
    background: #283571;
    transform: scale(1.15);
}

/* Tab panel flex olsun ki, "Bilet Al" düyməsi aşağıda qalsın */
.tab-exam-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Hidden panel-lər tamamilə gizlənsin */
.tab-exam-panel.hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    min-height: 0 !important;
}

/* Aktiv tab panel görünsün */
.tab-exam-panel:not(.hidden) {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
    min-height: auto !important;
}

/* Tab content hiding fix */
.tab-content.hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    min-height: 0 !important;
}

.tab-content:not(.hidden) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
    min-height: auto !important;
}

.tab-content {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient 3s ease infinite;
}
