/* Bootstrap Override - ضعه في أول ملف styles.css */
:root {
  --bs-primary: #00a79d;
  --bs-secondary: #f7941d;
  --bs-accent: #2e3192;
  --divider: #2C3E50;
}

/* تخصيص أزرار Bootstrap */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: #15848f;
  border-color: #15848f;
}

.btn-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: #e07a20;
  border-color: #e07a20;
}

/* تحسينات للعناصر المتجاوبة */
.img-fluid {
  max-width: 100%;
  height: auto;
}

/* تغييرات خاصة بالقوائم المتجاوبة */
.navbar-nav .nav-link {
  padding: 10px 5px;
  font-weight: 500;
  position: relative;
  color: var(--accent-color);
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary-color);
}

/* تحسينات للاستجابة على الأجهزة المختلفة */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 26px;
  }

  .hero h2 {
    font-size: 20px;
  }

  .payment-logos img {
    height: 40px;
  }

  .cta-main-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 22px;
  }

  .hero h2 {
    font-size: 18px;
  }

  .section-title, .service-title, .business-title {
    font-size: 24px;
  }

  .cta-main-title {
    font-size: 2rem;
  }

  .feature-card {
    padding: 15px;
  }
}

/* Global Styles */

:root {
  --primary-color: #00a79d;
  /* تركواز */
  --secondary-color: #f7941d;
  /* برتقالي */
  --accent-color: #2e3192;
  /* أرجواني */
  --text-color: #333;
  --light-bg: #f5f9fa;
  --white: #ffffff;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
}

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

body {
  font-family: "Cairo", sans-serif;
  line-height: 1.6;
  background-color: var(--white);
}


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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  font-size: 14px;
}

/************************************** Start Navbar Styles **************************************/
.navbar-toggler {
  border: none !important;
}

.trial-btn {
  background-color: var(--secondary-color);
  color: white;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
}

.trial-btn:hover {
  background-color: white;
  border: 1px solid var(--secondary-color);
}

.demo-btn {
  background-color: var(--primary-color);
  color: white;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
}

.demo-btn:hover {
  background-color: white;
  border: 1px solid var(--primary-color);
}

.navbar .navbar-brand {
  width: 120px;
  height: 120px;
}

.navbar .navbar-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/************************************** Start Navbar Styles **************************************/

/************************************** Start Hero Section Styles **************************************/

.hero {
  padding: 4rem 0;
  position: relative;
  background-color: #eef7f7;
  overflow: hidden;
  min-height: 580px;
  background-image: url("../assets/images/hero.png");
  background-size: cover;
  background-repeat: repeat;
}

.hero h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--accent-color) !important;
  line-height: 1.3;
}

.hero h1 .primary-color {
  color: var(--primary-color);
}

.hero h2 {
  font-size: 26px;
  font-weight: 100;
  margin-bottom: 5px;
  color: var(--accent-color);
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--accent-color) !important;
  margin: 15px 0 5px;
  line-height: 1.5;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.hero-cta .register-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 40px;
  border-radius: 50px;
  font-weight: 900;
}

.hero-cta .contact-btn {
  background-color: var(--accent-color);
  color: white;
  padding: 12px 40px;
  border-radius: 50px;
  font-weight: 900;
}

.hero-cta .register-btn:hover,
.hero-cta .contact-btn:hover {
  transform: translateY(-3px);
}

.hero-illustration {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration img {
  max-width: 80%;
  position: relative;
}

.whatsapp-icon {
  position: fixed;
  bottom: 30px;
  /* right: 30px; */
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 167, 157, 0.3);
  cursor: pointer;
}

html[dir="ltr"] .whatsapp-icon {
  right: 30px !important;
}

html[dir="rtl"] .whatsapp-icon {
  left: 30px !important;
}

.whatsapp-icon:hover {
  transform: scale(1.1);
}

.whatsapp-icon img {
  width: 35px;
  height: 35px;
}

@media (max-width: 992px) {

  .hero-content {
    align-items: center;
    order: 2;
  }
  .hero-illustration {
    order: 1;
  }
  .hero-cta {
    margin: 30px auto;
    justify-content: center;
  }
}

/************************************** End Hero Section Styles **************************************/

/************************************** Start Join Experts Section **************************************/

.join-experts {
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-image: url("../assets/images/1Asset 47@4x.png");
  background-size: cover;
  background-repeat: repeat;
}

.experts-title {
  color: white;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.experts-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 40px;
  line-height: 1.4;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.responsive-devices {
  max-width: 800px;
  margin: 0 auto 40px;
}

.responsive-devices img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.2));
}

.cta-center {
  display: flex;
  justify-content: center;
}

.register-btn-alt {
  background-color: var(--accent-color);
  color: white;
  padding: 12px 50px;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 900;
  transition: all 0.3s ease;
}

.register-btn-alt:hover {
  background-color: var(--accent-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .experts-title {
    font-size: 26px;
  }

  .experts-description {
    font-size: 16px;
  }

  .join-experts {
    padding: 50px 0;
  }
}

/************************************** End Join Experts Section **************************************/

/************************************** Start Appointment Management Section **************************************/

.appointment-management {
  padding: 4rem 0;
  background-color: #ffffff;
}

.appointment-management .section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.underline-accent {
  height: 6px;
  width: 220px;
  background-color: #06a8a1;
  margin: 0 auto 50px;
  border-radius: 2px;
}

.appointment-layout {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  position: relative;
}

.dashboard-preview {
  width: 100%;
  max-width: 700px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  background-color: #faf7f2;
  border-radius: 12px;
  padding: 20px 20px 0 20px;
  /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08); */
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 80px 0px;
  width: 60%;
  max-width: 750px;
  position: relative;
}

.feature-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  transition: all 0.3s ease;
  padding: 20px 15px;
  border-radius: 12px;
  cursor: pointer;
}

.feature-icon {
  width: 75px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F7F7F7;
  border-radius: 12px;
  padding: 15px;
  transition: all 0.3s ease;
}

.feature-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.feature-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-color);
  margin: 15px 0 0 0;
  width: max-content;
  transition: all 0.3s ease;
}

/* Hover Effect */
.feature-item:hover {
  background-color: var(--bs-primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-item:hover .feature-icon {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.feature-item:hover .feature-icon img {
  filter: brightness(0) invert(1);
}

.feature-item:hover h3 {
  color: var(--white);
}

/* Active state */
.feature-item:active {
  transform: translateY(-2px);
}
/* تخطيط وسائط للشاشات المتوسطة والصغيرة */

@media (max-width: 992px) {
  .features-grid {
    grid-gap: 60px 100px;
  }
}

@media (max-width: 768px) {
  .feature-item {
    position: static;
  }

  .features-grid {
    grid-template-columns: 1fr;
    grid-gap: 30px;
    margin-top: 40px;
  }

  .dashboard-preview {
    width: 100%;
  }

  .feature-icon {
    width: 75px;
    height: 75px;
  }

  .feature-item h3 {
    font-size: 16px;
  }
}

/************************************** End Appointment Management Section **************************************/

/************************************** Start Mobile Payment Section **************************************/

.payment-retargeting {
  padding: 4rem 0;
}

.reports-employee-schedules {
  padding: 4rem 0;
}

.mobile-payment-section {
  text-align: center;
  border-radius: 20px;
  max-width: 820px;
  background-color: #fcfaf4;
  padding: 20px;
}

.mobile-payment-section .section-title {
  color: var(--accent-color);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.mobile-payment-section .underline-accent {
  margin-bottom: 25px;
}

.mobile-payment-section .payment-description {
  color: var(--accent-color);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto 30px auto;
}

.mobile-payment-image {
  max-width: 350px;
  margin: 0 auto;
}

.mobile-payment-image img {
  width: 70%;
}

/************************************** End Mobile Payment Section **************************************/

/************************************** Start Retargeting Section **************************************/

.retargeting-section {
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    var(--accent-color) 0%,
    var(--primary-color) 100%
  );
  color: var(--white);
  text-align: center;
  border-radius: 20px;
  /* margin: 40px auto; */
  max-width: 820px;
}

.retargeting-section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.retargeting-section p {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  max-width: 420px;
  margin: 0 auto 30px auto;
}

.retargeting-image {
  max-width: 500px;
  margin: 0 auto;
}

.retargeting-image img {
  width: 100%;
  border-radius: 8px;
  /* Rounded corners for the actual image */
  display: block;
}

/************************************** End Retargeting Section **************************************/

/************************************** Start Integrated Services Section **************************************/

.integrated-services {
  padding: 4rem 0;
  background-color: var(--white);
  text-align: center;
}

.service-title {
  color: var(--accent-color);
  font-size: 30px;
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.service-title::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 5px;
  background-color: #06a8a1;
  bottom: -5px;
  right: 0;
}

.service-description {
  color: var(--accent-color);
  font-size: 16px;
  font-weight: 600;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

.service-card {
  flex: 1;
  max-width: 450px;
  text-align: center;
  background-color: #fcfaf4;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.service-image {
  margin-bottom: 20px;
}

.service-name {
  color: var(--accent-color);
  font-size: 20px;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.service-name::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 5px;
  background-color: var(--primary-color);
  bottom: -10px;
  right: 50%;
  transform: translateX(50%);
}

.service-card p {
  color: var(--accent-color);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}

.services-cta {
  margin-top: 30px;
}

/************************************** End Integrated Services Section **************************************/

/************************************** Start Business Type Section **************************************/

.business-type {
  padding: 4rem 0;
  background-color: var(--accent-color);
  color: white;
  text-align: center;
  border-radius: 20px;
  max-width: 1100px;
  margin: 40px auto;
}

.section-small-header {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.business-title {
  font-size: 30px;
  margin-bottom: 5px;
  font-weight: 900;
}

.business-description {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 35px;
  line-height: 1.6;
}

.business-types {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.business-type-item {
  width: 200px;
  height: 200px;
  border: 2px solid #fff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.business-type-item.active,
.business-type-item:hover {
  background-color: white;
  color: var(--accent-color);
  /* Purple text for active/hover state */
}

.business-icon {
    width: 80px;
    height: 80px;
    border: 2px solid #fff;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.business-type-item.active .business-icon,
.business-type-item:hover .business-icon {
  background-color: var(--primary-color);
}

.business-type-item.active .business-icon img,
.business-type-item:hover .business-icon img {
  filter: brightness(0) invert(1);
}

.business-icon img {
  width: 35px;
  height: 35px;
}

.business-type-item p {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}

/* Additional media query for smaller screens */

@media (max-width: 768px) {
  .business-type-item {
    width: 200px;
    height: 200px;
  }

  .business-icon {
    width: 60px;
    height: 60px;
  }

  .business-icon img {
    width: 30px;
    height: 30px;
  }
}

/************************************** End Business Type Section **************************************/

/************************************** Start Testimonials Section **************************************/

.testimonials {
  padding: 4rem 0;
  background: #fcfcfd;
  text-align: center;
}

.testimonials .section-title {
  color: #2d3192;
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: bold;
}

.testimonials .section-subtitle {
  color: #2d3192;
  font-size: 18px;
  font-weight: 600;
  /* margin-bottom: 40px; */
}

.testimonials-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 70px;
}

.testimonial-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(45, 49, 146, 0.1);
  padding: 40px 30px 30px 30px;
  width: 350px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s;
}

.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(45, 49, 146, 0.18);
}

.quote-icon {
  background: #2d3192;
  color: #fff;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid #fff;
  box-shadow: 0 2px 8px rgba(45, 49, 146, 0.1);
}

.client-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid #2d3192;
  margin: 40px 0 15px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.client-name {
  color: #2d3192;
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 500;
}

.testimonial-text {
  color: #2d3192;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 0;
  margin-top: 10px;
  line-height: 1.7;
}

/* نجوم التقييم */
.stars {
  margin-bottom: 10px;
}

.stars i {
  color: #ffe234;
  font-size: 17px;
  margin: 0 1px;
}

/************************************** End Testimonials Section **************************************/

/************************************** Start Hero Section **************************************/

.hero-section {
  background: url(../assets/images/1Asset38@4x.png) no-repeat center center;
  background-size: cover;
  border-radius: 50px;
  padding: 4rem 0;
  margin: 40px auto;
  max-width: 1200px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content h1 {
  color: #fff;
  font-size: 2.1rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.hero-content p {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero-divider {
  width: 300px;
  height: 6px;
  background: var(--primary-color);
  border-radius: 3px;
  margin: 0 auto 30px auto;
}

.hero-image img {
  max-width: 500px;
  width: 100%;
  margin: 0 auto 30px auto;
  display: block;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 20px 70px;
  border-radius: 18px;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 230px;
  box-shadow: 0 2px 8px rgba(45, 49, 146, 0.1);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.hero-btn.primary {
  background: #2d3192;
  color: #fff;
}

.hero-btn.primary:hover {
  background: #1a1d5c;
}

.hero-btn.secondary {
  background: #f7f7f7;
  color: #2d3192;
  border: 1px solid #e0e0e0;
}

.hero-btn.secondary span {
  font-size: 0.9rem;
  margin-top: 4px;
}

/************************************** End Hero Section **************************************/

/************************************** Start Dashboard Display Section **************************************/

.dashboard-display {
  padding: 4rem 0;
  background-color: #fff;
}

.dashboard-flex {
  display: flex;
  align-items: center;
  gap: 40px;
}

.dashboard-features {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-card {
  color: #2d2c7b;
  padding: 20px;
  border-radius: 20px;
  border: 3px solid #06a8a1;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  transition: all 0.3s ease;
}

.feature-card:hover,
.feature-card.active {
  background-color: #06a8a1;
  color: white;
  box-shadow: 0 5px 15px rgba(6, 168, 161, 0.2);
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.feature-card p {
  font-size: 16px;
  line-height: 1.5;
}

#dashboard-feature-image {
    transition: all 0.3s ease;
    max-height: 400px;
    object-fit: contain;
}

/************************************** End Dashboard Display Section **************************************/

/************************************** Start Features Section **************************************/

.features-section {
  background: #F7F7F7;
  border-radius: 48px;
  padding: 4rem 0;
  margin: 40px auto;
  max-width: 1200px;
}


.features-content {
  flex: 1 1 400px;
  text-align: right;
}

.features-content h2 {
  color: #2d3192;
  font-size: 2.3rem;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
}

/* دعم اللغة العربية */
html[dir="rtl"] .features-content,
.features-content {
  text-align: right;
}

html[dir="rtl"] .features-content h2,
.features-content h2 {
  text-align: right;
}

/* دعم اللغة الإنجليزية */
html[dir="ltr"] .features-content,
.features-content {
  text-align: left;
}

html[dir="ltr"] .features-content h2,
.features-content h2 {
  text-align: left;
}

.features-divider {
  width: 255px;
  height: 6px;
  background: var(--primary-color);
  border-radius: 3px;
  margin: 0 0 30px auto;
}

html[dir="ltr"] .features-divider {
    margin: 0 auto 30px 0;
}

html[dir="rtl"] .features-divider {
    margin: 0 0 30px auto;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 35px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}

.features-list li {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  color: #262626;
  font-weight: 600;
}

.feature-icon-2 {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fcfaf4;
  border-radius: 12px;
  width: 70px;
  height: 70px;
  margin: 20px !important;
  font-size: 1.5rem;
  margin-left: 16px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
}

.features-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 3rem;
}

.features-btn {
  background: var(--primary-color);
  color: #fff;
  padding: 16px 38px;
  border-radius: 12px;
  font-size: 1.15rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s;
  margin-top: 10px;
}

.features-btn:hover {
  background: #0fa39a;
}

.features-image {
  flex: 1 1 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.features-image img {
  max-width: 270px;
  width: 100%;
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(45, 49, 146, 0.1);
  background: #fff;
}

@media (max-width: 900px) {

  .features-content {
    text-align: center;
  }

  .features-divider {
    margin: 0 auto 30px auto;
  }
}

/************************************** End Features Section **************************************/

/************************************** Start Employee Efficiency Section **************************************/

.employee-efficiency-section {
  background: #fafbfc;
  border-radius: 48px;
  padding: 4rem 0;
  margin: 40px auto;
  max-width: 1300px;
}

.employee-efficiency-image {
  flex: 1 1 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.employee-efficiency-image img {
  max-width: 500px;
  width: 100%;
}

.employee-efficiency-section-2 .employee-efficiency-image img {
  max-width: 320px !important;
  width: 100%;
}

.employee-efficiency-content {
  flex: 1 1 420px;
  text-align: right;
}

html[dir="ltr"] .employee-efficiency-content {
  text-align: left !important;
}

html[dir="rtl"] .employee-efficiency-content {
  text-align: right !important;
}

.employee-efficiency-content h2 {
  color: #2d3192;
  font-size: 2.3rem;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
}

.employee-efficiency-divider {
  width: 300px;
  height: 7px;
  background: var(--primary-color);
  margin: 0 0 30px auto;
}

html[dir="rtl"] .employee-efficiency-divider {
    margin: 0 0 30px auto;
}

html[dir="ltr"] .employee-efficiency-divider {
    margin: 0 auto 30px 0;
}

.employee-efficiency-content p {
  color: #262626;
  font-size: 1.25rem;
  margin-bottom: 35px;
  font-weight: 600;
  line-height: 1.9;
}

.employee-efficiency-btn {
  display: inline-block;
  background: #13c3b9;
  color: #fff;
  padding: 16px 38px;
  border-radius: 12px;
  font-size: 1.15rem;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s;
}

.employee-efficiency-btn:hover {
  background: #0fa39a;
}

@media (max-width: 900px) {

  .employee-efficiency-content {
    text-align: center;
  }

  .employee-efficiency-divider {
    margin: 0 auto 30px auto;
  }
}

/************************************** End Employee Efficiency Section **************************************/

/************************************** Start Payment Methods Section **************************************/

.payment-methods {
  background: url(../assets/images/1Asset38@4x.png) no-repeat center center;
  background-size: cover;
  border-radius: 48px;
  padding: 4rem 0;
  margin: 40px auto;
  max-width: 1200px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.payment-methods-inner {
  max-width: 900px;
  margin: 0 auto;
}

.payment-title {
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
}

.payment-divider {
  width: 270px;
  height: 7px;
  background: var(--primary-color);
  margin: 0 auto 20px auto;
}

.payment-desc {
  color: #fff;
    font-size: 1.4rem;
    margin-bottom: 35px;
    margin-top: 35px;
    font-weight: 600;
}

.payment-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.payment-logos img {
  height: 65px;
  border-radius: 12px;
  transition: transform 0.2s;
}

.payment-logos img:hover {
  transform: translateY(-5px) scale(1.07);
}

.payment-socials {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 10px;
}

.payment-social {
  width: 70px;
  height: 70px;
  background: #13c3b9;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: background 0.2s, transform 0.2s;
}

.payment-social.email {
  background: #2d3192;
}

.payment-social:hover {
  background: #0fa39a;
  transform: scale(1.08);
}

.payment-social.email:hover {
  background: #1a1d5c;
}

@media (max-width: 700px) {
  .payment-title {
    font-size: 1.4rem;
  }

  .payment-methods-inner {
    padding: 0 10px;
  }

  .payment-logos img {
    height: 38px;
    padding: 3px 10px;
  }

  .payment-social {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }
}

/************************************** End Payment Methods Section **************************************/

/************************************** Start Trusted By Section **************************************/

.trusted-by-section {
  text-align: center;
  margin: 4rem 0;
}

.trusted-title {
  color: #2d3192;
  font-size: 2.3rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.trusted-divider {
  width: 295px;
  height: 7px;
  background: var(--primary-color);
  margin: 0 auto 40px auto;
}

.trusted-card {
  background: #f7f7f7;
  border-radius: 32px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(45, 49, 146, 0.06);
}

.trusted-logo {
  height: 150px;
  width: auto;
}

.trusted-text {
  text-align: right;
}

.trusted-ar {
  font-size: 2rem;
  color: #555;
  font-weight: 700;
  margin-bottom: 6px;
}

.trusted-en {
  font-size: 1.2rem;
  color: #888;
  font-weight: 500;
}

@media (max-width: 700px) {
  .trusted-card {
    flex-direction: column;
    gap: 18px;
    padding: 30px 10px;
  }

  .trusted-logo {
    margin-left: 0;
    height: 100px;
  }

  .trusted-ar {
    font-size: 1.2rem;
  }

  .trusted-en {
    font-size: 1rem;
  }
}

/************************************** End Trusted By Section **************************************/

/************************************** Start Platform Support Section **************************************/

.platform-support-section {
  margin: 4rem 0;
}

.platform-feature-card {
  background: #f7f7f7;
  border-radius: 12px;
  padding: 32px 18px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(45, 49, 146, 0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.platform-feature-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.platform-feature-icon i {
  color: #13c3b9;
}

.platform-feature-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #262626;
  margin-bottom: 8px;
}

.platform-feature-desc {
  color: #262626;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.7;
  text-align: right;
}

.platform-support-content {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin-top: 30px;
}

.platform-support-content h2 {
  color: #2d3192;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 18px;
  line-height: 1.3;
}

.platform-support-desc {
  color: #262626;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 35px;
  margin-top: 40px;
}

.platform-support-btn {
  background: #13c3b9;
  color: #fff;
  padding: 10px 50px;
  border-radius: 12px;
  font-size: 1.15rem;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
}

.platform-support-btn:hover {
  background: #0fa39a;
}

@media (max-width: 1100px) {


  .platform-support-content {
    align-items: center;
    text-align: center;
    margin-top: 0;
  }
}

@media (max-width: 700px) {
  .platform-features-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .platform-support-content h2 {
    font-size: 1.3rem;
  }

  .platform-support-btn {
    font-size: 1rem;
    padding: 12px 22px;
  }
}

/************************************** End Platform Support Section **************************************/

/************************************** Start CTA Section **************************************/

.cta-main-section {
  text-align: center;
  padding: 4rem 0;
  background: #fff;
}


.cta-main-top {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.cta-main-title {
  color: var(--accent-color);
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 18px;
  line-height: 1.1;
}

.cta-main-sub {
  color: var(--accent-color);
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 40px;
}

.cta-main-link {
  text-decoration: underline;
  font-weight: bold;
  color: var(--accent-color);
}

.cta-main-actions {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.cta-main-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  padding: 15px 0;
  border-radius: 40px;
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(45, 49, 146, 0.1);
  border: none;
  cursor: pointer;
}

.cta-main-btn--primary {
  background: var(--primary-color);
  color: #fff;
}

.cta-main-btn--primary:hover {
  background: #08918c;
}

.cta-main-btn--secondary {
  background: var(--accent-color);
  color: #fff;
}

.cta-main-btn--secondary:hover {
  background: #1a1d5c;
}

.cta-main-btn-desc {
  font-size: 1rem;
  font-weight: 400;
  color: #e0f7f6;
  margin-top: 4px;
}

@media (max-width: 700px) {
  .cta-main-title {
    font-size: 2.1rem;
  }

  .cta-main-sub {
    font-size: 1.1rem;
  }

  .cta-main-btn {
    min-width: 240px;
    font-size: 1rem;
    padding: 16px 0;
  }

  .cta-main-actions {
    gap: 14px;
  }
}

/************************************** End CTA Section **************************************/

/************************************** Start Pricing Plans Section **************************************/

.pricing-plans {
  background: #F7F7F7;
  border-radius: 24px;
  padding: 4rem 0;
  margin: 40px auto;
  max-width: 1200px;
}


.pricing-title {
  color: #2d3192;
  font-size: 2.3rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.pricing-divider {
  width: 450px;
  height: 7px;
  background: var(--primary-color);
  margin: 0 auto 18px auto;
}

.pricing-desc {
  color: #262626;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 75px;
}

.plans-cards {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.plan-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 24px rgba(45, 49, 146, 0.1);
  padding: 38px 28px;
  width: 320px;
  text-align: justify;
  position: relative;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.plan-card:hover {
  box-shadow: 0 8px 32px rgba(45, 49, 146, 0.16);
}

.plan-name {
  color: #2d3192;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 18px;
  text-align: right;
}

.plan-desc {
  color: #262626;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 30px;
}

.plan-desc-2 {
  color: #262626;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 30px;
}

.plan-card ul {
  padding: 0 20px;
  margin: 0 20px 0 0;
  list-style: circle;
}

.plan-card ul li {
  color: #262626;
  font-size: 1.08rem;
  margin-bottom: 10px;
  line-height: 1.7;
}

.plan-main {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 8px 32px rgba(19, 195, 185, 0.18);
  z-index: 2;
  transform: scale(1.06);
   position: relative;
}

.plan-main .plan-desc,
.plan-main .plan-desc-2 {
  color: #fff;
}

.plan-main .plan-name,
.plan-main ul li {
  color: #fff;
}

.plan-badge {
  position: absolute;
  top: -18px;
  right: 24px;
  background: var(--accent-color);
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  padding: 6px 18px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(45, 49, 146, 0.1);
}



@media (max-width: 991px) {
  .pricing-title {
    font-size: 2rem;
  }

  .pricing-divider {
    width: 80%;
    max-width: 350px;
  }

  .pricing-desc {
    margin-bottom: 40px;
  }

  .plan-card {
    width: 100%;
    margin-bottom: 20px;
  }

  .plan-main {
    transform: scale(1);
    z-index: 1;
  }

  .plan-badge {
    top: -15px;
    right: 15px;
    font-size: 0.9rem;
    padding: 5px 15px;
  }
}

@media (max-width: 767px) {
  .pricing-plans {
    padding: 3rem 1rem;
    margin: 30px auto;
  }

  .pricing-title {
    font-size: 1.8rem;
  }

  .pricing-divider {
    width: 70%;
    height: 5px;
  }

  .pricing-desc {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .plan-name {
    font-size: 1.4rem;
  }

  .plan-desc, .plan-desc-2 {
    font-size: 1rem;
  }

  .plan-card ul li {
    font-size: 1rem;
  }

   .order-md-1 {
    order: 1;
  }
  .order-md-2 {
    order: 2;
  }
  .order-md-3 {
    order: 3;
  }
}

@media (max-width: 575px) {
  .pricing-title {
    font-size: 1.6rem;
  }

  .pricing-divider {
    width: 60%;
    height: 4px;
    margin-bottom: 15px;
  }

  .plan-card {
    padding: 30px 20px 25px;
  }
}

/************************************** End Pricing Plans Section **************************************/

/************************************** Start Feature Comparison Section **************************************/

.feature-comparison {
  padding: 40px 0 30px 0;
  margin: 40px auto;
  max-width: 1200px;
}

.comparison-table-wrapper {
  padding: 30px 18px 18px 18px;
  overflow-x: auto;
}

.comparison-header {
  width: 100%;
  margin-bottom: 0;
}

.plans-header {
  display: flex;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 50px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-color);
  text-align: center;
}

.feature-column {
  flex: 2 1 320px;
  text-align: right;
  padding: 0 18px;
}

.plan-column {
  flex: 1 1 120px;
  text-align: center;
  padding: 0 8px;
}

.comparison-table {
  width: 100%;
}

.feature-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e6e8f0;
  min-height: 48px;
  font-size: 1.05rem;
  background: transparent;
  transition: background 0.2s;
}

.feature-row:last-child {
  border-bottom: none;
}

.feature-name {
  flex: 2 1 320px;
  padding: 12px 18px 12px 8px;
  color: #222;
  font-weight: 500;
  text-align: right;
}

.feature-check,
.feature-text {
  flex: 1 1 120px;
  text-align: center;
  padding: 12px 8px;
}

.check-yes {
  display: inline-block;
  width: 28px;
  height: 28px;
  background: var(--primary-color);
  border-radius: 50%;
  position: relative;
}

.check-yes::after {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #fff;
  font-size: 1.1rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.check-no::after {
  content: "-";
}

.feature-text {
  color: #262626;
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 8px;
}

hr {
  border: none;
  border-top: 2px solid #13c3b9;
  margin: 18px 0 10px 0;
}

@media (max-width: 900px) {
  .plans-header,
  .feature-row {
    font-size: 0.95rem;
  }

  .feature-name {
    padding: 8px 6px 8px 4px;
  }

  .comparison-table-wrapper {
    padding: 10px 2px 2px 2px;
  }
}

/************************************** End Feature Comparison Section **************************************/

/************************************** Start Contact Form Section **************************************/

.contact-form-section {
  padding: 4rem 0;
}

.contact-form-bg {
    background: #F7F7F7;
  border-radius: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px;
}

.contact-form-flex {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}

.contact-form-main {
  flex: 2 1 500px;
}

.contact-form-title {
  color: var(--accent-color);
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 8px;
  text-align: right;
}

.contact-form-sub {
  color: #262626;
  font-size: 1rem;
  margin-bottom: 28px;
  text-align: right;
}

html[dir="rtl"] .contact-form-title,
html[dir="rtl"] .contact-form-sub {
    text-align: right;
}

html[dir="ltr"] .contact-form-title,
html[dir="ltr"] .contact-form-sub {
    text-align: left;
}

.contact-form-modern {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form-row {
  display: flex;
  gap: 16px;
}

.contact-form-modern input,
.contact-form-modern textarea {
  background: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 16px 14px;
  font-size: 1.1rem;
  color: #262626;
  width: 100%;
  outline: none;
  transition: box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(45, 49, 146, 0.04);
}

.contact-form-modern input:focus,
.contact-form-modern textarea:focus {
  box-shadow: 0 2px 12px rgba(19, 195, 185, 0.13);
}

.contact-form-modern textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.contact-form-count {
  color: #262626;
  font-size: 0.95rem;
}

.contact-form-btn {
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 0;
  font-size: 1.1rem;
  font-weight: 700;
  width: 220px;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form-btn:hover {
  background: rgb(45, 44, 123, 0.9);
}

.contact-form-help {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}

.help-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #ffffff;
  border-radius: 14px;
  padding: 18px 18px;
  -webkit-border-radius: 14px;
  -moz-border-radius: 14px;
  -ms-border-radius: 14px;
  -o-border-radius: 14px;
}

.help-icon {
  background: #fff;
  border-radius: 12px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent-color);
}

.help-title {
  color: var(--accent-color);
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 2px;
}

.help-desc {
  color: #262626;
  font-size: 0.98rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .contact-form-flex {
    flex-direction: column;
    gap: 30px;
  }

  .contact-form-help {
    margin-top: 0;
    flex-direction: row;
    gap: 16px;
    justify-content: center;
  }

  .help-item {
    flex-direction: column;
    align-items: flex-start;
    min-width: 160px;
  }
}

/************************************** End Contact Form Section **************************************/


/****************************** Start Footer ******************************/
.footer {
   position: relative;
  background-color: #fcfaf4; /* تغيير لون الخلفية للفوتر ليتناسب مع باقي الأقسام */
  color: var(--accent-color);
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  overflow: hidden;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
}

.footer-top {
  padding: 5rem 0 3rem;
  position: relative;
  background-color: #fcfaf4;
}

.footer-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(46, 49, 146, 0.05) 10%, transparent 10%) 0 0, radial-gradient(circle, rgba(46, 49, 146, 0.05) 10%, transparent 10%) 25px 25px;
  background-size: 50px 50px;
  opacity: 0.6;
  z-index: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.footer-column {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.footer-column:hover {
  transform: translateY(-5px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}


.footer-logo img {
   width: 75%;
  height: 75%;
  object-fit: contain;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 4px;
  transition: width 0.3s ease;
}

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

.footer-tagline {
  color: var(--foreground-500);
  margin-bottom: 0.5rem;
}

.footer-about {
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  border-radius: 50%;
  color: var(--accent-color);
  transition: all 0.3s ease;
  border: 1px solid rgba(46, 49, 146, 0.2);
  margin-right: 10px;
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  transform: translateY(-5px) rotate(360deg);
  box-shadow: 0 5px 15px rgba(0, 167, 157, 0.4);
  border-color: var(--primary-color);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  position: relative;
}

.footer-links li {
  position: relative;
  transition: all 0.3s ease;
}

.footer-links li::before {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--bs-primary);
  transition: width 0.3s ease;
}

.footer-links li:hover::before {
  width: 100%;
}

.footer-link {
  display: flex;
  align-items: center;
  color: var(--text-color);
  transition: all 0.3s ease;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

.footer-link i {
  margin-left: 0.5rem;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

html[dir="rtl"] .footer-link i {
    margin-left: 0.5rem;
}

html[dir="ltr"] .footer-link i {
    margin-right: 0.5rem;
}

.footer-link:hover {
  color: var(--primary-color);
  transform: translateX(-8px);
  padding-right: 5px;
}

.footer-link:hover i {
  transform: translateX(-3px);
  color: var(--primary-color);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  position: relative;
  z-index: 1;
}

.footer-contact-list::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 18px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.2), rgba(255,255,255,0));
  z-index: -1;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.footer-contact-item i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--primary-color);
  border-radius: 50%;
  color: white;
  flex-shrink: 0;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.footer-contact-item:hover i {
  background-color: #ffffff;
  color: var(--primary-color);
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 5px 15px rgba(0, 167, 157, 0.2);
}

.footer-contact-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--accent-color);
}

.footer-contact-item p {
  color: var(--text-color);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}


.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--content2);
  border-radius: var(--border-radius-full);
  font-size: 0.8rem;
  color: var(--foreground-500);
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.footer-badge:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(46, 49, 146, 0.1);
  text-align: center;
  position: relative;
  background-color: rgba(255, 255, 255, 0.5);
}

.footer-copyright {
  color: var(--accent-color);
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-link {
  color: var(--foreground-500);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-bottom-link:hover {
  color: var(--primary);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--accent-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  border: none;
  box-shadow: 0 10px 20px rgba(0, 167, 157, 0.3);
}

html[dir="rtl"] .back-to-top {
    right: 30px;
}

html[dir="ltr"] .back-to-top {
    left: 30px;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 25px rgba(46, 49, 146, 0.4);
}

.back-to-top i {
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.back-to-top:hover i {
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom-content {
    flex-direction: row;
    justify-content: space-between;
  }

  /* Hide navbar tools on mobile */
  .navbar-tools {
    display: none;
  }

  .footer-column:nth-child(1) {
    animation: fadeInUp 0.5s ease-out;
  }

  .footer-column:nth-child(2) {
    animation: fadeInUp 0.5s ease-out 0.1s;
    animation-fill-mode: both;
  }

  .footer-column:nth-child(3) {
    animation: fadeInUp 0.5s ease-out 0.2s;
    animation-fill-mode: both;
  }

  .footer-column:nth-child(4) {
    animation: fadeInUp 0.5s ease-out 0.3s;
    animation-fill-mode: both;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

/****************************** End Footer ******************************/
