/**
 * Jusoor Altarqia Training Center
 * Main Stylesheet - Unified Design System
 * Version: 2.0
 */

/* ==========================================
   CSS Variables - Design Tokens
   ========================================== */
:root {
  /* Brand Colors */
  --primary-color: #1b4063;
  --secondary-color: #92c34c;
  --dark-primary: #1B2C3A;
  --dark-secondary: #123524;
  --light-bg: #f4f4f4;
  --light-border: #e5e5e5;
  
  /* Semantic Colors */
  --text-primary: #2b2d3b;
  --text-secondary: #6c757d;
  --text-light: #ffffff;
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
  --info: #17a2b8;
  
  /* Typography */
  --font-primary: 'Droid Arabic Kufi', 'Hacen Liner XL', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-secondary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Font Sizes - Responsive Scale */
  --fs-xs: 0.75rem;      /* 12px */
  --fs-sm: 0.875rem;     /* 14px */
  --fs-base: 1rem;       /* 16px */
  --fs-lg: 1.125rem;     /* 18px */
  --fs-xl: 1.25rem;      /* 20px */
  --fs-2xl: 1.5rem;      /* 24px */
  --fs-3xl: 1.875rem;    /* 30px */
  --fs-4xl: 2.25rem;     /* 36px */
  --fs-5xl: 3rem;        /* 48px */
  
  /* Spacing Scale */
  --space-1: 0.25rem;    /* 4px */
  --space-2: 0.5rem;     /* 8px */
  --space-3: 0.75rem;    /* 12px */
  --space-4: 1rem;       /* 16px */
  --space-5: 1.5rem;     /* 24px */
  --space-6: 2rem;       /* 32px */
  --space-7: 2.5rem;     /* 40px */
  --space-8: 3rem;       /* 48px */
  --space-10: 4rem;      /* 64px */
  --space-12: 6rem;      /* 96px */
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Shadows - Creative Design */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-creative: 0 10px 40px -10px rgba(27, 64, 99, 0.3);
  --shadow-glow: 0 0 20px rgba(146, 195, 76, 0.4);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Z-index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* ==========================================
   Reset & Base Styles
   ========================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--light-bg);
  direction: rtl;
  text-align: right;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ==========================================
   Typography System
   ========================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-4);
  color: var(--primary-color);
}

h1 { font-size: var(--fs-5xl); }
h2 { font-size: var(--fs-4xl); }
h3 { font-size: var(--fs-3xl); }
h4 { font-size: var(--fs-2xl); }
h5 { font-size: var(--fs-xl); }
h6 { font-size: var(--fs-lg); }

p {
  margin-bottom: var(--space-4);
  line-height: 1.8;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--secondary-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
   Utility Classes
   ========================================== */
.container-fluid {
  width: 100%;
  padding-right: var(--space-4);
  padding-left: var(--space-4);
  margin-right: auto;
  margin-left: auto;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-white { color: var(--text-light) !important; }
.text-muted { color: var(--text-secondary) !important; }

.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.bg-light { background-color: var(--light-bg) !important; }
.bg-white { background-color: #ffffff; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }

/* Spacing Utilities */
.m-0 { margin: 0; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }

.p-0 { padding: 0; }
.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }
.pt-1 { padding-top: var(--space-1); }
.pt-2 { padding-top: var(--space-2); }
.pt-3 { padding-top: var(--space-3); }
.pt-4 { padding-top: var(--space-4); }
.pt-5 { padding-top: var(--space-5); }
.pb-1 { padding-bottom: var(--space-1); }
.pb-2 { padding-bottom: var(--space-2); }
.pb-3 { padding-bottom: var(--space-3); }
.pb-4 { padding-bottom: var(--space-4); }
.pb-5 { padding-bottom: var(--space-5); }

/* Base Button - Foundation */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: -1;
}

.btn:hover::before {
  width: 300%;
  height: 300%;
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(146, 195, 76, 0.25);
}

.btn:active {
  transform: translateY(1px);
}

/* Primary Button - الأزرق الأساسي */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-primary) 100%);
  color: var(--text-light);
  border-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(27, 64, 99, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  transition: all 0.6s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(27, 64, 99, 0.4);
  border-color: var(--dark-primary);
}

.btn-primary:hover::after {
  right: 150%;
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(27, 64, 99, 0.3);
}

/* Secondary Button - الأخضر */
.btn-secondary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-secondary) 100%);
  color: var(--text-light);
  border-color: var(--secondary-color);
  box-shadow: 0 4px 15px rgba(146, 195, 76, 0.3);
}

.btn-secondary::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transform: rotate(45deg);
  transition: all 0.6s;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(146, 195, 76, 0.4);
  border-color: var(--dark-secondary);
}

.btn-secondary:hover::after {
  right: 150%;
}

/* Outline Primary - حدود أزرق */
.btn-outline-primary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: none;
  position: relative;
}

.btn-outline-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-primary) 100%);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
  border-radius: var(--radius-lg);
}

.btn-outline-primary:hover {
  color: var(--text-light);
  border-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(27, 64, 99, 0.3);
}

.btn-outline-primary:hover::before {
  width: 100%;
}

/* Outline Secondary - حدود أخضر */
.btn-outline-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  box-shadow: none;
}

.btn-outline-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-secondary) 100%);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
  border-radius: var(--radius-lg);
}

.btn-outline-secondary:hover {
  color: var(--text-light);
  border-color: var(--secondary-color);
  box-shadow: 0 4px 15px rgba(146, 195, 76, 0.3);
}

.btn-outline-secondary:hover::before {
  width: 100%;
}

/* Ghost Button - شفاف */
.btn-ghost {
  background: rgba(27, 64, 99, 0.05);
  color: var(--primary-color);
  border: 2px solid transparent;
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(27, 64, 99, 0.1);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(27, 64, 99, 0.15);
}

/* Gradient Button - متدرج ملون */
.btn-gradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--text-light);
  border: none;
  box-shadow: 0 4px 20px rgba(27, 64, 99, 0.3);
  background-size: 200% 100%;
  background-position: left;
  transition: all 0.4s;
}

.btn-gradient:hover {
  background-position: right;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(146, 195, 76, 0.4);
}

/* Icon Button - زر بأيقونة فقط */
.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-icon i {
  font-size: var(--fs-xl);
}

/* Glass Button - تأثير زجاجي */
.btn-glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text-light);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* 3D Button - تأثير ثلاثي */
.btn-3d {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-secondary) 100%);
  color: var(--text-light);
  border: none;
  box-shadow: 
    0 4px 0 var(--dark-secondary),
    0 8px 15px rgba(146, 195, 76, 0.3);
  transform: translateY(0);
}

.btn-3d:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 6px 0 var(--dark-secondary),
    0 12px 20px rgba(146, 195, 76, 0.4);
}

.btn-3d:active {
  transform: translateY(2px);
  box-shadow: 
    0 2px 0 var(--dark-secondary),
    0 4px 10px rgba(146, 195, 76, 0.3);
}

/* Neon Button - نيون متوهج */
.btn-neon {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  box-shadow: 
    0 0 10px rgba(146, 195, 76, 0.5),
    inset 0 0 10px rgba(146, 195, 76, 0.2);
  text-shadow: 0 0 10px rgba(146, 195, 76, 0.5);
}

.btn-neon:hover {
  background: var(--secondary-color);
  color: var(--text-light);
  box-shadow: 
    0 0 20px rgba(146, 195, 76, 0.8),
    0 0 40px rgba(146, 195, 76, 0.5),
    inset 0 0 20px rgba(146, 195, 76, 0.3);
  text-shadow: none;
  transform: translateY(-3px);
}

/* Animated Border Button */
.btn-animated-border {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid transparent;
  position: relative;
  z-index: 1;
}

.btn-animated-border::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-animated-border::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  border-radius: var(--radius-lg);
  z-index: -1;
}

.btn-animated-border:hover::before {
  opacity: 1;
}

.btn-animated-border:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Ripple Effect Button */
.btn-ripple {
  background: var(--primary-color);
  color: var(--text-light);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-ripple:hover::after {
  width: 300px;
  height: 300px;
}

/* Glowing Button */
.btn-glow {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-secondary) 100%);
  color: var(--text-light);
  border: none;
  box-shadow: 0 0 20px rgba(146, 195, 76, 0.4);
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(146, 195, 76, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(146, 195, 76, 0.8);
  }
}

.btn-glow:hover {
  animation: none;
  box-shadow: 0 8px 40px rgba(146, 195, 76, 0.6);
  transform: translateY(-3px);
}

/* Split Button - منقسم */
.btn-split {
  background: linear-gradient(90deg, var(--primary-color) 50%, var(--secondary-color) 50%);
  background-size: 200% 100%;
  background-position: right;
  color: var(--text-light);
  border: none;
  transition: all 0.4s;
}

.btn-split:hover {
  background-position: left;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(27, 64, 99, 0.4);
}

/* ==========================================
   Button Sizes
   ========================================== */

.btn-xs {
  padding: var(--space-1) var(--space-3);
  font-size: var(--fs-xs);
  border-radius: var(--radius-sm);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--fs-sm);
  border-radius: var(--radius-md);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--fs-lg);
  border-radius: var(--radius-xl);
}

.btn-xl {
  padding: var(--space-5) var(--space-10);
  font-size: var(--fs-xl);
  border-radius: var(--radius-xl);
}

/* ==========================================
   Button States
   ========================================== */

.btn:disabled,
.btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.btn-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  margin-left: -10px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--text-light);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================
   Button Groups
   ========================================== */

.btn-group {
  display: inline-flex;
  gap: 0;
}

.btn-group .btn {
  border-radius: 0;
  margin: 0;
}

.btn-group .btn:first-child {
  border-top-right-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
}

.btn-group .btn:last-child {
  border-top-left-radius: var(--radius-lg);
  border-bottom-left-radius: var(--radius-lg);
}

.btn-group .btn:not(:last-child) {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

/* ==========================================
   Social Buttons
   ========================================== */

.btn-social {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-facebook {
  background: #1877f2;
  color: white;
}

.btn-twitter {
  background: #1da1f2;
  color: white;
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
}

.btn-whatsapp {
  background: #25d366;
  color: white;
}

.btn-youtube {
  background: #ff0000;
  color: white;
}

/* Hover effects for social buttons */
.btn-social:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ==========================================
   Button with Icons
   ========================================== */

.btn i,
.btn svg {
  transition: transform var(--transition-base);
}

.btn:hover i,
.btn:hover svg {
  transform: translateX(-3px);
}

.btn-icon-left i {
  margin-left: var(--space-2);
}

.btn-icon-right i {
  margin-right: var(--space-2);
}

/* ==========================================
   Responsive Adjustments
   ========================================== */

@media (max-width: 767px) {
  .btn {
    padding: var(--space-3) var(--space-4);
    font-size: var(--fs-sm);
  }
  
  .btn-lg {
    padding: var(--space-3) var(--space-6);
    font-size: var(--fs-base);
  }
  
  .btn-xl {
    padding: var(--space-4) var(--space-7);
    font-size: var(--fs-lg);
  }
}

/* ==========================================
   Header Styles - Creative Design
   ========================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-fixed);
  background-color: #ffffff;
  box-shadow: var(--shadow-creative);
  transition: all var(--transition-base);
}

/* Top Bar - Creative Gradient */
.header-topbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2a5a82 50%, var(--dark-primary) 100%);
  color: var(--text-light);
  padding: var(--space-2) 0;
  font-size: var(--fs-sm);
  position: relative;
  overflow: hidden;
}

.header-topbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  to {
    left: 100%;
  }
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.social-links {
  display: flex;
  gap: var(--space-2);
  list-style: none;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  color: var(--text-light);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.social-links a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--secondary-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all var(--transition-base);
}

.social-links a:hover::before {
  width: 100%;
  height: 100%;
}

.social-links a:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: var(--shadow-glow);
}

.social-links a svg,
.social-links a i {
  position: relative;
  z-index: 1;
  font-size: 16px;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  list-style: none;
}

.topbar-links a {
  color: var(--text-light);
  font-size: var(--fs-sm);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  position: relative;
}

.topbar-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width var(--transition-base);
}

.topbar-links a:hover::before {
  width: 100%;
}

.topbar-links a:hover {
  color: var(--secondary-color);
  background: rgba(255, 255, 255, 0.1);
}

/* Main Header - Creative Layout */
.header-main {
  background: #ffffff;
  padding: var(--space-4) 0;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--secondary-color), var(--primary-color), var(--secondary-color)) 1;
  position: relative;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.site-logo {
  flex-shrink: 0;
  position: relative;
}

.site-logo img {
  height: 70px;
  width: auto;
  transition: all var(--transition-base);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.site-logo:hover img {
  transform: scale(1.05) rotate(-2deg);
  filter: drop-shadow(0 8px 16px rgba(146, 195, 76, 0.3));
}

/* Creative Contact Items */
.header-contact {
  display: flex;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.contact-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(146, 195, 76, 0.1), transparent);
  transition: left 0.5s;
}

.contact-item:hover::before {
  left: 100%;
}

.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-creative);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-secondary) 100%);
  border-radius: var(--radius-md);
  color: var(--text-light);
  font-size: var(--fs-2xl);
  position: relative;
  overflow: hidden;
}

.contact-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  animation: rotate 4s linear infinite;
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

.contact-icon svg,
.contact-icon i {
  position: relative;
  z-index: 1;
}

.contact-info h6 {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  margin-bottom: var(--space-1);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.contact-info p {
  font-size: var(--fs-base);
  color: var(--primary-color);
  font-weight: 700;
  margin: 0;
}

.contact-info a {
  color: var(--primary-color);
  transition: color var(--transition-base);
}

.contact-info a:hover {
  color: var(--secondary-color);
}

/* Navigation - Creative Modern Design */
.main-nav {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-primary) 100%);
  box-shadow: var(--shadow-creative);
  position: relative;
}

.main-nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--secondary-color);
  background-size: 200% 100%;
  animation: gradient-move 3s ease infinite;
}

@keyframes gradient-move {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-5);
  color: var(--text-light);
  font-weight: 600;
  font-size: var(--fs-base);
  transition: all var(--transition-base);
  position: relative;
  z-index: 1;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 4px;
  background: var(--secondary-color);
  transform: translateX(-50%);
  transition: width var(--transition-base);
  box-shadow: var(--shadow-glow);
}

.nav-link::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.nav-link:hover::after,
.nav-item.active .nav-link::after {
  opacity: 1;
}

.nav-link:hover::before,
.nav-item.active .nav-link::before {
  width: 80%;
}

.nav-link:hover {
  color: var(--secondary-color);
  transform: translateY(-2px);
}

/* Dropdown Menu - Creative Design */
.nav-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 280px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all var(--transition-base);
  list-style: none;
  padding: var(--space-3);
  z-index: var(--z-dropdown);
  border-top: 3px solid var(--secondary-color);
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.nav-dropdown li {
  position: relative;
}

.nav-dropdown li::before {
  content: '';
  position: absolute;
  right: var(--space-3);
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--secondary-color);
  border-radius: 50%;
  transform: translateY(-50%) scale(0);
  transition: transform var(--transition-base);
}

.nav-dropdown li:hover::before {
  transform: translateY(-50%) scale(1);
}

.nav-dropdown li a {
  display: block;
  padding: var(--space-3) var(--space-5);
  color: var(--text-primary);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.nav-dropdown li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--secondary-color) 0%, transparent 100%);
  opacity: 0.1;
  transition: width var(--transition-base);
}

.nav-dropdown li a:hover::before {
  width: 100%;
}

.nav-dropdown li a:hover {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: var(--primary-color);
  padding-right: var(--space-6);
  font-weight: 600;
}

/* Mobile Menu Toggle - Creative */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-3);
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
}

.mobile-menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--secondary-color);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Bootstrap Offcanvas Customization */
.offcanvas {
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--dark-primary) 100%);
}

.offcanvas-header {
  background: rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas-title {
  color: var(--text-light);
  font-weight: 700;
}

.offcanvas .btn-close {
  filter: invert(1);
  opacity: 0.8;
}

.offcanvas-body {
  padding: var(--space-5) var(--space-4);
}

.offcanvas-body .nav-link {
  color: rgba(255, 255, 255, 0.9);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.offcanvas-body .nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--secondary-color);
}

.offcanvas-body .collapse .nav-link {
  padding: var(--space-2) var(--space-4);
  font-size: var(--fs-sm);
}

.offcanvas-body .bi-chevron-down {
  transition: transform var(--transition-base);
}

.offcanvas-body .nav-link[aria-expanded="true"] .bi-chevron-down {
  transform: rotate(180deg);
}

/* Desktop Dropdown Customization */
.dropdown-menu {
  background: #ffffff;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border-top: 3px solid var(--secondary-color);
  padding: var(--space-3);
  min-width: 280px;
}

.dropdown-item {
  padding: var(--space-3) var(--space-4);
  color: var(--text-primary);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
}

.dropdown-item::before {
  content: '';
  position: absolute;
  right: var(--space-3);
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--secondary-color);
  border-radius: 50%;
  transform: translateY(-50%) scale(0);
  transition: transform var(--transition-base);
}

.dropdown-item:hover::before {
  transform: translateY(-50%) scale(1);
}

.dropdown-item:hover {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: var(--primary-color);
  padding-right: var(--space-6);
}

/* CTA Button - Creative */
.nav-cta {
  margin-right: var(--space-4);
}

.nav-cta .btn {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-secondary) 100%);
  border: none;
  position: relative;
  overflow: hidden;
}

.nav-cta .btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
}

.nav-cta .btn:hover::before {
  width: 300px;
  height: 300px;
}

.nav-cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(146, 195, 76, 0.4);
}

/* ==========================================
   Form Elements
   ========================================== */
.form-group {
  margin-bottom: var(--space-4);
}

.form-label {
  display: block;
  margin-bottom: var(--space-2);
  font-weight: 600;
  color: var(--text-primary);
}

.form-control {
  display: block;
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  line-height: 1.5;
  color: var(--text-primary);
  background-color: #ffffff;
  border: 2px solid var(--light-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(146, 195, 76, 0.1);
}

.form-control::placeholder {
  color: var(--text-secondary);
  opacity: 0.7;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231b4063' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 12px center;
  padding-left: 40px;
}

/* ==========================================
   Card Component
   ========================================== */
.card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: var(--space-5);
}

.card-title {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-3);
  color: var(--primary-color);
}

.card-text {
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

/* ==========================================
   Footer Styles
   ========================================== */
.site-footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-primary) 100%);
  color: var(--text-light);
}

.footer-main {
  padding: var(--space-10) 0 var(--space-8);
}

.footer-widget {
  margin-bottom: var(--space-6);
}

.footer-logo {
  display: inline-block;
  margin-bottom: var(--space-4);
  transition: transform var(--transition-base);
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-logo img {
  height: 60px;
  width: auto;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.footer-widget-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: var(--space-4);
  position: relative;
  padding-bottom: var(--space-3);
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color) 0%, transparent 100%);
}

/* Footer Contact */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
  color: var(--secondary-color);
  font-size: var(--fs-lg);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-base);
}

.footer-contact a:hover {
  color: var(--secondary-color);
}

/* Footer Social */
.footer-social {
  display: flex;
  gap: var(--space-3);
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--text-light);
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-3);
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.8);
  transition: all var(--transition-base);
  padding: var(--space-2) 0;
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-right: var(--space-3);
}

.footer-links i {
  font-size: var(--fs-xs);
  transition: transform var(--transition-base);
}

.footer-links a:hover i {
  transform: translateX(-3px);
}

/* Working Hours */
.working-hours {
  list-style: none;
  padding: 0;
  margin: 0;
}

.working-hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3);
  margin-bottom: var(--space-2);
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  border-right: 3px solid var(--secondary-color);
}

.working-hours li.closed {
  border-right-color: var(--danger);
}

.working-hours .day {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.working-hours .time {
  color: var(--secondary-color);
  font-weight: 600;
}

.working-hours li.closed .time {
  color: var(--danger);
}

/* Footer Bottom */
.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: var(--space-5) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-sm);
  margin: 0;
}

.copyright strong {
  color: var(--secondary-color);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-4);
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-sm);
  transition: color var(--transition-base);
}

.footer-bottom-links a:hover {
  color: var(--secondary-color);
}

.footer-bottom-links li:not(:last-child)::after {
  content: '|';
  margin-right: var(--space-4);
  color: rgba(255, 255, 255, 0.3);
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-secondary) 100%);
  color: var(--text-light);
  border: none;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  cursor: pointer;
  z-index: var(--z-sticky);
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-base);
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(146, 195, 76, 0.4);
}

.scroll-to-top:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

/* Footer Responsive */
@media (max-width: 767px) {
  .footer-main {
    padding: var(--space-8) 0 var(--space-6);
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-widget-title::after {
    right: 50%;
    transform: translateX(50%);
  }
  
  .scroll-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
    font-size: var(--fs-lg);
  }
}

/* ==========================================
   WhatsApp Float Button
   ========================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: var(--shadow-xl);
  z-index: var(--z-fixed);
  transition: all var(--transition-base);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
}

/* ==========================================
   Header States & Animations
   ========================================== */
.site-header {
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.header-scrolled {
  box-shadow: var(--shadow-xl);
}

.header-hidden {
  transform: translateY(-100%);
}

/* Loading Spinner */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  border-top-color: var(--text-light);
  animation: spin 0.6s linear infinite;
}

/* Invalid Feedback for Forms */
.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: var(--space-1);
  font-size: var(--fs-sm);
  color: var(--danger);
}

.is-invalid {
  border-color: var(--danger);
}

.is-invalid:focus {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.is-valid {
  border-color: var(--success);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
}

@media (max-width: 991px) {
  .mobile-menu-overlay {
    display: block;
  }
}

/* Preloader Styles */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-slow);
}

#spinner {
  text-align: center;
}

#spinner img {
  width: 80px;
  height: auto;
  animation: pulse 1.5s ease-in-out infinite;
}

/* ==========================================
   Responsive Design
   ========================================== */

/* Tablet & Mobile */
@media (max-width: 991px) {
  :root {
    --fs-5xl: 2.25rem;
    --fs-4xl: 1.875rem;
    --fs-3xl: 1.5rem;
  }
  
  /* Hide top bar */
  .header-topbar {
    display: none;
  }
  
  /* Hide contact info */
  .header-contact {
    display: none !important;
  }
  
  /* Header main */
  .header-main {
    padding: var(--space-3) 0;
  }
  
  .header-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  
  /* Logo يمين */
  .site-logo {
    order: 1;
  }
  
  .site-logo img {
    height: 60px;
  }
  
  /* زر المنيو شمال */
  .mobile-menu-toggle {
    order: 2;
  }
  
  /* Nav container */
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  /* WhatsApp */
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    left: 20px;
    font-size: 24px;
  }
}

/* Mobile Phones */
@media (max-width: 767px) {
  .header-main {
    padding: var(--space-2) 0;
  }
  
  .site-logo img {
    height: 50px;
  }
  
  .whatsapp-float {
    width: 45px;
    height: 45px;
  }
  
  .footer-main {
    padding: var(--space-8) 0 var(--space-6);
  }
  
  .footer-widget {
    margin-bottom: var(--space-5);
  }
  
  .footer-widget-title::after {
    right: 50%;
    transform: translateX(50%);
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-3);
  }
  
  .scroll-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }
}

/* Very Small Phones */
@media (max-width: 480px) {
  .site-logo img {
    height: 45px;
  }
  
  .mobile-menu-toggle {
    padding: var(--space-2);
  }
  
  .mobile-menu-toggle span {
    width: 24px;
    height: 2.5px;
  }
}

/* ==========================================
   Print Styles
   ========================================== */
@media print {
  .site-header,
  .whatsapp-float,
  .btn {
    display: none;
  }
  
  body {
    background-color: #ffffff;
    color: #000000;
  }
}

/* ==========================================
   Accessibility Improvements
   ========================================== */
.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;
}

.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: var(--space-3) var(--space-5);
  text-decoration: none;
  z-index: 100;
}

.skip-to-content:focus {
  top: 0;
}

/* Focus Visible for Keyboard Navigation */
*:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================
   HOME PAGE - UNIFIED STYLES
   ========================================== */

/* Section Title - Reusable Component */
.section-title {
  text-align: center;
  margin-bottom: var(--space-8);
  position: relative;
}

.section-title h2 {
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--space-3);
  position: relative;
  display: inline-block;
}

.section-title h2 .text-theme-colored2 {
  color: var(--secondary-color);
}

.section-title p {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

.section-title .double-line-bottom-theme-colored-2 {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  margin: 0 auto;
  border-radius: var(--radius-full);
  position: relative;
}

.section-title .double-line-bottom-theme-colored-2::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: var(--light-border);
}

/* Course Card - Modern Design - COMPLETE VERSION */
.course-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Course Card Thumbnail */
.course-card-thumb {
  position: relative;
  overflow: hidden;
  height: 280px;
  background: #f0f0f0;
}

.course-card-thumb::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 1;
}

.course-card:hover .course-card-thumb::before {
  opacity: 1;
}

.course-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-card:hover .course-card-thumb img {
  transform: scale(1.15);
}

/* Category Badge */
.course-card-category {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 10;
  transition: all var(--transition-base);
}

.course-card:hover .course-card-category {
  background: var(--secondary-color);
  color: var(--text-light);
  transform: scale(1.05);
}

/* Price Badges */
.course-card-badges {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  z-index: 10;
}

.course-card-badge {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-primary) 100%);
  color: var(--text-light);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--fs-xs);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(27, 64, 99, 0.3);
  display: flex;
  align-items: center;
  gap: var(--space-1);
  white-space: nowrap;
}

.course-card-badge.online {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-secondary) 100%);
  box-shadow: 0 4px 12px rgba(146, 195, 76, 0.3);
}

/* Course Card Body */
.course-card-body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* Course Title */
.course-card-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
  line-height: 1.4;
  min-height: 56px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-base);
}

.course-card-title a {
  color: inherit;
  text-decoration: none;
}

.course-card:hover .course-card-title {
  color: var(--secondary-color);
}

/* Title Divider */
.course-card-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color) 0%, transparent 100%);
  border-radius: var(--radius-full);
  margin: 0;
}

/* Rating & Stats */
.course-card-rating {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.course-rating-stars {
  display: flex;
  gap: 2px;
}

.course-rating-stars i {
  color: #fbbf24;
  font-size: var(--fs-base);
}

.course-rating-stats {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
}

.course-rating-stat {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.course-rating-stat i {
  color: var(--secondary-color);
}

/* Course Description */
.course-card-description {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Instructor Info */
.course-card-instructor {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--light-border);
}

.course-instructor-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid var(--light-border);
  flex-shrink: 0;
  transition: border-color var(--transition-base);
}

.course-card:hover .course-instructor-avatar {
  border-color: var(--secondary-color);
}

.course-instructor-info {
  flex: 1;
  min-width: 0;
}

.course-instructor-label {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  margin: 0 0 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.course-instructor-name {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--primary-color);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Payment Badges */
.course-card-payments {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  justify-content: center;
}

.course-card-payments img {
  height: 18px;
  width: auto;
  opacity: 0.8;
  transition: opacity var(--transition-base);
}

.course-card-payments img:hover {
  opacity: 1;
}

/* Course Card Footer */
.course-card-footer {
  padding: var(--space-4);
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-top: 1px solid var(--light-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

/* Course Meta */
.course-card-meta-footer {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.course-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  font-weight: 500;
}

.course-meta-item i {
  color: var(--secondary-color);
  font-size: var(--fs-base);
}

.course-meta-item strong {
  color: var(--primary-color);
  font-weight: 700;
}

/* CTA Button */
.course-card-cta {
  background: linear-gradient(135deg, #c9971a 0%, #a67a0f 100%);
  color: var(--text-light);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(201, 151, 26, 0.3);
  position: relative;
  overflow: hidden;
}

.course-card-cta::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;
}

.course-card-cta:hover::before {
  left: 100%;
}

.course-card-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 151, 26, 0.4);
  color: var(--text-light);
}

.course-card-cta:active {
  transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .course-card-thumb {
    height: 220px;
  }
  
  .course-card-body {
    padding: var(--space-4);
    gap: var(--space-3);
  }
  
  .course-card-title {
    font-size: var(--fs-lg);
    min-height: auto;
  }
  
  .course-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
  }
  
  .course-card-meta-footer {
    justify-content: space-between;
  }
  
  .course-card-cta {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .course-card-category {
    font-size: var(--fs-xs);
    padding: var(--space-1) var(--space-3);
  }
  
  .course-card-badges {
    left: var(--space-2);
    top: var(--space-2);
  }
  
  .course-card-badge {
    font-size: 10px;
    padding: var(--space-1) var(--space-2);
  }
}

/* Icon Box - Feature Cards */
.icon-box-modern {
  background: #ffffff;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.icon-box-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.icon-box-modern:hover::before {
  transform: scaleX(1);
}

.icon-box-modern:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.icon-box-modern-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-4);
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-secondary) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-4xl);
  color: var(--text-light);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.icon-box-modern-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
  animation: rotate 4s linear infinite;
}

.icon-box-modern:hover .icon-box-modern-icon {
  transform: scale(1.1) rotate(5deg);
}

.icon-box-modern-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--space-3);
}

.icon-box-modern-text {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Stats/Funfact Cards */
.funfact-card {
  text-align: center;
  padding: var(--space-5);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-base);
}

.funfact-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.funfact-card i {
  font-size: var(--fs-5xl);
  color: var(--secondary-color);
  margin-bottom: var(--space-4);
  display: block;
}

.funfact-card h2 {
  font-size: var(--fs-5xl);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: var(--space-3);
}

.funfact-card h5 {
  font-size: var(--fs-base);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Event Card */
.event-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  display: flex;
  margin-bottom: var(--space-5);
}

.event-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateX(-5px);
}

.event-card-date {
  flex-shrink: 0;
  width: 100px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-primary) 100%);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  text-align: center;
}

.event-card-date-day {
  font-size: var(--fs-4xl);
  font-weight: 700;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.event-card-date-month {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-card-content {
  flex: 1;
  padding: var(--space-5);
}

.event-card-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--space-3);
}

.event-card-title a {
  color: inherit;
  transition: color var(--transition-base);
}

.event-card-title a:hover {
  color: var(--secondary-color);
}

.event-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
}

.event-card-meta i {
  color: var(--secondary-color);
}

.event-card-description {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Team Member Card */
.team-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.team-card-thumb {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.team-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.team-card:hover .team-card-thumb img {
  transform: scale(1.1);
}

.team-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(27, 64, 99, 0.9) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: var(--space-5);
}

.team-card:hover .team-card-overlay {
  opacity: 1;
}

.team-card-social {
  display: flex;
  gap: var(--space-3);
  list-style: none;
  padding: 0;
  margin: 0;
}

.team-card-social a {
  width: 40px;
  height: 40px;
  background: var(--secondary-color);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all var(--transition-base);
}

.team-card-social a:hover {
  background: var(--dark-secondary);
  transform: translateY(-3px);
}

.team-card-body {
  padding: var(--space-5);
}

.team-card-name {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--space-2);
}

.team-card-role {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--light-border);
  position: relative;
}

.team-card-role::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--secondary-color);
}

.team-card-description {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Blog/News Card */
.blog-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.blog-card-header {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.blog-card-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-header img {
  transform: scale(1.1);
}

.blog-card-date {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-primary) 100%);
  color: var(--text-light);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  text-align: center;
  min-width: 70px;
  box-shadow: var(--shadow-lg);
}

.blog-card-date-day {
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: 1;
  display: block;
  margin-bottom: var(--space-1);
}

.blog-card-date-month {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  display: block;
}

.blog-card-body {
  padding: var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
  flex-wrap: wrap;
}

.blog-card-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  color: var(--text-secondary);
}

.blog-card-meta-item i {
  color: var(--secondary-color);
}

.blog-card-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--space-3);
  line-height: 1.4;
}

.blog-card-title a {
  color: inherit;
  transition: color var(--transition-base);
}

.blog-card-title a:hover {
  color: var(--secondary-color);
}

.blog-card-excerpt {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-4);
  flex: 1;
}

.blog-card-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--primary-color);
  font-weight: 600;
  font-size: var(--fs-sm);
  transition: all var(--transition-base);
}

.blog-card-cta:hover {
  color: var(--secondary-color);
  gap: var(--space-3);
}

/* Accordion - Custom Style */
.accordion-custom .accordion-item {
  background: #ffffff;
  border: none;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-3);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition-base);
}

.accordion-custom .accordion-item:hover {
  box-shadow: var(--shadow-md);
}

.accordion-custom .accordion-header {
  margin: 0;
}

.accordion-custom .accordion-button {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  color: var(--primary-color);
  font-weight: 600;
  font-size: var(--fs-base);
  padding: var(--space-4) var(--space-5);
  border: none;
  border-radius: 0;
  transition: all var(--transition-base);
}

.accordion-custom .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-primary) 100%);
  color: var(--text-light);
  box-shadow: none;
}

.accordion-custom .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231b4063'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-custom .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-custom .accordion-body {
  padding: var(--space-5);
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--light-border);
}

/* Testimonial Card */
.testimonial-card {
  background: #ffffff;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.testimonial-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.testimonial-card-avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid var(--secondary-color);
  flex-shrink: 0;
}

.testimonial-card-author {
  flex: 1;
}

.testimonial-card-name {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--space-1);
}

.testimonial-card-role {
  font-size: var(--fs-sm);
  color: var(--secondary-color);
  font-weight: 600;
}

.testimonial-card-content {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: var(--fs-base);
  position: relative;
  padding-top: var(--space-4);
}

.testimonial-card-content::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 0;
  font-size: var(--fs-5xl);
  color: var(--secondary-color);
  opacity: 0.2;
  font-family: Georgia, serif;
}

/* Parallax Section */
.parallax-section {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: var(--space-12) 0;
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(27, 64, 99, 0.85);
}

.parallax-content {
  position: relative;
  z-index: 10;
  color: var(--text-light);
}

/* Client Logo Grid */
.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-5);
  padding: var(--space-6) 0;
}

.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  min-height: 120px;
}

.client-logo-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.client-logo-item img {
  max-width: 100%;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: all var(--transition-base);
}

.client-logo-item:hover img {
  opacity: 1;
  filter: none;
}

/* Video Player Button */
.video-play-btn {
  width: 80px;
  height: 80px;
  background: var(--secondary-color);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: var(--fs-4xl);
  position: relative;
  transition: all var(--transition-base);
  cursor: pointer;
  margin: 0 auto;
}

.video-play-btn::before,
.video-play-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  border: 2px solid var(--secondary-color);
  animation: pulse-ring 1.5s ease-out infinite;
}

.video-play-btn::after {
  animation-delay: 0.75s;
}

.video-play-btn:hover {
  transform: scale(1.1);
  background: var(--dark-secondary);
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

/* Utility Classes - Extended */
.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-primary) 100%);
}

.bg-gradient-secondary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-secondary) 100%);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hover-lift {
  transition: transform var(--transition-base);
}

.hover-lift:hover {
  transform: translateY(-5px);
}

.hover-scale {
  transition: transform var(--transition-base);
}

.hover-scale:hover {
  transform: scale(1.05);
}

.border-gradient {
  border: 2px solid transparent;
  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
  background-image: linear-gradient(white, white), linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Loading State */
.loading-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s ease-in-out infinite;
  border-radius: var(--radius-md);
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Badge Component */
.badge-custom {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--secondary-color);
  color: var(--text-light);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-custom.badge-primary {
  background: var(--primary-color);
}

.badge-custom.badge-outline {
  background: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
}

/* Divider Line */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--light-border) 50%, transparent 100%);
  margin: var(--space-8) 0;
}

.divider-thick {
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
  margin: var(--space-6) 0;
}

/*## 2️⃣ CSS المُحسّن (يُضاف لنهاية ملف style.css)
```css*/
/* ==========================================
   HOMEPAGE SECTIONS - CREATIVE STYLES
   ========================================== */

/* Animated Background */
.animated-bg {
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(146, 195, 76, 0.05) 0%, transparent 70%);
  animation: rotate-bg 30s linear infinite;
}

@keyframes rotate-bg {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* About Section */
/* Hero Section */
          /* Header */
        .header-section {
            background: linear-gradient(135deg, var(--primary-color), var(--dark-primary));
            padding: 200px 0 140px;
            position: relative;
            clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
            
        }

        .header-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%2392c34c" fill-opacity="0.2" d="M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,133.3C672,117,768,139,864,165.3C960,192,1056,224,1152,213.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom no-repeat;
            background-size: cover;
        }

        .header-section h2 {
            font-size: 4.2rem;
            font-weight: 900;
            text-shadow: 0 15px 40px rgba(255, 255, 255, 0.6);
            color: var(--text-light);
        }

        .breadcrumb {
            background: rgba(255,255,255,0.15);
            border-radius: 50px;
            padding: 12px 30px;
            display: inline-flex;
        }

        .breadcrumb-item a { color: white; text-decoration: none; }
        .breadcrumb-item.active { color: var(--secondary-color); }

        /* Content Section */
        .content-img {
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-creative);
            transition: all var(--transition-slow);
        }

        .content-img:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-glow), var(--shadow-creative);
        }

        .content-img img {
            width: 100%;
            height: 400px;
            object-fit: cover;
            transition: transform var(--transition-slow);
        }

        .content-img:hover img {
            transform: scale(1.1);
        }

        .content-title {
            color: var(--primary-color);
            position: relative;
            padding-bottom: 15px;
        }

        .content-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 80px;
            height: 4px;
            background: var(--secondary-color);
            border-radius: 2px;
        }

        /* Stats Section */
        .stats-section {
            background: linear-gradient(135deg, var(--primary-color), var(--dark-primary));
            padding: 80px 0;
        }

        .stat-card {
            background: rgba(255,255,255,0.1);
            border-radius: var(--radius-lg);
            padding: 30px;
            text-align: center;
            transition: all var(--transition-slow);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.2);
        }

        .stat-card:hover {
            transform: translateY(-15px);
            background: rgba(255,255,255,0.2);
            box-shadow: var(--shadow-glow);
        }

        .stat-icon {
            font-size: 3.5rem;
            color: var(--secondary-color);
            margin-bottom: 20px;
        }

        .counter {
            font-size: 3rem;
            font-weight: 700;
            color: white;
        }

        /* Team Section */
        .team-card {
            background: white;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-creative);
            transition: all var(--transition-slow);
        }

        .team-card:hover {
            transform: translateY(-15px);
            box-shadow: var(--shadow-glow), var(--shadow-creative);
        }

        .team-thumb {
            position: relative;
            overflow: hidden;
            height: 350px;
        }

        .team-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform var(--transition-slow);
        }

        .team-card:hover .team-thumb img {
            transform: scale(1.12);
        }

        .team-overlay {
            position: absolute;
            inset: 0;
            background: rgba(27,64,99,0.85);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity var(--transition-base);
        }

        .team-card:hover .team-overlay {
            opacity: 1;
        }

        .team-social a {
            width: 50px;
            height: 50px;
            background: white!important;
            color: var(--primary-color)!important;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 10px;
            transition: all var(--transition-base);
        }

        .team-social a:hover {
            background: var(--secondary-color);
            color: white;
            transform: translateY(-5px);
        }
        /* Stats */
       .stats-section {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-primary) 100%);
            padding: 100px 0;
            position: relative;
            overflow: hidden;
        }

        .stats-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at center, rgba(146,195,76,0.15) 0%, transparent 70%);
            pointer-events: none;
        }

        .stat-card {
            background: rgba(255,255,255,0.08);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255,255,255,0.15);
            border-radius: var(--radius-lg);
            padding: 40px 20px;
            text-align: center;
            transition: all var(--transition-slow);
            position: relative;
            overflow: hidden;
        }

        .stat-card::after {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: linear-gradient(135deg, transparent, rgba(146,195,76,0.1));
            opacity: 0;
            transition: opacity var(--transition-base);
            border-radius: var(--radius-lg);
        }

        .stat-card:hover {
            transform: translateY(-20px) scale(1.05);
            background: rgba(255,255,255,0.15);
            box-shadow: var(--shadow-glow), 0 20px 40px rgba(0,0,0,0.3);
        }

        .stat-card:hover::after {
            opacity: 1;
        }

        .stat-icon {
            font-size: 4rem;
            color: var(--secondary-color);
            margin-bottom: 25px;
            transition: all var(--transition-base);
            display: inline-block;
        }

        .stat-card:hover .stat-icon {
            transform: scale(1.2) rotate(10deg);
            filter: drop-shadow(0 0 15px var(--secondary-color));
        }

        .counter {
            font-size: 3.5rem;
            font-weight: 800;
            color: var(--text-light);
            margin: 15px 0;
            text-shadow: 0 5px 15px rgba(0,0,0,0.4);
        }

        .stat-title {
            font-size: 1.3rem;
            color: var(--text-light);
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 600;
        }
        /* Team */
      /* Header */
        .header-section {
            background: linear-gradient(135deg, var(--primary-color), var(--dark-primary));
            padding: 200px 0 140px;
            position: relative;
            clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
            
        }

        .header-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%2392c34c" fill-opacity="0.2" d="M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,133.3C672,117,768,139,864,165.3C960,192,1056,224,1152,213.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom no-repeat;
            background-size: cover;
        }

        .header-section h2 {
            font-size: 4.2rem;
            font-weight: 900;
            text-shadow: 0 15px 40px rgba(255, 255, 255, 0.6);
            color: var(--text-light) !important;
        }

        .breadcrumb {
            background: rgba(255,255,255,0.15);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.2);
        }

        /* Team Card - تصميم فخم جدًا */
        .team-card {
            background: white;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-creative);
            transition: all var(--transition-slow);
            position: relative;
        }

        .team-card:hover {
            transform: translateY(-25px) scale(1.05);
            box-shadow: var(--shadow-glow), var(--shadow-creative);
        }

        .team-img-wrapper {
            position: relative;
            height: 380px;
            overflow: hidden;
        }

        .team-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform var(--transition-slow);
        }

        .team-card:hover .team-img-wrapper img {
            transform: scale(1.2);
        }

        .team-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(transparent, var(--primary-color));
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity var(--transition-base);
        }

        .team-card:hover .team-overlay {
            opacity: 1;
        }

        .social-icon {
            width: 55px;
            height: 55px;
            background: white;
            color: var(--primary-color);
            font-size: 1.3rem;
            transition: all var(--transition-base);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        .social-icon:hover {
            background: var(--secondary-color);
            color: white;
            transform: translateY(-10px) scale(1.15);
            box-shadow: var(--shadow-glow);
        }

        .job-title {
            position: relative;
            display: inline-block;
            padding-bottom: 12px;
            font-weight: 600;
        }

        .job-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 4px;
            background: var(--secondary-color);
            border-radius: 2px;
            transition: width var(--transition-base);
        }

        .team-card:hover .job-title::after {
            width: 100%;
        }

        /* Scroll to Top */
        #scrollToTop {
            position: fixed;
            bottom: 30px;
            left: 30px;
            width: 50px;
            height: 50px;
            background: var(--secondary-color);
            color: white;
            border: none;
            border-radius: 50%;
            box-shadow: var(--shadow-creative);
            transition: all var(--transition-base);
            z-index: 1000;
        }

        #scrollToTop:hover {
            background: var(--primary-color);
            transform: translateY(-5px);
            box-shadow: var(--shadow-glow);
        }
        /* Under Construction */
        .animate__bounceIn img {
            animation: bounce 2s ease-in-out infinite;
        }

        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-25px); }
        }

        /* Responsive */
        @media (max-width: 768px) {
            .display-4 { font-size: 2rem; }
            .display-5 { font-size: 1.8rem; }
            .display-3 { font-size: 2.5rem; }
        }

/* Features Gradient Background */
.features-gradient {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.98) 100%), 
              url('images/bg/bg-pattern.png') center/cover;
}

/* Feature Cards */
.feature-card {
  transition: all var(--transition-base);
  border-top: 4px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl) !important;
  border-top-width: 6px;
}

.feature-card:nth-child(4n+1) { border-top-color: #FC9928; }
.feature-card:nth-child(4n+2) { border-top-color: #43B14B; }
.feature-card:nth-child(4n+3) { border-top-color: #00C3CB; }
.feature-card:nth-child(4n+4) { border-top-color: #EF5861; }

.feature-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.feature-icon-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  animation: pulse-icon 3s ease-in-out infinite;
}

@keyframes pulse-icon {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

/* Registration Form Card */
.registration-form-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
}

/* Stats Cards */
.stat-card-modern {
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.stat-card-modern:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  transform: translateY(-5px);
}

/* Event Cards */
.event-card-modern {
  transition: all var(--transition-base);
  overflow: hidden;
}

.event-card-modern:hover {
  transform: translateX(-5px);
  box-shadow: var(--shadow-xl) !important;
}

.event-date-badge {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-primary) 100%);
  color: var(--text-light);
  min-width: 100px;
}

/* Services Accordion */
.services-accordion .accordion-button {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  color: var(--primary-color);
  transition: all var(--transition-base);
}

.services-accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-primary) 100%);
  color: var(--text-light);
}

/* Team Cards */
.team-card-modern {
  transition: all var(--transition-base);
}

.team-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl) !important;
}

.team-img-wrapper {
  height: 300px;
}

.team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card-modern:hover .team-img-wrapper img {
  transform: scale(1.1);
}

.team-overlay {
  background: linear-gradient(180deg, transparent 0%, rgba(27, 64, 99, 0.9) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.team-card-modern:hover .team-overlay {
  opacity: 1;
}

/* Video Play Button */
.video-play-button {
  width: 100px;
  height: 100px;
  position: relative;
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(146, 195, 76, 0.7);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(146, 195, 76, 0);
  }
}

/* Training Field Cards */
.training-field-card {
  transition: all var(--transition-base);
  border-left: 4px solid var(--secondary-color);
}

.training-field-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl) !important;
  border-left-width: 6px;
}

/* News Cards */
.news-card-modern {
  transition: all var(--transition-base);
}

.news-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl) !important;
}

.badge-date {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-primary) 100%);
  color: var(--text-light);
  padding: 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 70px;
}

/* Partner Logos */
.partner-logo-wrapper img {
  transition: all var(--transition-base);
}

.partner-logo-wrapper:hover img {
  opacity: 1 !important;
  filter: none !important;
  transform: scale(1.1);
}

/* Section Divider */
.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  border-radius: var(--radius-full);
  position: relative;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: var(--light-border);
}

/* Backdrop Blur Utility */
.backdrop-blur {
  backdrop-filter: blur(10px);
}
/* Team */
        .team-card {
            transition: all 0.4s ease;
            overflow: hidden;
            border: none;
            border-radius: 1rem;
            background: white;
        }

        .team-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        }

        .team-img-wrapper {
            position: relative;
            height: 380px;
            overflow: hidden;
        }

        .team-img-wrapper img {
            transition: transform 0.6s ease;
        }

        .team-card:hover .team-img-wrapper img {
            transform: scale(1.15);
        }

        .team-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(var(--primary-rgb, 0,123,255), 0.9), rgba(var(--secondary-rgb, 108,117,125), 0.9));
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.5s ease;
        }

        .team-card:hover .team-overlay {
            opacity: 1;
        }

        .social-icon {
            width: 50px;
            height: 50px;
            font-size: 20px;
            transition: all 0.3s ease;
        }

        .social-icon:hover {
            transform: translateY(-5px) scale(1.1);
            box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        }

        .job-title {
            position: relative;
            display: inline-block;
            padding-bottom: 10px;
        }

        .job-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 60px;
            height: 3px;
            background: var(--secondary);
            transition: width 0.4s ease;
        }

        .team-card:hover .job-title::after {
            width: 100%;
        }
        /*job*/
          /* Header */
        .header-section {
            background: linear-gradient(135deg, var(--primary-color), var(--dark-primary));
            padding: 200px 0 140px;
            position: relative;
            clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
            
        }

        .header-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%2392c34c" fill-opacity="0.2" d="M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,133.3C672,117,768,139,864,165.3C960,192,1056,224,1152,213.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom no-repeat;
            background-size: cover;
        }

        .header-section h2 {
            font-size: 4.2rem;
            font-weight: 900;
            text-shadow: 0 15px 40px rgba(255, 255, 255, 0.6);
            color: var(--text-light);
        }

        .breadcrumb {
            background: rgba(255, 255, 255, 0.086)!important;
            border-radius: 50px;
            padding: 12px 25px;
            display: inline-flex;
        }

        .breadcrumb-item a {
            color: #fff;
            text-decoration: none;
        }

        .breadcrumb-item.active {
            color: #92C34C;
        }

        /* Form Section */
        /* Form Section - تصميم فخم وعصري جدًا */
        .form-section {
            padding: 100px 0;
            position: relative;
        }

        .form-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at center, rgba(146,195,76,0.15) 0%, transparent 70%);
            pointer-events: none;
        }

        .form-container {
            background: rgba(255,255,255,0.95);
            backdrop-filter: blur(15px);
            border-radius: var(--radius-lg);
            padding: 50px 40px;
            box-shadow: var(--shadow-creative);
            border: 1px solid rgba(146,195,76,0.2);
            transition: all var(--transition-slow);
            position: relative;
            overflow: hidden;
        }

        .form-container::after {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 5px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
        }

        .form-container:hover {
            transform: translateY(-15px);
            box-shadow: var(--shadow-glow), var(--shadow-creative);
        }

        .form-title {
            color: var(--primary-color);
            font-weight: 800;
            position: relative;
            display: inline-block;
            margin-bottom: 60px;
        }

        .form-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 5px;
            background: var(--secondary-color);
            border-radius: 3px;
        }

        .form-label {
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 10px;
        }

        .form-control, .form-select {
            border-radius: var(--radius-md);
            border: 2px solid #e0e0e0;
            padding: 12px 18px;
            font-size: 1rem;
            transition: all var(--transition-base);
            background: rgba(255,255,255,0.8);
        }

        .form-control:focus, .form-select:focus {
            border-color: var(--secondary-color);
            box-shadow: 0 0 0 0.2rem rgba(146,195,76,0.25);
            transform: scale(1.02);
            background: white;
        }

        textarea.form-control {
            resize: vertical;
            min-height: 150px;
        }

        /* File Input Styling */
        .form-control[type="file"] {
            padding: 5px;
            background: rgba(255,255,255,0.9);
        }

        .form-control[type="file"]::file-selector-button {
            background: var(--primary-color);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: var(--radius-md);
            cursor: pointer;
            transition: var(--transition-base);
        }

        .form-control[type="file"]::file-selector-button:hover {
            background: var(--secondary-color);
        }

        small {
            color: var(--text-secondary);
            font-style: italic;
        }

        /* Submit Button - جامد جدًا */
        .btn-submit {
            background: linear-gradient(135deg, var(--primary-color), var(--dark-primary));
            border: none;
            border-radius: 50px;
            padding: 15px 50px;
            font-size: 1.2rem;
            font-weight: 700;
            color: white;
            position: relative;
            overflow: hidden;
            transition: all var(--transition-base);
            box-shadow: 0 10px 30px rgba(27,64,99,0.4);
        }

        .btn-submit::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 var(--transition-slow);
        }

        .btn-submit:hover {
            transform: translateY(-8px) scale(1.05);
            box-shadow: var(--shadow-glow), 0 20px 40px rgba(27,64,99,0.5);
            background: linear-gradient(135deg, var(--secondary-color), #78a53a);
        }

        .btn-submit:hover::before {
            left: 100%;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .form-container {
                padding: 40px 25px;
                margin: 20px;
            }
            .btn-submit {
                padding: 15px 40px;
                font-size: 1.1rem;
            }
        }
/* Responsive */
@media (max-width: 767px) {
  .team-img-wrapper {
    height: 250px;
  }
  
  .feature-icon-wrapper {
    width: 60px;
    height: 60px;
  }
  
  .video-play-button {
    width: 80px;
    height: 80px;
  }
  
  .badge-date {
    min-width: 60px;
    padding: 0.75rem;
  }
  
  .event-date-badge {
    min-width: 80px;
  }
}
/*page 3*/
      /* Header */
        .header-section {
            background: linear-gradient(135deg, var(--primary-color), var(--dark-primary));
            padding: 200px 0 140px;
            position: relative;
            clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
            
        }

        .header-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%2392c34c" fill-opacity="0.2" d="M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,133.3C672,117,768,139,864,165.3C960,192,1056,224,1152,213.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom no-repeat;
            background-size: cover;
        }

        .header-section h2 {
            font-size: 4.2rem;
            font-weight: 900;
            text-shadow: 0 15px 40px rgba(255, 255, 255, 0.6);
            color: var(--text-light);
        }

        .breadcrumb {
            background: rgba(255,255,255,0.15);
            border-radius: 50px;
            padding: 12px 30px;
            display: inline-flex;
        }

        .breadcrumb-item a {
            color: white;
            text-decoration: none;
        }

        .breadcrumb-item.active {
            color: var(--secondary-color);
        }

        /* Courses Section */
        .course-card {
            background: white;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-creative);
            transition: all var(--transition-slow);
            height: 100%;
        }

        .course-card:hover {
            transform: translateY(-15px);
            box-shadow: var(--shadow-glow), var(--shadow-creative);
        }

        .course-thumb {
            position: relative;
            overflow: hidden;
        }

        .course-thumb img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            transition: transform var(--transition-slow);
        }

        .course-card:hover .course-thumb img {
            transform: scale(1.12);
        }

        .price-tag {
            position: absolute;
            bottom: 15px;
            left: 15px;
            background: var(--secondary-color);
            color: white;
            padding: 8px 15px;
            border-radius: 30px;
            font-weight: bold;
            font-size: 0.9rem;
        }

        .online-tag {
            position: absolute;
            top: 15px;
            right: 15px;
            background: var(--primary-color);
            color: white;
            padding: 8px 15px;
            border-radius: 30px;
            font-weight: bold;
            font-size: 0.9rem;
        }

        .course-details {
            padding: 25px;
        }

        .course-title {
            color: var(--primary-color);
            transition: color var(--transition-base);
        }

        .course-card:hover .course-title {
            color: var(--secondary-color);
        }

        .author-img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            border: 4px solid var(--secondary-color);
            margin-top: -40px;
            box-shadow: var(--shadow-md);
        }

        .register-btn {
            background: linear-gradient(135deg, var(--primary-color), var(--dark-primary));
            border: none;
            border-radius: 50px;
            padding: 10px 30px;
            color: white;
            font-weight: 600;
            transition: all var(--transition-base);
        }

        .register-btn:hover {
            background: var(--secondary-color);
            transform: translateY(-3px);
            box-shadow: var(--shadow-glow);
        }

        /* Funfact Section */
        .funfact-section {
            background: linear-gradient(rgba(27,64,99,0.9), rgba(18,53,36,0.95)), url('images/we-provide-bg.jpg') center/cover no-repeat fixed;
            padding: 100px 0;
        }

        .funfact-item i {
            font-size: 3.5rem;
            color: var(--secondary-color);
            margin-bottom: 20px;
            transition: transform var(--transition-slow);
        }

        .funfact-item:hover i {
            transform: scale(1.2) rotate(10deg);
        }

        .animate-number {
            font-size: 3rem;
            font-weight: 700;
            color: white;
        }

        /* Counter Animation (بسيط بدون مكتبات) */
        .counter {
            font-size: 3rem;
            font-weight: 700;
            color: white;
        }

        /*video*/
        
    

      /* Header */
        .header-section {
            background: linear-gradient(135deg, var(--primary-color), var(--dark-primary));
            padding: 200px 0 140px;
            position: relative;
            clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
            
        }

        .header-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%2392c34c" fill-opacity="0.2" d="M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,133.3C672,117,768,139,864,165.3C960,192,1056,224,1152,213.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom no-repeat;
            background-size: cover;
        }

        .header-section h2 {
            font-size: 4.2rem;
            font-weight: 900;
            text-shadow: 0 15px 40px rgba(255, 255, 255, 0.6);
            color: var(--text-light);
        }

        /* Video Card*/
        .video-card {
            background: white;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-creative);
            transition: all var(--transition-base);
            position: relative;
            transform: perspective(1500px) rotateY(0deg) scale(1);
        }

        .card-img-wrapper {
            position: relative;
            height: 340px;
            overflow: hidden;
        }

        .card-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform var(--transition-slow);
        }

        
        .play-btn {
            animation: float 6s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0) scale(1); }
            50% { transform: translateY(-10px) scale(1.02); }
        }

        /* */
        .play-overlay {
            position: absolute;
            inset: 0;
            background: rgba(27,64,99,0.4);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0.7;
            transition: all var(--transition-base);
            backdrop-filter: blur(3px);
        }

        .play-btn {
            width: 100px;
            height: 100px;
            background: rgba(146,195,76,0.9);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            box-shadow: 0 15px 40px rgba(0,0,0,0.4);
            animation: pulseGlow 2s infinite;
            transition: all var(--transition-base);
        }

        @keyframes pulseGlow {
            0% { box-shadow: 0 0 0 0 rgba(146,195,76,0.7); }
            70% { box-shadow: 0 0 0 20px rgba(146,195,76,0); }
            100% { box-shadow: 0 0 0 0 rgba(146,195,76,0); }
        }

        /* عند الهوفر - شغل نار */
        .video-card:hover {
            transform: perspective(1500px) translateY(-50px) scale(1.15) rotateY(8deg);
            box-shadow: var(--shadow-glow), var(--shadow-creative);
            z-index: 30;
        }

        .video-card:hover .card-img-wrapper img {
            transform: scale(1.4) rotate(5deg);
        }

        .video-card:hover .play-overlay {
            opacity: 1;
            background: rgba(27,64,99,0.8);
        }

        .video-card:hover .play-btn {
            transform: scale(1.4);
            background: white;
            color: var(--primary-color);
            animation: none;
            box-shadow: var(--shadow-glow);
        }

        .video-title {
            padding: 35px;
            text-align: center;
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--primary-color);
            background: white;
            transition: all var(--transition-base);
        }

        .video-card:hover .video-title {
            color: var(--secondary-color);
            transform: translateY(-15px);
        }

        /* Responsive */
        @media (max-width: 992px) {
            .play-btn { width: 90px; height: 90px; font-size: 2.8rem; }
            .video-card:hover { transform: translateY(-30px) scale(1.1); }
        }

        @media (max-width: 768px) {
            .header-section h2 { font-size: 3.2rem; }
            .play-btn { width: 80px; height: 80px; font-size: 2.5rem; }
            .video-card:hover { transform: translateY(-20px) scale(1.05); }
        }
     
        /*images*/
          /* Header */
        .header-section {
            background: linear-gradient(135deg, var(--primary-color), var(--dark-primary));
            padding: 200px 0 140px;
            position: relative;
            clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
            
        }

        .header-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%2392c34c" fill-opacity="0.2" d="M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,133.3C672,117,768,139,864,165.3C960,192,1056,224,1152,213.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom no-repeat;
            background-size: cover;
        }

        .header-section h2 {
            font-size: 4.2rem;
            font-weight: 900;
            text-shadow: 0 15px 40px rgba(255, 255, 255, 0.6);
            color: var(--text-light);
        }

        .breadcrumb {
            background: rgba(255,255,255,0.15);
            border-radius: 50px;
            padding: 12px 30px;
            display: inline-flex;
        }

        .breadcrumb-item a {
            color: white;
            text-decoration: none;
        }

        .breadcrumb-item.active {
            color: var(--secondary-color);
        }

        /* Gallery Section */
        .gallery-card {
            position: relative;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-creative);
            transition: all var(--transition-slow);
            height: 300px;
        }

        .gallery-card:hover {
            transform: translateY(-15px);
            box-shadow: var(--shadow-glow), var(--shadow-creative);
        }

        .gallery-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform var(--transition-slow);
        }

        .gallery-card:hover img {
            transform: scale(1.15);
        }

        .gallery-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(transparent, rgba(27,64,99,0.8));
            opacity: 0;
            transition: opacity var(--transition-base);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .gallery-card:hover .gallery-overlay {
            opacity: 1;
        }

        .zoom-icon {
            width: 70px;
            height: 70px;
            background: var(--secondary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            transition: all var(--transition-base);
            box-shadow: 0 10px 30px rgba(0,0,0,0.4);
        }

        .zoom-icon:hover {
            transform: scale(1.2);
            background: white;
            color: var(--primary-color);
        }

        @media (max-width: 768px) {
            .header-section h2 {
                font-size: 2.2rem;
            }
            .gallery-card {
                height: 250px;
            }
        }
        /*all_testimonial*/
        /* Header Section */
        
        .header-section {
            background: linear-gradient(135deg, var(--primary-color), var(--dark-primary));
            padding: 200px 0 140px;
            position: relative;
            clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
            
        }

        .header-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%2392c34c" fill-opacity="0.2" d="M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,133.3C672,117,768,139,864,165.3C960,192,1056,224,1152,213.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom no-repeat;
            background-size: cover;
        }

        .header-section h2 {
            font-size: 4.2rem;
            font-weight: 900;
            text-shadow: 0 15px 40px rgba(255, 255, 255, 0.6);
            color: var(--text-light);
        }

        .breadcrumb {
            background: rgba(255,255,255,0.15);
            border-radius: 50px;
            padding: 12px 30px;
            display: inline-flex;
        }

        .breadcrumb-item a { color: white; text-decoration: none; }
        .breadcrumb-item.active { color: var(--secondary-color); }

        /* Event Card */
        .event-card {
            background: white;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-creative);
            transition: all var(--transition-slow);
            height: 100%;
        }

        .event-card:hover {
            transform: translateY(-15px);
            box-shadow: var(--shadow-glow), var(--shadow-creative);
        }

        .event-thumb {
            position: relative;
            overflow: hidden;
        }

        .event-thumb img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            transition: transform var(--transition-slow);
        }

        .event-card:hover .event-thumb img {
            transform: scale(1.15);
        }

        .event-date {
            position: absolute;
            top: 20px;
            right: 5px;
            background: var(--secondary-color);
            color: white;
            padding: 10px 15px;
            border-radius: var(--radius-md);
            text-align: center;
            font-weight: bold;
            min-width: 70px;
        }

        .event-date .day {
            font-size: 1.8rem;
            line-height: 1;
        }

        .event-date .month {
            font-size: 0.9rem;
            text-transform: uppercase;
        }

        .event-content {
            padding: 25px;
        }

        .event-title a {
            color: var(--primary-color);
            text-decoration: none;
            transition: color var(--transition-base);
        }

        .event-card:hover .event-title a {
            color: var(--secondary-color);
        }

        .read-more-btn {
            background: var(--primary-color);
            color: white;
            border: none;
            border-radius: 50px;
            padding: 8px 25px;
            transition: all var(--transition-base);
        }

        .read-more-btn:hover {
            background: var(--secondary-color);
            transform: translateX(-5px);
        }

        /* Empty State */
        .empty-state img {
            max-width: 100%;
            opacity: 0.8;
        }

        /* Funfact Section */
  .funfact-section {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-primary) 100%);
            padding: 120px 0;
            position: relative;
            overflow: hidden;
        }

        .funfact-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at center, rgba(146,195,76,0.2), transparent 70%);
            pointer-events: none;
        }

        .funfact-item {
            background: rgba(255,255,255,0.08);
            backdrop-filter: blur(20px);
            border-radius: var(--radius-lg);
            padding: 50px 20px;
            text-align: center;
            transition: all var(--transition-base);
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(255,255,255,0.15);
            
        }

      
      

        .funfact-item::after {
            content: '';
            position: absolute;
            top: 0; left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
            transition: left var(--transition-slow);
        }

        .funfact-item:hover::after {
            left: 100%;
        }

        .funfact-item i {
            font-size: 4.5rem;
            color: var(--secondary-color);
            margin-bottom: 25px;
            transition: all var(--transition-base);
            filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
        }

        .funfact-item:hover i {
            transform: scale(1.3) rotate(15deg);
            filter: drop-shadow(0 0 30px var(--secondary-color));
        }

        .counter {
            font-size: 4rem;
            font-weight: 900;
            color: var(--text-light);
            margin: 20px 0;
            text-shadow: 0 10px 30px rgba(0,0,0,0.5);
        }

        .funfact-item h5 {
            font-size: 1.4rem;
            font-weight: 700;
            letter-spacing: 2px;
            color: var(--text-light);
            text-transform: uppercase;
            transition: all var(--transition-base);
        }

        .funfact-item:hover h5 {
            color: var(--secondary-color);
            letter-spacing: 3px;
        }

        .funfact-item:hover {
            transform: translateY(-30px) scale(1.1);
            background: rgba(255,255,255,0.18);
            box-shadow: var(--shadow-glow), var(--shadow-creative);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .funfact-item { padding: 40px 15px; }
            .counter { font-size: 3rem; }
            .funfact-item i { font-size: 3.5rem; }
        }
        /* Team Section */
        .team-card {
            background: white;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-creative);
            transition: all var(--transition-slow);
        }

        .team-card:hover {
            transform: translateY(-15px);
            box-shadow: var(--shadow-glow), var(--shadow-creative);
        }

        .team-thumb {
            position: relative;
            overflow: hidden;
        }

        .team-thumb img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            transition: transform var(--transition-slow);
        }

        .team-card:hover .team-thumb img {
            transform: scale(1.12);
        }

        .team-social {
            position: absolute;
            inset: 0;
            background: rgba(27,64,99,0.85);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity var(--transition-base);
        }

        .team-card:hover .team-social {
            opacity: 1;
        }

        .team-social a {
            width: 50px;
            height: 50px;
            background: white;
            color: var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 10px;
            transition: all var(--transition-base);
        }

        .team-social a:hover {
            background: var(--secondary-color);
            color: white;
            transform: translateY(-5px);
        }
        /*all-news*/
          /* Header */
        .header-section {
            background: linear-gradient(135deg, var(--primary-color), var(--dark-primary));
            padding: 200px 0 140px;
            position: relative;
            clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
            
        }

        .header-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%2392c34c" fill-opacity="0.2" d="M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,133.3C672,117,768,139,864,165.3C960,192,1056,224,1152,213.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom no-repeat;
            background-size: cover;
        }

        .header-section h2 {
            font-size: 4.2rem;
            font-weight: 900;
            text-shadow: 0 15px 40px rgba(255, 255, 255, 0.6);
            color: var(--text-light);
        }

        .breadcrumb {
            background: rgba(255,255,255,0.15);
            border-radius: 50px;
            padding: 12px 30px;
            display: inline-flex;
        }

        .breadcrumb-item a { color: white; text-decoration: none; }
        .breadcrumb-item.active { color: var(--secondary-color); }

        /* News Card */
        .news-card {
            background: white;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-creative);
            transition: all var(--transition-slow);
            height: 100%;
        }

        .news-card:hover {
            transform: translateY(-15px);
            box-shadow: var(--shadow-glow), var(--shadow-creative);
        }

        .news-thumb {
            position: relative;
            overflow: hidden;
        }

        .news-thumb img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            transition: transform var(--transition-slow);
        }

        .news-card:hover .news-thumb img {
            transform: scale(1.15);
        }

        .news-date {
            position: absolute;
            top: 20px;
            left: 20px;
            background: var(--secondary-color);
            color: white;
            padding: 10px 15px;
            border-radius: var(--radius-md);
            text-align: center;
            font-weight: bold;
            min-width: 70px;
        }

        .news-date .day {
            font-size: 1.8rem;
            line-height: 1;
        }

        .news-date .month {
            font-size: 0.9rem;
            text-transform: uppercase;
        }

        .news-content {
            padding: 25px;
        }

        .news-title a {
            color: var(--primary-color);
            text-decoration: none;
            transition: color var(--transition-base);
        }

        .news-card:hover .news-title a {
            color: var(--secondary-color);
        }

        .read-more-btn {
            background: var(--primary-color);
            color: white;
            border: none;
            border-radius: 50px;
            padding: 8px 25px;
            transition: all var(--transition-base);
        }

        .read-more-btn:hover {
            background: var(--secondary-color);
            transform: translateX(-5px);
        }

        /* Empty State */
        .empty-state img {
            max-width: 100%;
            opacity: 0.8;
        }

        /* Funfact Section */
        .funfact-section {
            background: linear-gradient(rgba(27,64,99,0.9), rgba(18,53,36,0.95)), url('images/we-provide-bg.jpg') center/cover no-repeat fixed;
            padding: 100px 0;
        }

        .funfact-item i {
            font-size: 3.5rem;
            color: var(--secondary-color);
            margin-bottom: 20px;
            transition: transform var(--transition-slow);
        }

        .funfact-item:hover i {
            transform: scale(1.2) rotate(10deg);
        }

        .counter {
            font-size: 3rem;
            font-weight: 700;
            color: white;
        }

        /* Team Section */
        .team-card {
            background: white;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-creative);
            transition: all var(--transition-slow);
        }

        .team-card:hover {
            transform: translateY(-15px);
            box-shadow: var(--shadow-glow), var(--shadow-creative);
        }

        .team-thumb {
            position: relative;
            overflow: hidden;
        }

        .team-thumb img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            transition: transform var(--transition-slow);
        }

        .team-card:hover .team-thumb img {
            transform: scale(1.12);
        }

        .team-social {
            position: absolute;
            inset: 0;
            background: rgba(27,64,99,0.85);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity var(--transition-base);
        }

        .team-card:hover .team-social {
            opacity: 1;
        }

        .team-social a {
            width: 50px;
            height: 50px;
            background: white;
            color: var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 10px;
            transition: all var(--transition-base);
        }

        .team-social a:hover {
            background: var(--secondary-color);
            color: white;
            transform: translateY(-5px);
        }



        /* ==========================================
   FEATURES MODERN SECTION - تصميم كريتيف فاخر
   ========================================== */

.features-modern-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

/* Floating Shapes Animation */
.floating-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 20s infinite;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  top: 60%;
  right: 10%;
  animation-delay: 5s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  bottom: 10%;
  left: 30%;
  animation-delay: 10s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(90deg);
  }
  50% {
    transform: translateY(-40px) rotate(180deg);
  }
  75% {
    transform: translateY(-20px) rotate(270deg);
  }
}

/* Feature Card Modern */
.feature-card-modern {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(146, 195, 76, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, transparent, var(--icon-color, var(--secondary-color)), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.feature-card-modern:hover::before {
  transform: translateX(100%);
}

.feature-card-modern:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-color: var(--icon-color, var(--secondary-color));
}

/* Feature Icon Modern */
.feature-icon-modern {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--icon-color), rgba(var(--icon-color), 0.7));
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--secondary-color);
  position: relative;
  transition: all 0.6s ease;
  animation: morph 8s ease-in-out infinite;
}

.feature-card-modern:hover .feature-icon-modern {
  animation: morph 1s ease-in-out infinite, rotate 10s linear infinite;
}

@keyframes morph {
  0%, 100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  50% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Icon Ripple Effect */
.icon-ripple {
  position: absolute;
  inset: -20px;
  border: 3px solid var(--icon-color, var(--secondary-color));
  border-radius: inherit;
  opacity: 0;
  animation: ripple 3s infinite;
}

@keyframes ripple {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* Feature Glow Effect */
.feature-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, var(--icon-color, var(--secondary-color)), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
  border-radius: inherit;
  pointer-events: none;
}

.feature-card-modern:hover .feature-glow {
  opacity: 0.1;
}

/* ==========================================
   REGISTRATION LUXURY SECTION - فخم جداً
   ========================================== */

.registration-luxury-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Text Effects */
.text-shadow-custom {
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.text-glow {
  text-shadow: 0 0 20px rgba(146, 195, 76, 0.5);
  animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% {
    text-shadow: 0 0 20px rgba(146, 195, 76, 0.5);
  }
  50% {
    text-shadow: 0 0 40px rgba(146, 195, 76, 0.8), 0 0 60px rgba(146, 195, 76, 0.6);
  }
}

/* Animated Particles */
.particle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(146, 195, 76, 0.6);
  border-radius: 50%;
  animation: float-particle 15s infinite;
}

.particle:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  left: 30%;
  animation-delay: 3s;
}

.particle:nth-child(3) {
  left: 50%;
  animation-delay: 6s;
}

.particle:nth-child(4) {
  left: 70%;
  animation-delay: 9s;
}

.particle:nth-child(5) {
  left: 90%;
  animation-delay: 12s;
}

@keyframes float-particle {
  0% {
    bottom: 0;
    opacity: 0;
    transform: translateX(0) scale(0.5);
  }
  50% {
    opacity: 0.8;
    transform: translateX(50px) scale(1);
  }
  100% {
    bottom: 100%;
    opacity: 0;
    transform: translateX(100px) scale(0.5);
  }
}

/* Stat Card Luxury */
.stat-card-luxury {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card-luxury::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%);
  opacity: 0;
  transition: opacity 0.4s;
}

.stat-card-luxury:hover::before {
  opacity: 1;
  animation: rotate-glow 3s linear infinite;
}

.panel-group.accordion-icon-filled.accordion-icon-left.accordion-icon-filled-theme-colored2 .panel-heading .panel-title a:before {
    background-color: var(--secondary-color);
}



/* Feature Card Modern */
.blog-card-modern,
.testimonial-card {
  border-radius: var(--radius-xl);
  position: relative;
  border: 1px solid rgba(146, 195, 76, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card-modern::before,
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, transparent, var(--icon-color, var(--secondary-color)), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.blog-card-modern:hover::before,
.testimonial-card:hover::before {
  transform: translateX(100%);
}

.blog-card-modern:hover,
.testimonial-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-color: var(--icon-color, var(--secondary-color));
}

/*othyk-aladoar-oalmsoolyat*/
/* Header Section */
        .header-section {
            background: linear-gradient(rgba(27,64,99,0.85), rgba(18,53,36,0.9)), url('images/we-provide-bg1.jpg') center/cover no-repeat;
            padding: 160px 0 100px;
            color: var(--text-light);
        }

        .header-section h2 {
            font-size: 3rem;
            font-weight: 700;
        }

        .breadcrumb {
            background: rgba(255,255,255,0.15);
            border-radius: 50px;
            padding: 12px 30px;
            display: inline-flex;
        }

        .breadcrumb-item a { color: white; text-decoration: none; }
        .breadcrumb-item.active { color: var(--secondary-color); }

        /* Content Section - جدول فخم */
        .page-title {
            color: var(--primary-color);
            position: relative;
            padding-bottom: 20px;
            margin-bottom: 40px;
        }

        .page-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 120px;
            height: 5px;
            background: var(--secondary-color);
            border-radius: 3px;
        }

        .roles-table {
            background: white;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-creative);
            margin-bottom: 50px;
        }

        .roles-table thead {
            background: linear-gradient(135deg, var(--primary-color), var(--dark-primary));
            color: white;
        }

        .roles-table th {
            padding: 20px;
            font-weight: 700;
            text-align: center;
            font-size: 1.1rem;
        }

        .roles-table td {
            padding: 25px;
            vertical-align: middle;
            transition: background var(--transition-base);
        }

        .roles-table tr:nth-child(even) td {
            background: #f8f9fa;
        }

        .roles-table tr:hover td {
            background: rgba(146,195,76,0.1);
            transform: scale(1.02);
        }

        .roles-table .admin-name {
            font-weight: 700;
            color: var(--primary-color);
            text-align: center;
        }

        .contact-table {
            background: white;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-creative);
        }

        .contact-table thead {
            background: var(--secondary-color);
            color: white;
        }

        .contact-table th {
            padding: 20px;
            font-weight: 700;
            text-align: center;
        }

        .contact-table td {
            padding: 20px;
            text-align: center;
            transition: all var(--transition-base);
        }

        .contact-table tr:hover td {
            background: rgba(27,64,99,0.05);
            color: var(--primary-color);
            font-weight: 600;
        }

        /*help*/
        /* Header Section */
        .header-section {
            background: linear-gradient(rgba(27,64,99,0.85), rgba(18,53,36,0.9)), url('images/we-provide-bg1.jpg') center/cover no-repeat;
            padding: 160px 0 100px;
            color: var(--text-light);
        }

        .breadcrumb {
            background: rgba(255,255,255,0.15);
            border-radius: 50px;
            padding: 12px 30px;
            display: inline-flex;
        }

        .breadcrumb-item a { color: white; text-decoration: none; }
        .breadcrumb-item.active { color: var(--secondary-color); }

        /* Guides Section - جامد جدًا */
        .guides-section {
            padding: 60px 0 100px;
            position: relative;
        }

        .guide-card {
            background: var(--text-light);
            border-radius: var(--radius-xl);
            overflow: hidden;
            box-shadow: var(--shadow-creative);
            transition: all var(--transition-slow);
            height: 100%;
            animation: fadeInScale 0.6s ease both;
            border: 2px solid transparent;
        }

        .guide-card:nth-child(1) { animation-delay: 0.1s; }
        .guide-card:nth-child(2) { animation-delay: 0.2s; }
        .guide-card:nth-child(3) { animation-delay: 0.3s; }
        .guide-card:nth-child(4) { animation-delay: 0.4s; }
        .guide-card:nth-child(5) { animation-delay: 0.5s; }
        .guide-card:nth-child(6) { animation-delay: 0.6s; }
        .guide-card:nth-child(7) { animation-delay: 0.7s; }
        .guide-card:nth-child(8) { animation-delay: 0.8s; }
        .guide-card:nth-child(9) { animation-delay: 0.9s; }
        .guide-card:nth-child(10) { animation-delay: 1s; }
        .guide-card:nth-child(11) { animation-delay: 1.1s; }
        .guide-card:nth-child(12) { animation-delay: 1.2s; }
        .guide-card:nth-child(13) { animation-delay: 1.3s; }
        .guide-card:nth-child(14) { animation-delay: 1.4s; }
        .guide-card:nth-child(15) { animation-delay: 1.5s; }

        @keyframes fadeInScale {
            from {
                opacity: 0;
                transform: scale(0.8) translateY(30px);
            }
            to {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }

        .guide-card:hover {
            transform: translateY(-15px) scale(1.03);
            box-shadow: var(--shadow-xl), var(--shadow-glow);
            border-color: var(--secondary-color);
        }

        .icon-wrapper {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-primary) 100%);
            padding: 40px;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            overflow: hidden;
            transition: all var(--transition-slow);
        }

        .icon-wrapper::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(146, 195, 76, 0.2) 20%, transparent 20%);
            background-size: 30px 30px;
            animation: rotatePattern 20s linear infinite;
            opacity: 0;
            transition: opacity var(--transition-slow);
        }

        .guide-card:hover .icon-wrapper::before {
            opacity: 1;
        }

        @keyframes rotatePattern {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .icon-wrapper::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: var(--secondary-color);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: all var(--transition-slow);
            opacity: 0.3;
        }

        .guide-card:hover .icon-wrapper::after {
            width: 120%;
            height: 120%;
        }

        .icon-wrapper i {
            font-size: 4rem;
            color: var(--text-light);
            transition: all var(--transition-slow);
            position: relative;
            z-index: 1;
        }

        .guide-card:hover .icon-wrapper i {
            transform: scale(1.2) rotate(10deg);
            filter: drop-shadow(0 0 15px rgba(146, 195, 76, 0.8));
        }

        .guide-card:hover .icon-wrapper {
            background: linear-gradient(135deg, var(--dark-primary) 0%, var(--primary-color) 100%);
        }

        .card-body {
            padding: 30px;
        }

        .guide-title {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 20px;
            min-height: 60px;
            display: flex;
            align-items: center;
            line-height: 1.5;
            transition: color var(--transition-base);
        }

        .guide-card:hover .guide-title {
            color: var(--primary-color);
        }

        .download-link {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 12px 30px;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-primary) 100%);
            color: var(--text-light);
            text-decoration: none;
            border-radius: var(--radius-full);
            font-weight: 600;
            transition: all var(--transition-slow);
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-creative);
            border: 2px solid transparent;
        }

        .download-link::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: var(--secondary-color);
            transform: translate(-50%, -50%);
            transition: width 0.6s ease, height 0.6s ease;
        }

        .download-link:hover::before {
            width: 300px;
            height: 300px;
        }

        .download-link:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-glow);
            color: var(--text-light);
            border-color: var(--secondary-color);
        }

        .download-link i {
            transition: transform var(--transition-base);
            position: relative;
            z-index: 1;
        }

        .download-link:hover i {
            transform: translateY(3px);
            animation: bounce 0.6s ease infinite;
        }

        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(5px); }
        }

        .download-link span {
            position: relative;
            z-index: 1;
        }

        @media (max-width: 768px) {
            .header-section h2 {
                font-size: 2.5rem;
            }
            
            .guide-card {
                margin-bottom: 30px;
            }
        }

        .floating-shapes {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
            overflow: hidden;
        }

        .shape {
            position: absolute;
            opacity: 0.1;
            animation: float 20s infinite ease-in-out;
        }

        .shape:nth-child(1) {
            top: 10%;
            left: 10%;
            width: 80px;
            height: 80px;
            background: var(--secondary-color);
            border-radius: 50%;
            animation-delay: 0s;
        }

        .shape:nth-child(2) {
            top: 60%;
            right: 10%;
            width: 120px;
            height: 120px;
            background: var(--secondary-color);
            border-radius: 30%;
            animation-delay: 4s;
        }

        .shape:nth-child(3) {
            bottom: 10%;
            left: 20%;
            width: 100px;
            height: 100px;
            background: var(--text-light);
            border-radius: 20%;
            animation-delay: 8s;
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0) rotate(0deg);
            }
            50% {
                transform: translateY(-30px) rotate(180deg);
            }
        }

        .container {
            position: relative;
            z-index: 1;
        }

        /* Decorative accent line */
        .guide-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
            transform: scaleX(0);
            transform-origin: right;
            transition: transform var(--transition-slow);
        }

        .guide-card:hover::before {
            transform: scaleX(1);
            transform-origin: left;
        }

/* === Breadcrumb مُحسّن بالكامل - يعمل مع Bootstrap و RTL === */
.breadcrumb {
    --bc-separator: "/";
    --bc-separator-color: rgba(255, 255, 255, 0.7);
}

.breadcrumb .breadcrumb-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}
.breadcrumb .breadcrumb-item a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: all var(--transition-normal);
  font-weight: 500;
}

.breadcrumb .breadcrumb-item.active{
color: var(--text-secondary);
}


/* الفاصل (Slash) في المنتصف */
.breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: var(--bc-separator);
    color: var(--bc-separator-color);
    font-weight: bold;
    font-size: 1.1em;
    position: relative;
    top: 1px;
}

/*news3*/
/* Header */
        .header-section {
            background: linear-gradient(rgba(27,64,99,0.85), rgba(18,53,36,0.9)), url('images/we-provide-bg1.jpg') center/cover no-repeat;
            padding: 160px 0 100px;
            color: var(--text-light);
        }

        .breadcrumb {
            background: rgba(255,255,255,0.15);
            border-radius: 50px;
            padding: 12px 30px;
            display: inline-flex;
        }

        .breadcrumb-item a { color: white; text-decoration: none; }
        .breadcrumb-item.active { color: var(--secondary-color); }

        /* Main Article */
        .news-article {
            background: white;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-creative);
            transition: all var(--transition-slow);
        }

        .news-article:hover {
            transform: translateY(-15px);
            box-shadow: var(--shadow-glow), var(--shadow-creative);
        }

        .news-image {
            height: 500px;
            overflow: hidden;
        }

        .news-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform var(--transition-slow);
        }

        .news-article:hover .news-image img {
            transform: scale(1.1);
        }

        .news-date {
            background: var(--secondary-color);
            color: white;
            padding: 15px 25px;
            border-radius: 0 0 var(--radius-lg) 0;
            text-align: center;
            font-weight: bold;
            min-width: 100px;
        }

        .news-date .day {
            font-size: 2rem;
            line-height: 1;
        }

        .news-date .month {
            font-size: 1rem;
            text-transform: uppercase;
        }

        .news-content {
            padding: 50px;
        }

        .news-title {
            color: var(--primary-color);
            font-size: 16px;
            font-weight: 800;
            margin-bottom: 30px;
        }

        .news-meta {
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 2px solid #eee;
        }

        .source {
            font-weight: bold;
            color: #800000;
            font-size: 1.1rem;
        }

        /* Share Buttons */
        .share-buttons a {
            width: 50px;
            height: 50px;
            background: var(--primary-color);
            color: white;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-left: 10px;
            transition: all var(--transition-base);
        }

        .share-buttons a:hover {
            background: var(--secondary-color);
            transform: translateY(-8px) scale(1.2);
            box-shadow: var(--shadow-glow);
        }

        /* Sidebar */
        .sidebar-widget {
            background: white;
            border-radius: var(--radius-lg);
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: var(--shadow-creative);
            transition: all var(--transition-base);
        }

        .sidebar-widget:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-glow);
        }

        .recent-post {
            padding: 15px 0;
            border-bottom: 1px solid #eee;
            transition: all var(--transition-base);
        }

        .recent-post:hover {
            padding-right: 15px;
            background: rgba(146,195,76,0.05);
        }

        .recent-post img {
            transition: transform var(--transition-base);
        }

        .recent-post:hover img {
            transform: scale(1.1);
        }

        /* Search Input */
        .search-input {
            border-radius: 50px;
            padding-right: 50px;
        }

        .search-button {
            border-radius: 50%;
            width: 50px;
            height: 50px;
            background: var(--primary-color);
        }

        /* Responsive */
        @media (max-width: 992px) {
            .news-content { padding: 30px; }
            .news-image { height: 400px; }
        }

        @media (max-width: 768px) {
            .news-title { font-size: 1.8rem; }
            .news-image { height: 300px; }
            .sidebar { margin-top: 50px; }
        }
        /*privacy and or*/
        .terms-container {
            background: white;
            border-radius: var(--radius-lg);
            padding: 70px 60px;
            box-shadow: var(--shadow-creative);
            margin:  -100px auto 100px;
            max-width: 1100px;
            position: relative;
            transition: all var(--transition-slow);
            opacity: 0;
            transform: translateY(80px);
        }

        .terms-container.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .terms-container:hover {
            transform: translateY(-30px);
            box-shadow: var(--shadow-glow), var(--shadow-creative);
        }

        .section-title {
            color: var(--primary-color);
            font-size: 3rem;
            font-weight: 800;
            position: relative;
            padding-bottom: 25px;
            margin-bottom: 60px;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 200px;
            height: 7px;
            background: linear-gradient(90deg, var(--secondary-color), transparent);
            border-radius: 4px;
        }

        .subsection-title {
            color: var(--primary-color);
            font-size: 1.8rem;
            font-weight: 700;
            margin: 50px 0 30px;
            position: relative;
            padding-right: 30px;
        }

        .subsection-title::before {
            content: '';
            position: absolute;
            right: 0;
            top: 50%;
            width: 15px;
            height: 15px;
            background: var(--secondary-color);
            border-radius: 50%;
            transform: translateY(-50%);
        }

        .terms-list {
            list-style: none;
            padding-right: 0;
        }

        .terms-list li {
            position: relative;
            padding-right: 50px;
            margin-bottom: 25px;
            font-size: 1.15rem;
            line-height: 2.2;
            opacity: 0;
            transform: translateX(60px);
            transition: all var(--transition-base);
        }

        .terms-list li.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .terms-list li::before {
            content: '✓';
            position: absolute;
            right: 0;
            width: 35px;
            height: 35px;
            background: var(--secondary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            transition: all var(--transition-base);
        }

        .terms-list li:hover::before {
            transform: scale(1.3);
            background: var(--primary-color);
            box-shadow: var(--shadow-glow);
        }

        .terms-list li:hover {
            color: var(--primary-color);
            padding-right: 60px;
        }

        .terms-text p {
            font-size: 1.15rem;
            line-height: 2.2;
            margin-bottom: 25px;
            transition: color var(--transition-base);
        }

        .terms-text p:hover {
            color: var(--primary-color);
        }

        /* Responsive */
        @media (max-width: 992px) {
            .terms-container { padding: 50px 40px; margin: -80px 20px 80px; }
            .section-title { font-size: 2.5rem; }
        }

        @media (max-width: 768px) {
            .terms-container { padding: 40px 25px; margin: -60px 15px 60px; }
            .section-title { font-size: 2.2rem; }
            .subsection-title { font-size: 1.6rem; }
            .terms-list li { font-size: 1.05rem; padding-right: 45px; }
        }
/* ==========================================
   Courses Filter Section
   ========================================== */
.courses-filter-section {
    background: white;
    padding: 25px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-border);
}

.courses-filter-section .form-label {
    color: var(--primary-color);
    font-size: var(--fs-sm);
    margin-bottom: 8px;
}

.courses-filter-section .form-label i {
    margin-left: 5px;
    color: var(--secondary-color);
}

.courses-filter-section .form-control,
.courses-filter-section .form-select {
    border: 2px solid var(--light-border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: var(--fs-base);
    transition: all var(--transition-fast);
    background-color: #fafafa;
}

.courses-filter-section .form-control:focus,
.courses-filter-section .form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(146, 195, 76, 0.15);
    background-color: white;
}

.courses-filter-section .btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), #7ab33e);
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    transition: all var(--transition-base);
}

.courses-filter-section .btn-primary:hover {
    background: linear-gradient(135deg, #7ab33e, var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.courses-filter-section .btn-outline-secondary {
    border: 2px solid var(--light-border);
    color: var(--text-secondary);
    padding: 12px 16px;
}

.courses-filter-section .btn-outline-secondary:hover {
    background: var(--danger);
    border-color: var(--danger);
    color: white;
}

/* ==========================================
   Pagination Styles
   ========================================== */
.pagination {
    gap: 5px;
}

.pagination .page-item .page-link {
    border: 2px solid var(--light-border);
    border-radius: var(--radius-md) !important;
    color: var(--primary-color);
    padding: 10px 16px;
    font-weight: 500;
    transition: all var(--transition-fast);
    background: white;
    min-width: 44px;
    text-align: center;
}

.pagination .page-item .page-link:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-primary));
    border-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-creative);
}

.pagination .page-item.disabled .page-link {
    background: #f8f9fa;
    border-color: var(--light-border);
    color: #adb5bd;
    cursor: not-allowed;
}

/* RTL Pagination Adjustments */
[dir="rtl"] .pagination .page-item:first-child .page-link,
.rtl .pagination .page-item:first-child .page-link {
    border-radius: var(--radius-md) !important;
}

[dir="rtl"] .pagination .page-item:last-child .page-link,
.rtl .pagination .page-item:last-child .page-link {
    border-radius: var(--radius-md) !important;
}

/* Responsive Filter */
@media (max-width: 992px) {
    .courses-filter-section {
        padding: 20px;
    }
    
    .courses-filter-section .btn-lg {
        padding: 10px 16px;
        font-size: var(--fs-sm);
    }
}

@media (max-width: 768px) {
    .courses-filter-section {
        padding: 15px;
    }
    
    .courses-filter-section .form-control,
    .courses-filter-section .form-select {
        padding: 10px 14px;
    }
    
    .pagination .page-link {
        padding: 8px 12px;
        font-size: var(--fs-sm);
    }
}
