body {
    font-family: "Montserrat", sans-serif;
}

html,
body {
    scroll-behavior: smooth;
}

body {
    --sb-track-color: #232e3300;
    --sb-thumb-color: #16a34a;
    --sb-size: 14px;
}

body::-webkit-scrollbar {
    width: var(--sb-size);
}

body::-webkit-scrollbar-track {
    background: var(--sb-track-color);
    border-radius: 12px;
}

body::-webkit-scrollbar-thumb {
    background: var(--sb-thumb-color);
    border-radius: 12px;
}

body.scroll-at-top::-webkit-scrollbar-thumb,
body.scroll-at-bottom::-webkit-scrollbar-thumb {
    border-radius: 0px;
}

@supports not selector(::-webkit-scrollbar) {
    body {
        scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
    }
}

.st-inline-share-buttons {
    z-index: 9 !important;
}

/* Swiper styles for cities section */
.cities-swiper {
    padding-bottom: 28px !important;
}

.swiper-pagination-bullet {
    transition: all 0.4s ease !important;
    border-radius: 100px !important;
}

.swiper-pagination-bullet:hover {
    width: 30px !important;
}

.swiper-pagination-bullet-active {
    width: 30px !important;
    background-color: #16a34a !important;
}

.swiper-pagination {
    bottom: 0 !important;
}

.swiper-button-prev,
.swiper-button-next {
    width: 2.5rem !important;
    height: 2.5rem !important;
    margin-top: 0 !important;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 1rem !important;
    font-weight: bold;
    color: #16a34a;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: #f9fafb;
}

/* Header styles */
.mobile-menu {
    display: none;
}

@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }

    .mobile-menu {
        display: block;
    }
}

:where([class^="ri-"])::before {
    content: "\f3c2";
}

.academy-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 10px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.tag {
    transition: all 0.3s ease;
}

.tag:hover {
    opacity: 0.9;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    display: none;
}

.tag-badge {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
}

.animate-shine-btn {
    position: relative;
    overflow: hidden;
}

.shine-effect {
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.7) 0%,
        rgba(255, 255, 255, 0.1) 60%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    animation: shine-btn 2.5s linear infinite;
}

@keyframes shine-btn {
    0% {
        left: -100%;
    }

    60% {
        left: 100%;
    }

    100% {
        left: 110%;
    }
}

.animate-pulse-icon {
    animation: pulse-icon 1.2s infinite;
}

@keyframes pulse-icon {
    0%,
    100% {
        filter: drop-shadow(0 0 0 #ffd700);
    }

    50% {
        filter: drop-shadow(0 0 8px #ffd700);
    }
}

/* Global icon style for Remix Icons */
i[class^="ri-"],
i[class*=" ri-"] {
    display: inline-block;
}

.no-spinner::-webkit-outer-spin-button,
.no-spinner::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.no-spinner[type="number"] {
    -moz-appearance: textfield;
}
