@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Tajawal:wght@400;700;900&display=swap');

:root {
    --main-color: #1e3a8a; /* أزرق داكن احترافي */
    --main-color-light: #2563eb; /* أزرق متوسط */
    --accent-color: #38bdf8; /* أزرق فاتح/سماوي */
    --gray-color: #64748b; /* رمادي معدني */
    --silver-color: #f1f5f9; /* فضي فاتح */
    --white-color: #fff;
    --dark-color: #181c24;
    --font-ar: 'Tajawal', Arial, sans-serif;
    --font-en: 'Montserrat', 'Rubik', Arial, sans-serif;
}

html, body {
    height: 100%;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font-ar);
    background: linear-gradient(120deg, var(--white-color) 60%, var(--silver-color) 100%);
    color: var(--dark-color);
    margin: 0;
    padding: 0;
    padding-top: 80px !important;
}
main.container, .container.my-5 {
    flex: 1 0 auto;
}
footer {
    flex-shrink: 0;
    font-size: 1rem;
    letter-spacing: 1px;
    background: var(--dark-color);
    border-top: 4px solid var(--main-color-light);
}
footer a {
    color: var(--accent-color);
    text-decoration: none;
}
footer a:hover {
    color: var(--main-color-light);
}

.navbar-brand {
    font-size: 2.2rem !important;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
    animation: logo-glow 2.5s infinite alternate;
    padding: 0.7rem 1.5rem !important;
}
@keyframes logo-glow {
    0% { text-shadow: 0 0 0 var(--accent-color); }
    100% { text-shadow: 0 0 16px var(--accent-color), 0 0 8px var(--main-color); }
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 1.25rem !important;
    padding: 1.1rem 1.5rem !important;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--main-color) !important;
}

/* إصلاح سهم القائمة المنسدلة في الهيدر */
.navbar-nav .dropdown-toggle::after {
    display: inline-block;
    margin-right: 0.4em;
    vertical-align: middle;
    content: "";
    border-top: 0.4em solid;
    border-right: 0.4em solid transparent;
    border-left: 0.4em solid transparent;
    color: var(--main-color);
}

.hero-section {
    background: none !important;
    color: var(--white-color);
    position: relative;
    overflow: hidden;
    margin-top: 0 !important;
    padding-top: 40px !important;
    padding-bottom: 80px;
}
.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #bfc6d1 !important;
    text-shadow: 0 2px 8px rgba(30,58,138,0.10);
}
.hero-section .btn {
    font-size: 1.1rem;
    padding: 0.75rem 2.5rem;
    border-radius: 30px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    margin: 12px auto 0 auto;
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--main-color), var(--accent-color));
    animation: underline-slide 1.2s cubic-bezier(.77,0,.18,1) 1;
}
@keyframes underline-slide {
    0% { width: 0; opacity: 0; }
    60% { width: 60px; opacity: 1; }
    100% { width: 60px; opacity: 1; }
}

/* تحسينات عصرية للبطاقات والأزرار والأقسام */
.card {
  border-radius: 1.2rem;
  box-shadow: 0 2px 16px 0 rgba(37,99,235,0.07), 0 1.5px 6px 0 rgba(0,0,0,0.04);
  transition: box-shadow 0.3s, transform 0.3s;
  background: #fff;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(37,99,235,0.13), 0 3px 12px 0 rgba(0,0,0,0.08);
  transform: translateY(-6px) scale(1.03);
}

.btn, .btn-outline-primary {
  border-radius: 2rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn:hover, .btn-outline-primary:hover {
  box-shadow: 0 4px 16px 0 rgba(37,99,235,0.13);
  transform: scale(1.04);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #2563eb;
  margin-bottom: 2.5rem;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #2563eb 60%, #38bdf8 100%);
  border-radius: 2px;
  margin: 0.5rem auto 0 auto;
}

.display-5, .display-4 {
  font-family: 'Tajawal', 'Cairo', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 1px;
}

/* تأثير وميض/نبض للأيقونات */
.pulse {
  animation: pulse 1.2s infinite alternate;
}
@keyframes pulse {
  0% { filter: drop-shadow(0 0 0 #2563eb); }
  100% { filter: drop-shadow(0 0 12px #2563eb); }
}

.card .fa-users, .card .fa-check, .card .fa-user-tie, .card .fa-award, .card .fa-laptop-code, .card .fa-mobile-alt, .card .fa-brain {
  transition: color 0.3s, filter 0.3s;
}
.card:hover .fa-users, .card:hover .fa-check, .card:hover .fa-user-tie, .card:hover .fa-award, .card:hover .fa-laptop-code, .card:hover .fa-mobile-alt, .card:hover .fa-brain {
  color: #38bdf8;
  filter: drop-shadow(0 0 8px #38bdf8);
}

/* تحسين المسافات */
.container, .container-fluid {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* تحسين خلفية الهيرو */
.hero-section {
  background: linear-gradient(120deg, var(--main-color-light) 60%, var(--silver-color) 100%) !important;
  position: relative;
  overflow: hidden;
  margin-top: 0 !important;
  padding-top: 40px !important;
  padding-bottom: 80px;
}
.hero-section img[alt="Hero"] {
  opacity: 0.13;
  object-fit: cover;
  z-index: 1;
}

/* تحسين الفوتر */
footer {
  background: var(--dark-color);
  color: var(--silver-color);
  border-top: 4px solid var(--main-color-light);
  font-size: 1rem;
}
footer a {
  color: var(--accent-color);
  transition: color 0.2s;
}
footer a:hover {
  color: var(--main-color-light);
  text-decoration: underline;
}

/* خطوط عامة */
body, h1, h2, h3, h4, h5, h6 {
  font-family: 'Tajawal', 'Cairo', Arial, sans-serif;
}

/* تحسين السلايدر */
.owl-carousel .card {
  margin: 0 0.5rem;
}

/* تحسين زر العودة للأعلى */
.back-to-top {
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.3rem;
  box-shadow: 0 2px 8px rgba(37,99,235,0.13);
  background: #2563eb;
  color: #fff;
  border: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.back-to-top:hover {
  background: #38bdf8;
  color: #fff;
  transform: scale(1.08);
}

/* Animations */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}
[data-aos].aos-animate {
    opacity: 1;
} 

/* تحسين المسافات الرأسية بين الأقسام */
section, main.container, .container.my-5, .container.my-4, .container.my-3 {
  margin-top: 3.5rem !important;
  margin-bottom: 3.5rem !important;
}

/* توحيد المسافات الداخلية للأعمدة والبطاقات */
.card, .card-body, .p-3, .p-4 {
  padding: 2rem 1.5rem !important;
}

/* توسيط العناوين والنصوص في جميع الأقسام */
.section-title, h2.section-title, h1, h2, h3, h4, h5, h6 {
  text-align: center !important;
}

/* توحيد الحواف الدائرية والظلال للبطاقات والصور */
.card, .card-img-top, .rounded-circle {
  border-radius: 1.2rem !important;
  box-shadow: 0 2px 16px 0 rgba(37,99,235,0.07), 0 1.5px 6px 0 rgba(0,0,0,0.04) !important;
}

/* تحسين المسافات الجانبية للأعمدة في جميع الشاشات */
.row > [class^="col-"], .row > [class*=" col-"] {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

/* تحسين استجابة النماذج والأزرار في الشاشات الصغيرة */
@media (max-width: 576px) {
  .card, .card-body, .p-3, .p-4 {
    padding: 1.2rem 0.7rem !important;
  }
  section, main.container, .container.my-5, .container.my-4, .container.my-3 {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
  }
  .section-title, h2.section-title, h1, h2, h3, h4, h5, h6 {
    font-size: 1.3rem !important;
  }
}

/* تحسين المسافة بين البطاقات في السلايدر والصفوف */
.owl-carousel .card, .row .card {
  margin-bottom: 1.5rem !important;
}

/* توسيط الأزرار في جميع الأقسام */
.text-center .btn, .section-title + .btn, .section-title + .btn-group {
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  float: none;
}

/* تحسين المسافة بين العناوين والفقرات */
.section-title + p, h2.section-title + p, h1 + p, h2 + p {
  margin-top: 1.2rem !important;
} 

/* --- تحسين ظهور العناوين الرئيسية في أعلى كل قسم --- */
section, main.container, .container.my-5, .container.my-4, .container.my-3 {
  display: block;
  position: relative;
}

.section-title, h2.section-title {
  display: block;
  text-align: center !important;
  margin-top: 0 !important;
  margin-bottom: 2.2rem !important;
  font-size: 2.2rem;
  font-weight: 800;
  color: #2563eb;
  z-index: 2;
  position: relative;
}

/* تعزيز الفصل البصري بين العنوان والمحتوى */
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #2563eb 60%, #38bdf8 100%);
  border-radius: 2px;
  margin: 0.5rem auto 0 auto;
}

/* ضبط المسافة بين العنوان وأول عنصر في القسم */
.section-title + * {
  margin-top: 3rem !important;
}

/* توحيد محاذاة محتوى الأقسام (نصوص وصور) أسفل العنوان */
section > .container, section > .row, main.container > .row, .container.my-5 > .row {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* توسيط الصور داخل الأقسام وتكبير المسافة أسفل العنوان */
section img, main.container img, .container.my-5 img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
  max-width: 100%;
  height: auto;
}

/* توحيد محاذاة الفقرات والنصوص أسفل العنوان */
section p, main.container p, .container.my-5 p {
  text-align: center;
  margin-top: 0.7rem;
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  line-height: 1.9;
} 

.section-title {
  margin-bottom: 4rem !important;
} 

.stats-overlap {
  margin-top: 0 !important;
  background: linear-gradient(120deg, #f8fafc 60%, #e0e7ff 100%);
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px 0 rgba(37,99,235,0.13), 0 3px 12px 0 rgba(0,0,0,0.10);
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  position: relative;
  z-index: 10;
  transition: box-shadow 0.3s, transform 0.3s;
  animation: stats-float-in 1.1s cubic-bezier(.77,0,.18,1) 1;
}

html[lang="ar"] .stats-overlap {
  margin-top: 0 !important;
}
html[lang="en"] .stats-overlap {
  margin-top: 0 !important;
}
@keyframes stats-float-in {
  0% { opacity: 0; transform: translateY(60px) scale(0.98); }
  80% { opacity: 1; transform: translateY(-8px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.stats-overlap .card .fa-users,
.stats-overlap .card .fa-check,
.stats-overlap .card .fa-user-tie,
.stats-overlap .card .fa-award {
  animation: stats-pulse 1.3s infinite alternate;
  transition: color 0.3s, filter 0.3s;
}
@keyframes stats-pulse {
  0% { filter: drop-shadow(0 0 0 #2563eb); }
  100% { filter: drop-shadow(0 0 12px #38bdf8); color: #38bdf8; }
}

.stats-overlap .counter {
  font-size: 3.2rem !important;
  font-weight: 900;
  color: #2563eb;
  transition: color 0.5s, text-shadow 0.5s, transform 0.5s, font-size 0.5s;
  text-shadow: 0 2px 8px rgba(37,99,235,0.10);
  letter-spacing: 1px;
}
.stats-overlap .counter.animated {
  color: #38bdf8;
  text-shadow: 0 4px 16px #38bdf8;
  transform: scale(1.22);
  font-size: 3.7rem !important;
} 

.stats-overlap .card h6 {
  font-size: 1.35rem !important;
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.stats-overlap .card {
  font-size: 1.13rem !important;
} 

h1, h2, h3, h4, h5, h6, .section-title {
    font-family: var(--font-ar);
    font-weight: 900;
    letter-spacing: 0.5px;
    color: var(--main-color);
}

.section-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--main-color-light);
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, var(--main-color-light) 60%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--main-color-light) 60%, var(--accent-color) 100%);
    border-radius: 2px;
    margin: 0.5rem auto 0 auto;
}

/* تحسين البطاقات الإحصائية */
.stats-overlap .card {
    background: linear-gradient(120deg, var(--white-color) 80%, var(--silver-color) 100%);
    border: 1.5px solid var(--accent-color);
    box-shadow: 0 4px 24px 0 rgba(56,189,248,0.10);
}
.stats-overlap .card .display-5 {
    color: var(--main-color-light);
    font-size: 2.5rem;
    font-weight: 900;
}

/* تحسين خلفية الهيرو */
.hero-section {
    background: linear-gradient(120deg, var(--main-color-light) 60%, var(--silver-color) 100%) !important;
    color: var(--white-color);
    position: relative;
    overflow: hidden;
    margin-top: 0 !important;
    padding-top: 40px !important;
    padding-bottom: 80px;
}
.hero-section h1, .hero-section p {
    color: #bfc6d1 !important;
    text-shadow: 0 2px 8px rgba(30,58,138,0.13);
}

/* تحسين الفوتر */
footer {
    background: var(--dark-color);
    border-top: 4px solid var(--main-color-light);
    color: var(--silver-color);
}
footer a {
    color: var(--accent-color);
}
footer a:hover {
    color: var(--main-color-light);
}

/* خطوط إنجليزية للعناوين إذا ظهرت */
:lang(en) h1, :lang(en) h2, :lang(en) h3, :lang(en) h4, :lang(en) h5, :lang(en) h6 {
    font-family: var(--font-en);
}

/* تحسين استجابة الموقع */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
    .card {
        padding: 1rem 0.5rem;
    }
    .hero-section {
        padding-top: 20px !important;
        padding-bottom: 40px;
    }
} 

/* إزالة كلاس .logo-bg وأي تأثيرات خاصة بالخلفية الدائرية للشعار */
/* يمكن حذف الكود التالي أو تركه فارغًا */
.logo-bg img { width: auto; height: auto; border-radius: 0; box-shadow: none; background: none; padding: 0; border: none; }
.header-logo .logo-bg img { width: auto; height: auto; } 

/* بطاقات عصرية مستوحاة من كبرى الشركات */
.card, .owl-carousel .card {
  border-radius: 1.6rem;
  background: linear-gradient(120deg, #f1f5f9 60%, #e0e7ef 100%);
  box-shadow: 0 6px 32px 0 rgba(37,99,235,0.16), 0 3px 12px 0 rgba(0,0,0,0.10);
  border: none;
  transition: box-shadow 0.3s, transform 0.3s, background 0.3s;
}
.card:hover, .owl-carousel .card:hover {
  box-shadow: 0 12px 48px 0 rgba(37,99,235,0.22), 0 6px 24px 0 rgba(0,0,0,0.13);
  background: linear-gradient(120deg, #e0e7ef 60%, #f1f5f9 100%);
  transform: translateY(-8px) scale(1.04);
}

/* حواف أكثر نعومة للصور داخل البطاقات */
.card-img-top, .rounded-circle {
  border-radius: 1.2rem !important;
  box-shadow: 0 2px 12px 0 rgba(30,58,138,0.10);
}

/* تحسين مظهر السلايدر */
.owl-carousel .card {
  margin: 0 8px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* تحسين مظهر أزرار السلايدر */
.owl-nav button.owl-next, .owl-nav button.owl-prev {
  background: linear-gradient(90deg, #2563eb 60%, #38bdf8 100%);
  border-radius: 50%;
  color: #fff !important;
  box-shadow: 0 2px 8px 0 rgba(37,99,235,0.13);
  border: none;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  transition: background 0.2s, box-shadow 0.2s;
}
.owl-nav button.owl-next:hover, .owl-nav button.owl-prev:hover {
  background: linear-gradient(90deg, #1e3a8a 60%, #2563eb 100%);
  box-shadow: 0 4px 16px 0 rgba(37,99,235,0.18);
}

/* تحسين المسافات داخل البطاقات */
.card .card-body {
  padding: 1.5rem 1rem 1rem 1rem;
}

/* تحسين مظهر النصوص داخل البطاقات */
.card-title {
  font-weight: 800;
  color: var(--main-color-light);
  margin-bottom: 0.5rem;
}
.card-text {
  color: var(--gray-color);
  font-size: 1.08rem;
} 

/* تحسين المسافات حول العناوين والأقسام */
.section-title, h2.section-title, h1, h2, h3, h4, h5, h6 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

/* مسافة إضافية بين العنوان والمحتوى في الأقسام */
.section-title + *, h2.section-title + *, h1 + *, h2 + * {
  margin-top: 1.2rem !important;
}

/* تحسين ترتيب العناصر في الشاشات الصغيرة */
@media (max-width: 768px) {
  .section-title, h2.section-title, h1, h2, h3, h4, h5, h6 {
    font-size: 1.2rem !important;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
  }
  .card, .owl-carousel .card {
    min-height: 260px;
    padding: 0.5rem 0.2rem;
  }
  .container, .container-fluid {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .row.g-4, .row.g-3, .row.g-2 {
    row-gap: 1rem;
  }
}

/* تعزيز التأثيرات الحركية (AOS) لتكون متناسقة */
[data-aos] {
  transition-property: opacity, transform;
  transition-duration: 0.8s;
  transition-timing-function: cubic-bezier(.77,0,.18,1);
}
[data-aos].aos-animate {
  opacity: 1 !important;
  transform: none !important;
} 

/* تدرج خلفية للأقسام */
section.container, section.container.my-5, section.container.my-4, section.container.my-3 {
  background: linear-gradient(120deg, #f8fafc 80%, #e0e7ef 100%);
  border-radius: 2.2rem;
  box-shadow: 0 2px 24px 0 rgba(30,58,138,0.07);
  margin-bottom: 2.5rem;
  padding: 2.5rem 1.5rem;
}

/* خطوط فاصلة أنيقة للعناوين */
.section-title::before, .section-title::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 3px;
  background: linear-gradient(90deg, #2563eb 60%, #38bdf8 100%);
  border-radius: 2px;
  margin: 0 8px;
  vertical-align: middle;
}

/* حركة خفيفة للصور عند المرور */
.card-img-top:hover, .rounded-circle:hover {
  transform: scale(1.06) rotate(-2deg);
  transition: transform 0.3s cubic-bezier(.77,0,.18,1);
}

/* تحسين الأزرار */
.btn, .btn-outline-primary {
  box-shadow: 0 2px 8px 0 rgba(37,99,235,0.10);
}
.btn:hover, .btn-outline-primary:hover {
  background: linear-gradient(90deg, #2563eb 60%, #38bdf8 100%);
  color: #fff !important;
  transform: scale(1.06);
}

/* وميض للأيقونات المهمة */
.pulse {
  animation: pulse 1.2s infinite alternate;
}
@keyframes pulse {
  0% { filter: drop-shadow(0 0 0 #2563eb); }
  100% { filter: drop-shadow(0 0 12px #38bdf8); }
}

/* تحسين النصوص الثانوية */
.card-text.text-muted, .lead, .section-title + p, h2.section-title + p {
  color: #64748b !important;
  font-size: 1.08rem;
  font-weight: 400;
}

/* خطوط رفيعة للعناوين الفرعية */
h3, h4, h5, h6 {
  font-weight: 600;
  color: #2563eb;
}

/* تحسين الفوتر والهيدر */
footer, header {
  box-shadow: none !important;
  border: none !important;
}
footer a.btn.btn-sm {
  transition: background 0.2s, color 0.2s;
}
footer a.btn.btn-sm:hover {
  background: linear-gradient(90deg, #2563eb 60%, #38bdf8 100%);
  color: #fff !important;
} 

/* فيديو البانر الرئيسي */
.hero-video-bg {
  object-fit: cover;
  z-index: 1;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

/* تفعيل الوضع الليلي */
body.dark-mode {
  --main-color: #fff;
  --main-color-light: #38bdf8;
  --accent-color: #2563eb;
  --gray-color: #cbd5e1;
  --silver-color: #222b3a;
  --white-color: #181c24;
  --dark-color: #f1f5f9;
  background: #181c24 !important;
  color: #f1f5f9 !important;
}
body.dark-mode .card, body.dark-mode .owl-carousel .card {
  background: linear-gradient(120deg, #222b3a 60%, #181c24 100%);
  color: #f1f5f9;
  box-shadow: 0 6px 32px 0 rgba(56,189,248,0.13), 0 3px 12px 0 rgba(0,0,0,0.18);
}
body.dark-mode .section-title, body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4, body.dark-mode h5, body.dark-mode h6 {
  color: #38bdf8 !important;
}
body.dark-mode .btn, body.dark-mode .btn-outline-primary {
  background: #222b3a;
  color: #38bdf8 !important;
  border-color: #38bdf8;
}
body.dark-mode .btn:hover, body.dark-mode .btn-outline-primary:hover {
  background: linear-gradient(90deg, #2563eb 60%, #38bdf8 100%);
  color: #fff !important;
}
body.dark-mode footer, body.dark-mode header {
  background: #181c24 !important;
  color: #cbd5e1 !important;
  box-shadow: 0 2px 16px 0 rgba(56,189,248,0.07);
}
body.dark-mode .card-text.text-muted, body.dark-mode .lead, body.dark-mode .section-title + p, body.dark-mode h2.section-title + p {
  color: #cbd5e1 !important;
} 

/* أيقونات FontAwesome في الوضع الليلي */
body.dark-mode i.fas,
body.dark-mode i.far,
body.dark-mode i.fal,
body.dark-mode i.fab,
body.dark-mode .fa,
body.dark-mode svg.fa-icon {
  color: #38bdf8 !important; /* أزرق فاتح/سماوي غامق */
  filter: drop-shadow(0 0 4px #181c24);
  transition: color 0.3s, filter 0.3s;
}
/* استثناء الأيقونات التي تحمل text-primary أو لون مخصص */
body.dark-mode .fa.text-primary,
body.dark-mode .fa.text-success,
body.dark-mode .fa.text-danger,
body.dark-mode .fa.text-warning,
body.dark-mode .fa.text-info {
  color: inherit !important;
  filter: none !important;
} 

/* خلفية الأقسام في الوضع الليلي */
body.dark-mode section,
body.dark-mode .container,
body.dark-mode main.container,
body.dark-mode .container.my-5,
body.dark-mode .container.my-4,
body.dark-mode .container.my-3 {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border: none !important;
}
body.dark-mode .stats-overlap {
  background: linear-gradient(120deg, #232b3a 80%, #181c24 100%) !important;
  box-shadow: 0 8px 32px 0 rgba(56,189,248,0.13), 0 3px 12px 0 rgba(0,0,0,0.18);
}
body.dark-mode .card, body.dark-mode .owl-carousel .card {
  background: linear-gradient(120deg, #232b3a 60%, #181c24 100%) !important;
  color: #f1f5f9;
  box-shadow: 0 6px 32px 0 rgba(56,189,248,0.13), 0 3px 12px 0 rgba(0,0,0,0.18);
} 

/* توضيح نصوص البطاقات في الوضع الليلي */
body.dark-mode .card p,
body.dark-mode .card .card-text,
body.dark-mode .card .card-body {
  color: #e6f0fa !important;
} 

body.dark-mode .card-img-top,
body.dark-mode .rounded-circle {
  box-shadow: 0 2px 12px 0 #181c24, 0 0 0 4px #232b3a;
  background: #232b3a !important;
  border: 2px solid #232b3a !important;
} 

.conta-logo { font-weight: bold; letter-spacing: 1px; }
.conta-blue { color: var(--accent-color); }
.conta-x { color: #fff; margin-inline-start: 2px; } 

#darkToggleBtn {
  background: #181c24 !important;
  color: #fff !important;
  border: 2px solid #2563eb;
  box-shadow: 0 2px 8px rgba(30,58,138,0.10);
  transition: background 0.2s, color 0.2s, border 0.2s;
}
#darkToggleBtn:hover {
  background: #2563eb !important;
  color: #fff !important;
}
body.dark-mode #darkToggleBtn {
  background: #fff !important;
  color: #181c24 !important;
  border: 2px solid #38bdf8;
}
body.dark-mode #darkToggleBtn:hover {
  background: #38bdf8 !important;
  color: #181c24 !important;
} 

body:not(.dark-mode) .navbar-nav .nav-link {
  color: #bfc6d1 !important;
}
body:not(.home) .navbar-nav .nav-link {
  color: #1e3a8a !important;
}
body.dark-mode .navbar-nav .nav-link {
  color: #fff !important;
}
body:not(.dark-mode) .navbar-nav .nav-link.active,
body:not(.dark-mode) .navbar-nav .nav-link:hover {
  color: #2563eb !important;
  font-weight: bold;
}
body.dark-mode .navbar-nav .nav-link.active,
body.dark-mode .navbar-nav .nav-link:hover {
  color: #38bdf8 !important;
  font-weight: bold;
} 

header, .navbar, .navbar:not(.navbar-collapse) {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
} 

header, .navbar, .container, .navbar > .container, .navbar > .container-fluid {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
body, html {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
} 

.navbar {
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s !important;
  will-change: background, box-shadow, transform;
}
.navbar.navbar-scrolled {
  background-color: rgba(40,48,60,0.97) !important;
  background-image: none !important;
  box-shadow: 0 8px 32px 0 rgba(30,58,138,0.22) !important;
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s !important;
} 

.navbar.navbar-scrolled, .navbar.navbar-scrolled .navbar-nav .nav-link, .navbar.navbar-scrolled .navbar-brand, .navbar.navbar-scrolled .lang-switcher a, .navbar.navbar-scrolled .navbar-nav .nav-link i {
  color: #fff !important;
} 

.hero-section {
  min-height: 100vh !important;
  height: 100vh !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  overflow: hidden;
}
.hero-section video.hero-video-bg,
.hero-section .hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh !important;
  min-height: 100vh !important;
  max-height: 100vh !important;
  object-fit: cover;
  z-index: 1 !important;
}
.hero-section > .mx-auto {
  position: relative;
  z-index: 2;
}
.hero-section h1, .hero-section p {
  color: #bfc6d1 !important;
  text-shadow: 0 2px 8px rgba(30,58,138,0.13);
} 

body:not(.dark-mode) .hero-section p {
  color: #bfc6d1 !important;
}
body.dark-mode .hero-section p {
  color: #fff !important;
} 

.stats-overlap .card {
  transition: box-shadow 0.4s cubic-bezier(.77,0,.18,1), transform 0.4s cubic-bezier(.77,0,.18,1);
  box-shadow: 0 2px 16px 0 rgba(37,99,235,0.10), 0 1.5px 6px 0 rgba(0,0,0,0.04);
  will-change: transform, box-shadow;
  opacity: 0;
  transform: translateY(40px) scale(0.98);
}
.stats-overlap .card.aos-animate {
  opacity: 1;
  transform: translateY(0) scale(1.03);
  box-shadow: 0 8px 32px 0 rgba(37,99,235,0.13), 0 3px 12px 0 rgba(0,0,0,0.08);
}
.stats-overlap .card:hover {
  transform: scale(1.06) translateY(-8px);
  box-shadow: 0 16px 48px 0 rgba(56,189,248,0.18), 0 6px 24px 0 rgba(0,0,0,0.13);
}
.stats-overlap .card i {
  animation: stats-pulse 1.3s infinite alternate;
  transition: color 0.3s, filter 0.3s;
}
@keyframes stats-pulse {
  0% { filter: drop-shadow(0 0 0 #2563eb); }
  100% { filter: drop-shadow(0 0 12px #38bdf8); color: #38bdf8; }
} 

.sub-hero {
  background: #2563eb !important;
}
.sub-hero h1, .sub-hero p {
  color: #1e3a8a !important;
} 

body:not(.home) .navbar, body:not(.home) header {
  background-color: rgba(40,48,60,0.97) !important;
  box-shadow: 0 8px 32px 0 rgba(30,58,138,0.22) !important;
}
body:not(.home) .navbar-nav .nav-link,
body:not(.home) .navbar-brand,
body:not(.home) .lang-switcher a,
body:not(.home) .navbar-nav .nav-link i {
  color: #fff !important;
} 

/* كارت تطبيقات الموبايل بخلفية صورة */
.mobile-app-card {
  min-height: 650px;
  height: 100%;
  background: none !important;
  background-image: url('img/mobile-app-bg.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  position: relative;
  color: #fff;
  overflow: hidden;
  z-index: 10;
  padding: 1.2rem 0.7rem !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.mobile-app-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(24,28,36,0.04); /* شفافية خفيفة جدًا */
  z-index: 1;
  border-radius: 1.6rem;
}
.mobile-app-card h5,
.mobile-app-card p,
.mobile-app-card i {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.mobile-app-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(24,28,36,0.72);
  z-index: 2;
  border-radius: 1.6rem;
  opacity: 0;
  transition: opacity 0.35s;
}
.mobile-app-card:hover::after {
  opacity: 1;
}
.mobile-app-card:hover h5,
.mobile-app-card:hover p,
.mobile-app-card:hover i {
  opacity: 1;
  visibility: visible;
  color: #fff !important;
  fill: #fff !important;
  z-index: 3;
  position: relative;
  text-shadow: 0 4px 24px #000, 0 2px 8px #222, 0 0 2px #fff;
}
.mobile-app-card h5 {
  font-size: 2.1rem !important;
  font-weight: 900 !important;
  letter-spacing: 1px;
}
.mobile-app-card p {
  font-size: 1.18rem !important;
  font-weight: 700 !important;
  margin-top: 0.7rem;
}
.mobile-app-card i {
  font-size: 2.7rem !important;
  margin-bottom: 1.1rem;
} 

#services .mobile-app-card,
section#services .mobile-app-card,
.container#services .mobile-app-card,
body[lang="ar"] #services .mobile-app-card,
body[lang="en"] #services .mobile-app-card,
body.dark-mode #services .mobile-app-card,
body:not(.dark-mode) #services .mobile-app-card {
  background: none !important;
  background-image: url('img/mobile-app-bg.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  z-index: 10;
} 

.webdev-card, .mobile-app-card {
  min-height: 650px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 2.2rem 0.7rem 1.2rem 0.7rem !important;
  position: relative;
  text-align: center;
}
.webdev-card i, .mobile-app-card i {
  margin-bottom: 1.1rem;
  font-size: 2.7rem !important;
}
.webdev-card h5, .mobile-app-card h5 {
  font-size: 2.1rem !important;
  font-weight: 900 !important;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.webdev-card p, .mobile-app-card p {
  font-size: 1.18rem !important;
  font-weight: 700 !important;
  margin-top: 0.7rem;
}

.webdev-card h5,
.webdev-card p,
.webdev-card i {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.webdev-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(24,28,36,0.72);
  z-index: 2;
  border-radius: 1.6rem;
  opacity: 0;
  transition: opacity 0.35s;
}
.webdev-card:hover::after {
  opacity: 1;
}
.webdev-card:hover h5,
.webdev-card:hover p,
.webdev-card:hover i {
  opacity: 1;
  visibility: visible;
  color: #fff !important;
  fill: #fff !important;
  z-index: 3;
  position: relative;
  text-shadow: 0 4px 24px #000, 0 2px 8px #222, 0 0 2px #fff;
} 

.ai-card h5,
.ai-card p,
.ai-card i {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.ai-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(24,28,36,0.72);
  z-index: 2;
  border-radius: 1.6rem;
  opacity: 0;
  transition: opacity 0.35s;
}
.ai-card:hover::after {
  opacity: 1;
}
.ai-card:hover h5,
.ai-card:hover p,
.ai-card:hover i {
  opacity: 1;
  visibility: visible;
  color: #fff !important;
  fill: #fff !important;
  z-index: 3;
  position: relative;
  text-shadow: 0 4px 24px #000, 0 2px 8px #222, 0 0 2px #fff;
} 

.consulting-card h5,
.consulting-card p,
.consulting-card i {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.consulting-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(24,28,36,0.72);
  z-index: 2;
  border-radius: 1.6rem;
  opacity: 0;
  transition: opacity 0.35s;
}
.consulting-card:hover::after {
  opacity: 1;
}
.consulting-card:hover h5,
.consulting-card:hover p,
.consulting-card:hover i {
  opacity: 1;
  visibility: visible;
  color: #fff !important;
  fill: #fff !important;
  z-index: 3;
  position: relative;
  text-shadow: 0 4px 24px #000, 0 2px 8px #222, 0 0 2px #fff;
}
.consulting-card h5 {
  font-size: 2.1rem !important;
  font-weight: 900 !important;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.consulting-card p {
  font-size: 1.18rem !important;
  font-weight: 700 !important;
  margin-top: 0.7rem;
}
.consulting-card i {
  margin-bottom: 1.1rem;
  font-size: 2.7rem !important;
} 

body.dark-mode footer .container {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border: none !important;
} 

html[lang="ar"] .section-title {
  margin-top: 5.5rem !important;
} 

/* Lower the section title in the English portfolio page for better visibility */
html[lang="en"] body main.container .section-title {
  margin-top: 5.5rem !important;
} 

/* ==== Portfolio Card Professional Styles (NEW) ==== */
.portfolio-card {
  border-radius: 1.2rem;
  box-shadow: 0 4px 32px rgba(37,99,235,0.13), 0 2px 8px rgba(0,0,0,0.10);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  background: #fff;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  margin: 0 !important;
}
.portfolio-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 40px rgba(37,99,235,0.18), 0 4px 16px rgba(0,0,0,0.13);
}
.portfolio-img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  max-height: 380px;
  object-fit: cover;
  display: block;
  background: #f8fafc;
  border-radius: 1.2rem 1.2rem 0 0;
  margin: 0 !important;
  padding: 0 !important;
}
@media (max-width: 768px) {
  .portfolio-img {
    min-height: 200px;
    max-height: 240px;
    height: 100%;
  }
}
@media (max-width: 480px) {
  .portfolio-img {
    min-height: 120px;
    max-height: 150px;
    height: 100%;
  }
}
.portfolio-overlay {
  background: linear-gradient(0deg, rgba(24,28,36,0.70) 80%, rgba(24,28,36,0.0) 100%);
  color: #fff;
  position: absolute;
  left: 0; right: 0; bottom: 0;
  min-height: 120px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 1.5rem 1.2rem 1.2rem 1.2rem;
  transition: background 0.3s;
  z-index: 2;
}
.portfolio-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.portfolio-desc {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 1rem;
}
.portfolio-btn {
  background: #fff;
  color: #2563eb;
  font-weight: bold;
  border-radius: 2rem;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(37,99,235,0.10);
  border: none;
  padding: 0.4rem 1.2rem;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}
.portfolio-card:hover .portfolio-btn {
  background: #2563eb;
  color: #fff;
} 

.portfolio-card:hover .portfolio-img {
  box-shadow: 0 8px 32px 0 rgba(37,99,235,0.25), 0 2px 8px rgba(0,0,0,0.18);
  filter: brightness(1.08) contrast(1.08);
  transition: box-shadow 0.3s, filter 0.3s;
  z-index: 3;
}
.portfolio-card:hover .portfolio-overlay {
  background: linear-gradient(0deg, rgba(24,28,36,0.45) 70%, rgba(24,28,36,0.0) 100%);
  color: #fff;
  transition: background 0.3s, color 0.3s;
  z-index: 3;
}
.portfolio-card:hover .portfolio-title,
.portfolio-card:hover .portfolio-desc {
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35), 0 1px 2px #2563eb;
  z-index: 4;
}
.portfolio-card:hover .portfolio-btn {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 2px 12px rgba(37,99,235,0.18);
  border: none;
  z-index: 4;
} 

html[lang="en"] .section-title {
  margin-top: 6.5rem !important;
} 

.service-card {
  border-radius: 1.2rem;
  box-shadow: 0 2px 16px 0 rgba(37,99,235,0.07), 0 1.5px 6px 0 rgba(0,0,0,0.04);
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 !important;
  margin: 0 !important;
}
.service-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-top-left-radius: 1.2rem;
  border-top-right-radius: 1.2rem;
  display: block;
  background: #fff;
  margin: 0 !important;
  padding: 0 !important;
}
.service-body {
  padding: 1.5rem 1.2rem 1.2rem 1.2rem;
  background: transparent;
}
body.dark-mode .service-card {
  background: #181f2a !important;
}
body.dark-mode .service-img {
  background: #181f2a !important;
}
body.dark-mode .service-title,
body.dark-mode .service-desc,
body.dark-mode .service-card i {
  color: #fff !important;
  text-shadow: 0 2px 8px #2563eb, 0 1px 2px #000;
}
.service-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #2563eb;
}
.service-desc {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 1rem;
} 

.btn-primary.rounded-pill {
  background: linear-gradient(90deg, #2563eb 60%, #38bdf8 100%);
  color: #fff;
  border: none;
  font-weight: bold;
  box-shadow: 0 2px 12px rgba(37,99,235,0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn-primary.rounded-pill:hover {
  background: linear-gradient(90deg, #38bdf8 60%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,99,235,0.18);
} 

header nav.navbar {
  z-index: 2000 !important;
  position: relative !important;
}
.hero-section,
.hero-section video,
.hero-section .hero-video-bg {
  z-index: 1 !important;
} 

.stats-row {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.glass-card {
  background: rgba(255,255,255,0.55);
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px 0 rgba(37,99,235,0.13), 0 2px 8px rgba(0,0,0,0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(56,189,248,0.13);
  padding: 2.2rem 1.2rem 1.5rem 1.2rem;
  transition: box-shadow 0.3s, transform 0.3s, background 0.3s;
  min-width: 180px;
}
body.dark-mode .glass-card {
  background: rgba(30, 41, 59, 0.65) !important;
  border: 1.5px solid rgba(56,189,248,0.10);
}
.stat-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.5rem auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8 60%, #2563eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px #38bdf8, 0 2px 8px #2563eb33;
  font-size: 2.2rem;
  color: #fff;
  position: relative;
  transition: background 0.3s, box-shadow 0.3s;
}
body.dark-mode .stat-icon {
  background: linear-gradient(135deg, #2563eb 60%, #38bdf8 100%);
  box-shadow: 0 0 24px #2563eb, 0 2px 8px #38bdf833;
}
.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: #2563eb;
  background: linear-gradient(90deg, #38bdf8 40%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.3rem;
  margin-top: 0.2rem;
  letter-spacing: 1px;
  transition: color 0.2s, background 0.2s;
}
body.dark-mode .stat-number {
  background: linear-gradient(90deg, #38bdf8 10%, #fff 90%);
  color: #fff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 1.15rem;
  color: #2563eb;
  font-weight: 700;
  margin-top: 0.2rem;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
body.dark-mode .stat-label {
  color: #38bdf8;
}
@media (max-width: 768px) {
  .glass-card { padding: 1.2rem 0.5rem 1rem 0.5rem; }
  .stat-icon { width: 48px; height: 48px; font-size: 1.5rem; }
  .stat-number { font-size: 2rem; }
}
/* حركة عد رقمية احترافية */
.stat-number {
  opacity: 0;
  transform: translateY(20px);
  animation: stat-fade-in 0.7s cubic-bezier(.77,0,.18,1) forwards;
  animation-delay: 0.2s;
}
@keyframes stat-fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
} 

/* تأثير ظل متدرج عند المرور */
.glass-card:hover {
  box-shadow: 0 12px 40px 0 #38bdf8cc, 0 4px 16px #2563eb33;
  transform: translateY(-8px) scale(1.06) rotate(-1deg);
  border-color: #38bdf8;
}
/* حركة نبض للأيقونة */
.stat-icon {
  animation: stat-pulse 1.4s infinite alternate;
}
@keyframes stat-pulse {
  0% { box-shadow: 0 0 24px #38bdf8, 0 2px 8px #2563eb33; }
  100% { box-shadow: 0 0 48px #38bdf8cc, 0 4px 16px #2563eb66; }
}
/* اهتزاز خفيف للرقم عند انتهاء العد */
.stat-number.shake {
  animation: stat-shake 0.4s cubic-bezier(.36,.07,.19,.97) 1;
}
@keyframes stat-shake {
  10%, 90% { transform: translateY(0) scale(1.05); }
  20%, 80% { transform: translateY(-2px) scale(1.08); }
  30%, 50%, 70% { transform: translateY(2px) scale(1.04); }
  40%, 60% { transform: translateY(-1px) scale(1.06); }
  100% { transform: translateY(0) scale(1); }
} 

/* احترافية نموذج التواصل */
.contact-card, .contact-form-wrapper {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(30,58,138,0.10), 0 1.5px 8px rgba(30,58,138,0.07);
  padding: 2.5rem 2rem 2rem 2rem;
  margin-bottom: 2rem;
  transition: box-shadow 0.3s;
}
.contact-card:hover, .contact-form-wrapper:hover {
  box-shadow: 0 8px 40px rgba(30,58,138,0.16), 0 2px 12px rgba(30,58,138,0.10);
}
.contact-form-wrapper h2, .contact-card h2 {
  font-weight: 900;
  color: #2563eb;
  letter-spacing: 1.5px;
  margin-bottom: 2rem;
  text-align: center;
  font-size: 2.2rem;
  border-bottom: 2px solid #2563eb22;
  padding-bottom: 0.7rem;
}
.contact-form-wrapper label, .contact-card label {
  font-weight: 600;
  color: #1e3a8a;
  margin-bottom: 0.4rem;
}
.contact-form-wrapper input, .contact-form-wrapper textarea,
.contact-card input, .contact-card textarea {
  border-radius: 12px;
  border: 1.5px solid #e0e7ef;
  background: #f8fafc;
  font-size: 1.1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: none;
}
.contact-form-wrapper input:focus, .contact-form-wrapper textarea:focus,
.contact-card input:focus, .contact-card textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px #2563eb22;
  background: #fff;
}
.contact-form-wrapper button, .contact-card button {
  border-radius: 24px;
  font-weight: bold;
  font-size: 1.15rem;
  padding: 0.7rem 2.5rem;
  background: linear-gradient(90deg, #2563eb 60%, #38bdf8 100%);
  color: #fff;
  border: none;
  box-shadow: 0 2px 12px rgba(30,58,138,0.10);
  transition: background 0.2s, box-shadow 0.2s;
}
.contact-form-wrapper button:hover, .contact-card button:hover {
  background: linear-gradient(90deg, #1e3a8a 60%, #2563eb 100%);
  box-shadow: 0 4px 24px rgba(30,58,138,0.18);
}
@media (max-width: 600px) {
  .contact-card, .contact-form-wrapper {
    padding: 1.2rem 0.5rem 1.5rem 0.5rem;
  }
  .contact-form-wrapper h2, .contact-card h2 {
    font-size: 1.3rem;
  }
} 

#testimonials-carousel,
#testimonials-carousel .item,
#testimonials-carousel .owl-stage,
#testimonials-carousel .owl-item {
  display: block !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: 200px !important;
  visibility: visible !important;
}
#testimonials-carousel {
  direction: ltr !important;
} 

#supportChatBtn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  background: linear-gradient(90deg, #2563eb 60%, #38bdf8 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  box-shadow: 0 4px 16px rgba(30,58,138,0.18);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
#supportChatBtn i {
  font-size: 2rem;
  margin: 0;
  pointer-events: none !important;
  user-select: none;
  -webkit-user-select: none;
} 
