@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Almarai:wght@300;400;700;800&family=Tajawal:wght@300;400;500;700;800&display=swap');


:root {
  --primary-color: #FF6B9D;
  --primary-dark: #E5508A;
  --primary-light: #FFB6D2;
  --primary-gradient: linear-gradient(135deg, #FFB8D4 0%, #FF6B9D 50%, #FFA6C9 100%);
  --primary-gradient-hover: linear-gradient(135deg, #FF6B9D 0%, #E5508A 100%);
  
  --secondary-color: #B794F6;
  --secondary-dark: #9F7AEA;
  --secondary-light: #DDD6FE;
  --secondary-gradient: linear-gradient(135deg, #DDD6FE 0%, #B794F6 100%);
  
  --accent-lavender: #E0BBE4;
  --accent-peach: #FFDFD3;
  --accent-mint: #D4F1F4;
  --accent-yellow: #FFF4C2;
  --accent-coral: #FFB6C1;
  --accent-sky: #C3E5FF;
  --accent-teal: #2DD4BF;
  
  --gradient-sunset: linear-gradient(135deg, #FFD3E1 0%, #FFDFE5 50%, #FFF0F5 100%);
  --gradient-unicorn: linear-gradient(135deg, #E0C3FC 0%, #FFD6E8 50%, #FFF0F5 100%);
  --gradient-candy: linear-gradient(135deg, #FFE8F5 0%, #FFF5E1 50%, #E8F4FF 100%);
  --gradient-pastel: linear-gradient(135deg, #FFDEE9 0%, #B5FFFC 100%);
  
  --text-primary: #4A4A68;
  --text-secondary: #8B8BA7;
  --text-light: #B8B8CC;
  --bg-primary: #FFFFFF;
  --bg-secondary: #FDFBFF;
  --bg-gray: #F8F6FA;
  --bg-pink: #FFF5F9;
  
  --shadow-sm: 0 2px 8px rgba(255, 107, 157, 0.08);
  --shadow-md: 0 4px 12px rgba(255, 107, 157, 0.12);
  --shadow-lg: 0 8px 24px rgba(255, 107, 157, 0.15);
  --shadow-xl: 0 12px 40px rgba(255, 107, 157, 0.2);
  --shadow-color: 0 8px 20px rgba(255, 107, 157, 0.25);
  --shadow-purple: 0 8px 20px rgba(183, 148, 246, 0.2);
  --shadow-dreamy: 0 10px 30px rgba(224, 187, 228, 0.3);
  
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 1.75rem;
  --radius-xl: 2.5rem;
  --radius-pill: 100px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  direction: rtl;
}

body {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  color: var(--text-primary);
  background: var(--gradient-candy);
  background-attachment: fixed;
  line-height: 1.8;
  overflow-x: hidden;
  position: relative;
  direction: rtl;
  text-align: right;
}

/*  floating shapes in background */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 182, 212, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  animation: float 20s ease-in-out infinite;
}

body::after {
  content: '';
  position: fixed;
  bottom: -30%;
  left: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(183, 148, 246, 0.12) 0%, transparent 70%);
  border-radius: 50%;
z-index: -1;
  animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(5deg); }
  66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Almarai', 'Cairo', sans-serif;
  font-weight: 800;
  line-height: 1.4;
  color: var(--text-primary);
}

.navbar {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  padding: 1rem 0;
  transition: var(--transition-normal);
  border: none !important;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-family: 'Almarai', 'Cairo', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: var(--transition-normal);
}

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

.nav-link {
  color: var(--text-primary) !important;
  font-weight: 500;
  padding: 0.5rem 1.25rem !important;
  margin: 0 0.25rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color) !important;
  background: rgba(255, 107, 157, 0.1);
}

.btn {
  border-radius: var(--radius-sm);
  padding: 0.75rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition-normal);
  border: none;
  position: relative;
  overflow: hidden;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: var(--shadow-color);
  position: relative;
  overflow: hidden;
}

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

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

.btn-primary:hover {
  background: var(--primary-gradient-hover);
  box-shadow: var(--shadow-dreamy);
  transform: translateY(-3px) scale(1.02);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.hero-section {
  background: var(--gradient-unicorn);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 3rem 3rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-lg);
}

.hero-section::before {
  content: '✨';
  position: absolute;
  font-size: 3rem;
  top: 20%;
  right: 15%;
  opacity: 0.4;
  animation: sparkle 3s ease-in-out infinite;
}

.hero-section::after {
  content: '💕';
  position: absolute;
  font-size: 2.5rem;
  bottom: 20%;
  left: 10%;
  opacity: 0.4;
  animation: sparkle 4s ease-in-out infinite reverse;
}

@keyframes sparkle {
  0%, 100% { 
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 0.4;
  }
  50% { 
    transform: translateY(-20px) rotate(180deg) scale(1.2);
    opacity: 0.7;
  }
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.3); }
  50% { transform: scale(1.1); }
  75% { transform: scale(1.25); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-family: 'Almarai', 'Cairo', sans-serif;
  margin-bottom: 1.5rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.footer {
  background: linear-gradient(135deg, #2D3748 0%, #1A202C 100%);
  color: white;
  padding: 3rem 0 1.5rem;
  margin-top: 5rem;
  border-top: none;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
background: var(--primary-gradient);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  font-family: 'Almarai', 'Cairo', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: #CBD5E0;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-light);
  transform: translateY(-2px);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px;
height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: var(--transition-normal);
}

.social-icon:hover {
  background: var(--primary-gradient);
  color: white;
}

.footer-copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #A0AEC0;
  font-size: 0.9rem;
}

.container {
  max-width: 1200px;
  padding: 0 1.5rem;
}

main {
  min-height: calc(100vh - 200px);
  padding: 2rem 0;
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header .lead {
  font-size: 1.25rem;
  color: var(--text-secondary);
}

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

.fade-in {
  animation: fadeInUp 0.3s ease-out;
}

.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  height: 100%;
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px) scale(1.02);
}

.empty-state-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 5rem 3rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.empty-state-card i {
  font-size: 5rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  display: block;
}

.empty-state-card h3 {
  font-size: 2rem;
  color: var(--text-primary);
margin-bottom: 1rem;
}

.empty-state-card p {
  color: var(--text-secondary);
  font-size: 1.1rem;
margin-bottom: 2rem;
}

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shadow-soft {
  box-shadow: var(--shadow-md);
}

.shadow-strong {
  box-shadow: var(--shadow-xl);
}

.rounded-soft {
  border-radius: var(--radius-md);
}

.rounded-strong {
  border-radius: var(--radius-xl);
}

.hover-lift {
  transition: var(--transition-normal);
}

.hover-lift:hover {
  box-shadow: var(--shadow-lg);
}

.badge-cute {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.badge-pink {
  background: linear-gradient(135deg, #FFE8F5 0%, #FFD6E8 100%);
  color: var(--primary-dark);
}

.badge-purple {
  background: linear-gradient(135deg, #E0C3FC 0%, #DDD6FE 100%);
  color: var(--secondary-dark);
}

.section-divider {
  height: 4px;
  background: var(--primary-gradient);
  border-radius: var(--radius-pill);
  margin: 3rem auto;
  max-width: 200px;
  position: relative;
}

.section-divider::before,
.section-divider::after {
  content: '✨';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  animation: sparkle 2s ease-in-out infinite;
}

.section-divider::before {
  right: -40px;
}

.section-divider::after {
  left: -40px;
}

a, button, input, select, textarea {
  transition: all 0.2s ease;
}

*:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

button:focus,
.btn:focus,
a:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}

::selection {
  background: var(--primary-color);
  color: white;
}

::-moz-selection {
  background: var(--primary-color);
  color: white;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-pink);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-gradient);
  border-radius: var(--radius-pill);
  border: 2px solid var(--bg-pink);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-gradient-hover);
  border-color: white;
}

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: white;
  border: none;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  box-shadow: 0 12px 24px rgba(255, 107, 157, 0.4);
}

.scroll-to-top:active {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .hero-title {
font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-social {
    direction: ltr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .page-header h1 {
    font-size: 1.5rem;
  }

  .empty-state-card {
    padding: 3rem 1.5rem;
  }

  .empty-state-card i {
    font-size: 3rem;
  }
}

.navbar-nav {
  margin-right: 0 !important;
  margin-left: auto !important;
}

p, .lead, .text-muted {
  line-height: 2;
}

.nav-link i,
.btn i,
.feature-item i {
  margin-right: 0;
  margin-left: 0.5rem;
}

.footer-social {
  direction: ltr;
}
