:root {
  --hero-bg-image: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=2048&q=95');
}

/* Body background layering */
body {
  font-family: 'Outfit', sans-serif;
  margin: 0;
  background:
    url('https://images.unsplash.com/photo-1526378720496-26d8a7e0a0bc?auto=format&fit=crop&w=1950&q=80') no-repeat center center fixed,
    #f9f9ff;
  background-size: cover;
  color: #333;
  position: relative;
  padding-top: 80px; /* Add padding to prevent content from hiding behind fixed navbar */
}

/* Floating particles background */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(147, 51, 234, 0.6);
  border-radius: 50%;
  animation: float 6s infinite ease-in-out;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

/* Progress bar for page scroll */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, #f43f5e, #facc15, #10b981);
  z-index: 1001;
  transition: width 0.1s ease;
}

/* Fixed Navbar - Enhanced with proper positioning */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgb(74, 21, 117);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 0.8rem 0;
  transition: all 0.3s ease;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.navbar.scrolled {
  background: rgba(74, 21, 117, 0.95);
  backdrop-filter: blur(15px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: #facc15 !important;
  font-family: Tahoma;
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.navbar-brand img {
  width: 45px;
  height: 45px;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: rotate(15deg);
}

/* Custom navbar toggler with apply now button color */
.navbar-toggler {
  border: 2px solid #f43f5e;
  background: #f43f5e;
}

.navbar-toggler:hover {
  background: #be123c;
  border-color: #be123c;
}

.navbar-toggler:focus {
  background: #f43f5e;
  border-color: #f43f5e;
  box-shadow: 0 0 0 0.25rem rgba(244, 63, 94, 0.25);
}

.navbar-toggler-icon {
  filter: invert(1) brightness(1.2);
}

/* Fixed navigation layout */
.navbar-collapse {
  display: none !important;
  align-items: center;
  width: 100%;
}

.navbar-collapse.show {
  display: flex !important;
}

.navbar-nav-center {
  display: flex;
  justify-content: center;
  flex-grow: 1;
  gap: 30px;
  margin: 0;
}

.navbar-nav-right {
  display: flex;
  gap: 15px;
  margin-left: auto;
}

.nav-link {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fcd34d !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
  border-radius: 8px;
  padding: 5px 10px;
  position: relative;
  overflow: hidden;
}

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

.nav-link:hover::before {
  left: 100%;
}

.nav-link:hover {
  background-color: rgb(27, 26, 22);
  color: #fff !important;
  transform: translateY(-2px);
}

.btn-login {
  background: #10b981;
  color: white !important;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
  padding: 6px 20px;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
}

.btn-login::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-login:hover::before {
  width: 300px;
  height: 300px;
}

.btn-login:hover {
  background: #0f766e;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.btn-apply {
  background: #f43f5e;
  color: white !important;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
  padding: 6px 20px;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
}

.btn-apply::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-apply:hover::before {
  width: 300px;
  height: 300px;
}

.btn-apply:hover {
  background: #be123c;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(244, 63, 94, 0.4);
}

/* Hero Section - With Subtle Effects */
.hero {
  height: 100vh;
  position: relative;
  background-image: var(--hero-bg-image);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  color: white;
  overflow: hidden;
  z-index: 1;
  margin-top: -80px; /* Offset the body padding-top for full-height hero */
  padding-top: 80px; /* Add padding-top to account for fixed navbar */
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(45deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1), rgba(59, 130, 246, 0.1)),
    rgba(0, 0, 0, 0.4);
  pointer-events: none;
  z-index: 0;
  animation: subtleShift 12s ease infinite;
}

@keyframes subtleShift {
  0%, 100% {
    background: 
      linear-gradient(45deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1), rgba(59, 130, 246, 0.1)),
      rgba(0, 0, 0, 0.4);
  }
  50% {
    background: 
      linear-gradient(45deg, rgba(236, 72, 153, 0.1), rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1)),
      rgba(0, 0, 0, 0.4);
  }
}

.hero h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 6rem;
  font-weight: 900;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  position: relative;
  z-index: 1;
  animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.hero p {
  font-size: 1.8rem;
  margin-top: 15px;
  max-width: 800px;
  color: #fff;
  font-weight: 600;
  background: 
    linear-gradient(135deg, 
      rgba(20, 184, 166, 0.95) 0%, 
      rgba(59, 130, 246, 0.95) 35%, 
      rgba(147, 51, 234, 0.95) 70%, 
      rgba(236, 72, 153, 0.95) 100%
    );
  padding: 28px 40px;
  border-radius: 25px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  position: relative;
  z-index: 1;
  box-shadow: 
    0 20px 40px rgba(59, 130, 246, 0.3),
    0 8px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.hero p::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.hero p:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 25px 50px rgba(59, 130, 246, 0.4),
    0 15px 25px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero .btn {
  margin-top: 25px;
  padding: 12px 30px;
  font-size: 1.2rem;
  border-radius: 30px;
  box-shadow: 0 10px 20px rgba(255, 105, 180, 0.6);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  background: #f43f5e;
  color: white;
}

.hero .btn:hover {
  box-shadow: 0 15px 40px rgba(255, 20, 147, 0.9);
  background: #be123c;
  transform: translateY(-3px) scale(1.05);
}

/* Statistics counter section */
.stats-section {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.1));
  padding: 60px 0;
  margin: 40px 0;
}

.stat-card {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.stat-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.stat-number {
  font-size: 4rem;
  font-weight: 900;
  color: #9333ea;
  margin-bottom: 10px;
  display: block;
}

.stat-label {
  font-size: 1.2rem;
  color: #666;
  font-weight: 600;
}

/* Modern Impact, Vision, Mission Section */
.impact-vision-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
  padding: 4rem 0 5rem 0;
}
.impact-vision-section .section-title {
  background: linear-gradient(90deg, #6d28d9, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  font-family: 'Poppins', 'Montserrat', 'Outfit', sans-serif;
  letter-spacing: 1px;
}
.impact-vision-section .foundation-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(80, 80, 180, 0.10), 0 1.5px 6px rgba(80, 80, 180, 0.08);
  padding: 2.5rem 2rem 2rem 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  border: none;
}
.impact-vision-section .foundation-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 16px 40px rgba(80, 80, 180, 0.18), 0 2px 8px rgba(80, 80, 180, 0.10);
}
.impact-vision-section .card-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}
.impact-vision-section .card-icon {
  background: linear-gradient(135deg, #6d28d9 0%, #38bdf8 100%);
  color: #fff;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 4px 16px rgba(80, 80, 180, 0.10);
}
.impact-vision-section .card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #312e81;
  margin-bottom: 1rem;
  font-family: 'Montserrat', 'Outfit', sans-serif;
}
.impact-vision-section .card-text {
  color: #475569;
  font-size: 1.08rem;
  margin-bottom: 1.5rem;
}
.impact-vision-section .impact-stats, .impact-vision-section .vision-highlights, .impact-vision-section .mission-pillars {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.impact-vision-section .stat-item, .impact-vision-section .highlight-item, .impact-vision-section .pillar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f1f5f9;
  border-radius: 1rem;
  padding: 0.75rem 1.2rem;
  min-width: 110px;
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 8px rgba(80, 80, 180, 0.06);
}
.impact-vision-section .stat-number {
  font-size: 1.4rem;
  font-weight: 700;
  color: #6d28d9;
}
.impact-vision-section .stat-label {
  font-size: 0.95rem;
  color: #64748b;
}
.impact-vision-section .highlight-item i, .impact-vision-section .pillar-item i {
  color: #38bdf8;
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}
.impact-vision-section .highlight-item span, .impact-vision-section .pillar-item span {
  color: #312e81;
  font-size: 1rem;
  font-weight: 500;
}
.impact-vision-section .mission-pillars {
  gap: 1rem;
}

/* Login Button Modern Style */
.btn-submit, .btn-login {
  background: linear-gradient(90deg, #38bdf8 0%, #6d28d9 100%);
  color: #fff;
  border: none;
  font-weight: 600;
  font-family: 'Montserrat', 'Outfit', sans-serif;
  border-radius: 2rem;
  padding: 0.7rem 2.2rem;
  box-shadow: 0 2px 8px rgba(80, 80, 180, 0.10);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn-submit:hover, .btn-login:hover {
  background: linear-gradient(90deg, #6d28d9 0%, #38bdf8 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 18px rgba(80, 80, 180, 0.18);
}

/* BANDEF Brand Font */
.navbar-brand {
  font-family: 'Pacifico', 'Rubik Moonrocks', 'Montserrat', cursive, sans-serif !important;
  font-size: 2rem;
  letter-spacing: 1.5px;
  color: #6d28d9 !important;
  text-shadow: 0 2px 8px rgba(80, 80, 180, 0.08);
  display: flex;
  align-items: center;
}

.navbar-brand img {
  margin-right: 10px;
}

/* Contact form enhancements */
.form-control {
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.9);
}

.form-control:focus {
  border-color: #9333ea;
  box-shadow: 0 0 0 0.2rem rgba(147, 51, 234, 0.25);
  transform: translateY(-2px);
}

/* Toast notification styles */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1050;
}

.toast {
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Loading spinner */
.spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #9333ea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #9333ea;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(147, 51, 234, 0.4);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #7c3aed;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(147, 51, 234, 0.6);
}

/* Footer */
footer {
  background: #3b0764;
  color: white;
  padding: 50px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f43f5e, #facc15, #10b981, #9333ea);
}

.footer-brand {
  font-size: 1.6rem;
  font-weight: 700;
  color: #facc15;
}

.footer-links a {
  color: #c4b5fd;
  text-decoration: none;
  display: inline-block;
  margin: 0 12px 10px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: #facc15;
  transition: width 0.3s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-links a:hover {
  color: #facc15;
  transform: translateY(-2px);
}

.social-icons {
  margin-top: 20px;
}

.social-icons i {
  font-size: 1.8rem;
  margin: 0 10px;
  padding: 12px;
  background: #facc15;
  border-radius: 50%;
  color: #3b0764;
  box-shadow: 0 4px 10px rgba(250,204,21,0.7);
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  width: 48px;
  height: 48px;
  line-height: 24px;
  text-align: center;
}

.social-icons i:hover {
  background: #eab308;
  transform: scale(1.15) rotate(15deg);
  color: #fff;
  box-shadow: 0 8px 20px rgba(250,204,21,0.8);
}

/* Responsive tweaks */
@media (max-width: 991px) {
  body {
    padding-top: 70px; /* Reduce padding for smaller screens */
  }
  
  .hero {
    margin-top: -70px;
    padding-top: 70px;
  }
  
  .navbar-collapse {
    flex-direction: column !important;
    align-items: stretch;
  }
  
  .navbar-nav-center {
    justify-content: center;
    margin: 15px 0;
    gap: 20px;
  }
  
  .navbar-nav-right {
    justify-content: center;
    margin: 0;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }
  
  .hero {
    margin-top: -60px;
    padding-top: 60px;
  }
  
  .hero h1 {
    font-size: 3.5rem;
  }
  
  #impact-vision {
    margin: 30px 10px;
    padding: 40px 20px;
  }
  
  .nav-link {
    font-size: 1rem;
  }
  
  .navbar-brand {
    font-size: 1.4rem;
  }
  
  .stat-number {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 60px;
  }
  
  .hero {
    margin-top: -60px;
    padding-top: 60px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
    line-height: 1.1;
  }
  
  .nav-link {
    font-size: 1rem;
  }
  
  .btn-login, .btn-apply {
    font-size: 1rem;
    padding: 5px 18px;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
}

.btn-login:focus, .btn-apply:focus, .nav-link:focus {
  outline: 3px solid #f59e0b;
  outline-offset: 3px;
  box-shadow: none;
}

/* Gallery Section Modern Styles */
.gallery-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}
.gallery-item {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  cursor: pointer;
  position: relative;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(6px) saturate(120%);
  border: 1px solid rgba(255,255,255,0.18);
}
.gallery-item:hover {
  transform: translateY(-10px) scale(1.05) rotate(-1deg);
  box-shadow: 0 16px 48px 0 rgba(31, 38, 135, 0.25);
  background: rgba(255,255,255,0.45);
}
.gallery-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 1.5rem 1.5rem 0 0;
  transition: filter 0.4s, transform 0.4s, opacity 0.4s;
  box-shadow: 0 4px 24px 0 rgba(31, 38, 135, 0.10);
}
.gallery-item:hover .gallery-img {
  filter: brightness(1.15) saturate(1.3) contrast(1.1);
  transform: scale(1.07) rotate(1deg);
}
.gallery-img.gallery-fade-out {
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(.4,0,.2,1);
}
.gallery-img.gallery-fade-in {
  opacity: 1;
  transition: opacity 0.4s cubic-bezier(.4,0,.2,1);
}
.gallery-caption {
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0.1) 100%);
  border-radius: 0 0 1.5rem 1.5rem;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
/* Main page upload gallery button */
.upload-gallery-btn-main {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.35rem;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 2.5rem;
  background: linear-gradient(90deg, #f43f5e 0%, #06b6d4 100%);
  color: #fff;
  box-shadow: 0 6px 32px 0 rgba(244,63,94,0.15);
  border: none;
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}
.upload-gallery-btn-main:hover, .upload-gallery-btn-main:focus {
  background: linear-gradient(90deg, #06b6d4 0%, #f43f5e 100%);
  color: #fff;
  box-shadow: 0 12px 40px 0 rgba(6,182,212,0.18);
  transform: translateY(-2px) scale(1.05);
}
/* Modern modal for upload */
.modern-modal {
  border-radius: 2rem;
  box-shadow: 0 8px 48px 0 rgba(31, 38, 135, 0.18);
  background: #fff;
  overflow: hidden;
  animation: fadeInDown 0.7s cubic-bezier(.4,0,.2,1);
}
.modern-modal .modal-header {
  border-bottom: none;
  padding-top: 2rem;
  padding-bottom: 0.5rem;
}
.modern-modal .modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0ea5e9;
}
.modern-modal .modal-body {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.modern-modal .modal-footer {
  border-top: none;
  padding-bottom: 2rem;
  padding-top: 0.5rem;
}
.btn-gradient {
  background: linear-gradient(90deg, #06b6d4 0%, #f43f5e 100%);
  color: #fff;
  border: none;
  font-weight: 600;
  transition: background 0.3s, box-shadow 0.3s;
}
.btn-gradient:hover, .btn-gradient:focus {
  background: linear-gradient(90deg, #f43f5e 0%, #06b6d4 100%);
  color: #fff;
  box-shadow: 0 8px 32px 0 rgba(244,63,94,0.18);
}
/* Beautiful alert messages */
.custom-alert {
  border-radius: 1.2rem;
  font-size: 1.1rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 24px 0 rgba(99,102,241,0.10);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: fadeInDown 0.7s cubic-bezier(.4,0,.2,1);
}
.custom-alert .alert-icon {
  font-size: 1.7rem;
  flex-shrink: 0;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 991px) {
  .gallery-img { height: 200px; }
}
@media (max-width: 767px) {
  .gallery-img { height: 150px; }
}
/* Add Admin button */
.add-admin-btn-main {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.35rem;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 2.5rem;
  background: linear-gradient(90deg, #8b5cf6 0%, #06b6d4 100%);
  color: #fff;
  box-shadow: 0 6px 32px 0 rgba(139,92,246,0.15);
  border: none;
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}
.add-admin-btn-main:hover, .add-admin-btn-main:focus {
  background: linear-gradient(90deg, #06b6d4 0%, #8b5cf6 100%);
  color: #fff;
  box-shadow: 0 12px 40px 0 rgba(139,92,246,0.18);
  transform: translateY(-2px) scale(1.05);
}
/* Upload area for drag and drop */
.upload-area {
  border: 2px dashed #cbd5e1;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  background: #f8fafc;
  transition: border-color 0.3s, background-color 0.3s;
  cursor: pointer;
  position: relative;
}
.upload-area:hover, .upload-area.dragover {
  border-color: #06b6d4;
  background: #f0f9ff;
}
.upload-area-content {
  pointer-events: none;
}
.upload-area input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
/* Image preview styling */
.image-preview-item {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.image-preview-item img {
  width: 100%;
  height: 80px;
  object-fit: cover;
}
.image-preview-item .remove-preview {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(239,68,68,0.9);
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-preview-item .remove-preview:hover {
  background: rgba(239,68,68,1);
}
.selected-badge {
    background: #7c3aed;
    color: #fff;
    border-radius: 12px;
    padding: 4px 12px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.95em;
    box-shadow: 0 2px 8px rgba(124,58,237,0.12);
}