/* You can add global styles to this file, and also import other style files */
@import url("https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&display=swap");

:root {
  --premiere-color: #1d71b8;
  --scendere-color: #29235c;
  --light-color: #ffffff;
  --rating-color: #b18a39;
  --black-color: #000000;
  --font-family: "Almarai", serif;
  --scendere-font: "AraAlBayan", serif;
  --transition: all 0.3s ease;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --radius: 8px;
}

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

body {
  font-family: var(--font-family) !important;
  direction: rtl;
  overflow-x: hidden;
  color: #333;
  padding-top: 60px; /* تعويض ارتفاع النافبار الثابت */
}

body.loaded {
  opacity: 1;
  transition: opacity 0.5s ease;
}

.font-sm {
  font-size: 14px;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ============ Navbar Styles - Updated ============ */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.9); /* خلفية بيضاء بشفافية خفيفة */
  backdrop-filter: blur(5px); /* تأثير ضبابي */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* ظل خفيف */
  transition: var(--transition);
  height: 60px; /* ارتفاع ثابت للنافبار */
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 15px;
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo img {
  height: 35px; /* حجم أصغر للشعار */
  transition: var(--transition);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 25px; /* مسافة مناسبة بين العناصر */
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-item {
  display: flex;
  align-items: center;
}

.nav-link {
  color: var(--scendere-color);
  font-weight: 400; /* خط عادي للروابط الغير نشطة */
  position: relative;
  padding: 8px 0;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 3px;
  background-color: var(--premiere-color);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--premiere-color);
}

.nav-link.active {
  color: var(--premiere-color);
  font-weight: 700 !important; /* خط bold للرابط النشط فقط */
}

.login-btn {
  background-color: var(--premiere-color);
  color: var(--light-color) !important;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-weight: 700; /* زر تسجيل الدخول يكون bold دائمًا */
}

.login-btn:hover {
  background-color: var(--scendere-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.login-btn::after {
  display: none;
}

/* هامبرجر للشاشات الصغيرة */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  padding: 10px;
  background: none;
  border: none;
}

.bar {
  width: 22px;
  height: 2px;
  background-color: var(--scendere-color);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}


/* ============ Banner Styles - Updated ============ */
.banner-section {
  position: relative;
  height: 100vh; /* البانر يأخذ كامل الشاشة */
  overflow: hidden;
  margin-top: 0; /* لا يوجد margin */
}

.banner-slider {
  position: relative;
  height: 100%;
}

.banner-slide {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.banner-slide.active {
  opacity: 1;
}

.banner-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.1);
  transition: transform 10s ease;
}

.banner-slide.active .banner-image {
  transform: scale(1);
}

.banner-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

/* تصحيح تموضع المحتوى في منتصف الشاشة */
.banner-section .container {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.banner-content {
  text-align: center;
  color: var(--light-color);
  width: 100%;
  max-width: 900px;
  padding: 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.banner-title {
  font-size: 2.2rem;
  font-weight: 700; /* وزن عادي للعنوان */
  margin-bottom: 15px;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 1s ease forwards 0.5s;
  text-align: center;
  width: 100%;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.banner-buttons {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 1s ease forwards 0.8s;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  min-width: 190px;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--premiere-color);
  color: var(--light-color);
}

.btn-secondary {
  background-color: transparent;
  color: var(--light-color);
  border: 2px solid var(--light-color);
}

.btn:hover {
  transform: translateY(5px);
}

.btn-primary:hover {
  background-color: var(--scendere-color);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.btn:hover .btn-icon {
  transform: rotate(30deg);
  background-color: rgba(255, 255, 255, 0.3);
}

/* نقاط التحكم في البانر */
.banner-dots {
  position: absolute;
  bottom: 25px;
  right: 50%;
  transform: translateX(50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.dot.active {
  background-color: var(--light-color);
  transform: scale(1.3);
}

.dot:hover {
  background-color: var(--light-color);
  transform: scale(1.2);
}

/* أزرار التنقل بين الشرائح */
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--light-color);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-btn:hover {
  background-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  right: 25px;
}

.next-btn {
  left: 25px;
}

/* ============ Main Content Styles ============ */
.main-content {
  padding: 80px 0;
}

.content-section {
  padding: 70px 0;
  scroll-margin-top: 80px; /* تعويض النافبار الثابتة عند التمرير */
}

.content-section:nth-child(even) {
  background-color: #f8f9fa;
}

.section-title {
  font-size: 2.4rem;
  color: var(--scendere-color);
  margin-bottom: 25px;
  text-align: center;
  position: relative;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 90px;
  height: 4px;
  background-color: var(--premiere-color);
  border-radius: 2px;
}

.section-content {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

.section-content p {
  margin-bottom: 18px;
}

.section-content ul {
  margin-right: 20px;
  margin-bottom: 20px;
  list-style-position: inside;
}

.section-content li {
  margin-bottom: 10px;
  padding-right: 5px;
}


/* ============ Responsive Styles ============ */
@media (max-width: 1200px) {
  .banner-title {
    font-size: 2.8rem;
    max-width: 750px;
  }
  
  .nav-menu {
    gap: 20px;
  }
}

@media (max-width: 992px) {
  .banner-title {
    font-size: 2.5rem;
    max-width: 650px;
  }
  
  .nav-menu {
    gap: 15px;
  }
  
  .nav-link {
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 2.1rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 50px;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 50px;
    right: -100%;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    gap: 0;
    z-index: 999;
    height: calc(100vh - 50px);
    overflow-y: auto;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-item {
    width: 100%;
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .nav-link {
    display: block;
    padding: 15px;
    width: 100%;
    font-size: 1rem;
  }
  
  .nav-link::after {
    display: none;
  }
  
  .nav-link.active {
    background-color: rgba(29, 113, 184, 0.05);
    border-right: 4px solid var(--premiere-color);
  }
  
  .banner-title {
    font-size: 2rem;
    padding: 0 15px;
    margin-bottom: 25px;
  }
  
  .banner-buttons {
    flex-direction: column;
    align-items: center;
    width: 90%;
    gap: 15px;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 13px 25px;
  }
  
  .btn-icon {
    margin-right: 10px;
    width: 35px;
    height: 35px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .content-section {
    padding: 50px 0;
    scroll-margin-top: 60px;
  }
  
  .prev-btn, .next-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .prev-btn {
    right: 15px;
  }
  
  .next-btn {
    left: 15px;
  }
  
  .banner-dots {
    bottom: 20px;
  }
  
  .modal-content {
    padding: 25px 20px;
  }
}

@media (max-width: 576px) {
  .banner-title {
    font-size: 1.7rem;
  }
  
  .container {
    width: 95%;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .section-content {
    font-size: 1rem;
  }
  
  .logo img {
    height: 30px;
  }
  
  .btn {
    min-width: auto;
    padding: 12px 20px;
    font-size: 0.95rem;
  }
  
  .btn-icon {
    width: 32px;
    height: 32px;
    margin-right: 8px;
    font-size: 0.9rem;
  }
  
  .banner-dots {
    bottom: 15px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 400px) {
  .banner-title {
    font-size: 1.5rem;
  }
  
  .nav-link {
    font-size: 0.95rem;
  }
  
  .login-btn {
    padding: 7px 15px;
    font-size: 0.85rem;
  }
}

/* ============ Animations for Content Sections ============ */
.animate-in {
  animation: fadeInUp 0.8s ease forwards;
}

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

/* ============ Loading Indicator ============ */
.loading-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid var(--premiere-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}





/* أنيميشن للظهور */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(29, 113, 184, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(29, 113, 184, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(29, 113, 184, 0);
  }
}

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

/* كلاسيس للمساعدة */
.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}


/* تنسيقات قسم من نحن */
.about-section {
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}

.section-title {
  font-family: var(--font-family);
  font-size: 2rem;
  font-weight: 600;
  color: var(--scendere-color);
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--premiere-color), var(--scendere-color));
  border-radius: 2px;
}

.about-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100px;
}

/* التعديل الرئيسي: text-box لا يدور، العناصر الداخلية هي التي تدور */
.text-box {
  position: relative;
  z-index: 2;
  max-width: 1500px;
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.content-wrapper {
  position: relative;
  z-index: 3;
  background-color: #F2F2F2;
  padding: 20px 20px;
  border-radius: 15px;
  transform: rotate(0deg);
  transition: all 0.3s ease;
}

/* background-border فقط (بدون خلفية) بزاوية -45 درجة ثابتة */
.background-border {
  position: absolute;
  top: -8px;
  left: -2px;
  right: -2px;
  bottom: -8px;
  border: 2px solid var(--rating-color);
  border-radius: 12px;
  z-index: 1;
  transform: rotate(-3deg);
  transform-origin: center;
  background: transparent !important;
}

.about-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  text-align: center;
  font-weight: 400;
  margin: 0;
}

/* تأثيرات hover للـ content-wrapper فقط */
.text-box:hover .content-wrapper {
  transform: scale(1.02);
}


/* لا توجد تأثيرات hover للـ background-border - يبقى كما هو */

/* أنيميشن ظهور النص فقط */
@keyframes textReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* تأثيرات للعناصر عند الظهور */
.text-box.visible {
  opacity: 1;
  transform: translateY(0);
}

/* تصميم متجاوب */
@media (max-width: 992px) {
  .text-box {
    transform: scale(0.9);
  }
  
  .content-wrapper {
    padding: 40px 30px;
  }
  
  .about-text {
    font-size: 0.9rem;
  }
  
  .background-border {
    transform: rotate(-45deg) scale(0.9);
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .text-box {
    transform: scale(0.8);
  }
  
  .content-wrapper {
    padding: 35px 25px;
  }
  
  .about-text {
    font-size: 1rem;
  }
  
  .background-border {
    transform: rotate(-45deg) scale(0.8);
  }
}

@media (max-width: 576px) {
  .text-box {
    transform: scale(0.7);
  }
  
  .content-wrapper {
    padding: 30px 20px;
  }
  
  .about-text {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .background-border {
    transform: rotate(-45deg) scale(0.7);
  }
}



/* قسم مشاهدة العمالة */
/* القسم الرئيسي */
.staff-visibility-block {
    max-width: 1200px;
    margin: 50px auto;
    animation: blockEntrance 0.8s ease-out;
}

.personnel-display-wrapper {
    background-color: #F2F2F2;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    animation: sectionPulse 3s infinite ease-in-out;
}

.personnel-display-wrapper:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    animation: sectionHover 0.5s ease-out;
}

/* قسم الصورة */
.workforce-visual-area {
    position: relative;
    width: 100%;
    height: 100px;
    overflow: hidden;
    animation: slideDown 0.8s ease-out;
}

.staff-hero-visual {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transition: transform 0.5s ease;
    animation: imageFloat 4s infinite ease-in-out;
}

.personnel-display-wrapper:hover .staff-hero-visual {
    transform: scale(1.03);
}

.workforce-title-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    animation: coverAppear 1s ease-out;
}

.labor-view-header {
    color: white;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    animation: headerGlow 3s ease-in-out infinite alternate, textReveal 1.2s ease-out;
    padding: 0 20px;
    position: relative;
}

.labor-view-header::after{
  content: "";
  position: absolute;
  top: 75px;
  right: 50%;
  transform: translateX(50%);
  width: 120px;
  height: 3px;
  background: var(--light-color);
  border-radius: 2px;
  animation: lineExpand 1.5s ease-out;
}

/* قسم الأزرار */
.employment-actions-zone {
    padding: 25px 15px;
    animation: contentReveal 1s ease-out 0.3s both;
}

.occupation-selection-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

/* تصميم الأزرار كـ bottom (دائرية مع نص تحتها) */
.profession-selection-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    padding: 15px 10px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.07);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid #eaeaea;
    min-height: 110px;
    animation: cardEntrance 0.6s ease-out both;
    opacity: 0;
    transform: translateY(20px);
}

/* تأخيرات متدرجة للبطاقات */
.profession-selection-card:nth-child(1) { animation-delay: 0.1s; }
.profession-selection-card:nth-child(2) { animation-delay: 0.15s; }
.profession-selection-card:nth-child(3) { animation-delay: 0.2s; }
.profession-selection-card:nth-child(4) { animation-delay: 0.25s; }
.profession-selection-card:nth-child(5) { animation-delay: 0.3s; }
.profession-selection-card:nth-child(6) { animation-delay: 0.35s; }
.profession-selection-card:nth-child(7) { animation-delay: 0.4s; }
.profession-selection-card:nth-child(8) { animation-delay: 0.45s; }
.profession-selection-card:nth-child(9) { animation-delay: 0.5s; }
.profession-selection-card:nth-child(10) { animation-delay: 0.55s; }

.profession-selection-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.08), rgba(79, 209, 199, 0.08));
    z-index: 0;
    opacity: 1; /* ظاهرة دائمًا */
    transition: opacity 0.3s ease;
}

.profession-selection-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: #4a90e2;
    animation: cardHover 0.4s ease-out;
}

.profession-selection-card:hover::before {
    opacity: 0.8;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.15), rgba(79, 209, 199, 0.15));
}

.profession-icon {
    font-size: 1.8rem; /* حجم أكبر للأيقونات */
    color: #4a90e2; /* ظاهرة دائمًا باللون الأزرق */
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1;
    position: relative;
    animation: iconPulse 2s infinite ease-in-out;
    margin-bottom: 10px;
}

.profession-selection-card:hover .profession-icon {
    transform: translateY(-5px) scale(1.2) rotate(10deg);
    color: #ff6b6b; /* تغيير اللون عند hover */
    animation: iconSpin 0.6s ease-out;
}

.profession-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333; /* لون داكن ليكون واضحًا دائمًا */
    text-align: center;
    line-height: 1.4;
    z-index: 1;
    position: relative;
    transition: all 0.3s ease;
}

.profession-selection-card:hover .profession-name {
    color: #4a90e2;
    transform: translateY(-2px);
}

/* الأنيميشنات */
@keyframes blockEntrance {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes headerGlow {
    from {
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    }
    to {
        text-shadow: 0 0 12px rgba(255, 255, 255, 0.6), 2px 2px 6px rgba(0, 0, 0, 0.5);
    }
}

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

@keyframes lineExpand {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 120px;
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        height: 0;
        opacity: 0;
    }
    to {
        height: 100px;
        opacity: 1;
    }
}

@keyframes coverAppear {
    from {
        opacity: 0;
        background: rgba(0, 0, 0, 0);
    }
    to {
        opacity: 1;
        background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1));
    }
}

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

@keyframes sectionPulse {
    0%, 100% {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    }
    50% {
        box-shadow: 0 5px 25px rgba(74, 144, 226, 0.15);
    }
}

@keyframes sectionHover {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-3px);
    }
}

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

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes cardHover {
    0% {
        transform: translateY(0) scale(1);
    }
    60% {
        transform: translateY(-10px) scale(1.05);
    }
    100% {
        transform: translateY(-8px) scale(1.03);
    }
}

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

@keyframes iconSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    60% {
        transform: rotate(15deg) scale(1.3);
    }
    100% {
        transform: rotate(10deg) scale(1.2);
    }
}

/* تأثيرات خاصة للأزرار */
.profession-selection-card:nth-child(odd) {
    background: linear-gradient(135deg, #ffffff, #f9f9f9);
}

.profession-selection-card:nth-child(even) {
    background: linear-gradient(135deg, #ffffff, #f5f5f5);
}

/* تصميم متجاوب */
@media (max-width: 1100px) {
    .occupation-selection-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .occupation-selection-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .labor-view-header {
        font-size: 2.2rem;
    }
    
    .workforce-visual-area {
        height: 160px;
    }
    
    .profession-selection-card:nth-child(n) {
        animation-delay: calc(var(--card-index) * 0.1s) !important;
    }
}

@media (max-width: 700px) {
    .occupation-selection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .labor-view-header {
        font-size: 1.8rem;
    }
    
    .workforce-visual-area {
        height: 140px;
    }
    
    .employment-actions-zone {
        padding: 20px 10px;
    }
    
    .profession-icon {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .occupation-selection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .labor-view-header {
        font-size: 1.6rem;
    }
    
    .workforce-visual-area {
        height: 130px;
    }
    
    .profession-name {
        font-size: 0.85rem;
    }
    
    .profession-icon {
        font-size: 1.4rem;
    }
}

@media (max-width: 360px) {
    .occupation-selection-grid {
        grid-template-columns: 1fr;
    }
}

/* تأثيرات التحميل */
.workforce-loading-indicator {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #4a90e2;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    animation: rotateIndicator 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes rotateIndicator {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* تأثيرات إضافية للمس عند اللمس */
@media (hover: none) and (pointer: coarse) {
    .profession-selection-card {
        animation: cardTouch 0.5s ease-out both;
    }
    
    @keyframes cardTouch {
        from {
            transform: scale(0.95);
            opacity: 0.8;
        }
        to {
            transform: scale(1);
            opacity: 1;
        }
    }
}




/* أنماط قسم العمالة الجديدة */
.new-workforce-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
    font-family: 'Almarai', sans-serif;
}

.new-workforce-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(29, 113, 184, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(41, 35, 92, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.new-workforce-section .container {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

/* عنوان القسم */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 1s ease-out;
}

.section-main-title {
    font-family: 'Almarai', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #29235c;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 70px;
    height: 2px;
    background: linear-gradient(90deg, #1d71b8, #29235c);
    border-radius: 2px;
}

/* عناصر التحكم */
.section-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

/* search-box */
.search-box {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 400px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    padding: 0 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.search-box:focus-within {
    border-color: #1d71b8;
    box-shadow: 0 0 0 3px rgba(29, 113, 184, 0.1);
    transform: translateY(-2px);
}

.search-icon {
    color: #666;
    font-size: 1.1rem;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.search-box:focus-within .search-icon {
    color: #1d71b8;
}

.search-input {
    flex: 1;
    padding: 14px 10px;
    border: none;
    font-size: 1rem;
    outline: none;
    font-family: 'Almarai', sans-serif;
    background: transparent;
    width: 100%;
}

.search-input::placeholder {
    color: #999;
}

/* الفلاتر */
.filter-controls {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: white;
    font-size: 1rem;
    min-width: 160px;
    font-family: 'Almarai', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%231d71b8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 15px center;
    padding-left: 40px;
}

.filter-select:focus {
    border-color: #1d71b8;
    outline: none;
    box-shadow: 0 0 0 3px rgba(29, 113, 184, 0.1);
    transform: translateY(-1px);
}

.refresh-btn {
    background: #1d71b8;
    border: none;
    color: white;
    padding: 12px 25px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Almarai', sans-serif;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.refresh-btn:hover {
    background: #29235c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(29, 113, 184, 0.3);
}

.refresh-btn:active {
    transform: translateY(0);
}

/* حاوية السلايدر */
.workforce-slider-container {
    position: relative;
    margin: 0 auto 50px;
    padding: 0 70px;
}

/* أزرار التنقل */
.slider-navigation {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 10;
    pointer-events: none;
}

.nav-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: white;
    border: 2px solid #1d71b8;
    color: #1d71b8;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: all;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1d71b8, #29235c);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-btn i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.nav-btn:hover:not(:disabled) {
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(29, 113, 184, 0.4);
}

.nav-btn:hover:not(:disabled)::before {
    opacity: 1;
}

.nav-btn:hover:not(:disabled) i {
    transform: scale(1.2);
}

.nav-btn:active:not(:disabled) {
    transform: scale(0.95);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none !important;
}

/* شريط التقدم */
.slider-progress {
    width: 100%;
    height: 6px;
    background: rgba(224, 224, 224, 0.5);
    border-radius: 3px;
    margin-bottom: 35px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #1d71b8, #29235c);
    width: 0%;
    border-radius: 3px;
    transition: width 0.4s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

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

/* السلايدر */
.workforce-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 25px 15px 45px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    animation: fadeIn 1s ease-out 0.3s both;
    min-height: 520px;
    width: 100%;
}

.workforce-slider::-webkit-scrollbar {
    display: none;
}

/* ضمان عرض جميع الكروت */
.workforce-slider .worker-card {
    flex: 0 0 auto;
    width: 557px;
    height: 750px;
}

/* كارد العامل */
.worker-card {
    flex: 0 0 420px;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    scroll-snap-align: start;
    position: relative;
    animation: cardEntrance 0.8s ease-out both;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* الطبقة العلوية فوق الكارد + إصلاح الكليك */
.worker-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29, 113, 184, 0.1) 0%, rgba(41, 35, 92, 0.1) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none; /* مهم: حتى لا تمنع الضغط على الأزرار */
}

/* إلغاء تأثير hover على الكارد نفسه */
.worker-card:hover {
    transform: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.worker-card:hover::before {
    opacity: 0;
}

.worker-card:hover .worker-image {
    transform: none;
}

.worker-card:hover .detail-row {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.worker-card:hover .request-type {
    transform: none;
}

/* نوع الطلب */
.request-type {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.request-type.immediate {
    background: linear-gradient(90deg, #ff4757, #ff6b81);
    color: white;
}

.request-type.new {
    background: linear-gradient(90deg, #2ed573, #1dd1a1);
    color: white;
}

/* صورة العامل */
.worker-image-container {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.worker-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 25px;
}

.worker-name {
    color: white;
    font-size: 1.6rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* تفاصيل العامل */
.worker-details {
    padding: 25px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.detail-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.detail-label {
    font-weight: 700;
    color: #29235c;
    font-size: 1rem;
}

.detail-value {
    color: #444;
    font-weight: 600;
    font-size: 1.05rem;
}

/* حالة خاصة للجنسية والسن */
.detail-row.dual {
    display: grid;
    grid-template-columns: 2fr 2fr;
    gap: 20px;
}

.detail-item {
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.detail-item .detail-label {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #666;
}

.detail-item .detail-value {
    font-size: 1.1rem;
    color: #29235c;
    font-weight: 700;
}

/* أزرار الإجراءات */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 25px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
    text-decoration: none;
    font-family: 'Almarai', sans-serif;
    position: relative;
    overflow: hidden;
    min-height: 56px;
}

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

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

.action-btn.primary {
    background: linear-gradient(135deg, #1d71b8, #2a8cda);
    color: white;
}

.action-btn.secondary {
    background: white;
    color: #29235c;
    border: 2px solid #29235c;
    box-shadow: 0 5px 15px rgba(41, 35, 92, 0.1);
}

.action-btn:hover {
    transform: translateY(-5px) scale(1.02);
}

.action-btn.primary:hover {
    background: linear-gradient(135deg, #2a8cda, #1d71b8);
}

.action-btn.secondary:hover {
    background: #29235c;
    color: white;
    border-color: #29235c;
    box-shadow: 0 10px 30px rgba(41, 35, 92, 0.3);
}

.btn-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.action-btn.primary .btn-icon {
    background: rgba(255, 255, 255, 0.2);
}

.action-btn.secondary .btn-icon {
    background: rgba(41, 35, 92, 0.1);
}

.action-btn:hover .btn-icon {
    transform: rotate(30deg) scale(1.2);
}

.action-btn.secondary:hover .btn-icon {
    background: rgba(255, 255, 255, 0.2);
}

/* تحسين مؤشرات السلايدر */
.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    min-height: 20px;
}

.indicator {
    width: 45px;
    height: 6px;
    border-radius: 3px;
    background: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #1d71b8, #29235c);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.indicator.active::before {
    width: 100%;
}

.indicator:hover::before {
    width: 100%;
}

.indicator.active {
    transform: scaleX(1.2);
}

.indicator:hover {
    transform: scaleX(1.1);
}

/* معلومات التحميل */
.loading-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
    opacity: 0;
    transition: opacity 0.3s;
    color: #666;
    font-size: 1rem;
}

.loading-info.active {
    opacity: 1;
}

.loader {
    width: 25px;
    height: 25px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #1d71b8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* أنيميشنات */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.9) rotate(3deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0);
    }
}

/* تأخير دخول الكروت */
.worker-card:nth-child(1) { animation-delay: 0.1s; }
.worker-card:nth-child(2) { animation-delay: 0.2s; }
.worker-card:nth-child(3) { animation-delay: 0.3s; }
.worker-card:nth-child(4) { animation-delay: 0.4s; }
.worker-card:nth-child(5) { animation-delay: 0.5s; }
.worker-card:nth-child(6) { animation-delay: 0.6s; }
.worker-card:nth-child(7) { animation-delay: 0.7s; }
.worker-card:nth-child(8) { animation-delay: 0.8s; }
.worker-card:nth-child(9) { animation-delay: 0.9s; }
.worker-card:nth-child(10) { animation-delay: 1.0s; }
.worker-card:nth-child(11) { animation-delay: 1.1s; }
.worker-card:nth-child(12) { animation-delay: 1.2s; }

/* تصميم متجاوب */
@media (max-width: 1400px) {
    .worker-card { flex: 0 0 380px; }
    .workforce-slider-container { padding: 0 60px; }
    .workforce-slider .worker-card {
        width: 380px;
    }
}

@media (max-width: 1200px) {
    .worker-card { flex: 0 0 350px; }
    .workforce-slider-container { padding: 0 50px; }
}

@media (max-width: 992px) {
    .section-main-title { font-size: 2.2rem; }
    .section-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    .search-box { max-width: 100%; }
    .worker-card { flex: 0 0 320px; }
    .nav-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    .action-btn {
        padding: 12px 20px;
        min-height: 52px;
    }
    .workforce-slider .worker-card {
        width: 320px;
    }
}

@media (max-width: 768px) {
    .new-workforce-section { padding: 60px 0; }
    .section-header { margin-bottom: 40px; }
    .section-main-title { font-size: 1.9rem; }
    .workforce-slider-container { padding: 0 15px; }
    .worker-card { flex: 0 0 300px; }
    .worker-image-container { height: 220px; }
    .worker-name { font-size: 1.4rem; }
    .nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    .action-buttons {
        flex-direction: column;
        gap: 12px;
    }
    .indicator {
        width: 35px;
        height: 5px;
    }
    .workforce-slider .worker-card {
        width: 300px;
    }
}

@media (max-width: 576px) {
    .new-workforce-section { padding: 50px 0; }
    .section-main-title { font-size: 1.7rem; }
    .section-main-title::after {
        width: 80px;
        height: 3px;
    }
    .workforce-slider-container { padding: 0 10px; }
    .worker-card { flex: 0 0 280px; }
    .worker-image-container { height: 200px; }
    .worker-name { font-size: 1.3rem; }
    .detail-row.dual {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .view-more-btn {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    .filter-select {
        min-width: 140px;
        font-size: 0.9rem;
    }
    .search-input {
        padding: 12px 8px;
        font-size: 0.95rem;
    }
    .api-info {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    .workforce-slider .worker-card {
        width: 280px;
    }
}
/* تحسينات للسلايدر */
.workforce-slider {
    cursor: grab;
}

.workforce-slider:active {
    cursor: grabbing;
}

/* تحسين عرض الكروت على الشاشات الصغيرة */
@media (max-width: 480px) {
    .worker-card {
        flex: 0 0 260px;
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .detail-label {
        font-size: 0.9rem;
    }
    
    .detail-value {
        font-size: 1rem;
    }
}

/* تحسينات للفلاتر */
.filter-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

@media (max-width: 768px) {
    .filter-controls {
        flex-direction: column;
        width: 100%;
    }
    
    .filter-select {
        width: 100%;
    }
    
    .refresh-btn {
        width: 100%;
        justify-content: center;
    }
}

/* تحسينات لأزرار السلايدر */
.slider-navigation {
    pointer-events: none;
}

.nav-btn {
    pointer-events: all;
    z-index: 10;
}

/* تحسينات للمؤشرات */
.slider-indicators {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* تحسينات للبحث */
.search-box {
    min-width: 250px;
}




/* متغيرات الألوان والأنميشن */
:root {
    --wf-blue: #1d71b8;
    --wf-blue-light: #3498db;
    --wf-dark: #2c3e50;
    --wf-light: #f8f9fa;
    --wf-gray: #e9ecef;
    --wf-text: #6c757d;
    --wf-black: #343a40;
    --wf-white: #ffffff;
    --wf-red: #dc3545;
    --premiere-color: #1d71b8;
    --light-color: #ffffff;
    --wf-transition: all 0.3s ease;
    --wf-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --wf-radius: 12px;
}

/* تحسينات عامة للقسم */
.wf-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.wf-section {
    padding: 40px 0 60px;
    background-color: var(--wf-white);
    position: relative;
}

/* رأس القسم */
.wf-header {
    margin-bottom: 30px;
}

.wf-title {
    font-size: 2rem;
    color: var(--scendere-color);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

.wf-title::after {
  content: '';
  position: absolute;
  top: 85px;
  right: 50%;
  transform: translateX(50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--premiere-color), var(--scendere-color));
  border-radius: 2px;
}

/* أدوات البحث والتصفية */
.wf-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    border-radius: 12px;
}

.wf-search-container {
    flex: 1;
    min-width: 250px;
}

.wf-search-box {
    position: relative;
    max-width: 400px;
}

.wf-search-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 1px solid #999;
    border-radius: 25px;
    font-size: 0.95rem;
    transition: var(--wf-transition);
    background-color: var(--wf-white);
}

.wf-search-input:focus {
    outline: none;
    border-color: var(--premiere-color);
}

.wf-search-btn {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--wf-blue);
    color: var(--wf-white);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--wf-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wf-search-btn:hover {
    background: var(--wf-dark);
}

.wf-filter-options {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.wf-select-box {
    position: relative;
    min-width: 160px;
}

.wf-select {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid #999;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    appearance: none;
    transition: var(--wf-transition);
}

.wf-select:focus {
    outline: none;
    border-color: var(--premiere-color);
}

.wf-select-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--wf-blue);
    pointer-events: none;
    font-size: 0.9rem;
}

.wf-refresh-btn {
    padding: 12px 20px;
    background: var(--premiere-color);
    color: var(--light-color);
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--wf-transition);
    font-weight: 500;
    white-space: nowrap;
}

.wf-refresh-btn:hover {
    background: var(--wf-dark);
}

/* حاوية السلايدر */
.wf-slider-container {
    position: relative;
    width: 100%;
}

.wf-slider-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 0;
    cursor: grab;
    scrollbar-width: thin;
    scrollbar-color: var(--wf-blue) var(--wf-light);
}

.wf-slider-wrapper:active {
    cursor: grabbing;
}

.wf-slider-wrapper::-webkit-scrollbar {
    display: none; /* إخفاء scrollbar */
}

.wf-slider-track {
    display: flex;
    gap: 20px;
    padding: 10px 0;
    min-width: min-content;
}

/* بطاقات العمالة */
.wf-card {
    flex: 0 0 460px;
    height: 600px;
    background: #F2F2F2;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--wf-shadow);
    transition: var(--wf-transition);
    position: relative;
}

.wf-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.wf-card-img {
    width: 100%;
    height: 260px;
    overflow: hidden;
    position: relative;
}

.wf-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.wf-card:hover .wf-card-img img {
    transform: scale(1.05);
}

.wf-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--premiere-color);
    color: var(--light-color);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.wf-card-content {
    padding: 15px;
    height: calc(100% - 260px);
    display: flex;
    flex-direction: column;
}

.wf-card-name {
    font-size: 1.25rem;
    color: var(--wf-dark);
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

.wf-card-info {
    flex: 1;
    margin-bottom: 15px;
}

.wf-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.wf-info-item {
    padding: 10px;
    border-radius: 6px;
    transition: var(--wf-transition);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.wf-info-label {
    color: var(--wf-text);
    font-size: 1rem;
    font-weight: 600;
}

.wf-info-value {
    color: var(--wf-black);
    font-weight: 600;
    font-size: 0.95rem;
}

.wf-card-actions {
    display: flex;
    gap: 12px;
}

.wf-btn {
    flex: 1;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--wf-transition);
    border: none;
    text-decoration: none;
}

.wf-btn-primary {
    background: var(--premiere-color);
    color: var(--light-color);
}

.wf-btn-secondary {
    background: transparent;
    color: var(--premiere-color);
    border: 2px solid var(--premiere-color);
}

.wf-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.wf-btn-primary:hover {
    border: 2px solid var(--premiere-color);
    color: var(--wf-black);
    background: none;
}

.wf-btn-secondary:hover {
    background: var(--premiere-color);
    color: var(--light-color);
    border-color: transparent;
}

.wf-btn-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--wf-transition);
    font-size: 0.8rem;
}

.wf-btn-primary .wf-btn-icon {
    background: rgba(255, 255, 255, 0.2);
}

.wf-btn-secondary .wf-btn-icon {
    background: var(--premiere-color);
    color: var(--light-color);
}

.wf-btn-secondary:hover .wf-btn-icon {
    background: var(--light-color);
    color: var(--premiere-color);
}

/* إزالة كامل لعناصر التنقل */
.wf-slider-btn,
.wf-slider-dots {
    display: none !important;
}

/* رسالة عدم وجود نتائج */
.wf-no-results {
    flex: 1;
    text-align: center;
    padding: 60px 20px;
}

.wf-no-results i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 20px;
    display: inline-block;
}

.wf-no-results h3 {
    color: #666;
    margin-bottom: 15px;
}

.wf-no-results p {
    color: #999;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}

/* التجاوبية */
@media (max-width: 1200px) {
    .wf-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .wf-search-container, .wf-filter-options {
        width: 100%;
    }
    
    .wf-select-box {
        min-width: 100%;
    }
    
    .wf-card {
        flex: 0 0 420px;
        height: 565px;
    }
}

@media (max-width: 992px) {
    .wf-section {
        padding: 30px 0 50px;
    }
    
    .wf-title {
        font-size: 1.6rem;
    }
    
    .wf-card {
        flex: 0 0 380px;
        height: 545px;
    }
}

@media (max-width: 768px) {
    .wf-title {
        font-size: 1.5rem;
    }
    
    .wf-filters {
        padding: 15px;
        gap: 15px;
    }
    
    .wf-refresh-btn {
        width: 100%;
        justify-content: center;
    }
    
    .wf-card {
        flex: 0 0 340px;
        height: 525px;
    }
    
    .wf-card-content {
        padding: 12px;
    }
    
    .wf-card-name {
        font-size: 1.2rem;
    }
    
    .wf-info-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .wf-btn {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .wf-container {
        padding: 0 15px;
    }
    
    .wf-title {
        font-size: 1.4rem;
    }
    
    .wf-card {
        flex: 0 0 300px;
        height: 505px;
    }
    
    .wf-card-img {
        height: 220px;
    }
    
    .wf-card-content {
        height: calc(100% - 220px);
    }
    
    .wf-card-actions {
        gap: 8px;
    }
    
    .wf-btn {
        padding: 6px 10px;
        font-size: 0.85rem;
        gap: 4px;
    }
    
    .wf-btn-icon {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
}




/* أنماط قسم الدول الجديد */
.countries-horizontal-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    font-family: 'Almarai', sans-serif;
    direction: rtl;
    opacity: 0;
    animation: sectionFadeIn 1s ease forwards 0.3s;
}

@keyframes sectionFadeIn {
    to {
        opacity: 1;
    }
}

.countries-horizontal-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.section-title-container {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.section-main-title {
    font-family: 'Almarai', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #29235c;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: titleSlideUp 1s ease forwards 0.5s;
}

@keyframes titleSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #1d71b8, #29235c);
    border-radius: 2px;
    animation: lineExpand 1s ease forwards 0.8s;
}

@keyframes lineExpand {
    from {
        width: 0;
    }
    to {
        width: 120px;
    }
}

/* حاوية التمرير */
.countries-scroll-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
    cursor: grab;
}

.countries-scroll-container:active {
    cursor: grabbing;
}

/* المسار الذي يحمل البطاقات */
.countries-track {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    transition: transform 0.3s ease-out;
    will-change: transform;
    min-height: 400px;
}

/* إخفاء scrollbar ولكن السماح بالتمرير */
.countries-scroll-container::-webkit-scrollbar {
    display: none;
}

.countries-scroll-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* بطاقة الدولة */
.country-card {
    flex: 0 0 420px;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: cardEntrance 0.6s ease forwards;
    border: 2px solid #F2F2F2;
    position: relative;
    z-index: 1;
}

@keyframes cardEntrance {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.country-card:hover {
    transform: translateY(-10px) scale(1.02);
    z-index: 2;
}

/* تأخيرات متدرجة للبطاقات */
.country-card:nth-child(1) { animation-delay: 0.1s; }
.country-card:nth-child(2) { animation-delay: 0.2s; }
.country-card:nth-child(3) { animation-delay: 0.3s; }
.country-card:nth-child(4) { animation-delay: 0.4s; }
.country-card:nth-child(5) { animation-delay: 0.5s; }
.country-card:nth-child(6) { animation-delay: 0.6s; }
.country-card:nth-child(7) { animation-delay: 0.7s; }
.country-card:nth-child(8) { animation-delay: 0.8s; }
.country-card:nth-child(9) { animation-delay: 0.9s; }
.country-card:nth-child(10) { animation-delay: 1s; }

/* صورة العلم */
.country-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.country-flag {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.country-card:hover .country-flag {
    transform: scale(1.1);
}

/* شارة العدد */
.country-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(29, 113, 184, 0.95);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    z-index: 2;
}

/* محتوى البطاقة */
.country-content {
    padding: 25px;
}

.country-name {
    font-size: 1.5rem;
    color: #29235c;
    margin-bottom: 15px;
    font-weight: 700;
    text-align: center;
}

.country-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
    text-align: center;
}

/* المعلومات الإضافية */
.country-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 25px;
}

.country-info-item {
    text-align: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.country-card:hover .country-info-item {
    background: #e9ecef;
}

.info-label {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 5px;
}

.info-value {
    display: block;
    font-size: 1.1rem;
    color: #29235c;
    font-weight: 700;
}

/* السعر */
.country-price-section {
    text-align: center;
    margin-bottom: 25px;
    /* padding: 15px; */
    background: linear-gradient(135deg, #1d71b8 0%, #2a8cda 100%);
    border-radius: 12px;
    color: white;
}

.price-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.price-amount {
    font-size: 2rem;
    font-weight: 800;
}

.price-currency {
    font-size: 1rem;
    margin-right: 5px;
}

/* زر الطلب */
.order-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #29235c 0%, #1d71b8 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

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

.order-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(29, 113, 184, 0.3);
}

.order-button:hover::before {
    left: 100%;
}

.button-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.order-button:hover .button-icon {
    transform: translateX(-5px);
}

/* مؤشر التمرير الافتراضي */
.scroll-indicator {
    position: absolute;
    bottom: 10px;
    right: 50%;
    transform: translateX(50%);
    font-size: 0.9rem;
    color: #888;
    opacity: 0;
    animation: fadeIn 1s ease forwards 2s;
    pointer-events: none;
}

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

/* تحسينات للشاشات المختلفة */
@media (max-width: 1400px) {
    .country-card {
        flex: 0 0 300px;
    }
}

@media (max-width: 1200px) {
    .country-card {
        flex: 0 0 280px;
    }
    
    .section-main-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .countries-horizontal-section {
        padding: 60px 0;
    }
    
    .country-card {
        flex: 0 0 260px;
    }
    
    .section-main-title {
        font-size: 2rem;
    }
    
    .country-info-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .country-card {
        flex: 0 0 240px;
    }
    
    .section-main-title {
        font-size: 1.8rem;
    }
    
    .section-main-title::after {
        width: 100px;
        height: 3px;
    }
    
    .country-image-wrapper {
        height: 180px;
    }
    
    .country-content {
        padding: 20px;
    }
    
    .country-name {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .countries-horizontal-section {
        padding: 50px 0;
    }
    
    .country-card {
        flex: 0 0 220px;
    }
    
    .section-main-title {
        font-size: 1.6rem;
    }
    
    .country-image-wrapper {
        height: 160px;
    }
    
    .price-amount {
        font-size: 1.7rem;
    }
    
    .order-button {
        padding: 12px;
        font-size: 1rem;
    }
}

/* أنيميشن للتمرير */
@keyframes scrollHint {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-10px);
    }
}

/* تأثير التحميل للبطاقات */
.country-card.loading {
    animation: cardLoading 1.5s infinite ease-in-out;
}

@keyframes cardLoading {
    0%, 100% {
        opacity: 0.5;
        transform: scale(0.98);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}





/* قسم الاستقدام الخاص - تنسيقات فريدة */
.elite-recruitment-section {
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

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

.elite-section-title {
    font-family: 'Almarai', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 55px;
    text-align: center;
    position: relative;
    padding-bottom: 18px;
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.9s ease;
}

.elite-section-title::after {
    content: '';
    position: absolute;
    top: 55px;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #1a365d, #2d5aa0);
    border-radius: 4px;
}

.elite-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 180px;
}

.elite-text-box {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    opacity: 0;
    transform: translateY(35px);
    transition: transform 1.1s ease, opacity 1.1s ease;
}

.elite-content-wrapper {
    position: relative;
    z-index: 3;
    background-color: #ffffff;
    padding: 45px 40px;
    border-radius: 22px;
    transition: all 0.5s ease;
    border: 1px solid #eaeaea;
}

.elite-background-border {
    position: absolute;
    top: -12px;
    left: 0px;
    right: 0px;
    bottom: -12px;
    border: 2px solid var(--rating-color);
    border-radius: 25px;
    z-index: 1;
    transform: rotate(-5deg);
    transform-origin: center;
    background: transparent !important;
    transition: all 0.6s ease;
}

.elite-recruitment-text {
    font-size: 1.15rem;
    line-height: 2.0;
    color: #333;
    text-align: center;
    font-weight: 400;
    margin-bottom: 40px;
    direction: rtl;
    font-family: 'Almarai', sans-serif;
}

/* زر استقدام خاص */
.elite-button-container {
    display: flex;
    justify-content: center;
    margin-top: 35px;
}

.elite-recruitment-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 8px 32px;
    background: linear-gradient(135deg, #1a365d 0%, #2d5aa0 100%);
    color: white;
    border: none;
    border-radius: 60px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Almarai', sans-serif;
    direction: rtl;
}

.elite-recruitment-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    z-index: 1;
}

.elite-recruitment-btn:hover {
    transform: translateY(-7px);
}

.elite-recruitment-btn:active {
    transform: translateY(-3px);
}

/* الدائرة والسهم */
.elite-circle-arrow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.elite-arrow-circle {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.elite-recruitment-btn:hover .elite-arrow-circle {
    background-color: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
    width: 35px;
    height: 35px;
}

.elite-arrow-icon {
    width: 26px;
    height: 26px;
    fill: white;
    transition: all 0.5s ease;
    transform: rotate(180deg); /* لجعل السهم يشير لليسار */
}

.elite-recruitment-btn:hover .elite-arrow-icon {
    transform: rotate(0deg); /* عند الـ hover يعود للسهم ليشير لليمين */
}

/* أنيميشن الدائرة عند الـ hover */
.elite-recruitment-btn:hover .elite-arrow-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    animation: elitePulseCircle 1.8s infinite;
}

@keyframes elitePulseCircle {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.4);
        opacity: 0;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* أنيميشن لزر استقدام خاص عند التحميل */
@keyframes eliteBtnEntrance {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.elite-recruitment-btn {
    animation: eliteBtnEntrance 1s ease-out 0.7s both;
}

/* تأثيرات ظهور القسم */
.elite-section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.elite-text-box.visible {
    opacity: 1;
    transform: translateY(0);
}
/* أنيميشن للقسم بأكمله عند التمرير */
@keyframes eliteSectionEntrance {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.elite-recruitment-section.animate-in {
    animation: eliteSectionEntrance 1.2s ease-out;
}

/* تصميم متجاوب */
@media (max-width: 1100px) {
    .elite-text-box {
        max-width: 850px;
    }
}

@media (max-width: 992px) {
    .elite-text-box {
        max-width: 800px;
    }
    
    .elite-content-wrapper {
        padding: 40px 35px;
    }
    
    .elite-recruitment-text {
        font-size: 1.1rem;
    }
    
    .elite-section-title {
        font-size: 2.1rem;
    }
}

@media (max-width: 768px) {
    .elite-recruitment-section {
        padding: 60px 0;
    }
    
    .elite-section-title {
        font-size: 1.9rem;
        margin-bottom: 45px;
    }
    
    .elite-text-box {
        max-width: 95%;
    }
    
    .elite-content-wrapper {
        padding: 35px 30px;
    }
    
    .elite-recruitment-text {
        font-size: 1.05rem;
        line-height: 1.9;
    }
    
    .elite-recruitment-btn {
        padding: 16px 35px;
        font-size: 1.15rem;
    }
    
    .elite-arrow-circle {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .elite-section-title {
        font-size: 1.7rem;
    }
    
    .elite-content-wrapper {
        padding: 30px 25px;
    }
    
    .elite-recruitment-text {
        font-size: 1rem;
        line-height: 1.8;
    }
    
    .elite-recruitment-btn {
        padding: 14px 30px;
        font-size: 1.05rem;
        flex-direction: column;
        gap: 12px;
    }
    
    .elite-arrow-circle {
        width: 45px;
        height: 45px;
    }
    
    .elite-arrow-icon {
        width: 22px;
        height: 22px;
    }
}




/* قسم الإنجازات بالأرقام */
.achievements-section {
    position: relative;
    padding: 50px 0;
    overflow: hidden;
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.achievements-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(to right, var(--premiere-color), var(--scendere-color));
    z-index: 0;
}

.achievements-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* رأس القسم */
.achievements-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.achievements-main-title {
    font-family: 'Almarai', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 20px;
    line-height: 1.3;
    position: relative;
    display: inline-block;
}

.achievements-main-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
    width: 220px;
    height: 2px;
    background: var(--light-color);
    border-radius: 2px;
}

.achievements-subtitle {
    font-family: 'Almarai', sans-serif;
    font-size: 1rem;
    color: var(--light-color);
    margin-top: 15px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    position: relative;
    border-radius: 15px;
}

/* شبكة الإحصائيات */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* بطاقة الإحصائية */
.stat-card {
    position: relative;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    border: 2px solid var(--light-color);
    backdrop-filter: blur(10px);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29, 113, 184, 0.05), rgba(41, 35, 92, 0.05));
    z-index: 1;
}

.stat-card:hover {
    transform: translateY(-15px) scale(1.03);
    border-color: var(--light-color);
}

.stat-card:hover .stat-icon {
    transform: rotateY(360deg) scale(1.2);
    color: var(--light-color);
}

.stat-card:hover .stat-wave {
    animation: waveAnimation 1.5s ease-in-out;
}

/* أيقونة الإحصائية */
.stat-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    z-index: 2;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--light-color);
    position: relative;
    z-index: 2;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.icon-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(29, 113, 184, 0.1);
    animation: pulseGlow 2s infinite;
    z-index: 1;
}

/* محتوى الإحصائية */
.stat-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.stat-number {
    display: inline-block;
    font-family: 'Almarai', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--light-color);
    margin: 0;
    line-height: 1;
    position: relative;
}

.stat-plus {
    font-size: 2rem;
    color: var(--light-color);
    font-weight: 700;
    margin-right: 5px;
    vertical-align: top;
}

.stat-label {
    font-family: 'Almarai', sans-serif;
    font-size: 1rem;
    color: var(--light-color);
    margin-top: 15px;
    font-weight: 400;
    position: relative;
    padding-bottom: 15px;
}

/* شريط التقدم */
.stat-progress {
    width: 80%;
    height: 6px;
    background: rgba(226, 232, 240, 0.8);
    border-radius: 3px;
    margin: 20px auto 0;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #1d71b8, #2d5aa0);
    border-radius: 3px;
    position: relative;
    transition: width 1.5s ease-in-out;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmerProgress 2s infinite;
}

/* موجة الخلفية المتحركة */
.stat-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(29, 113, 184, 0.1) 0%, transparent 70%);
    opacity: 0;
    z-index: 1;
}

/* عناصر الخلفية المتحركة */
.background-elements {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(29, 113, 184, 0.1), rgba(41, 35, 92, 0.1));
    animation: floatAnimation 20s infinite linear;
}

.el-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.el-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 10%;
    animation-delay: -5s;
    animation-duration: 25s;
}

.el-3 {
    width: 80px;
    height: 80px;
    top: 40%;
    right: 15%;
    animation-delay: -10s;
    animation-duration: 30s;
}

.el-4 {
    width: 120px;
    height: 120px;
    bottom: 10%;
    left: 15%;
    animation-delay: -15s;
    animation-duration: 35s;
}

/* الأنيميشنات */
@keyframes pulseGlow {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
}

@keyframes waveAnimation {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.3;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

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

@keyframes starPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

@keyframes floatAnimation {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, 50px) rotate(90deg);
    }
    50% {
        transform: translate(100px, 0) rotate(180deg);
    }
    75% {
        transform: translate(50px, -50px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

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

/* تأثيرات العد للأرقام */
.stat-number.animating {
    animation: countUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* تصميم متجاوب */
@media (max-width: 1200px) {
    .achievements-main-title {
        font-size: 2.4rem;
    }
    
    .achievements-subtitle {
        font-size: 1.2rem;
    }
    
    .stats-grid {
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .achievements-section {
        padding: 80px 0;
    }
    
    .achievements-main-title {
        font-size: 2.2rem;
    }
    
    .achievements-subtitle {
        font-size: 1.1rem;
        padding: 15px;
    }
    
    .stat-card {
        padding: 30px 20px;
        min-height: 280px;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-label {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .achievements-section {
        padding: 60px 0;
    }
    
    .achievements-header {
        margin-bottom: 60px;
    }
    
    .achievements-main-title {
        font-size: 1.9rem;
    }
    
    .achievements-subtitle {
        font-size: 1rem;
        margin-top: 30px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-card {
        min-height: 260px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
    
    .stat-icon-wrapper {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 576px) {
    .achievements-main-title {
        font-size: 1.7rem;
    }
    
    .achievements-subtitle {
        font-size: 0.95rem;
        padding: 12px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .stat-card {
        min-height: 240px;
        padding: 25px 15px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .footer-text {
        font-size: 1rem;
    }
}

/* تأثيرات خاصة للوضع الداكن */
@media (prefers-color-scheme: dark) {
    .achievements-section {
        background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    }
    
    .achievements-main-title {
        color: #e2e8f0;
    }
    
    .achievements-subtitle {
        color: #cbd5e0;
        background: linear-gradient(90deg, rgba(29, 113, 184, 0.15), rgba(41, 35, 92, 0.15));
    }
    
    .stat-number {
        color: #e2e8f0;
    }
    
    .stat-label {
        color: #cbd5e0;
    }
    
    .stat-progress {
        background: rgba(74, 85, 104, 0.5);
    }
    
    .footer-text {
        color: #90cdf4;
        background: linear-gradient(90deg, rgba(29, 113, 184, 0.2), rgba(41, 35, 92, 0.2));
    }
}

/* تحسينات للوصول */
@media (prefers-reduced-motion: reduce) {
    .stat-card,
    .stat-icon,
    .progress-bar::after,
    .floating-element,
    .footer-text i {
        animation: none !important;
        transition: none !important;
    }
    
    .stat-card:hover {
        transform: none;
    }
}




/* القسم الرئيسي */
.premium-features-section {
    background: transparent !important;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* الحاوية */
.features-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* ============ الجزء الأول: العنوان الرئيسي ============ */
.section-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: headerEntrance 1s ease forwards 0.2s;
}

@keyframes headerEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-heading {
    font-size: 2rem;
    font-weight: 600;
    color: var(--scendere-color);
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.main-heading::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, var(--premiere-color), var(--scendere-color));
    border-radius: 3px;
    animation: lineExpand 1.2s ease forwards 0.8s;
}

@keyframes lineExpand {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 180px;
        opacity: 1;
    }
}

.highlight {
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.main-heading:hover .highlight::after {
    transform: scaleX(1);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--dark-gray);
    max-width: 700px;
    margin: 20px auto 0;
    line-height: 1.8;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============ الجزء الثاني: المميزات ============ */
.features-grid {
    position: relative;
    z-index: 2;
}

.features-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

/* أنيميشن دخول الصف الأول */
.first-row .feature-item {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: cardEntrance 0.8s ease forwards;
}

.first-row .feature-item:nth-child(1) { animation-delay: 0.1s; }
.first-row .feature-item:nth-child(2) { animation-delay: 0.2s; }
.first-row .feature-item:nth-child(3) { animation-delay: 0.3s; }
.first-row .feature-item:nth-child(4) { animation-delay: 0.4s; }

/* أنيميشن دخول الصف الثاني */
.second-row .feature-item {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: cardEntrance 0.8s ease forwards 0.5s;
}

.second-row .feature-item:nth-child(1) { animation-delay: 0.6s; }
.second-row .feature-item:nth-child(2) { animation-delay: 0.7s; }

@keyframes cardEntrance {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* بطاقة الميزة */
.feature-item {
    background: var(--pure-white);
    border-radius: 10px;
    padding: 35px 25px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 280px;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    transition: var(--transition-smooth);
    z-index: 1;
    cursor: pointer;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29, 113, 184, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
    transition: var(--transition-fast);
}

.feature-item:hover {
    transform: translateY(-12px) scale(1.03);
    border-color: var(--premiere-color);
}

.feature-item:hover::before {
    background: linear-gradient(135deg, rgba(29, 113, 184, 0.08) 0%, rgba(255, 255, 255, 0.1) 100%);
}

.feature-item:hover .feature-icon {
    transform: rotateY(360deg) scale(1.15);
    color: var(--primary-blue);
}

.feature-item:hover .feature-title {
    color: var(--primary-blue);
    transform: translateY(-3px);
}

/* أيقونة الميزة */
.feature-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--dark-blue);
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.icon-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--light-blue);
    border-radius: 50%;
    animation: glowPulse 2.5s infinite ease-in-out;
    z-index: 1;
}

@keyframes glowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.4;
    }
}

/* عنوان الميزة */
.feature-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 12px;
    transition: var(--transition-fast);
}

.feature-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 40px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.feature-item:hover .feature-title::after {
    width: 70px;
    background: var(--primary-blue);
}

/* وصف الميزة */
.feature-description {
    font-size: 0.95rem;
    color: var(--dark-gray);
    line-height: 1.7;
    margin: 0;
    transition: var(--transition-fast);
}

.feature-item:hover .feature-description {
    color: var(--text-color);
}

/* تأثير الـ Hover */
.feature-hover-effect {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(29, 113, 184, 0.1) 0%, transparent 70%);
    opacity: 0;
    z-index: -1;
    transition: var(--transition-fast);
}

.feature-item:hover .feature-hover-effect {
    opacity: 1;
    animation: wavePulse 1.5s ease-in-out;
}

@keyframes wavePulse {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.3;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* ============ قسم API التوضيحي ============ */
.api-integration-section {
    margin-top: 100px;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s ease forwards 0.8s;
}

.api-info-card {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    border-radius: var(--border-radius-lg);
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    color: var(--pure-white);
    box-shadow: var(--shadow-medium);
}

.api-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    z-index: 0;
}

.api-icon-wrapper {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.api-main-icon {
    font-size: 4rem;
    color: var(--pure-white);
    animation: floatIcon 3s ease-in-out infinite;
}

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

.api-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.api-description {
    font-size: 1.1rem;
    text-align: center;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.api-demo-area {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-sm);
    padding: 30px;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.api-status {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4caf50;
    position: relative;
}

.status-dot.active {
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

.status-text {
    font-size: 1.1rem;
    font-weight: 600;
}

.api-endpoint {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 8px;
}

.endpoint-code {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: var(--light-gold);
    overflow-x: auto;
    white-space: nowrap;
}

.copy-endpoint-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.copy-endpoint-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.api-response-preview {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    padding: 20px;
    overflow-x: auto;
}

.response-code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #e0e0e0;
    margin: 0;
    line-height: 1.5;
}

.api-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.api-btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
    border: none;
    min-width: 180px;
    justify-content: center;
}

.api-btn.primary-btn {
    background: var(--pure-white);
    color: var(--primary-blue);
}

.api-btn.secondary-btn {
    background: transparent;
    color: var(--pure-white);
    border: 2px solid var(--pure-white);
}

.api-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.api-btn.primary-btn:hover {
    background: var(--light-blue);
}

.api-btn.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.api-btn i {
    transition: transform 0.3s ease;
}

.api-btn:hover i {
    transform: rotate(15deg);
}

.api-note {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-top: 25px;
    position: relative;
    z-index: 1;
}

.api-note i {
    color: var(--light-gold);
    font-size: 1.2rem;
}

.api-note span {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ============ نافذة API Modal ============ */
.api-modal {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    animation: modalFadeIn 0.3s ease;
}

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

.api-modal.active {
    display: flex;
}

.modal-content {
    background: var(--pure-white);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-hard);
    animation: modalSlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid var(--medium-gray);
}

.modal-title {
    font-size: 1.8rem;
    color: var(--dark-blue);
    margin: 0;
}

.modal-close-btn {
    background: none;
    border: none;
    color: var(--dark-gray);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    background: var(--light-gray);
    color: var(--dark-blue);
}

.modal-body {
    padding: 30px;
}

.api-instruction {
    margin-bottom: 40px;
}

.api-instruction h4 {
    font-size: 1.4rem;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.api-instruction ol {
    margin-right: 20px;
    margin-bottom: 25px;
}

.api-instruction li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.api-instruction code {
    background: var(--light-gray);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--primary-blue);
}

.api-example {
    background: var(--light-gray);
    border-radius: var(--border-radius-sm);
    padding: 25px;
    margin-top: 20px;
}

.api-example h5 {
    font-size: 1.2rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.example-code {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.api-replacement {
    background: var(--light-blue);
    border-radius: var(--border-radius-sm);
    padding: 25px;
    border-right: 4px solid var(--primary-blue);
}

.api-replacement h4 {
    font-size: 1.4rem;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.api-replacement p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.api-replacement code {
    background: rgba(29, 113, 184, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--primary-blue);
}

.modal-footer {
    padding: 25px 30px;
    border-top: 1px solid var(--medium-gray);
    text-align: left;
}

.modal-action-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
}

.modal-action-btn:hover {
    background: var(--secondary-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(29, 113, 184, 0.3);
}

/* ============ التجاوبية ============ */
@media (max-width: 1200px) {
    .main-heading {
        font-size: 2.7rem;
    }
    
    .feature-item {
        min-width: 230px;
    }
}

@media (max-width: 992px) {
    .premium-features-section {
        padding: 30px 0;
    }
    
    .main-heading {
        font-size: 2.4rem;
    }
    
    .main-heading::after {
        width: 150px;
        height: 4px;
    }
    
    .section-subtitle {
        font-size: 1.2rem;
        margin-top: 30px;
    }
    
    .features-row {
        gap: 25px;
    }
    
    .feature-item {
        min-width: 45%;
        padding: 30px 20px;
    }
    
    .api-info-card {
        padding: 40px 30px;
    }
    
    .api-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .main-heading {
        font-size: 2.1rem;
    }
    
    .main-heading::after {
        width: 120px;
        height: 3px;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .features-row {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .feature-item {
        min-width: 100%;
        max-width: 400px;
    }
    
    .api-info-card {
        padding: 35px 25px;
    }
    
    .api-title {
        font-size: 1.8rem;
    }
    
    .api-main-icon {
        font-size: 3.5rem;
    }
    
    .api-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .api-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .modal-content {
        max-height: 85vh;
    }
}

@media (max-width: 576px) {
    .main-heading {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-top: 25px;
    }
    
    .feature-item {
        padding: 25px 20px;
    }
    
    .feature-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .feature-icon {
        font-size: 2.2rem;
    }
    
    .feature-title {
        font-size: 1.25rem;
    }
    
    .api-info-card {
        padding: 30px 20px;
    }
    
    .api-title {
        font-size: 1.6rem;
    }
    
    .api-description {
        font-size: 1rem;
    }
    
    .api-demo-area {
        padding: 20px;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 20px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
}

/* تأثيرات خاصة للشاشات الكبيرة */
@media (min-width: 1400px) {
    .premium-features-section::before {
        content: '';
        position: absolute;
        top: 50%;
        right: 50%;
        transform: translate(50%, -50%);
        width: 80vw;
        height: 80vh;
        background: radial-gradient(circle at center, rgba(29, 113, 184, 0.03) 0%, transparent 70%);
        z-index: 0;
        pointer-events: none;
    }
}

/* تحسينات للطباعة */
@media print {
    .premium-features-section {
        padding: 20px 0;
    }
    
    .feature-item {
        break-inside: avoid;
        box-shadow: none;
        border: 2px solid var(--medium-gray);
    }
    
    .api-integration-section {
        break-before: page;
    }
    
    .api-btn,
    .modal-close-btn,
    .copy-endpoint-btn {
        display: none;
    }
}





/* القسم الرئيسي */
.com-contact-communication-section {
    padding: 80px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
    font-family: var(--com-font-family);
}

.com-contact-communication-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(29, 113, 184, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(41, 35, 92, 0.03) 0%, transparent 50%);
    z-index: 0;
}

.com-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* محتوى القسم */
.com-content-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* تم تعديل النسب لتكون الصورة متناسقة */
    gap: 40px;
    align-items: stretch; /* لجعل الإرتفاعات متساوية */
}

/* ===== الجزء الأول: نموذج التواصل ===== */
.com-form-container {
    background: var(--com-light-color);
    border-radius: var(--com-border-radius);
    padding: 0 35px 0 35px;
    box-shadow: var(--com-box-shadow);
    position: relative;
    overflow: hidden;
    transition: var(--com-transition);
    height: 100%; /* ليتناسب مع ارتفاع الصورة */
}

.com-form-container:hover {
    box-shadow: var(--com-box-shadow-hover);
    transform: translateY(-5px);
}

.com-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--com-primary-color), var(--com-secondary-color));
    z-index: 2;
}

/* رأس النموذج */
.com-form-header {
    text-align: center;
    margin-bottom: 35px;
    position: relative;
}

.com-form-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--scendere-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.com-form-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 50%;
    transform: translateX(50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(to right, var(--premiere-color), var(--scendere-color));
    border-radius: 2px;
}

.com-form-subtitle {
    font-size: 1rem;
    color: var(--com-gray-dark);
    line-height: 1.6;
    max-width: 500px;
    margin: 15px auto 0;
}

/* النموذج */
.com-contact-form {
    position: relative;
}

/* مجموعة الإدخال - كلها عمودية */
.com-form-group {
    position: relative;
    margin-bottom: 22px;
    width: 100%;
}

.com-form-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--com-secondary-color);
    margin-bottom: 8px;
    transition: var(--com-transition-fast);
}

.com-form-label i {
    color: var(--com-primary-color);
    font-size: 1rem;
    width: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
}

.com-form-input,
.com-form-select,
.com-form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--black-color);
    border-radius: 15px;
    font-size: 0.85rem;
    transition: var(--com-transition-fast);
    color: var(--com-dark-color);
}

.com-form-input:focus,
.com-form-select:focus,
.com-form-textarea:focus {
    outline: none;
    border-color: var(--premiere-color);
}

.com-form-input::placeholder,
.com-form-textarea::placeholder {
    color: var(--com-gray-dark);
    opacity: 0.7;
}

/* خط التركيز المتحرك */
.com-input-focus-line,
.com-textarea-focus-line {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--com-primary-color), var(--com-accent-color));
    transition: var(--com-transition-fast);
    border-radius: 1px;
}

.com-form-input:focus ~ .com-input-focus-line,
.com-form-select:focus ~ .com-input-focus-line,
.com-form-textarea:focus ~ .com-textarea-focus-line {
    width: 100%;
}

/* تعديل حقل اختيار الدولة والهاتف */
.com-phone-country-group {
    display: flex;
    gap: 10px;
    width: 100%;
}

.com-country-select-wrapper {
    position: relative;
    min-width: 150px;
    flex-shrink: 0;
}

.com-country-select {
    width: 100%;
    padding: 14px 18px;
    padding-left: 40px;
    border: 2px solid var(--black-color);
    border-radius: 15px;
    font-size: 0.85rem;
    transition: var(--com-transition-fast);
    color: var(--com-dark-color);
    background: var(--com-light-color);
    appearance: none;
    cursor: pointer;
}

.com-country-select:focus {
    outline: none;
    border-color: var(--premiere-color);
}

.com-country-arrow {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--com-gray-dark);
    pointer-events: none;
    font-size: 0.9rem;
}

.com-phone-input {
    flex: 1;
    padding-left: 15px;
}

/* حقل تحميل الصورة */
.com-image-upload-container {
    position: relative;
    width: 100%;
}

.com-image-upload-area {
    border: 2px dashed var(--com-gray-medium);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--com-transition-fast);
    background: var(--com-gray-light);
}

.com-image-upload-area:hover {
    border-color: var(--com-primary-color);
    background: rgba(29, 113, 184, 0.05);
}

.com-upload-icon {
    font-size: 2.5rem;
    color: var(--com-primary-color);
    margin-bottom: 10px;
}

.com-upload-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.com-upload-title {
    font-weight: 600;
    color: var(--com-dark-color);
}

.com-upload-subtitle {
    font-size: 0.8rem;
    color: var(--com-gray-dark);
}

.com-image-preview {
    margin-top: 15px;
    display: none;
    text-align: center;
}

.com-image-preview.active {
    display: block;
}

.com-preview-image {
    max-width: 150px;
    max-height: 150px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid var(--com-gray-medium);
}

.com-remove-image {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 15px;
    background: var(--com-error-color);
    color: white;
    border-radius: 5px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--com-transition-fast);
}

.com-remove-image:hover {
    background: #dc3545;
}

/* Select مخصص */
.com-form-select {
    appearance: none;
    cursor: pointer;
    background-image: none;
    position: relative;
}

.com-select-arrow {
    position: absolute;
    left: 18px;
    top: 70%;
    transform: translateY(-50%);
    color: var(--com-gray-dark);
    pointer-events: none;
    transition: var(--com-transition-fast);
}

.com-form-select:focus ~ .com-select-arrow {
    color: var(--com-primary-color);
    transform: translateY(-50%) rotate(180deg);
}

/* Textarea */
.com-form-textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

/* زر الإرسال */
.com-form-submit-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

@media (max-width: 768px) {
    .com-form-submit-container {
        flex-direction: column;
        align-items: stretch;
        gap: 25px;
    }
}

.com-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 24px;
    border: 2px solid var(--premiere-color) !important;
    background: transparent !important;
    color: var(--black-color);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--com-transition);
    position: relative;
    overflow: hidden;
    min-width: 200px;
}

.com-submit-btn:hover {
    transform: translateY(-5px);
    background: linear-gradient(to right, var(--premiere-color), var(--scendere-color)) !important;
    color: var(--light-color);
    font-size: 1rem;
}

.com-submit-btn:active {
    transform: translateY(-2px);
}

.com-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.6s ease;
}

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

.com-btn-text {
    position: relative;
    z-index: 1;
}

/* دائرة السهم */
.com-btn-arrow-circle {
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: var(--com-transition);
    z-index: 1;
}

.com-submit-btn:hover .com-btn-arrow-circle {
    transform: rotate(90deg);
}

.com-arrow-circle-inner {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--com-transition);
}

.com-submit-btn:hover .com-arrow-circle-inner {
    transform: rotate(-90deg);
}

.com-arrow-icon {
    font-size: 1.1rem;
    color: var(--com-light-color);
    transition: var(--com-transition);
}

/* أنيميشن النبض للدائرة */
@keyframes comPulseCircle {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(29, 113, 184, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 12px rgba(29, 113, 184, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(29, 113, 184, 0);
    }
}

.com-submit-btn:not(:disabled) .com-btn-arrow-circle {
    animation: comPulseCircle 2s infinite;
}

/* حالة الإرسال */
.com-submit-btn.sending {
    background: linear-gradient(135deg, var(--com-accent-color), #d4a73c);
    cursor: not-allowed;
}

.com-submit-btn.sending .com-btn-arrow-circle {
    animation: comSendingSpin 1.5s linear infinite;
}

@keyframes comSendingSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* حالة النقاط */
.com-submit-status {
    display: flex;
    align-items: center;
    gap: 12px;
}

.com-status-dots {
    display: flex;
    gap: 6px;
}

.com-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--com-gray-medium);
    transition: var(--com-transition-fast);
}

.com-status-dot.active {
    background: var(--com-primary-color);
    transform: scale(1.2);
}

.com-status-dot.dot-1.active {
    animation: comDotPulse 1.5s infinite;
}

.com-status-dot.dot-2.active {
    animation: comDotPulse 1.5s infinite 0.2s;
}

.com-status-dot.dot-3.active {
    animation: comDotPulse 1.5s infinite 0.4s;
}

@keyframes comDotPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.com-status-text {
    font-size: 0.9rem;
    color: var(--com-gray-dark);
    font-weight: 600;
    transition: var(--com-transition-fast);
}

.com-status-text.sending {
    color: var(--com-primary-color);
}

.com-status-text.success {
    color: var(--com-success-color);
}

.com-status-text.error {
    color: var(--com-error-color);
}

/* تذييل النموذج */
.com-form-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--com-gray-medium);
}

.com-privacy-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--com-gray-light);
    padding: 12px 16px;
    border-radius: 8px;
    border-right: 3px solid var(--com-primary-color);
}

.com-privacy-notice i {
    color: var(--com-primary-color);
    font-size: 1.1rem;
}

.com-privacy-notice span {
    font-size: 0.9rem;
    color: var(--com-gray-dark);
    line-height: 1.5;
}

/* ===== الجزء الثاني: الصورة متناسقة مع الحقول ===== */
.com-image-container {
    position: relative;
    height: auto;
    border-radius: var(--com-border-radius);
    overflow: hidden;
    width: 100%;
    display: flex;
    align-items: stretch;
    border-radius: 15px;
}

.com-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--com-border-radius);
    overflow: hidden;
    box-shadow: var(--com-box-shadow);
}

.com-main-image {
    width: 100%;
    height: 80%;
    object-fit: cover;
    transition: var(--com-transition);
    display: block;
    border-radius: 15px;
}

.com-image-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 80%;
    background: linear-gradient(to top, rgba(29, 113, 184, 0.9), rgba(41, 35, 92, 0.8));
    z-index: 1;
    border-radius: 15px;
}

.com-image-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 80%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
    color: var(--com-light-color);
}

/* معلومات الاتصال */
.com-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.com-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--com-transition-fast);
}

.com-info-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-5px);
}

.com-info-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--light-color);
    flex-shrink: 0;
}

.com-info-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--light-color);
}

.com-info-content p {
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.9;
    color: var(--light-color);
}

/* العناصر العائمة */
.com-floating-elements {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.com-floating-element {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--com-light-color);
    font-size: 1.1rem;
    animation-duration: 15s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.com-floating-element.el-1 {
    top: 15%;
    left: 10%;
    animation-name: comFloatElement1;
}

.com-floating-element.el-2 {
    top: 60%;
    left: 15%;
    animation-name: comFloatElement2;
}

.com-floating-element.el-3 {
    top: 40%;
    left: 5%;
    animation-name: comFloatElement3;
}

@keyframes comFloatElement1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, 15px) rotate(90deg);
    }
    50% {
        transform: translate(5px, 30px) rotate(180deg);
    }
    75% {
        transform: translate(-15px, 15px) rotate(270deg);
    }
}

@keyframes comFloatElement2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(-15px, 20px) rotate(-90deg);
    }
    50% {
        transform: translate(15px, 5px) rotate(-180deg);
    }
    75% {
        transform: translate(5px, -15px) rotate(-270deg);
    }
}

@keyframes comFloatElement3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -5px) rotate(120deg);
    }
    50% {
        transform: translate(-5px, 20px) rotate(240deg);
    }
    75% {
        transform: translate(15px, 15px) rotate(360deg);
    }
}

/* ===== نافذة تأكيد الإرسال ===== */
.com-modal-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
    animation: comModalFadeIn 0.3s ease;
}

.com-modal-overlay.active {
    display: flex;
}

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

.com-modal-content {
    background: var(--com-light-color);
    border-radius: var(--com-border-radius);
    width: 100%;
    max-width: 450px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: comModalSlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

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

.com-modal-header {
    background: linear-gradient(135deg, var(--com-success-color), #1e7e34);
    padding: 25px;
    text-align: center;
    color: var(--com-light-color);
    position: relative;
}

.com-modal-icon {
    font-size: 3.5rem;
    margin-bottom: 10px;
    animation: comCheckmarkBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes comCheckmarkBounce {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.com-modal-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.com-modal-close {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: var(--com-light-color);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--com-transition-fast);
}

.com-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.com-modal-body {
    padding: 25px;
}

.com-modal-body p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--com-gray-dark);
    margin-bottom: 20px;
    text-align: center;
}

.com-modal-details {
    background: var(--com-gray-light);
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 25px;
    border: 1px solid var(--com-gray-medium);
}

.com-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--com-gray-medium);
}

.com-detail-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.com-detail-label {
    font-weight: 600;
    color: var(--com-dark-color);
    font-size: 0.95rem;
}

.com-detail-value {
    font-weight: 700;
    color: var(--com-primary-color);
    font-size: 1rem;
}

.com-modal-actions {
    display: flex;
    gap: 12px;
}

@media (max-width: 576px) {
    .com-modal-actions {
        flex-direction: column;
    }
}

.com-modal-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--com-transition-fast);
    border: none;
    font-family: var(--com-font-family);
}

.com-print-btn {
    background: var(--com-primary-color);
    color: var(--com-light-color);
}

.com-print-btn:hover {
    background: var(--com-secondary-color);
    transform: translateY(-3px);
}

.com-close-modal-btn {
    background: var(--com-gray-medium);
    color: var(--com-dark-color);
}

.com-close-modal-btn:hover {
    background: var(--com-gray-dark);
    color: var(--com-light-color);
    transform: translateY(-3px);
}

/* ===== الإشعارات ===== */
.com-notification {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: var(--com-light-color);
    border-radius: 8px;
    padding: 12px 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    display: none;
    align-items: center;
    gap: 12px;
    z-index: 10001;
    transform: translateX(-100px);
    opacity: 0;
    transition: var(--com-transition-fast);
    border-right: 3px solid var(--com-primary-color);
}

.com-notification.active {
    display: flex;
    transform: translateX(0);
    opacity: 1;
    animation: comNotificationSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.com-notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.com-notification-content i {
    font-size: 1.2rem;
    color: var(--com-primary-color);
}

.com-notification-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--com-dark-color);
}

.com-notification.success {
    border-right-color: var(--com-success-color);
}

.com-notification.success i {
    color: var(--com-success-color);
}

.com-notification.error {
    border-right-color: var(--com-error-color);
}

.com-notification.error i {
    color: var(--com-error-color);
}

/* ===== أنيميشن عند التمرير ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

[data-animation="slide-left"].animated {
    animation: comSlideLeft 0.8s ease forwards;
}

[data-animation="slide-right"].animated {
    animation: comSlideRight 0.8s ease forwards;
}

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

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

/* ===== التجاوبية ===== */
@media (max-width: 1200px) {
    .com-content-wrapper {
        gap: 35px;
    }
    
    .com-form-container {
        padding: 30px;
    }
}

@media (max-width: 992px) {
    .com-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .com-form-title,
    .com-image-title {
        font-size: 1.8rem;
    }
    
    .com-form-container {
        height: auto;
    }
    
    .com-phone-country-group {
        flex-direction: column;
    }
    
    .com-country-select-wrapper {
        min-width: 100%;
    }
    
    .com-image-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .com-contact-communication-section {
        padding: 60px 0;
    }
    
    .com-form-title,
    .com-image-title {
        font-size: 1.6rem;
    }
    
    .com-form-container {
        padding: 25px;
    }
    
    .com-image-content {
        padding: 20px;
    }
    
    .com-submit-btn {
        width: 100%;
        min-width: auto;
    }
    
    .com-floating-elements {
        display: none;
    }
    
    .com-image-container {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .com-contact-communication-section {
        padding: 50px 0;
    }
    
    .com-container {
        width: 95%;
    }
    
    .com-form-title,
    .com-image-title {
        font-size: 1.5rem;
    }
    
    .com-form-container {
        padding: 20px;
    }
    
    .com-submit-btn {
        padding: 14px 25px;
        font-size: 1rem;
    }
    
    .com-btn-arrow-circle {
        width: 40px;
        height: 40px;
    }
    
    .com-arrow-circle-inner {
        width: 30px;
        height: 30px;
    }
    
    .com-image-container {
        height: 300px;
    }
}

/* ===== التحقق من الصحة ===== */
.com-form-input:invalid:not(:placeholder-shown),
.com-form-select:invalid {
    border-color: var(--com-error-color);
}

.com-form-input:invalid:not(:placeholder-shown) ~ .com-input-focus-line,
.com-form-select:invalid ~ .com-input-focus-line {
    background: var(--com-error-color);
}

.com-form-input:valid:not(:placeholder-shown),
.com-form-select:valid {
    border-color: var(--com-success-color);
}

.com-form-input:valid:not(:placeholder-shown) ~ .com-input-focus-line,
.com-form-select:valid ~ .com-input-focus-line {
    background: var(--com-success-color);
}

/* رسالة الخطأ */
.com-error-message {
    position: absolute;
    bottom: -18px;
    right: 0;
    font-size: 0.8rem;
    color: var(--com-error-color);
    display: none;
}

.com-form-input:invalid:not(:placeholder-shown) ~ .com-error-message {
    display: block;
}

/* تحسينات للشاشات الصغيرة جدا */
@media (max-width: 400px) {
    .com-form-input,
    .com-form-select,
    .com-form-textarea {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .com-country-select {
        padding: 12px 15px;
        padding-left: 35px;
        font-size: 0.9rem;
    }
    
    .com-phone-input {
        padding-left: 15px;
    }
    
    .com-country-arrow {
        left: 12px;
    }
    
    .com-select-arrow {
        left: 15px;
    }
}





/* ===== Footer Base Styles ===== */
.footer-section {
    position: relative;
    width: 100%;
    z-index: 1000;
    background: #F2F2F2;
    margin-top: 0;
    direction: rtl;
    overflow: hidden;
    margin-top: 50px;
}

/* إضافة padding للـ body لمنع المحتوى من الاختفاء خلف الـ footer */


.footer-wave {
    position: absolute;
    top: -100px;
    right: 0;
    width: 100%;
    height: 70px;
    z-index: 1;
}

.footer-container {
    width: 95%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 15px 0;
    position: relative;
    z-index: 2;
}

/* ===== Floating Elements Animation ===== */
.footer-floating-elements {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(40px);
    animation: floatAnimation 20s infinite linear;
}

.el1 {
    width: 200px;
    height: 200px;
    background: var(--footer-primary);
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.el2 {
    width: 150px;
    height: 150px;
    background: var(--footer-accent);
    bottom: 15%;
    left: 10%;
    animation-delay: -5s;
    animation-duration: 25s;
}

.el3 {
    width: 100px;
    height: 100px;
    background: var(--footer-secondary);
    top: 40%;
    left: 15%;
    animation-delay: -10s;
    animation-duration: 30s;
}

.el4 {
    width: 180px;
    height: 180px;
    background: var(--footer-primary);
    bottom: 25%;
    right: 20%;
    animation-delay: -15s;
    animation-duration: 35s;
}

@keyframes floatAnimation {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, 30px) rotate(90deg);
    }
    50% {
        transform: translate(60px, 0) rotate(180deg);
    }
    75% {
        transform: translate(30px, -30px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* ===== Main Row (3 Columns) ===== */
.footer-main-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 20px;
    animation: slideUpFade 1s ease-out 0.3s both;
}

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

/* ===== Column 1: Logo & Social ===== */
.footer-col-logo {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo-wrapper {
    position: relative;
    width: 180px;
    height: 90px;
    margin-bottom: 10px;
}

.footer-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(29, 113, 184, 0.2));
    transition: var(--footer-transition);
    position: relative;
    z-index: 2;
}

.footer-logo:hover {
    transform: scale(1.05) rotate(-2deg);
    filter: drop-shadow(0 8px 25px rgba(29, 113, 184, 0.4));
}

.footer-logo-glow {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(29, 113, 184, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: logoGlow 3s infinite alternate ease-in-out;
}

@keyframes logoGlow {
    from {
        opacity: 0.3;
        transform: translate(50%, -50%) scale(0.95);
    }
    to {
        opacity: 0.7;
        transform: translate(50%, -50%) scale(1.05);
    }
}

.footer-desc {
    line-height: 1.6;
    font-size: 0.9rem;
    padding: 10px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.footer-desc::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(29, 113, 184, 0.05), transparent);
    animation: shimmer 3s infinite linear;
}

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

.social-title {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-icon {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: var(--footer-transition);
    transform-style: preserve-3d;
    transform: perspective(500px) rotateY(0deg);
}

.social-tooltip {
    position: absolute;
    bottom: -40px;
    right: 50%;
    transform: translateX(50%);
    color: var(--premiere-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--footer-transition);
    z-index: 100;
}

.social-tooltip::before {
    content: '';
    position: absolute;
    top: -5px;
    right: 50%;
    transform: translateX(50%);
    border-width: 0 5px 5px 5px;
    border-style: solid;
    border-color: transparent transparent var(--footer-dark) transparent;
}

.social-icon:hover .social-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(50%) translateY(-5px);
}

.social-icon.twitter { background: #1DA1F2; }
.social-icon.facebook { background: #1877F2; }
.social-icon.instagram { 
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}
.social-icon.linkedin { background: #0077B5; }
.social-icon.youtube { background: #FF0000; }

.social-icon:hover {
    transform: perspective(500px) rotateY(360deg) scale(1.15);
}

/* ===== Column 2: Quick Links ===== */
.footer-col-links {
    animation: slideUpFade 1s ease-out 0.5s both;
}

.footer-subtitle {
    color: var(--footer-secondary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--footer-primary), transparent);
    border-radius: 2px;
}

.footer-subtitle i {
    color: var(--footer-primary);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

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

.footer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--footer-dark);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 10px;
    transition: var(--footer-transition);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    font-size: 0.9rem;
}

.footer-link::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    transition: right 0.6s ease;
}

.footer-link:hover::before {
    right: 100%;
}

.link-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(to right, var(--premiere-color), var(--scendere-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    transition: var(--footer-transition);
}

.footer-link:hover .link-icon {
    transform: rotate(20deg) scale(1.1);
}

/* ===== Column 3: Contact Info ===== */
.footer-col-contact {
    animation: slideUpFade 1s ease-out 0.7s both;
}

.contact-subtitle {
    color: var(--footer-gray);
    font-size: 0.9rem;
    margin-bottom: 25px;
    padding-right: 5px;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border-radius: 12px;
    transition: var(--footer-transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--footer-border);
    cursor: pointer;
}

.contact-hover-effect {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29, 113, 184, 0.05), transparent);
    opacity: 0;
    transition: var(--footer-transition);
}

.contact-item:hover .contact-hover-effect {
    opacity: 1;
}

.contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--premiere-color), var(--scendere-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
    transition: var(--footer-transition);
}

.contact-item:hover .contact-icon {
    transform: rotate(15deg) scale(1.1);
}

.contact-details {
    flex: 1;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    color: var(--footer-gray);
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-value {
    color: var(--footer-dark);
    text-decoration: none;
    font-weight: 600;
    line-height: 1.6;
    transition: var(--footer-transition);
    display: block;
    font-size: 0.95rem;
}

.contact-value:hover {
    color: var(--footer-primary);
}

.phone-options {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.phone-option {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    background: rgba(29, 113, 184, 0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--footer-primary);
    text-decoration: none;
    transition: var(--footer-transition);
}

.phone-option:hover {
    background: var(--footer-primary);
    color: white;
    transform: translateY(-2px);
}

.phone-option.whatsapp:hover {
    background: #25D366;
}

/* ===== Copyright ===== */
.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideUpFade 1s ease-out 1.1s both;
    padding: 15px 0;
    margin-top: 20px;
}

.copyright-content {
    flex: 1;
}

.copyright-text {
    color: var(--footer-gray);
    font-size: 0.85rem;
    margin-bottom: 10px;
    text-align: center;
    position: relative;
    padding: 10px;
    border-radius: 10px;
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .footer-main-row {
        gap: 25px;
    }
    
    .quick-links-grid {
        gap: 12px;
    }
}

@media (max-width: 992px) {
    .footer-main-row {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer-col {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
    
    .footer-logo-wrapper {
        width: 170px;
        height: 85px;
    }
}

@media (max-width: 768px) {
    .footer-section {
        padding: 50px 0 20px;
    }
    
    .footer-main-row {
        gap: 25px;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .footer-copyright {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .copyright-extras {
        justify-content: center;
    }
    
    .footer-back-to-top {
        margin-right: 0;
    }
    
    .contact-item {
        padding: 12px;
    }
    
    .phone-options {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    body {
        padding-bottom: 350px;
    }
}

@media (max-width: 576px) {
    .footer-section {
        padding: 40px 0 15px;
    }
    
    .footer-container {
        width: 98%;
    }
    
    .footer-subtitle {
        font-size: 1.1rem;
    }
    
    .footer-link {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
    
    .link-icon {
        width: 26px;
        height: 26px;
        font-size: 0.75rem;
    }
    
    .contact-icon {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }
    
    .copyright-text {
        font-size: 0.8rem;
        padding: 8px;
    }
    
    .copyright-extra {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
    
    .footer-back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .floating-element {
        display: none;
    }
    
    body {
        padding-bottom: 400px;
    }
}

@media (max-width: 480px) {
    .footer-section {
        padding: 15px 0;
    }
    
    .footer-container {
        width: 98%;
    }
    
    .footer-logo-wrapper {
        width: 150px;
        height: 75px;
    }
    
    .footer-desc {
        font-size: 0.85rem;
        padding: 8px;
    }
    
    .contact-item {
        padding: 10px;
    }
    
    .contact-icon {
        width: 32px;
        height: 32px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    body {
        padding-bottom: 450px;
    }
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== Print Styles ===== */
@media print {
    .footer-section {
        background: white !important;
        border-top: 3px solid var(--footer-primary);
        position: relative !important;
    }
    
    .footer-floating-elements,
    .footer-back-to-top,
    .social-tooltip,
    .phone-options {
        display: none !important;
    }
    
    body {
        padding-bottom: 0 !important;
    }
}





/* FAQs page */
/* ===== ملف أنماط قسم الأسئلة الشائعة (FAQ) - أسماء فريدة ===== */
/* جميع أسماء الـ classes فريدة لتجنب التعارض مع أي أكواد أخرى */


/* ===== البانر العلوي ===== */
.faq-hero-banner {
    position: relative;
    height: 500px; /* بين 450px و 550px كما طلبت */
    width: 100%;
    background-image: linear-gradient(rgba(29, 113, 184, 0.8), rgba(41, 35, 92, 0.8)), 
                      url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--faq-light-color);
    overflow: hidden;
    animation: faq-banner-fade-in 1.5s ease-out;
}

@keyframes faq-banner-fade-in {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.faq-banner-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(29, 113, 184, 0.7), rgba(41, 35, 92, 0.7));
    z-index: 1;
}

.faq-banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    animation: faq-content-slide-up 1s ease-out 0.5s both;
}

@keyframes faq-content-slide-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.faq-banner-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #FFF;
}

.faq-banner-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    color: #FFF;
}

/* ===== الحاوية الرئيسية ===== */
.faq-main-container {
    max-width: 1400px;
    margin: -80px auto 0;
    padding: 0 20px 80px;
    position: relative;
    z-index: 10;
}

.faq-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    animation: faq-container-appear 1s ease-out 0.8s both;
}

@keyframes faq-container-appear {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 992px) {
    .faq-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ===== العنوان الرئيسي على اليسار ===== */
.faq-header-section {
    background: var(--light-color);
    border-radius: var(--faq-border-radius);
    padding: 40px 30px;
    box-shadow: var(--faq-shadow);
    position: sticky;
    top: 30px;
    height: fit-content;
    border-top: 5px solid var(--faq-primary-color);
    animation: faq-header-slide-in 0.8s ease-out 1s both;
}

@keyframes faq-header-slide-in {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.faq-title-container {
    text-align: right;
}

.faq-main-title {
    font-size: 2.2rem;
    color: var(--faq-secondary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.faq-main-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to left, var(--faq-primary-color), var(--faq-secondary-color));
    border-radius: 2px;
}

.faq-main-description {
    font-size: 1.1rem;
    color: var(--faq-gray-dark);
    margin-bottom: 30px;
    line-height: 1.8;
}

.faq-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--faq-gray-medium);
}

.faq-stat-item {
    text-align: center;
    flex: 1;
}

.faq-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--faq-primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.faq-stat-label {
    font-size: 0.9rem;
    color: var(--faq-gray-dark);
    font-weight: 600;
}

/* ===== قسم الأسئلة والأجوبة ===== */
.faq-questions-section {
    animation: faq-questions-slide-in 0.8s ease-out 1.2s both;
}

@keyframes faq-questions-slide-in {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.faq-questions-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* فئات الأسئلة */
.faq-category {
    background: var(--light-color);
    border-radius: var(--faq-border-radius);
    overflow: hidden;
    box-shadow: var(--faq-shadow);
    transition: var(--faq-transition);
    border: 15px;
}

.faq-category:hover {
    box-shadow: var(--faq-shadow-hover);
}

.faq-category-title {
    background: linear-gradient(to right, var(--premiere-color), var(--scendere-color));
    color: var(--light-color);
    padding: 20px 25px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.faq-category-title i {
    font-size: 1.6rem;
}

/* عنصر السؤال الفردي */
.faq-item {
    border-bottom: 1px solid var(--faq-gray-medium);
    overflow: hidden;
    transition: var(--faq-transition);
}

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

.faq-item.active {
    background-color: rgba(29, 113, 184, 0.03);
}

.faq-question-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px;
    cursor: pointer;
    transition: var(--faq-transition);
    gap: 20px;
}

.faq-question-wrapper:hover {
    background-color: rgba(29, 113, 184, 0.05);
}

.faq-question-content {
    flex: 1;
}

.faq-question-title {
    font-size: 1.3rem;
    color: var(--faq-secondary-color);
    margin-bottom: 8px;
    font-weight: 700;
    transition: var(--faq-transition);
}

.faq-question-preview {
    color: var(--faq-gray-dark);
    font-size: 0.95rem;
    opacity: 0.8;
}

/* زر التبديل */
.faq-toggle-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--faq-gray-medium);
    background: var(--faq-light-color);
    color: var(--faq-primary-color);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--faq-transition);
}

.faq-toggle-btn:hover {
    border-color: var(--faq-primary-color);
    background-color: var(--faq-primary-color);
    color: var(--faq-light-color);
    transform: rotate(90deg);
}

.faq-item.active .faq-toggle-btn {
    border-color: var(--faq-primary-color);
    background-color: var(--faq-primary-color);
    color: var(--faq-light-color);
    transform: rotate(45deg);
}

.faq-toggle-icon {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* منطقة الإجابة */
.faq-answer-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-answer-content {
    padding: 0 25px 25px;
    color: var(--faq-dark-color);
    line-height: 1.8;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.faq-item.active .faq-answer-content {
    opacity: 1;
    transform: translateY(0);
}

.faq-answer-content p {
    margin-bottom: 15px;
}

.faq-answer-content ul,
.faq-answer-content ol {
    margin-right: 20px;
    margin-bottom: 20px;
}

.faq-answer-content li {
    margin-bottom: 10px;
    padding-right: 5px;
}

/* الأنماط الخاصة داخل الإجابات */
.faq-answer-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.faq-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--faq-gray-light);
    border-radius: 8px;
    border-right: 3px solid var(--faq-primary-color);
}

.faq-feature-item i {
    color: var(--faq-primary-color);
    font-size: 1.2rem;
}

.faq-cost-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.faq-cost-table thead {
    background: linear-gradient(to right, var(--faq-primary-color), var(--faq-secondary-color));
    color: white;
}

.faq-cost-table th {
    padding: 15px;
    text-align: right;
    font-weight: 600;
}

.faq-cost-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--faq-gray-medium);
}

.faq-cost-table tbody tr:nth-child(even) {
    background-color: var(--faq-gray-light);
}

.faq-cost-table tbody tr:hover {
    background-color: rgba(29, 113, 184, 0.05);
}

.faq-note {
    background-color: rgba(255, 193, 7, 0.1);
    border-right: 4px solid var(--faq-warning-color);
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.faq-highlight {
    background-color: rgba(29, 113, 184, 0.1);
    border-right: 4px solid var(--faq-primary-color);
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.faq-highlight i {
    color: var(--faq-primary-color);
    margin-top: 3px;
}

/* أنماط التقنيات */
.faq-tech-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
}

.faq-tech-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: var(--faq-gray-light);
    border-radius: 10px;
    transition: var(--faq-transition);
}

.faq-tech-item:hover {
    transform: translateX(-5px);
    background: linear-gradient(to right, var(--faq-gray-light), white);
}

.faq-tech-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--faq-primary-color), var(--faq-secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.faq-tech-info h5 {
    color: var(--faq-secondary-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.faq-tech-info p {
    color: var(--faq-gray-dark);
    font-size: 0.95rem;
}

/* خطوات العمل عن بعد */
.faq-remote-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 25px 0;
}

.faq-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.faq-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--faq-primary-color), var(--faq-secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.faq-step-content h5 {
    color: var(--faq-secondary-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.faq-step-content p {
    color: var(--faq-gray-dark);
    font-size: 0.95rem;
}

/* شبكة الضمانات */
.faq-guarantee-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.faq-guarantee-card {
    background: var(--faq-gray-light);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: var(--faq-transition);
    border: 1px solid transparent;
}

.faq-guarantee-card:hover {
    transform: translateY(-5px);
    border-color: var(--faq-primary-color);
    box-shadow: var(--faq-shadow);
}

.faq-guarantee-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--faq-primary-color), var(--faq-secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin: 0 auto 15px;
}

.faq-guarantee-card h5 {
    color: var(--faq-secondary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.faq-guarantee-card p {
    color: var(--faq-gray-dark);
    font-size: 0.9rem;
}

/* طرق التواصل */
.faq-contact-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.faq-contact-card {
    background: var(--faq-gray-light);
    border-radius: 10px;
    padding: 20px;
    transition: var(--faq-transition);
    border: 1px solid transparent;
}

.faq-contact-card:hover {
    border-color: var(--faq-primary-color);
    transform: translateY(-3px);
}

.faq-contact-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.faq-contact-header i {
    font-size: 1.8rem;
    color: var(--faq-primary-color);
}

.faq-contact-header h5 {
    color: var(--faq-secondary-color);
    font-size: 1.1rem;
}

.faq-contact-card p {
    color: var(--faq-gray-dark);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.faq-contact-card strong {
    color: var(--faq-primary-color);
}

/* برامج التدريب */
.faq-training-programs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 25px 0;
}

@media (max-width: 768px) {
    .faq-training-programs {
        grid-template-columns: 1fr;
    }
}

.faq-program h5 {
    color: var(--faq-secondary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-program h5 i {
    color: var(--faq-primary-color);
}

.faq-program ul {
    margin-right: 20px;
}

.faq-program li {
    margin-bottom: 10px;
    position: relative;
    padding-right: 25px;
}

.faq-program li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--faq-success-color);
    font-weight: bold;
}

/* الخطوات القانونية */
.faq-legal-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 25px 0;
}

.faq-legal-step {
    background: var(--faq-gray-light);
    border-radius: 10px;
    padding: 20px;
    border-right: 4px solid var(--faq-primary-color);
}

.faq-legal-step h5 {
    color: var(--faq-secondary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.faq-legal-step p {
    color: var(--faq-gray-dark);
    font-size: 0.95rem;
}

.faq-legal-note {
    background-color: rgba(29, 113, 184, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.faq-legal-note i {
    color: var(--faq-primary-color);
    font-size: 1.4rem;
}

/* خيارات الدفع */
.faq-payment-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.faq-payment-method {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--faq-gray-light);
    border-radius: 10px;
    transition: var(--faq-transition);
}

.faq-payment-method:hover {
    transform: translateX(-5px);
    background: linear-gradient(to right, var(--faq-gray-light), white);
}

.faq-payment-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--faq-primary-color), var(--faq-secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.faq-payment-info h5 {
    color: var(--faq-secondary-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.faq-payment-info p {
    color: var(--faq-gray-dark);
    font-size: 0.9rem;
}

.faq-discount-info {
    background: linear-gradient(to right, rgba(29, 113, 184, 0.1), rgba(41, 35, 92, 0.1));
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
}

.faq-discount-info h5 {
    color: var(--faq-secondary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-discount-info ul {
    margin-right: 20px;
}

.faq-discount-info li {
    margin-bottom: 10px;
    position: relative;
    padding-right: 25px;
}

.faq-discount-info li::before {
    content: '💎';
    position: absolute;
    right: 0;
}

/* ===== ملخص الأسئلة ===== */
.faq-summary {
    margin-top: 40px;
}

.faq-summary-card {
    background: linear-gradient(135deg, var(--faq-primary-color), var(--faq-secondary-color));
    color: white;
    border-radius: var(--faq-border-radius);
    padding: 40px;
    text-align: center;
    box-shadow: var(--faq-shadow);
    animation: faq-summary-pulse 2s infinite;
}

@keyframes faq-summary-pulse {
    0%, 100% { box-shadow: 0 5px 20px rgba(29, 113, 184, 0.3); }
    50% { box-shadow: 0 5px 30px rgba(29, 113, 184, 0.6); }
}

.faq-summary-card i {
    font-size: 1rem;
    opacity: 1;
    color: var(--premiere-color);
}

.faq-summary-card h4 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--scendere-color);
}

.faq-summary-card p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    color: var(--scendere-color);
}

.faq-contact-btn {
    border: none;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--faq-transition);
    background: linear-gradient(to right, var(--premiere-color), var(--scendere-color));
    color: #FFF;
}

.faq-contact-btn:hover {
    transform: translateY(-5px);
    background-color: #f0f8ff;
}

.faq-contact-btn:active {
    transform: translateY(-2px);
}

.faq-modal-option {
    background: var(--faq-gray-light);
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--faq-dark-color);
    transition: var(--faq-transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.faq-modal-option:hover {
    border-color: var(--faq-primary-color);
    background: white;
    transform: translateY(-5px);
    box-shadow: var(--faq-shadow);
}

.faq-modal-option i {
    font-size: 2.5rem;
    color: #FFF;
}

.faq-modal-option span {
    font-weight: 700;
    font-size: 1.1rem;
}

.faq-modal-option small {
    color: #FFF;
    font-size: 0.9rem;
}

.faq-modal-form {
    padding: 25px;
    border-top: 1px solid var(--faq-gray-medium);
}

.faq-modal-form h4 {
    color: var(--faq-secondary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.faq-form-group {
    margin-bottom: 20px;
}

.faq-form-group input,
.faq-form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--faq-gray-medium);
    border-radius: 8px;
    font-family: var(--faq-font-family);
    font-size: 1rem;
    transition: var(--faq-transition);
}

.faq-form-group input:focus,
.faq-form-group textarea:focus {
    outline: none;
    border-color: var(--faq-primary-color);
    box-shadow: 0 0 0 3px rgba(29, 113, 184, 0.2);
}

.faq-form-submit {
    background: linear-gradient(to right, var(--faq-primary-color), var(--faq-secondary-color));
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    transition: var(--faq-transition);
}

.faq-form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(29, 113, 184, 0.4);
}

/* ===== التجاوبية ===== */
@media (max-width: 1200px) {
    .faq-banner-title {
        font-size: 3rem;
    }
    
    .faq-banner-subtitle {
        font-size: 1.2rem;
    }
    
    .faq-content-wrapper {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .faq-hero-banner {
        height: 450px;
    }
    
    .faq-banner-title {
        font-size: 2.5rem;
    }
    
    .faq-banner-subtitle {
        font-size: 1.1rem;
    }
    
    .faq-header-section {
        position: static;
    }
    
    .faq-answer-features,
    .faq-guarantee-grid,
    .faq-contact-methods,
    .faq-payment-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .faq-hero-banner {
        height: 400px;
    }
    
    .faq-banner-title {
        font-size: 2.2rem;
    }
    
    .faq-banner-subtitle {
        font-size: 1rem;
    }
    
    .faq-main-container {
        margin-top: -50px;
        padding-bottom: 50px;
    }
    
    .faq-main-title {
        font-size: 1.8rem;
    }
    
    .faq-question-wrapper {
        padding: 20px;
    }
    
    .faq-question-title {
        font-size: 1.2rem;
    }
    
    .faq-toggle-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .faq-hero-banner {
        height: 350px;
    }
    
    .faq-banner-title {
        font-size: 1.8rem;
    }
    
    .faq-banner-subtitle {
        font-size: 0.95rem;
    }
    
    .faq-header-section,
    .faq-question-wrapper,
    .faq-answer-content {
        padding: 15px;
    }
    
    .faq-main-title {
        font-size: 1.6rem;
    }
    
    .faq-category-title {
        font-size: 1.2rem;
        padding: 15px 20px;
    }
    
    .faq-summary-card {
        padding: 30px 20px;
    }
    
    .faq-summary-card i {
        font-size: 3rem;
    }
    
    .faq-summary-card h4 {
        font-size: 1.5rem;
    }
    
    .faq-contact-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}






/* Login page */
/* ===== أنماط عامة ===== */
.login-page {
    font-family: 'Almarai', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    overflow-x: hidden;
    direction: rtl;
}

/* ===== قسم البانر ===== */
.login-banner-section {
    position: relative;
    height: 500px; /* بين 450px و 550px كما طلبت */
    width: 100%;
    overflow: hidden;
    animation: loginBannerEntrance 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.login-banner-slider {
    position: relative;
    height: 100%;
    width: 100%;
}

.login-banner-slide {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 1; /* تغيير من 0 إلى 1 لأننا نملك صورة واحدة فقط */
}

.login-banner-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.1);
    transition: transform 10s ease;
}

.login-banner-slide.active .login-banner-image {
    transform: scale(1);
}

.login-banner-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(29, 113, 184, 0.7) 0%, rgba(41, 35, 92, 0.5) 100%);
}

/* إزالة أنماط النقاط لأننا لا نحتاجها */
.login-banner-dots,
.login-dot {
    display: none;
}

/* ===== قسم تسجيل الدخول مع تأثير زجاجي ===== */
.login-form-section {
    position: relative;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 500px);
}

.login-form-container {
    width: 100%;
    max-width: 1718px;
    height: 700px;
    /* تأثير الزجاجية الاحترافي */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    display: flex;
    overflow: hidden;
    position: relative;
    animation: loginContainerEntrance 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 0 50px rgba(29, 113, 184, 0.1);
}

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

/* تأثيرات خاصة للخلفية الزجاجية */
.login-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.4) 100%
    );
    z-index: 0;
    border-radius: 30px;
}

/* تأمين للتصفح القديم */
@supports not (backdrop-filter: blur(20px)) {
    .login-form-container {
        background: rgba(255, 255, 255, 0.95);
    }
}

/* الجانب الأيسر (الشكل) */
.login-shape-side {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    z-index: 1;
}

.login-shape-element {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: loginShapeFloat 8s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(29, 113, 184, 0.3));
}

@keyframes loginShapeFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(2deg);
    }
    66% {
        transform: translateY(10px) rotate(-2deg);
    }
}

.login-shape-element svg {
    width: 100%;
    height: 100%;
    max-width: 400px;
    max-height: 500px;
}

/* الجانب الأيمن (النموذج) */
.login-form-side {
    flex: 0 0 60%;
    position: relative;
    z-index: 2;
    padding: 80px 100px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.login-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    animation: loginFormEntrance 1.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.login-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--scendere-color);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 20px;
    text-align: center;
}

.login-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 40%;
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, var(--premiere-color), var(--scendere-color));
    border-radius: 3px;
    animation: loginTitleLine 1s ease-out 0.5s both;
}

@keyframes loginTitleLine {
    from {
        width: 0;
    }
    to {
        width: 100px;
    }
}

.login-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
    text-align: center;
}

/* أنماط النموذج */
.login-form {
    margin-top: 40px;
}

.login-form-group {
    margin-bottom: 5px;
    position: relative;
}

.login-form-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #29235c;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.login-form-label i {
    color: #1d71b8;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

/* ===== تحسين حقل رقم الجوال ===== */
.login-phone-input-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.login-country-select-wrapper {
    position: relative;
    min-width: 140px;
    flex-shrink: 0;
}

.login-country-select {
    width: 100%;
    padding: 18px 50px 18px 20px;
    border: 2px solid #F2F2F2;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.9);
    color: #29235c;
    cursor: pointer;
    appearance: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.login-country-select:focus {
    outline: none;
    border-color: rgba(29, 113, 184, 0.8);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

/* تعديل موضع أيقونة السهم */
.login-select-icon {
    position: absolute;
    left: 15px; /* إبعاد السهم عن الحافة */
    top: 50%;
    transform: translateY(-50%);
    color: var(--premiere-color);
    pointer-events: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* أنيميشن للسهم عند الضغط */
.login-country-select:focus ~ .login-select-icon {
    transform: translateY(-50%) rotate(180deg);
    background: rgba(29, 113, 184, 0.1);
    color: #1d71b8;
}

/* تحسين حقل الإدخال */
.login-form-input {
    flex: 1;
    width: 100%;
    padding: 18px 25px;
    border: 2px solid #F2F2F2;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    backdrop-filter: blur(10px);
}

.login-form-input:focus {
    border-color: rgba(29, 113, 184, 0.8);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    outline: none;
}

.login-form-input::placeholder {
    color: #999;
    font-weight: 400;
}

.login-input-focus-line {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--premiere-color);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.login-form-input:focus ~ .login-input-focus-line {
    width: 100%;
}

/* مجموعة كلمة المرور */
.login-password-input-group {
    position: relative;
}

/* تحسين أيقونة العين في كلمة المرور */
.login-password-toggle {
    position: absolute;
    left: 15px; /* إبعاد الزر عن الحافة */
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.login-password-toggle:hover {
    color: #1d71b8;
    background: rgba(29, 113, 184, 0.1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(29, 113, 184, 0.2);
}

.login-password-toggle.active {
    color: #1d71b8;
    background: rgba(29, 113, 184, 0.15);
}

/* صف الخيارات */
.login-options-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.login-remember-me {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-checkbox {
    display: none;
}

.login-checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 1rem;
    color: #555;
    font-weight: 600;
    transition: color 0.3s ease;
    user-select: none;
}

.login-checkbox-label:hover {
    color: #1d71b8;
}

.login-checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid #ccc;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.login-checkbox-custom::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.login-checkbox:checked + .login-checkbox-label .login-checkbox-custom {
    background: #1d71b8;
    border-color: #1d71b8;
}

.login-checkbox:checked + .login-checkbox-label .login-checkbox-custom::after {
    opacity: 1;
    transform: scale(1);
}

.login-forgot-link {
    color: #666;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.login-forgot-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: #1d71b8;
    transition: width 0.3s ease;
}

.login-forgot-link:hover {
    color: #1d71b8;
}

.login-forgot-link:hover::after {
    width: 100%;
}

/* زر تسجيل الدخول */
.login-submit-container {
    margin: 50px 0 40px;
}

.login-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    padding: 4px 16px;
    background: linear-gradient(to right, var(--premiere-color), var(--scendere-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    width: 100%;
}

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

.login-submit-btn:hover {
    transform: translateY(-5px);
}

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

.login-btn-text {
    position: relative;
    z-index: 1;
}

.login-arrow-circle {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
}

.login-arrow-circle-inner {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.login-arrow-icon {
    font-size: 1.2rem;
    color: white;
    transition: all 0.4s ease;
}

.login-submit-btn:hover .login-arrow-circle {
    transform: rotate(90deg);
}

.login-submit-btn:hover .login-arrow-circle-inner {
    transform: rotate(-90deg);
    background: rgba(255, 255, 255, 0.3);
}

.login-submit-btn:hover .login-arrow-icon {
    transform: translateX(-5px);
}

/* أنيميشن النبض للدائرة */
@keyframes loginPulseCircle {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.login-submit-btn .login-arrow-circle {
    animation: loginPulseCircle 2s infinite;
}

.login-submit-btn:hover .login-arrow-circle {
    animation: none;
}

/* رابط إنشاء حساب جديد */
.login-register-link {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
}

.login-register-link-btn {
    color: #1d71b8;
    text-decoration: none;
    font-weight: 700;
    margin-right: 8px;
    position: relative;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.login-register-link-btn:hover {
    color: #29235c;
}

.login-register-link-btn:hover::after {
    width: 100%;
}

/* ===== التجاوبية ===== */
@media (max-width: 1800px) {
    .login-form-container {
        max-width: 90%;
    }
}

@media (max-width: 1400px) {
    .login-form-side {
        padding: 60px 70px;
    }
    
    .login-form-container {
        height: auto;
        min-height: 700px;
    }
}

@media (max-width: 1200px) {
    .login-form-container {
        flex-direction: column;
        height: auto;
        max-width: 800px;
    }
    
    .login-shape-side {
        flex: 0 0 200px;
        padding: 30px;
    }
    
    .login-shape-element svg {
        max-width: 300px;
        max-height: 200px;
    }
    
    .login-form-side {
        flex: 1;
        padding: 50px;
    }
    
    .login-form-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .login-banner-section {
        height: 450px;
    }
    
    .login-form-section {
        padding: 40px 15px;
    }
    
    .login-form-side {
        padding: 40px 30px;
    }
    
    .login-title {
        font-size: 2.2rem;
    }
    
    .login-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .login-phone-input-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .login-country-select-wrapper {
        width: 100%;
    }
    
    .login-submit-btn {
        padding: 18px 30px;
        font-size: 1.1rem;
    }
    
    .login-arrow-circle {
        width: 45px;
        height: 45px;
    }
    
    .login-arrow-circle-inner {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 576px) {
    .login-banner-section {
        height: 400px;
    }
    
    .login-form-side {
        padding: 30px 20px;
    }
    
    .login-title {
        font-size: 1.8rem;
    }
    
    .login-options-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .login-form-input,
    .login-country-select {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .login-submit-btn {
        flex-direction: column;
        gap: 20px;
        padding: 15px 25px;
    }
    
    .login-arrow-circle {
        order: -1;
    }
}

/* تأثيرات خاصة للأجهزة التي تدعم hover */
@media (hover: hover) and (pointer: fine) {
    .login-form-input:hover {
        border-color: rgba(29, 113, 184, 0.6);
        background: rgba(255, 255, 255, 0.95);
    }
    
    .login-country-select:hover {
        border-color: rgba(29, 113, 184, 0.6);
        background: rgba(255, 255, 255, 0.95);
    }
}

/* تأثيرات للطباعة */
@media print {
    .login-banner-section,
    .login-shape-side {
        display: none;
    }
    
    .login-form-container {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .login-form-side {
        background: white;
    }
}

/* أنيميشن إضافية */
@keyframes loginFieldShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes loginSuccessPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.login-form-group {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.login-submit-container {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.8s, transform 0.5s ease 0.8s;
}

.login-form-input.valid {
    border-color: #28a745 !important;
}

.login-form-input.invalid {
    border-color: #dc3545 !important;
}

/* إخفاء النقاط في البانر */
.login-banner-dots {
    display: none !important;
}







/* Sing up page */
/* ===== قسم إنشاء الحساب مع تأثير زجاجي ===== */
.signup-form-section {
    position: relative;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 500px);
}

.signup-form-container {
    width: 100%;
    max-width: 1718px;
    height: 750px; /* تم تعديل الارتفاع بعد إزالة حقل كلمة المرور */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    display: flex;
    overflow: hidden;
    position: relative;
    animation: signupContainerEntrance 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 0 50px rgba(29, 113, 184, 0.1);
}




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

.signup-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.4) 100%
    );
    z-index: 0;
    border-radius: 30px;
}

@supports not (backdrop-filter: blur(20px)) {
    .signup-form-container {
        background: rgba(255, 255, 255, 0.95);
    }
}

/* الجانب الأيسر (الشكل) */
.signup-shape-side {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    z-index: 1;
}

.signup-shape-element {
    width: 80%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: signupShapeFloat 8s ease-in-out infinite;
}

@keyframes signupShapeFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(2deg);
    }
    66% {
        transform: translateY(10px) rotate(-2deg);
    }
}

/* الجانب الأيمن (النموذج) */
.signup-form-side {
    flex: 0 0 60%;
    position: relative;
    z-index: 2;
    padding: 60px 100px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    overflow-y: auto;
    max-height: 750px;
}

.signup-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    animation: signupFormEntrance 1.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

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

.signup-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--scendere-color);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 20px;
    text-align: center;
}

.signup-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 43%;
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, var(--premiere-color), var(--scendere-color));
    border-radius: 3px;
    animation: signupTitleLine 1s ease-out 0.5s both;
}

@keyframes signupTitleLine {
    from {
        width: 0;
    }
    to {
        width: 100px;
    }
}

.signup-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
    text-align: center;
}

/* أنماط النموذج */
.signup-form {
    margin-top: 40px;
}

.signup-form-group {
    margin-bottom: 25px;
    position: relative;
}

.signup-form-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #29235c;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.signup-form-label i {
    color: #1d71b8;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

/* ===== تحسين حقل رقم الجوال مع القائمة المنسدلة ===== */
.signup-phone-input-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.signup-country-select-wrapper {
    position: relative;
    min-width: 160px;
    flex-shrink: 0;
}

.signup-country-select-trigger {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #F2F2F2;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.9);
    color: #29235c;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.signup-country-select-trigger:hover {
    border-color: rgba(29, 113, 184, 0.6);
    background: rgba(255, 255, 255, 0.95);
}

.signup-country-select-trigger.active {
    border-color: rgba(29, 113, 184, 0.8);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(29, 113, 184, 0.1);
}

.signup-country-flag {
    font-size: 1.2rem;
    margin-left: 10px;
}

.signup-country-code {
    flex: 1;
    text-align: right;
    font-weight: 600;
}

.signup-select-arrow {
    color: var(--premiere-color);
    font-size: 0.9rem;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    margin-right: 10px;
}

.signup-country-select-trigger.active .signup-select-arrow {
    transform: rotate(180deg);
    color: #1d71b8;
}

/* القائمة المنسدلة - التعديل الرئيسي هنا */
.signup-country-dropdown {
    position: absolute;
    bottom: calc(100% + 10px); /* تغيير من top إلى bottom */
    right: 0;
    width: 320px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    box-shadow: 
        0 -10px 40px rgba(0, 0, 0, 0.15), /* تعديل الظل ليكون للأعلى */
        0 0 0 1px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px); /* تعديل الاتجاه */
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
    max-height: 350px;
}

.signup-country-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.signup-country-search {
    padding: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.signup-country-search i {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 0.9rem;
}

.signup-country-search-input {
    width: 100%;
    padding: 12px 40px 12px 20px;
    border: 2px solid #F2F2F2;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.signup-country-search-input:focus {
    outline: none;
    border-color: rgba(29, 113, 184, 0.6);
}

.signup-country-list {
    max-height: 250px;
    overflow-y: auto;
    padding: 10px;
}

.signup-country-option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.signup-country-option:hover {
    background: rgba(29, 113, 184, 0.08);
    transform: translateX(-5px);
}

.signup-country-option.active {
    background: rgba(29, 113, 184, 0.12);
    border-right: 3px solid #1d71b8;
}

.signup-option-flag {
    font-size: 1.3rem;
    margin-left: 10px;
}

.signup-option-name {
    flex: 1;
    text-align: right;
    font-weight: 500;
    color: #333;
}

.signup-option-code {
    color: #666;
    font-weight: 600;
    font-size: 0.9rem;
}

/* تحسين حقل الإدخال */
.signup-form-input {
    flex: 1;
    width: 100%;
    padding: 16px 25px;
    border: 2px solid #F2F2F2;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    backdrop-filter: blur(10px);
}

.signup-form-input:focus {
    border-color: rgba(29, 113, 184, 0.8);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    outline: none;
}

.signup-form-input::placeholder {
    color: #999;
    font-weight: 400;
}

/* زر التالي */
.signup-submit-container {
    margin: 40px 0 30px;
}

.signup-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    padding: 4px 16px;
    background: linear-gradient(to right, var(--premiere-color), var(--scendere-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    width: 100%;
}

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

.signup-submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(29, 113, 184, 0.3);
}

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

.signup-btn-text {
    position: relative;
    z-index: 1;
}

.signup-arrow-circle {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
}

.signup-arrow-circle-inner {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.signup-arrow-icon {
    font-size: 1.2rem;
    color: white;
    transition: all 0.4s ease;
}

.signup-submit-btn:hover .signup-arrow-circle {
    transform: rotate(90deg);
}

.signup-submit-btn:hover .signup-arrow-circle-inner {
    transform: rotate(-90deg);
    background: rgba(255, 255, 255, 0.3);
}

.signup-submit-btn:hover .signup-arrow-icon {
    transform: translateX(-5px);
    color: #FFF;
}

@keyframes signupPulseCircle {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.signup-submit-btn .signup-arrow-circle {
    animation: signupPulseCircle 2s infinite;
}

.signup-submit-btn:hover .signup-arrow-circle {
    animation: none;
}

/* رابط تسجيل الدخول */
.signup-login-link {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    padding-top: 20px;
}

.signup-login-link-btn {
    color: #1d71b8;
    text-decoration: none;
    font-weight: 700;
    margin-right: 8px;
    position: relative;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.signup-login-link-btn:hover {
    color: #29235c;
}

.signup-login-link-btn:hover::after {
    width: 100%;
}

/* ===== التجاوبية ===== */
@media (max-width: 1800px) {
    .signup-form-container {
        max-width: 90%;
    }
}

@media (max-width: 1400px) {
    .signup-form-side {
        padding: 50px 70px;
    }
    
    .signup-form-container {
        height: auto;
        min-height: 700px;
    }
}

@media (max-width: 1200px) {
    .signup-form-container {
        flex-direction: column;
        height: auto;
        max-width: 800px;
    }
    
    .signup-shape-side {
        flex: 0 0 200px;
        padding: 30px;
    }
    
    .signup-form-side {
        flex: 1;
        padding: 40px 50px;
    }
    
    .signup-form-wrapper {
        max-width: 100%;
    }
    
    .signup-country-dropdown {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .signup-form-section {
        padding: 40px 15px;
    }
    
    .signup-form-side {
        padding: 30px;
    }
    
    .signup-title {
        font-size: 1.8rem;
    }
    
    .signup-subtitle {
        font-size: 0.95rem;
    }
    
    .signup-phone-input-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .signup-country-select-wrapper {
        width: 100%;
    }
    
    .signup-country-dropdown {
        width: 100%;
        right: 0;
    }
    
    .signup-submit-btn {
        padding: 16px;
        font-size: 1.1rem;
    }
    
    .signup-arrow-circle {
        width: 45px;
        height: 45px;
    }
    
    .signup-arrow-circle-inner {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 576px) {
    .signup-form-side {
        padding: 25px 20px;
    }
    
    .signup-title {
        font-size: 1.6rem;
    }
    
    .signup-form-input,
    .signup-country-select-trigger {
        padding: 14px 18px;
        font-size: 0.95rem;
    }
    
    .signup-submit-btn {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .signup-arrow-circle {
        order: -1;
    }
    
    .signup-country-dropdown {
        bottom: calc(100% + 5px);
    }
}

/* تأثيرات خاصة للأجهزة التي تدعم hover */
@media (hover: hover) and (pointer: fine) {
    .signup-form-input:hover {
        border-color: rgba(29, 113, 184, 0.6);
        background: rgba(255, 255, 255, 0.95);
    }
}

/* تحسينات للشريط السريع */
.signup-country-list::-webkit-scrollbar {
    width: 6px;
}

.signup-country-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.signup-country-list::-webkit-scrollbar-thumb {
    background: rgba(29, 113, 184, 0.3);
    border-radius: 10px;
}

.signup-country-list::-webkit-scrollbar-thumb:hover {
    background: rgba(29, 113, 184, 0.5);
}

/* أنيميشن للحقول */
.signup-form-group {
    opacity: 0;
    transform: translateY(20px);
    animation: signupFieldEntrance 0.5s ease forwards;
}

.signup-form-group:nth-child(1) { animation-delay: 0.1s; }
.signup-form-group:nth-child(2) { animation-delay: 0.2s; }
.signup-form-group:nth-child(3) { animation-delay: 0.3s; }
.signup-form-group:nth-child(4) { animation-delay: 0.4s; }
.signup-form-group:nth-child(5) { animation-delay: 0.5s; }

@keyframes signupFieldEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.signup-form-input.valid {
    border-color: #28a745 !important;
}

.signup-form-input.invalid {
    border-color: #dc3545 !important;
    animation: signupShake 0.5s ease;
}

@keyframes signupShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* تأمين z-index للقائمة المنسدلة */
.signup-form-side {
    position: relative;
    z-index: 1;
}

.signup-country-dropdown {
    z-index: 1001;
}






/* OTP page */
/* أنماط خاصة بصفحة OTP */
/* ===== CSS كامل لنظام التحقق OTP بالتعديلات المطلوبة ===== */

/* تأثير الزجاج الأساسي */
.glass-background {
    width: 1718px;
    height: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 40px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}

/* تأثير إضافي للزجاج */
.glass-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.01) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* قسم التحقق داخل الزجاج */
.otp-verification-section {
    width: 100%;
    height: 100%;
    padding: 0;
    direction: rtl;
    position: relative;
    z-index: 2;
}

.otp-glass-container {
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    background: transparent;
    position: relative;
}

/* جانب الشكل (اليسار) */
.otp-shape-side {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.otp-shape-side::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.3)
    );
}

.otp-shape-img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transition: transform 0.5s ease;
}

.otp-shape-img:hover {
    transform: scale(1.05);
}

/* جانب المحتوى (اليمين) */
.otp-content-side {
    flex: 0 0 50%;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: transparent;
}

.otp-main-heading {
    font-size: 2rem;
    color: var(--scendere-color);
    margin-bottom: 25px;
    font-weight: 700;
}

.otp-subtitle {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.6;
}

/* مربعات إدخال OTP */
.otp-inputs-wrapper {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    justify-content: center;
    direction: ltr;
}

.otp-digit-container {
    width: 70px;
    height: 70px;
}

.otp-digit-input {
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50 !important;
    border: 2px solid rgba(221, 221, 221, 0.5) !important;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
    caret-color: #1d71b8;
    direction: ltr;
    -webkit-appearance: none;
    -moz-appearance: textfield;
}

.otp-digit-input:focus {
    border-color: #1d71b8 !important;
    transform: translateY(-2px);
}

.otp-digit-input.filled {
    border-color: #1d71b8;
    background: rgba(255, 255, 255, 1) !important;
}

/* العداد */
.otp-timer-wrapper {
    min-height: 50px;
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.otp-timer-display {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.otp-timer-icon {
    font-size: 20px;
    color: #1d71b8;
}

.otp-timer-text {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    font-family: monospace;
}

.otp-resend-prompt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    margin-top: 10px;
}

.otp-resend-question {
    font-size: 16px;
    color: #666;
}

.otp-resend-link {
    background: none;
    border: none;
    color: #1d71b8;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.otp-resend-link:hover {
    color: #1565c0;
    background: rgba(29, 113, 184, 0.1);
}

/* زر التالي */
.otp-button-wrapper {
    width: 100%;
    max-width: 350px;
}

.otp-next-btn {
    width: 100%;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #1d71b8 0%, #1565c0 100%) !important;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(29, 113, 184, 0.3);
}

.otp-next-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 113, 184, 0.4);
}

.otp-next-btn:active:not(:disabled) {
    transform: translateY(0);
}

.otp-next-btn:disabled {
    background: #cccccc !important;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

.otp-btn-text {
    font-size: 18px;
    font-weight: 700;
}

.otp-btn-icon {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.otp-next-btn:hover:not(:disabled) .otp-btn-icon {
    transform: rotate(180deg) translateX(3px);
}

.otp-btn-icon i {
    font-size: 16px;
}

/* رسائل النظام */
.otp-message-container {
    margin-top: 30px;
    width: 100%;
    max-width: 600px;
}

.otp-message-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 16px;
    backdrop-filter: blur(10px);
}

.otp-message-icon {
    font-size: 18px;
}

.otp-message-text {
    font-size: 16px;
    font-weight: 600;
}

/* أنيميشن للخطأ */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.otp-digit-input.error {
    border-color: #f44336 !important;
    background: rgba(244, 67, 54, 0.1) !important;
    animation: shake 0.5s ease;
}

/* أنيميشن للنجاح */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.otp-digit-input.success {
    border-color: #4caf50 !important;
    background: rgba(76, 175, 80, 0.1) !important;
    animation: bounce 0.4s ease;
}

/* تحسينات التنسيق */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* تصميم متجاوب */
@media (max-width: 1750px) {
    .glass-background {
        width: 95%;
        max-width: 1718px;
        height: auto;
        min-height: 700px;
    }
    
    .otp-content-side {
        padding: 50px 30px;
    }
    
    .otp-shape-side {
        padding: 30px;
    }
}

@media (max-width: 1200px) {
    .otp-glass-container {
        flex-direction: column;
    }
    
    .otp-shape-side,
    .otp-content-side {
        flex: 1 0 100%;
        min-height: 350px;
    }
    
    .otp-shape-side::before {
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(
            to right,
            rgba(255, 255, 255, 0.3),
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.3)
        );
    }
    
    .otp-inputs-wrapper {
        gap: 15px;
    }
    
    .otp-digit-container {
        width: 60px;
        height: 60px;
    }
    
    .otp-digit-input {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .glass-background {
        border-radius: 20px;
    }
    
    .otp-content-side {
        padding: 40px 20px;
    }
    
    .otp-shape-side {
        padding: 20px;
        min-height: 300px;
    }
    
    .otp-main-heading {
        font-size: 28px;
    }
    
    .otp-subtitle {
        font-size: 16px;
    }
    
    .otp-inputs-wrapper {
        gap: 10px;
    }
    
    .otp-digit-container {
        width: 50px;
        height: 50px;
    }
    
    .otp-digit-input {
        font-size: 24px;
    }
    
    .otp-timer-text {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .glass-background {
        border-radius: 15px;
    }
    
    .otp-digit-container {
        width: 45px;
        height: 45px;
    }
    
    .otp-digit-input {
        font-size: 20px;
    }
    
    .otp-inputs-wrapper {
        gap: 8px;
    }
    
    .otp-main-heading {
        font-size: 24px;
    }
    
    .otp-resend-prompt {
        flex-direction: column;
        gap: 8px;
    }
    
    .otp-next-btn {
        padding: 16px 24px;
    }
}





/* create password page */
/* ============================================
   NEW PASSWORD PAGE STYLES - UNIQUE CLASSES
   جميع أسماء الفصول فريدة لمنع التعارضات
   ============================================ */
/* Glass Section - Modified to be white and glassy */
.np-glass-section {
    width: 1718px;
    max-width: 95%;
    height: 700px;
    margin: 0 auto 80px;
    background: rgba(255, 255, 255, 0.85); /* أكثر بياضًا */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.9); /* حدود بيضاء */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.05),
                inset 0 0 0 1px rgba(255, 255, 255, 0.3),
                0 0 30px rgba(255, 255, 255, 0.6); /* تأثير زجاجي أبيض */
    display: flex;
    overflow: hidden;
    position: relative;
    animation: npGlassEntrance 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 80px;
}

.np-glass-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.4) 0%,
                rgba(255, 255, 255, 0.2) 100%);
    z-index: 0;
}

/* Shape Container */
.np-shape-container {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
    padding: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.np-shape-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    animation: npShapeFloat 6s ease-in-out infinite;
}

.np-shape-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.1) contrast(1.05) brightness(1.05);
    transition: transform 8s ease;
}

.np-shape-wrapper:hover .np-shape-img {
    transform: scale(1.05);
}

.np-shape-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
                rgba(255, 255, 255, 0.2) 0%,
                transparent 50%,
                rgba(255, 255, 255, 0.1) 100%);
    mix-blend-mode: overlay;
}

/* Form Container */
.np-form-container {
    flex: 0 0 55%;
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.np-form-wrapper {
    width: 100%;
    max-width: 500px;
    animation: npFormEntrance 1s ease-out 0.3s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.np-form-header {
    text-align: center;
    margin-bottom: 20px;
}

.np-form-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--scendere-color);
    margin-bottom: 5px;
    position: relative;
    display: inline-block;
}

.np-form-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 35%;
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, var(--premiere-color), var(--scendere-color));
    border-radius: 2px;
}

.np-form-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-top: 20px;
}

/* Form Styles */
.np-password-form {
    width: 100%;
}

.np-form-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--scendere-color);
    margin-bottom: 12px;
}

.np-icon-left {
    color: var(--premiere-color);
    font-size: 1.2rem;
}

.np-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    border: 2px solid rgba(29, 113, 184, 0.15);
    transition: all 0.3s ease;
    overflow: hidden;
}

.np-input-wrapper:focus-within {
    border-color: var(--premiere-color);
    transform: translateY(-2px);
}

.np-form-input {
    flex: 1;
    padding: 18px 20px;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-family: var(--font-family);
    color: var(--scendere-color);
    outline: none;
}

.np-form-input::placeholder {
    color: #999;
    font-weight: 300;
}

.np-toggle-password {
    padding: 0 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--premiere-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.np-toggle-password:hover {
    color: var(--scendere-color);
    transform: scale(1.1);
}

.np-toggle-password.active {
    color: var(--scendere-color);
}

/* Password Strength */
.np-password-strength {
    margin-top: 15px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.np-password-strength.show {
    opacity: 1;
    transform: translateY(0);
}

.np-strength-bar {
    height: 6px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
    position: relative;
}

.np-strength-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: #ff4d4d;
    border-radius: 3px;
    transition: all 0.5s ease;
}

.np-strength-bar.weak::after {
    width: 33%;
    background: #ff4d4d;
}

.np-strength-bar.medium::after {
    width: 66%;
    background: #ffa500;
}

.np-strength-bar.strong::after {
    width: 100%;
    background: #4CAF50;
}

.np-strength-text {
    font-size: 0.9rem;
    color: #666;
}

/* Password Match */
.np-password-match {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.np-password-match.show {
    opacity: 1;
    transform: translateY(0);
}

.np-match-icon {
    color: #4CAF50;
    font-size: 1.1rem;
}

.np-match-text {
    font-size: 0.9rem;
    color: #666;
}

.np-password-match.error .np-match-icon {
    color: #ff4d4d;
}

.np-password-match.error .np-match-text {
    color: #ff4d4d;
}

/* Combined Button Container */
.np-combined-btn-container {
    display: flex;
    justify-content: center;;
}

.np-combined-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--premiere-color), var(--scendere-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-family);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(29, 113, 184, 0.3);
    overflow: hidden;
    position: relative;
    padding: 0;
    height: 50px;
    min-width: 350px;
}

.np-combined-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(29, 113, 184, 0.4);
    background: linear-gradient(135deg, var(--scendere-color), var(--premiere-color));
}

.np-combined-btn:active {
    transform: translateY(-2px);
}

.np-combined-text {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.np-arrow-circle {
    width: 70px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 15px 15px 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.np-combined-btn:hover .np-arrow-circle {
    width: 75px;
}

.np-arrow-icon-circle {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.np-combined-btn:hover .np-arrow-icon-circle {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(-360deg);
}

.np-arrow-icon-circle i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.np-combined-btn:hover .np-arrow-icon-circle i {
    transform: translateX(-3px);
}

/* Success Modal */
.np-modal-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.np-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.np-modal-container {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 50px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2),
                0 0 40px rgba(255, 255, 255, 0.1);
}

.np-modal-overlay.active .np-modal-container {
    transform: scale(1);
    opacity: 1;
}

.np-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.np-modal-icon {
    font-size: 5rem;
    color: #4CAF50;
    animation: npSuccessIcon 1s ease-out;
}

.np-modal-title {
    font-size: 2.2rem;
    color: var(--scendere-color);
    font-weight: 800;
    margin: 0;
}

.np-modal-message {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.np-modal-countdown {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(29, 113, 184, 0.1);
    padding: 15px 25px;
    border-radius: 15px;
    margin: 10px 0;
}

.np-countdown-text {
    font-size: 1rem;
    color: var(--scendere-color);
}

.np-countdown-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--premiere-color);
    min-width: 50px;
    animation: npCountdownPulse 1s infinite;
}

.np-modal-btn {
    padding: 18px 35px;
    background: linear-gradient(135deg, var(--premiere-color), var(--scendere-color));
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(29, 113, 184, 0.3);
    margin-top: 10px;
}

.np-modal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(29, 113, 184, 0.4);
    background: linear-gradient(135deg, var(--scendere-color), var(--premiere-color));
}

.np-btn-arrow {
    transition: transform 0.3s ease;
}

.np-modal-btn:hover .np-btn-arrow {
    transform: translateX(-5px);
}

/* Animations */
@keyframes npGlassEntrance {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

@keyframes npFormEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes npSuccessIcon {
    0% {
        transform: scale(0);
    }
    70% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

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

/* Responsive Design */
@media (max-width: 1200px) {
    .np-glass-section {
        width: 95%;
        flex-direction: column;
        height: auto;
    }
    
    .np-shape-container {
        flex: 0 0 300px;
        width: 100%;
    }
    
    .np-form-container {
        flex: 1;
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .np-glass-section {
        border-radius: 20px;
    }
    
    .np-form-title {
        font-size: 2rem;
    }
    
    .np-form-description {
        font-size: 1rem;
    }
    
    .np-combined-btn {
        height: 60px;
        min-width: 200px;
        font-size: 1.1rem;
    }
    
    .np-arrow-circle {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .np-glass-section {
        margin-top: 40px;
        margin-bottom: 40px;
    }
    
    .np-form-container {
        padding: 30px 20px;
    }
    
    .np-form-title {
        font-size: 1.8rem;
    }
    
    .np-form-input {
        padding: 15px;
    }
    
    .np-modal-container {
        padding: 30px 20px;
    }
    
    .np-modal-title {
        font-size: 1.8rem;
    }
    
    .np-modal-message {
        font-size: 1rem;
    }
    
    .np-combined-btn {
        flex-direction: column;
        height: auto;
        min-width: 180px;
        padding: 15px 0;
    }
    
    .np-combined-text {
        border-left: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        width: 100%;
        padding: 15px;
    }
    
    .np-arrow-circle {
        width: 100%;
        border-radius: 0 0 15px 15px;
        padding: 10px;
    }
    
    .np-arrow-circle::before {
        display: none;
    }
}






/* ForgotPassword */
/* ===== CSS لقسم استعادة كلمة المرور ===== */

/* القسم الزجاجي */
.fpass-main-container {
    padding: 40px 20px;
    min-height: calc(100vh - 560px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fpass-glass-section {
    width: 1718px;
    max-width: 95%;
    height: 700px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 30px;
    box-shadow: 
        0 20px 60px rgba(29, 113, 184, 0.1),
        0 10px 40px rgba(29, 113, 184, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 40px;
    animation: fpassGlassEntrance 1s ease-out;
}

@keyframes fpassGlassEntrance {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.fpass-shape-container {
    flex: 0 0 40%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}

.fpass-shape-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(29, 113, 184, 0.15));
    animation: fpassShapeFloat 6s ease-in-out infinite;
}

@keyframes fpassShapeFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(2deg);
    }
    66% {
        transform: translateY(10px) rotate(-1deg);
    }
}

.fpass-form-container {
    flex: 0 0 60%;
    padding: 60px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fpass-form-header {
    text-align: center;
    animation: fpassHeaderEntrance 0.8s ease-out 0.2s both;
}

@keyframes fpassHeaderEntrance {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fpass-main-title {
    color: var(--scendere-color);
    font-size: 2rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--scendere-color), var(--premiere-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.fpass-main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, var(--premiere-color), var(--scendere-color));
    border-radius: 2px;
    animation: fpassLineExpand 1s ease-out 0.5s both;
}

@keyframes fpassLineExpand {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 100px;
        opacity: 1;
    }
}

.fpass-subtitle {
    color: #666;
    font-size: 1rem;
    margin-top: 10px;
    opacity: 0.9;
}

/* نموذج الإدخال */
.fpass-form {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    animation: fpassFormEntrance 0.8s ease-out 0.4s both;
}

@keyframes fpassFormEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fpass-phone-group {
    margin-bottom: 40px;
}

.fpass-label {
    display: block;
    color: var(--scendere-color);
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.fpass-phone-input-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.fpass-country-code-selector {
    position: relative;
    flex: 0 0 160px;
}

.fpass-country-select {
    width: 100%;
    padding: 16px 20px;
    padding-left: 45px;
    background: rgba(255, 255, 255, 0.65);
    border: 2px solid rgba(29, 113, 184, 0.2);
    border-radius: 12px;
    font-family: var(--font-family);
    font-size: 1rem;
    color: var(--scendere-color);
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    transition: all 0.3s ease;
}

.fpass-country-select:hover {
    border-color: var(--premiere-color);
}

.fpass-country-select:focus {
    outline: none;
    border-color: var(--premiere-color);
}

.fpass-select-arrow {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--premiere-color);
    pointer-events: none;
    transition: transform 0.3s ease;
}

.fpass-country-select:focus + .fpass-select-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.fpass-phone-input {
    flex: 1;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(29, 113, 184, 0.2);
    border-radius: 12px;
    font-family: var(--font-family);
    font-size: 1rem;
    color: var(--scendere-color);
    transition: all 0.3s ease;
}

.fpass-phone-input:focus {
    outline: none;
    border-color: var(--premiere-color);
}

.fpass-hint {
    color: #777;
    font-size: 0.9rem;
    margin-top: 8px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* مجموعة الأزرار */
.fpass-action-group {
    text-align: center;
}

.fpass-button-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fpass-submit-btn {
    background: linear-gradient(135deg, var(--premiere-color), var(--scendere-color));
    color: white;
    border: none;
    padding: 16px 200px;
    padding-left: 80px;
    border-radius: 12px;
    font-family: var(--font-family);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.fpass-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    border-radius: 50px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fpass-submit-btn:hover {
    transform: translateY(-5px);
}

.fpass-submit-btn:hover::before {
    opacity: 1;
}

.fpass-submit-btn:active {
    transform: translateY(-2px);
}

.fpass-btn-text {
    position: relative;
    z-index: 1;
    left: 160%;
}

.fpass-arrow-circle {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: absolute;
    left: 110px;
    overflow: hidden;
}

.fpass-submit-btn:hover .fpass-arrow-circle {
    transform: rotate(180deg) scale(1.1);
    background: rgba(255, 255, 255, 1);
}

.fpass-arrow-circle-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fpassCirclePulse 2s infinite;
}

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

.fpass-arrow-circle i {
    color: var(--premiere-color);
    font-size: 1.2rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fpass-submit-btn:hover .fpass-arrow-circle i {
    transform: rotate(-180deg);
}

/* رابط تسجيل الدخول */
.fpass-remember-link {
    margin-top: 25px;
    animation: fpassLinkEntrance 0.8s ease-out 0.6s both;
}

@keyframes fpassLinkEntrance {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fpass-remember-link p {
    color: #666;
    font-size: 1rem;
}

.fpass-login-link {
    color: var(--premiere-color);
    font-weight: 700;
    text-decoration: none;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.fpass-login-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--premiere-color);
    transition: width 0.3s ease;
}

.fpass-login-link:hover {
    color: var(--scendere-color);
}

.fpass-login-link:hover::after {
    width: 100%;
}

/* رسائل النظام */
.fpass-message-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    display: none;
    animation: fpassMessageSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 300px;
    text-align: center;
}

@keyframes fpassMessageSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(20px);
    }
}

.fpass-message-content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--scendere-color);
    font-weight: 600;
}

.fpass-message-icon {
    font-size: 1.2rem;
    color: var(--premiere-color);
}

/* تأثيرات الاستجابة */
@media (max-width: 1200px) {
    .fpass-glass-section {
        flex-direction: column;
        height: auto;
        padding: 40px 20px;
    }
    
    .fpass-shape-container {
        flex: 0 0 auto;
        height: 200px;
        width: 100%;
        padding: 20px;
    }
    
    .fpass-form-container {
        flex: 0 0 auto;
        padding: 40px 20px;
        width: 100%;
    }
    
    .fpass-main-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .fpass-banner-section {
        height: 450px;
    }
    
    .fpass-glass-section {
        border-radius: 20px;
        max-width: 95%;
    }
    
    .fpass-main-title {
        font-size: 2.2rem;
    }
    
    .fpass-phone-input-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .fpass-country-code-selector {
        width: 100%;
    }
    
    .fpass-submit-btn {
        padding: 18px 40px;
        padding-left: 70px;
        font-size: 1.1rem;
    }
    
    .fpass-arrow-circle {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .fpass-banner-section {
        height: 400px;
    }
    
    .fpass-main-title {
        font-size: 1.8rem;
    }
    
    .fpass-subtitle {
        font-size: 1rem;
    }
    
    .fpass-submit-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 30px;
        padding-left: 60px;
    }
}

/* تأثيرات بارالاكس */
@media (min-width: 768px) {
    .fpass-banner-img {
        transform: translateY(0);
        transition: transform 10s ease;
    }
    
    .fpass-banner-section:hover .fpass-banner-img {
        transform: translateY(-20px);
    }
}

/* تأثيرات تحميل */
.fpass-submit-btn.loading .fpass-btn-text::after {
    content: '';
    animation: fpassLoadingDots 1.5s infinite;
}

@keyframes fpassLoadingDots {
    0%, 20% {
        content: '.';
    }
    40% {
        content: '..';
    }
    60%, 100% {
        content: '...';
    }
}

/* تأثيرات الحقول */
.fpass-phone-input:valid,
.fpass-country-select:valid {
    border-color: rgba(76, 175, 80, 0.3);
    background: rgba(76, 175, 80, 0.05);
}

.fpass-phone-input:invalid:not(:placeholder-shown),
.fpass-country-select:invalid {
    border-color: rgba(244, 67, 54, 0.3);
    background: rgba(244, 67, 54, 0.05);
}

/* تأثيرات الوصول */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}





/* OTP Fprgotpassword page */
/* تأثير الزجاج الأساسي */
.secure-verification-glass {
    width: 1718px;
    height: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 40px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}

/* تأثير إضافي للزجاج */
.secure-verification-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.01) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* قسم التحقق */
.secure-otp-section {
    width: 100%;
    height: 100%;
    padding: 0;
    direction: rtl;
    position: relative;
    z-index: 2;
}

.secure-otp-wrapper {
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    background: transparent;
    position: relative;
}

/* جانب الشكل */
.secure-shape-container {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.secure-shape-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.3)
    );
}

.secure-shape-image {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transition: transform 0.5s ease;
}

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

/* جانب المحتوى */
.secure-content-container {
    flex: 0 0 50%;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: transparent;
}

.secure-main-title {
    font-size: 2rem;
    color: var(--scendere-color);
    margin-bottom: 25px;
    font-weight: 700;
}

.secure-subtitle {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.6;
}

/* مربعات إدخال OTP */
.secure-inputs-group {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    justify-content: center;
    direction: ltr;
}

.secure-digit-box {
    width: 70px;
    height: 70px;
}

.secure-digit-input {
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50 !important;
    border: 2px solid rgba(221, 221, 221, 0.5) !important;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
    caret-color: #1d71b8;
    direction: ltr;
    -webkit-appearance: none;
    -moz-appearance: textfield;
}

.secure-digit-input:focus {
    border-color: #1d71b8 !important;
    transform: translateY(-2px);
}

.secure-digit-input.secure-filled {
    border-color: #1d71b8;
    background: rgba(255, 255, 255, 1) !important;
}

/* العداد */
.secure-timer-group {
    min-height: 50px;
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.secure-timer-display {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.secure-timer-icon {
    font-size: 20px;
    color: #1d71b8;
}

.secure-timer-text {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    font-family: monospace;
}

.secure-resend-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    margin-top: 10px;
}

.secure-resend-text {
    font-size: 16px;
    color: #666;
}

.secure-resend-btn {
    background: none;
    border: none;
    color: #1d71b8;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.secure-resend-btn:hover {
    color: #1565c0;
    background: rgba(29, 113, 184, 0.1);
}

/* زر التالي */
.secure-action-group {
    width: 100%;
    max-width: 350px;
}

.secure-proceed-btn {
    width: 100%;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #1d71b8 0%, #1565c0 100%) !important;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(29, 113, 184, 0.3);
}

.secure-proceed-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 113, 184, 0.4);
}

.secure-proceed-btn:active:not(:disabled) {
    transform: translateY(0);
}

.secure-proceed-btn:disabled {
    background: #cccccc !important;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

.secure-btn-label {
    font-size: 18px;
    font-weight: 700;
}

.secure-btn-arrow {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.secure-proceed-btn:hover:not(:disabled) .secure-btn-arrow {
    transform: rotate(180deg) translateX(3px);
}

.secure-btn-arrow i {
    font-size: 16px;
}

/* رسائل النظام */
.secure-message-area {
    margin-top: 30px;
    width: 100%;
    max-width: 600px;
}

.secure-message-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 16px;
    backdrop-filter: blur(10px);
}

.secure-message-icon {
    font-size: 18px;
}

.secure-message-text {
    font-size: 16px;
    font-weight: 600;
}

/* أنيميشن للخطأ */
@keyframes secure-shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.secure-digit-input.secure-error {
    border-color: #f44336 !important;
    background: rgba(244, 67, 54, 0.1) !important;
    animation: secure-shake 0.5s ease;
}

/* أنيميشن للنجاح */
@keyframes secure-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.secure-digit-input.secure-success {
    border-color: #4caf50 !important;
    background: rgba(76, 175, 80, 0.1) !important;
    animation: secure-bounce 0.4s ease;
}

/* حالة الرسائل */
.secure-message-content.secure-info {
    color: #1d71b8;
}

.secure-message-content.secure-success {
    color: #4caf50;
}

.secure-message-content.secure-error {
    color: #f44336;
}

/* تحسينات التنسيق */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* تصميم متجاوب */
@media (max-width: 1750px) {
    .secure-verification-glass {
        width: 95%;
        max-width: 1718px;
        height: auto;
        min-height: 700px;
    }
    
    .secure-content-container {
        padding: 50px 30px;
    }
    
    .secure-shape-container {
        padding: 30px;
    }
}

@media (max-width: 1200px) {
    .secure-otp-wrapper {
        flex-direction: column;
    }
    
    .secure-shape-container,
    .secure-content-container {
        flex: 1 0 100%;
        min-height: 350px;
    }
    
    .secure-shape-container::before {
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(
            to right,
            rgba(255, 255, 255, 0.3),
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.3)
        );
    }
    
    .secure-inputs-group {
        gap: 15px;
    }
    
    .secure-digit-box {
        width: 60px;
        height: 60px;
    }
    
    .secure-digit-input {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .secure-verification-glass {
        border-radius: 20px;
    }
    
    .secure-content-container {
        padding: 40px 20px;
    }
    
    .secure-shape-container {
        padding: 20px;
        min-height: 300px;
    }
    
    .secure-main-title {
        font-size: 28px;
    }
    
    .secure-subtitle {
        font-size: 16px;
    }
    
    .secure-inputs-group {
        gap: 10px;
    }
    
    .secure-digit-box {
        width: 50px;
        height: 50px;
    }
    
    .secure-digit-input {
        font-size: 24px;
    }
    
    .secure-timer-text {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .secure-verification-glass {
        border-radius: 15px;
    }
    
    .secure-digit-box {
        width: 45px;
        height: 45px;
    }
    
    .secure-digit-input {
        font-size: 20px;
    }
    
    .secure-inputs-group {
        gap: 8px;
    }
    
    .secure-main-title {
        font-size: 24px;
    }
    
    .secure-resend-container {
        flex-direction: column;
        gap: 8px;
    }
    
    .secure-proceed-btn {
        padding: 16px 24px;
    }
}




/* Newforgotpassword */
/* ===== قسم نموذج كلمة المرور ===== */
.aps-form-section {
  width: 100%;
  min-height: 700px;
  padding: 30px 20px;
  position: relative;
  background: #f8f9fa;
}

.aps-form-container {
  width: 1718px;
  max-width: 95%;
  height: 700px;
  margin: 0 auto;
  background: var(--aps-glass-bg);
  border: 1px solid var(--aps-glass-border);
  border-radius: 20px;
  display: flex;
  overflow: hidden;
  position: relative;
  box-shadow: var(--aps-shadow);
  gap: 80px;
}

/* صورة الشكل على اليسار */
.aps-shape-container {
  width: 45%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.aps-shape-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* محتوى النموذج على اليمين */
.aps-form-content {
  width: 45%;
  height: 100%;
  padding: 50px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.aps-form-header {
  text-align: center;
  margin-bottom: 40px;
}

.aps-main-title {
  font-size: 2rem;
  color: var(--scendere-color);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.aps-subtitle {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

/* النموذج */
.aps-form {
  width: 100%;
}

.aps-form-group {
  margin-bottom: 15px;
  position: relative;
}

.aps-form-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  color: var(--premiere-color);
  margin-bottom: 10px;
  font-weight: 700;
}

.aps-form-label i {
  color: var(--aps-primary-color);
}

.aps-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.aps-form-input {
  width: 100%;
  padding: 16px 50px 16px 20px;
  background: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: var(--aps-border-radius);
  font-size: 1rem;
  color: #333;
  border-radius: 12px;
  transition: var(--aps-transition);
  font-family: var(--aps-font-family);
}

.aps-form-input:focus {
  outline: none;
  border-color: var(--premiere-color);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(29, 113, 184, 0.1);
}

.aps-form-input::placeholder {
  color: #999;
}

/* زر إظهار/إخفاء كلمة المرور */
.aps-toggle-password {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #666;
  font-size: 1.2rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--aps-transition);
  z-index: 2;
}

.aps-toggle-password:hover {
  background: rgba(29, 113, 184, 0.1);
  color: var(--aps-primary-color);
}

.aps-toggle-password.active {
  color: var(--aps-primary-color);
}

/* مؤشر قوة كلمة المرور */
.aps-password-strength {
  margin-top: 12px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.aps-password-strength.show {
  opacity: 1;
  height: auto;
}

.aps-strength-bar {
  width: 100%;
  height: 6px;
  background: #eee;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
  position: relative;
}

.aps-strength-bar::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 0;
  background: var(--aps-error-color);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.aps-strength-bar.weak::before { width: 25%; background: var(--aps-error-color); }
.aps-strength-bar.medium::before { width: 50%; background: var(--aps-warning-color); }
.aps-strength-bar.strong::before { width: 75%; background: #4CAF50; }
.aps-strength-bar.very-strong::before { width: 100%; background: var(--aps-success-color); }

.aps-strength-text {
  font-size: 0.9rem;
  color: #666;
}

/* قواعد كلمة المرور */
.aps-password-rules {
  list-style: none;
  padding: 0;
  margin: 15px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.aps-password-rules.show {
  opacity: 1;
  height: auto;
}

.aps-password-rules li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #666;
}

.aps-password-rules li i {
  color: #ddd;
  font-size: 0.8rem;
  transition: var(--aps-transition);
}

.aps-password-rules li.valid i {
  color: var(--aps-success-color);
}

/* مؤشر تطابق كلمة المرور */
.aps-password-match {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.aps-password-match.show {
  opacity: 1;
  height: auto;
}

.aps-password-match.error {
  color: var(--aps-error-color);
}

.aps-password-match.success {
  color: var(--aps-success-color);
}

.aps-match-icon {
  font-size: 1rem;
  transition: var(--aps-transition);
}

/* زر الحفظ في المنتصف */
.aps-submit-container-center {
  text-align: center;
  width: 100%;
}

.aps-submit-btn-center {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 45px;
  background: linear-gradient(to right, var(--premiere-color), var(--scendere-color));
  border: none;
  border-radius: 12PX;
  color: var(--light-color);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--aps-transition);
  min-width: 220px;
  box-shadow: var(--aps-shadow);
}

.aps-submit-btn-center:hover {
  background: linear-gradient(to right, var(--scendere-color), var(--premiere-color));
  transform: translateY(-3px);
}

.aps-submit-btn-center:active {
  transform: translateY(0);
}

.aps-submit-btn-center i {
  font-size: 1.1rem;
}

/* زر الحفظ القديم (أتركه للتوافق) */
.aps-submit-container {
  margin-top: 20px;
  position: relative;
}

.aps-submit-btn {
  width: 70%;
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--aps-primary-color), var(--aps-secondary-color));
  border: none;
  border-radius: var(--aps-border-radius);
  color: var(--aps-light-color);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  gap: 20px;
  transition: var(--aps-transition);
  box-shadow: var(--aps-shadow);
}

/* رسالة النجاح */
.aps-success-message {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  border-radius: 20px;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
  z-index: 10;
}

.aps-success-message.show {
  opacity: 1;
  visibility: visible;
}

.aps-success-content {
  text-align: center;
  margin-bottom: 30px;
}

.aps-success-content i {
  font-size: 4rem;
  color: var(--aps-light-color);
  margin-bottom: 20px;
}

.aps-success-text h3 {
  font-size: 2rem;
  color: var(--aps-light-color);
  margin-bottom: 15px;
}

.aps-success-text p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.aps-success-countdown {
  text-align: center;
}

.aps-success-countdown span {
  font-size: 1rem;
  color: var(--aps-light-color);
}

#apsCountdown {
  font-weight: 800;
  color: #ffeb3b;
  font-size: 1.2rem;
}

/* نافذة التأكيد */
.aps-modal-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.aps-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.aps-modal {
  width: 450px;
  max-width: 90%;
  background: var(--aps-light-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--aps-shadow);
}

.aps-modal-header {
  background: linear-gradient(135deg, var(--aps-primary-color), var(--aps-secondary-color));
  color: var(--aps-light-color);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.aps-modal-header h3 {
  margin: 0;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.aps-modal-close {
  background: none;
  border: none;
  color: var(--aps-light-color);
  font-size: 1.2rem;
  cursor: pointer;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--aps-transition);
}

.aps-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.aps-modal-body {
  padding: 25px 20px;
}

.aps-modal-body p {
  margin: 0 0 12px;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

.aps-modal-note {
  color: #666;
  font-size: 0.9rem;
  font-style: italic;
}

.aps-modal-footer {
  padding: 20px;
  display: flex;
  gap: 12px;
  background: #f8f9fa;
  border-top: 1px solid #eee;
}

.aps-modal-btn {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: var(--aps-border-radius);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--aps-transition);
}

.aps-modal-cancel {
  background: #f0f0f0;
  color: #666;
}

.aps-modal-cancel:hover {
  background: #e0e0e0;
}

.aps-modal-confirm {
  background: linear-gradient(135deg, var(--aps-primary-color), var(--aps-secondary-color));
  color: var(--aps-light-color);
}

.aps-modal-confirm:hover {
  background: linear-gradient(135deg, var(--aps-secondary-color), var(--aps-primary-color));
}

/* أنماط الإشعارات المخصصة */
.aps-notification {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  padding: 15px 30px;
  border-radius: var(--aps-border-radius);
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: var(--aps-shadow);
  z-index: 9999;
  transition: transform 0.3s ease;
  font-family: var(--aps-font-family);
  font-size: 0.95rem;
  font-weight: 700;
}

/* أنماط التحقق من الصحة */
.aps-form-input.error {
  border-color: var(--aps-error-color) !important;
  background-color: rgba(255, 77, 77, 0.05);
}

.aps-form-input.success {
  border-color: var(--aps-success-color) !important;
  background-color: rgba(76, 175, 80, 0.05);
}

/* تأثيرات الاستجابة للشاشات المختلفة */
@media (max-width: 1200px) {
  .aps-form-container {
    width: 95%;
    height: auto;
    flex-direction: column;
  }
  
  .aps-shape-container {
    width: 100%;
    height: 300px;
  }
  
  .aps-form-content {
    width: 100%;
    padding: 30px;
  }
  
  .aps-main-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .aps-form-section {
    padding: 15px 10px;
  }
  
  .aps-form-content {
    padding: 25px 20px;
  }
  
  .aps-password-rules {
    grid-template-columns: 1fr;
  }
  
  .aps-success-text h3 {
    font-size: 1.7rem;
  }
  
  .aps-success-text p {
    font-size: 1rem;
  }
  
  .aps-modal {
    width: 90%;
    margin: 20px;
  }
  
  .aps-modal-footer {
    flex-direction: column;
  }
  
  .aps-modal-btn {
    width: 100%;
  }
  
  .aps-submit-btn-center {
    padding: 14px 30px;
    font-size: 1.1rem;
    min-width: 180px;
  }
}

@media (max-width: 480px) {
  .aps-main-title {
    font-size: 1.5rem;
    flex-direction: column;
    gap: 8px;
  }
  
  .aps-subtitle {
    font-size: 0.9rem;
  }
  
  .aps-form-input {
    padding: 12px 40px 12px 15px;
    font-size: 0.9rem;
  }
  
  .aps-toggle-password {
    left: 10px;
    width: 35px;
    height: 35px;
  }
  
  .aps-submit-btn-center {
    padding: 12px 25px;
    font-size: 1rem;
    min-width: 160px;
  }
  
  .aps-success-content i {
    font-size: 3rem;
  }
  
  .aps-success-text h3 {
    font-size: 1.5rem;
  }
}

/* أنماط التحميل */
.aps-loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--aps-light-color);
  animation: aps-spin 1s ease-in-out infinite;
}

@keyframes aps-spin {
  to { transform: rotate(360deg); }
}

/* إخفاء العناصر بشكل تدريجي */
.aps-fade-out {
  animation: aps-fadeOut 0.3s ease forwards;
}

@keyframes aps-fadeOut {
  from { opacity: 1; }
  to { opacity: 0; visibility: hidden; }
}

/* إظهار العناصر بشكل تدريجي */
.aps-fade-in {
  animation: aps-fadeIn 0.3s ease forwards;
}

@keyframes aps-fadeIn {
  from { opacity: 0; visibility: hidden; }
  to { opacity: 1; visibility: visible; }
}

/* تحسينات إضافية للتصميم */
.aps-form-input:disabled {
  background-color: #f5f5f5;
  cursor: not-allowed;
  opacity: 0.7;
}

.aps-submit-btn:disabled,
.aps-submit-btn-center:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* تحسينات للطباعة */
@media print {
  .aps-form-section {
    background: white !important;
  }
  
  .aps-form-container {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
  
  .aps-shape-container {
    display: none;
  }
  
  .aps-form-content {
    width: 100% !important;
  }
  
  .aps-toggle-password,
  .aps-submit-btn,
  .aps-submit-btn-center,
  .aps-modal-overlay {
    display: none !important;
  }
}