html, body {
  overflow-x: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100vw;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1050;
  background-color: white;
  font-size: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
@media (max-width: 576px) {
  .navbar {
    font-size: 0.9rem;
  }
}

.container {
  max-width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

/* ده يظبط المحتوى داخل الموبايل ويمنع الزوم المفاجئ */
.navbar *, .offcanvas * {
  max-width: 100% !important;
  box-sizing: border-box;
}

body.offcanvas-backdrop {
  overflow: hidden !important;
  position: fixed !important;
  width: 100vw !important;
}


/* القائمة الجانبية - Responsive وشفافة */
.custom-mobile-menu {
  width: 75vw;
  /* تأخذ 75% من عرض الشاشة مهما كان نوع الموبايل */
  max-width: 360px;
  background: rgba(255, 255, 255, 0.93);
  /* الشفافية */
  backdrop-filter: blur(6px);
  /* تأثير الزجاج الضبابي */
  overflow-y: auto;
  border-radius: 12px 0 0 12px;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  transition: none !important;
}

/* اللوجو داخل القائمة */
.offcanvas-logo {
  width: 110px;
  transition: transform 0.3s ease;
}

.offcanvas-logo:hover {
  transform: scale(1.05);
}

/* الروابط */
.offcanvas-body .nav-link {
  color: #0d6efd;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.offcanvas-body .nav-link:hover {
  color: #0dcaf0;
}

/* روابط الـ dropdown */
.offcanvas-body .collapse a {
  font-size: 0.95rem;
  color: #333;
  padding: 5px 0;
  display: block;
  transition: color 0.2s;
}

.offcanvas-body .collapse a:hover {
  color: #0dcaf0;
}

.offcanvas-body .collapse strong {
  font-weight: bold;
  font-size: 1rem;
  margin-top: 10px;
  color: #0d6efd;
}

/* الزر للإغلاق */
.offcanvas-header .btn-close {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1055;
  /* فوق كل العناصر داخل الـ offcanvas */
  font-size: 1.2rem;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .custom-mobile-menu {
    backdrop-filter: none;
    background: #ffffff;
  }
}


/* لجعل أعمدة ميجا منيو تبدأ من اليمين */
.dropdown-menu .row {
  flex-direction: row-reverse;
}

/* تخلي كل عنصر داخل collapse يمشي من اليمين للشمال */
#servicesMenu {
  direction: rtl;
  text-align: right;
}

#servicesMenu {
  padding-right: 1rem !important;
  padding-left: 0 !important;
}


/*------------------------------------------------------------------------------------*/
/* ===================================== Footer ===================================== */

/* ✅ ترتيب أعمدة الفوتر RTL */
footer .row {
  flex-direction: row-reverse;
}





/*------------------------------------------------------------------------------------*/
/* ================================ Contact & UP Arrow =============================== */


/* Sidebar for contact methods */
.contact-sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background: white;
  z-index: 1050;
  transition: left 0.4s ease;
  border-right: 1px solid #ccc;
}

.contact-sidebar.open {
  left: 0;
}

.contact-toggle {
  z-index: 1060;
}

.contact-toggle button {
  width: 45px;
  height: 45px;
  font-size: 18px;
}



.scroll-top-circle {
  position: fixed;
  bottom: 90px;
  left: 25px;
  width: 50px;
  height: 50px;
  background: #0dcaf0;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
  color: white;
}

.scroll-top-circle svg {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
}

.scroll-top-circle i {
  font-size: 24px;
  z-index: 2;
}

/* =============================== First Section "Slider" ============================ */

.carousel-item {
  position: relative;
  overflow: hidden;
  height: 90vh;
}

.carousel-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  z-index: 1;
  filter: brightness(0.65);
}

.carousel-item:hover .carousel-bg {
  transform: scale(1.1);
}

.carousel-caption {
  position: absolute;
  bottom: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  max-width: 90%;
  color: white;
}

.carousel-caption h2.slide-title {
  font-size: 3rem;
  font-weight: bold;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

.carousel-caption p.slide-subtitle {
  font-size: 1.25rem;
  margin-top: 15px;
  animation: fadeInUp 1.5s ease forwards;
  opacity: 0;
}

.carousel-caption .btn {
  font-size: 1rem;
  padding: 10px 25px;
  animation: fadeInUp 2s ease forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Arrows */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  transition: transform 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  transform: scale(1.4);
}

.custom-arrow {
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  z-index: 10;
}

.custom-arrow:hover i {
  transform: scale(1.4);
  transition: 0.3s ease;
}

/* Indicators */
.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ffffff;
  opacity: 0.5;
  transition: opacity 0.3s ease;
  margin: 0 4px;
}

.carousel-indicators .active {
  opacity: 1;
  background-color: #0dcaf0;
}

/* ============ Responsive on Mobile ============ */
@media (max-width: 576px) {
  .carousel-item {
    height: 75vh;
  }

  .carousel-caption {
    top: 30%;
    padding: 0 15px;
  }

  .carousel-caption h2.slide-title {
    font-size: 1.4rem;
  }

  .carousel-caption p.slide-subtitle {
    font-size: 1rem;
    margin-top: 10px;
  }

  .carousel-caption .btn {
    font-size: 0.9rem;
    padding: 8px 18px;
    margin-top: 10px;
  }

  .carousel-bg {
    background-size: cover;
    background-position: center center;
  }
}


/*------------------------------------------------------------------------------------*/
/* ======================== وسائل التواصل اللي على الشمال ========================== */

/* Floating Contact Icons */
.contact-icons-container {
  position: fixed;
  bottom: 135px;
  /* فوق scroll-top */
  left: 24px;
  z-index: 999;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: #0dcaf0;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-icon:hover {
  transform: scale(1.1);
}

/* Contact options shown vertically */
.contact-options {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-options .contact-icon a {
  color: white;
  text-decoration: none;
}

.d-none {
  display: none !important;
}

/*------------------------------------------------------------------------------------*/
/* ================================== قسم من نحن ================================== */


/*السكشن التاني في الصفحة الرئيسية*/

@media (min-width: 992px) {
  #about-us {
    position: relative;
    padding-top: 50px;
    /* تقليل المساحة من الأعلى */
  }

  .text-box-overlap {
    position: relative;
    z-index: 2;
    background: #fff;
    padding: 30px;
    margin-top: 00px;
    /* يمكن استخدام قيم سلبية للتراكب */
    margin-right: -150px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  #about-us .col-lg-6:last-child {
    position: relative;
    z-index: 1;
  }
}

/*                العداد          */
/* تحسينات إضافية */
.btn-info {
  background-color: #0dcaf0;
  border-color: #0dcaf0;
}

.btn-info:hover {
  background-color: #0bb6d9;
  border-color: #0aaccf;
}

.text-primary {
  color: #0dcaf0 !important;
}

/* تحسينات العداد */
.counter {
  font-size: 2.5rem;
  color: #0dcaf0;
}

/* تحسينات عامة لوضع RTL */
[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] .row {
  direction: ltr;
  /* للحفاظ على اتجاه أعمدة البوتستراب */
}

[dir="rtl"] .counter {
  direction: ltr;
  /* للحفاظ على اتجاه الأرقام */
}

/* تحسينات الزر في وضع RTL */
[dir="rtl"] .btn {
  letter-spacing: normal;
}


/* إضافة هذه الأنيميشن في CSS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-animate {
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

/* تأخيرات مختلفة للعناصر */
.section-animate.delay-1 {
  animation-delay: 0.2s;
}

.section-animate.delay-2 {
  animation-delay: 0.4s;
}

.section-animate.delay-3 {
  animation-delay: 0.6s;
}

/*...................................................................*/


/*-- Optional Timeline Styling -->*/

.timeline li {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  background: #f8f9fa;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.timeline li strong {
  margin-right: 10px;
  font-size: 16px;
}

.feature-item {
  direction: rtl;
  text-align: right;
}

.feature-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 12px;
}


/*------------------------------------------------------------------------------------*/
/* ================================== قسم مميزاتنا ================================== */


.skewed-divider-section {
  position: relative;
  background-color: #0dcaf0;
  padding: 100px 0;
  z-index: 1;
}

.skewed-divider-section::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: #ffffff;
  transform: skewY(-3deg);
  transform-origin: top left;
  z-index: -1;
}


/*------------------------------------------------------------------------------------*/
/* ================================== قسم خدماتنا ================================== */

.service-card {
  background-color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.service-img {
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
}

/* للسلايدر نفسه لو عاوز تخليه ياخد نفس الارتفاع */
.carousel-inner {
  height: 500px;
}


.btn-outline-custom {
  color: #0dcaf0;
  border-color: #0dcaf0;
  transition: 0.3s ease;
}

.btn-outline-custom:hover {
  background-color: #0dcaf0;
  color: #fff;
}

.card p {
  min-height: 80px;
  /* يساعد في توازن الكروت حتى مع اختلاف عدد الأسطر */
}

.card h5 {
  font-size: 1.1rem;
}



/*------------------------------------------------------------------------------------*/
/* ================================== قسم لماذا نحن؟ ================================== */

/* الأشكال المتحركة */
.animated-shapes .shape {
  position: absolute;
  animation: moveShape 20s infinite ease-in-out;
}

.shape .inner-shape {
  width: 100%;
  height: 100%;
  border: 3px solid rgba(40, 36, 36, 0.7);
  /* لون أوضح */
  opacity: 0.4;
  /* أوضح شوية */
  animation: spinShape 12s infinite linear, scaleShape 8s infinite ease-in-out;
}

/* مربع */
.shape.square {
  top: 20%;
  left: 10%;
  width: 150px;
  height: 150px;
}

/* دائرة */
.shape.circle {
  bottom: 20%;
  right: 10%;
  width: 180px;
  height: 180px;
}

.shape.circle .inner-shape {
  border-radius: 50%;
}

/* مثلث */
.shape.triangle {
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
}

.shape.triangle .inner-shape {
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 100px solid #221f1f;
  opacity: 0.1;
}

/* حركات */
@keyframes moveShape {
  0% {
    transform: translate(0px, 0px);
  }

  25% {
    transform: translate(20px, -30px);
  }

  50% {
    transform: translate(-20px, 20px);
  }

  75% {
    transform: translate(10px, 40px);
  }

  100% {
    transform: translate(0px, 0px);
  }
}

@keyframes spinShape {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes scaleShape {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.3);
  }
}


/* تأثير عند الاقتراب Hover */

/* مربع: يهتز */
.shape.square:hover .inner-shape {
  animation: shake 0.4s infinite;
}

/* دائرة: تكبر وتلمع */
.shape.circle:hover .inner-shape {
  box-shadow: 0 0 20px #1c1b1b;
  transform: scale(1.5);
}

/* مثلث: يلف بسرعة */
.shape.triangle:hover .inner-shape {
  animation: shake 0.3s infinite;
}

/* حركة الاهتزاز */
@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-6px);
  }

  50% {
    transform: translateX(6px);
  }

  75% {
    transform: translateX(-6px);
  }
}

/* دوران سريع */
@keyframes fastSpin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


.shape:hover .inner-shape {
  animation: none;
}



/*------------------------------------------------------------------------------------*/
/* ================================== قسم أعمالنا ================================== */

/* ⬛ صندوق العمل */
.work-box {
  height: 270px;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s ease;
  overflow: hidden;
  /* ⬅ مهم جداً لمنع التمدد */

}

.work-box:hover {
  transform: scale(1.03);
}

.work-box img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

/* 🟦 Overlay */
.work-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(221, 221, 221, 0.3);
  /* شفافية خفيفة */
  color: #000000;
  padding: 20px;
  z-index: 2;
  opacity: 1;
  /* بيظهر دايمًا */
  transition: background 0.3s ease;
  pointer-events: none;

}

.work-box:hover .work-overlay {
  background: rgba(13, 202, 240, 0.7);
  /* يبقى أوضح في الهوفر */
}

.work-box:hover .work-overlay::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 10%, transparent 60%);
  animation: pulse 1s ease-out;
  z-index: 1;
}

@keyframes pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* ========== إعدادات GLightbox ========== */

.gslide {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
}

.gslide-image img {
  max-width: 90vw !important;
  max-height: 90vh !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
  display: block !important;
  margin: 0 auto !important;
}

/* إغلاق */
.glightbox-close {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  width: 40px !important;
  height: 40px !important;
  font-size: 30px !important;
  background: rgba(0, 0, 0, 0.5) !important;
  border-radius: 50% !important;
  color: white !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.glightbox-close:hover {
  background: rgba(0, 0, 0, 0.7) !important;
  transform: scale(1.1);
}

/* الأسهم */
.glightbox-button-next,
.glightbox-button-prev {
  position: fixed !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 40px !important;
  height: 40px !important;
  font-size: 24px !important;
  background: rgba(0, 0, 0, 0.5) !important;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.glightbox-button-next:hover,
.glightbox-button-prev:hover {
  background: rgba(0, 0, 0, 0.7) !important;
  transform: translateY(-50%) scale(1.1);
}

.glightbox-button-next {
  right: 20px !important;
}

.glightbox-button-prev {
  left: 20px !important;
}

/* إخفاء عناصر غير مرغوبة */
.glightbox-desc,
.glightbox-title,
.glightbox-counter {
  display: none !important;
}

/* ⚙️ تحسينات موبايل */
@media (max-width: 768px) {
  .gslide-image img {
    max-width: 95vw !important;
    max-height: 85vh !important;
  }

  .glightbox-close,
  .glightbox-button-next,
  .glightbox-button-prev {
    width: 35px !important;
    height: 35px !important;
    font-size: 22px !important;
  }

  .glightbox-close {
    top: 10px !important;
    right: 10px !important;
  }

  .glightbox-button-next {
    right: 10px !important;
  }

  .glightbox-button-prev {
    left: 10px !important;
  }
}

/* ⚙️ تحسين مخصص للشاشات الصغيرة جداً */
@media (max-width: 576px) {
  .work-box {
    height: 220px;
  }

  .gslide-image img {
    max-width: 98vw !important;
    max-height: 70vh !important;
  }

  .glightbox-button-next,
  .glightbox-button-prev,
  .glightbox-close {
    width: 30px !important;
    height: 30px !important;
    font-size: 18px !important;
  }

  .glightbox-close {
    top: 15px !important;
    right: 15px !important;
  }

  .glightbox-button-next {
    right: 5px !important;
  }

  .glightbox-button-prev {
    left: 5px !important;
  }
}

.btn-outline-custom {
  border: 2px solid #0dcaf0;
  color: #0dcaf0;
  font-weight: bold;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background-color: #0dcaf0;
  color: white;
}


/*------------------------------------------------------------------------------------*/
/* ================================== قسم شركاءنا ================================== */


.logo-name {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(13, 202, 240, 0.9);
  color: white;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

.logo:hover .logo-name {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

.circle-carousel {
  width: 300px;
  height: 300px;
  margin: auto;
  position: relative;
  perspective: 1000px;
  margin-top: -20px;
}

.circle {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  animation: spin 20s linear infinite;
}

.circle:hover {
  animation-play-state: paused;
}

.logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center center -150px;
  transform: rotateY(calc(var(--i) * 25deg)) translateZ(150px);
}

.logo img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

@keyframes spin {
  from {
    transform: rotateY(0deg);
  }

  to {
    transform: rotateY(360deg);
  }
}


/*------------------------------------------------------------------------------------*/
/*-- =============================== قسم الاسئلة الشائعة =============================*/

#faq .faq-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: none;
  background: #0dcaf0;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, background 0.3s;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

#faq .faq-circle span {
  font-size: 14px;
  margin-top: 5px;
}

#faq .faq-circle:hover,
#faq .faq-circle.active {
  background: #00b3d6;
  transform: scale(1.1);
}

.faq-item {
  margin-bottom: 15px;
  text-align: right;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  display: none;
}

.faq-question {
  width: 100%;
  background: #f1f1f1;
  border: none;
  padding: 15px;
  font-weight: bold;
  text-align: right;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.faq-question:hover {
  background: #e2e2e2;
}

.faq-answer {
  background: #fff;
  border-right: 4px solid #0dcaf0;
  padding: 15px;
  margin-top: 5px;
  border-radius: 0 8px 8px 8px;
  display: none;
  text-align: right;
}

@media (max-width: 576px) {
  #faq .faq-circle {
    width: 70px;
    height: 70px;
    font-size: 18px;
  }

  #faq .faq-circle span {
    font-size: 12px;
  }
}


/*------------------------------------------------------------------------------------*/
/* ================================== قسم تواصل معنا =============================== */

.contact-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.form-group {
  position: relative;
}

/* خلفية الخريطة */
.map-background {
  background: url('https://i.imgur.com/O6XQmFd.jpg') center center/cover no-repeat;
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* طبقة التعتيم */
.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  z-index: 1;
}

/* صندوق الفورم الزجاجي */
.glass-form {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 15px;
  max-width: 600px;
  color: #fff;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

/* مدخلات الفورم */
.glass-form .form-control {
  background: transparent;
  border: none;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
  padding-left: 40px;
  color: #fff;
  font-weight: 500;
}

.glass-form .form-control:focus {
  background: transparent;
  border-color: #0dcaf0;
  box-shadow: none;
}

/* الأيقونات */
.form-group .icon {
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  color: #0dcaf0;
  font-size: 18px;
  transition: 0.3s ease;
}

.form-group:focus-within .icon {
  transform: translateY(-50%) scale(1.3);
  color: #ffffff;
}

/* الزر */
.glass-form .btn {
  background-color: #0dcaf0;
  border: none;
  font-weight: bold;
  transition: 0.3s ease;
}

.glass-form .btn:hover {
  background-color: #00b3d6;
}


.social-links a {
  color: #fff;
  font-size: 20px;
  transition: 0.3s ease;
}

.social-links a:hover {
  color: #0dcaf0;
  transform: scale(1.2);
}

/* للخريطة */
.map-background {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  z-index: 0;
}


/*************** رسالة النجاح او الفشل للارسال**************/
.flash-message {
  position: relative;
  margin: 0 auto 30px auto;
  padding: 15px 50px 15px 20px;
  border-radius: 8px;
  background-color: #d1e7dd; /* اللون الأخضر الافتراضي للنجاح */
  color: #0f5132;
  font-weight: bold;
  text-align: center;
  max-width: 600px;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
  animation: slideDown 0.5s ease;
  position: relative;
}

.flash-message.error {
  background-color: #f8d7da;
  color: #842029;
}

.flash-message .close-btn {
  position: absolute;
  top: 5px;
  right: 15px;
  background: none;
  border: none;
  color: inherit;
  font-size: 20px;
  cursor: pointer;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
/************************************************************/


/*------------------------------------------------------------------------------------*/
/* =============================== الفواصل بين الاقسام ============================== */

/* خط متحرك */
.animated-line-divider {
  margin: 0; /* إزالة المسافات فوق وتحت */
  padding: 0;
  line-height: 0;
}

.animated-line-divider span {
  display: inline-block;
  width: 80px;
  height: 4px;
  background-color: #0dcaf0;
  animation: pulseLine 1.5s ease-in-out infinite;
  border-radius: 4px;
}

@keyframes pulseLine {
  0%, 100% {
    transform: scaleX(1);
    opacity: 1;
  }
  50% {
    transform: scaleX(1.6);
    opacity: 0.6;
  }
}
/* **************************** */

/* فاصل صورة في الخلفية */
.parallax-divider {
  background-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT6a0XyFBgIZ54mb2l0cvpYopOVB_kfui8nmA&s'); /* غير الصورة */
  height: 150px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
/* **************************** */

/* 3 مثلثات متحركة */
.triangle-divider {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 40px 0;
}

.triangle {
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 25px solid #0dcaf0;
  animation: bounce 1s infinite ease-in-out;
}

.delay1 { animation-delay: 0.2s; }
.delay2 { animation-delay: 0.4s; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}





/*------------------------------------------------------------------------------------*/
/* ===============================  ============================== */
/* تعديل اخير على تبويبات الموبايل  */


/* ✅ نسق القايمة الجانبية */
.custom-mobile-menu .nav-link,
.custom-mobile-menu a,
.custom-mobile-menu button {
  font-size: 18px; /* حجم الخط */
  text-align: center; /* توسيط النص */
  width: 100%; /* ياخد عرض السطر */
  padding: 12px 0; /* مسافة داخلية كويسة */
  font-weight: 500;
}

/* ✅ نسق العناوين الفرعية */
.custom-mobile-menu strong {
  display: block;
  text-align: center;
  font-size: 17px;
  margin-top: 15px;
  margin-bottom: 8px;
  font-weight: bold;
}

/* ✅ نسق الروابط داخل القوائم الفرعية */
.custom-mobile-menu .collapse a {
  font-size: 16px;
  text-align: center;
  display: block;
  padding: 8px 0;
}

/* ✅ نسق السهم */
.custom-mobile-menu .toggle-arrow i {
  font-size: 14px;
}

/* ✅ خلي الـ offcanvas يبقى بحدود واضحة */
.custom-mobile-menu .offcanvas-body {
  padding-left: 10px;
  padding-right: 10px;
}


.custom-mobile-menu .toggle-arrow {
  font-size: 18px;
  line-height: 1.4;
  padding: 8px 0;
  border: none;
  background: none;
}

.custom-mobile-menu .toggle-arrow i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

/* 🔄 لو عايز السهم يلف عند الفتح */
.custom-mobile-menu .toggle-arrow[aria-expanded="true"] i {
  transform: rotate(180deg);
}
