 :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;
 }

 /* Custom colors for event categories */
 .badge.bg-info-subtle {
     background-color: rgba(54, 185, 204, 0.15);
     color: #36b9cc;
     font-weight: 500;
     border: 1px solid rgba(54, 185, 204, 0.3);
 }

 .badge.bg-primary-subtle {
     background-color: rgba(78, 115, 223, 0.15);
     color: #4e73df;
     font-weight: 500;
     border: 1px solid rgba(78, 115, 223, 0.3);
 }

 .badge.bg-success-subtle {
     background-color: rgba(28, 200, 138, 0.15);
     color: #1cc88a;
     font-weight: 500;
     border: 1px solid rgba(28, 200, 138, 0.3);
 }

 .badge.bg-danger-subtle {
     background-color: rgba(231, 74, 59, 0.15);
     color: #e74a3b;
     font-weight: 500;
     border: 1px solid rgba(231, 74, 59, 0.3);
 }

 .badge.bg-warning-subtle {
     background-color: rgba(246, 194, 62, 0.15);
     color: #f6c23e;
     font-weight: 500;
     border: 1px solid rgba(246, 194, 62, 0.3);
 }

 .badge.bg-secondary-subtle {
     background-color: rgba(133, 135, 150, 0.15);
     color: #858796;
     font-weight: 500;
     border: 1px solid rgba(133, 135, 150, 0.3);
 }


 /* 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);
 }

 /* 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);
}
