.sponsor-cta{
    background-color: rgba(var(--bs-black-rgb), var(--bs-bg-opacity)) !important;

    .btn-sponsor {
        background: linear-gradient(135deg,#996633 0%,#cc9966 50%,#ffcc99 100%);
        border: none;
        color: white; /* black text works better on gold */
        position: relative;
        overflow: hidden;
        transition: background 0.3s;
        font-weight: 600;
    }

    .btn-sponsor:hover,
    .btn-sponsor:focus {
        background: linear-gradient(135deg,#b37740 0%,#d4a373 50%,#ffd9b3 100%);
        color: #000;
    }

    /* Shine animation stays */
    .btn-sponsor::after {
        content: '';
        position: absolute;
        top: 0; left: -75%;
        width: 50%; height: 100%;
        background: linear-gradient(
            120deg,
            rgba(255,255,255,0) 0%,
            rgba(255,255,255,0.5) 50%,
            rgba(255,255,255,0) 100%
        );
        transform: skewX(-20deg);
        transition: none;
        pointer-events: none;
    }

    .btn-sponsor:hover::after,
    .btn-sponsor:focus::after {
        animation: shine-move 0.8s linear 1;
    }


    @keyframes shine-move {
        0% { left: -75%; }
        100% { left: 130%; }
    }

    /* sponsor Carousel Styles */


    .text-light{
        color: linear-gradient(90deg, #d9d9d9 0%, #f5f5f5 25%, #bfbfbf 50%, #f5f5f5 75%, #d9d9d9 100%);
    }


    .sponsor-carousel-section {

    background: #0c0c16;
    background: linear-gradient(180deg, black 0%, #003366 100%);

    padding: 2rem 0;

    overflow: hidden;

    }



    .sponsor-carousel-container {

    position: relative;

    max-width: 100%;

    margin: 0 auto;

    overflow: hidden;

    }



    .sponsor-carousel {

    display: flex;

    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    align-items: center;

    gap: 2rem;

    padding: 2rem 1rem;

    width: 100%;

    }



    .sponsor-slide {

    display: flex;

    min-width: 100%;

    gap: 2rem;

    justify-content: center;

    align-items: center;

    flex-wrap: nowrap;

    width: 100%;

    }



/* Desktop default: 4 items per slide */
.sponsor-item{
  flex: 0 0 calc(25% - 1.5rem); /* was 16.666% (6 per slide) → now 25% (4 per slide) */
  min-width: 180px;             /* was 250px; play with 160–200px if needed */
  max-width: none;              /* remove the 200px cap to avoid fighting min-width */
  height: 120px;
/*
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);*/
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  transition: all .3s ease;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}



    .sponsor-item:hover {

    background: rgba(255, 255, 255, 0.08);

    border-color: rgba(255, 255, 255, 0.2);

    transform: translateY(-4px);

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);

    }



    /* Logo styling */

    .sponsor-item .sponsor-logo {

    max-width: 100%;

    max-height: 100px;

    width: auto;

    height: auto;

    object-fit: contain;

    filter: brightness(0.9) contrast(1.1);

    }



    .bg-white{

        background: white;

    }



    .rounded {

    border-radius: 8px;

    }





    .sponsor-item:hover .sponsor-logo {

    filter: brightness(1) contrast(1.2);

    }



    /* Text-only companies (fallback) */

    .sponsor-item .sponsor-text {

    color: #ffffff;

    font-weight: 600;

    font-size: 0.9rem;

    text-align: center;

    line-height: 1.3;

    letter-spacing: 0.5px;

    text-transform: uppercase;

    }



    .sponsor-item.text-only {

    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);

    }



    .sponsor-item.text-only:hover {

    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);

    }



    /* Carousel navigation */

    .sponsor-carousel-nav {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    background: rgba(255, 255, 255, 0.1);

    border: 1px solid rgba(255, 255, 255, 0.2);

    color: white;

    width: 50px;

    height: 50px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition: all 0.3s ease;

    backdrop-filter: blur(8px);

    z-index: 10;

    }



    .sponsor-carousel-nav:hover {

    background: rgba(255, 255, 255, 0.2);

    border-color: rgba(255, 255, 255, 0.4);

    transform: translateY(-50%) scale(1.1);

    }



    .sponsor-carousel-nav.prev {

    left: 20px;

    }



    .sponsor-carousel-nav.next {

    right: 20px;

    }



    /* Carousel indicators */

    .sponsor-carousel-indicators {

    display: flex;

    justify-content: center;

    /* gap: 0.5rem; */

    margin-top: 2rem;

    

    }

    .sponsor-carousel-indicators-high{
    top: 160px;
    }



    .sponsor-carousel-indicator {

    width: 12px;

    height: 12px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.3);

    cursor: pointer;

    transition: all 0.3s ease;

    }



    .sponsor-carousel-indicator.active {

    background: #ffffff;

    transform: scale(1.2);

    }



    .sponsor-carousel-indicator:hover {

    background: rgba(255, 255, 255, 0.6);

    }



    /* Auto-play pause on hover */

    .sponsor-carousel-container:hover .sponsor-carousel {

    animation-play-state: paused;

    }



    /* Responsive design */

    @media (max-width: 1200px) {

    .sponsor-item {

        flex: 0 0 calc(20% - 1.6rem); /* 5 items per slide */

        min-width: 140px;

    }

    }



    @media (max-width: 992px) {

    .sponsor-item {

        flex: 0 0 calc(25% - 1.5rem); /* 4 items per slide */

        min-width: 130px;

    }

    

    .sponsor-carousel-nav {

        width: 40px;

        height: 40px;

    }

    

    .sponsor-carousel {

        gap: 1.5rem;

        padding: 2rem 0.5rem;

    }

    

    .sponsor-slide {

        gap: 1.5rem;

    }

    }



    @media (max-width: 768px) {

    .sponsor-item {

        flex: 0 0 calc(50% - 0.5rem); /* 2 items per slide */

        height: 100px;

        min-width: 130px;

        max-width: 180px;

    }

    

    .sponsor-carousel {

        gap: 1rem;

        padding: 1.5rem 0.5rem;

    }

    

    .sponsor-slide {

        gap: 1rem;

    }

    }



    @media (max-width: 576px) {

    .sponsor-item {

        flex: 0 0 100%; /* 1 item per slide only */

        height: 120px;

        min-width: 200px;

        max-width: 280px;

        margin: 0 auto;

    }

    

    .sponsor-carousel {

        gap: 0;

        padding: 1.5rem 0.5rem;

    }

    

    .sponsor-slide {

        gap: 0;

        justify-content: center;

    }

    

    /* Mobile individual slides */

    .sponsor-slide.mobile-slide {

        display: flex;

        justify-content: center;

        align-items: center;

        min-width: 100%;

    }

    

    .sponsor-carousel-nav {

        width: 35px;

        height: 35px;

    }

    

    .sponsor-carousel-nav.prev {

        left: 5px;

    }

    

    .sponsor-carousel-nav.next {

        right: 5px;

    }

    }



    @media (max-width: 480px) {

    .sponsor-item {

        flex: 0 0 100%; /* 1 item per slide */

        height: 100px;

        min-width: 180px;

        max-width: 250px;

        padding: 1rem;

        margin: 0 auto;

    }

    

    .sponsor-carousel {

        gap: 0;

        padding: 1rem 0.5rem;

    }

    

    .sponsor-slide {

        gap: 0;

        justify-content: center;

    }

    }



    /* Loading state */

    .sponsor-item.loading {

    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);

    background-size: 200% 100%;

    animation: loading 1.5s infinite;

    }



    @keyframes loading {

    0% { background-position: 200% 0; }

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

    }
}

