/* Fonts et variables */
@font-face {
  font-family: Sky;
  src: url(../css/sky.ttf);
}
html {
  scroll-behavior: smooth;
}
:root {
  --main-color: #0036FF;
  --basic-color: #fff;
  --bg-color: #F0F2F4;
  --select-color: #046BD2;
  --whatsapp-green: #25D366;
}

body {
  font-family: Sky, sans-serif !important;
  direction: rtl;
  text-align: right;
  position: relative;
  background-color: var(--bg-color);
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  width: 100%;
  border-radius: 0;
  margin-inline: 0;
  margin-top: 0;
  transition: all 0.3s ease-in-out;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  z-index: 1000;
  height: auto;
}

.navbar.scrolled {
  margin-inline: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-item {
  margin-inline: 12px;
}

.navbar-nav .nav-link {
  color: #333 !important;
  font-weight: bold;
  font-size: 17px;
  position: relative;
  transition: all 0.3s ease;
  padding: 10px 20px;
  margin: 0 5px;
  border-radius: 20px;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 5px;
  right: 20%;
  width: 0;
  height: 2px;
  background-color: var(--main-color);
  transition: width 0.3s ease;
  opacity: 0.8;
}

.navbar-nav .nav-link:hover::after {
  width: 60%;
}

.navbar-nav .nav-link:hover {
  color: var(--main-color) !important;
  transform: translateY(-2px);
  background-color: rgba(0, 54, 255, 0.05);
}

.navbar .navbar-brand {
  margin: 0;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.navbar .navbar-brand img {
  width: 60px;
  transition: all 0.3s ease;
  margin-top: 40px;
}

.navbar .navbar-brand strong {
  color: var(--main-color);
  font-weight: 800;
  margin-right: 5px;
}

.navbar-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.navbar .contact_us {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  background: var(--green);
  color: #fff;
  border-radius: 5px;
  padding: 10px 20px 8px;
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.btn-whatsapp:hover {
  background-color: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* Hero Section */
.hero-section {
  height: 100vh;
  min-height: 500px;
  max-height: 900px;
  overflow: hidden;
  position: relative;
}

.hero-section .swiper {
  height: 100%;
  width: 100%;
}

.hero-section .swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.hero-image-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.hero-image-container img,
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  animation: zoomInOut 20s infinite alternate;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  will-change: transform;
}

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

.hero-content {
  position: absolute;
  text-align: center;
  color: white;
  z-index: 2;
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 10px;
  max-width: 80%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.5rem;
}

/* Scroll to Top Button */
.scrollTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--main-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 999;
}

.scrollTop:hover {
  background: #0051FF;
  transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 992px) {
  .navbar {
    width: 100%;
    margin-inline: 0;
    border-radius: 0;
    height: auto;
  }
  .navbar-nav {
    justify-content: center;
  }
  .hero-section {
    height: 70vh;
    min-height: 400px;
    max-height: 600px;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 60vh;
    min-height: 350px;
    max-height: 500px;
  }
  .hero-image-container img,
  .hero-image {
    object-position: center center;
  }
}

@media (max-width: 576px) {
  .hero-section {
    height: 50vh;
    min-height: 300px;
    max-height: 400px;
  }
}

@media (max-width: 350px) {
  .hero-section {
    height: 45vh;
    min-height: 250px;
    max-height: 350px;
    overflow: hidden;
  }
  .hero-section .swiper {
    height: 100%;
    width: 100%;
  }
  .hero-section .swiper-slide {
    height: 100%;
    min-height: 250px;
  }
  .hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 250px;
    overflow: hidden;
  }
  .hero-image-container img,
  .hero-image {
    width: 100%;
    height: 100%;
    min-height: 250px;
    max-height: 350px;
    object-fit: cover;
    object-position: center center;
    display: block;
  }
}

    #services {
      padding: 80px 0;
      background-color: #f8f9fa;
    }

    .service-card {
      border: none;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
      height: 100%;
    }

    .service-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .service-card img {
      height: 200px;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

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

    .service-card-body {
      padding: 20px;
      text-align: center;
    }

    .service-card-title {
      font-size: 1.2rem;
      font-weight: 600;
      margin-bottom: 15px;
      color: #333;
    }

    .service-card-text {
      color: #666;
      font-size: 0.95rem;
  
    }
    a {
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
}

/* Networks Section */
.networks-section {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.network-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.network-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.network-card-image {
  height: 200px;
  overflow: hidden;
}

.network-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.network-card-body {
  padding: 20px;
  text-align: center;
}

.network-card-title {
  color: var(--main-color);
  font-weight: bold;
  margin-bottom: 10px;
}

.network-card-text {
  color: #666;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .network-card-image {
    height: 180px;
  }
}
/* Nearest Section */
.nearest-section {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.map-container {
  height: 450px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

.search-box .input-group {
  max-width: 500px;
  margin: 0 auto;
}

.search-box .form-control {
  border-radius: 0 25px 25px 0;
  border-right: none;
  padding: 10px 20px;
}

.search-box .btn {
  border-radius: 25px 0 0 25px;
  background-color: var(--main-color);
  border-color: var(--main-color);
}

.location-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  cursor: pointer;
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.location-card-icon {
  font-size: 2.5rem;
  color: var(--main-color);
  margin-bottom: 15px;
}

.location-card h5 {
  color: var(--main-color);
  font-weight: bold;
  margin-bottom: 10px;
}

.location-card p {
  color: #666;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .map-container {
    height: 300px;
  }
}
/* Exclusive Medical App Section */
.app-download-section {
  padding: 80px 0;

  text-align: center;
  direction: rtl;
}

.app-download-section h2 {
  color: #20c997;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.app-download-section p {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.app-features {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.download-btn {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.2s;
}

.download-btn:hover {
  transform: scale(1.05);
}

.download-btn img {
  width: 160px;
  height: auto;
}

/* Responsive */
@media (max-width: 600px) {
  .download-buttons {
    flex-direction: column;
    align-items: center;
  }
}

a {
    color: #fff;
    text-decoration: none;
    background-color: transparent;
}

    .privacy-container {
      max-width: 1000px;
      margin: 0 auto;
      padding: 20px;
      background-color: var(--basic-color);
      border-radius: 10px;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    }

    .privacy-title {
      color: var(--main-color);
      font-size: 2rem;
      font-weight: bold;
      margin-bottom: 20px;
      text-align: center;
    }

    .privacy-subtitle {
      color: var(--select-color);
      font-size: 1.5rem;
      font-weight: 600;
      margin: 30px 0 15px;
    }

    .privacy-text {
      color: #555;
      line-height: 1.8;
      margin-bottom: 15px;
      font-size: 1rem;
    }

    .privacy-list {
      margin: 15px 0;
      padding-right: 20px;
    }

    .privacy-list li {
      color: #555;
      line-height: 1.8;
      margin-bottom: 10px;
    }

    .back-button {
      display: inline-block;
      background-color: var(--main-color);
      color: var(--basic-color);
      padding: 10px 20px;
      border-radius: 25px;
      text-decoration: none;
      font-weight: bold;
      margin: 30px 0;
      transition: all 0.3s ease;
    }

    .back-button:hover {
      background-color: var(--select-color);
      transform: translateY(-2px);
      box-shadow: 0 4px 15px rgba(0, 54, 255, 0.3);
    }

    @media (max-width: 768px) {
      .privacy-container {
        padding: 15px;
      }

      .privacy-title {
        font-size: 1.7rem;
      }

      .privacy-subtitle {
        font-size: 1.3rem;
      }
    }
/* Footer Styles */
.footer-section {
  background-color: #0f172a;
  color: #cbd5e1;
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
}

.footer-section::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,37.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%231e293b' opacity='1'/%3E%3C/svg%3E")
    no-repeat center top;
  background-size: cover;
}

.footer-column {
  margin-bottom: 40px;
}

.footer-logo img {
  width: 80px;
  height: 80px;
  border: 3px solid #0036ff;
  padding: 5px;
}

.footer-logo h4 {
  color: #fff;
  font-weight: bold;
  margin-top: 15px;
}

.footer-description {
  color: #9ca3af;
  line-height: 1.7;
  margin: 20px 0;
}

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

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #0036ff;
  transform: translateY(-3px);
}

.footer-title {
  color: #fff;
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #0036ff;
}

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

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

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.footer-links a i {
  margin-left: 10px;
  color: #0036ff;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(-5px);
}

.contact-info {
  margin-top: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  color: #9ca3af;
}

.contact-item i {
  color: #0036ff;
  margin-left: 10px;
  margin-top: 2px;
  font-size: 1.1rem;
}

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

.copyright-text {
  color: #9ca3af;
  margin: 0;
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-bottom-links li a {
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.footer-bottom-links li a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-logo img {
    width: 60px;
    height: 60px;
  }

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

  .footer-bottom-links {
    flex-direction: column;
    gap: 10px;
  }
}
 /* أنيميشن عامة */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .animate-fade-in {
      animation: fadeIn 0.8s ease-out forwards;
    }

    /* تأثيرات عند التمرير */
    [data-aos] {
      opacity: 0;
      transition: all 0.8s ease-in-out;
    }

    [data-aos].aos-animate {
      opacity: 1;
    }

    /* تأثيرات على البطاقات */
    .service-card, .network-card, .location-card {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .service-card:hover, .network-card:hover, .location-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }

    /* تأثيرات على زر التواصل */
    .contact_us a {
      transition: all 0.3s ease;
    }

    .contact_us a:hover {
      transform: scale(1.05);
    }

    /* تأثيرات على زر التمرير للأعلى */
    .scrollTop {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background: #007bff;
      color: white;
      border: none;
      border-radius: 50%;
      width: 50px;
      height: 50px;
      display: none;
      cursor: pointer;
      transition: all 0.3s ease;
      z-index: 9999;
    }

    .scrollTop:hover {
      background: #0056b3;
    }

    /* تأثيرات على زر البحث */
    #searchButton {
      transition: all 0.3s ease;
    }

    #searchButton:hover {
      transform: scale(1.05);
    }

    /* تأثيرات على قسم التنزيل */
    .download-btn {
      transition: all 0.3s ease;
      margin: 0 10px;
    }

    .download-btn:hover {
      transform: scale(1.05);
    }

    /* تأثيرات على أيقونات التواصل الاجتماعي */
    .social-icon {
      transition: all 0.3s ease;
      margin: 0 5px;
    }

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

    /* تأثيرات على الروابط في الفوتر */
    .footer-links li {
      transition: all 0.3s ease;
      margin: 5px 0;
    }

    .footer-links li:hover {
      transform: translateX(-5px);
    }

    /* تأثيرات على قسم الخريطة */
    .map-container {
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
    }

    .map-container:hover {
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }