/* @import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap"); */
/* ============================================
   CUSTOM STYLES FOR KAWU MEDIA GROUP
   ============================================ */
@font-face {
  font-family: "SF Pro";
  src: url("../fonts/SFPro.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --primary-green: #1a472a;
  --secondary-green: #2d5a27;
  --light-green: #4a8c5c;
  --gold: #ffc107;
  --dark-gold: #e6a800;
  --light-bg: #f8f9fa;
  --font-primary: "Trebuchet MS";
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.15);
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============================================
   GLOBAL STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-style: normal;
  /* font-size: large; */
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: #333;
  line-height: 1.8;
  background: #ffffff;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  color: var(--primary-green);
}

/* ============================================
   SECTION TAGS
   ============================================ */
.section-tag {
  display: inline-block;
  background: linear-gradient(
    135deg,
    rgba(26, 71, 42, 0.08),
    rgba(26, 71, 42, 0.02)
  );
  color: var(--primary-green);
  padding: 4px 20px;
  border-radius: 50px;
  font-size: 13px;
  /* font-weight: 600; */
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
  border: 1px solid rgba(26, 71, 42, 0.1);
  position: relative;
  animation: fadeInUp 0.6s ease-out;
}

/* ============================================
   TOP BAR STYLES
   ============================================ */
/* ============================================
   TOP BAR - RESPONSIVE
   ============================================ */
.top-bar {
  background: var(--primary-green);
  padding: 6px 0;
  border-bottom: 3px solid var(--gold);
  font-size: 13px;
  position: relative;
  overflow: hidden;
}

.top-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 193, 7, 0.05),
    transparent
  );
  animation: shimmer 4s infinite;
  pointer-events: none;
}

@keyframes shimmer {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(50%);
  }
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 400;
  transition: all 0.3s ease;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.top-link i {
  font-size: 12px;
  color: var(--gold);
}

.top-link .top-link-text {
  white-space: nowrap;
}

.location-link span {
  font-weight: 500;
  color: #fff;
}

.top-link:hover {
  color: var(--gold);
}

.top-link:hover i {
  color: var(--gold);
}

.top-divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 12px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-social-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 500;
  margin-right: 4px;
}

.social-link {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  font-size: 13px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
}

.social-link:hover {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* ============================================
   NAVBAR - DESKTOP + MOBILE DRAWER
   ============================================ */

/* Base Navbar */
.navbar {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 15px 0;
  background: #ffffff !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  z-index: 1030;
  position: relative;
}

/* Sticky state */
.navbar.navbar-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.navbar.navbar-sticky .navbar-brand img {
  height: 38px;
}

.navbar.navbar-sticky .nav-link {
  padding: 6px 14px !important;
  font-size: 14px;
}

.navbar.navbar-sticky .btn-sm,
.navbar.navbar-sticky .user-dropdown-btn {
  padding: 4px 12px;
  font-size: 12px;
}

/* Navbar Spacer (prevents jump) */
.navbar-placeholder {
  display: none;
}
.navbar-placeholder.active {
  display: block;
  height: 76px;
}

/* Brand */
.navbar-brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

/* Nav Links */
.navbar-nav {
  gap: 2px;
}

.nav-link {
  font-weight: 600;
  color: #333 !important;
  transition: all 0.3s ease;
  padding: 6px 14px !important;
  border-radius: 6px;
  font-size: 14px;
  letter-spacing: 0.3px;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary-green) !important;
  background: rgba(26, 71, 42, 0.05);
}

.nav-link.active {
  color: var(--primary-green) !important;
  background: rgba(26, 71, 42, 0.08);
  font-weight: 700;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--gold));
  border-radius: 2px;
}

/* Buttons */
.btn-sm {
  padding: 6px 20px;
  font-size: 13px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.login-btn {
  border-width: 2px;
}
.login-btn:hover {
  background: var(--primary-green);
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 71, 42, 0.2);
}

.register-btn {
  background: var(--primary-green);
  border-color: var(--primary-green);
}
.register-btn:hover {
  background: var(--secondary-green);
  border-color: var(--secondary-green);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 71, 42, 0.3);
}

.user-dropdown-btn {
  background: var(--primary-green);
  border-color: var(--primary-green);
  padding: 5px 14px;
  font-size: 13px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.user-dropdown-btn:hover {
  background: var(--secondary-green);
  border-color: var(--secondary-green);
}
.user-dropdown-btn .user-name {
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Dropdowns */
.dropdown-menu {
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 6px 0;
  margin-top: 8px;
  min-width: 180px;
}
.dropdown-item {
  font-size: 13px;
  padding: 8px 20px;
  font-weight: 500;
  color: #333;
  transition: all 0.3s ease;
}
.dropdown-item i {
  width: 20px;
  margin-right: 10px;
  color: var(--primary-green);
}
.dropdown-item:hover {
  background: rgba(26, 71, 42, 0.05);
  color: var(--primary-green);
}
.dropdown-item.text-danger i {
  color: #dc3545;
}

/* Navbar Actions Container */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-actions .cart-link {
  padding: 4px 8px !important;
}

/* ============================================
   MOBILE TOGGLE BUTTON
   ============================================ */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  position: relative;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 10px;
  transition: all 0.3s ease;
  z-index: 1050;
}

.mobile-menu-toggle:hover {
  background: rgba(26, 71, 42, 0.05);
}

.mobile-menu-toggle .toggler-icon {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--primary-green);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover .toggler-icon {
  background: var(--gold);
}

/* Show toggle on mobile/tablet only */
@media (max-width: 991.98px) {
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ============================================
   MOBILE DRAWER - SLIDE FROM LEFT
   ============================================ */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1040;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.15);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mobile-drawer.active {
  transform: translateX(0);
}

/* Drawer Header */
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  background: linear-gradient(
    135deg,
    var(--primary-green) 0%,
    var(--secondary-green) 100%
  );
  color: #fff;
  border-bottom: 3px solid var(--gold);
  flex-shrink: 0;
}

.drawer-brand {
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.drawer-brand img {
  height: 32px;
}

.drawer-brand .text-success {
  color: #fff !important;
}

.drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  padding: 0;
  flex-shrink: 0;
}

.drawer-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg) scale(1.05);
  border-color: var(--gold);
}

/* Drawer Body - Scrollable */
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(26, 71, 42, 0.3) transparent;
}

.drawer-body::-webkit-scrollbar {
  width: 5px;
}

.drawer-body::-webkit-scrollbar-track {
  background: transparent;
}

.drawer-body::-webkit-scrollbar-thumb {
  background: rgba(26, 71, 42, 0.2);
  border-radius: 3px;
}

/* Drawer User Section */
.drawer-user {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  margin: 0 16px 16px;
  background: linear-gradient(
    135deg,
    rgba(26, 71, 42, 0.06),
    rgba(255, 193, 7, 0.04)
  );
  border: 1px solid rgba(26, 71, 42, 0.1);
  border-radius: 16px;
}

.drawer-user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--secondary-green)
  );
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  border: 3px solid var(--gold);
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(26, 71, 42, 0.2);
}

.drawer-user-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.drawer-user-name {
  font-weight: 700;
  color: #1a2a1a;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-user-role {
  font-size: 11px;
  color: var(--primary-green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Drawer Navigation */
.drawer-nav {
  padding: 0 16px;
  margin-bottom: 16px;
}

.drawer-nav-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0 8px;
  margin-bottom: 8px;
}

.drawer-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin-bottom: 2px;
  position: relative;
}

.drawer-nav-link i {
  width: 22px;
  text-align: center;
  font-size: 16px;
  color: var(--primary-green);
  transition: all 0.3s ease;
}

.drawer-nav-link:hover {
  background: linear-gradient(
    135deg,
    rgba(26, 71, 42, 0.06),
    rgba(255, 193, 7, 0.03)
  );
  color: var(--primary-green);
  transform: translateX(6px);
}

.drawer-nav-link:hover i {
  transform: scale(1.15) rotate(-5deg);
  color: var(--gold);
}

.drawer-nav-link.active {
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--secondary-green)
  );
  color: #fff;
  box-shadow: 0 6px 20px rgba(26, 71, 42, 0.25);
}

.drawer-nav-link.active i {
  color: #fff;
}

.drawer-nav-link.active:hover {
  transform: translateX(0);
}

.drawer-nav-link.donate-link {
  color: #dc3545;
}

.drawer-nav-link.donate-link i {
  color: #dc3545;
}

.drawer-nav-link.donate-link:hover {
  background: linear-gradient(
    135deg,
    rgba(220, 53, 69, 0.06),
    rgba(255, 193, 7, 0.03)
  );
  color: #dc3545;
}

/* Drawer Badges */
.drawer-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.drawer-badge.live {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: #fff;
  animation: pulse 2s ease-in-out infinite;
}

.drawer-badge.cart {
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  color: #1a2a1a;
}

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

/* Drawer Actions */
.drawer-actions {
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid #f0f0f0;
  padding-top: 16px;
  margin-top: 8px;
}

.drawer-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  border: 2px solid transparent;
}

.drawer-btn i {
  font-size: 15px;
}

.drawer-btn-outline {
  background: #fff;
  color: var(--primary-green);
  border-color: rgba(26, 71, 42, 0.15);
}

.drawer-btn-outline:hover {
  background: linear-gradient(
    135deg,
    rgba(26, 71, 42, 0.05),
    rgba(255, 193, 7, 0.03)
  );
  border-color: var(--primary-green);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 71, 42, 0.1);
}

.drawer-btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--secondary-green)
  );
  color: #fff;
  box-shadow: 0 6px 20px rgba(26, 71, 42, 0.2);
}

.drawer-btn-primary:hover {
  background: linear-gradient(
    135deg,
    var(--secondary-green),
    var(--primary-green)
  );
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(26, 71, 42, 0.3);
}

.drawer-btn-danger {
  background: #fff;
  color: #dc3545;
  border-color: rgba(220, 53, 69, 0.15);
}

.drawer-btn-danger:hover {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: #fff;
  border-color: #dc3545;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220, 53, 69, 0.25);
}

/* Drawer Social */
.drawer-social {
  padding: 0 16px 20px;
  border-top: 1px solid #f0f0f0;
  padding-top: 16px;
  margin-top: 8px;
}

.drawer-social-links {
  display: flex;
  gap: 10px;
  padding: 0 8px;
}

.drawer-social-links a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(26, 71, 42, 0.06);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  font-size: 16px;
  border: 2px solid transparent;
}

.drawer-social-links a:hover {
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--secondary-green)
  );
  color: #fff;
  transform: translateY(-4px) rotate(-8deg);
  box-shadow: 0 8px 25px rgba(26, 71, 42, 0.3);
  border-color: var(--gold);
}

/* ============================================
   BODY LOCK WHEN DRAWER OPEN
   ============================================ */
body.drawer-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* ============================================
   HIDE MOBILE DRAWER ON DESKTOP
   ============================================ */
@media (min-width: 992px) {
  .mobile-drawer,
  .mobile-drawer-overlay,
  .mobile-menu-toggle {
    display: none !important;
  }

  /* Ensure desktop nav is visible */
  .navbar-collapse.d-lg-flex {
    display: flex !important;
  }
}

/* ============================================
   TABLET SPECIFIC
   ============================================ */
@media (min-width: 768px) and (max-width: 991.98px) {
  .mobile-drawer {
    width: 360px;
  }
}

/* ============================================
   SMALL PHONES
   ============================================ */
@media (max-width: 400px) {
  .mobile-drawer {
    width: 290px;
  }

  .drawer-header {
    padding: 16px 16px 12px;
  }

  .drawer-nav-link {
    padding: 10px 12px;
    font-size: 13px;
  }

  .drawer-btn {
    padding: 10px 14px;
    font-size: 13px;
  }
}
/* end mobile drawer */
/* ============================================
   HERO CAROUSEL STYLES
   ============================================ */
.hero-carousel-section {
  position: relative;
  overflow: hidden;
}

.carousel-slide {
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.carousel-slide::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to top, #ffffff, transparent);
}

.carousel-slide::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-30px, -20px) scale(1.1);
  }
  66% {
    transform: translate(30px, 20px) scale(0.9);
  }
}

.slide-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out;
}

.slide-badge {
  display: inline-block;
  padding: 6px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.carousel-item .display-3 {
  animation: slideInLeft 0.8s ease-out;
}

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

.slide-image-wrapper {
  position: relative;
  z-index: 2;
  animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Floating Badge */
.floating-badge {
  bottom: 20px;
  right: -20px;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  padding: 12px 24px;
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Sound Waves Animation */
.sound-waves {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 20px;
}

.sound-waves span {
  display: inline-block;
  width: 8px;
  border-radius: 4px;
  animation: sound-wave 1.2s ease-in-out infinite;
}

.sound-waves span:nth-child(1) {
  height: 20px;
  background: #ff6b6b;
}
.sound-waves span:nth-child(2) {
  height: 30px;
  background: #ff4444;
  animation-delay: 0.2s;
}
.sound-waves span:nth-child(3) {
  height: 40px;
  background: #ff2222;
  animation-delay: 0.4s;
}
.sound-waves span:nth-child(4) {
  height: 30px;
  background: #ff4444;
  animation-delay: 0.6s;
}
.sound-waves span:nth-child(5) {
  height: 20px;
  background: #ff6b6b;
  animation-delay: 0.8s;
}

@keyframes sound-wave {
  0%,
  100% {
    transform: scaleY(0.5);
  }
  50% {
    transform: scaleY(1.2);
  }
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  margin: 0 20px;
  opacity: 0.7;
  transition: var(--transition-bounce);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.1);
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  margin: 0 6px;
  transition: var(--transition-smooth);
}

.carousel-indicators button.active {
  background: var(--gold);
  border-color: var(--gold);
  width: 30px;
  border-radius: 10px;
}

/* ============================================
   OUR OBJECTIVES SECTION - RICH DESIGN
   ============================================ */
.objectives-section {
  background: linear-gradient(
    135deg,
    #0d1b0d 0%,
    #1a2a1a 25%,
    #1a472a 50%,
    #2d5a27 75%,
    #3d7a3a 100%
  );
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

/* Animated Background Pattern */
.objectives-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(
      circle at 20% 30%,
      rgba(255, 193, 7, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 50%
    ),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.02) 2px,
      rgba(255, 255, 255, 0.02) 4px
    );
  pointer-events: none;
}

/* Decorative Orbs */
.objectives-section::after {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(255, 193, 7, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: floatOrb 25s ease-in-out infinite;
  filter: blur(40px);
}

@keyframes floatOrb {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-50px, 30px) scale(1.1);
  }
  66% {
    transform: translate(30px, -40px) scale(0.95);
  }
}

/* Additional Decorative Orb */
.objectives-section .orb-accent {
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(26, 71, 42, 0.4) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: floatOrb 20s ease-in-out infinite reverse;
  filter: blur(30px);
  pointer-events: none;
}

/* ============================================
   SECTION HEADER
   ============================================ */
.objectives-section .section-tag {
  display: inline-block;
  background: linear-gradient(
    135deg,
    rgba(255, 193, 7, 0.2),
    rgba(255, 193, 7, 0.1)
  );
  color: #ffc107;
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 193, 7, 0.3);
  backdrop-filter: blur(10px);
  animation: pulseGlow 3s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 193, 7, 0.4);
    border-color: rgba(255, 193, 7, 0.6);
  }
}

.objectives-title {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  position: relative;
  display: inline-block;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.objectives-title span {
  background: linear-gradient(135deg, #ffffff 0%, #ffc107 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shimmerText 4s linear infinite;
}

@keyframes shimmerText {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

.objectives-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, transparent, #ffc107, transparent);
  border-radius: 3px;
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.6);
  animation: expandWidth 1.2s ease-out;
}

@keyframes expandWidth {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 100px;
    opacity: 1;
  }
}

.objectives-subtitle {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 16px;
  max-width: 700px;
  margin: 25px auto 0;
  line-height: 1.7;
  font-weight: 300;
  position: relative;
  z-index: 2;
}

/* ============================================
   LANGUAGE TOGGLE - ENHANCED
   ============================================ */
.language-toggle-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  position: relative;
  z-index: 3;
}

.language-toggle {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 193, 7, 0.4);
  border-radius: 60px;
  padding: 10px 24px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.language-toggle::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 193, 7, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.language-toggle:hover::before {
  left: 100%;
}

.language-toggle:hover {
  border-color: #ffc107;
  box-shadow:
    0 15px 50px rgba(255, 193, 7, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-3px) scale(1.02);
}

.toggle-track {
  position: relative;
  width: 80px;
  height: 38px;
  background: linear-gradient(135deg, #1a472a, #0d1b0d);
  border-radius: 50px;
  display: flex;
  align-items: center;
  padding: 4px;
  transition: all 0.3s ease;
  box-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 193, 7, 0.2);
}

.toggle-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #ffc107, #e6a800);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow:
    0 4px 15px rgba(255, 193, 7, 0.5),
    0 2px 5px rgba(0, 0, 0, 0.2);
}

.toggle-thumb .lang-label-en,
.toggle-thumb .lang-label-lg {
  position: absolute;
  font-size: 11px;
  font-weight: 800;
  transition: opacity 0.3s ease;
  color: #1a472a;
  letter-spacing: 0.5px;
}

.toggle-thumb .lang-label-en {
  opacity: 1;
}

.toggle-thumb .lang-label-lg {
  opacity: 0;
}

.language-toggle.luganda-active .toggle-thumb {
  left: 46px;
  background: linear-gradient(135deg, #ffc107, #e6a800);
}

.language-toggle.luganda-active .toggle-thumb .lang-label-en {
  opacity: 0;
}

.language-toggle.luganda-active .toggle-thumb .lang-label-lg {
  opacity: 1;
}

.toggle-text {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.toggle-text .lang-lg {
  display: none;
}

.language-toggle.luganda-active .toggle-text .lang-en {
  display: none;
}

.language-toggle.luganda-active .toggle-text .lang-lg {
  display: inline;
}

/* ============================================
   OBJECTIVES GRID & CARDS - RICH DESIGN
   ============================================ */
.objectives-container {
  position: relative;
  min-height: 400px;
  z-index: 2;
}

.objectives-grid {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.objectives-grid.active {
  display: grid;
  opacity: 1;
  transform: translateY(0);
}

/* Objective Card - Rich Glassmorphism Design */
.objective-card {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.04)
  );
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px 22px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  cursor: default;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Card Top Border Glow */
.objective-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffc107, transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.objective-card:hover::before {
  opacity: 1;
}

/* Card Radial Glow on Hover */
.objective-card::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: radial-gradient(
    circle,
    rgba(255, 193, 7, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  transition: all 0.6s ease;
  pointer-events: none;
}

.objective-card:hover::after {
  width: 400px;
  height: 400px;
}

.objective-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(255, 193, 7, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 193, 7, 0.4);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.06)
  );
}

/* Objective Number - Big & Bold */
.objective-number {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 48px;
  font-weight: 900;
  font-family: "Playfair Display", serif;
  background: linear-gradient(
    135deg,
    rgba(255, 193, 7, 0.25),
    rgba(255, 255, 255, 0.05)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.5s ease;
  line-height: 1;
  letter-spacing: -2px;
}

.objective-card:hover .objective-number {
  background: linear-gradient(
    135deg,
    rgba(255, 193, 7, 0.6),
    rgba(255, 193, 7, 0.2)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: scale(1.15) rotate(-5deg);
  letter-spacing: 0;
}

/* Objective Icon - Vibrant Circle */
.objective-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    rgba(255, 193, 7, 0.25),
    rgba(26, 71, 42, 0.3)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  z-index: 2;
  border: 2px solid rgba(255, 193, 7, 0.3);
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.2),
    inset 0 2px 10px rgba(255, 255, 255, 0.1);
}

.objective-icon::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #ffc107, #1a472a, #ffc107);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
  animation: rotateConic 3s linear infinite;
}

@keyframes rotateConic {
  to {
    transform: rotate(360deg);
  }
}

.objective-card:hover .objective-icon::before {
  opacity: 0.5;
}

.objective-card:hover .objective-icon {
  background: linear-gradient(135deg, #ffc107, #e6a800);
  transform: scale(1.15) rotate(-8deg);
  box-shadow:
    0 15px 40px rgba(255, 193, 7, 0.5),
    inset 0 2px 10px rgba(255, 255, 255, 0.3);
  border-color: #ffc107;
}

.objective-icon i {
  font-size: 28px;
  color: #ffc107;
  transition: all 0.5s ease;
  text-shadow: 0 2px 10px rgba(255, 193, 7, 0.5);
}

.objective-card:hover .objective-icon i {
  color: #1a472a;
  transform: scale(1.1);
  text-shadow: none;
}

/* Objective Content - Better Typography */
.objective-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
}

.objective-content p {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  transition: all 0.3s ease;
  font-weight: 400;
  letter-spacing: 0.2px;
  text-align: center;
}

.objective-card:hover .objective-content p {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Objective Glow Bottom Bar */
.objective-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ffc107, #1a472a, #ffc107);
  background-size: 200% auto;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
  border-radius: 0 0 20px 20px;
}

.objective-card:hover .objective-glow {
  transform: scaleX(1);
  animation: gradientMoveGlow 2s linear infinite;
}

@keyframes gradientMoveGlow {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* ============================================
   BOTTOM CTA - ENHANCED
   ============================================ */
.objectives-section .btn-success {
  background: linear-gradient(135deg, #ffc107, #e6a800);
  color: #1a472a !important;
  border: none;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  box-shadow:
    0 10px 30px rgba(255, 193, 7, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  overflow: hidden;
}

.objectives-section .btn-success::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.6s ease;
}

.objectives-section .btn-success:hover::before {
  left: 100%;
}

.objectives-section .btn-success:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow:
    0 20px 50px rgba(255, 193, 7, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  color: #1a472a !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1199.98px) {
  .objectives-title {
    font-size: 2.5rem;
  }

  .objectives-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }

  .objective-card {
    padding: 25px 18px;
    min-height: 240px;
  }

  .objective-number {
    font-size: 40px;
  }

  .objective-icon {
    width: 60px;
    height: 60px;
  }

  .objective-icon i {
    font-size: 24px;
  }

  .objective-content p {
    font-size: 12.5px;
  }
}

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

  .objectives-title {
    font-size: 2.2rem;
  }

  .objectives-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .objective-card {
    min-height: 220px;
  }

  .objective-content p {
    font-size: 13px;
  }
}

@media (max-width: 767.98px) {
  .objectives-section {
    padding: 50px 0;
  }

  .objectives-title {
    font-size: 1.8rem;
  }

  .objectives-subtitle {
    font-size: 14px;
  }

  .objectives-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .objective-card {
    padding: 20px 14px;
    min-height: 210px;
    border-radius: 16px;
  }

  .objective-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
  }

  .objective-icon i {
    font-size: 20px;
  }

  .objective-number {
    font-size: 32px;
    top: 12px;
    right: 14px;
  }

  .objective-content p {
    font-size: 11.5px;
    line-height: 1.55;
  }

  .language-toggle {
    padding: 8px 18px;
    gap: 14px;
  }

  .toggle-text {
    font-size: 12px;
  }

  .toggle-track {
    width: 70px;
    height: 34px;
  }

  .toggle-thumb {
    width: 26px;
    height: 26px;
  }

  .language-toggle.luganda-active .toggle-thumb {
    left: 40px;
  }
}

@media (max-width: 576px) {
  .objectives-section {
    padding: 40px 0;
  }

  .objectives-title {
    font-size: 1.5rem;
  }

  .objectives-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .objective-card {
    padding: 15px 10px;
    min-height: 190px;
    border-radius: 14px;
  }

  .objective-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
  }

  .objective-icon i {
    font-size: 17px;
  }

  .objective-number {
    font-size: 26px;
    top: 10px;
    right: 12px;
  }

  .objective-content p {
    font-size: 10.5px;
    line-height: 1.5;
  }

  .language-toggle {
    padding: 6px 14px;
    gap: 10px;
  }

  .toggle-track {
    width: 60px;
    height: 30px;
  }

  .toggle-thumb {
    width: 22px;
    height: 22px;
  }

  .toggle-thumb .lang-label-en,
  .toggle-thumb .lang-label-lg {
    font-size: 9px;
  }

  .language-toggle.luganda-active .toggle-thumb {
    left: 34px;
  }

  .toggle-text {
    font-size: 11px;
  }

  .objectives-section .btn-success {
    padding: 12px 30px;
    font-size: 13px;
  }
}
/* end our objectives */

/* ============================================
   CULTURAL HIGHLIGHTS - RICH ENHANCED DESIGN
   ============================================ */
.cultural-highlights-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.cultural-highlights-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(26, 71, 42, 0.06) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: floatOrb 20s ease-in-out infinite;
  filter: blur(40px);
}

.hover-card {
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 20px !important;
  background: #fff;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #f0f0f0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hover-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-green),
    var(--gold),
    var(--primary-green)
  );
  background-size: 200% auto;
  opacity: 0;
  transition: all 0.5s ease;
}

.hover-card:hover::before {
  opacity: 1;
  animation: gradientMove 2s linear infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

.hover-card::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: radial-gradient(
    circle,
    rgba(26, 71, 42, 0.05) 0%,
    transparent 70%
  );
  border-radius: 50%;
  transition: all 0.6s ease;
  pointer-events: none;
}

.hover-card:hover::after {
  width: 400px;
  height: 400px;
}

.hover-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(26, 71, 42, 0.12);
  border-color: rgba(26, 71, 42, 0.15);
}

.hover-card .card-body {
  padding: 30px 25px;
  transition: all 0.5s ease;
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hover-card:hover .card-body {
  transform: translateY(-5px);
}

.hover-card .icon-circle {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  background: linear-gradient(
    135deg,
    rgba(26, 71, 42, 0.08),
    rgba(255, 193, 7, 0.08)
  ) !important;
  border: 2px solid rgba(26, 71, 42, 0.1);
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  margin: 0 auto 20px !important;
  position: relative;
}

.hover-card .icon-circle::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--primary-green),
    var(--gold),
    var(--primary-green)
  );
  opacity: 0;
  z-index: -1;
  animation: rotateConic 3s linear infinite;
  transition: opacity 0.5s ease;
}

.hover-card:hover .icon-circle::before {
  opacity: 0.4;
}

@keyframes rotateConic {
  to {
    transform: rotate(360deg);
  }
}

.hover-card .icon-circle i {
  font-size: 40px;
  color: var(--primary-green);
  transition: all 0.5s ease;
  line-height: 1;
}

.hover-card:hover .icon-circle {
  transform: scale(1.12) rotate(-8deg);
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--secondary-green)
  ) !important;
  border-color: var(--gold);
  box-shadow: 0 15px 40px rgba(26, 71, 42, 0.3);
}

.hover-card:hover .icon-circle i {
  color: #fff;
  transform: scale(1.1);
}

.hover-card .card-title {
  transition: all 0.3s ease;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a2a1a;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 12px;
}

.hover-card .card-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--gold));
  border-radius: 2px;
  transition: width 0.4s ease;
}

.hover-card:hover .card-title::after {
  width: 60px;
}

.hover-card:hover .card-title {
  color: var(--primary-green);
}

.hover-card .card-text {
  color: #6c757d;
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.hover-card .btn {
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-radius: 50px !important;
  padding: 8px 24px;
  font-weight: 600;
  font-size: 13px;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

.hover-card .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

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

.hover-card:hover .btn {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(26, 71, 42, 0.25);
}

/* ============================================
   WHO WE ARE & MISSION - ENHANCED
   ============================================ */
.who-we-are {
  padding: 20px 0;
  animation: fadeInLeft 0.8s ease-out;
  position: relative;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.who-we-are h2 {
  font-size: 2.5rem;
  font-weight: 900;
  position: relative;
  display: inline-block;
  color: #1a2a1a;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.who-we-are h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 80px;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--primary-green),
    var(--gold),
    var(--primary-green)
  );
  background-size: 200% auto;
  border-radius: 3px;
  animation:
    expandWidth 1.2s ease-out,
    gradientMove 3s linear infinite;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

@keyframes expandWidth {
  from {
    width: 0;
  }
  to {
    width: 80px;
  }
}

.who-we-are .lead {
  color: #2d4a2d;
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.7;
}

.who-we-are p {
  color: #6c757d;
  line-height: 1.75;
}

.who-we-are .fa-check-circle {
  font-size: 18px;
  color: var(--primary-green);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.who-we-are .d-flex {
  padding: 10px 12px;
  border-radius: 12px;
  transition: all 0.4s ease;
  background: transparent;
  border: 1px solid transparent;
}

.who-we-are .d-flex:hover {
  background: linear-gradient(
    135deg,
    rgba(26, 71, 42, 0.05),
    rgba(255, 193, 7, 0.03)
  );
  border-color: rgba(26, 71, 42, 0.1);
  transform: translateX(5px);
}

.who-we-are .d-flex:hover .fa-check-circle {
  transform: scale(1.3) rotate(10deg);
  color: var(--gold);
}

.who-we-are .d-flex span {
  font-weight: 500;
  color: #333;
  transition: all 0.3s ease;
}

.who-we-are .d-flex:hover span {
  color: var(--primary-green);
  font-weight: 600;
}

.who-we-are .btn-success {
  border-radius: 50px;
  padding: 12px 32px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(26, 71, 42, 0.2);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.who-we-are .btn-success:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(26, 71, 42, 0.35);
}

/* Mission Card - Rich Design */
.mission-card {
  border-radius: 24px !important;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
  border: 1px solid #f0f0f0;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.mission-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(26, 71, 42, 0.04) 0%,
    transparent 70%
  );
  animation: rotate 25s linear infinite;
  pointer-events: none;
}

.mission-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--primary-green),
    var(--gold),
    var(--primary-green)
  );
  background-size: 200% auto;
  animation: gradientMove 3s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.mission-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 25px 70px rgba(26, 71, 42, 0.15);
  border-color: rgba(26, 71, 42, 0.15);
}

.mission-card .card-body {
  padding: 40px 35px !important;
  position: relative;
  z-index: 2;
}

.mission-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    rgba(26, 71, 42, 0.1),
    rgba(255, 193, 7, 0.1)
  );
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 2px solid rgba(26, 71, 42, 0.1);
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mission-card:hover .mission-icon {
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--secondary-green)
  );
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 12px 35px rgba(26, 71, 42, 0.3);
}

.mission-icon i {
  font-size: 32px;
  color: var(--primary-green);
  transition: all 0.5s ease;
}

.mission-card:hover .mission-icon i {
  color: #fff;
  transform: scale(1.1);
}

.mission-card h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1a2a1a;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.mission-card p {
  color: #6c757d;
  line-height: 1.75;
  font-size: 15px;
}

.mission-values {
  margin-top: 30px;
}

.mission-values .d-flex {
  padding: 12px;
  border-radius: 14px;
  transition: all 0.4s ease;
  border: 1px solid transparent;
}

.mission-values .d-flex:hover {
  background: linear-gradient(
    135deg,
    rgba(26, 71, 42, 0.04),
    rgba(255, 193, 7, 0.02)
  );
  border-color: rgba(26, 71, 42, 0.08);
  transform: translateX(5px);
}

.mission-values .value-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(
    135deg,
    rgba(26, 71, 42, 0.08),
    rgba(255, 193, 7, 0.08)
  );
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 1px solid rgba(26, 71, 42, 0.1);
}

.mission-values .d-flex:hover .value-icon {
  transform: scale(1.1) rotate(-8deg);
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--secondary-green)
  );
  box-shadow: 0 8px 25px rgba(26, 71, 42, 0.25);
}

.mission-values .d-flex:hover .value-icon i {
  color: #fff !important;
  transform: scale(1.1);
}

.mission-values .value-icon i {
  font-size: 20px;
  color: var(--primary-green);
  transition: all 0.4s ease;
}

.mission-values h6 {
  font-weight: 700;
  color: #1a2a1a;
  margin-bottom: 4px;
}

.mission-values p {
  color: #6c757d;
  font-size: 13px;
  margin-bottom: 0;
}

/* ============================================
   SERVICES SECTION - RICH ENHANCED
   ============================================ */
.service-card {
  border-radius: 20px !important;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #f0f0f0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-green),
    var(--gold),
    var(--primary-green)
  );
  background-size: 200% auto;
  opacity: 0;
  transition: all 0.5s ease;
}

.service-card:hover::before {
  opacity: 1;
  animation: gradientMove 2s linear infinite;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(to top, rgba(26, 71, 42, 0.04), transparent);
  opacity: 0;
  transition: all 0.5s ease;
  pointer-events: none;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card .card-body {
  position: relative;
  z-index: 2;
  padding: 35px 25px !important;
  transition: all 0.5s ease;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-card:hover .card-body {
  transform: translateY(-5px);
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 70px rgba(26, 71, 42, 0.15);
  border-color: rgba(26, 71, 42, 0.15);
}

.service-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(
    135deg,
    rgba(26, 71, 42, 0.08),
    rgba(255, 193, 7, 0.08)
  );
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  border: 2px solid rgba(26, 71, 42, 0.1);
}

.service-icon::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 28px;
  background: conic-gradient(
    from 0deg,
    var(--primary-green),
    var(--gold),
    var(--primary-green)
  );
  opacity: 0;
  z-index: -1;
  animation: rotateConic 3s linear infinite;
  transition: opacity 0.5s ease;
}

.service-card:hover .service-icon::before {
  opacity: 0.4;
}

.service-icon i {
  font-size: 40px;
  color: var(--primary-green);
  transition: all 0.5s ease;
  line-height: 1;
}

.service-card:hover .service-icon {
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--secondary-green)
  );
  transform: scale(1.1) rotate(-8deg);
  box-shadow: 0 15px 40px rgba(26, 71, 42, 0.3);
  border-color: var(--gold);
}

.service-card:hover .service-icon i {
  color: #fff;
  transform: scale(1.1);
}

.service-card .card-title {
  transition: all 0.3s ease;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a2a1a;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 12px;
}

.service-card .card-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--gold));
  border-radius: 2px;
  transition: width 0.4s ease;
}

.service-card:hover .card-title::after {
  width: 60px;
}

.service-card:hover .card-title {
  color: var(--primary-green);
}

.service-card .card-text {
  color: #6c757d;
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.service-card .btn {
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-radius: 50px !important;
  padding: 8px 24px;
  font-weight: 600;
  font-size: 13px;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

.service-card .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

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

.service-card:hover .btn {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(26, 71, 42, 0.25);
}

/* ============================================
   RESPONSIVE - 2 CARDS PER ROW ON MOBILE
   ============================================ */
@media (max-width: 1199.98px) {
  .hover-card .icon-circle {
    width: 80px;
    height: 80px;
  }

  .hover-card .icon-circle i {
    font-size: 34px;
  }

  .service-icon {
    width: 80px;
    height: 80px;
  }

  .service-icon i {
    font-size: 34px;
  }
}

@media (max-width: 991.98px) {
  .who-we-are h2 {
    font-size: 2rem;
  }

  .mission-card .card-body {
    padding: 30px 25px !important;
  }

  .mission-icon {
    width: 70px;
    height: 70px;
  }

  .mission-icon i {
    font-size: 28px;
  }

  .mission-card h3 {
    font-size: 1.5rem;
  }
}

/* Key mobile breakpoint: 2 cards per row */
@media (max-width: 767.98px) {
  /* Cultural Highlights - 2 per row */
  .cultural-highlights-section .col-md-3 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-left: 8px;
    padding-right: 8px;
  }

  .hover-card {
    border-radius: 16px !important;
  }

  .hover-card .card-body {
    padding: 20px 15px !important;
  }

  .hover-card .icon-circle {
    width: 65px;
    height: 65px;
    margin-bottom: 15px !important;
  }

  .hover-card .icon-circle i {
    font-size: 26px;
  }

  .hover-card .card-title {
    font-size: 1rem;
    margin-bottom: 8px;
    padding-bottom: 8px;
  }

  .hover-card .card-title::after {
    width: 25px;
    height: 2px;
  }

  .hover-card:hover .card-title::after {
    width: 45px;
  }

  .hover-card .card-text {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  .hover-card .btn {
    font-size: 11px;
    padding: 6px 16px;
  }

  /* Services - 2 per row */
  .services-section .col-lg-4,
  .services-section .col-md-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-left: 8px;
    padding-right: 8px;
  }

  .service-card {
    border-radius: 16px !important;
  }

  .service-card .card-body {
    padding: 20px 15px !important;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    margin-bottom: 15px;
  }

  .service-icon::before {
    border-radius: 20px;
  }

  .service-icon i {
    font-size: 24px;
  }

  .service-card .card-title {
    font-size: 1rem;
    margin-bottom: 8px;
    padding-bottom: 8px;
  }

  .service-card .card-title::after {
    width: 25px;
    height: 2px;
  }

  .service-card:hover .card-title::after {
    width: 45px;
  }

  .service-card .card-text {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  .service-card .btn {
    font-size: 11px;
    padding: 6px 16px;
  }

  /* Who We Are - Better mobile layout */
  .who-we-are h2 {
    font-size: 1.75rem;
  }

  .who-we-are h2::after {
    width: 60px;
    height: 4px;
  }

  .who-we-are .lead {
    font-size: 1rem;
  }

  .who-we-are p {
    font-size: 14px;
  }

  .who-we-are .d-flex {
    padding: 8px 10px;
  }

  .who-we-are .d-flex span {
    font-size: 13px;
  }

  /* Mission Card Mobile */
  .mission-card .card-body {
    padding: 25px 20px !important;
  }

  .mission-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
  }

  .mission-icon i {
    font-size: 24px;
  }

  .mission-card h3 {
    font-size: 1.35rem;
  }

  .mission-card p {
    font-size: 14px;
  }

  .mission-values .value-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .mission-values .value-icon i {
    font-size: 16px;
  }

  .mission-values h6 {
    font-size: 14px;
  }

  .mission-values p {
    font-size: 12px;
  }
}

/* Extra small screens - keep 2 per row but even more compact */
@media (max-width: 576px) {
  .cultural-highlights-section {
    padding: 40px 0;
  }

  .hover-card .card-body {
    padding: 15px 10px !important;
  }

  .hover-card .icon-circle {
    width: 55px;
    height: 55px;
    margin-bottom: 12px !important;
  }

  .hover-card .icon-circle i {
    font-size: 22px;
  }

  .hover-card .card-title {
    font-size: 0.9rem;
  }

  .hover-card .card-text {
    font-size: 11px;
    line-height: 1.45;
  }

  .hover-card .btn {
    font-size: 10px;
    padding: 5px 12px;
  }

  /* Services */
  .service-card .card-body {
    padding: 15px 10px !important;
  }

  .service-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    margin-bottom: 12px;
  }

  .service-icon i {
    font-size: 20px;
  }

  .service-card .card-title {
    font-size: 0.9rem;
  }

  .service-card .card-text {
    font-size: 11px;
    line-height: 1.45;
  }

  .service-card .btn {
    font-size: 10px;
    padding: 5px 12px;
  }

  /* Who We Are */
  .who-we-are h2 {
    font-size: 1.5rem;
  }

  .who-we-are .lead {
    font-size: 0.95rem;
  }

  .who-we-are p {
    font-size: 13px;
  }

  .who-we-are .d-flex span {
    font-size: 12px;
  }

  /* Mission */
  .mission-card .card-body {
    padding: 20px 15px !important;
  }

  .mission-card h3 {
    font-size: 1.2rem;
  }

  .mission-card p {
    font-size: 13px;
  }

  .mission-values .d-flex {
    padding: 8px;
  }

  .mission-values h6 {
    font-size: 13px;
  }

  .mission-values p {
    font-size: 11px;
  }
}

/* Ensure Bootstrap columns work with our custom 50% width */
@media (max-width: 767.98px) {
  .cultural-highlights-section .row,
  .services-section .row {
    margin-left: -8px;
    margin-right: -8px;
  }

  /* Fix for any column that may override */
  .cultural-highlights-section [class*="col-"],
  .services-section [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
  }
}
/* ============================================
   GALLERY SLIDER
   ============================================ */
.gallery-slider-wrapper {
  position: relative;
  padding: 0 50px;
}

.gallery-slider-container {
  overflow: hidden;
  position: relative;
  border-radius: 12px;
}

.gallery-slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.gallery-item {
  flex: 0 0 calc(25% - 15px);
  min-width: 250px;
  transition: var(--transition-smooth);
}

.gallery-item-inner {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-bounce);
}

.gallery-item-inner:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.gallery-item-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item-inner:hover .gallery-item-image {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px 20px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  color: #fff;
  transform: translateY(30px);
  transition: var(--transition-smooth);
}

.gallery-item-inner:hover .gallery-item-overlay {
  transform: translateY(0);
}

.gallery-item-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  color: #333;
  padding: 2px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.gallery-item-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}

.gallery-item-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-bounce);
  z-index: 10;
  color: #333;
}

.gallery-nav-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-lg);
  color: var(--primary-green);
}

.gallery-nav-btn i {
  font-size: 18px;
}

.prev-btn {
  left: -20px;
}
.next-btn {
  right: -20px;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--primary-green);
  background: transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  padding: 0;
  margin: 0;
}

.gallery-dot.active {
  background: var(--primary-green);
  width: 30px;
  border-radius: 10px;
}

.gallery-dot:hover {
  background: var(--primary-green);
  opacity: 0.6;
}

/* ============================================
   BOOK CARDS - RICH ENHANCED DESIGN
   ============================================ */
.featured-books-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

/* Decorative Orbs */
.featured-books-section::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(26, 71, 42, 0.06) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: floatOrb 22s ease-in-out infinite;
  filter: blur(40px);
  pointer-events: none;
}

.featured-books-section::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 450px;
  height: 450px;
  background: radial-gradient(
    circle,
    rgba(255, 193, 7, 0.06) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: floatOrb 25s ease-in-out infinite reverse;
  filter: blur(40px);
  pointer-events: none;
}

@keyframes floatOrb {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-30px, 30px) scale(1.05);
  }
  66% {
    transform: translate(30px, -30px) scale(0.95);
  }
}

/* Section Header */
.featured-books-section .section-tag {
  display: inline-block;
  background: linear-gradient(
    135deg,
    rgba(26, 71, 42, 0.1),
    rgba(255, 193, 7, 0.1)
  );
  color: var(--primary-green);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 15px;
  border: 1px solid rgba(26, 71, 42, 0.15);
  position: relative;
  z-index: 2;
}

.featured-books-section h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #1a2a1a;
  position: relative;
  display: inline-block;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.featured-books-section h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 80px;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--primary-green),
    var(--gold),
    var(--primary-green)
  );
  background-size: 200% auto;
  border-radius: 3px;
  animation: gradientMove 3s linear infinite;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

@keyframes gradientMove {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

.featured-books-section .view-all-link {
  color: var(--primary-green);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  border: 2px solid var(--primary-green);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.featured-books-section .view-all-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.6s ease;
}

.featured-books-section .view-all-link:hover::before {
  left: 100%;
}

.featured-books-section .view-all-link:hover {
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--secondary-green)
  );
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(26, 71, 42, 0.3);
  border-color: var(--primary-green);
}

.featured-books-section .view-all-link i {
  transition: transform 0.4s ease;
}

.featured-books-section .view-all-link:hover i {
  transform: translateX(5px);
}

/* Book Card - Rich Design */
.book-card {
  border-radius: 20px !important;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #f0f0f0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  position: relative;
}

.book-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-green),
    var(--gold),
    var(--primary-green)
  );
  background-size: 200% auto;
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 3;
}

.book-card:hover::before {
  opacity: 1;
  animation: gradientMove 2s linear infinite;
}

.book-card::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: radial-gradient(
    circle,
    rgba(26, 71, 42, 0.05) 0%,
    transparent 70%
  );
  border-radius: 50%;
  transition: all 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

.book-card:hover::after {
  width: 500px;
  height: 500px;
}

.book-card:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow: 0 30px 70px rgba(26, 71, 42, 0.15);
  border-color: rgba(26, 71, 42, 0.15);
}

/* Book Image Wrapper */
.book-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 140%;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 20px 20px 0 0;
}

.book-image-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    transparent 40%,
    rgba(255, 193, 7, 0.05) 100%
  );
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.book-card:hover .book-image-wrapper::before {
  opacity: 1;
}

.book-cover-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: #f8f9fa;
}

.book-card:hover .book-cover-img {
  transform: scale(1.08) rotate(-1deg);
}

/* Book Card Body */
.book-card .card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  background: #fff;
}

/* Book Title */
.book-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 42px;
  color: #1a2a1a;
  transition: all 0.3s ease;
}

.book-card:hover .book-title {
  color: var(--primary-green);
}

/* Book Author */
.book-author {
  font-size: 13px;
  margin-bottom: 10px;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 5px;
}

.book-author i {
  color: var(--primary-green);
  font-size: 11px;
}

/* Book Description */
.book-description {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #6c757d;
  flex: 1;
}

/* Book Price */
.book-price {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary-green);
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
}

.book-price::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--primary-green));
  transition: width 0.4s ease;
  border-radius: 2px;
}

.book-card:hover .book-price::before {
  width: 100%;
}

/* Book Card Buttons */
.book-card .btn-sm {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  overflow: hidden;
}

.book-card .btn-sm::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

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

.book-card .btn-outline-success {
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
  background: transparent;
}

.book-card .btn-outline-success:hover {
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--secondary-green)
  );
  border-color: var(--primary-green);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(26, 71, 42, 0.3);
}

.book-card .btn-success {
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--secondary-green)
  );
  border: none;
  color: #fff;
}

.book-card .btn-success:hover {
  background: linear-gradient(
    135deg,
    var(--secondary-green),
    var(--primary-green)
  );
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(26, 71, 42, 0.3);
}

/* Book Badges */
.book-image-wrapper .badge {
  font-size: 10px;
  padding: 5px 12px;
  z-index: 3;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.book-image-wrapper .badge.bg-info {
  background: linear-gradient(135deg, #17a2b8, #138496) !important;
}

.book-image-wrapper .badge.bg-danger {
  background: linear-gradient(135deg, #dc3545, #c82333) !important;
}

.book-image-wrapper .badge.bg-warning {
  background: linear-gradient(135deg, #ffc107, #e6a800) !important;
  color: #1a2a1a !important;
}

/* Featured Badge Animation */
.book-image-wrapper .badge.bg-warning {
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5);
  }
}

/* ============================================
   RESPONSIVE - 2 CARDS PER ROW ON MOBILE
   ============================================ */

@media (max-width: 1199.98px) {
  .featured-books-section h2 {
    font-size: 2.2rem;
  }

  .book-title {
    font-size: 14px;
    height: 38px;
  }

  .book-price {
    font-size: 16px;
  }

  .book-card .card-body {
    padding: 16px;
  }
}

@media (max-width: 991.98px) {
  .featured-books-section {
    padding: 60px 0;
  }

  .featured-books-section h2 {
    font-size: 2rem;
  }

  .book-card .card-body {
    padding: 15px;
  }
}

/* Key mobile breakpoint: 2 cards per row */
@media (max-width: 767.98px) {
  .featured-books-section {
    padding: 50px 0;
  }

  .featured-books-section h2 {
    font-size: 1.75rem;
  }

  .featured-books-section h2::after {
    width: 60px;
    height: 4px;
  }

  /* Force 2 cards per row */
  .featured-books-section .col-md-6.col-lg-3 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-left: 8px;
    padding-right: 8px;
  }

  .featured-books-section .row {
    margin-left: -8px;
    margin-right: -8px;
  }

  .book-card {
    border-radius: 16px !important;
  }

  .book-image-wrapper {
    padding-top: 130%;
    border-radius: 16px 16px 0 0;
  }

  .book-cover-img {
    padding: 8px;
  }

  .book-card .card-body {
    padding: 12px !important;
  }

  .book-title {
    font-size: 13px;
    height: 34px;
    margin-bottom: 4px;
  }

  .book-author {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .book-description {
    font-size: 11px;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    margin-bottom: 10px;
  }

  .book-price {
    font-size: 14px;
  }

  .book-card .btn-sm {
    padding: 5px 10px;
    font-size: 11px;
  }

  .book-card .btn-sm i {
    font-size: 11px;
  }

  .book-image-wrapper .badge {
    font-size: 9px;
    padding: 3px 8px;
  }

  .featured-books-section .view-all-link {
    padding: 8px 18px;
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .featured-books-section {
    padding: 40px 0;
  }

  .featured-books-section h2 {
    font-size: 1.5rem;
  }

  .featured-books-section .section-tag {
    font-size: 10px;
    padding: 5px 16px;
    letter-spacing: 1px;
  }

  .book-image-wrapper {
    padding-top: 125%;
  }

  .book-cover-img {
    padding: 6px;
  }

  .book-card .card-body {
    padding: 10px !important;
  }

  .book-title {
    font-size: 12px;
    height: 32px;
  }

  .book-author {
    font-size: 10px;
    margin-bottom: 6px;
  }

  .book-author i {
    font-size: 9px;
  }

  .book-description {
    font-size: 10px;
    line-height: 1.4;
    margin-bottom: 8px;
  }

  .book-price {
    font-size: 13px;
  }

  .book-card .btn-sm {
    padding: 4px 8px;
    font-size: 10px;
    border-radius: 40px;
  }

  .book-card .btn-sm i {
    font-size: 10px;
  }

  /* Stack buttons vertically on very small screens */
  .book-card .d-flex.gap-1 {
    gap: 3px !important;
  }

  .book-image-wrapper .badge {
    font-size: 8px;
    padding: 2px 6px;
  }

  .featured-books-section .view-all-link {
    padding: 6px 14px;
    font-size: 12px;
  }

  .featured-books-section .d-flex.justify-content-between {
    flex-direction: column;
    align-items: center !important;
    gap: 15px;
    text-align: center;
  }
}
/* end book cards */

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--primary-green);
  color: #fff;
  font-family: var(--font-primary);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--gold),
    var(--primary-green),
    var(--gold)
  );
  background-size: 200% 100%;
  animation: gradientMove 3s linear infinite;
}

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

footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
}

footer a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition-smooth);
}

footer a:hover {
  color: var(--gold);
}

footer a:hover::after {
  width: 100%;
}

.text-gold {
  color: var(--gold) !important;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 1199.98px) {
  .gallery-item {
    flex: 0 0 calc(33.333% - 14px);
  }
}

@media (max-width: 991.98px) {
  .carousel-slide {
    min-height: 500px;
    padding: 40px 0;
  }

  .carousel-slide .display-3 {
    font-size: 2.8rem;
  }

  .who-we-are h2 {
    font-size: 2rem;
  }

  .gallery-slider-wrapper {
    padding: 0 40px;
  }

  .gallery-item {
    flex: 0 0 calc(50% - 10px);
  }

  .gallery-item-image {
    height: 240px;
  }

  .gallery-nav-btn {
    width: 38px;
    height: 38px;
  }

  .prev-btn {
    left: -15px;
  }
  .next-btn {
    right: -15px;
  }
}

@media (max-width: 767.98px) {
  .carousel-slide {
    min-height: 450px;
    padding: 30px 0;
    text-align: center;
  }

  .carousel-slide .display-3 {
    font-size: 2.2rem;
  }

  .who-we-are h2 {
    font-size: 1.8rem;
  }

  .mission-card .card-body {
    padding: 30px !important;
  }

  .service-card .card-body {
    padding: 20px !important;
  }

  .gallery-slider-wrapper {
    padding: 0 30px;
  }

  .gallery-item {
    flex: 0 0 calc(50% - 10px);
    min-width: 180px;
  }

  .gallery-item-image {
    height: 200px;
  }

  .gallery-item-overlay {
    padding: 15px;
  }

  .gallery-item-title {
    font-size: 14px;
  }

  .gallery-item-desc {
    font-size: 12px;
  }

  .gallery-nav-btn {
    width: 32px;
    height: 32px;
  }

  .gallery-nav-btn i {
    font-size: 14px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
}

@media (max-width: 576px) {
  .carousel-slide {
    min-height: 400px;
    padding: 20px 0;
  }

  .carousel-slide .display-3 {
    font-size: 1.8rem;
  }

  .btn {
    font-size: 14px;
    padding: 8px 20px;
  }

  .btn-lg {
    font-size: 14px;
    padding: 10px 24px;
  }

  .gallery-slider-wrapper {
    padding: 0 20px;
  }

  .gallery-item {
    flex: 0 0 100%;
    min-width: unset;
  }

  .gallery-item-image {
    height: 220px;
  }

  .gallery-nav-btn {
    width: 28px;
    height: 28px;
  }

  .prev-btn {
    left: -5px;
  }
  .next-btn {
    right: -5px;
  }
}

/* ============================================
   UTILITY ANIMATIONS
   ============================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade In Up */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Zoom In */
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Slide In */
.slide-in {
  animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================
   CULTURAL HERITAGE PAGE STYLES
   ============================================ */
.page-header {
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.stats-badge {
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

/* Gallery Cards */
.gallery-card {
  border-radius: 16px !important;
  overflow: hidden;
  transition: var(--transition-bounce);
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg) !important;
}

.gallery-card-image {
  overflow: hidden;
  background: #f0f0f0;
}

.gallery-card-image img,
.gallery-card-image video {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-card:hover .gallery-card-image img,
.gallery-card:hover .gallery-card-image video {
  transform: scale(1.05);
}

.media-type-badge {
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 12px;
  backdrop-filter: blur(5px);
}

.featured-badge {
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  color: #333;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

/* Video Play Button */
.video-thumbnail {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.play-button-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
}

.video-thumbnail:hover .play-button-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.play-button {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-bounce);
}

.video-thumbnail:hover .play-button {
  transform: scale(1.1);
  background: #fff;
}

.play-button i {
  color: var(--primary-green);
  margin-left: 4px;
}

.view-more-btn {
  border-radius: 50px !important;
  transition: var(--transition-bounce);
}

.view-more-btn:hover {
  transform: scale(1.05);
}

/* Lightbox Modal */
.modal-content {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
}

.lightbox-content {
  position: relative;
}

.lightbox-info {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

/* Pagination */
.pagination .page-link {
  border-radius: 8px !important;
  margin: 0 4px;
  border: none;
  color: var(--primary-green);
  transition: var(--transition-smooth);
}

.pagination .page-item.active .page-link {
  background: var(--primary-green);
  color: #fff;
}

.pagination .page-link:hover {
  background: var(--primary-green);
  color: #fff;
  transform: translateY(-2px);
}

/* Admin Upload Styles */
.media-type-selector .btn-check:checked + .btn {
  background: var(--primary-green);
  color: #fff;
  border-color: var(--primary-green);
}

.drop-zone {
  border: 2px dashed #dee2e6;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.drop-zone:hover {
  border-color: var(--primary-green);
  background: rgba(26, 71, 42, 0.02);
}

.drop-zone.drag-over {
  border-color: var(--primary-green);
  background: rgba(26, 71, 42, 0.05);
}

.admin-sidebar .nav-link {
  color: #333;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.admin-sidebar .nav-link:hover {
  background: rgba(26, 71, 42, 0.05);
  color: var(--primary-green);
}

.admin-sidebar .nav-link.active {
  background: var(--primary-green);
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .page-header .display-4 {
    font-size: 2rem;
  }

  .filter-section {
    position: relative;
    top: 0;
  }

  .filter-tags {
    gap: 6px;
  }

  .filter-tag {
    font-size: 12px;
    padding: 3px 12px;
  }

  .gallery-card-image img,
  .gallery-card-image video {
    height: 200px !important;
  }

  .play-button {
    width: 50px;
    height: 50px;
  }

  .play-button i {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .stats-badge {
    text-align: center;
    margin-top: 15px;
  }

  .stats-badge .display-6 {
    font-size: 1.8rem;
  }
}
/* end cultural heritage page */

/* ============================================
   PROFILE PAGE STYLES
   ============================================ */
.profile-section {
  background: var(--light-bg);
  min-height: 80vh;
}

.profile-sidebar {
  border-radius: 16px !important;
  position: sticky;
  top: 100px;
}

.profile-image-wrapper {
  position: relative;
}

.profile-image {
  border: 4px solid var(--gold);
  transition: var(--transition-bounce);
}

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

.profile-image-placeholder {
  transition: var(--transition-bounce);
}

.profile-image-placeholder:hover {
  transform: scale(1.05);
}

.profile-role-badge .badge {
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
}

.profile-stats {
  border-color: #e9ecef !important;
}

.profile-stats .fw-bold {
  font-size: 18px;
}

.profile-drop-zone {
  border: 2px dashed #dee2e6;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.profile-drop-zone:hover {
  border-color: var(--primary-green);
  background: rgba(26, 71, 42, 0.02);
}

.profile-drop-zone.drag-over {
  border-color: var(--primary-green);
  background: rgba(26, 71, 42, 0.05);
}

.admin-quick-links .btn {
  border-radius: 8px;
  font-weight: 500;
  justify-content: center;
}

.admin-quick-links .btn:hover {
  transform: translateX(5px);
}

.stat-box {
  transition: var(--transition-smooth);
}

.stat-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.table-hover tbody tr {
  transition: var(--transition-smooth);
}

.table-hover tbody tr:hover {
  background: rgba(26, 71, 42, 0.03);
}

.user-avatar .badge {
  font-size: 14px;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 991.98px) {
  .profile-sidebar {
    position: relative;
    top: 0;
    margin-bottom: 20px;
  }
}

@media (max-width: 767.98px) {
  .profile-image-wrapper .profile-image,
  .profile-image-wrapper .profile-image-placeholder {
    width: 80px !important;
    height: 80px !important;
  }

  .profile-image-placeholder .display-1 {
    font-size: 2.5rem !important;
  }

  .stat-box .display-6 {
    font-size: 1.5rem;
  }
}
/* admin page */

/* ============================================
   FILTER SECTION - IMPROVED STYLES
   ============================================ */
.filter-section {
  background: #ffffff;
  border-bottom: 1px solid #e9ecef;
  padding: 15px 0;
  position: sticky;
  top: 76px;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.filter-section .search-form .input-group {
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.filter-section .search-form .form-control {
  border: 2px solid #e9ecef;
  border-right: none;
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 50px 0 0 50px;
  height: 46px;
}

.filter-section .search-form .form-control:focus {
  border-color: var(--primary-green);
  box-shadow: none;
}

.filter-section .search-form .btn {
  border-radius: 0 50px 50px 0;
  padding: 0 20px;
  height: 46px;
  background: var(--primary-green);
  border: 2px solid var(--primary-green);
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.filter-tag {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  background: #f0f2f5;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.filter-tag:hover {
  background: rgba(26, 71, 42, 0.08);
  color: var(--primary-green);
  transform: translateY(-2px);
  text-decoration: none;
}

.filter-tag.active {
  background: var(--primary-green);
  color: #fff;
  border-color: var(--primary-green);
}

.filter-tag.active:hover {
  background: var(--secondary-green);
  border-color: var(--secondary-green);
}

/* Media Type Buttons */
.filter-section .btn-group {
  gap: 6px;
}

.filter-section .btn-group .btn {
  border-radius: 50px !important;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 500;
  border: 2px solid #e9ecef;
  background: #fff;
  color: #555;
  transition: all 0.3s ease;
}

.filter-section .btn-group .btn:hover {
  background: rgba(26, 71, 42, 0.05);
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.filter-section .btn-group .btn.active {
  background: var(--primary-green);
  border-color: var(--primary-green);
  color: #fff;
}

.filter-section .btn-group .btn.active:hover {
  background: var(--secondary-green);
  border-color: var(--secondary-green);
}

.filter-section .btn-group .btn i {
  margin-right: 5px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .filter-section {
    position: relative;
    top: 0;
  }

  .filter-tags {
    gap: 6px;
  }

  .filter-tag {
    font-size: 12px;
    padding: 4px 14px;
  }

  .filter-section .btn-group .btn {
    font-size: 12px;
    padding: 4px 14px;
  }
}

@media (max-width: 767.98px) {
  .filter-section .search-form .input-group {
    margin-bottom: 10px;
  }

  .filter-section .search-form .form-control {
    height: 40px;
    font-size: 13px;
  }

  .filter-section .search-form .btn {
    height: 40px;
  }

  .filter-tags {
    gap: 5px;
    margin-bottom: 8px;
  }

  .filter-tag {
    font-size: 11px;
    padding: 3px 12px;
  }

  .filter-section .btn-group .btn {
    font-size: 11px;
    padding: 3px 12px;
  }

  .filter-section .btn-group {
    width: 100%;
    display: flex;
  }

  .filter-section .btn-group .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .filter-section {
    padding: 10px 0;
  }

  .filter-tag {
    font-size: 10px;
    padding: 3px 10px;
  }

  .filter-section .btn-group .btn {
    font-size: 10px;
    padding: 3px 10px;
  }
}
/* end filter box */

/* ============================================
   ETTABAALO CEREMONY STYLES
   ============================================ */
.ceremony-section {
  position: relative;
  overflow: hidden;
}

.ceremony-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../images/ceremony-pattern.png") repeat;
  opacity: 0.03;
  pointer-events: none;
}

/* Ceremony Info Card */
.ceremony-info-card {
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.ceremony-info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 193, 7, 0.2);
}

.ceremony-date-card {
  border: 1px solid rgba(255, 193, 7, 0.2);
  transition: all 0.3s ease;
}

.ceremony-date-card:hover {
  transform: scale(1.05);
  background: rgba(255, 193, 7, 0.2) !important;
}

/* Ceremony Details Card */
.ceremony-details-card {
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.ceremony-details-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 193, 7, 0.2);
}

.ceremony-details-list li {
  transition: all 0.3s ease;
}

.ceremony-details-list li:hover {
  padding-left: 8px;
}

.ceremony-details-list li i {
  font-size: 18px;
}

/* Ceremony Gallery */
.ceremony-gallery-item {
  cursor: pointer;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.ceremony-gallery-item:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.ceremony-gallery-item img {
  transition: transform 0.5s ease;
}

.ceremony-gallery-item:hover img {
  transform: scale(1.05);
}

.ceremony-gallery-overlay {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.ceremony-gallery-item:hover .ceremony-gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 991.98px) {
  .ceremony-date-card {
    padding: 15px !important;
  }

  .ceremony-date-card h6 {
    font-size: 14px;
  }

  .ceremony-gallery-item img {
    height: 200px !important;
  }
}

@media (max-width: 767.98px) {
  .ceremony-date-card {
    padding: 10px !important;
  }

  .ceremony-date-card h6 {
    font-size: 12px;
  }

  .ceremony-date-card .fa-2x {
    font-size: 1.5rem !important;
  }

  .ceremony-gallery-item img {
    height: 180px !important;
  }
}

@media (max-width: 576px) {
  .ceremony-section .section-tag {
    font-size: 11px;
  }

  .ceremony-section h2 {
    font-size: 1.5rem;
  }

  .ceremony-gallery-item img {
    height: 150px !important;
  }

  .ceremony-info-card,
  .ceremony-details-card {
    padding: 20px !important;
  }
}
/* end etabaalo */

/* ============================================
   QUICK CONTACT FORM - RICH ENHANCED DESIGN
   ============================================ */
.quick-contact-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

/* Decorative Orbs */
.quick-contact-section::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(26, 71, 42, 0.06) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: floatOrb 22s ease-in-out infinite;
  filter: blur(40px);
  pointer-events: none;
}

.quick-contact-section::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 450px;
  height: 450px;
  background: radial-gradient(
    circle,
    rgba(255, 193, 7, 0.06) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: floatOrb 25s ease-in-out infinite reverse;
  filter: blur(40px);
  pointer-events: none;
}

@keyframes floatOrb {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-30px, 30px) scale(1.05);
  }
  66% {
    transform: translate(30px, -30px) scale(0.95);
  }
}

/* Contact Info List */
.contact-info-list {
  position: relative;
  z-index: 2;
}

.contact-info-list .d-flex {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  margin-bottom: 8px;
}

.contact-info-list .d-flex:hover {
  background: linear-gradient(
    135deg,
    rgba(26, 71, 42, 0.04),
    rgba(255, 193, 7, 0.02)
  );
  border-color: rgba(26, 71, 42, 0.1);
  transform: translateX(6px);
  box-shadow: 0 8px 25px rgba(26, 71, 42, 0.06);
}

/* Quick Contact Icon - Rich Design */
.quick-contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    rgba(26, 71, 42, 0.1),
    rgba(255, 193, 7, 0.08)
  );
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 2px solid rgba(26, 71, 42, 0.1);
  position: relative;
  overflow: hidden;
}

.quick-contact-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 70%
  );
  border-radius: 50%;
  transition: all 0.5s ease;
}

.contact-info-list .d-flex:hover .quick-contact-icon::before {
  width: 100px;
  height: 100px;
}

.quick-contact-icon i {
  font-size: 20px;
  color: var(--primary-green);
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.contact-info-list .d-flex:hover .quick-contact-icon {
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--secondary-green)
  );
  transform: scale(1.1) rotate(-8deg);
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(26, 71, 42, 0.3);
}

.contact-info-list .d-flex:hover .quick-contact-icon i {
  color: #fff;
  transform: scale(1.1);
}

.contact-info-list h6 {
  font-weight: 700;
  color: #1a2a1a;
  margin-bottom: 2px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.contact-info-list .d-flex:hover h6 {
  color: var(--primary-green);
}

.contact-info-list small {
  color: #6c757d;
  font-size: 12px;
  transition: all 0.3s ease;
}

.contact-info-list .d-flex:hover small {
  color: #333;
}

/* Quick Contact Form Card - Rich Glassmorphism */
.quick-contact-form {
  border-radius: 24px !important;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid #f0f0f0;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
}

.quick-contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--primary-green),
    var(--gold),
    var(--primary-green)
  );
  background-size: 200% auto;
  animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

.quick-contact-form::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(26, 71, 42, 0.02) 0%,
    transparent 70%
  );
  animation: rotate 30s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.quick-contact-form:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(26, 71, 42, 0.12);
  border-color: rgba(26, 71, 42, 0.15);
}

.quick-contact-form .card-body {
  padding: 40px 35px;
  position: relative;
  z-index: 2;
}

.quick-contact-form h5 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a2a1a;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
  letter-spacing: -0.5px;
}

.quick-contact-form h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--gold));
  border-radius: 2px;
  transition: width 0.4s ease;
}

.quick-contact-form:hover h5::after {
  width: 80px;
}

.quick-contact-form h5 i {
  color: var(--primary-green);
}

/* Form Fields - Rich Design */
.quick-contact-form .form-floating {
  margin-bottom: 0;
  position: relative;
}

.quick-contact-form .form-control {
  border-radius: 14px;
  border: 2px solid #e9ecef;
  padding: 16px 18px;
  height: 60px;
  font-size: 14px;
  font-weight: 500;
  color: #1a2a1a;
  background: #fff;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.quick-contact-form .form-control:hover {
  border-color: #d0d8d0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.quick-contact-form .form-control:focus {
  border-color: var(--primary-green);
  box-shadow:
    0 0 0 4px rgba(26, 71, 42, 0.08),
    0 8px 25px rgba(26, 71, 42, 0.1);
  background: #fff;
  transform: translateY(-2px);
}

.quick-contact-form textarea.form-control {
  height: auto;
  min-height: 130px;
  resize: vertical;
  padding-top: 20px;
}

.quick-contact-form .form-floating label {
  padding: 18px 18px 0;
  font-size: 14px;
  font-weight: 500;
  color: #6c757d;
  transition: all 0.3s ease;
}

.quick-contact-form .form-floating label i {
  color: var(--primary-green);
  transition: all 0.3s ease;
}

.quick-contact-form .form-floating > .form-control:focus ~ label,
.quick-contact-form
  .form-floating
  > .form-control:not(:placeholder-shown)
  ~ label {
  padding-top: 8px;
  padding-bottom: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-green);
  opacity: 1;
}

.quick-contact-form .form-floating > .form-control:focus ~ label i,
.quick-contact-form
  .form-floating
  > .form-control:not(:placeholder-shown)
  ~ label
  i {
  transform: scale(1.1);
}

/* Submit Button - Rich Design */
.quick-contact-form .btn {
  border-radius: 50px;
  padding: 16px 40px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--secondary-green)
  );
  border: none;
  box-shadow: 0 10px 30px rgba(26, 71, 42, 0.25);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  color: #fff;
}

.quick-contact-form .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

.quick-contact-form .btn:hover::before {
  left: 100%;
}

.quick-contact-form .btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 50px rgba(26, 71, 42, 0.4);
  background: linear-gradient(
    135deg,
    var(--secondary-green),
    var(--primary-green)
  );
}

.quick-contact-form .btn i {
  transition: all 0.4s ease;
}

.quick-contact-form .btn:hover i {
  transform: translateX(5px) rotate(-10deg);
}

/* Alert Styling */
.quick-contact-section .alert {
  border-radius: 14px;
  border: none;
  padding: 16px 20px;
  font-weight: 500;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.quick-contact-section .alert-success {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  color: #155724;
  border-left: 4px solid #28a745;
}

.quick-contact-section .alert-danger {
  background: linear-gradient(135deg, #f8d7da, #f5c6cb);
  color: #721c24;
  border-left: 4px solid #dc3545;
}

/* Button on the left side */
.quick-contact-section .btn-outline-success {
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  overflow: hidden;
}

.quick-contact-section .btn-outline-success::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.6s ease;
}

.quick-contact-section .btn-outline-success:hover::before {
  left: 100%;
}

.quick-contact-section .btn-outline-success:hover {
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--secondary-green)
  );
  color: #fff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(26, 71, 42, 0.3);
  border-color: var(--primary-green);
}

.quick-contact-section .section-tag {
  display: inline-block;
  background: linear-gradient(
    135deg,
    rgba(26, 71, 42, 0.1),
    rgba(255, 193, 7, 0.1)
  );
  color: var(--primary-green);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 15px;
  border: 1px solid rgba(26, 71, 42, 0.15);
  position: relative;
  z-index: 2;
}

.quick-contact-section h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #1a2a1a;
  position: relative;
  display: inline-block;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.quick-contact-section h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 80px;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--primary-green),
    var(--gold),
    var(--primary-green)
  );
  background-size: 200% auto;
  border-radius: 3px;
  animation: gradientMove 3s linear infinite;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.quick-contact-section p.text-muted {
  color: #6c757d !important;
  font-size: 15px;
  line-height: 1.75;
}

/* ============================================
   RESPONSIVE - MOBILE OPTIMIZED
   ============================================ */
@media (max-width: 991.98px) {
  .quick-contact-section {
    padding: 60px 0;
  }

  .quick-contact-form .card-body {
    padding: 30px 25px !important;
  }

  .quick-contact-section h2 {
    font-size: 2rem;
  }

  .quick-contact-form h5 {
    font-size: 1.3rem;
  }

  .quick-contact-icon {
    width: 45px;
    height: 45px;
  }

  .quick-contact-icon i {
    font-size: 18px;
  }
}

@media (max-width: 767.98px) {
  .quick-contact-section {
    padding: 50px 0;
  }

  .quick-contact-section h2 {
    font-size: 1.75rem;
  }

  .quick-contact-section h2::after {
    width: 60px;
    height: 4px;
  }

  .quick-contact-form .card-body {
    padding: 25px 20px !important;
  }

  .quick-contact-form h5 {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }

  .quick-contact-form h5::after {
    width: 40px;
    height: 3px;
  }

  .quick-contact-form .form-control {
    height: 54px;
    font-size: 13px;
    padding: 14px 16px;
    border-radius: 12px;
  }

  .quick-contact-form textarea.form-control {
    min-height: 110px;
  }

  .quick-contact-form .form-floating label {
    font-size: 13px;
    padding: 16px 16px 0;
  }

  .quick-contact-form .btn {
    padding: 14px 30px;
    font-size: 14px;
  }

  .quick-contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .quick-contact-icon i {
    font-size: 17px;
  }

  .contact-info-list .d-flex {
    padding: 10px;
  }

  .contact-info-list h6 {
    font-size: 13px;
  }

  .contact-info-list small {
    font-size: 11px;
  }
}

@media (max-width: 576px) {
  .quick-contact-section {
    padding: 40px 0;
  }

  .quick-contact-section h2 {
    font-size: 1.5rem;
  }

  .quick-contact-section .section-tag {
    font-size: 10px;
    padding: 5px 16px;
    letter-spacing: 1px;
  }

  .quick-contact-form .card-body {
    padding: 20px 15px !important;
  }

  .quick-contact-form h5 {
    font-size: 1.1rem;
  }

  .quick-contact-form .form-control {
    height: 50px;
    font-size: 13px;
    border-radius: 10px;
  }

  .quick-contact-form textarea.form-control {
    min-height: 100px;
  }

  .quick-contact-form .btn {
    padding: 12px 24px;
    font-size: 13px;
  }

  .quick-contact-form .btn i {
    margin-right: 4px !important;
  }

  /* Contact info in a 2-column grid on mobile */
  .contact-info-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .contact-info-list .d-flex {
    flex-direction: column;
    align-items: center !important;
    text-align: center;
    padding: 12px 8px;
    margin-bottom: 0;
  }

  .contact-info-list .quick-contact-icon {
    margin: 0 0 8px 0 !important;
  }

  .contact-info-list h6 {
    font-size: 12px;
  }

  .contact-info-list small {
    font-size: 10px;
  }

  .quick-contact-section .btn-outline-success {
    padding: 10px 22px;
    font-size: 13px;
    width: 100%;
  }
}
/* end quick contact form styles */

/* ============================================
   CART ICON AND BADGE - IMPROVED
   ============================================ */
.cart-icon-wrapper {
  display: inline-block;
  position: relative;
  padding: 4px 2px;
}

/* Navbar Cart Badge */
.cart-badge {
  position: absolute;
  top: -8px;
  right: -12px;
  background: #dc3545;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
  line-height: 1;
  transition: all 0.3s ease;
  font-family: "Raleway", sans-serif;
}

.cart-badge:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.5);
}

.cart-badge.hidden {
  display: none !important;
}

/* When cart is empty, hide badge */
.cart-badge:empty {
  display: none !important;
}
/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.floating-whatsapp {
  position: fixed;
  right: 30px;
  bottom: 100px;
  z-index: 9997;
  animation: floatWhatsApp 3s ease-in-out infinite;
}

.whatsapp-float-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  box-shadow:
    0 8px 30px rgba(37, 211, 102, 0.4),
    0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 3px solid #fff;
}

.whatsapp-float-link i {
  font-size: 32px;
  transition: transform 0.4s ease;
}

.whatsapp-float-link:hover {
  transform: scale(1.1) rotate(-5deg);
  box-shadow:
    0 12px 40px rgba(37, 211, 102, 0.6),
    0 6px 20px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #128c7e, #25d366);
}

.whatsapp-float-link:hover i {
  transform: scale(1.1);
}

/* WhatsApp Pulse Animation */
.whatsapp-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.6;
  z-index: -1;
  animation: whatsappPulse 2s ease-out infinite;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* WhatsApp Tooltip */
.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: #1a472a;
  color: #fff;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #1a472a;
}

.whatsapp-float-link:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* Float Animation */
@keyframes floatWhatsApp {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 991.98px) {
  .floating-whatsapp {
    right: 20px;
    bottom: 90px;
  }

  .whatsapp-float-link {
    width: 55px;
    height: 55px;
  }

  .whatsapp-float-link i {
    font-size: 28px;
  }

  .whatsapp-tooltip {
    display: none; /* Hide tooltip on touch devices */
  }
}

@media (max-width: 576px) {
  .floating-whatsapp {
    right: 15px;
    bottom: 80px;
  }

  .whatsapp-float-link {
    width: 50px;
    height: 50px;
    border-width: 2px;
  }

  .whatsapp-float-link i {
    font-size: 24px;
  }
}

/* ============================================
   ADJUST FLOATING BUTTONS LAYOUT
   ============================================ */
/* When floating cart exists (mobile) */
@media (max-width: 991.98px) {
  .floating-whatsapp {
    bottom: 150px; /* Above the floating cart */
  }
}

/* Stack all floating buttons nicely on mobile */
@media (max-width: 576px) {
  .floating-cart {
    bottom: 140px !important;
  }

  .floating-whatsapp {
    bottom: 80px !important;
  }

  .floating-donate-btn {
    bottom: 15px !important;
  }
}

/* ============================================
   FLOATING CART - MOBILE
   ============================================ */
.floating-cart {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  animation: floatCart 2s ease-in-out infinite;
}

.floating-cart-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1a472a, #2d5a27);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 30px rgba(26, 71, 42, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
}

.floating-cart-link:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(26, 71, 42, 0.5);
  color: #fff;
}

.floating-cart-link i {
  font-size: 24px;
}

.floating-cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #dc3545;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 10px rgba(220, 53, 69, 0.4);
  line-height: 1;
}

.floating-cart-badge.hidden {
  display: none !important;
}

.floating-cart-badge:empty {
  display: none !important;
}

@keyframes floatCart {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Hide floating cart on desktop */
@media (min-width: 992px) {
  .floating-cart {
    display: none !important;
  }
}

/* Show floating cart on mobile/tablet */
@media (max-width: 991.98px) {
  .floating-cart {
    display: block;
  }
}

/* Mobile adjustments */
@media (max-width: 576px) {
  .floating-cart {
    bottom: 20px;
    right: 20px;
  }

  .floating-cart-link {
    width: 50px;
    height: 50px;
  }

  .floating-cart-link i {
    font-size: 20px;
  }

  .floating-cart-badge {
    min-width: 20px;
    height: 20px;
    font-size: 10px;
    padding: 0 6px;
    top: -4px;
    right: -4px;
  }
}

/* ============================================
   CART BADGE ANIMATION
   ============================================ */
@keyframes cartBounce {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.3);
  }
  50% {
    transform: scale(0.9);
  }
  70% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.cart-badge.bounce,
.floating-cart-badge.bounce {
  animation: cartBounce 0.6s ease;
}
/* end cart-badge styles */

/* ============================================
   NEWSLETTER SECTION - GREEN THEME
   ============================================ */
.newsletter-section {
  background: var(--primary-green) !important;
  border-top: 3px solid var(--gold);
  padding: 20px 0;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(255, 193, 7, 0.05) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.newsletter-section h6 {
  color: #fff !important;
  font-weight: 700;
}

.newsletter-section .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

.newsletter-section .form-control {
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 50px !important;
  padding: 10px 18px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.newsletter-section .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-section .form-control:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.15);
}

.newsletter-section .btn-success {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a472a;
  border-radius: 50px !important;
  padding: 10px 24px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.newsletter-section .btn-success:hover {
  background: #e6a800;
  border-color: #e6a800;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.3);
}

.newsletter-section .btn-success i {
  color: #1a472a;
}

/* Newsletter Admin Styles */
.newsletter-management .card {
  border-radius: 12px !important;
}

.newsletter-management .card-header {
  background: var(--primary-green) !important;
  color: #fff !important;
  border-radius: 12px 12px 0 0 !important;
  padding: 12px 20px !important;
}

.newsletter-management .card-header .fw-bold {
  color: #fff !important;
}

.newsletter-management .card-header .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

.newsletter-management .nav-tabs .nav-link {
  border: none;
  color: #6c757d;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.newsletter-management .nav-tabs .nav-link:hover {
  background: rgba(26, 71, 42, 0.05);
  color: var(--primary-green);
}

.newsletter-management .nav-tabs .nav-link.active {
  background: var(--primary-green);
  color: #fff;
}

.newsletter-management .stat-card {
  border-radius: 12px !important;
  transition: all 0.3s ease;
}

.newsletter-management .stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08) !important;
}

.newsletter-management .stat-card .text-success {
  color: var(--primary-green) !important;
}

/* Template Cards */
.template-card {
  border: 2px solid #f0f0f0 !important;
  border-radius: 12px !important;
  transition: all 0.3s ease;
}

.template-card:hover {
  border-color: var(--primary-green) !important;
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08) !important;
}

.template-card .badge.bg-success {
  background: var(--primary-green) !important;
}

.template-card .btn-outline-success {
  color: var(--primary-green);
  border-color: var(--primary-green);
}

.template-card .btn-outline-success:hover {
  background: var(--primary-green);
  color: #fff;
}

/* Subscribe Form in Footer */
.newsletter-subscribe-form .form-control {
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-radius: 50px !important;
  padding: 10px 18px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.newsletter-subscribe-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-subscribe-form .form-control:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.1);
}

.newsletter-subscribe-form .btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--primary-green);
  border-radius: 50px !important;
  padding: 10px 24px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.newsletter-subscribe-form .btn-gold:hover {
  background: #e6a800;
  border-color: #e6a800;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.3);
}

/* Responsive */
@media (max-width: 767.98px) {
  .newsletter-section .d-flex {
    flex-direction: column;
    gap: 10px !important;
  }

  .newsletter-section .form-control {
    width: 100% !important;
  }

  .newsletter-section .btn-success {
    width: 100%;
  }
}
/* end news letter */

/* Purple Theme for Clan Management */
.bg-purple {
  background-color: #6f42c1 !important;
}

.text-purple {
  color: #6f42c1 !important;
}

.btn-purple {
  background-color: #6f42c1;
  border-color: #6f42c1;
  color: #fff;
}

.btn-purple:hover {
  background-color: #5a32a3;
  border-color: #5a32a3;
  color: #fff;
}

.hover-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08) !important;
}

.stat-icon-wrapper .stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50% !important;
}
/* end register clans */

/* Teal Theme for Individual Functions */
.bg-teal {
  background-color: #20c997 !important;
}

.text-teal {
  color: #20c997 !important;
}

.btn-teal {
  background-color: #20c997;
  border-color: #20c997;
  color: #fff;
}

.btn-teal:hover {
  background-color: #1ba67e;
  border-color: #1ba67e;
  color: #fff;
}

/* end individual dial */
/* ============================================
   PAGE LOADER - CULTURAL THEME
   ============================================ */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page-loader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-container {
  max-width: 400px;
  padding: 30px;
}

/* Loader Symbol - Drum Animation */
.loader-symbol {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
}

.drum-beat {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  animation: drumPulse 1.2s ease-in-out infinite;
}

.drum-beat i {
  font-size: 50px;
  color: #1a472a;
}

@keyframes drumPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.7;
  }
}

/* Circle Rings */
.circle-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
}

.circle-ring .ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid transparent;
  animation: ringRotate 2s linear infinite;
}

.circle-ring .ring:nth-child(1) {
  border-top-color: #1a472a;
  animation-duration: 1.5s;
}

.circle-ring .ring:nth-child(2) {
  border-right-color: #ffc107;
  animation-duration: 2s;
  animation-delay: 0.5s;
}

.circle-ring .ring:nth-child(3) {
  border-bottom-color: #1a472a;
  animation-duration: 2.5s;
  animation-delay: 1s;
}

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

/* Loader Text */
.loader-text h3 {
  font-family: "Raleway", sans-serif;
  letter-spacing: 1px;
  animation: fadeInText 1s ease-out;
}

.loader-text p {
  font-size: 14px;
  animation: fadeInText 1.2s ease-out;
}

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

/* Progress Bar */
.loader-progress {
  width: 200px;
  height: 4px;
  background: #e9ecef;
  border-radius: 2px;
  margin: 15px auto 0;
  overflow: hidden;
  position: relative;
}

.loader-progress .progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #1a472a, #ffc107);
  border-radius: 2px;
  transition: width 0.1s linear;
  position: relative;
}

.loader-progress .progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
  animation: progressGlow 1s ease-in-out infinite;
}

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

/* Cultural Patterns */
.loader-patterns {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.loader-patterns span {
  width: 8px;
  height: 8px;
  background: #1a472a;
  border-radius: 2px;
  animation: patternBounce 1.2s ease-in-out infinite;
}

.loader-patterns span:nth-child(1) {
  animation-delay: 0s;
  background: #1a472a;
}

.loader-patterns span:nth-child(2) {
  animation-delay: 0.2s;
  background: #ffc107;
}

.loader-patterns span:nth-child(3) {
  animation-delay: 0.4s;
  background: #1a472a;
}

.loader-patterns span:nth-child(4) {
  animation-delay: 0.6s;
  background: #ffc107;
}

@keyframes patternBounce {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(2.5);
  }
}

/* Loader Fade Out Animation */
.page-loader .loader-container {
  animation: loaderAppear 0.6s ease-out;
}

@keyframes loaderAppear {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive */
@media (max-width: 576px) {
  .loader-symbol {
    width: 80px;
    height: 80px;
  }

  .drum-beat i {
    font-size: 35px;
  }

  .circle-ring {
    width: 80px;
    height: 80px;
  }

  .loader-text h3 {
    font-size: 1.2rem;
  }

  .loader-progress {
    width: 150px;
  }
}
/* end styles for css loader */

/* ============================================
   PALACE RULES SECTION - RICH CULTURAL DESIGN
   ============================================ */
.palace-rules-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    #0d1b0d 0%,
    #1a2a1a 25%,
    #1a472a 50%,
    #2d5a27 75%,
    #3d7a3a 100%
  );
}

/* Overlay Pattern */
.palace-rules-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(
      circle at 15% 20%,
      rgba(255, 193, 7, 0.08) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(255, 193, 7, 0.06) 0%,
      transparent 45%
    ),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 3px,
      rgba(255, 255, 255, 0.012) 3px,
      rgba(255, 255, 255, 0.012) 6px
    );
  pointer-events: none;
}

/* ============================================
   NATURE DECORATIONS
   ============================================ */
.nature-decorations {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

/* Drums */
.deco-drum {
  position: absolute;
  color: rgba(255, 193, 7, 0.08);
  animation: floatDrum 8s ease-in-out infinite;
}

.drum-1 {
  top: 8%;
  left: 4%;
  font-size: 90px;
  animation-delay: 0s;
}
.drum-2 {
  bottom: 12%;
  right: 5%;
  font-size: 110px;
  animation-delay: 2s;
}
.drum-3 {
  top: 45%;
  right: 3%;
  font-size: 70px;
  animation-delay: 4s;
}

@keyframes floatDrum {
  0%,
  100% {
    transform: translateY(0) rotate(-5deg);
    opacity: 0.08;
  }
  50% {
    transform: translateY(-25px) rotate(5deg);
    opacity: 0.15;
  }
}

/* Trees */
.deco-tree {
  position: absolute;
  color: rgba(74, 140, 92, 0.12);
  animation: swayTree 10s ease-in-out infinite;
}

.tree-1 {
  bottom: 5%;
  left: 8%;
  font-size: 130px;
  animation-delay: 0s;
}
.tree-2 {
  top: 10%;
  right: 10%;
  font-size: 100px;
  animation-delay: 3s;
}
.tree-3 {
  bottom: 20%;
  right: 15%;
  font-size: 85px;
  animation-delay: 5s;
}
.tree-4 {
  top: 35%;
  left: 2%;
  font-size: 75px;
  animation-delay: 7s;
}

@keyframes swayTree {
  0%,
  100% {
    transform: rotate(-3deg) scale(1);
    opacity: 0.12;
  }
  50% {
    transform: rotate(3deg) scale(1.05);
    opacity: 0.18;
  }
}

/* Leaves */
.deco-leaf {
  position: absolute;
  color: rgba(255, 193, 7, 0.1);
  animation: floatLeaf 12s ease-in-out infinite;
}

.leaf-1 {
  top: 25%;
  left: 12%;
  font-size: 45px;
  animation-delay: 1s;
}
.leaf-2 {
  bottom: 35%;
  right: 8%;
  font-size: 55px;
  animation-delay: 4s;
}
.leaf-3 {
  top: 60%;
  left: 5%;
  font-size: 40px;
  animation-delay: 6s;
}
.leaf-4 {
  top: 15%;
  right: 25%;
  font-size: 50px;
  animation-delay: 8s;
}

@keyframes floatLeaf {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.1;
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
    opacity: 0.18;
  }
}

/* Fire/Spirit */
.deco-fire {
  position: absolute;
  color: rgba(255, 193, 7, 0.08);
  animation: flickerFire 4s ease-in-out infinite;
}

.fire-1 {
  top: 70%;
  left: 20%;
  font-size: 60px;
  animation-delay: 0s;
}
.fire-2 {
  top: 5%;
  left: 45%;
  font-size: 45px;
  animation-delay: 2s;
}

@keyframes flickerFire {
  0%,
  100% {
    transform: scale(1) translateY(0);
    opacity: 0.08;
  }
  25% {
    transform: scale(1.1) translateY(-5px);
    opacity: 0.15;
  }
  50% {
    transform: scale(0.95) translateY(0);
    opacity: 0.1;
  }
  75% {
    transform: scale(1.05) translateY(-3px);
    opacity: 0.12;
  }
}

/* ============================================
   SECTION HEADER
   ============================================ */
.palace-section-tag {
  display: inline-block;
  background: linear-gradient(
    135deg,
    rgba(255, 193, 7, 0.2),
    rgba(255, 193, 7, 0.1)
  );
  color: #ffc107;
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 193, 7, 0.3);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 193, 7, 0.4);
    border-color: rgba(255, 193, 7, 0.6);
  }
}

.palace-title {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  position: relative;
  display: inline-block;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.5px;
  line-height: 1.2;
  z-index: 2;
  margin-bottom: 10px;
}

.palace-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #ffc107, transparent);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.6);
  animation: expandWidth 1.2s ease-out;
}

@keyframes expandWidth {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 120px;
    opacity: 1;
  }
}

.palace-subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 1px;
  margin-top: 20px;
  font-style: italic;
  position: relative;
  z-index: 2;
}

.palace-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
  position: relative;
  z-index: 2;
}

.palace-divider span {
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffc107, transparent);
}

.palace-divider i {
  color: #ffc107;
  font-size: 20px;
  animation: pulse 2s ease-in-out infinite;
  text-shadow: 0 0 20px rgba(255, 193, 7, 0.6);
}

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

/* ============================================
   RULES GRID
   ============================================ */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

/* Rule Card */
.rule-card {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.04)
  );
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  animation: ruleFadeIn 0.6s ease-out both;
  opacity: 0;
}

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

.rule-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffc107, transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.rule-card:hover::before {
  opacity: 1;
}

.rule-card::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: radial-gradient(
    circle,
    rgba(255, 193, 7, 0.12) 0%,
    transparent 70%
  );
  border-radius: 50%;
  transition: all 0.6s ease;
  pointer-events: none;
}

.rule-card:hover::after {
  width: 500px;
  height: 500px;
}

.rule-card:hover {
  transform: translateY(-8px) scale(1.01);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0.06)
  );
  border-color: rgba(255, 193, 7, 0.4);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(255, 193, 7, 0.1);
}

/* Rule Number */
.rule-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(255, 193, 7, 0.25),
    rgba(26, 71, 42, 0.3)
  );
  border: 2px solid rgba(255, 193, 7, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.rule-number::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 18px;
  background: conic-gradient(from 0deg, #ffc107, #1a472a, #ffc107);
  opacity: 0;
  z-index: -1;
  animation: rotateConic 3s linear infinite;
  transition: opacity 0.5s ease;
}

@keyframes rotateConic {
  to {
    transform: rotate(360deg);
  }
}

.rule-card:hover .rule-number::before {
  opacity: 0.5;
}

.rule-card:hover .rule-number {
  background: linear-gradient(135deg, #ffc107, #e6a800);
  border-color: #ffc107;
  transform: scale(1.08) rotate(-5deg);
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

.rule-number span {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 900;
  color: #ffc107;
  transition: all 0.4s ease;
  line-height: 1;
}

.rule-card:hover .rule-number span {
  color: #1a2a1a;
  transform: scale(1.1);
}

/* Rule Icon */
.rule-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
  position: relative;
  top: 5px;
}

.rule-icon i {
  color: #ffc107;
  font-size: 16px;
  transition: all 0.4s ease;
  text-shadow: 0 0 10px rgba(255, 193, 7, 0.4);
}

.rule-card:hover .rule-icon {
  background: linear-gradient(135deg, #ffc107, #e6a800);
  border-color: #ffc107;
  transform: scale(1.1) rotate(-8deg);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.rule-card:hover .rule-icon i {
  color: #1a2a1a;
  text-shadow: none;
  transform: scale(1.1);
}

/* Rule Content */
.rule-content {
  flex: 1;
  padding-top: 5px;
}

.rule-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.2px;
  transition: all 0.3s ease;
}

.rule-card:hover .rule-content p {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Rule Glow Bar */
.rule-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffc107, #1a472a, #ffc107);
  background-size: 200% auto;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
  border-radius: 0 0 20px 20px;
}

.rule-card:hover .rule-glow {
  transform: scaleX(1);
  animation: gradientMove 2s linear infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* ============================================
   CLOSING NOTE
   ============================================ */
.palace-closing-note {
  margin-top: 60px;
  text-align: center;
  padding: 40px 30px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.03)
  );
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 193, 7, 0.25);
  border-radius: 24px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.palace-closing-note::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #ffc107, transparent);
  animation: glowLine 3s ease-in-out infinite;
}

@keyframes glowLine {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.closing-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(
    135deg,
    rgba(255, 193, 7, 0.2),
    rgba(26, 71, 42, 0.2)
  );
  border: 2px solid rgba(255, 193, 7, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2.5s ease-in-out infinite;
}

.closing-icon i {
  color: #ffc107;
  font-size: 28px;
  text-shadow: 0 0 20px rgba(255, 193, 7, 0.6);
}

.closing-text {
  color: #fff;
  font-size: 17px;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 12px;
  position: relative;
  z-index: 2;
}

.closing-text strong {
  color: #ffc107;
  font-weight: 800;
}

.closing-subtext {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ============================================
   RESPONSIVE - MOBILE OPTIMIZED
   ============================================ */
@media (max-width: 991.98px) {
  .palace-rules-section {
    padding: 70px 0;
  }

  .palace-title {
    font-size: 2.2rem;
  }

  .rules-grid {
    gap: 16px;
  }

  .rule-card {
    padding: 18px 18px;
    gap: 14px;
  }

  .rule-number {
    width: 45px;
    height: 45px;
  }

  .rule-number span {
    font-size: 18px;
  }

  .rule-icon {
    width: 36px;
    height: 36px;
  }

  .rule-icon i {
    font-size: 14px;
  }

  .rule-content p {
    font-size: 13px;
  }
}

@media (max-width: 767.98px) {
  .palace-rules-section {
    padding: 60px 0;
  }

  .palace-title {
    font-size: 1.75rem;
  }

  .palace-title::after {
    width: 80px;
    height: 3px;
  }

  .palace-subtitle {
    font-size: 14px;
  }

  /* Force 1 column on mobile for readability */
  .rules-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rule-card {
    padding: 16px;
    gap: 12px;
    border-radius: 16px;
  }

  .rule-number {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .rule-number span {
    font-size: 16px;
  }

  .rule-icon {
    width: 34px;
    height: 34px;
    top: 4px;
  }

  .rule-icon i {
    font-size: 13px;
  }

  .rule-content {
    padding-top: 3px;
  }

  .rule-content p {
    font-size: 13px;
    line-height: 1.55;
  }

  .palace-closing-note {
    margin-top: 40px;
    padding: 30px 20px;
    border-radius: 18px;
  }

  .closing-icon {
    width: 60px;
    height: 60px;
  }

  .closing-icon i {
    font-size: 24px;
  }

  .closing-text {
    font-size: 15px;
  }

  .closing-subtext {
    font-size: 13px;
  }

  /* Reduce nature decorations on mobile */
  .deco-drum,
  .deco-tree {
    font-size: 60px !important;
    opacity: 0.5;
  }

  .deco-leaf,
  .deco-fire {
    font-size: 30px !important;
    opacity: 0.5;
  }

  .drum-1 {
    top: 5%;
    left: 2%;
    font-size: 55px !important;
  }
  .drum-2 {
    bottom: 8%;
    right: 2%;
    font-size: 65px !important;
  }
  .drum-3 {
    display: none;
  }

  .tree-1 {
    bottom: 3%;
    left: 3%;
    font-size: 70px !important;
  }
  .tree-2 {
    top: 5%;
    right: 3%;
    font-size: 60px !important;
  }
  .tree-3 {
    display: none;
  }
  .tree-4 {
    display: none;
  }
}

@media (max-width: 576px) {
  .palace-rules-section {
    padding: 50px 0;
  }

  .palace-title {
    font-size: 1.5rem;
  }

  .palace-section-tag {
    font-size: 10px;
    padding: 6px 16px;
    letter-spacing: 1.5px;
  }

  .palace-subtitle {
    font-size: 13px;
  }

  .rule-card {
    padding: 14px;
    gap: 10px;
  }

  .rule-number {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .rule-number span {
    font-size: 15px;
  }

  .rule-icon {
    width: 30px;
    height: 30px;
    top: 3px;
  }

  .rule-icon i {
    font-size: 12px;
  }

  .rule-content {
    padding-top: 2px;
  }

  .rule-content p {
    font-size: 12px;
    line-height: 1.5;
  }

  .palace-closing-note {
    padding: 25px 15px;
  }

  .closing-icon {
    width: 50px;
    height: 50px;
  }

  .closing-icon i {
    font-size: 20px;
  }

  .closing-text {
    font-size: 13px;
    line-height: 1.6;
  }

  .closing-subtext {
    font-size: 12px;
  }

  .nature-decorations {
    opacity: 0.4;
  }
}
/* end amateeka */

/* ============================================
   PAYMENT INSTRUCTION CARDS - ENHANCED
   ============================================ */
.payment-instruction-card {
  background: linear-gradient(
    135deg,
    rgba(26, 71, 42, 0.05),
    rgba(255, 193, 7, 0.03)
  );
  border: 1px solid rgba(26, 71, 42, 0.15);
  border-radius: 16px;
  overflow: hidden;
  animation: cardFadeIn 0.5s ease-out;
}

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

.payment-instruction-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--secondary-green)
  );
  color: #fff;
  border-bottom: 3px solid var(--gold);
}

.payment-instruction-header i {
  font-size: 20px;
  color: var(--gold);
  text-shadow: 0 0 15px rgba(255, 193, 7, 0.5);
}

.payment-instruction-header h6 {
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.3px;
}

.payment-instruction-body {
  padding: 20px;
}

.payment-instruction-body > p {
  color: #333;
  font-size: 14px;
  line-height: 1.7;
  padding: 12px 16px;
  background: #fff;
  border-radius: 10px;
  border-left: 4px solid var(--gold);
  margin-bottom: 16px;
}

/* Payment Details Grid */
.payment-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.payment-detail-item {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(26, 71, 42, 0.08);
  transition: all 0.3s ease;
}

.payment-detail-item:hover {
  border-color: var(--primary-green);
  box-shadow: 0 6px 20px rgba(26, 71, 42, 0.08);
  transform: translateY(-2px);
}

.payment-detail-item .detail-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #6c757d;
  font-weight: 700;
  margin-bottom: 4px;
}

.payment-detail-item .detail-value {
  font-size: 15px;
  font-weight: 800;
  color: #1a2a1a;
  word-break: break-word;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.payment-detail-item .detail-value.copyable {
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.payment-detail-item .detail-value.copyable:hover {
  color: var(--primary-green);
}

.payment-detail-item .detail-value.copyable i {
  color: var(--primary-green);
  font-size: 12px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.payment-detail-item .detail-value.copyable:hover i {
  opacity: 1;
  transform: scale(1.15);
}

.payment-detail-item .detail-value.copied {
  color: #28a745;
}

.payment-detail-item .detail-value.copied i {
  color: #28a745;
}

/* Responsive */
@media (max-width: 767.98px) {
  .payment-instruction-header {
    padding: 14px 16px;
  }

  .payment-instruction-header i {
    font-size: 18px;
  }

  .payment-instruction-header h6 {
    font-size: 14px;
  }

  .payment-instruction-body {
    padding: 16px;
  }

  .payment-instruction-body > p {
    padding: 10px 14px;
    font-size: 13px;
  }

  .payment-details-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .payment-detail-item {
    padding: 10px 14px;
  }

  .payment-detail-item .detail-value {
    font-size: 14px;
  }
}
/* end payment instructions */