/*
  ملف الأنماط الرئيسي للموقع
  يحتوي على تعريفات الخطوط، الألوان المتغيرة في :root، وتنسيقات الأقسام الأساسية:
  الهيدر، من هو أديب، أعمالنا، الإنجازات، الرعاة، المجلس الإداري، التواصل، النشرة البريدية، الأسئلة الشائعة، والتذييل
  ملاحظة: يُفضّل الالتزام بهذه المتغيرات للألوان والخطوط لضمان تناسق التصميم.
*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: fl;
}

/* Pagination bullets for testimonials */
.testimonials-swiper .swiper-pagination {
  position: static;
  margin-top: 12px;
}
.testimonials-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(61, 143, 214, 0.25);
  opacity: 1;
  border: 1px solid rgba(61, 143, 214, 0.45);
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}
.testimonials-swiper .swiper-pagination-bullet-active {
  background: #3d8fd6;
  box-shadow: 0 4px 10px rgba(61, 143, 214, 0.35);
  transform: scale(1.2);
}

:root {
  --main-blue: #274060;
  --accent-blue: #3d8fd6;
  --light-blue: #6ba8e2;
  --dark-blue: #1a2a3a;
}

@font-face {
  font-family: fl;
  src: url(./fonts/COMM\ -\ Lyon\ Arabic\ Display\ Light.otf);
}

@font-face {
  font-family: fr;
  src: url(./fonts/COMM\ -\ Lyon\ Arabic\ Display\ Regular.otf);
}

@font-face {
  font-family: fm;
  src: url(./fonts/COMM\ -\ Lyon\ Arabic\ Display\ Medium.otf);
}

@font-face {
  font-family: fb;
  src: url(./fonts/COMM\ -\ Lyon\ Arabic\ Display\ Bold.otf);
}

@font-face {
  font-family: fbb;
  src: url(./fonts/COMM\ -\ Lyon\ Arabic\ Display\ Black.otf);
}

@font-face {
  font-family: a;
  src: url(./fonts/ERASLGHT.TTF) format("truetype");
}

@font-face {
  font-family: b;
  src: url(./fonts/ERASDEMI.TTF) format("truetype");
}

@font-face {
  font-family: c;
  src: url(./fonts/ERASMD.TTF) format("truetype");
}

@font-face {
  font-family: d;
  src: url(./fonts/ERASBD.TTF) format("truetype");
}

/* Override digits globally to use ERAS within existing families */
/* Latin digits U+0030-0039 and Arabic-Indic digits U+0660-0669 */
@font-face {
  font-family: fl; /* Light */
  src: url(./fonts/ERASLGHT.TTF) format("truetype");
  unicode-range: U+0030-0039, U+0660-0669;
}

@font-face {
  font-family: fr; /* Regular */
  src: url(./fonts/ERASMD.TTF) format("truetype");
  unicode-range: U+0030-0039, U+0660-0669;
}

@font-face {
  font-family: fm; /* Medium */
  src: url(./fonts/ERASMD.TTF) format("truetype");
  unicode-range: U+0030-0039, U+0660-0669;
}

@font-face {
  font-family: fb; /* Bold */
  src: url(./fonts/ERASDEMI.TTF) format("truetype");
  unicode-range: U+0030-0039, U+0660-0669;
}

@font-face {
  font-family: fbb; /* Black */
  src: url(./fonts/ERASBD.TTF) format("truetype");
  unicode-range: U+0030-0039, U+0660-0669;
}

/************************************* Header Modern **************************************/
.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  background: transparent;
  /* كان rgba(255, 255, 255, 0.98) */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 5px 30px rgba(39, 64, 96, 0.1);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateY(0);
}

.header.hidden {
  transform: translateY(-100%);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 80px;
  position: relative;
}

/* الشعار */
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo-img {
  height: 50px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* القائمة */
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

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

.nav-btn {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #274060;
  text-decoration: none;
  font-size: 1.1rem;
  font-family: "fm";
  padding: 10px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: rgba(61, 143, 214, 0.05);
}

.nav-link .nav-wave {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(61, 143, 214, 0.8), rgba(39, 64, 96, 0.8));
  top: 100%;
  left: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1);
  z-index: -1;
}

.nav-link:hover,
.nav-link.active {
  color: white;
}

.nav-link:hover .nav-wave,
.nav-link.active .nav-wave {
  top: 0;
}

.nav-icon {
  font-size: 1rem;
  transition: all 0.3s ease;
}

.nav-text {
  position: relative;
  font-family: fr;
}

.subscribe-btn span {
  font-family: fb;
}

/* زر الاشتراك */
.subscribe-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #3d8fd6, #274060);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-family: "fb";
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 15px rgba(61, 143, 214, 0.3);
  margin-right: 10px;
}

.subscribe-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(61, 143, 214, 0.4);
}

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

.subscribe-btn:hover i {
  transform: translateX(-5px);
}

/* زر القائمة المختصرة */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1001;
  position: relative;
}

.hamburger {
  width: 80%;
  height: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.line {
  width: 100%;
  height: 3px;
  background: #274060;
  border-radius: 3px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: center;
}

.menu-toggle.active .line1 {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .line2 {
  opacity: 0;
}

.menu-toggle.active .line3 {
  transform: translateY(-9px) rotate(-45deg);
}

/* القائمة المختصرة للجوال */
@media (max-width: 1200px) {
  .header-container {
    padding: 0 30px;
  }

  .nav-links {
    gap: 15px;
  }

  .nav-link {
    padding: 8px 12px;
    font-size: 1rem;
  }

  .subscribe-btn {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
}

@media (max-width: 992px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 100px 30px 30px;
    z-index: 999;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .nav.active {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    justify-content: flex-start;
    padding: 15px 20px;
    border-radius: 8px;
  }

  .subscribe-btn {
    margin: 30px 0 0;
    width: 100%;
    justify-content: center;
    padding: 12px;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 576px) {
  .header-container {
    padding: 0 20px;
    height: 70px;
  }

  .nav {
    width: 280px;
    padding: 80px 20px 20px;
  }
}

/* تحسينات إضافية للقائمة المختصرة */
.nav {
  transition: right 0.4s ease-in-out;
}

/* إضافة تأثير ظل عند فتح القائمة */
.nav.active {
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

/* منع التمرير عند فتح القائمة */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* تحسينات للروابط في القائمة المختصرة */
.nav-link {
  transition: all 0.3s ease;
}

.nav-link:hover {
  transform: translateX(-5px);
}

@media (max-width: 992px) {
  .header-container {
    justify-content: space-between;
    position: relative;
  }

  .logo {
    position: absolute;
    right: 50%;
    transform: translateX(50%);
  }

  .menu-toggle {
    order: -1;
  }
}

/************************************* قسم من هو أديب **************************************/
.adeebbook {
  background: linear-gradient(135deg, #f8f9fa 0%, #e6f0f9 100%);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.adeebbook::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(61, 143, 214, 0.1) 0%, rgba(61, 143, 214, 0) 70%);
  z-index: 0;
}

.adeebbook-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 1;
}

.titlebook {
  font-family: "fbb";
  color: #274060;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.emoji {
  font-family: "fbb";
  color: #274060;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
}

.pbook {
  font-family: "fr";
  color: #274060;
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  line-height: 2;
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 0 20px;
  position: relative;
}

.quote-icon {
  font-size: 3rem;
  color: rgba(61, 143, 214, 0.2);
  position: absolute;
}

.quote-icon.left {
  bottom: -20px;
  left: 0;
}

.quote-icon.right {
  top: -20px;
  right: 0;
}

/* قسم Call to Action - انضم إلينا */
.join-cta-section {
  margin-top: 80px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(61, 143, 214, 0.04) 0%, rgba(39, 64, 96, 0.06) 100%);
  border-radius: 20px;
  border: 1px solid rgba(61, 143, 214, 0.12);
  position: relative;
  overflow: hidden;
}

.join-cta-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(61, 143, 214, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.join-cta-section::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(39, 64, 96, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* الزخرفة العلوية */
.join-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 35px;
  position: relative;
  z-index: 1;
}

.ornament-line {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(to left, transparent, rgba(61, 143, 214, 0.3), transparent);
  max-width: 150px;
}

.ornament-center {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e6f0f9 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(61, 143, 214, 0.15);
  border: 2px solid rgba(61, 143, 214, 0.1);
  animation: ornamentGlow 3s ease-in-out infinite;
}

.ornament-center i {
  color: #3d8fd6;
  font-size: 1.8rem;
  animation: iconPulse 3s ease-in-out infinite;
}

@keyframes ornamentGlow {
  0%, 100% {
    box-shadow: 0 3px 12px rgba(61, 143, 214, 0.2),
                0 0 0 0 rgba(61, 143, 214, 0);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 8px 30px rgba(61, 143, 214, 0.5),
                0 0 30px rgba(61, 143, 214, 0.4),
                0 0 50px rgba(61, 143, 214, 0.2);
    transform: scale(1.05);
  }
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.15);
    filter: brightness(1.1);
  }
}

/* محتوى القسم */
.join-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

/* عنوان القسم */
.join-heading {
  font-family: "fbb";
  color: #274060;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  margin-bottom: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.heading-accent {
  color: #3d8fd6;
  font-size: 0.8em;
  opacity: 0.7;
}

/* وصف القسم */
.join-description {
  font-family: "fr";
  color: #5a7a95;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  margin-bottom: 30px;
  line-height: 2;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  padding: 0 20px;
}

/* قائمة المميزات */
.join-features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.join-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "fr";
  color: #335c81;
  font-size: 0.95rem;
}

.join-feature-item i {
  color: #10b981;
  font-size: 1.1rem;
}

/* زر انضم إلينا */
.join-adeeb-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #3d8fd6 0%, #2c6ba8 100%);
  color: white;
  padding: 14px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-family: "fb";
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(61, 143, 214, 0.25),
              0 2px 6px rgba(61, 143, 214, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

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

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

.join-adeeb-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.join-adeeb-btn:hover::after {
  opacity: 1;
}

.join-adeeb-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(61, 143, 214, 0.35),
              0 4px 12px rgba(61, 143, 214, 0.2);
  background: linear-gradient(135deg, #4a9ee5 0%, #3577ba 100%);
  border-color: rgba(255, 255, 255, 0.2);
}

.join-adeeb-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 10px rgba(61, 143, 214, 0.3);
}

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

.btn-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease;
}

.btn-icon i {
  font-size: 0.95rem;
}

.join-adeeb-btn:hover .btn-icon {
  animation: arrowSlide 0.6s ease infinite;
}

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


/* Responsive */
@media (max-width: 992px) {
  .join-cta-section {
    padding: 35px;
  }
}

@media (max-width: 768px) {
  .join-cta-section {
    margin-top: 60px;
    padding: 20px;
  }
  
  .join-heading {
    font-size: 1.9rem;
    gap: 10px;
  }
  
  .join-description {
    font-size: 1.05rem;
    margin-bottom: 25px;
  }
  
  .join-features {
    gap: 20px;
  }
  
  .join-feature-item {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .join-cta-section {
    margin-top: 50px;
    padding: 20px;
    border-radius: 16px;
  }
  
  .join-ornament {
    margin-bottom: 20px;
  }
  
  .ornament-line {
    max-width: 80px;
  }
  
  .ornament-center {
    width: 60px;
    height: 60px;
  }
  
  .ornament-center i {
    font-size: 1.5rem;
  }
  
  .join-heading {
    font-size: 1.7rem;
    gap: 8px;
  }
  
  .heading-accent {
    font-size: 0.7em;
  }
  
  .join-features {
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-bottom: 30px;
  }
  
  .join-adeeb-btn {
    font-size: 1rem;
    justify-content: center;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

/* تصميم البطاقات الزجاجية */
.feature-card {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.1),
    0 5px 15px rgba(39, 64, 96, 0.2);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #3d8fd6, #274060);
  z-index: 2;
}

.feature-card::after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(61, 143, 214, 0.1) 0%, rgba(61, 143, 214, 0) 70%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.feature-card:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
  box-shadow:
    0 25px 50px rgba(39, 64, 96, 0.3),
    0 15px 30px rgba(61, 143, 214, 0.2);
  background: rgba(255, 255, 255, 0.3);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, rgba(61, 143, 214, 0.8), rgba(39, 64, 96, 0.8));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: white;
  font-size: 2.2rem;
  transition: all 0.5s ease;
  position: relative;
  box-shadow: 0 10px 30px rgba(61, 143, 214, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.feature-card:hover .feature-icon {
  transform: translateY(-5px) scale(1.05);
  background: linear-gradient(135deg, #3d8fd6, #274060);
  box-shadow: 0 15px 40px rgba(61, 143, 214, 0.4);
}

.feature-card h3 {
  color: #274060;
  font-family: "fm";
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
  text-shadow: 0 2px 5px rgba(255, 255, 255, 0.5);
}

.feature-card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #3d8fd6, #274060);
  border-radius: 3px;
}

.feature-card p {
  color: #274060;
  font-family: "fr";
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 0;
  flex-grow: 1;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
}

/* تأثيرات للهواتف */
@media (max-width: 768px) {
  .feature-card {
    padding: 30px 20px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }

  .feature-icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }

  .feature-card h3 {
    font-size: 1.4rem;
  }

  .feature-card p {
    font-size: 1rem;
  }
}

@media (max-width: 825px) {
  .adeebbook {
    padding: 120px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    margin-left: auto;
    margin-right: auto;
  }
}

/************************************* أعمالنا المطورة **************************************/
.our-works {
  background: linear-gradient(135deg, #f9f9f9 0%, #e6f0f9 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.our-works::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(61, 143, 214, 0.1) 0%, rgba(61, 143, 214, 0) 70%);
  z-index: 0;
}

.our-works::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(39, 64, 96, 0.1) 0%, rgba(39, 64, 96, 0) 70%);
  z-index: 0;
}

.our-works-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 1;
}

.works-title {
  font-family: fbb;
  color: #274060;
  font-size: 2.8rem;
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.works-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 50%;
  transform: translateX(50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3d8fd6, #274060);
  border-radius: 2px;
}

.works-subtitle {
  font-family: fr;
  color: #335c81;
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.work-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: right;
  position: relative;
  z-index: 1;
  opacity: 1;
  transform: translateY(0);
}


.work-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #3d8fd6, #274060);
  z-index: 2;
}

.work-img-container {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.work-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.8s ease,
    filter 0.5s ease;
}

.work-card:hover .work-img {
  transform: scale(1.1);
  filter: brightness(1.05);
}

.work-category {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #274060;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.work-info {
  padding: 30px;
  position: relative;
}

.work-info h3 {
  color: #274060;
  font-size: 1.6rem;
  margin-bottom: 15px;
  font-family: fb;
}

.work-info p {
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 25px;
}

.work-link {
  display: inline-flex;
  align-items: center;
  color: #3d8fd6;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 8px 20px;
  border-radius: 30px;
  background: rgba(61, 143, 214, 0.1);
  font-family: fr;
}

.work-link:hover {
  color: white;
  background: linear-gradient(90deg, #3d8fd6, #274060);
  box-shadow: 0 5px 15px rgba(61, 143, 214, 0.3);
}

.work-link i {
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.work-link:hover i {
  transform: translateX(-5px);
}

@media (max-width: 1200px) {
  .works-grid {
    gap: 30px;
  }
}

@media (max-width: 992px) {
  .our-works {
    padding: 80px 0;
  }

  .works-title {
    font-size: 2.4rem;
  }

  .works-subtitle {
    font-size: 1.15rem;
  }
}

@media (max-width: 768px) {
  .works-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .work-card {
    max-width: 100%;
  }

  .works-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  .our-works {
    padding: 60px 0;
  }

  .our-works-container {
    padding: 0 20px;
  }

  .works-title {
    font-size: 2rem;
  }

  .works-subtitle {
    font-size: 1rem;
  }

  .work-info {
    padding: 20px;
  }

  .work-info h3 {
    font-size: 1.4rem;
  }
}

.swiper-button {
  display: flex;
  justify-content: center;
  flex-direction: row-reverse;
  margin: 3rem 0 1rem;
  gap: 1rem;
}

.swiper-pagination {
  display: flex;
  gap: 10px;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  opacity: 1;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.swiper-pagination-bullet-active {
  background-color: #3d8fd6;
}

/* Override default Swiper position for arrows */
.swiper .swiper-button-next,
.swiper .swiper-button-prev {
  position: static !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px !important;
}

/************************************* آراء الأعضاء (Testimonials) **************************************/
.testimonials-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e6f0f9 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.testimonials-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 1;
}

.testimonials-header {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 30px;
}

.testimonials-title {
  font-family: fbb;
  color: #274060;
  font-size: 2.6rem;
  margin-bottom: 10px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.testimonials-title span {
  color: var(--accent-blue);
}

.testimonials-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 50%;
  transform: translateX(50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3d8fd6, #274060);
  border-radius: 2px;
}

.testimonials-subtitle {
  font-family: fr;
  color: #335c81;
  font-size: 1.15rem;
  max-width: 620px;
  line-height: 1.8;
}

/* Rating Summary */
.rating-summary {
  position: relative;
  border-radius: 18px;
  padding: 24px 26px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 251, 255, 0.98) 100%);
  box-shadow: 0 8px 24px rgba(39, 64, 96, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  border: 1px solid rgba(61, 143, 214, 0.15);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.rating-summary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px; /* gradient border */
  background: linear-gradient(135deg, rgba(61, 143, 214, 0.35), rgba(39, 64, 96, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.rating-summary::after {
  content: "";
  position: absolute;
  right: -20px;
  filter: blur(2px);
  top: -75%;
  left: -75%;
  width: 100%;
  height: 250%;
  background: radial-gradient(circle, rgba(61, 143, 214, 0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.rating-summary:hover::after {
  opacity: 1;
}

/* Decorative quote background adapted for rating-summary */
.rating-summary .quote-bg {
  position: absolute;
  top: 18px;
  left: 14px; /* RTL-friendly: placed near left for visual balance */
  font-size: 120px;
  color: rgba(61, 143, 214, 0.08);
  transform: rotate(-12deg);
  pointer-events: none;
  z-index: 0;
  transition: transform 0.4s ease, color 0.4s ease;
}

/* Bottom-right decorative quote */
.rating-summary .quote-bg--br {
  top: auto;
  left: auto;
  right: 12px;
  bottom: 22px;
  font-size: 90px;
  transform: rotate(8deg);
  color: rgba(61, 143, 214, 0.06);
}

/* Ensure content stays above the decorative icon */
.rating-summary .average-rating,
.rating-summary .rating-label,
.rating-summary .testimonial-stars,
.rating-summary .total-reviews {
  position: relative;
  z-index: 1;
}

.rating-summary:hover .quote-bg {
  transform: translateY(-4px) rotate(-6deg);
  color: rgba(61, 143, 214, 0.12);
}

.rating-summary:hover .quote-bg--br {
  transform: translateY(4px) rotate(4deg);
  color: rgba(61, 143, 214, 0.1);
}

.average-rating {
  font-size: 3.35rem;
  font-family: d;
  color: var(--main-blue);
  line-height: 1;
  letter-spacing: -0.5px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
  position: relative;
  padding-bottom: 10px; /* space for separator below */
}

/* Halo animation behind the average number */
.average-rating::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(61, 143, 214, 0.18), rgba(61, 143, 214, 0) 70%);
  filter: blur(4px);
  pointer-events: none;
  animation: pulseHalo 3.2s ease-in-out infinite;
}

.average-rating::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 44px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(61,143,214,0), rgba(61,143,214,0.45), rgba(61,143,214,0));
}

.rating-summary .rating-label {
  margin-top: 2px;
  font-family: fr;
  color: #5b708d;
  font-size: 0.92rem;
  letter-spacing: 0.1px;
}

/* Small icon before label (Font Awesome) */
.rating-summary .rating-label::before {
  content: "\f201"; /* fa-chart-line */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  display: inline-block;
  margin-inline-end: 6px;
  color: #3d8fd6;
  opacity: 0.9;
}

.rating-summary .testimonial-stars {
  color: #f1b307;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(241,179,7,0.12), rgba(241,179,7,0.06));
  border: 1px solid rgba(241, 179, 7, 0.25);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 2px 8px rgba(241, 179, 7, 0.08);
  position: relative;
  overflow: hidden;
}

/* Ensure the half star shows the correct empty side in RTL */
.rating-summary .testimonial-stars .fa-star-half-stroke {
  transform: scaleX(-1);
  transform-origin: 50% 50%;
}

.rating-summary .testimonial-stars::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.35) 20%, transparent 40%);
  transform: translateX(-120%);
  pointer-events: none;
}

.rating-summary:hover .testimonial-stars::after {
  animation: shimmerSweep 1.8s ease;
}

.rating-summary .testimonial-stars i { font-size: 1.05rem; }

.total-reviews {
  font-family: fr;
  color: #5b708d;
  font-size: 0.95rem;
  margin-top: -2px;
}

.rating-summary:hover {
  transform: translateY(-0.3rem);
  border-color: rgba(61, 143, 214, 0.25);
}
.rating-summary:focus-within {
  outline: none;
  box-shadow: 0 0 0 3px rgba(61, 143, 214, 0.15), 0 12px 30px rgba(39, 64, 96, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* Keyframes */
@keyframes pulseHalo {
  0%, 100% { opacity: 0.45; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.06); }
}
@keyframes shimmerSweep {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@media (max-width: 576px) {
  .average-rating { font-size: 3rem; }
}

/* Testimonial Cards */

.testimonial-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
}

.testimonial-stars {
  color: #f1b307;
  display: flex;
  gap: 4px;
}

.testimonial-date {
  color: #94a3b8;
  font-size: 0.85rem;
  font-family: fr;
}

.quote-bg {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 60px;
  color: rgba(39, 64, 96, 0.05);
  pointer-events: none;
}

.testimonial-text {
  color: #274060;
  font-family: fr;
  line-height: 1.9;
  margin: 8px 0 14px;
}

.testimonial-committee {
  display: inline-block;
  font-size: 0.8rem;
  color: #274060;
  background: rgba(61, 143, 214, 0.08);
  border: 1px solid rgba(61, 143, 214, 0.25);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-user img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2e8f0;
}

.testimonial-user strong {
  display: block;
  color: #274060;
  font-family: fb;
}

.testimonial-user span {
  display: block;
  color: #64748b;
  font-size: 0.9rem;
  font-family: fr;
}

/* Responsive */
@media (max-width: 1024px) {
  .testimonials-header {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .testimonials-container {
    padding: 0 20px;
  }
  .testimonials-title {
    font-size: 2.2rem;
  }
}

/* قسم الإنجازات - بدون تأثيرات GSAP */
.achievements {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--main-blue) 100%);
  padding: 120px 20px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.achievements::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.03)" d="M0,0 L100,0 L100,100 L0,100 Z" /></svg>');
  background-size: 50px 50px;
  opacity: 0.5;
  z-index: -1;
}

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

.section-header {
  text-align: center;

}

.achievements-title {
  color: white;
  font-size: 3rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  font-weight: 700;
  font-family: "fbb";
}

.achievements-title span {
  color: #2a7bc8;
  font-family: fbb;
}

.achievements-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  right: 50%;
  transform: translateX(50%);
  width: 100px;
  height: 4px;
  background: var(--accent-blue);
  border-radius: 2px;
}

.achievements-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.8;
  font-family: "fr";
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.achievement-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 50px 25px;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0) rotateY(0);
}

.achievement-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-blue), var(--light-blue));
  z-index: 2;
}

.achievement-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(61, 143, 214, 0.2) 0%, rgba(39, 64, 96, 0.1) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.achievement-card:hover {
  transform: translateY(-10px) scale(1.03);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.achievement-card:hover::after {
  opacity: 1;
}

.achievement-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 25px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  position: relative;
  transition: all 0.5s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.achievement-card:hover .achievement-icon {
  background: var(--accent-blue);
  box-shadow: 0 5px 20px rgba(61, 143, 214, 0.5);
}

.achievement-number {
  display: inline-block;
  color: white;
  font-size: 2.8rem;
  font-family: "d";
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.plus-sign {
  color: var(--accent-blue);
  font-size: 2rem;
  font-weight: bold;
  margin-right: 3px;
  font-family: "d";
}

.achievement-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.3rem;
  margin-top: 15px;
  font-weight: 600;
  font-family: "fm";
  position: relative;
  padding-top: 15px;
}

.achievement-text::after {
  content: "";
  position: absolute;
  top: 0;
  right: 50%;
  transform: translateX(50%);
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 992px) {
  .achievements {
    padding: 100px 20px;
  }

  .achievements-title {
    font-size: 2.5rem;
  }

  .achievements-subtitle {
    font-size: 1.2rem;
  }

  .achievement-card {
    padding: 40px 0px;
  }

  .achievement-icon {
    width: 80px;
    height: 80px;
    font-size: 2.2rem;
  }

  .achievement-number {
    font-size: 2rem !important;
    font-family: "b" !important;
  }
}

@media (max-width: 768px) {
  .achievements {
    padding: 80px 20px;
  }

  .achievements-title {
    font-size: 2.2rem;
  }

  .achievements-subtitle {
    font-size: 1.1rem;
    max-width: 90%;
  }

  .achievement-text {
    font-size: 1.2rem;
  }
}

@media (max-width: 680px) {
  .achievements-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
  }
}

/************************************* الرعاة **************************************/
.sponsors {
  background: linear-gradient(135deg, #f8fafc 0%, #e6f0f9 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sponsors::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(61, 143, 214, 0.08) 0%, rgba(61, 143, 214, 0) 70%);
  z-index: 0;
}

.sponsors::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(39, 64, 96, 0.08) 0%, rgba(39, 64, 96, 0) 70%);
  z-index: 0;
}

.sponsors-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 1;
}

.sponsors-title {
  color: #274060;
  font-size: 2.8rem;
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  display: inline-block;
  font-family: "fb";
}

.sponsors-title span {
  color: #3d8fd6;
  font-family: fbb;
}

.sponsors-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 50%;
  transform: translateX(50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3d8fd6, #274060);
  border-radius: 2px;
}

.sponsors-subtitle {
  color: #64748b;
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-family: "fr";
}

.sponsor-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  position: relative;
  z-index: 1;
  height: auto;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.sponsor-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  z-index: 2;
  font-family: "fb";
}

.sponsor-badge {
  background: linear-gradient(90deg, #3d8fd6, #274060);
  color: #fff;
}

.sponsor-img-container {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: #f9f9f9;
  position: relative;
  overflow: hidden;
  background: #f5f5f5; /* خلفية فاتحة للشعارات */
}

.sponsor-card:hover .sponsor-img-container {
  background: #f9f9f9; /* تغيير طفيف في الخلفية عند التحويم */
}

.sponsor-img-container::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #3d8fd6, #274060);
  z-index: 1;
}

.sponsor-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition:
    transform 0.5s ease,
    filter 0.5s ease;
  filter: grayscale(100%) contrast(120%) brightness(90%);
}

.sponsor-card:hover .sponsor-img {
  transform: scale(1.08);
  filter: grayscale(0%) contrast(100%) brightness(100%);
}

.sponsor-info {
  padding: 25px 20px;
  background: white;
}

.sponsor-info h3 {
  color: #274060;
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-family: "fm";
}

.sponsor-info p {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  font-family: "fr";
}

.sponsor-link {
  display: inline-flex;
  align-items: center;
  color: #3d8fd6;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 8px 15px;
  border-radius: 30px;
  background: rgba(61, 143, 214, 0.1);
  font-family: "fb";
}

.sponsor-link:hover {
  color: white;
  background: linear-gradient(90deg, #3d8fd6, #274060);
  box-shadow: 0 5px 15px rgba(61, 143, 214, 0.2);
}

.sponsor-link i {
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.sponsor-link:hover i {
  transform: translateX(-5px);
}

@media (max-width: 1200px) {
  .sponsor-img-container {
    height: 160px;
  }
}

@media (max-width: 768px) {
  .sponsors {
    padding: 80px 0;
  }

  .sponsors-title {
    font-size: 2.4rem;
  }

  .sponsors-subtitle {
    font-size: 1.15rem;
    margin-bottom: 30px;
  }

  .sponsor-img-container {
    height: 140px;
    padding: 20px;
  }

  .sponsor-info h3 {
    font-size: 1.4rem;
  }
}

@media (max-width: 576px) {
  .sponsors {
    padding: 60px 0;
  }

  .sponsors-title {
    font-size: 2rem;
  }

  .sponsors-subtitle {
    font-size: 1rem;
  }

  .sponsor-img-container {
    height: 120px;
  }

  .sponsor-info {
    padding: 20px 15px;
  }

  .sponsor-info h3 {
    font-size: 1.3rem;
  }

  .sponsor-info p {
    font-size: 0.9rem;
  }

  .sponsor-link {
    font-size: 0.85rem;
    padding: 6px 12px;
  }
}

/************************************* المجلس الإداري - تصميم السلايدر **************************************/
.board-members {
  background: linear-gradient(135deg, #f8fafc 0%, #e6f0f9 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.board-members::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(61, 143, 214, 0.08) 0%, rgba(61, 143, 214, 0) 70%);
  z-index: 0;
}

.board-members::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(39, 64, 96, 0.08) 0%, rgba(39, 64, 96, 0) 70%);
  z-index: 0;
}

.board-members-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 1;
}

.board-members-title {
  color: #274060;
  font-size: 2.8rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  font-family: "fb";
}

.board-members-title span {
  color: #3d8fd6;
  font-family: fbb;
}

.board-members-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 50%;
  transform: translateX(50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3d8fd6, #274060);
  border-radius: 2px;
}

.board-members-subtitle {
  color: #64748b;
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-family: "fr";
}

.board-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  position: relative;
  z-index: 1;
  height: auto;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  height: 100%; /* لجعل جميع الكروت بنفس الارتفاع */
}

.board-card:hover {
  transform: translateY(-10px);
}

.board-img-container {
  width: 100%;
  aspect-ratio: 1/1; /* نسبة العرض إلى الارتفاع 1:1 لضمان شكل مربع */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.board-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* لتغطية المساحة مع الحفاظ على النسبة */
  transition: all 0.5s ease;
}

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

.social-links-Administrators {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.social-links-Administrators a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #274060;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links-Administrators a:hover {
  background: #3d8fd6;
  color: white;
  transform: translateY(-3px);
}

.board-info {
  padding: 25px 20px;
  background: white;
}

.board-info h3 {
  color: #274060;
  font-size: 1.5rem;
  margin-bottom: 5px;
  font-family: "fm";
}

.board-position {
  display: block;
  color: #3d8fd6;
  font-size: 1.1rem;
  font-family: "fb";
}

/* تعديلات السلايدر */
.board-swiper {
  padding: 20px 0 50px;
}

.swiper-nav-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 50px;
}

.swiper-pagination {
  position: relative;
  bottom: auto;
  left: auto;
  width: auto;
  display: flex;
  gap: 10px;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #ccc;
  opacity: 1;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: #3d8fd6;
  transform: scale(1.2);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px !important;
}

@media (max-width: 768px) {
  .board-members {
    padding: 80px 0;
  }

  .board-img-container {
    height: auto; /* السماح بالتكيف مع نسبة 1:1 */
  }

  .board-members-title {
    font-size: 2.4rem;
  }

  .board-members-subtitle {
    font-size: 1.15rem;
    margin-bottom: 30px;
  }

  .board-info h3 {
    font-size: 1.4rem;
  }
}

@media (max-width: 576px) {
  .board-members {
    padding: 60px 0;
  }

  .board-members-title {
    font-size: 2rem;
  }

  .board-members-subtitle {
    font-size: 1rem;
  }

  .board-info {
    padding: 20px 15px;
  }
}

/************************************* Enhanced Footer **************************************/
.footer {
  background: linear-gradient(135deg, #1a2a3a 0%, #274060 100%);
  color: white;
  padding: 0;
  position: relative;
  overflow: hidden;
  font-family: "fr", sans-serif;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 70px 40px 0;
  position: relative;
  z-index: 1;
}

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

.footer-main {
  padding-right: 30px;
}

.footer-logo-box {
  margin-bottom: 25px;
}

.footer-logo {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-about-text {
  font-family: "fl";
  line-height: 1.9;
  margin-bottom: 30px;
  opacity: 0.85;
  font-size: 1.05rem;
}

.footer-title {
  font-size: 1.5rem;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "fbb";
}

.footer-title i {
  color: #3d8fd6;
  font-size: 1.3rem;
}

.title-footer {
  font-family: "fbb";
}

.footer-links {
  list-style: none;
  padding-right: 0;
}

.footer-links li {
  margin-bottom: 20px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-links li::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -15px;
  width: 8px;
  height: 8px;
  background: #3d8fd6;
  border-radius: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-links li:hover::before {
  opacity: 1;
  right: -10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.1rem;
  font-family: "fr";
  padding: 8px 15px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
}

.footer-links a::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(61, 143, 214, 0.2), rgba(39, 64, 96, 0.2));
  transform: translateX(100%);
  transition: transform 0.4s ease;
  z-index: -1;
}

.footer-links a i {
  font-size: 1rem;
  color: #3d8fd6;
  transition: all 0.3s ease;
  min-width: 20px;
  text-align: center;
}

.footer-links a:hover {
  color: white;
  transform: translateX(-10px);
  background: rgba(255, 255, 255, 0.05);
}

.footer-links a:hover::before {
  transform: translateX(0);
}

.footer-links a:hover i {
  color: white;
  transform: scale(1.2);
}

/* أيقونات خاصة لكل رابط */
.footer-links li:nth-child(1) i {
  color: #3d8fd6;
} /* الرئيسية */
.footer-links li:nth-child(2) i {
  color: #6ba8e2;
} /* أعمالنا */
.footer-links li:nth-child(3) i {
  color: #94c4f4;
} /* انجازاتنا */
.footer-links li:nth-child(4) i {
  color: #b8d6f9;
} /* شركائنا */
.footer-links li:nth-child(5) i {
  color: #d1e4fb;
} /* تواصل معنا */

.working-hours {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.day {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  font-family: "fr";
}

.day:last-child {
  border-bottom: none;
}

.day span:first-child {
  color: rgba(255, 255, 255, 0.9);
}

.day span:last-child {
  color: #3d8fd6;
  font-family: "fm";
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  font-size: 0.95rem;
  opacity: 0.8;
  font-family: "fl";
}

.footer-legal {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  font-family: "fr";
}

.footer-legal a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  right: 0;
  width: 0;
  height: 1px;
  background: #3d8fd6;
  transition: width 0.3s ease;
}

.footer-legal a:hover {
  color: white;
}

.footer-legal a:hover::after {
  width: 100%;
}

.footer-back-top {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

#back-to-top {
  background: linear-gradient(90deg, #3d8fd6, #6ba8e2);
  border: none;
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(61, 143, 214, 0.3);
  font-family: "fr";
}

#back-to-top:hover {
  background: linear-gradient(90deg, #2a7bc8, #3d8fd6);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(61, 143, 214, 0.4);
}

.back-to-top {
  font-family: "fr";
}

/* تأثيرات للهواتف */
@media (max-width: 1200px) {
  .footer-container {
    padding: 60px 30px 0;
  }

  .footer-grid {
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main {
    grid-column: span 2;
    text-align: center;
    padding-right: 0;
  }

  .footer-logo-box {
    justify-content: center;
  }

  .footer-title {
    justify-content: center;
  }

  .footer-title::after {
    right: 50%;
    transform: translateX(50%);
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-main {
    grid-column: span 1;
  }

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

  .footer-legal {
    justify-content: center;
  }

  .footer-links a {
    font-size: 1rem;
    padding: 6px 12px;
    gap: 10px;
  }

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

@media (max-width: 576px) {
  .footer-container {
    padding: 50px 20px 0;
  }

  .footer-title {
    font-size: 1.4rem;
  }

  .footer-links a,
  .footer-contact li,
  .footer-newsletter-text {
    font-size: 1rem;
  }
}

.committees-container {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
}

.committee-category {
  margin-bottom: 20px;
}

.committee-category:last-child {
  margin-bottom: 0;
}

.committee-list {
  list-style: none;
  padding-right: 10px;
}

.committee-list li {
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.9);
  font-family: "fr";
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.committee-list li i {
  color: #6ba8e2;
  width: 20px;
  text-align: center;
  font-size: 0.9rem;
}

/* تأثيرات التحويم */
.committee-list li:hover {
  color: white;
  transform: translateX(-5px);
}

.committee-list li:hover i {
  color: #3d8fd6;
}

.footer-badges {
  display: flex;
  /* justify-content: center; */
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

@media screen {
}

.footer-badge {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-family: "fm";
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.footer-badge:hover {
  background: rgba(61, 143, 214, 0.3);
  transform: translateY(-2px);
}

/* تأثيرات إضافية للشارات */
.footer-badge:nth-child(1) {
  background: rgba(61, 143, 214, 0.2);
  border-color: #3d8fd6;
}

.footer-badge:nth-child(2) {
  background: rgba(39, 64, 96, 0.2);
  border-color: #274060;
}

/* تعديلات للجوال */
@media (max-width: 992px) {
  .footer-badges {
    justify-content: center;
  }

  .footer-badge {
    font-size: 0.8rem;
    padding: 5px 12px;
  }
}

@media (max-width: 992px) {
  .header-container {
    justify-content: space-between;
    position: relative;
  }

  .logo {
    position: absolute;
    right: 50%;
    transform: translateX(50%);
  }

  .menu-toggle {
    order: -1;
  }
}

/************************************* قسم التواصل المحسن **************************************/
.contact-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e6f0f9 100%);
  padding: 100px 0 0;
  position: relative;
  overflow: hidden;
}

.contact-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 1;
}

.contact-title {
  color: #274060;
  font-size: 2.8rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  font-family: "fbb";
}

.contact-title span {
  color: #3d8fd6;
  font-family: "fbb";
}

.contact-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 50%;
  transform: translateX(50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3d8fd6, #274060);
  border-radius: 2px;
}

.contact-subtitle {
  color: #64748b;
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-family: "fr";
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

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

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.contact-item::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #3d8fd6, #274060);
  z-index: 1;
}

.contact-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(61, 143, 214, 0.15);
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(61, 143, 214, 0.8), rgba(39, 64, 96, 0.8));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.contact-item:hover .contact-icon {
  transform: rotate(15deg) scale(1.1);
  background: linear-gradient(135deg, #3d8fd6, #274060);
}

.contact-text h3 {
  color: #274060;
  font-family: "fm";
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.contact-text p,
.contact-text a {
  color: #64748b;
  font-family: "fr";
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  line-height: 1.7;
}

.contact-text a:hover {
  color: #3d8fd6;
}

#phone,
#email-link {
  font-family: "c";
}

.contact-text span {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: #94a3b8;
  font-family: "fl";
}

.contact-social {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-social h3 {
  color: #274060;
  font-family: "fm";
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-icon {
  width: 50px;
  height: 50px;
  background: rgba(61, 143, 214, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #274060;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.social-icon::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3d8fd6, #274060);
  z-index: -1;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.social-icon:hover {
  color: white;
  transform: translateY(-5px);
}

.social-icon:hover::after {
  transform: translateY(0);
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #3d8fd6, #274060);
  z-index: 1;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  color: #274060;
  font-family: "fm";
  font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-family: "fr";
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(245, 245, 245, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #3d8fd6;
  box-shadow: 0 0 0 3px rgba(61, 143, 214, 0.2);
  outline: none;
  background: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.submit-btn {
  background: linear-gradient(135deg, #3d8fd6, #274060);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 10px;
  font-family: "fb";
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.submit-btn span {
  font-family: "fb";
}

.submit-btn::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #274060, #3d8fd6);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(61, 143, 214, 0.3);
}

.submit-btn:hover::after {
  opacity: 1;
}

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

.submit-btn:hover i {
  transform: translateX(5px);
}

.contact-map {
  width: 100%;
  height: 400px;
  position: relative;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(20%) contrast(110%) brightness(95%);
}

/* تأثيرات للهواتف */
@media (max-width: 992px) {
  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-info {
    order: 2;
  }

  .contact-form {
    order: 1;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 80px 0 0;
  }

  .contact-title {
    font-size: 2.4rem;
  }

  .contact-subtitle {
    font-size: 1.15rem;
  }

  .contact-item {
    padding: 25px;
  }

  .contact-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .contact-form {
    padding: 30px;
  }
}

@media (max-width: 576px) {
  .contact-section {
    padding: 60px 0 0;
  }

  .contact-container {
    padding: 0 20px;
  }

  .contact-title {
    font-size: 2rem;
  }

  .contact-subtitle {
    font-size: 1rem;
  }

  .contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 20px;
  }

  .contact-text h3 {
    font-size: 1.3rem;
  }

  .contact-form {
    padding: 25px;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px 15px;
  }

  .submit-btn {
    padding: 12px 20px;
    font-size: 1rem;
  }
}

/************************************* قسم النشرة البريدية المحسن **************************************/
.newsletter-section {
  background: linear-gradient(135deg, #3d8fd6 0%, #274060 100%);
  padding: 100px 0;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,100 L0,100 Z" /></svg>');
  background-size: 50px 50px;
  opacity: 0.5;
  z-index: 0;
}

.newsletter-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 1;
}

.newsletter-title {
  font-family: "fbb";
  font-size: 2.8rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.newsletter-title span {
  color: #cfe4ff;
  font-family: "fbb";
}

.newsletter-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 50%;
  transform: translateX(50%);
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
}

.newsletter-subtitle {
  font-family: "fr";
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.8;
  opacity: 0.9;
}

.newsletter-benefits {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.benefit-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 12px;
  padding: 25px 20px;
  min-width: 200px;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.benefit-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.5rem;
  color: white;
  transition: all 0.4s ease;
}

.benefit-item:hover .benefit-icon {
  background: white;
  color: #3d8fd6;
  transform: rotate(15deg) scale(1.1);
}

.benefit-item p {
  font-family: "fm";
  font-size: 1.1rem;
  margin: 0;
}

.newsletter-form {
  max-width: 600px;
  margin: 0 auto 40px;
}

.input-group {
  display: flex;
  margin-bottom: 20px;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
}

.input-group:focus-within {
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.2),
    0 0 0 3px rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.3);
}

.input-group input {
  flex: 1;
  padding: 18px 25px;
  border: none;
  font-family: "fr";
  font-size: 1.1rem;
  background: transparent;
  color: white;
  transition: all 0.3s ease;
}

.input-group input::placeholder {
  color: rgba(255, 255, 255, 0.7);
  opacity: 1;
}

.input-group input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
}

.input-group button {
  padding: 0 30px;
  background: white;
  color: #3d8fd6;
  border: none;
  font-family: "fbb";
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.input-group button span {
  font-family: "fbb";
}

.input-group button:hover {
  background: #f1f5f9;
  transform: scale(1.05);
}

.input-group button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3d8fd6, #274060);
  z-index: 0;
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.input-group button i {
  transition: transform 0.3s ease;
}

.input-group button:hover i {
  transform: translateX(5px);
}

.input-group button:hover {
  color: white;
  transform: scale(1.05);
}

.input-group button:hover::before {
  transform: translateX(0);
}

.input-group button span,
.input-group button i {
  position: relative;
  z-index: 1;
}

.agreement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 25px 0;
  position: relative;
  padding: 15px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.agreement:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.agreement input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.agreement input[type="checkbox"]:checked {
  background: #3d8fd6;
  border-color: #3d8fd6;
}

.agreement input[type="checkbox"]:checked::after {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
}

.agreement label {
  font-family: "fr";
  font-size: 0.95rem;
  color: white;
  opacity: 0.9;
  cursor: pointer;
  line-height: 1.6;
  transition: all 0.3s ease;
  text-align: right;
  flex-grow: 1;
}

.agreement:hover label {
  opacity: 1;
}

.privacy-link {
  color: #cfe4ff;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  font-family: "fm";
  font-weight: 500;
}

.privacy-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 1px;
  background: #cfe4ff;
  transition: width 0.3s ease;
}

.privacy-link:hover::after {
  width: 100%;
}

.privacy-link:hover {
  color: white;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
}

.social-links a {
  color: white;
  font-size: 1.8rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.social-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

.social-links a:hover {
  color: #cfe4ff;
  transform: translateY(-5px);
}

.social-links a:hover::after {
  width: 100%;
}

/* تأثيرات للهواتف */
@media (max-width: 768px) {
  .agreement {
    flex-direction: row;
    align-items: flex-start;
    text-align: right;
    padding: 15px;
    gap: 12px;
  }

  .agreement input[type="checkbox"] {
    margin-top: 3px;
  }

  .agreement label {
    font-size: 0.9rem;
  }

  .newsletter-section {
    padding: 80px 0;
  }

  .newsletter-title {
    font-size: 2.4rem;
  }

  .newsletter-subtitle {
    font-size: 1.15rem;
    margin-bottom: 30px;
  }

  .benefit-item {
    padding: 20px 15px;
    min-width: 160px;
  }

  .benefit-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  .input-group input {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .input-group button {
    padding: 15px;
    display: flex;
    justify-content: center;
  }

  .social-links a {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .agreement {
    flex-direction: row;
    align-items: flex-start;
    padding: 12px 15px;
  }

  .agreement label {
    font-size: 0.85rem;
  }

  .privacy-link {
    display: inline;
  }

  .newsletter-section {
    padding: 70px 0;
  }

  .newsletter-title {
    font-size: 2rem;
  }

  .newsletter-subtitle {
    font-size: 1rem;
  }

  .benefit-item {
    width: 100%;
    max-width: 300px;
  }

  .input-group {
    flex-direction: column;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
  }

  .input-group input {
    width: 100%;
    padding: 15px;
    text-align: center;
  }

  .newsletter-button {
    text-align: center;
  }
}

/************************************* قسم الأسئلة الشائعة - محسن **************************************/
.faq-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e6f0f9 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 1;
}

.faq-title {
  color: #274060;
  font-size: 2.8rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  font-family: "fbb";
}

.faq-title span {
  color: #3d8fd6;
  font-family: "fbb";
}

.faq-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 50%;
  transform: translateX(50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3d8fd6, #274060);
  border-radius: 2px;
}

.faq-subtitle {
  color: #64748b;
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-family: "fr";
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 0.8rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-item:hover {
  box-shadow: 0 10px 25px rgba(61, 143, 214, 0.15);
  transform: translateY(-3px);
}

.faq-question {
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  position: relative;
  transition: all 0.6s ease;
}

.faq-question h3 {
  color: #274060;
  font-size: 1.3rem;
  margin: 0;
  font-family: "fm";
  flex: 1;
  transition: color 0.3s ease;
}

.faq-question i {
  color: #3d8fd6;
  font-size: 1.2rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin-right: 15px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 0 30px;
}

.faq-answer p {
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1.8;
  padding: 25px 0px;
  font-family: "fr";
  margin: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease 0.1s;
}

.faq-item.active {
  box-shadow: 0 10px 30px rgba(61, 143, 214, 0.2);
}

.faq-item.active .faq-question {
  background: rgba(61, 143, 214, 0.05);
}

.faq-item.active .faq-question h3 {
  color: #3d8fd6;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: #274060;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* زيادة القيمة لاستيعاب المحتوى الطويل */
}

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

.faq-cta {
  text-align: center;
  margin-top: 50px;
  font-family: "fr";
  font-size: 1.1rem;
  color: #64748b;
}

.faq-cta a {
  color: #3d8fd6;
  text-decoration: none;
  font-family: "fm";
  position: relative;
  transition: color 0.3s ease;
}

.faq-cta a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 2px;
  background: #3d8fd6;
  transition: width 0.3s ease;
}

.faq-cta a:hover {
  color: #274060;
}

.faq-cta a:hover::after {
  width: 100%;
}

/* تأثيرات للهواتف */
@media (max-width: 768px) {
  .faq-section {
    padding: 80px 0;
  }

  .faq-title {
    font-size: 2.4rem;
  }

  .faq-subtitle {
    font-size: 1.15rem;
    margin-bottom: 30px;
  }

  .faq-question {
    padding: 20px;
  }

  .faq-question h3 {
    font-size: 1.2rem;
  }

  .faq-answer p {
    font-size: 1rem;
    padding-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .faq-section {
    padding: 60px 0;
  }

  .faq-container {
    padding: 0 20px;
  }

  .faq-title {
    font-size: 2rem;
  }

  .faq-subtitle {
    font-size: 1rem;
  }

  .faq-question {
    padding: 15px;
  }

  .faq-question h3 {
    font-size: 1.1rem;
  }

  .faq-answer {
    padding: 0 15px;
  }

  .faq-cta {
    font-size: 1rem;
  }
}

/************************************* Enhanced Chat Assistant **************************************/
.chat-assistant {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9999;
  font-family: "fr", sans-serif;
  --primary-color: #3d8fd6;
  --secondary-color: #274060;
  --accent-color: #6ba8e2;
}

.chat-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 5px 25px rgba(61, 143, 214, 0.5);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.chat-icon:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 8px 30px rgba(61, 143, 214, 0.7);
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 22px;
  height: 22px;
  background: #ff4757;
  border-radius: 50%;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  font-family: "d";
}

.pulse {
  animation: pulse 1.5s infinite;
}

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

.chat-box {
  position: absolute;
  bottom: 70px;
  left: 0;
  width: 380px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transform: scale(0);
  transform-origin: bottom left;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  max-height: 70vh;
}

.chat-assistant.active .chat-box {
  transform: scale(1);
  opacity: 1;
}

.chat-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-info h3 {
  margin: 0;
  font-size: 1.1rem;
  font-family: "fm";
}

.header-info p {
  margin: 3px 0 0;
  font-size: 0.8rem;
  opacity: 0.8;
  font-family: "fl";
}

.chat-actions {
  display: flex;
  gap: 10px;
}

.close-chat {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-chat:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(15deg);
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  direction: rtl;
  background: #f8fafc;
  scroll-behavior: smooth;
}

/* Custom scrollbar */
.chat-messages::-webkit-scrollbar {
  width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 3px;
}

.message {
  margin-bottom: 15px;
  max-width: 80%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.message-content {
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.5;
  position: relative;
  word-wrap: break-word;
  animation: messageIn 0.3s ease-out;
}

/* تغيير جميع رسائل البوت */
.bot-message .message-content p {
  font-family: "fm" !important;
}

.user-message .message-content p {
  font-family: "fr" !important; /* الخط المتوسط (Medium) */
}

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

.bot-message {
  align-items: flex-start;
}

.bot-message .message-content {
  background: white;
  color: var(--secondary-color);
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  border-bottom-right-radius: 5px;
}

.user-message {
  align-items: flex-end;
}

.user-message .message-content {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  border-bottom-left-radius: 5px;
}

.message-time {
  font-size: 0.7rem;
  color: #94a3b8;
  margin-top: 5px;
  font-family: "fl";
}

.typing-indicator {
  background: #f8fafc;
  display: none;
  padding: 0 20px 10px;
  align-items: center;
  gap: 5px;
  direction: ltr;
}

.typing-indicator.active {
  display: flex;
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--accent-color);
  border-radius: 50%;
  opacity: 0.4;
  animation: typingAnimation 1.4s infinite ease-in-out;
}

.dot:nth-child(1) {
  animation-delay: 0s;
}
.dot:nth-child(2) {
  animation-delay: 0.2s;
}
.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingAnimation {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

.chat-input-area {
  display: flex;
  padding: 15px;
  border-top: 1px solid #e2e8f0;
  background: white;
  align-items: center;
  gap: 10px;
}

.send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--secondary-color);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-wrapper {
  flex: 1;
  position: relative;
}

.chat-input-area input {
  width: 100%;
  padding: 12px 45px 12px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  font-family: "fr";
  font-size: 0.95rem;
  direction: rtl;
  transition: all 0.3s ease;
  background: #f8fafc;
}

.chat-input-area input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(61, 143, 214, 0.2);
  background: white;
}

.send-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  transition: all 0.3s ease;
}

.send-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 3px 10px rgba(61, 143, 214, 0.3);
}

.emoji-categories {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}

/* تأثيرات للهواتف */
@media (max-width: 768px) {
  .chat-assistant {
    bottom: 20px;
    left: 20px;
  }

  .chat-box {
    width: 320px;
    max-height: 60vh;
  }
}

@media (max-width: 480px) {
  .chat-assistant {
    bottom: 15px;
    left: 15px;
  }

  .chat-box {
    width: 280px;
    bottom: 60px;
  }
}

/* تصميم عائم مع تأثيرات مميزة */
.quick-replies {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quick-reply-btn {
  background: #ffffff;
  color: #3d8fd6;
  border: none;
  padding: 12px 22px;
  border-radius: 25px;
  font-family: "fb";
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  min-width: 160px;
  transform: translateY(0);
  z-index: 1;
}

.quick-reply-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3d8fd6, #274060);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 25px;
}

.quick-reply-btn:hover {
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(61, 143, 214, 0.25);
}

.quick-reply-btn:hover::before {
  opacity: 1;
}

.quick-reply-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%, -50%);
  transform-origin: 50% 50%;
}

.quick-reply-btn:focus:not(:active)::after {
  animation: ripple 0.6s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }
  100% {
    transform: scale(20, 20);
    opacity: 0;
  }
}

/* تأثيرات للهواتف */
@media (max-width: 768px) {
  .quick-reply-btn {
    padding: 10px 18px;
    font-size: 0.85rem;
    min-width: 140px;
  }
}

/* تحسينات SweetAlert Premium */
.swal2-container {
  backdrop-filter: blur(5px);
}

.swal2-popup {
  font-family: "fr", sans-serif !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(39, 64, 96, 0.2) !important;
  border: none !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%) !important;
}

.swal2-title {
  font-family: "fbb", sans-serif !important;
  color: #274060 !important;
  font-size: 2rem !important;
  position: relative;
  padding-bottom: 15px;
}

.swal2-html-container {
  font-family: "fr", sans-serif !important;
  color: #64748b !important;
  font-size: 1.2rem !important;
  line-height: 1.8 !important;
}

.swal2-confirm {
  background: linear-gradient(135deg, #3d8fd6, #274060) !important;
  font-family: "fb", sans-serif !important;
  border-radius: 50px !important;
  padding: 12px 30px !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(61, 143, 214, 0.3) !important;
  transition: all 0.3s ease !important;
  position: relative;
  overflow: hidden;
}

.swal2-confirm:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 20px rgba(61, 143, 214, 0.4) !important;
}

.swal2-confirm:active {
  transform: translateY(1px) !important;
}

.swal2-success {
  border-color: #3d8fd6 !important;
  color: #3d8fd6 !important;
}

.swal2-success [class^="swal2-success-line"] {
  background-color: #3d8fd6 !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
  border-color: rgba(61, 143, 214, 0.3) !important;
}

/* أضف هذه الأنماط في ملف style.css */
.loading-spinner {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto;
}

.spinner-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid rgba(61, 143, 214, 0.2);
  border-radius: 50%;
  border-top-color: #3d8fd6;
  animation: spin 1.5s linear infinite;
}

.spinner-logo {
  position: absolute;
  width: 40px;
  height: 40px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.8;
}

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

/* تأثير النبض للشعار */
@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
}

.spinner-logo {
  animation: pulse 2s ease-in-out infinite;
}

/*=========================== قسم آراء وتقييمات الأعضاء ===========================*/
.swiper-horizontal {
  padding-top: 1rem !important;
}
.testimonials-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e6f0f9 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(61, 143, 214, 0.08) 0%, rgba(61, 143, 214, 0) 70%);
  z-index: 0;
}

.testimonials-section::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(39, 64, 96, 0.08) 0%, rgba(39, 64, 96, 0) 70%);
  z-index: 0;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 1;
}

.testimonials-title {
  color: #274060;
  font-size: 2.6rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  font-family: "fb";
}

.testimonials-title span {
  color: #3d8fd6;
  font-family: fbb;
}

.testimonials-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 50%;
  transform: translateX(50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3d8fd6, #274060);
  border-radius: 2px;
}

.testimonials-subtitle {
  color: #64748b;
  line-height: 1.8;
  font-family: "fr";
  text-align: center;
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 0;
    font-family: "fr";
}

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

/* تحسين تصميم بطاقات آراء الأعضاء */
.testimonial-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 251, 255, 0.98) 100%);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(61, 143, 214, 0.15);
  /* box-shadow: 
    0 12px 30px rgba(61, 143, 214, 0.1),
    0 4px 10px rgba(0, 0, 0, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8); */
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-0.3rem);
  border-color: rgba(61, 143, 214, 0.25);
}

.testimonial-card .quote-bg {
  position: absolute;
  font-size: 120px;
  color: rgba(61, 143, 214, 0.08);
  top: 10px;
  left: 15px;
  transform: scaleX(-1) rotate(-5deg);
  pointer-events: none;
  transition: all 0.4s ease;
  z-index: 0;
}

.testimonial-card:hover .quote-bg {
  transform: scaleX(-1) translateY(-5px) rotate(0deg);
  color: rgba(61, 143, 214, 0.12);
}

.testimonial-text {
  color: #274060;
  font-family: "fr";
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  padding: 0 5px;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.testimonial-stars i {
  font-size: 1.15rem;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-stars i {
  transform: scale(1.1) rotate(5deg);
}

.testimonial-card:hover .testimonial-stars i:nth-child(2) {
  transition-delay: 0.05s;
}

.testimonial-card:hover .testimonial-stars i:nth-child(3) {
  transition-delay: 0.1s;
}

.testimonial-card:hover .testimonial-stars i:nth-child(4) {
  transition-delay: 0.15s;
}

.testimonial-card:hover .testimonial-stars i:nth-child(5) {
  transition-delay: 0.2s;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px dashed rgba(39, 64, 96, 0.1);
  position: relative;
  z-index: 1;
}

.testimonial-user::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(61, 143, 214, 0.3), transparent);
}

.testimonial-user img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(61, 143, 214, 0.25);
  background: #f8fafc;
  box-shadow: 0 6px 16px rgba(61, 143, 214, 0.15);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.testimonial-card:hover .testimonial-user img {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(61, 143, 214, 0.25);
  border-color: rgba(61, 143, 214, 0.4);
}

.testimonial-user div {
  flex: 1;
}

.testimonial-user strong {
  display: block;
  color: #274060;
  font-family: "fm";
  font-size: 1.1rem;
  margin-bottom: 4px;
  transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-user strong {
  transform: translateY(-2px);


}

.testimonial-user span {
  display: inline-block;
  color: #2b4e77;
  font-size: 0.95rem;
  font-family: "fr";
  background: linear-gradient(135deg, rgba(61, 143, 214, 0.1) 0%, rgba(39, 64, 96, 0.1) 100%);
  border: 1px solid rgba(61, 143, 214, 0.2);
  padding: 5px 12px;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-user span {
  background: linear-gradient(135deg, rgba(61, 143, 214, 0.15) 0%, rgba(39, 64, 96, 0.15) 100%);
  border-color: rgba(61, 143, 214, 0.3);
  transform: translateY(-2px);
}

/* جعل البطاقات تتمدّد لملء ارتفاع الشريحة لمظهر متسق */
.testimonials-swiper .swiper-wrapper {
  align-items: stretch;
}

/* تحسين تجربة السحب */
.testimonials-swiper { cursor: grab; }
.testimonials-swiper:active { cursor: grabbing; }

/* تأثيرات تفاعلية عند التحويم */
/* (مضبوطة ضمن الكتل أعلاه) */

/* حدود زخرفية */
.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(61, 143, 214, 0.3), rgba(39, 64, 96, 0.2), rgba(61, 143, 214, 0.3));
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.testimonial-card:hover::before {
  opacity: 0.8;
}

/* تأثير إضاءة خفيفة عند التحويم */
.testimonial-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(61, 143, 214, 0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.testimonial-card:hover::after {
  opacity: 1;
}

@media (max-width: 992px) {
  .testimonials-section {
    padding: 80px 0;
  }
  .testimonials-title {
    font-size: 2.2rem;
  }
  .testimonials-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .testimonials-section {
    padding: 60px 0;
  }
  .testimonial-card {
    padding: 24px;
    border-radius: 16px;
  }
  
  .testimonial-text {
    font-size: 1rem;
  }
  
  .testimonial-user {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .testimonial-user div {
    width: 100%;
  }
}

/* Swiper containers styling */
.works-swiper,
.sponsors-swiper,
.board-swiper,
.testimonials-swiper {
  width: 100%;
  padding: 20px 0;
  overflow: hidden;
}

.works-swiper .swiper-slide,
.sponsors-swiper .swiper-slide,
.board-swiper .swiper-slide,
.testimonials-swiper .swiper-slide {
  height: auto;
}

/* Swiper navigation buttons */
.swiper-button-next,
.swiper-button-prev {
  color: #2a7bc8 ;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 44px !important;
  height: 44px !important;
  margin-top: -22px ;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #2a7bc8;
  color: white ;
  transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 16px !important;
  font-weight: bold;
}

/* Grid layouts fallback */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

@media (max-width: 768px) {
  .works-grid,
  .sponsors-grid,
  .board-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.pbook i {
  font-size: 7rem;
}

#quote {
  color: #3d8fd6;
}