/* Global Styles */
:root {
    --primary-color: #FED301;
    /* Lemon Yellow */
    --secondary-color: #000000;
    /* Black */
    --text-color: #ffffff;
    --bg-color: #ffffff;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
}

.swiper-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
    width: 100%;
}

.swiper-slide {
    flex-shrink: 0;
    width: auto;
    max-width: 100%;
}


body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--primary-color);
}

p {
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.wheel {
    transition: transform 5s cubic-bezier(0.17, 0.67, 0.12, 0.99);
    transform: rotate(0deg);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.wheel-spinning {
    animation: spin 0.4s linear infinite;
}

.pointer {
    z-index: 20;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.8));
}

.segment {
    transition: all 0.3s ease;
}

.segment:hover {
    filter: brightness(1.1);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #f0f;
    opacity: 0;
}


.toast-animation {
    animation: slideIn 0.5s forwards, fadeOut 0.5s 7s forwards;
}

@keyframes slideIn {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}


.district {
    transition: all 0.3s ease;
    cursor: pointer;
}

.district:hover {
    fill-opacity: 0.9 !important;
    stroke-width: 3 !important;
}

.count-point {
    fill: black;
    /* stroke: #ffd01f;
    stroke-width: 2; */
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.3));
}

.count-text {
    font-size: 10px;
    font-weight: bold;
    fill: white;
    text-anchor: middle;
    pointer-events: none;
}

.tooltip-inner {
    max-width: 300px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.8);
}

.highlight-stat {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffd101;
}

.swiper-pagination-bullet {
    background: #ffd101 !important;
    opacity: 0.5 !important;
    width: 10px !important;
    height: 10px !important;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: #ffd101 !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1rem !important;
    font-weight: bold !important;
}



/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    color: var(--bg-color);
    background-color: var(--primary-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.text-tvf {
    color: var(--primary-color);
}

.text-tvfLight {
    color: #FFF9C4,
}

.text-tvfDark {
    color: #FFC107;
}

.text-tvfSecondary {
    color: #2E7D32;
}

.text-tvfDarkSecondary {
    color: #1B5E20;
}

.bg-tvf {
    background-color: var(--primary-color);
}

.bg-dark {
    background-color: black;
}

.bg-tvfLight {
    background-color: #FFF9C4,
}

.bg-tvfDark {
    background-color: #FFC107;
}

.bg-tvfSecondary {
    background-color: #2E7D32;
}

.bg-tvfDarkSecondary {
    background-color: #1B5E20;
}

.text-tvf {
    color: var(--primary-color);
}

.from-to-tvf {
    --tw-gradient-from: #FFD700;
    --tw-gradient-via: rgba(255, 215, 0, 0.7);
    --tw-gradient-to: rgba(255, 215, 0, 0.3);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-via), var(--tw-gradient-to);
    background: linear-gradient(to right,
            var(--tw-gradient-from),
            var(--tw-gradient-via),
            var(--tw-gradient-to));
    backdrop-filter: blur(2px);
}

.to-from-tvf {
    --tw-gradient-from: rgba(255, 215, 0, 0.3);
    --tw-gradient-via: rgba(255, 215, 0, 0.7);
    --tw-gradient-to: #FFD700;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-via), var(--tw-gradient-to);
    background: linear-gradient(to left,
            var(--tw-gradient-from),
            var(--tw-gradient-via),
            var(--tw-gradient-to));
    backdrop-filter: blur(2px);
}

img.nameavatar {
    animation: glassFade 3s infinite alternate;

}


.border-tvf {
    border-color: var(--primary-color);
}

.camp-card {
    transition: transform 0.3s ease;
}

.camp-card:hover {
    transform: translateY(-5px);
}

.camps-card {
    scroll-snap-align: start;
    flex: 0 0 auto;
}

.calendar-scroll {
    scroll-snap-type: x mandatory;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.stat-counter {
    font-weight: bold;
    font-size: 2.5rem;
}

.btn:hover {
    background-color: #e0b900;
}

/* Navbar */
.navbar {
    width: 100%;
    background: var(--secondary-color);
    padding: 10px 0;
    position: fixed;
    top: 0;
    z-index: 1000;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
}

.navbar .nav-links li {
    margin: 0 15px;
}

.navbar .nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: 0.3s;
}

.navbar .nav-links a:hover {
    color: #e0b900;
}


#mobile-menu:not(.hidden) {
    /* background: red !important; */
    display: block !important;
}

.image-transition {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.image-transition.loaded {
    opacity: 1;
}

.hover-scale {
    transition: transform 0.3s ease-in-out;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* @keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-1200px);
    }
} */


@keyframes scroll {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.animate-scroll {
    animation: scroll 20s linear infinite alternate;
    display: inline-block;
    padding-left: 100%;
    /* Start off-screen */
}

/* For mobile view where it's stacked */
@media (max-width: 640px) {
    .animate-scroll {
        animation: scroll 20s linear infinite;
    }
}

.banner-animate-scroll {
    animation: scroll 8s linear infinite;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--primary-color);
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}

/* Utility Classes */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.text-center {
    text-align: center;
}

@font-face {
    font-family: 'OpenSans';
    src: url('../fonts/OpenSans-Regular.woff2') format('woff2'),
        url('../fonts/OpenSans-Regular.woff') format('woff'),
        url('../fonts/OpenSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OpenSans-Bold';
    src: url('../fonts/OpenSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.woff2') format('woff2'),
        url('../fonts/Roboto-Regular.woff') format('woff'),
        url('../fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}



/* Responsive Design */
@media (max-width: 768px) {
    .navbar .nav-links {
        flex-direction: column;
        text-align: center;
    }

    .btn {
        width: 100%;
    }
}

@media (min-width: 640px) and (max-width: 765px) {

    /* Targets mobile desktop view specifically */
    .header-logo-img {
        height: 64px !important;
        width: auto !important;
    }

    .header-logo-title {
        height: 64px !important;
        width: auto !important;
    }
}

@media (max-width: 640px) {

    .header-logo-img {
        height: 48px !important;
        width: auto !important;
    }

    .header-logo-title {
        height: 48px !important;
        width: auto !important;
    }

    .navbar .nav-links {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        padding: 10px 20px;
    }
}

@media (min-width: 640px) {
    .sm\:h-20 {
        height: 4rem;
    }
}