/**********  My Event - Updated Palette Based on Logo  **********/
:root {
  /* Updated My Event Colors - Based on Logo Analysis */
  --me-blue: #0C008F;        /* Deep navy blue from logo text */
  --me-blue-light: #0033FF;  /* Lighter blue for gradients */
  --me-cyan: #0033FF;        /* Cyan from icon gradient */
  --me-yellow: #FFC300;      /* Warm yellow accent from icon */
  --me-white: #FFFFFF;
  
  /* Legacy variables for backward compatibility */
  --primary: #0C008F;
  --secondary: #0033FF;
  --accent: #FFC300;
  --light: #FFFFFF;
  --dark: #0C008F;
}

/* ---------- Event Page Styles ---------- */

/* Category cards hover effects */
.category-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.category-icon {
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

/* Event cards hover effects */
.event-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
}

.event-card img {
    transition: transform 0.3s ease;
}

.event-card:hover img {
    transform: scale(1.05);
}

/* Search bar animations */
.search-bar {
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero content animations */
.hero-content h1 {
    animation: fadeInUp 0.8s ease-out both;
}

.hero-content p {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Button hover effects */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Newsletter section animations */
.newsletter-section {
    background-attachment: fixed;
}

/* ---------- Dashboard Styles ---------- */

/* Responsive sidebar */
@media (max-width: 768px) {
    .sidebar {
        position: fixed !important;
        top: 76px;
        left: -280px;
        z-index: 1000;
        transition: left 0.3s ease;
        height: calc(100vh - 76px);
    }
    
    .sidebar.show {
        left: 0;
    }
    
    main {
        margin-left: 0 !important;
    }
    
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
    }
    
    .sidebar-overlay.show {
        display: block;
    }
}

/* Sidebar navigation styles */
.sidebar .nav-link {
    color: #6c757d;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-bottom: 4px;
}

.sidebar .nav-link:hover {
    background-color: #f8f9fa;
    color: #0072FF;
    transform: translateX(5px);
}

.sidebar .nav-link.active {
    background-color: #e3f2fd;
    color: #0072FF;
    font-weight: 600;
}

.sidebar .nav-link.active i {
    color: #0072FF !important;
}

/* Content area styles */
main {
    min-height: calc(100vh - 76px);
}

/* Card hover effects */
.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

/* Avatar circle */
.avatar-circle {
    font-size: 14px;
    font-weight: 600;
}

/* Notification badge */
.badge {
    font-size: 0.6rem;
}

/* Dropdown customizations */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.dropdown-item {
    padding: 8px 16px;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

/* ---------- Global helpers ---------- */
.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}

h1, .h1, h2, .h2, .fw-bold   { font-weight: 700 !important; }
h3, .h3, h4, .h4, .fw-medium { font-weight: bold !important; }
h5, .h5, h6, .h6, .fw-semi-bold { font-weight: 500 !important; }

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-out, visibility 0s linear .5s;
  z-index: 99999;
}
#spinner.show {
  transition: opacity .5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  transition: .5s;
  font-weight: 500;
}
.btn-primary,
.btn-outline-primary:hover {
  color: var(--white);
  background: var(--me-blue);
}
.btn-square {
  width: 38px;
  height: 38px;
}
.btn-sm-square {
  width: 32px;
  height: 32px;
}
.btn-lg-square {
  width: 48px;
  height: 48px;
}
.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

/*** Navbar ***/
.navbar.sticky-top {
  top: -80px;
  transition: .5s;
}
.navbar .navbar-brand,
.navbar a.btn {
  height: 80px;
}
.navbar .navbar-nav .nav-link {
  margin-right: 35px;
  padding: 25px 0;
  color: var(--me-blue-dark);
  font-size: 18px;
  font-weight: 500;
  outline: none;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--me-blue);
}
.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}
@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }
  .navbar .navbar-nav {
    border-top: 1px solid rgba(0, 114, 255, 0.2);
  }
}
@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: .5s;
  }
  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    opacity: 1;
    
  }
}

#btn_sound {
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  border: 3px solid var(--me-blue);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#btn_sound svg {
  width: 20px;
  height: 20px;
}

/*** Header / Carousel ***/
#header-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  background: linear-gradient(rgba(0, 43, 255, 0.65), rgba(0, 114, 255, 0.65)),
              url('../img/hero-bg.jpg') center/cover no-repeat;
  overflow: hidden;
}

/* Legacy carousel support */
.carousel-container {
  position: relative;
  overflow: hidden;
}
.nectar-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
.carousel-caption h6 {
  font-weight: bold;
  color: var(--light);
  margin-bottom: 20px;
}
@media (min-width: 1200px) {
  .carousel-caption h6 { font-size: 60px; }
}
@media (max-width: 1199.98px) {
  .carousel-caption h6 { font-size: 50px; }
}
@media (max-width: 991.98px) {
  #header-carousel { height: 80vh; }
  .carousel-caption h6 { font-size: 30px; }
}
@media (max-width: 767.98px) {
  #header-carousel { min-height: 60vh; }
  .carousel-caption h6 { font-size: 24px; }
}
@media (max-width: 575.98px) {
  .carousel-caption h6 { font-size: 20px; }
}

/*** Page Header ***/
.page-header {
  background: linear-gradient(rgba(0, 43, 255, 0.65), rgba(0, 43, 255, 0.65)),
              url('../img/page-header.jpg') center/cover no-repeat;
}
.page-header .breadcrumb-item + .breadcrumb-item::before,
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  color: var(--white);
}

/*** Facts & Quote ***/
.facts,
.quote { background: rgba(0, 114, 255, 0.65); }

/*** Service ***/
.service-item .service-text {
  background: var(--light);
  box-shadow: 0 0 45px rgba(0, 114, 255, 0.08);
  transition: .3s;
}
.service-item:hover .service-text {
  background: var(--me-blue);
}
.service-item:hover .service-text h4,
.service-item:hover .service-text p {
  color: var(--white);
}
.service-item .service-text .btn-square {
  background: transparent;
  transition: .5s;
}
.service-item:hover .service-text .btn-square {
  background: var(--me-yellow);
}
.service-item .service-text .btn {
  background: var(--me-yellow);
  color: var(--me-blue-dark);
}

/*** Project Portfolio ***/
#portfolio-flters li {
  color: var(--me-blue);
}
#portfolio-flters li:hover,
#portfolio-flters li.active {
  color: var(--me-blue-dark);
  border-color: var(--me-blue-dark);
}
.portfolio-inner::before,
.portfolio-inner::after {
  background: rgba(0, 114, 255, 0.65);
}
.portfolio-inner .portfolio-text .btn {
  background: var(--me-yellow);
  color: var(--me-blue-dark);
}
.portfolio-inner .portfolio-text .btn:hover {
  background: var(--me-blue);
  color: var(--white);
}

/*** Team ***/
.team-item .team-text { background: var(--light); }
.team-item .team-social .btn {
  background: var(--me-yellow);
  color: var(--me-blue-dark);
}
.team-item .team-social .btn:hover {
  background: var(--me-blue);
  color: var(--white);
}

/*** Testimonial ***/
.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  color: var(--me-blue);
  background: var(--white);
}
.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  background: var(--me-blue);
  color: var(--white);
}

/*** Footer ***/
.footer {
    background-color: var(--me-blue);
}
.footer .btn.btn-link { color: var(--white); }
.footer .btn.btn-link:hover { color: var(--me-yellow); }
.copyright {
  color: var(--me-white);
  background: linear-gradient(135deg, var(--me-blue-light) 0%, var(--me-cyan) 100%);
}
.copyright a:hover { color: var(--me-yellow); }
.copyright a {
    color: var(--me-blue);
}

/*** Actualités ***/
.article-title,
.article-content h2,
.article-content h3 { color: var(--me-blue); }
.back-to-news,
.read-more { color: var(--me-blue); }
.back-to-news:hover,
.read-more:hover { color: var(--me-blue-dark); }

/*** Digital Wall ***/
.digital-wall {
  background: rgba(0, 114, 255, 0.65);
}
.line { stroke: var(--me-yellow); }

/**********  WELCOME PAGE – My Event  **********/

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, hsl(245, 100%, 28%) 100%, hsl(245, 100%, 28%) 50%, hsl(228, 100%, 50%) 0%);
  display: flex;
  align-items: center;
  position: relative;
}

.hero-bg {
  z-index: 0;
}

.hero-overlay {
  background: linear-gradient(135deg, rgba(0, 114, 255, 0.8) 0%, rgba(0, 43, 255, 0.8) 100%);
  z-index: 1;
}

.hero-content {
  animation-fill-mode: both;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 43, 255, 0.3);
}

.hero-subtitle {
  text-shadow: 1px 1px 2px rgba(0, 43, 255, 0.3);
  opacity: 0.95;
}

.hero-buttons .btn {
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 43, 255, 0.2);
}

.hero-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 43, 255, 0.3);
}

.scroll-indicator {
  z-index: 2;
}

.scroll-arrow {
  animation: bounce 2s infinite;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeUp 0.8s ease-out forwards;
  opacity: 0;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.animate-bounce {
  animation: bounce 2s infinite;
}

/* Services Section */
.services-section {
  position: relative;
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--me-blue) 0%, var(--me-yellow) 50%, var(--me-blue-dark) 100%);
}

.section-title {
  position: relative;
  display: inline-block;
  color: var(--me-blue-dark);
  font-weight: 700;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--me-blue) 0%, var(--me-yellow) 100%);
  border-radius: 2px;
}

.section-subtitle {
  color: #6c757d;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Service Cards */
.service-card {
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(30, 58, 138, 0.1);
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--me-blue) 0%, var(--me-yellow) 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(30, 58, 138, 0.2);
  border-color: var(--me-blue);
}

.hover-lift {
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
}

.service-icon {
  position: relative;
  margin-bottom: 2rem;
}

.icon-circle {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--me-blue) 0%, var(--me-cyan) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.icon-circle::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 212, 0, 0.3), transparent);
  transform: rotate(45deg) translate(-50%, -50%);
  transition: all 0.6s ease;
  opacity: 0;
}

.service-card:hover .icon-circle {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 15px 40px rgba(0, 114, 255, 0.4);
}

.service-card:hover .icon-circle::before {
  opacity: 1;
  animation: shimmer 1.5s ease-in-out;
}

.icon-circle i {
  font-size: 2.2rem;
  color: #ffffff;
  z-index: 2;
  position: relative;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  50% { transform: translateX(0%) translateY(0%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.service-card .card-title {
  color: var(--me-blue-dark);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.service-card .card-text {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.service-card .btn {
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: left 0.5s ease;
}

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

.service-card .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 43, 255, 0.3);
}

/* Footer Styles */
.footer {
  background: linear-gradient(135deg, var(--me-blue) 0%, var(--me-cyan) 100%);
  position: relative;
}

.footer h4 {
  color: var(--me-blue) !important;
}

.footer p,
.footer span {
  color: var(--me-blue) !important;
}

.footer .btn-link {
  color: var(--me-blue) !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer .btn-link:hover {
  color: var(--me-cyan) !important;
}

.footer a {
  color: var(--me-blue) !important;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--me-cyan) !important;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--me-blue) 0%, var(--me-cyan) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 212, 0, 0.1) 0%, transparent 70%);
  z-index: 0;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

/* Footer Improvements */
.footer {
  background: linear-gradient(135deg, var(--me-blue-dark) 0%, var(--me-blue) 100%);
}

.footer-links li {
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--me-yellow) !important;
  padding-left: 5px;
}

.footer-contact li {
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.footer-contact a:hover {
  color: var(--me-yellow) !important;
}

.social-links .btn {
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
}

.social-links .btn:hover {
  transform: translateY(-3px);
  background-color: var(--me-yellow) !important;
  border-color: var(--me-yellow) !important;
  color: var(--me-blue-dark) !important;
}

/* Enhanced Responsive Design */
@media (max-width: 1399.98px) {
  .hero-title {
    font-size: 3.2rem;
  }
  
  .icon-circle {
    width: 85px;
    height: 85px;
  }
}

@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .services-section {
    padding: 4rem 0;
  }
  
  .icon-circle {
    width: 80px;
    height: 80px;
  }
  
  .icon-circle i {
    font-size: 2rem;
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: 80vh;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-content {
    padding: 3rem 0;
  }
  
  .services-section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: 70vh;
  }
  
  .hero-title {
    font-size: 2rem;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons .btn {
    padding: 12px 25px !important;
    font-size: 0.95rem;
  }
  
  .services-section {
    padding: 2.5rem 0;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .icon-circle {
    width: 70px;
    height: 70px;
  }
  
  .icon-circle i {
    font-size: 1.8rem;
  }
  
  .service-card .card-title {
    font-size: 1.2rem;
  }
  
  .service-card .card-text {
    font-size: 0.95rem;
  }
  
  .service-card:hover {
    transform: translateY(-8px);
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.4;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-buttons .btn {
    padding: 10px 20px !important;
    font-size: 0.9rem;
  }
  
  .services-section {
    padding: 2rem 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-title::after {
    width: 60px;
    height: 3px;
  }
  
  .service-card .card-body {
    padding: 1.5rem;
  }
  
  .icon-circle {
    width: 60px;
    height: 60px;
  }
  
  .icon-circle i {
    font-size: 1.5rem;
  }
  
  .service-card .card-title {
    font-size: 1.1rem;
  }
  
  .service-card .btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
  
  .service-card:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .service-card {
    border-radius: 15px;
  }
  
  .icon-circle {
    width: 55px;
    height: 55px;
  }
  
  .icon-circle i {
    font-size: 1.3rem;
  }
}

/* Enhanced Utility Classes */
.object-fit-cover {
  object-fit: cover;
}

.z-2 {
  z-index: 2;
}

/* Additional Animation Classes */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in-up:nth-child(1) { animation-delay: 0.1s; }
.fade-in-up:nth-child(2) { animation-delay: 0.2s; }
.fade-in-up:nth-child(3) { animation-delay: 0.3s; }
.fade-in-up:nth-child(4) { animation-delay: 0.4s; }
.fade-in-up:nth-child(5) { animation-delay: 0.5s; }
.fade-in-up:nth-child(6) { animation-delay: 0.6s; }

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

.pulse-on-hover {
  transition: all 0.3s ease;
}

.pulse-on-hover:hover {
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Enhanced Focus States */
.btn:focus,
.service-card:focus {
  outline: 2px solid var(--me-yellow);
  outline-offset: 2px;
}

/* Loading Animation */
.loading-shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer-loading 1.5s infinite;
}

@keyframes shimmer-loading {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Button Enhancements */
.btn-primary {
  background-color: var(--me-blue);
  border-color: var(--me-blue);
  color: white;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--me-cyan);
  border-color: var(--me-cyan);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

.btn-warning {
  background-color: var(--me-yellow);
  border-color: var(--me-white);
  color: var(--me-white);
  transition: all 0.3s ease;
}

.btn-warning:hover {
  background-color: var(--me-white);
  border-color: var(--me-blue);
  filter: brightness(0.9);
  color: var(--me-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(252, 211, 77, 0.3);
}

.rounded-pill {
  border-radius: 50rem !important;
}

/* Event Section Styles */
.event-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  position: relative;
}

.event-card {
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0, 114, 255, 0.1);
  position: relative;
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--me-blue) 0%, var(--me-yellow) 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.event-card:hover::before {
  transform: scaleX(1);
}

.event-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
  border-color: var(--me-blue);
}

.event-image-container {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.event-image {
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.event-card:hover .event-image {
  transform: scale(1.05);
}

.event-overlay {
  background: rgba(30, 58, 138, 0.8);
  opacity: 0;
  transition: all 0.3s ease;
}

.event-card:hover .event-overlay {
  opacity: 1;
}

.event-badge {
  z-index: 2;
}

.event-badge .badge {
  border-radius: 15px;
  font-size: 0.8rem;
  box-shadow: 0 4px 15px rgba(252, 211, 77, 0.3);
}

.event-meta {
  border-bottom: 1px solid rgba(30, 58, 138, 0.1);
  padding-bottom: 1rem;
}

.event-date {
  border-radius: 12px;
  font-size: 0.85rem;
  border: 1px solid rgba(30, 58, 138, 0.2);
}

.event-price {
  font-size: 1.2rem;
}

.event-title a:hover {
  color: var(--me-cyan) !important;
}

.event-description {
  line-height: 1.6;
  font-size: 0.95rem;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: hidden;
}

.event-location {
  font-size: 0.9rem;
}

.no-events-placeholder {
  padding: 3rem 2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  border: 2px dashed rgba(30, 58, 138, 0.2);
}

/* Login Page Styles */
.login-container {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--me-blue) 0%, var(--me-blue-dark) 100%);
}

.login-hero {
    background: linear-gradient(rgba(30, 58, 138, 0.8), rgba(30, 58, 138, 0.8)), url('../img/ChatGPT_Image.png');
    background-size: cover;
    background-position: center;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-image-section {
    background: linear-gradient(rgba(30, 58, 138, 0.8), rgba(30, 58, 138, 0.8)), url('../img/ChatGPT_Image.png');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.login-form-section {
  background: white;
  padding: 2rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.login-form-section .form-control {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 12px 16px;
  transition: all 0.3s ease;
}

.login-form-section .form-control:focus {
  border-color: var(--me-blue);
  box-shadow: 0 0 0 0.2rem rgba(0, 114, 255, 0.25);
}

.login-form-section .form-control.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.login-form-section .form-control.is-valid {
  border-color: #198754;
  box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

.login-form-section .btn-primary {
  background: var(--me-blue) !important;
  border: 2px solid var(--me-blue) !important;
  color: white !important;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 114, 255, 0.3);
}

.login-form-section .btn-primary:hover {
  background: var(--me-blue-dark) !important;
  border-color: var(--me-blue-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 43, 255, 0.4);
}

.login-form-section .btn-primary:disabled {
  background: #6c757d !important;
  border-color: #6c757d !important;
  color: white !important;
  transform: none;
  box-shadow: none;
  cursor: not-allowed;
}

/* Form validation feedback */
.invalid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: #dc3545;
}

.valid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: #198754;
}

/* Alert animations */
.alert {
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Auth Page Button Styles */
.login-form-section .btn-outline-primary {
  border: 2px solid var(--me-blue) !important;
  color: var(--me-blue) !important;
  background: white !important;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.login-form-section .btn-outline-primary:hover {
  background: var(--me-blue) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 114, 255, 0.3);
}

/* Auth Page Links */
.login-form-section .text-warning {
  color: var(--me-yellow) !important;
  font-weight: 600;
  transition: all 0.3s ease;
}

.login-form-section .text-warning:hover {
  color: #e6c200 !important;
  text-decoration: underline !important;
}

/* Login Responsive */
@media (max-width: 991.98px) {
  .login-hero {
    min-height: 300px;
    border-radius: 20px 20px 0 0;
  }
  .login-form-section {
    border-radius: 0 0 20px 20px;
    min-height: auto;
  }
  .login-hero .display-4 {
    font-size: 2rem;
  }
  .login-hero .lead {
    font-size: 1rem;
  }
  .login-hero .d-flex {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 767.98px) {
  .login-container {
    min-height: auto;
    padding: 1rem 0;
  }
  .login-hero {
    min-height: 250px;
    padding: 2rem 1rem;
  }
  .login-form-section .p-5 {
    padding: 2rem 1.5rem !important;
  }
}

/* Event Section Responsive */
@media (max-width: 991.98px) {
  .event-image-container {
    height: 200px;
  }
  
  .event-card .card-body {
    padding: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .event-image-container {
    height: 180px;
  }
  
  .event-meta {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start !important;
  }
  
  .event-price {
    font-size: 1.1rem;
  }
  
  .event-card .d-flex:last-child {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch !important;
  }
  
  .event-card .btn {
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .event-section {
    padding: 2rem 0;
  }
  
  .event-image-container {
    height: 160px;
  }
  
  .event-card .card-body {
    padding: 1.25rem;
  }
  
  .no-events-placeholder {
    padding: 2rem 1rem;
  }
}

.event-future-section .btn-outline-primary {
  border: 2px solid var(--me-blue) !important;
  color: var(--me-blue) !important;
  background: white !important;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.event-future-section .btn-outline-primary:hover {
  background: var(--me-blue) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 114, 255, 0.3);
}
