 :root {
     --primary-gradient: linear-gradient(135deg, #6e8efb, #a777e3);
     --primary-color: #6e8efb;
     --secondary-color: #a777e3;
 }

 body {
     font-family: 'Poppins', Tahoma, Geneva, Verdana, sans-serif;
 }

 /* Hero Section */
 .hero-section {
     background: linear-gradient(135deg,
             rgba(0, 0, 0, 0.05),
             rgba(167, 119, 227, 0.1));
     min-height: 100vh;
     display: flex;
     align-items: center;
     position: relative;
     overflow: hidden;
     padding: 80px 0;
 }

 /* Floating Animation Elements */
 .hero-section::before {
     content: '';
     position: absolute;
     top: 15%;
     right: 15%;
     width: 150px;
     height: 150px;
     background: rgba(110, 142, 251, 0.1);
     border-radius: 50%;
     animation: float 8s ease-in-out infinite;
     z-index: 1;
 }

 .hero-section::after {
     content: '';
     position: absolute;
     bottom: 25%;
     left: 10%;
     width: 80px;
     height: 80px;
     background: rgba(167, 119, 227, 0.15);
     border-radius: 50%;
     animation: float 6s ease-in-out infinite reverse;
     z-index: 1;
 }

 .hero-content {
     position: relative;
     z-index: 2;
     padding-right: 2rem;
 }

 .hero-image-container {
     position: relative;
     z-index: 2;
     padding-left: 2rem;
 }

 .hero-image {
     width: 100%;
     height: 400px;
     object-fit: cover;
     border-radius: 20px;
     box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
     transition: transform 0.5s ease;
     position: relative;
 }

 .hero-image:hover {
     transform: translateY(-10px) scale(1.02);
 }

 /* Image decorative elements */
 .hero-image-container::before {
     content: '';
     position: absolute;
     top: -20px;
     left: -20px;
     width: 100px;
     height: 100px;
     background: var(--primary-gradient);
     border-radius: 50%;
     z-index: -1;
     opacity: 0.3;
     animation: pulse 3s ease-in-out infinite;
 }

 .hero-image-container::after {
     content: '';
     position: absolute;
     bottom: -30px;
     right: -30px;
     width: 120px;
     height: 120px;
     background: var(--secondary-color);
     border-radius: 20px;
     z-index: -1;
     opacity: 0.2;
     animation: float 4s ease-in-out infinite;
 }

 .hero-badge {
     background: var(--primary-gradient);
     color: white;
     padding: 10px 25px;
     border-radius: 30px;
     font-size: 0.9rem;
     font-weight: 600;
     display: inline-block;
     margin-bottom: 1.5rem;
     animation: slideInDown 1s ease-out;
     box-shadow: 0 8px 25px rgba(110, 142, 251, 0.3);
 }

 .hero-title {
     font-size: 3rem;
     font-weight: 800;
     color: #2c3e50;
     margin-bottom: 1.5rem;
     line-height: 1.1;
     animation: slideInLeft 1s ease-out 0.3s both;
 }

 .hero-title span {
     background: var(--primary-gradient);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
 }

 .hero-subtitle {
     font-size: 1rem;
     color: #6c757d;
     margin-bottom: 2.5rem;
     line-height: 1.7;
     animation: slideInLeft 1s ease-out 0.6s both;
     font-weight: 400;
 }

 .hero-buttons {
     animation: slideInUp 1s ease-out 0.9s both;
 }

 .btn-hero-primary {
     background: var(--primary-gradient);
     color: white;
     padding: 15px 35px;
     font-weight: 700;
     border-radius: 50px;
     border: none;
     transition: all 0.3s ease;
     box-shadow: 0 8px 25px rgba(110, 142, 251, 0.3);
     position: relative;
     overflow: hidden;
 }

 .btn-hero-primary:hover::before {
     left: 100%;
 }

 .btn-hero-primary:hover {
     transform: translateY(-3px);
     box-shadow: 0 15px 40px rgba(110, 142, 251, 0.4);
     color: white;
 }

 /* Scroll Indicator */
 .scroll-indicator {
     position: absolute;
     bottom: 30px;
     left: 50%;
     transform: translateX(-50%);
     color: var(--primary-color);
     text-align: center;
     animation: bounce 2s infinite;
     z-index: 3;
 }

 .scroll-indicator i {
     font-size: 1.5rem;
     margin-bottom: 5px;
     display: block;
 }

 .scroll-indicator span {
     font-size: 0.8rem;
     text-transform: uppercase;
     letter-spacing: 1px;
     font-weight: 600;
 }

 /* Animations */
 @keyframes float {

     0%,
     100% {
         transform: translateY(0px);
     }

     50% {
         transform: translateY(-20px);
     }
 }

 @keyframes pulse {

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

     50% {
         transform: scale(1.1);
         opacity: 0.5;
     }
 }

 @keyframes slideInDown {
     from {
         opacity: 0;
         transform: translateY(-30px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 @keyframes slideInLeft {
     from {
         opacity: 0;
         transform: translateX(-50px);
     }

     to {
         opacity: 1;
         transform: translateX(0);
     }
 }

 @keyframes slideInUp {
     from {
         opacity: 0;
         transform: translateY(30px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 @keyframes bounce {

     0%,
     20%,
     50%,
     80%,
     100% {
         transform: translateX(-50%) translateY(0);
     }

     40% {
         transform: translateX(-50%) translateY(-10px);
     }

     60% {
         transform: translateX(-50%) translateY(-5px);
     }
 }

 /* Responsive */
 @media (max-width: 992px) {
     .hero-content {
         padding-right: 1rem;
         margin-bottom: 3rem;
     }

     .hero-image-container {
         padding-left: 1rem;
     }

     .hero-image {
         height: 400px;
     }
 }

 @media (max-width: 768px) {
     .hero-section {
         padding: 60px 0;
     }

     .hero-title {
         font-size: 2rem !important;
     }

     .hero-subtitle {
         font-size: 1.1rem;
     }

     .hero-badge {
         font-size: 0.8rem;
         margin-top: 20px;
     }

     .hero-content {
         padding-right: 0;
         text-align: center;
         margin-bottom: 2rem;
     }

     .hero-image-container {
         padding-left: 0;
         margin-top: 30px;
     }

     .hero-image {
         height: 300px;
     }

     .btn-hero-primary,
     .btn-hero-secondary {
         display: block;
         margin: 0.5rem 0;
         width: 100%;
     }
 }

 @media (max-width: 576px) {
     .hero-title {
         font-size: 2rem !important;
     }

     .hero-subtitle {
         font-size: 1.1rem;
     }

     .hero-badge {
         font-size: 0.8rem;
         margin-top: 20px;
     }

     .hero-image-container {
         padding-left: 0;
         margin-top: 30px;
     }
 }



 /* Categories Section */
 .categories-section {
     padding: 100px 0;
     background: linear-gradient(45deg, #f8f9ff, #ffffff);
 }

 .category-card {
     background: white;
     border-radius: 20px;
     padding: 40px 30px;
     text-align: center;
     box-shadow: 0 10px 30px rgba(110, 142, 251, 0.1);
     transition: all 0.3s ease;
     border: 1px solid rgba(110, 142, 251, 0.1);
     height: 100%;
 }

 .category-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 20px 40px rgba(110, 142, 251, 0.15);
 }

 .category-icon {
     width: 80px;
     height: 80px;
     background: var(--primary-gradient);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     margin: 0 auto 20px;
     font-size: 2rem;
     color: white;
 }

 .category-title {
     font-size: 1.5rem;
     font-weight: 700;
     color: #333;
     margin-bottom: 15px;
 }


 /* Events Section */
 .event-header {
     background-color: #f8f9fc;
     border-left: 5px solid #4e73df;
 }

 .hover-card {
     transition: all 0.3s ease;
     border-radius: 12px;
 }

 .hover-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
 }

 .card-status {
     position: absolute;
     right: 10px;
     top: -10px;
     z-index: 10;
 }

 .event-icon-banner {
     height: 240px;
     overflow: hidden;
 }

 .event-icon-wrapper {
     height: 100%;
     width: 100%;
     padding: 1rem;
     transition: all 0.3s ease;
 }

 .event-icon-wrapper:hover {
     transform: scale(1.03);
 }

 .event-icon-text {
     max-width: 80%;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
 }

 .info-icon,
 .deadline-icon,
 .location-icon,
 .creator-avatar {
     width: 32px;
     height: 32px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .page-item.active .page-link {
     background-color: #4e73df;
     border-color: #4e73df;
 }

 .page-link {
     color: #4e73df;
 }




 /* CTA Section */
 .cta-section-pattern {
     background: var(--primary-gradient);
     padding: 100px 0;
     color: white;
     text-align: center;
     position: relative;
     overflow: hidden;
     margin-bottom: 100px;
 }

 .cta-section-pattern::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background-image:
         radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
         radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
     background-size: 200px 200px;
 }



 /* Shared Styles */
 .cta-title {
     font-size: 2.2rem;
     font-weight: 800;
     margin-bottom: 1.5rem;
     line-height: 1.2;
 }

 .cta-subtitle {
     font-size: 1.2rem;
     margin-bottom: 2rem;
     opacity: 0.95;
     line-height: 1.6;
 }

 .btn-cta {
     background: white;
     color: var(--primary-color);
     padding: 15px 40px;
     border-radius: 50px;
     font-weight: 600;
     border: none;
     transition: all 0.3s ease;
     box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
     position: relative;
     overflow: hidden;
 }

 .btn-cta::before {
     content: '';
     position: absolute;
     top: 0;
     left: -100%;
     width: 100%;
     height: 100%;
     background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
     transition: left 0.5s ease;
 }

 .btn-cta:hover::before {
     left: 100%;
 }

 .btn-cta:hover {
     background: rgba(255, 255, 255, 0.95);
     transform: translateY(-3px);
     box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
     color: var(--primary-color);
 }

 /* CTA Section */
 .cta-section-pattern {
     background: var(--primary-gradient);
     color: white;
     padding: 80px 0;
     position: relative;
     overflow: hidden;
 }

 .cta-section-pattern::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
     opacity: 0.3;
 }

 .cta-section-pattern>.container {
     position: relative;
     z-index: 2;
 }

 /* Shared Styles */
 .cta-title {
     font-size: 2.2rem;
     font-weight: 800;
     margin-bottom: 1.5rem;
     line-height: 1.2;
 }

 .cta-subtitle {
     font-size: 1.2rem;
     margin-bottom: 2rem;
     opacity: 0.95;
     line-height: 1.6;
 }

 .btn-cta {
     background: white;
     color: var(--primary-color);
     padding: 15px 40px;
     border-radius: 50px;
     font-weight: 600;
     border: none;
     transition: all 0.3s ease;
     box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
     position: relative;
     overflow: hidden;
 }

 .btn-cta::before {
     content: '';
     position: absolute;
     top: 0;
     left: -100%;
     width: 100%;
     height: 100%;
     background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
     transition: left 0.5s ease;
 }

 .btn-cta:hover::before {
     left: 100%;
 }

 .btn-cta:hover {
     background: rgba(255, 255, 255, 0.95);
     transform: translateY(-3px);
     box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
     color: var(--primary-color);
 }

 /* sponsor */
 /* Responsive */
 @media (max-width: 768px) {
     .cta-title {
         font-size: 2rem;
     }

     .cta-left {
         padding: 60px 30px;
     }

     .stats-inline {
         flex-direction: column;
         gap: 1rem;
     }

     .btn-cta,
     .btn-hero {
         display: block;
         margin: 0.5rem auto;
         width: 80%;
     }
 }

.event-title-bg {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Sponsors Section */
.sponsors-section {
    padding: 100px 0;
    background: linear-gradient(45deg, #f8f9ff, #ffffff);
    position: relative;
}

.sponsors-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(110,142,251,0.05)"/></svg>') repeat;
    opacity: 0.5;
}

.sponsors-section > .container {
    position: relative;
    z-index: 2;
}

/* Desktop/Tablet Grid */
.sponsors-grid {
    width: 100%;
}

.sponsors-grid .row {
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.sponsor-card {
    background: white;
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(110, 142, 251, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(110, 142, 251, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sponsor-card:hover,
.sponsor-card.sponsor-hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(110, 142, 251, 0.15);
    border-color: rgba(110, 142, 251, 0.2);
}

.sponsor-logo {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    overflow: hidden;
}

.sponsor-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.sponsor-card:hover .sponsor-logo img {
    transform: scale(1.1);
}

.sponsor-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sponsor-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.3;
}

.sponsor-event {
    font-size: 0.75rem;
    color: #6c757d !important;
    line-height: 1.2;
}

/* Sponsor Carousel for Mobile */
.sponsor-carousel {
    overflow: hidden;
    white-space: nowrap;
    padding: 20px 0;
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.sponsor-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0.9), transparent);
    z-index: 2;
    pointer-events: none;
}

.sponsor-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 100%;
    background: linear-gradient(to left, rgba(255,255,255,0.9), transparent);
    z-index: 2;
    pointer-events: none;
}

.sponsor-track {
    display: inline-flex;
    animation: sponsorScroll 25s linear infinite;
    will-change: transform;
}

.sponsor-track:hover {
    animation-play-state: paused;
}

.sponsor-slide {
    flex: 0 0 auto;
    width: 140px;
    margin-right: 15px;
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(110, 142, 251, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.sponsor-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(110, 142, 251, 0.2);
}

.sponsor-slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.sponsor-slide-img {
    max-width: 100%;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.sponsor-slide-info {
    text-align: center;
}

.sponsor-slide-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.2;
}

@keyframes sponsorScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.empty-sponsors {
    padding: 60px 20px;
}

/* Responsive Sponsors */
@media (max-width: 1200px) {
    .sponsor-card {
        padding: 20px 12px;
    }

    .sponsor-logo {
        height: 70px;
        margin-bottom: 12px;
    }

    .sponsor-name {
        font-size: 0.85rem;
    }

    .sponsor-event {
        font-size: 0.7rem;
    }
}

@media (max-width: 992px) {
    .sponsors-section {
        padding: 80px 0;
    }

    .sponsor-card {
        padding: 18px 10px;
    }

    .sponsor-logo {
        height: 65px;
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .sponsors-section {
        padding: 60px 0;
    }

    /* Carousel will be visible on mobile */
    .sponsor-carousel {
        display: block !important;
    }

    .sponsor-slide {
        width: 120px;
        padding: 12px;
        margin-right: 12px;
    }

    .sponsor-slide-img {
        height: 50px;
        margin-bottom: 8px;
    }

    .sponsor-slide-name {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .sponsor-slide {
        width: 100px;
        padding: 10px;
        margin-right: 10px;
    }

    .sponsor-slide-img {
        height: 40px;
        margin-bottom: 6px;
    }

    .sponsor-slide-name {
        font-size: 0.65rem;
    }

    .sponsor-track {
        animation-duration: 20s;
    }
}

 /* Tablet Responsive (768px - 991px) */
 @media (max-width: 992px) {
     .cta-section-pattern {
         padding: 60px 0;
     }

     .cta-title {
         font-size: 2rem;
         margin-bottom: 1.2rem;
     }

     .cta-subtitle {
         font-size: 1.1rem;
         margin-bottom: 1.8rem;
     }

     .btn-cta {
         padding: 14px 35px;
         font-size: 1rem;
     }
 }

 /* Mobile Responsive (≤768px) */
 @media (max-width: 768px) {
     .cta-section-pattern {
         padding: 50px 0;
     }

     .cta-title {
         font-size: 1.8rem;
         margin-bottom: 1rem;
         line-height: 1.3;
     }

     .cta-subtitle {
         font-size: 1rem;
         margin-bottom: 1.5rem;
         line-height: 1.5;
         padding: 0 15px;
     }

     .btn-cta {
         padding: 12px 30px;
         font-size: 0.95rem;
         width: 100%;
         max-width: 300px;
         margin: 0 auto;
         display: block;
     }

     .btn-cta i {
         margin-right: 8px !important;
     }
 }

 /* Section Titles */
 .section-title {
     font-size: 2.5rem;
     font-weight: 700;
     color: #333;
     margin-bottom: 1rem;
     position: relative;
 }

 .section-title::after {
     content: '';
     position: absolute;
     bottom: -10px;
     left: 50%;
     transform: translateX(-50%);
     width: 80px;
     height: 4px;
     background: var(--primary-gradient);
     border-radius: 2px;
 }

 .section-subtitle {
     font-size: 1.1rem;
     color: #666;
     margin-bottom: 3rem;
 }

 /* Responsive */
 @media (max-width: 768px) {
     .cta-title {
         font-size: 2rem;
     }

     .cta-left {
         padding: 60px 30px;
     }

     .stats-inline {
         flex-direction: column;
         gap: 1rem;
     }

     .btn-cta,
     .btn-hero {
         display: block;
         margin: 0.5rem auto;
         width: 80%;
     }
 }

.event-title-bg {
    background-color: rgba(0, 0, 0, 0.5);
}
