:root {
  --primary: #CDB4DB;
  --secondary: #FFC8DD;
  --light: #fff;
  --muted: #6c757d;
  --accent: #FFAFCC;
  --info: #A2D2FF;
  --background: #F8F9FA;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--background);
  color: var(--muted);
  margin: 0;
  direction: rtl;
  padding-top: 0;
}

.hero {
  background: linear-gradient(to left, var(--primary), var(--secondary));
  padding: 8rem 1rem 4rem;
  color: var(--light);
  position: relative;
  padding-left: 20px;
  padding-right: 20px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.hero p.lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero-img {
  max-width:30%;
  border-radius: 15px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.hero-title {
  font-family: 'Tajawal', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  white-space: nowrap; /* يمنع النص من الانتقال لسطر جديد */
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-size: 2.3rem; /* بدلاً من 2.5rem */
  padding: 60px 10px 10px 150px; /* تعديل المساحة الجانبية */
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
    white-space: normal; /* يسمح بفصل الكلمات في الشاشات الصغيرة إذا لزم الأمر */
    
  }
}


.main-btn {
  background-color: var(--accent);
  color: var(--light);
  border: none;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.18);
}

.main-btn:hover {
  background-color: #ff8fab;
  transform: translateY(-4px);
}

.navbar {
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  top: 20px;
  border-radius: 25px; /* هذه القيمة تحدد درجة الاستدارة */
  margin: 10px auto; /* لإضافة مسافة حول النافبار */
  width: 98%; /* لجعل النافبار أضيق قليلاً */
  max-width: 1200px; /* أقصى عرض للنافبار */
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.98) !important;
  top: 0;
}

.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  font-weight: 500;
  color: #8c1466;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 1rem;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: calc(100% - 2rem);
}

.nav-link:hover {
  color: var(--accent);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 50%;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
}

.features {
  background-color: var(--light);
  padding: 5rem 0;
}

.feature-card {
  transition: all 0.3s ease;
  background-color: var(--light);
  padding: 2.5rem 1.5rem;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.how-it-works {
  padding: 5rem 0;
  background-color: var(--background);
}

.step-card {
  background-color: var(--info);
  color: var(--light);
  border-radius: 15px;
  padding: 2rem;
  position: relative;
  height: 100%;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
  position: absolute;
  top: -25px;
  right: 25px;
  background-color: var(--accent);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-weight: 900;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-section {
  padding: 5rem 0;
  background-color: var(--background);
}

.video-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact {
  padding: 5rem 0;
  background-color: var(--light);
}

footer {
  background-color: var(--primary);
  color: var(--light);
  padding: 2rem 0;
}

.social-links a {
  color: var(--light);
  font-size: 1.2rem;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: var(--accent);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .hero {
    padding-top: 6rem;
    min-height: auto;
    padding-bottom: 3rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-img {
    margin-bottom: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

.text-right {
  text-align: right;
  direction: rtl;
  padding: 0px 90px;
}

.main-btn {
  margin-left: auto; /* يدفع الزر لليمين */
  display: block; /* يجعل الزر يأخذ عرضه الطبيعي */
  width: fit-content; /* عرض حسب محتوى الزر */
}




.contact-method {
  max-width: 600px;
  margin: 0 auto;
}

.contact-item {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.contact-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-weight: 500;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  background-color: var(--light);
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-icon {
  margin-left: 8px;
  font-size: 1.2rem;
}

.whatsapp-link {
  background-color: #25D366;
  color: white !important;
}

.whatsapp-link:hover {
  background-color: #128C7E;
}

@media (max-width: 576px) {
  .contact-link {
    padding: 0.4rem 1rem;
    font-size: 1rem;
  }
}

.login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.8rem;
  background: linear-gradient(135deg, #FFAFCC 0%, #A2D2FF 100%);
  color: white !important;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.login-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  background: linear-gradient(135deg, #FF8FAB 0%, #8EC5FC 100%);
}

.login-btn:active {
  transform: translateY(1px);
}

.login-btn i {
  margin-left: 8px;
  font-size: 1.1rem;
}

/* تأثير إضافي عند hover */
.login-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
  transition: all 0.3s ease;
}

.login-btn:hover::after {
  background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 100%);
}

@media (max-width: 768px) {
  .login-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
}

.nav-item {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}


@media (max-width: 768px) {
  .navbar-brand img {
    height: 28px;
  }

  .login-btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    display: inline-flex;
    margin-top: 1rem;
  }

  .navbar-nav .nav-item .login-btn {
    width: 100%;
    justify-content: center;
  }

  .hero-title {
    font-size: 1.6rem;
    padding: 20px 10px;
  }

  .hero .lead {
    font-size: 1.1rem;
  }

  .hero-img {
    max-width: 30%;
    margin: 30px auto;
    display: block;
  }

  .main-btn {
    width: 100%;
    font-size: 1rem;
    padding: 0.8rem;
  }
}
