@font-face {
    font-family: 'FiraGo';
    src: url('../fonts/FiraGO-Regular.woff') format('woff');
    font-weight: 400;
    font-style: italic;
  }

@font-face {
    font-family: 'Mrgvlovani';
    src: url('/static/fonts/bpg_mrgvlovani_caps_2010.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body{
    margin: 0;
    padding: 0;
    font-family: 'FiraGo';
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    background-color: black;
}

::-webkit-scrollbar{
    width: 14px;
    border-top: 10px solid;
    border-radius: 80px;
}

::-webkit-scrollbar-thumb{
    background-color: silver;
}

::-webkit-scrollbar-track{
    background-color: gray;
    margin-top: 0;
    margin-bottom: 0;
}

.carousel {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.carousel-slide {
    display: none;
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 0.5s ease-in-out;
}

.carousel-images {
    display: flex;
    width: 100%;
    height: auto; /* Allow it to grow based on image ratio */
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Important to hide overflowed image parts */
    position: relative;
    aspect-ratio: 16 / 9; /* or adjust as needed for your layout */
}

.carousel-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; /* Center the image horizontally and vertically */
}

@media (max-width: 768px) {
    .carousel-images {
        aspect-ratio: auto;
        height: auto;
    }

    .carousel-images img {
        object-fit: cover; /* or try 'contain' if you prefer full visibility on small screens */
        width: 100%;
        height: auto;
    }
}


.carousel-slide.active {
    display: block;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 80px;
    transform: translateY(-50%);
    color: white;
    max-width: 600px;
    padding: 20px;
    line-height: 1.3;
    box-sizing: border-box;
    border-radius: 10px;
}

.carousel-content h2 {
    font-weight: 900;
    font-size: 2.5rem;
    line-height: 1.2;
    letter-spacing: -0.2px;
    text-transform: uppercase;
    margin: 0 0 15px;
    width: 100%;
    height: auto;
    word-wrap: break-word;
}

.carousel-content .date {
    font-size: 1rem;
    white-space: normal;
    display: block;
    position: relative;
    margin-bottom: 10px;
    font-weight: 400;
    font-size: 20px;
    letter-spacing: -0.2px;
    text-transform: uppercase;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-right: 20px;
}

.date::after {
    content: "";
    display: inline-block;
    width: 100px;
    height: 1.5px;
    background-color: #F23849;
    position: absolute;
    left: 100%;
    margin-left: 10px; /* spacing between date and line */
    top: 50%;
    transform: translateY(-50%);
}

.carousel-content h2 {
    margin-bottom: 10px;  /* Adjust the margin here */
}

.carousel-content .date {
    margin-top: 0; /* Remove any top margin if there is any */
}

.carousel-content .description {
    font-weight: 400px;
    font-size: 20px;
    line-height: 150%;
    letter-spacing: -0.2px;
    vertical-align: middle;
    text-transform: uppercase;
    width: 100%;
    height: auto;
    word-wrap: break-word;
    margin-bottom: 15px;
    top: 441px;
    left: 103px;
}

.carousel-content .blog-arrow a {
    display: inline-block;
    background-color:  #0070ff; /* Button color */
    color: white;
    font-size: 18px;
    font-weight: 600;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(41, 121, 255, 0.3);
}

.carousel-content .blog-arrow a:hover {
    background-color: #0070ff;
    transform: translateY(-2px);
    text-decoration: none;
}

.carousel-content .blog-arrow a:active {
    background-color: #0041b3;
    transform: translateY(0);
}



.carousel-dots {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-40%);
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 53px;
    height: 202px;
    border-width: 1px;
    align-items: center;
}
                                                                                     
.carousel-dots .dot {
    height: 21px;
    width: 21px;
    background-color: #D9D9D9;
    border-radius: 50%;
    opacity: 0.6;
    cursor: pointer;
}

.carousel-dots .dot.active {
    background-color: #5B97F7;
    opacity: 1;
}

.carousel-dots .dot.active {
    background-color: transparent;
    border: 1px solid white; /* White border for the active dot */
    height: 53px;
    width: 53px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-dots .dot.active::before {
    content: "";
    display: block;
    height: 21px;
    width: 21px;
    background-color: #5B97F7; /* The color of the active dot */
    border-radius: 50%;
    margin: 0;
    margin-left: -1px;  /* Remove any margin to prevent shifting */
}

.logo-marquee {
    overflow: hidden;
    background-color: #000;
    padding: 20px 0;
    width: 100%;
    position: relative;
  }
  
  .logo-track {
    display: flex;
    width: max-content;
    animation: scroll 20s linear infinite;
  }
  
  .logo-track img {
    height: 60px;
    margin: 0 30px;
    flex-shrink: 0;
  }
  
  @keyframes scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }


/* Section background (assuming dark theme) */
.categories {
    background-color: #0a0a0a;  /* Dark background */
    padding: 30px 20px;
    text-align: center;
    max-width: 1268;
}

.category-header {
    text-align: left;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.category-title {
    width: 518px;
    height: 60px;
    color: white;
    margin-bottom: 10px;
    text-align: left; 
    font-weight: 400;
    font-size: 32px;
    line-height: 150%;
    letter-spacing: -0.2px;
    vertical-align: middle;
    text-transform: uppercase;
}

.category-description {
    color: #ccc;
    margin-top: 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: -0.2px;
    vertical-align: middle;
    text-transform: uppercase;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px; /* Reduced gap to bring cards closer */
    justify-items: center;
    padding: 20px;
}

/* Card styling */
.category-card {
    position: relative;
    width: 100%;
    max-width: 300px;
    height: 380px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
    background-color: transparent;
    border-radius: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(255, 255, 255, 0.1);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* centers h3 and pushes Coming Soon to bottom */
    align-items: center;
    padding: 20px 10px;
    box-sizing: border-box;
    pointer-events: none;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
}

.card-overlay h3 {
    color: white;
    margin: 0;
    text-align: center;
    max-width: 225px;
    line-height: 1.4; /* Spacing between lines */
    font-size: 20px;
}

.card-overlay .coming-soon {
    color: white;
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.coming-soon {
    margin-top: 12px;
    padding: 6px 14px;
    border: 2px solid orange;
    background-color: transparent;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    text-align: center;
    z-index: 1;
    margin-top: auto; /* pushes it down */
    margin-bottom: 15px; /* spacing from bottom */
    color: #fff;
    font-size: 14px;
    opacity: 0.8;
}

.countdown-wrapper {
    text-align: center;
    margin: 60px auto;
    color: white;
    max-width: 900px;
    padding: 0 20px;
    max-width: 932;
}

.countdown-title {
    color: white;
    font-weight: 400;
    font-size: 24px;
    line-height: 150%;
    text-align: center;
    vertical-align: middle;
    text-transform: uppercase;
}

.countdown-subtitle {
    color: red;
    font-weight: bold;
    display: block;
    font-size: 24px;
    line-height: 150%;
    text-align: center;
    text-transform: uppercase;
}

.countdown-boxes {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px auto 20px;
    flex-wrap: wrap;
}

.time-box {
    background-color: black;
    border: 2px solid #0070ff;
    border-bottom: none;
    border-radius: 10px 10px 10px 10px;
    width: 90px;
    padding: 20px 20px;
    box-shadow: 0 4px 0 #0070ff;
    position: relative;
}

.time-box .number {
    font-size: 2rem;
    font-weight: bold;
    color: white;
}

.time-box .label {
    font-size: 0.9rem;
    font-weight: bold;
    color: white;
    margin-top: 8px;
}

.countdown-stripe {
    height: 2px;
    width: 70%;
    background-color: white;
    margin: 30px auto;
    border-radius: 3px;
}

.event-date {
    font-size: 1rem;
    font-weight: 400;
    color: #ccc;
    margin-top: 10px;
}

@media (max-width: 500px) {
    .time-box {
        width: 70px;
        padding: 12px 8px;
    }

    .time-box .number {
        font-size: 1.6rem;
    }

    .time-box .label {
        font-size: 0.8rem;
    }
}
  
  .category-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

/* Blur and disable */
.disabled-card .card-image-wrapper {
    filter: blur(1.5px);
    pointer-events: none;
    user-select: none;
}

.disabled-card {
    opacity: 0.6;
}

.disabled-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    text-align: center;
    filter: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10px;
    box-sizing: border-box;
}

.disabled-card .card-overlay h3 {
    margin: 0;
    padding-top: 50%;
    transform: translateY(-1%);
    line-height: 1.4;
    font-size: 20px;
    max-width: 225px;
}

@media (max-width: 768px) {
    /* Carousel fixes */
    .carousel {
        height: 400px; /* Reduce height on mobile */
    }
    
    .carousel-content {
        left: 20px;
        right: 20px;
        top: auto;
        bottom: 20px;
        transform: none;
        max-width: 100%;
        padding: 15px;
        background-color: rgba(0, 0, 0, 0.5); /* Add semi-transparent background */
    }
    
    .carousel-content h2 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .carousel-content .date {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
    
    .carousel-content .date::after {
        width: 50px; /* Make the line shorter on mobile */
    }
    
    .carousel-content .description {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .carousel-content .blog-arrow a {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    
    /* Move dots to bottom-right on mobile */
    .carousel-dots {
        top: auto;
        right: 15px;
        bottom: 130px; /* Position above the content box */
        left: auto;
        transform: none;
        flex-direction: row;
        gap: 15px;
        width: auto;
        height: auto;
        z-index: 10; /* Ensure dots appear above other elements */
    }
    
    /* Make dots smaller on mobile */
    .carousel-dots .dot {
        height: 12px;
        width: 12px;
    }
    
    .carousel-dots .dot.active {
        height: 30px;
        width: 30px;
    }
    
    .carousel-dots .dot.active::before {
        height: 12px;
        width: 12px;
    }
    
    /* Category title fix */
    .category-title {
        width: 100%; /* Make it full width on mobile */
        height: auto;
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    /* Category grid adjustments */
    .category-grid {
        grid-template-columns: repeat(2, 1fr); /* Show 2 cards per row on mobile */
        gap: 15px;
        padding: 10px;
        max-width: 100%;
    }
    
    .category-card {
        height: 180px; /* Make cards shorter on mobile */
        max-width: none;
        width: 100%; /* Make cards take full width of their grid cell */
    }
    
    .card-overlay h3 {
        font-size: 16px;
    }
    
    /* Countdown adjustments */
    .time-box {
        width: 60px;
        padding: 10px;
    }
    
    .time-box .number {
        font-size: 1.5rem;
    }
    
    .time-box .label {
        font-size: 0.8rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .carousel {
        height: 300px;
    }
    
    /* Keep 2 cards per row even on small screens */
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .category-card {
        height: 150px;
        width: 100%;
        margin: 0;
    }
    
    .card-overlay h3 {
        font-size: 14px;
        max-width: 90%;
    }
    
    .countdown-boxes {
        gap: 10px;
    }
    
    .time-box {
        width: 50px;
        padding: 8px 5px;
    }
    
    .time-box .number {
        font-size: 1.2rem;
    }
    
    .time-box .label {
        font-size: 0.7rem;
    }
}

.border-1 {
    border: 3px solid #22c55e; /* Green */
}

.border-2 {
    border: 3px solid #3b82f6; /* Blue */
}

.border-3 {
    border: 3px solid #eab308; /* Yellow */
}

.border-4 {
    border: 3px solid #ef4444; /* Red */
}

/* Container to keep timer-description and button visually grouped */
.countdown-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Short description paragraph styling */
.countdown-wrapper .timer-description {
    color: #ccc;               /* light gray */
    font-size: 16px;           /* match category-description font size */
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.2px;
    margin: 20px 0 10px;       /* vertical spacing */
    max-width: 700px;          /* limit width for readability */
    text-align: center;
    text-transform: uppercase;
}

/* Link styled as a button */
.countdown-wrapper .category-blog-button {
    padding: 12px 36px;
    border: 2px solid #0070ff;   /* bright blue border to match countdown elements */
    color: #0070ff;
    background-color: transparent;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 4px 0 #0070ff;
}

/* Hover effect for button */
.countdown-wrapper .category-blog-button:hover {
    background-color: #0070ff;
    color: white;
    box-shadow: none;
}

/* Responsive tweak for smaller screens */
@media (max-width: 500px) {
    .countdown-wrapper .timer-description {
        font-size: 14px;
        max-width: 90%;
        margin: 15px 0 8px;
    }

    .countdown-wrapper .category-blog-button {
        padding: 10px 24px;
        font-size: 14px;
    }
}

.partners-section {
    padding: 80px 0;
    background-color: #0a0a0a;
    width: 100%;
}

.partners-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.partners-header {
    text-align: center;
    margin-bottom: 40px;
}

.partners-title {
    font-size: 3rem;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.title-main {
    color: #ffffff;
}

.title-accent {
    color: #F23849;
}


.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
}

/* =========================
   Partner Card Styling
========================= */

.partner-card {
    width: 100%;
    max-width: 260px;
    height: 130px;
    background-color: #191919;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px; /* space around the logo */
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.partner-card-inner {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================
   Logo Styling
========================= */

.partner-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    filter: brightness(1.1);
    transition: filter 0.3s ease;
}

.partner-card:hover .partner-logo {
    filter: brightness(1.3);
}

/* =========================
   Responsive Styling
========================= */

@media (max-width: 768px) {
    .partners-section {
        padding: 60px 0;
    }

    .partners-container {
        padding: 0 15px;
    }

    .partners-title {
        font-size: 2.2rem;
        flex-direction: column;
        gap: 5px;
    }

    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }

    .partner-card {
        max-width: 100%;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .partners-title {
        font-size: 1.8rem;
    }

    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 12px;
    }

    .partner-card {
        height: 110px;
    }

    .partner-card-inner {
        padding: 15px;
    }
}

/* =========================
   Dark Theme Variant
========================= */

