/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background-color: #f9fafb;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Color Variables */
:root {
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #60a5fa;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --primary-800: #1e40af;
  --primary-900: #1e3a8a;

  --teal-500: #14b8a6;
  --teal-600: #0d9488;

  --gold-400: #fbbf24;
  --gold-500: #f59e0b;
  --gold-600: #d97706;

  --green-500: #10b981;
  --green-600: #059669;

  --red-500: #ef4444;
  --red-600: #dc2626;

  --purple-500: #8b5cf6;
  --purple-600: #7c3aed;

  --orange-500: #f97316;
  --orange-600: #ea580c;

  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;

  --pink-500: #ec4899;
  --pink-600: #db2777;
}

/* Modern Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.header-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.7) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(25px) saturate(200%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header.scrolled .header-background {
  opacity: 1;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  position: relative;
  z-index: 10;
}

/* Enhanced Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: translateY(-2px);
}

.logo-icon {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 12px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
}

.logo:hover .logo-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.logo-heart {
  position: relative;
  z-index: 2;
}

.logo-icon i {
  color: white;
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  opacity: 0.3;
  animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.1;
  }
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-title {
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  letter-spacing: -0.5px;
}

.logo-subtitle {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.5px;
}

/* Enhanced Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #374151;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(102, 126, 234, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

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

.nav-link:hover {
  color: #667eea;
  background: rgba(102, 126, 234, 0.05);
  transform: translateY(-2px);
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.nav-link:hover .nav-icon {
  opacity: 1;
  transform: scale(1.1);
}

.nav-icon i {
  width: 18px;
  height: 18px;
}

.nav-text {
  font-weight: 600;
}

/* User Actions */
.user-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

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

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

.btn i {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: scale(1.1);
}

.btn-profile {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  color: #374151;
  border-color: #d1d5db;
}

.btn-profile:hover {
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.btn-memberships {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1e40af;
  border-color: #93c5fd;
}

.btn-memberships:hover {
  background: linear-gradient(135deg, #bfdbfe 0%, #93c5fd 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.btn-logout {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #dc2626;
  border-color: #fca5a5;
}

.btn-logout:hover {
  background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.2);
}

.btn-login {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  color: #374151;
  border-color: #d1d5db;
}

.btn-login:hover {
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.btn-register {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: #667eea;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-register:hover {
  background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Professional Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  padding: 12px;
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1001;
  backdrop-filter: blur(10px);
  overflow: hidden;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  animation: mobileMenuFloat 3s ease-in-out infinite;
}

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

.mobile-menu-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;
}

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

/* Interactive Indicator */
.mobile-menu-btn .menu-indicator {
  content: "Menu";
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}

.mobile-menu-btn:hover .menu-indicator {
  opacity: 1;
}

.mobile-menu-btn:hover {
  background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.mobile-menu-btn:active {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.mobile-menu-btn.active {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 35px rgba(239, 68, 68, 0.4);
  transform: scale(1.1);
}

/* Professional Hamburger Icon */
.hamburger {
  width: 24px;
  height: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ffffff 0%, #f1f5f9 100%);
  border-radius: 3px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  position: relative;
}

.hamburger-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  border-radius: inherit;
  filter: blur(1px);
  opacity: 0.3;
}

/* Hamburger Animation States */
.hamburger-line-1 {
  transform: translateY(0) rotate(0deg);
}

.hamburger-line-2 {
  opacity: 1;
  transform: scaleX(1);
}

.hamburger-line-3 {
  transform: translateY(0) rotate(0deg);
}

/* Active State Animations */
.mobile-menu-btn.active .hamburger-line-1 {
  transform: translateY(8.5px) rotate(45deg);
  background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
}

.mobile-menu-btn.active .hamburger-line-2 {
  opacity: 0;
  transform: scaleX(0) translateX(-20px);
}

.mobile-menu-btn.active .hamburger-line-3 {
  transform: translateY(-8.5px) rotate(-45deg);
  background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
}

/* Hover Effects for Lines */
.mobile-menu-btn:hover .hamburger-line {
  background: linear-gradient(90deg, #ffffff 0%, #f1f5f9 100%);
  box-shadow: 0 2px 6px rgba(255, 255, 255, 0.3);
}

.mobile-menu-btn:hover .hamburger-line::before {
  opacity: 0.5;
}

/* Active Hover Effects */
.mobile-menu-btn.active:hover .hamburger-line-1,
.mobile-menu-btn.active:hover .hamburger-line-3 {
  background: linear-gradient(90deg, #f87171 0%, #ef4444 100%);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

/* Screen Reader Only Text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Mobile Menu Button Pulse Animation */
.mobile-menu-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  opacity: 0.3;
  animation: mobileMenuPulse 2s ease-in-out infinite;
  z-index: -1;
}

/* Enhanced Mobile Menu Button Glow */
.mobile-menu-btn {
  filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.3));
}

.mobile-menu-btn:hover {
  filter: drop-shadow(0 0 30px rgba(102, 126, 234, 0.5));
}

.mobile-menu-btn.active {
  filter: drop-shadow(0 0 25px rgba(239, 68, 68, 0.5));
}

/* Interactive Indicator */
.mobile-menu-btn::before {
  content: "Menu";
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}

.mobile-menu-btn:hover::before {
  opacity: 1;
}

@keyframes mobileMenuPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.1;
  }
}

.mobile-menu-btn:hover::after {
  animation: mobileMenuPulse 1s ease-in-out infinite;
}

.mobile-menu-btn.active::after {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  animation: mobileMenuPulse 0.8s ease-in-out infinite;
}

/* Ripple Effect on Click */
.mobile-menu-btn.ripple {
  position: relative;
  overflow: hidden;
}

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

.mobile-menu-btn.ripple:active::before {
  width: 300px;
  height: 300px;
}

/* Mobile Navigation Overlay */
/* Mobile navigation overlay removed - now handled in header.php */

/* Mobile navigation overlay active state removed - now handled in header.php */

/* Mobile navigation content removed - now handled in header.php */

/* Mobile navigation content active state removed - now handled in header.php */

/* Mobile menu bounce animation removed - now handled in header.php */

/* Mobile header removed - now handled in header.php */

.mobile-nav-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.mobile-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.mobile-logo-icon {
  background: rgba(255, 255, 255, 0.2);
  padding: 12px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.mobile-logo-icon i {
  width: 24px;
  height: 24px;
  color: white;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.mobile-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-logo-text h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0;
  color: white;
  letter-spacing: -0.5px;
}

.mobile-logo-text p {
  font-size: 12px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.mobile-close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 12px;
  border-radius: 12px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  z-index: 2;
}

.mobile-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.mobile-close-btn i {
  width: 20px;
  height: 20px;
}

/* Mobile Navigation */
.mobile-nav {
  flex: 1;
  padding: 0;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.mobile-nav-item:hover {
  background: rgba(102, 126, 234, 0.02);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  color: #374151;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mobile-nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(102, 126, 234, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

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

.mobile-nav-link:hover {
  background: rgba(102, 126, 234, 0.05);
  color: #667eea;
  padding-left: 32px;
}

.mobile-nav-link i {
  width: 20px;
  height: 20px;
  color: #667eea;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.mobile-nav-link:hover i {
  opacity: 1;
  transform: scale(1.1);
}

.mobile-nav-link span {
  font-weight: 600;
  color: inherit;
}

/* Mobile User Actions */
.mobile-user-actions {
  padding: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(248, 250, 252, 0.8);
}

.mobile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  color: #374151;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.mobile-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.5s ease;
}

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

.mobile-btn:hover {
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.mobile-btn i {
  width: 18px;
  height: 18px;
  color: inherit;
  transition: transform 0.3s ease;
}

.mobile-btn:hover i {
  transform: scale(1.1);
}

/* Mobile Button Variants */
.mobile-btn-profile {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  color: #374151;
}

.mobile-btn-memberships {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1e40af;
}

.mobile-btn-logout {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #dc2626;
}

.mobile-btn-login {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  color: #374151;
}

.mobile-btn-register {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.mobile-btn-register:hover {
  background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Mobile Footer */
.mobile-nav-footer {
  padding: 20px 24px;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(248, 250, 252, 0.5);
}

.mobile-nav-footer p {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .nav-list {
    gap: 4px;
  }

  .nav-link {
    padding: 10px 16px;
    font-size: 14px;
  }

  .nav-icon {
    display: none;
  }

  .user-actions {
    gap: 8px;
  }

  .btn {
    padding: 10px 16px;
    font-size: 13px;
  }

  .btn span {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-content {
    height: 80px;
  }

  .nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
    margin-left: auto;
    margin-right: 0;
  }

  .logo-title {
    font-size: 20px;
  }

  .logo-subtitle {
    font-size: 12px;
  }

  .logo-icon {
    padding: 10px;
  }

  .logo-icon i {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .header-content {
    height: 70px;
  }

  .logo-title {
    font-size: 18px;
  }

  .logo-subtitle {
    font-size: 11px;
  }

  .mobile-nav-content {
    width: 100%;
  }

  .mobile-nav-header {
    padding: 20px;
  }

  .mobile-logo-text h3 {
    font-size: 18px;
  }

  .mobile-logo-text p {
    font-size: 11px;
  }

  .mobile-nav-link {
    padding: 16px 20px;
    font-size: 15px;
  }

  .mobile-user-actions {
    padding: 20px;
  }

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

  /* Mobile menu button optimizations for small screens */
  .mobile-menu-btn {
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
  }

  .hamburger {
    width: 20px;
    height: 16px;
  }

  .hamburger-line {
    height: 2.5px;
  }
}

/* Ensure mobile navigation works on all devices */
@media (max-width: 768px) {
  .mobile-nav-overlay {
    z-index: 10000;
  }

  .mobile-nav-content {
    z-index: 10001;
  }

  .mobile-menu-btn {
    z-index: 10002;
  }
}

/* Fix for very small screens */
@media (max-width: 360px) {
  .mobile-nav-content {
    width: 100%;
    right: 0;
  }

  .mobile-nav-header {
    padding: 16px;
  }

  .mobile-logo {
    gap: 12px;
  }

  .mobile-logo-icon {
    padding: 10px;
  }

  .mobile-logo-icon i {
    width: 20px;
    height: 20px;
  }

  .mobile-logo-text h3 {
    font-size: 16px;
  }

  .mobile-logo-text p {
    font-size: 10px;
  }
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.btn-primary {
  background: var(--primary-600);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-700);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background: white;
  color: var(--primary-700);
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--primary-800) 0%,
    var(--primary-700) 50%,
    var(--teal-600) 100%
  );
}

.hero-background {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.3) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 80% 40%,
      rgba(255, 255, 255, 0.2) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 40% 80%,
      rgba(255, 255, 255, 0.25) 2px,
      transparent 2px
    );
  background-size:
    200px 200px,
    150px 150px,
    100px 100px;
  animation: float 20s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  padding: 120px 0 60px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 800px;
  margin: 2em auto 0 auto;
  color: #1f2937;
  background: transparent;
  box-shadow: none;
}

.stat-item {
  text-align: center;
  background: none;
  color: #1f2937;
}

.stat-icon {
  background: #f3f4f6;
  border-radius: 12px;
  padding: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(30, 41, 59, 0.04);
}

.stat-icon i {
  width: 32px;
  height: 32px;
  color: var(--primary-600);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.9rem;
  color: #6b7280;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-wheel {
  width: 4px;
  height: 12px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  animation: scroll 1.5s infinite;
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section-alt {
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-title .highlight {
  color: var(--primary-600);
}

.section-subtitle {
  font-size: 1.2rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Certification Cards */
.certification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.certification-card {
  position: relative;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  overflow: hidden;
  transition: all 0.3s ease;
}

.certification-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.certification-card.popular {
  border-color: var(--primary-500);
}

.certification-card.premium {
  border-color: var(--gold-500);
}

.card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  z-index: 10;
}

.popular-badge {
  background: var(--primary-500);
  color: white;
}

.premium-badge {
  background: var(--gold-500);
  color: white;
}

.card-header {
  padding: 32px 24px;
  text-align: center;
  position: relative;
}

.certification-card.green .card-header {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
}

.certification-card.blue .card-header {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
}

.certification-card.purple .card-header {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-600));
}

.certification-card.gold .card-header {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
}

.card-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
}

.card-icon {
  position: relative;
  z-index: 10;
  margin-bottom: 16px;
}

.card-icon i {
  width: 48px;
  height: 48px;
  color: white;
}

.card-title {
  position: relative;
  z-index: 10;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.card-subtitle {
  position: relative;
  z-index: 10;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.card-content {
  padding: 24px;
}

.features-section h4 {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 12px;
}

.features-list {
  list-style: none;
  margin-bottom: 24px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #374151;
}

.feature-item.included i {
  color: var(--green-500);
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.feature-more {
  font-size: 14px;
  color: #6b7280;
  font-style: italic;
}

.card-details {
  border-top: 1px solid #e5e7eb;
  padding-top: 16px;
  margin-bottom: 24px;
}

.detail-item {
  margin-bottom: 12px;
}

.detail-label {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
}

.detail-value {
  font-size: 14px;
  color: #1f2937;
  margin-top: 2px;
}

.detail-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-600);
  margin-top: 2px;
}

.btn-card {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-card:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.section-footer {
  text-align: center;
}

.section-footer p {
  color: #6b7280;
  margin-bottom: 24px;
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.pricing-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.popular {
  border-color: var(--primary-500);
}

.pricing-card.premium {
  border-color: var(--gold-500);
}

.pricing-header {
  padding: 32px 24px;
  text-align: center;
  color: white;
  position: relative;
}

.pricing-header.green {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
}

.pricing-header.blue {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
}

.pricing-header.purple {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-600));
}

.pricing-header.gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
}

.pricing-icon {
  margin-bottom: 16px;
}

.pricing-icon i {
  width: 48px;
  height: 48px;
}

.pricing-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-header p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 16px;
}

.pricing-amount {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-note {
  font-size: 0.8rem;
  opacity: 0.8;
}

.pricing-content {
  padding: 24px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 24px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
}

.pricing-features li i {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.pricing-features li:not(.not-included) i {
  color: var(--green-500);
}

.pricing-features li.not-included {
  color: #6b7280;
}

.pricing-features li.not-included i {
  color: #ef4444;
}

.pricing-details {
  border-top: 1px solid #e5e7eb;
  padding-top: 16px;
  margin-bottom: 24px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}

.detail-row .highlight {
  color: var(--primary-600);
  font-weight: 600;
}

.btn-pricing {
  width: 100%;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-pricing.green {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
}

.btn-pricing.blue {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
}

.btn-pricing.purple {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-600));
}

.btn-pricing.gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
}

.btn-pricing:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* CPD Courses */
.cpd-total {
  background: linear-gradient(135deg, var(--primary-600), var(--teal-600));
  color: white;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  max-width: 300px;
  margin: 0 auto 40px;
}

.cpd-total .cpd-icon {
  margin-bottom: 12px;
}

.cpd-total .cpd-icon i {
  width: 48px;
  height: 48px;
}

.cpd-total .cpd-points {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.cpd-total .cpd-label {
  font-size: 1rem;
  opacity: 0.9;
}

.cpd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.cpd-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.cpd-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.cpd-header {
  padding: 24px;
  text-align: center;
  color: white;
  position: relative;
}

.cpd-card.red .cpd-header {
  background: linear-gradient(135deg, var(--red-500), var(--red-600));
}

.cpd-card.green .cpd-header {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
}

.cpd-card.purple .cpd-header {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-600));
}

.cpd-card.blue .cpd-header {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
}

.cpd-card.teal .cpd-header {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
}

.cpd-card.orange .cpd-header {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
}

.cpd-card.indigo .cpd-header {
  background: linear-gradient(135deg, var(--indigo-500), var(--indigo-600));
}

.cpd-card.pink .cpd-header {
  background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
}

.cpd-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
}

.cpd-header .cpd-icon {
  position: relative;
  z-index: 10;
  margin-bottom: 12px;
}

.cpd-header .cpd-icon i {
  width: 40px;
  height: 40px;
}

.cpd-title {
  position: relative;
  z-index: 10;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.cpd-points-badge {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  display: inline-block;
}

.cpd-content {
  padding: 24px;
}

.cpd-description {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 16px;
}

.cpd-certification,
.cpd-validity {
  font-size: 13px;
  color: #374151;
  margin-bottom: 8px;
  padding: 6px 10px;
  background: #f8fafc;
  border-radius: 6px;
  border-left: 3px solid var(--primary-500);
}

.cpd-certification strong,
.cpd-validity strong {
  color: var(--primary-700);
  font-weight: 600;
}

.cpd-footer {
  border-top: 1px solid #e5e7eb;
  padding-top: 16px;
}

.cpd-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.price-label {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
}

.price-amount {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-600);
}

.btn-cpd {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cpd:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.cpd-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.summary-card {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}

.summary-icon {
  background: var(--primary-100);
  border-radius: 12px;
  padding: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.summary-icon i {
  width: 48px;
  height: 48px;
  color: var(--primary-600);
}

.summary-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
}

.summary-card p {
  color: #374151;
  line-height: 1.6;
}

/* Associations */
.associations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.association-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.association-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.association-header {
  padding: 32px 24px;
  text-align: center;
  color: white;
  position: relative;
}

.association-card.blue .association-header {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
}

.association-card.purple .association-header {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-600));
}

.association-card.green .association-header {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
}

.association-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
}

.association-icon {
  position: relative;
  z-index: 10;
  margin-bottom: 16px;
}

.association-icon i {
  width: 64px;
  height: 64px;
}

.association-name {
  position: relative;
  z-index: 10;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.association-full-name {
  position: relative;
  z-index: 10;
  font-size: 1rem;
  opacity: 0.9;
}

.association-content {
  padding: 24px;
}

.association-description {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 24px;
}

.benefits-section h4 {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 12px;
}

.benefits-list {
  list-style: none;
  margin-bottom: 24px;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #374151;
}

.benefits-list li i {
  color: var(--green-500);
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.association-footer {
  border-top: 1px solid #e5e7eb;
  padding-top: 16px;
}

.membership-fee {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.fee-label {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
}

.fee-amount {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-600);
}

.fee-includes {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 16px;
}

.btn-association {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-association:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Medi Bag */
.medibag-icon {
  background: var(--primary-600);
  padding: 16px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.medibag-icon i {
  width: 40px;
  height: 40px;
  color: white;
}

.medibag-tools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.tool-item {
  background: white;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.tool-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.tool-icon {
  border-radius: 12px;
  padding: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.tool-icon.red {
  background: linear-gradient(135deg, var(--red-500), var(--red-600));
}

.tool-icon.blue {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
}

.tool-icon.orange {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
}

.tool-icon.green {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
}

.tool-icon.purple {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-600));
}

.tool-icon i {
  width: 32px;
  height: 32px;
  color: white;
}

.tool-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}

.tool-item p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
}

.medibag-allocation {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.medibag-allocation h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  text-align: center;
  margin-bottom: 32px;
}

.allocation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.allocation-item {
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  border: 2px solid;
  transition: all 0.3s ease;
}

.allocation-item h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.allocation-icon {
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.allocation-icon.included {
  background: var(--green-500);
  border-color: var(--green-500);
}

.allocation-icon.not-included {
  background: #6b7280;
  border-color: #6b7280;
}

.allocation-icon i {
  width: 32px;
  height: 32px;
  color: white;
}

.allocation-item.included {
  border-color: var(--green-500);
  background: rgba(16, 185, 129, 0.05);
}

.allocation-item:not(.included) {
  border-color: #d1d5db;
  background: rgba(107, 114, 128, 0.05);
}

.allocation-item p {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 16px;
}

.allocation-status {
  font-weight: 600;
  font-size: 14px;
}

.allocation-status.included {
  color: var(--green-600);
}

.allocation-status.not-included {
  color: #ef4444;
}

/* Footer */
.footer {
  background: #1f2937;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo .logo-icon {
  background: var(--primary-600);
  padding: 8px;
  border-radius: 8px;
}

.footer-logo h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-logo p {
  font-size: 14px;
  color: #9ca3af;
}

.footer-description {
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 400px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d1d5db;
}

.contact-item i {
  width: 20px;
  height: 20px;
  color: var(--primary-400);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-400);
}

.partner-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.partner-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #374151;
  padding: 16px;
  border-radius: 8px;
}

.partner-item i {
  width: 32px;
  height: 32px;
  color: var(--primary-400);
}

.partner-item h5 {
  font-weight: 600;
  margin-bottom: 4px;
}

.partner-item a {
  color: var(--primary-400);
  text-decoration: none;
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  color: #9ca3af;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--primary-400);
}

.social-links i {
  width: 24px;
  height: 24px;
}

.copyright {
  text-align: right;
}

.copyright p {
  color: #9ca3af;
  font-size: 14px;
  margin-bottom: 4px;
}

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

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

@keyframes bounce {
  0%,
  20%,
  53%,
  80%,
  100% {
    transform: translateY(0);
  }
  40%,
  43% {
    transform: translateY(-15px);
  }
  70% {
    transform: translateY(-7px);
  }
  90% {
    transform: translateY(-3px);
  }
}

@keyframes scroll {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(8px);
  }
  100% {
    opacity: 0;
    transform: translateY(16px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .certification-grid,
  .pricing-grid,
  .cpd-grid,
  .associations-grid {
    grid-template-columns: 1fr;
  }

  .medibag-tools {
    grid-template-columns: repeat(2, 1fr);
  }

  .allocation-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .copyright {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .medibag-tools,
  .allocation-grid {
    grid-template-columns: 1fr;
  }

  .cpd-summary {
    grid-template-columns: 1fr;
  }
}

/* --- Accessibility Improvements --- */
:focus {
  outline: 2px solid var(--primary-600);
  outline-offset: 2px;
}

button:focus,
a:focus {
  outline: 2px solid var(--primary-600);
  outline-offset: 2px;
}

.btn,
.btn-primary,
.btn-outline,
.btn-card,
.btn-pricing,
.btn-cpd,
.btn-association {
  transition:
    background 0.3s,
    color 0.3s,
    box-shadow 0.3s,
    transform 0.2s;
}

.btn:focus,
.btn-primary:focus,
.btn-outline:focus,
.btn-card:focus,
.btn-pricing:focus,
.btn-cpd:focus,
.btn-association:focus {
  box-shadow: 0 0 0 3px var(--primary-200);
}

/* --- Responsive Grid Fixes --- */
@media (max-width: 1024px) {
  .grid-cols-1.lg\:grid-cols-2 {
    grid-template-columns: 1fr !important;
  }
  .grid-cols-1.lg\:grid-cols-2 > * {
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .certification-grid,
  .pricing-grid,
  .cpd-grid,
  .associations-grid,
  .medibag-tools,
  .allocation-grid {
    grid-template-columns: 1fr !important;
  }
}

/* --- Table Responsiveness --- */
.overflow-x-auto {
  overflow-x: auto;
}

/* --- Color Contrast Fixes --- */
.section-title .highlight,
.btn-outline:hover,
.btn-outline:focus {
  color: var(--primary-700);
}

.btn-outline {
  border: 2px solid var(--primary-600);
  color: var(--primary-600);
  background: #fff;
}

.btn-outline:hover,
.btn-outline:focus {
  background: var(--primary-50);
  color: var(--primary-700);
}

/* --- Icon Alignment --- */
.icon-text,
.contact-item,
.partner-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- Ensure Buttons/Links are Large Enough for Touch --- */
button,
.btn,
.btn-card,
.btn-pricing,
.btn-cpd,
.btn-association {
  min-height: 44px;
  min-width: 44px;
}

/* --- Miscellaneous Fixes --- */
::-webkit-scrollbar {
  width: 8px;
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

/* --- End of Fixes --- */

/* --- Qualifications Section Styles --- */
.qualifications-container {
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 20px;
  padding: 2rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.qualifications-container::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    #3b82f6,
    #8b5cf6,
    #ec4899,
    #10b981,
    #f59e0b
  );
  border-radius: 22px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.qualifications-container:hover::after {
  opacity: 0.1;
}

.qualifications-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(59, 130, 246, 0.1) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 80% 40%,
      rgba(139, 92, 246, 0.1) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 40% 80%,
      rgba(236, 72, 153, 0.1) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 60% 10%,
      rgba(16, 185, 129, 0.1) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 10% 70%,
      rgba(245, 158, 11, 0.1) 2px,
      transparent 2px
    );
  background-size:
    200px 200px,
    150px 150px,
    100px 100px,
    180px 180px,
    120px 120px;
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

.qualifications-track {
  display: flex;
  animation: scrollQualifications 40s linear infinite;
  gap: 2rem;
  padding: 1rem 0;
  width: max-content;
}

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

.qualification-card {
  flex-shrink: 0;
  width: 280px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.qualification-card::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;
}

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

.qualification-card:hover {
  transform: translateY(-12px) scale(1.05) rotateX(5deg);
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.25);
  border-color: #3b82f6;
}

.qualification-card:hover::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.1),
    rgba(139, 92, 246, 0.1)
  );
  border-radius: 20px;
  pointer-events: none;
  z-index: 1;
}

.qualification-logo {
  padding: 2rem;
  text-align: center;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.qualification-logo::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.05) 0%,
    transparent 70%
  );
  animation: float 8s ease-in-out infinite;
}

.qualification-logo img {
  max-width: 120px;
  max-height: 80px;
  object-fit: contain;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
  border-radius: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.qualification-card:hover .qualification-logo img {
  transform: scale(1.15) rotate(2deg);
  filter: brightness(1.1) contrast(1.2) saturate(1.3);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.2);
  background: rgba(255, 255, 255, 0.2);
}

.logo-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 80px;
  margin: 0 auto;
  border-radius: 16px;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.logo-placeholder i {
  width: 32px;
  height: 32px;
  margin-bottom: 0.5rem;
}

.logo-placeholder.tquk {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.logo-placeholder.gatehouse {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.logo-placeholder.qualifi {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.logo-placeholder.aqf {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.logo-placeholder.cpd {
  background: linear-gradient(135deg, #ec4899, #db2777);
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.3);
}

.qualification-info {
  padding: 1.5rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.qualification-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.qualification-card:hover .qualification-info h3 {
  color: #3b82f6;
}

.qualification-info p {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0;
  font-weight: 500;
}

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

@keyframes logoGlow {
  0%,
  100% {
    filter: brightness(1) contrast(1.1) saturate(1.1)
      drop-shadow(0 0 5px rgba(59, 130, 246, 0.3));
  }
  50% {
    filter: brightness(1.1) contrast(1.2) saturate(1.3)
      drop-shadow(0 0 15px rgba(59, 130, 246, 0.5));
  }
}

.qualification-logo img {
  animation:
    logoLoad 0.8s ease-out,
    logoGlow 3s ease-in-out infinite 0.8s;
}

.qualification-card:nth-child(1) .qualification-logo img {
  animation-delay: 0s;
}
.qualification-card:nth-child(2) .qualification-logo img {
  animation-delay: 0.6s;
}
.qualification-card:nth-child(3) .qualification-logo img {
  animation-delay: 1.2s;
}
.qualification-card:nth-child(4) .qualification-logo img {
  animation-delay: 1.8s;
}
.qualification-card:nth-child(5) .qualification-logo img {
  animation-delay: 2.4s;
}

/* Additional beautiful effects */
.qualification-card::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.3) 0%,
    transparent 70%
  );
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
  z-index: 0;
}

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

/* Enhanced scroll animation with pause on hover */
.qualifications-track:hover {
  animation-play-state: paused;
}

/* Beautiful parallax effect for the container */
.qualifications-container {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.qualification-card {
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

/* Beautiful loading animation for logos */
@keyframes logoLoad {
  0% {
    opacity: 0;
    transform: scale(0.8) rotate(-10deg);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1) rotate(5deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.qualification-logo img {
  animation:
    logoLoad 0.8s ease-out,
    logoGlow 3s ease-in-out infinite 0.8s;
}

/* --- Hospital Partners Section Styles --- */
.hospital-partners-container {
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 20px;
  padding: 2rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hospital-partners-container::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    #0ea5e9,
    #3b82f6,
    #8b5cf6,
    #ec4899,
    #10b981
  );
  border-radius: 22px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hospital-partners-container:hover::after {
  opacity: 0.1;
}

.hospital-partners-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(14, 165, 233, 0.1) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 80% 40%,
      rgba(59, 130, 246, 0.1) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 40% 80%,
      rgba(139, 92, 246, 0.1) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 60% 10%,
      rgba(236, 72, 153, 0.1) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 10% 70%,
      rgba(16, 185, 129, 0.1) 2px,
      transparent 2px
    );
  background-size:
    200px 200px,
    150px 150px,
    100px 100px,
    180px 180px,
    120px 120px;
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

.hospital-partners-track {
  display: flex;
  animation: scrollHospitals 50s linear infinite;
  gap: 2rem;
  padding: 1rem 0;
  width: max-content;
}

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

.hospital-partner-card {
  flex-shrink: 0;
  width: 300px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.hospital-partner-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(14, 165, 233, 0.1),
    transparent
  );
  transition: left 0.6s ease;
  z-index: 1;
}

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

.hospital-partner-card:hover {
  transform: translateY(-12px) scale(1.05) rotateX(5deg);
  box-shadow: 0 20px 60px rgba(14, 165, 233, 0.25);
  border-color: #0ea5e9;
}

.hospital-partner-card:hover::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(14, 165, 233, 0.1),
    rgba(59, 130, 246, 0.1)
  );
  border-radius: 20px;
  pointer-events: none;
  z-index: 1;
}

.hospital-logo {
  padding: 2rem;
  text-align: center;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 20px 20px 0 0;
  position: relative;
  z-index: 2;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hospital-logo::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(
    circle,
    rgba(14, 165, 233, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
  z-index: 0;
}

.hospital-partner-card:hover .hospital-logo::before {
  width: 200%;
  height: 200%;
}

.hospital-logo img {
  max-width: 140px;
  max-height: 100px;
  object-fit: contain;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
  border-radius: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.hospital-partner-card:hover .hospital-logo img {
  transform: scale(1.15) rotate(2deg);
  filter: brightness(1.1) contrast(1.2) saturate(1.3);
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.2);
  background: rgba(255, 255, 255, 0.2);
}

.logo-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 80px;
  background: linear-gradient(135deg, #0ea5e9, #3b82f6);
  border-radius: 12px;
  color: white;
  font-weight: 600;
  font-size: 0.8rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
}

.logo-placeholder i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.logo-placeholder.asiri {
  background: linear-gradient(135deg, #0ea5e9, #3b82f6);
}

.logo-placeholder.hemas {
  background: linear-gradient(135deg, #ef4444, #f97316);
}

.logo-placeholder.kanola {
  background: linear-gradient(135deg, #10b981, #059669);
}

.logo-placeholder.kings {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.logo-placeholder.lakeside {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.logo-placeholder.ninewells {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.logo-placeholder.santadora {
  background: linear-gradient(135deg, #ec4899, #db2777);
}

.logo-placeholder.sethma {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
}

.logo-placeholder.singhe {
  background: linear-gradient(135deg, #f59e0b, #eab308);
}

.logo-placeholder.sithniwana {
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
}

.logo-placeholder.suwasiri {
  background: linear-gradient(135deg, #10b981, #34d399);
}

.hospital-info {
  padding: 1.5rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hospital-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.5rem 0;
  transition: color 0.3s ease;
}

.hospital-partner-card:hover .hospital-info h3 {
  color: #0ea5e9;
}

.hospital-info p {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0;
  font-weight: 500;
}

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

@keyframes hospitalGlow {
  0%,
  100% {
    filter: brightness(1) contrast(1.1) saturate(1.1)
      drop-shadow(0 0 5px rgba(14, 165, 233, 0.3));
  }
  50% {
    filter: brightness(1.1) contrast(1.2) saturate(1.3)
      drop-shadow(0 0 15px rgba(14, 165, 233, 0.5));
  }
}

.hospital-logo img {
  animation: hospitalGlow 4s ease-in-out infinite;
}

.hospital-partner-card:nth-child(1) .hospital-logo img {
  animation-delay: 0s;
}
.hospital-partner-card:nth-child(2) .hospital-logo img {
  animation-delay: 0.4s;
}
.hospital-partner-card:nth-child(3) .hospital-logo img {
  animation-delay: 0.8s;
}
.hospital-partner-card:nth-child(4) .hospital-logo img {
  animation-delay: 1.2s;
}
.hospital-partner-card:nth-child(5) .hospital-logo img {
  animation-delay: 1.6s;
}
.hospital-partner-card:nth-child(6) .hospital-logo img {
  animation-delay: 2s;
}
.hospital-partner-card:nth-child(7) .hospital-logo img {
  animation-delay: 2.4s;
}
.hospital-partner-card:nth-child(8) .hospital-logo img {
  animation-delay: 2.8s;
}
.hospital-partner-card:nth-child(9) .hospital-logo img {
  animation-delay: 3.2s;
}
.hospital-partner-card:nth-child(10) .hospital-logo img {
  animation-delay: 3.6s;
}
.hospital-partner-card:nth-child(11) .hospital-logo img {
  animation-delay: 4s;
}

/* Hospital Modal Styles */
.hospital-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease-out;
}

.hospital-modal-content {
  background: white;
  margin: 2% auto;
  padding: 0;
  border-radius: 20px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideInUp 0.4s ease-out;
  position: relative;
}

.hospital-modal-header {
  background: linear-gradient(135deg, #0ea5e9, #3b82f6);
  color: white;
  padding: 2rem;
  border-radius: 20px 20px 0 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}

.hospital-modal-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
  pointer-events: none;
}

.hospital-modal-logo {
  flex-shrink: 0;
}

.modal-logo-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.modal-logo-placeholder.asiri {
  background: linear-gradient(
    135deg,
    rgba(14, 165, 233, 0.8),
    rgba(59, 130, 246, 0.8)
  );
}

.modal-logo-placeholder.hemas {
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.8),
    rgba(249, 115, 22, 0.8)
  );
}

.modal-logo-placeholder.kanola {
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.8),
    rgba(5, 150, 105, 0.8)
  );
}

.modal-logo-placeholder.kings {
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.8),
    rgba(217, 119, 6, 0.8)
  );
}

.modal-logo-placeholder.lakeside {
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.8),
    rgba(8, 145, 178, 0.8)
  );
}

.modal-logo-placeholder.ninewells {
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.8),
    rgba(124, 58, 237, 0.8)
  );
}

.modal-logo-placeholder.santadora {
  background: linear-gradient(
    135deg,
    rgba(236, 72, 153, 0.8),
    rgba(219, 39, 119, 0.8)
  );
}

.modal-logo-placeholder.sethma {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.8),
    rgba(79, 70, 229, 0.8)
  );
}

.modal-logo-placeholder.singhe {
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.8),
    rgba(234, 179, 8, 0.8)
  );
}

.modal-logo-placeholder.sithniwana {
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.8),
    rgba(168, 85, 247, 0.8)
  );
}

.modal-logo-placeholder.suwasiri {
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.8),
    rgba(52, 211, 153, 0.8)
  );
}

.modal-logo-placeholder i {
  font-size: 2.5rem;
  color: white;
}

.hospital-modal-title {
  flex: 1;
}

.hospital-modal-title h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.hospital-modal-title p {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0;
}

.hospital-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.hospital-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.hospital-modal-close i {
  font-size: 1.2rem;
  color: white;
}

.hospital-modal-body {
  padding: 2rem;
}

.hospital-overview {
  margin-bottom: 2rem;
}

.hospital-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
}

.hospital-details {
  display: grid;
  gap: 2rem;
}

.hospital-section {
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid #0ea5e9;
  transition: all 0.3s ease;
}

.hospital-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.1);
}

.hospital-section h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hospital-section h4 i {
  color: #0ea5e9;
}

.specialties-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.5rem;
}

.specialties-list li {
  padding: 0.75rem 1rem;
  background: white;
  border-radius: 8px;
  border-left: 3px solid #0ea5e9;
  font-weight: 500;
  color: #374151;
  transition: all 0.3s ease;
}

.specialties-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: white;
  border-radius: 8px;
  font-weight: 500;
  color: #374151;
  transition: all 0.3s ease;
}

.benefits-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

.benefits-list li i {
  color: #10b981;
  font-size: 1.1rem;
}

.training-opportunities,
.career-opportunities {
  display: grid;
  gap: 0.75rem;
}

.training-opportunity,
.career-opportunity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: white;
  border-radius: 8px;
  border-left: 3px solid #0ea5e9;
  transition: all 0.3s ease;
}

.training-opportunity:hover,
.career-opportunity:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

.training-opportunity i,
.career-opportunity i {
  color: #0ea5e9;
  font-size: 1rem;
}

.training-opportunity span,
.career-opportunity span {
  font-weight: 500;
  color: #374151;
}

/* Course Pricing Styles */
.pricing-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.course-pricing {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.05),
    rgba(14, 165, 233, 0.05)
  );
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.course-pricing:hover {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.08),
    rgba(14, 165, 233, 0.08)
  );
  border-color: rgba(59, 130, 246, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.course-pricing h5 {
  color: #1e40af;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(59, 130, 246, 0.2);
}

.pricing-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.price-item:last-child {
  border-bottom: none;
}

.price-item.total {
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.1),
    rgba(5, 150, 105, 0.1)
  );
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-top: 0.5rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.price-item.additional {
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.1),
    rgba(217, 119, 6, 0.1)
  );
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-top: 0.5rem;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.price-label {
  font-weight: 500;
  color: #374151;
  font-size: 0.95rem;
}

.price-value {
  font-weight: 600;
  color: #1e40af;
  font-size: 1rem;
}

.price-item.total .price-label,
.price-item.total .price-value {
  color: #059669;
  font-weight: 700;
}

.price-item.additional .price-label,
.price-item.additional .price-value {
  color: #d97706;
  font-weight: 600;
}

/* Responsive Design for Hospital Partners */
@media (max-width: 768px) {
  .hospital-partners-container {
    margin-top: 2rem;
    padding: 1rem 0;
  }

  .hospital-partner-card {
    width: 250px;
  }

  .hospital-logo {
    padding: 1.5rem;
    height: 160px;
  }

  .hospital-logo img {
    max-width: 120px;
    max-height: 80px;
  }

  .logo-placeholder {
    width: 100px;
    height: 70px;
    font-size: 0.7rem;
  }

  .logo-placeholder i {
    font-size: 1.5rem;
  }

  .hospital-info {
    padding: 1rem;
  }

  .hospital-info h3 {
    font-size: 1rem;
  }

  .hospital-info p {
    font-size: 0.8rem;
  }

  .hospital-modal-content {
    width: 95%;
    margin: 5% auto;
  }

  .hospital-modal-header {
    padding: 1.5rem;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .hospital-modal-title h3 {
    font-size: 1.4rem;
  }

  .hospital-modal-body {
    padding: 1.5rem;
  }

  .hospital-details {
    gap: 1.5rem;
  }

  .hospital-section {
    padding: 1rem;
  }

  .specialties-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hospital-partners-track {
    gap: 1rem;
  }

  .hospital-partner-card {
    width: 220px;
  }

  .hospital-logo {
    padding: 1rem;
    height: 140px;
  }

  .hospital-logo img {
    max-width: 100px;
    max-height: 60px;
  }

  .logo-placeholder {
    width: 80px;
    height: 60px;
    font-size: 0.6rem;
  }

  .logo-placeholder i {
    font-size: 1.2rem;
  }

  .hospital-info {
    padding: 0.75rem;
  }

  .hospital-info h3 {
    font-size: 0.9rem;
  }

  .hospital-info p {
    font-size: 0.75rem;
  }

  .hospital-modal-content {
    width: 98%;
    margin: 2% auto;
  }

  .hospital-modal-header {
    padding: 1rem;
  }

  .hospital-modal-body {
    padding: 1rem;
  }

  .hospital-section {
    padding: 0.75rem;
  }

  .hospital-description {
    font-size: 1rem;
  }
}

/* Qualification Modal Styles */
.qualification-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease-out;
}

.qualification-modal-content {
  background: white;
  margin: 2% auto;
  padding: 0;
  border-radius: 20px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideInUp 0.3s ease-out;
  position: relative;
}

.qualification-modal-header {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}

.qualification-modal-header::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: float 6s ease-in-out infinite;
}

.qualification-modal-logo {
  position: relative;
  z-index: 2;
}

.modal-logo-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.8rem;
  text-align: center;
  transition: all 0.3s ease;
}

.modal-logo-placeholder.tquk {
  background: linear-gradient(135deg, #1e40af, #1e3a8a);
  box-shadow: 0 4px 16px rgba(30, 64, 175, 0.3);
}

.modal-logo-placeholder.gatehouse {
  background: linear-gradient(135deg, #047857, #065f46);
  box-shadow: 0 4px 16px rgba(4, 120, 87, 0.3);
}

.modal-logo-placeholder.qualifi {
  background: linear-gradient(135deg, #6d28d9, #5b21b6);
  box-shadow: 0 4px 16px rgba(109, 40, 217, 0.3);
}

.modal-logo-placeholder.aqf {
  background: linear-gradient(135deg, #d97706, #b45309);
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.3);
}

.modal-logo-placeholder.cpd {
  background: linear-gradient(135deg, #be185d, #9d174d);
  box-shadow: 0 4px 16px rgba(190, 24, 93, 0.3);
}

.modal-logo-placeholder i {
  width: 40px;
  height: 40px;
}

.qualification-modal-title {
  flex: 1;
  position: relative;
  z-index: 2;
}

.qualification-modal-title h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.qualification-modal-title p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
}

.qualification-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.qualification-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.qualification-modal-close i {
  width: 20px;
  height: 20px;
}

.qualification-modal-body {
  padding: 2rem;
  max-height: 60vh;
  overflow-y: auto;
}

.qualification-overview {
  margin-bottom: 2rem;
}

.qualification-description {
  font-size: 1.1rem;
  color: #374151;
  line-height: 1.6;
  margin: 0;
}

.qualification-details {
  display: grid;
  gap: 2rem;
}

.qualification-section {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1.5rem;
  border-left: 4px solid #3b82f6;
  transition: all 0.3s ease;
}

.qualification-section:hover {
  background: #e0f2fe;
  transform: translateX(4px);
}

.qualification-section h4 {
  margin: 0 0 1rem 0;
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qualification-section h4 i {
  width: 18px;
  height: 18px;
  color: #3b82f6;
}

.qualification-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.qualification-list li {
  padding: 0.5rem 0;
  color: #374151;
  font-size: 0.95rem;
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.qualification-list li:last-child {
  border-bottom: none;
}

.qualification-list li:hover {
  color: #3b82f6;
  padding-left: 0.5rem;
}

.benefits-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: #374151;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.benefits-list li:hover {
  color: #3b82f6;
  transform: translateX(4px);
}

.benefits-list li i {
  width: 16px;
  height: 16px;
  color: #10b981;
  flex-shrink: 0;
}

.migration-countries {
  display: grid;
  gap: 1rem;
}

.migration-country {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.migration-country:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

.country-flag {
  font-size: 2rem;
  flex-shrink: 0;
}

.country-info h5 {
  margin: 0 0 0.25rem 0;
  color: #1f2937;
  font-size: 1rem;
  font-weight: 600;
}

.country-info p {
  margin: 0;
  color: #6b7280;
  font-size: 0.9rem;
}

.career-opportunities {
  display: grid;
  gap: 0.75rem;
}

.career-opportunity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.career-opportunity:hover {
  border-color: #3b82f6;
  background: #f0f9ff;
  transform: translateX(4px);
}

.career-opportunity i {
  width: 16px;
  height: 16px;
  color: #3b82f6;
  flex-shrink: 0;
}

.career-opportunity span {
  color: #374151;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Responsive Design for Qualifications */
@media (max-width: 768px) {
  .qualifications-container {
    margin-top: 2rem;
    padding: 1.5rem 0;
  }

  .qualification-card {
    width: 240px;
  }

  .qualification-logo {
    padding: 1.5rem;
  }

  .qualification-logo img {
    max-width: 100px;
    max-height: 60px;
  }

  .logo-placeholder {
    width: 100px;
    height: 60px;
    font-size: 0.8rem;
  }

  .logo-placeholder i {
    width: 28px;
    height: 28px;
    margin-bottom: 0.25rem;
  }

  .qualification-info {
    padding: 1.25rem;
  }

  .qualification-info h3 {
    font-size: 1rem;
  }

  .qualification-info p {
    font-size: 0.85rem;
  }

  .qualification-modal-content {
    width: 95%;
    margin: 5% auto;
  }

  .qualification-modal-header {
    padding: 1.5rem;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .qualification-modal-title h3 {
    font-size: 1.25rem;
  }

  .qualification-modal-body {
    padding: 1.5rem;
  }

  .qualification-details {
    gap: 1.5rem;
  }

  .qualification-section {
    padding: 1.25rem;
  }

  .migration-countries {
    gap: 0.75rem;
  }

  .migration-country {
    padding: 0.75rem;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .country-flag {
    font-size: 1.5rem;
  }

  .career-opportunities {
    gap: 0.5rem;
  }

  .career-opportunity {
    padding: 0.5rem 0.75rem;
  }
}

@media (max-width: 480px) {
  .qualifications-track {
    gap: 1rem;
  }

  .qualification-card {
    width: 200px;
  }

  .qualification-logo {
    padding: 1rem;
  }

  .qualification-logo img {
    max-width: 80px;
    max-height: 50px;
  }

  .logo-placeholder {
    width: 80px;
    height: 50px;
    font-size: 0.7rem;
  }

  .logo-placeholder i {
    width: 24px;
    height: 24px;
  }

  .qualification-info {
    padding: 1rem;
  }

  .qualification-info h3 {
    font-size: 0.9rem;
  }

  .qualification-info p {
    font-size: 0.8rem;
  }

  .qualification-modal-content {
    width: 98%;
    margin: 2% auto;
  }

  .qualification-modal-header {
    padding: 1rem;
  }

  .qualification-modal-body {
    padding: 1rem;
  }

  .qualification-section {
    padding: 1rem;
  }

  .qualification-description {
    font-size: 1rem;
  }
}

/* --- Auth Modal & Form Styles --- */
.modal-bg {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 41, 59, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.modal-box {
  background: #fff;
  padding: 2.5em 2em 2em 2em;
  border-radius: 18px;
  max-width: 380px;
  width: 100%;
  position: relative;
  box-shadow: 0 8px 40px rgba(30, 41, 59, 0.18);
  animation: modalPop 0.3s cubic-bezier(0.4, 2, 0.6, 1) both;
}
@keyframes modalPop {
  0% {
    transform: scale(0.95) translateY(30px);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}
.modal-box h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1d4ed8;
  margin-bottom: 1.2em;
  text-align: center;
}
.modal-box form {
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.modal-box input[type="text"],
.modal-box input[type="email"],
.modal-box input[type="password"],
.modal-box input[type="tel"] {
  padding: 0.85em 1em;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  background: #f9fafb;
  transition:
    border 0.2s,
    box-shadow 0.2s;
}
.modal-box input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px #dbeafe;
  outline: none;
}
.modal-box button[type="submit"] {
  background: linear-gradient(90deg, #2563eb 60%, #14b8a6 100%);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 0.9em 0;
  font-size: 1.08rem;
  margin-top: 0.2em;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.08);
}
.modal-box button[type="submit"]:hover {
  background: linear-gradient(90deg, #1d4ed8 60%, #0d9488 100%);
  transform: translateY(-2px) scale(1.03);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.7em;
  color: #64748b;
  cursor: pointer;
  transition: color 0.2s;
}
.modal-close:hover {
  color: #ef4444;
}
.modal-box p {
  text-align: center;
  font-size: 0.98em;
  color: #64748b;
  margin-top: 0.5em;
}
.modal-box a {
  color: #2563eb;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s;
}
.modal-box a:hover {
  color: #0d9488;
}
.modal-error {
  color: #ef4444;
  background: #fef2f2;
  border-radius: 6px;
  padding: 0.5em 1em;
  font-size: 0.98em;
  margin-top: 0.2em;
  text-align: center;
  min-height: 1.5em;
  transition:
    background 0.2s,
    color 0.2s;
}
.modal-success {
  color: #16a34a;
  background: #f0fdf4;
  border-radius: 6px;
  padding: 0.5em 1em;
  font-size: 0.98em;
  margin-top: 0.2em;
  text-align: center;
  min-height: 1.5em;
  transition:
    background 0.2s,
    color 0.2s;
}
/* Spinner for modal */
#modalSpinner {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(30, 41, 59, 0.08);
}
.spinner {
  width: 32px;
  height: 32px;
  border: 4px solid #dbeafe;
  border-top: 4px solid #2563eb;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media (max-width: 500px) {
  .modal-box {
    max-width: 98vw;
    padding: 1.2em 0.5em 1.5em 0.5em;
  }
}

/* --- Enhanced Select Package UI/UX --- */
.hero {
  background: linear-gradient(
    135deg,
    var(--primary-800) 0%,
    var(--primary-700) 50%,
    var(--teal-600) 100%
  );
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-content {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(30, 41, 59, 0.1);
  padding: 2.5em 2em 2em 2em;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--primary-700);
  margin-bottom: 0.5em;
  letter-spacing: -1px;
}
.hero-title .highlight {
  background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.2rem;
  color: #374151;
  margin-bottom: 1.5em;
}

.section {
  padding: 60px 0 40px 0;
}

.package-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(30, 41, 59, 0.1);
  border: 2px solid #e5e7eb;
  transition:
    box-shadow 0.2s,
    border 0.2s,
    transform 0.18s;
  overflow: hidden;
  margin-bottom: 2em;
}
.package-card:hover {
  box-shadow: 0 12px 48px rgba(37, 99, 235, 0.13);
  border-color: var(--primary-400);
  transform: translateY(-4px) scale(1.01);
}
.package-header {
  background: linear-gradient(
    90deg,
    var(--primary-600) 60%,
    var(--teal-600) 100%
  );
  color: #fff;
  padding: 2em 1.5em 1.2em 1.5em;
  border-radius: 20px 20px 0 0;
  text-align: left;
}
.package-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.2em;
}
.package-header p {
  font-size: 1.05rem;
  opacity: 0.92;
}
.package-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-500);
  margin-top: 0.5em;
}
.package-content {
  padding: 2em 1.5em 1.5em 1.5em;
}
.package-content h4 {
  font-weight: 600;
  color: var(--primary-700);
  margin-bottom: 1em;
}
.package-features {
  list-style: none;
  margin-bottom: 1.5em;
  padding: 0;
}
.package-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.02rem;
  color: #374151;
  margin-bottom: 0.5em;
}
.btn-enroll {
  background: linear-gradient(
    90deg,
    var(--primary-600) 60%,
    var(--teal-600) 100%
  );
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 1em 0;
  font-size: 1.08rem;
  margin-bottom: 0.5em;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.08);
  width: 100%;
}
.btn-enroll:hover {
  background: linear-gradient(
    90deg,
    var(--primary-700) 60%,
    var(--teal-700) 100%
  );
  transform: translateY(-2px) scale(1.03);
}
.btn-info {
  background: #fff;
  color: var(--primary-700);
  border: 2px solid var(--primary-200);
  border-radius: 10px;
  padding: 1em 0;
  font-weight: 600;
  width: 100%;
  margin-bottom: 0.5em;
  transition:
    background 0.2s,
    color 0.2s;
}
.btn-info:hover {
  background: var(--primary-50);
  color: var(--primary-800);
}
.fee-breakdown {
  background: #f9fafb;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(30, 41, 59, 0.07);
  padding: 2em 1.5em;
  margin-bottom: 2em;
}
.fee-breakdown table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(30, 41, 59, 0.04);
}
.fee-breakdown th,
.fee-breakdown td {
  padding: 1em 1.2em;
  text-align: left;
  font-size: 1.05rem;
}
.fee-breakdown th {
  background: var(--primary-50);
  color: var(--primary-700);
  font-weight: 700;
}
.fee-breakdown tr {
  border-bottom: 1px solid #e5e7eb;
}
.fee-breakdown tr:last-child {
  border-bottom: none;
}
.fee-breakdown .text-primary-600 {
  color: var(--primary-600);
  font-weight: 700;
}
@media (max-width: 900px) {
  .hero-content,
  .package-card,
  .fee-breakdown {
    max-width: 98vw;
    padding: 1.2em 0.5em 1.5em 0.5em;
  }
}

/* --- Enhanced Home Page Hero Content --- */
#hero {
  margin-bottom: 48px;
}
#hero .hero-content {
  padding: 100px 2em 2em 2em;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 32px rgba(30, 41, 59, 0.1);
  border: 1.5px solid #e5e7eb;
  z-index: 2;
}
#hero .hero-title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 900;
  color: #1f2937;
  margin-bottom: 0.5em;
  letter-spacing: -1px;
  line-height: 1.1;
}
#hero .hero-title .highlight {
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
#hero .hero-subtitle {
  font-size: 1.18rem;
  color: #374151;
  margin-bottom: 2em;
  font-weight: 500;
}
#hero .hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 1em;
}
#hero .btn,
#hero .btn-primary,
#hero .btn-outline {
  min-width: 140px;
  font-size: 1.08rem;
  padding: 1em 2.2em;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.08);
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.15s;
}
#hero .btn-primary {
  background: linear-gradient(90deg, #2563eb 60%, #14b8a6 100%);
  color: #fff;
}
#hero .btn-primary:hover {
  background: linear-gradient(90deg, #1d4ed8 60%, #0d9488 100%);
  transform: translateY(-2px) scale(1.03);
}
#hero .btn-outline {
  background: #fff;
  color: #2563eb;
  border: 2px solid #dbeafe;
}
#hero .btn-outline:hover {
  background: #f1f5f9;
  color: #1d4ed8;
}
#hero .hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 800px;
  margin: 1em auto 0 auto;
  color: #1f2937;
  background: transparent;
  box-shadow: none;
}
#hero .stat-item {
  text-align: center;
  background: none;
  color: #1f2937;
}
#hero .stat-icon {
  background: #f3f4f6;
  border-radius: 12px;
  padding: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(30, 41, 59, 0.04);
}
#hero .stat-icon i {
  width: 32px;
  height: 32px;
  color: var(--primary-600);
}
#hero .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 4px;
}
#hero .stat-label {
  font-size: 0.9rem;
  color: #6b7280;
}
@media (max-width: 900px) {
  #hero .hero-content {
    max-width: 98vw;
    padding: 1.2em 0.5em 1.5em 0.5em;
  }
  #hero .hero-title {
    font-size: 2rem;
  }
}

/* CPD Course Timetable Styles */
.timetable-container {
  margin-top: 3rem;
  position: relative;
}

.timetable-container::before {
  content: "";
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
  border-radius: 2px;
}

.timetable-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  animation: fadeInUp 0.8s ease-out;
}

.timetable-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
  animation: slideInUp 0.6s ease-out;
  animation-fill-mode: both;
}

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

.timetable-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

.timetable-card.open {
  border-color: #10b981;
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.15);
}

.timetable-card.open::before {
  background: linear-gradient(90deg, #10b981, #059669);
  opacity: 1;
}

.timetable-card.closed {
  border-color: #f59e0b;
  box-shadow: 0 8px 32px rgba(245, 158, 11, 0.15);
}

.timetable-card.closed::before {
  background: linear-gradient(90deg, #f59e0b, #d97706);
  opacity: 1;
}

.timetable-card.full {
  border-color: #ef4444;
  box-shadow: 0 8px 32px rgba(239, 68, 68, 0.15);
}

.timetable-card.full::before {
  background: linear-gradient(90deg, #ef4444, #dc2626);
  opacity: 1;
}

.timetable-card.inactive {
  border-color: #6b7280;
  opacity: 0.6;
  filter: grayscale(0.3);
}

.timetable-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.timetable-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.05) 0%,
    transparent 70%
  );
  animation: float 8s ease-in-out infinite;
}

.course-info {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  flex: 1;
  position: relative;
  z-index: 2;
}

.course-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.course-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.course-icon:hover::before {
  opacity: 1;
}

.course-icon:hover {
  transform: scale(1.1) rotate(5deg);
}

.course-icon i {
  width: 28px;
  height: 28px;
  color: white;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.course-icon:hover i {
  transform: scale(1.1);
}

.course-icon.red {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
}
.course-icon.green {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}
.course-icon.blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}
.course-icon.purple {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}
.course-icon.orange {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}
.course-icon.teal {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.3);
}
.course-icon.indigo {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}
.course-icon.pink {
  background: linear-gradient(135deg, #ec4899, #db2777);
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.3);
}

.course-details h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.timetable-card:hover .course-details h3 {
  color: #3b82f6;
}

.schedule-name {
  font-size: 0.95rem;
  color: #6b7280;
  margin: 0;
  font-weight: 500;
  background: rgba(59, 130, 246, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  display: inline-block;
  transition: all 0.3s ease;
}

.timetable-card:hover .schedule-name {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}

.cpd-points {
  text-align: center;
  background: transparent;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.cpd-points:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.points-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.points-label {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.timetable-content {
  padding: 2rem;
  position: relative;
}

.schedule-details {
  margin-bottom: 2rem;
}

.schedule-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.schedule-item:hover {
  background: rgba(59, 130, 246, 0.05);
  transform: translateX(4px);
}

.schedule-item:last-child {
  margin-bottom: 0;
}

.schedule-item i {
  width: 18px;
  height: 18px;
  color: #3b82f6;
  flex-shrink: 0;
  margin-top: 0.125rem;
  transition: all 0.3s ease;
}

.schedule-item:hover i {
  color: #1d4ed8;
  transform: scale(1.1);
}

.schedule-item div {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.5;
}

.schedule-item strong {
  color: #374151;
  font-weight: 600;
}

.enrollment-info {
  border-top: 2px solid #e5e7eb;
  padding-top: 2rem;
  position: relative;
}

.enrollment-info::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.timetable-card:hover .enrollment-info::before {
  opacity: 1;
}

.enrollment-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.enrollment-status::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;
}

.enrollment-status:hover::before {
  left: 100%;
}

.enrollment-status i {
  width: 18px;
  height: 18px;
  transition: all 0.3s ease;
}

.enrollment-status:hover i {
  transform: scale(1.2) rotate(10deg);
}

.status-open {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #166534;
  border: 2px solid #10b981;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2);
}

.status-closed {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  border: 2px solid #f59e0b;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.2);
}

.status-full {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #991b1b;
  border: 2px solid #ef4444;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.2);
}

.status-inactive {
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  color: #6b7280;
  border: 2px solid #9ca3af;
}

.enrollment-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.btn-enroll {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.btn-enroll::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;
}

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

.btn-enroll:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
  color: white;
  text-decoration: none;
}

.btn-enroll:active {
  transform: translateY(0) scale(1.02);
}

.btn-enroll i {
  transition: all 0.3s ease;
}

.btn-enroll:hover i {
  transform: scale(1.2) rotate(5deg);
}

.btn-disabled {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  color: #9ca3af;
  border: 2px solid #d1d5db;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: not-allowed;
  transition: all 0.3s ease;
}

.btn-disabled:hover {
  transform: none;
  box-shadow: none;
}

.course-price {
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1f2937, #374151);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: right;
  transition: all 0.3s ease;
}

.timetable-card:hover .course-price {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.timetable-empty {
  text-align: center;
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #f9fafb, #f3f4f6);
  border-radius: 20px;
  border: 2px dashed #d1d5db;
  position: relative;
  overflow: hidden;
}

.timetable-empty::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.05) 0%,
    transparent 70%
  );
  animation: float 10s ease-in-out infinite;
}

.empty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg, #e5e7eb, #d1d5db);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  animation: pulse 2s ease-in-out infinite;
}

.empty-icon i {
  width: 40px;
  height: 40px;
  color: #9ca3af;
  animation: bounce 2s ease-in-out infinite;
}

.timetable-empty h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #374151;
  margin: 0 0 1rem 0;
  position: relative;
  z-index: 2;
}

.timetable-empty p {
  color: #6b7280;
  margin: 0;
  font-size: 1.1rem;
  position: relative;
  z-index: 2;
}

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

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
  .timetable-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .timetable-header {
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
    padding: 1.5rem;
  }

  .course-info {
    flex-direction: column;
    text-align: center;
  }

  .cpd-points {
    align-self: center;
  }

  .enrollment-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .btn-enroll,
  .btn-disabled {
    justify-content: center;
    width: 100%;
    padding: 1rem 1.5rem;
  }

  .course-price {
    text-align: center;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .timetable-card {
    margin: 0 -0.5rem;
    border-radius: 16px;
  }

  .timetable-header,
  .timetable-content {
    padding: 1.25rem;
  }

  .course-icon {
    width: 48px;
    height: 48px;
  }

  .course-icon i {
    width: 24px;
    height: 24px;
  }

  .timetable-empty {
    padding: 4rem 1rem;
  }

  .empty-icon {
    width: 64px;
    height: 64px;
  }

  .empty-icon i {
    width: 32px;
    height: 32px;
  }
}

/* Hospital Partners Styles */
.partners-container {
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 20px;
  padding: 2rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.partners-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0.1) 0%,
    transparent 20%,
    transparent 80%,
    rgba(59, 130, 246, 0.1) 100%
  );
  pointer-events: none;
}

.partners-scroll {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.partners-track {
  display: flex;
  animation: scrollRight 30s linear infinite;
  gap: 2rem;
  padding: 1rem 0;
}

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

.partner-logo {
  flex-shrink: 0;
  width: 200px;
  height: 120px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

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

.partner-logo:hover::before {
  left: 100%;
}

.partner-logo:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.2);
  border-color: #3b82f6;
}

.partner-logo img {
  max-width: 80px;
  max-height: 60px;
  object-fit: contain;
  transition: all 0.3s ease;
}

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

.logo-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 60px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 12px;
  color: white;
  font-weight: 700;
  font-size: 0.8rem;
  text-align: center;
}

.logo-placeholder i {
  width: 24px;
  height: 24px;
  margin-bottom: 0.25rem;
}

.partner-name {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  text-align: center;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.partner-logo:hover .partner-name {
  color: #3b82f6;
}

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

/* Hospital Modal Styles */
.hospital-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease-out;
}

.hospital-modal-content {
  background: white;
  margin: 5% auto;
  padding: 0;
  border-radius: 20px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideInUp 0.3s ease-out;
  position: relative;
}

.hospital-modal-header {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hospital-modal-header::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: float 6s ease-in-out infinite;
}

.hospital-modal-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.hospital-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.hospital-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.hospital-modal-close i {
  width: 20px;
  height: 20px;
}

.hospital-modal-body {
  padding: 2rem;
  max-height: 60vh;
  overflow-y: auto;
}

.hospital-benefits {
  display: grid;
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 12px;
  border-left: 4px solid #3b82f6;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: #e0f2fe;
  transform: translateX(4px);
}

.benefit-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon i {
  width: 20px;
  height: 20px;
  color: white;
}

.benefit-content h4 {
  margin: 0 0 0.5rem 0;
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 600;
}

.benefit-content p {
  margin: 0;
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.5;
}

.hospital-contact {
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border-radius: 12px;
  border: 2px solid #0ea5e9;
}

.hospital-contact h4 {
  margin: 0 0 1rem 0;
  color: #0c4a6e;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hospital-contact h4 i {
  width: 18px;
  height: 18px;
}

.contact-details {
  display: grid;
  gap: 0.75rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #0369a1;
  font-size: 0.95rem;
}

.contact-detail i {
  width: 16px;
  height: 16px;
  color: #0ea5e9;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .partners-container {
    margin-top: 2rem;
    padding: 1.5rem 0;
  }

  .partner-logo {
    width: 160px;
    height: 100px;
  }

  .partner-logo img {
    max-width: 60px;
    max-height: 45px;
  }

  .logo-placeholder {
    width: 60px;
    height: 45px;
    font-size: 0.7rem;
  }

  .logo-placeholder i {
    width: 20px;
    height: 20px;
  }

  .partner-name {
    font-size: 0.8rem;
    margin-top: 0.5rem;
  }

  .hospital-modal-content {
    width: 95%;
    margin: 10% auto;
  }

  .hospital-modal-header {
    padding: 1.5rem;
  }

  .hospital-modal-header h3 {
    font-size: 1.25rem;
  }

  .hospital-modal-body {
    padding: 1.5rem;
  }

  .benefit-item {
    padding: 0.75rem;
  }

  .benefit-icon {
    width: 35px;
    height: 35px;
  }

  .benefit-icon i {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .partners-track {
    gap: 1rem;
  }

  .partner-logo {
    width: 140px;
    height: 90px;
  }

  .partner-logo img {
    max-width: 50px;
    max-height: 40px;
  }

  .logo-placeholder {
    width: 50px;
    height: 40px;
    font-size: 0.65rem;
  }

  .logo-placeholder i {
    width: 18px;
    height: 18px;
  }

  .partner-name {
    font-size: 0.75rem;
  }
}

/* ========================================
   Comprehensive Pricing Section
   ======================================== */

.comprehensive-pricing {
  max-width: 1100px;
  margin: 0 auto;
}

/* Tab Navigation */
.pricing-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 3rem;
  padding: 8px;
  background: rgba(241, 245, 249, 0.8);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.pricing-tab-btn {
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.pricing-tab-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-500), var(--teal-500));
  opacity: 0;
  transition: opacity 0.35s ease;
  border-radius: 10px;
}

.pricing-tab-btn:hover {
  color: var(--primary-600);
  background: white;
  border-color: rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.1);
}

.pricing-tab-btn.active {
  color: white;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
}

.pricing-tab-btn.active::before {
  opacity: 1;
}

.pricing-tab-btn span {
  position: relative;
  z-index: 2;
}

.pricing-tab-btn .tab-price {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.7;
  margin-top: 2px;
}

.pricing-tab-btn.active .tab-price {
  opacity: 0.9;
}

/* Tab Panels */
.pricing-tab-panel {
  display: none;
  animation: pricingFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-tab-panel.active {
  display: block;
}

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

/* Pricing Panel Layout */
.pricing-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* Fee Breakdown Card */
.fee-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
}

.fee-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.fee-card-header {
  background: linear-gradient(135deg, var(--primary-600), var(--teal-600));
  color: white;
  padding: 1.75rem 2rem;
  position: relative;
  overflow: hidden;
}

.fee-card-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.fee-card-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
  position: relative;
  z-index: 2;
}

.fee-card-header .fee-total {
  font-size: 2rem;
  font-weight: 800;
  position: relative;
  z-index: 2;
  margin-top: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.fee-card-header .fee-total small {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.85;
}

.fee-card-body {
  padding: 1.5rem 2rem 2rem;
}

/* Fee Table */
.fee-table-detailed {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.fee-table-detailed tr {
  transition: background 0.2s ease;
}

.fee-table-detailed tr:hover {
  background: rgba(59, 130, 246, 0.03);
}

.fee-table-detailed td {
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.95rem;
  vertical-align: middle;
}

.fee-table-detailed td:first-child {
  color: #475569;
  font-weight: 500;
}

.fee-table-detailed td:last-child {
  text-align: right;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
}

.fee-table-detailed tr.fee-total-row td {
  border-bottom: none;
  padding-top: 1.25rem;
  border-top: 2px solid var(--primary-200);
  font-weight: 700;
}

.fee-table-detailed tr.fee-total-row td:first-child {
  color: var(--primary-700);
  font-size: 1.05rem;
}

.fee-table-detailed tr.fee-total-row td:last-child {
  color: var(--primary-600);
  font-size: 1.2rem;
}

/* Sidebar Info */
.pricing-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Bank Details Card */
.bank-details-card {
  background: linear-gradient(145deg, #f0f9ff, #e0f2fe);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 16px;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.bank-details-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-500), var(--teal-500));
}

.bank-details-card:hover {
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.12);
  transform: translateY(-2px);
}

.bank-details-card h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 1.25rem;
}

.bank-details-card h4 i {
  width: 20px;
  height: 20px;
  color: var(--primary-500);
}

.bank-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(59, 130, 246, 0.08);
  gap: 12px;
}

.bank-detail-row:last-child {
  border-bottom: none;
}

.bank-detail-row .bd-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #64748b;
  flex-shrink: 0;
}

.bank-detail-row .bd-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  text-align: right;
  word-break: break-all;
}

/* Note Card */
.pricing-note-card {
  background: linear-gradient(145deg, #fffbeb, #fef3c7);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.pricing-note-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

.pricing-note-card h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 0.75rem;
}

.pricing-note-card h4 i {
  width: 18px;
  height: 18px;
  color: #d97706;
}

.pricing-note-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-note-card ul li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.5rem;
  font-size: 0.9rem;
  color: #78350f;
  line-height: 1.5;
  border-bottom: 1px solid rgba(245, 158, 11, 0.1);
}

.pricing-note-card ul li:last-child {
  border-bottom: none;
}

.pricing-note-card ul li::before {
  content: "⚠";
  position: absolute;
  left: 0;
  top: 0.5rem;
  font-size: 0.8rem;
}

/* Important Note (red variant) */
.pricing-note-card.important {
  background: linear-gradient(145deg, #fef2f2, #fee2e2);
  border-color: rgba(239, 68, 68, 0.2);
}

.pricing-note-card.important::before {
  background: linear-gradient(90deg, #ef4444, #dc2626);
}

.pricing-note-card.important h4 {
  color: #991b1b;
}

.pricing-note-card.important h4 i {
  color: #ef4444;
}

.pricing-note-card.important ul li {
  color: #7f1d1d;
  border-bottom-color: rgba(239, 68, 68, 0.1);
}

.pricing-note-card.important ul li::before {
  content: "🚨";
}

/* Qualifi Tier List */
.qualifi-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.qualifi-tier {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.qualifi-tier:hover {
  border-color: var(--primary-300);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.12);
}

.qualifi-tier .tier-level {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.qualifi-tier .tier-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-600);
}

.qualifi-tier .tier-price small {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: #94a3b8;
  margin-top: 2px;
}

/* CPD Course List */
.cpd-course-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cpd-course-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0.5rem;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.2s ease;
}

.cpd-course-row:hover {
  background: rgba(59, 130, 246, 0.03);
  padding-left: 1rem;
}

.cpd-course-row:last-child {
  border-bottom: none;
}

.cpd-course-row .course-name {
  font-weight: 500;
  color: #334155;
  font-size: 0.95rem;
}

.cpd-course-row .course-price {
  font-weight: 700;
  color: var(--primary-600);
  font-size: 1rem;
  white-space: nowrap;
}

.cpd-course-row.cpd-total-row {
  border-top: 2px solid var(--primary-200);
  border-bottom: none;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
}

.cpd-course-row.cpd-total-row .course-name {
  font-weight: 700;
  color: var(--primary-700);
  font-size: 1.05rem;
}

.cpd-course-row.cpd-total-row .course-price {
  font-size: 1.2rem;
  color: var(--primary-600);
}

/* AQF Installment */
.installment-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.installment-card {
  background: linear-gradient(145deg, #f0f9ff, #e0f2fe);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  transition: all 0.3s ease;
}

.installment-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.12);
}

.installment-card .inst-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 6px;
}

.installment-card .inst-amount {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-600);
}

/* Responsive */
@media (max-width: 900px) {
  .pricing-panel-grid {
    grid-template-columns: 1fr;
  }

  .qualifi-tiers {
    grid-template-columns: 1fr 1fr;
  }

  .installment-info {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .pricing-tabs {
    gap: 6px;
    padding: 6px;
  }

  .pricing-tab-btn {
    padding: 10px 14px;
    font-size: 0.8rem;
  }

  .pricing-tab-btn .tab-price {
    display: none;
  }

  .fee-card-header {
    padding: 1.25rem 1.5rem;
  }

  .fee-card-header h3 {
    font-size: 1.15rem;
  }

  .fee-card-header .fee-total {
    font-size: 1.5rem;
  }

  .fee-card-body {
    padding: 1.25rem 1.25rem 1.5rem;
  }

  .qualifi-tiers {
    grid-template-columns: 1fr;
  }

  .installment-info {
    grid-template-columns: 1fr;
  }

  .bank-details-card,
  .pricing-note-card {
    padding: 1.25rem;
  }
}

/* ═══════════════════════════════════════════════════
   Schedule Selection — Ultra-Premium Card System
   ═══════════════════════════════════════════════════ */
.schedule-selection {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.schedule-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.schedule-label {
    display: flex; align-items: center; gap: 0.4rem;
    font-size: 0.75rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: #6366f1;
}
.schedule-count {
    font-size: 0.72rem; font-weight: 600;
    color: #94a3b8; letter-spacing: 0.02em;
}

/* Card list */
.schedule-card-list {
    display: flex; flex-direction: column; gap: 0.6rem;
}

/* Individual card */
.schedule-card {
    display: flex; align-items: flex-start; gap: 0.85rem;
    padding: 0.9rem 1rem;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    cursor: pointer;
    position: relative;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    animation: scCardIn 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes scCardIn {
    from { opacity: 0; transform: translateX(-12px) scale(0.96); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}
.schedule-card:hover {
    border-color: #a5b4fc;
    background: linear-gradient(135deg, #fafafe 0%, #f0f0ff 100%);
    box-shadow: 0 4px 18px rgba(99,102,241,0.1);
    transform: translateX(4px);
}
.schedule-card.selected {
    border-color: #6366f1;
    background: linear-gradient(135deg, #eef2ff 0%, #e8ecff 100%);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15), 0 8px 24px rgba(99,102,241,0.12);
    transform: translateX(4px);
}

/* Radio dot */
.sc-radio {
    width: 22px; height: 22px; flex-shrink: 0;
    border: 2.5px solid #cbd5e1;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
    margin-top: 2px;
}
.sc-radio-dot {
    width: 0; height: 0;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.schedule-card.selected .sc-radio {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.18);
}
.schedule-card.selected .sc-radio-dot {
    width: 10px; height: 10px;
    animation: radioPop 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes radioPop {
    0%   { transform: scale(0); }
    60%  { transform: scale(1.4); }
    100% { transform: scale(1); }
}

/* Card body */
.sc-body { flex: 1; min-width: 0; }
.sc-name {
    font-size: 0.92rem; font-weight: 700;
    color: #1f2937; margin-bottom: 0.35rem;
    line-height: 1.3;
}
.sc-meta {
    display: flex; flex-wrap: wrap; gap: 0.65rem;
    margin-bottom: 0.3rem;
}
.sc-meta span {
    display: inline-flex; align-items: center; gap: 0.3rem;
    font-size: 0.78rem; font-weight: 600; color: #6b7280;
}
.sc-meta i { color: #818cf8; }
.sc-venue {
    display: flex; align-items: center; gap: 0.3rem;
    font-size: 0.75rem; font-weight: 500;
    color: #9ca3af;
}
.sc-venue i { color: #c7d2fe; }

/* ──── Enroll Button — Gradient + Shimmer ──── */
.btn-enroll-premium {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    width: 100%; padding: 0.9rem 1.5rem;
    border: none; border-radius: 12px;
    font-family: inherit; font-size: 0.95rem; font-weight: 700;
    color: #fff; cursor: pointer;
    background: linear-gradient(135deg, #94a3b8, #9ca3af);
    transition: all 0.45s cubic-bezier(0.4,0,0.2,1);
    letter-spacing: 0.02em;
}
.btn-enroll-premium:disabled {
    cursor: not-allowed; opacity: 0.7;
}
.btn-enroll-premium:not(:disabled) {
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #6366f1);
    background-size: 200% 200%;
    animation: enrollGradient 3s ease infinite, enrollPop 0.5s cubic-bezier(0.34,1.56,0.64,1);
    box-shadow: 0 6px 20px rgba(99,102,241,0.35);
}
@keyframes enrollGradient {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes enrollPop {
    from { transform: scale(0.94); opacity: 0.6; }
    to   { transform: scale(1); opacity: 1; }
}
.btn-enroll-premium:not(:disabled):hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 32px rgba(99,102,241,0.4);
}
.btn-enroll-premium:not(:disabled):active {
    transform: translateY(0) scale(0.98);
}
.enroll-shimmer {
    position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    pointer-events: none;
}
.btn-enroll-premium:not(:disabled) .enroll-shimmer {
    animation: shimmerSlide 2.5s ease-in-out infinite 1s;
}
@keyframes shimmerSlide {
    0%   { left: -100%; }
    50%  { left: 100%; }
    100% { left: 100%; }
}
.btn-enroll-direct {
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #6366f1) !important;
    background-size: 200% 200% !important;
    animation: enrollGradient 3s ease infinite !important;
    box-shadow: 0 6px 20px rgba(99,102,241,0.35) !important;
    opacity: 1 !important; cursor: pointer !important;
}
.btn-enroll-direct .enroll-shimmer {
    animation: shimmerSlide 2.5s ease-in-out infinite 1s !important;
}
.btn-enroll-direct:hover {
    transform: translateY(-3px) scale(1.03) !important;
    box-shadow: 0 12px 32px rgba(99,102,241,0.4) !important;
}

/* ──── Coming Soon ──── */
.schedule-coming-soon {
    margin-top: 1.25rem;
}
.coming-soon-card {
    display: flex; align-items: center; gap: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid #fde68a;
    border-radius: 14px;
    animation: csBounce 3s ease-in-out infinite;
}
@keyframes csBounce {
    0%,100% { transform: translateY(0); box-shadow: 0 4px 14px rgba(245,158,11,0.12); }
    50%     { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(245,158,11,0.18); }
}
.csoon-icon {
    width: 40px; height: 40px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 10px; color: white;
    animation: csIconSpin 4s ease-in-out infinite;
}
@keyframes csIconSpin {
    0%,100% { transform: rotate(0deg); }
    25%     { transform: rotate(15deg); }
    75%     { transform: rotate(-15deg); }
}
.csoon-text {
    display: flex; flex-direction: column; gap: 0.15rem;
}
.csoon-text strong {
    font-size: 0.9rem; color: #92400e;
}
.csoon-text span {
    font-size: 0.78rem; color: #b45309;
}
