body {
  margin-top: 0;
  padding-top: 0;
}

.hero-section {
  background-color: #f9f9f9;
  padding-top: 2rem;
  padding-bottom: 3rem;
  margin-top: 2rem;
}

.navbar-brand img {
  height: 50px !important;
  width: auto !important;
}


.hero-section h1 span {
  color: #3c72c6;
}

.hero-img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}

.beneficios-bar {
  background-color: #3c72c6;
  border-radius: 8px;
  overflow: hidden;
  padding-top: 0.75rem;
padding-bottom: 0.75rem;
}

.beneficio-icon-responsive {
  width: 150px;
  height: auto;
}

@media (min-width: 768px) {
  .beneficio-icon-responsive {
    margin-right: 1.5rem;
  }
}

.btn-llamar {
  background: linear-gradient(90deg, #0d6efd, #0a58ca);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(13, 110, 253, 0.3);
  transition: all 0.3s ease;
  border: none;
}

.btn-llamar:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(13, 110, 253, 0.4);
  background: linear-gradient(90deg, #0b5ed7, #094ec0);
}

.btn-ver-servicios {
  background: linear-gradient(90deg, #6c757d, #495057);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(108, 117, 125, 0.3);
  transition: all 0.3s ease;
  border: none;
  margin-left: 10px;
}

.btn-ver-servicios:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(108, 117, 125, 0.4);
  background: linear-gradient(90deg, #5c636a, #3f454a);
}

/* ---- Animation عند الظهور ---- */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.benefit-box {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Delay لكل عنصر على حدة */
.benefit-box:nth-child(1) { animation-delay: 0.1s; }
.benefit-box:nth-child(2) { animation-delay: 0.2s; }
.benefit-box:nth-child(3) { animation-delay: 0.3s; }
.benefit-box:nth-child(4) { animation-delay: 0.4s; }

/* ---- Hover effect ---- */
.benefit-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* ---- زر التدرج ---- */
.btn-gradient {
  background: linear-gradient(to right, #0d6efd, #0a58ca);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-gradient:hover {
  background: linear-gradient(to right, #0a58ca, #0d6efd);
  transform: scale(1.03);
}

/* القسم العام للخدمات */
.section-servicios {
  margin-top: 80px;
  padding: 60px 20px;
  background-color: #f9f9f9;
  border-top: 1px solid #ddd;
}

/* العنوان الرئيسي */
.section-servicios h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 10px;
  color: #111;
}

/* الوصف التمهيدي */
.section-servicios .section-description {
  text-align: center;
  color: #555;
  margin-bottom: 50px;
}

/* شبكة الخدمات */
.grid-servicios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* كرت الخدمة */
.servicio-item {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.servicio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
}

/* صورة الخدمة */
.servicio-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* عنوان الخدمة */
.servicio-item h3 {
  font-size: 1.15rem;
  color: #222;
  margin-bottom: 10px;
}

/* وصف الخدمة */
.servicio-item p {
  font-size: 0.95rem;
  color: #666;
}

.servicio-item a {
  text-decoration: none;
}

.servicio-item a img {
  border: none;
  display: block;
  margin: 0 auto;
}

.leer-mas {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  background-color: #007bff;
  color: white;
  border-radius: 5px;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.leer-mas:hover {
  background-color: #0056b3;
}

.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  position: relative;
}

.cerrar {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.boton-servicio {
  display: block;
  width: 100%;
  padding: 10px;
  margin: 15px 0 10px;
  background-color: #007bff;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.boton-servicio:hover {
  background-color: #0056b3;
}

.boton-llamar {
  display: block;
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  background-color: #28a745;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.boton-llamar:hover {
  background-color: #1e7e34;
}

.experiencia-section {
  background-color: #eef6ff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  margin-bottom: 40px;
  padding: 50px 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.intro-text {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 40px;
}

.timeline {
  position: relative;
  padding-left: 20px;
  border-left: 3px solid #0074e4;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 40px;
}

.timeline-icon {
  position: absolute;
  left: -24px;
  top: 0;
  background: #0074e4;
  color: white;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.timeline-content h3 {
  margin: 0;
  font-size: 1.2em;
  color: #222;
}

.timeline-content p {
  margin: 5px 0 0;
  color: #555;
}

.btn-call {
  display: inline-block;
  background-color: #007bff;
  color: white;
  font-weight: bold;
  padding: 12px 25px;
  margin-top: 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-call:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

.llamada-btn-wrapper {
  text-align: center;
  margin: 40px 0;
}


.servicios-tipicos-section {
  background-color: #f9fcff;
  padding: 60px 20px;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  color: #222;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 40px;
}

.servicios-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.servicio-card {
  flex: 1 1 250px;
  max-width: 300px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.servicio-card:hover {
  transform: translateY(-5px);
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.15);
}

.servicio-icon {
  font-size: 36px;
  margin-bottom: 15px;
  color: #007bff;
}

.servicio-card h3 {
  font-size: 1.2rem;
  color: #007bff;
  margin-bottom: 10px;
}

.servicio-card p {
  font-size: 0.95rem;
  color: #444;
}

.section-image-text {
  background: linear-gradient(to right, #f8fbff, #ffffff);
  padding: 50px 20px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin: 60px 0;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease forwards;
}

@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(30px);}
  to {opacity: 1; transform: translateY(0);}
}

.section-image-text img {
  max-width: 420px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.section-image-text .text {
  flex: 1;
  min-width: 280px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);
  padding: 20px;
  border-radius: 12px;
}
.section-image-text .text h2,
.section-image-text .text h3 {
  margin-bottom: 10px;
  font-weight: bold;
}
.section-image-text .text p {
  margin-bottom: 16px;
  color: #444;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .section-image-text {
    flex-direction: column;
    text-align: center;
  }
}

.badge-urgente {
  display: inline-block;
  background: #ff4d4f;
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .section-image-text {
    flex-direction: column;
    text-align: center;
    padding: 30px 15px;
  }

  .section-image-text img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 12px;
  }

  .section-image-text .text {
    padding: 10px 15px;
    box-shadow: none;
    border: none;
    background: none;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.feature-box {
  background: #f4f9ff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}
.feature-box:hover {
  transform: translateY(-4px);
}

.feature-box span {
  font-size: 28px;
  display: block;
  margin-bottom: 8px;
}

.feature-box h4 {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: bold;
}

.feature-box p {
  font-size: 14px;
  color: #555;
}

.section-accesible,
.section-funcionamos {
  background: #f9fbff;
  padding: 40px 20px;
  margin: 50px auto;
  border-radius: 20px;
  max-width: 1000px;
  animation: fadeInUp 0.7s ease forwards;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.icon-title {
  justify-content: center; /* توسيط الأيقونة مع العنوان */
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.icon-title span {
  font-size: 28px;
}

.icon-title h2 {
  margin: 0;
  font-weight: bold;
  display: inline-block;
}

.section-accesible p,
.section-funcionamos p {
  background: #f9fbff;
  padding: 40px 20px;
  margin: 50px auto;
  border-radius: 20px;
  max-width: 1000px;
  animation: fadeInUp 0.7s ease forwards;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
  text-align: center; /* هذا يوسّط النص */
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

.section-funcionamos ol {
  display: flex;
  flex-direction: column;
  align-items: center; /* توسيط العناصر li داخل ol */
  justify-content: center;
  max-width: 600px;
  margin: 20px auto;
  padding-left: 0;
  text-align: left;
  list-style-position: inside;
}

.section-funcionamos li {
  width: fit-content;
  max-width: 100%;
  text-align: left;  /* ليبقى النص على اليسار */
  margin-bottom: 10px;
  color: #333;
  font-weight: 500;
  line-height: 1.5;
  padding-left: 10px;
}

@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(30px);}
  to {opacity: 1; transform: translateY(0);}
}

.video-especial {
  padding: 80px 20px;
  background: #fdfdfd;
  display: flex;
  justify-content: center;
}

.video-card {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  overflow: hidden;
}

.video-info {
  flex: 1 1 300px;
  padding: 40px;
  background: linear-gradient(135deg, #007BFF, #00C6FF);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-info h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.video-info p {
  font-size: 16px;
  line-height: 1.6;
}

.video-info button {
  margin-top: 25px;
  padding: 12px 24px;
  font-size: 16px;
  background: white;
  color: #007BFF;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

.video-info button:hover {
  background: #f2e7fe;
}

.video-box {
  flex: 1 1 400px;
  position: relative;
  min-height: 350px;
  overflow: hidden;
}

.video-animada {
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.video-animada.visible {
  opacity: 1;
  transform: translateY(0);
}

.video-animada iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .video-card {
    flex-direction: column-reverse;
  }

  .video-info {
    padding: 30px;
    text-align: center;
  }

  .video-info button {
    width: 100%;
  }
}


.mapa-especial {
  padding: 80px 20px;
  background: #fdfdfd;
  display: flex;
  justify-content: center;
}

.mapa-card {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  overflow: hidden;
}

.mapa-info {
  flex: 1 1 300px;
  padding: 40px;
  background: linear-gradient(135deg, #007BFF, #00C6FF);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mapa-info h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.mapa-info p {
  font-size: 16px;
  line-height: 1.6;
}

.mapa-info button {
  margin-top: 25px;
  padding: 12px 24px;
  font-size: 16px;
  background: white;
  color: #007BFF;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

.mapa-info button:hover {
  background: #e0f0ff;
}

.mapa-box {
  flex: 1 1 400px;
  position: relative;
  min-height: 350px;
  overflow: hidden;
}

.mapa-animada {
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.mapa-animada.visible {
  opacity: 1;
  transform: translateY(0);
}

.mapa-animada iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive */
@media (max-width: 768px) {
  .mapa-card {
    flex-direction: column;
  }

  .mapa-info {
    padding: 30px;
    text-align: center;
  }

  .mapa-info button {
    width: 100%;
  }
}


.call-btn-custom {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to right, #0288d1, #00bcd4);
  color: white;
  text-align: center;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 600;
  font-family: 'Segoe UI', sans-serif;
  z-index: 9999;
  box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease;
  text-decoration: none;
}

.call-btn-custom:hover {
  background: linear-gradient(to right, #039be5, #26c6da);
}

@media (min-width: 768px) {
  .call-btn-custom {
    font-size: 20px;
    padding: 16px 0;
  }
}

.form-section {
  background-color: #f4faff;
  padding: 50px 20px;
  border-radius: 16px;
  text-align: center;
  max-width: 700px;
  margin: 60px auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.form-section h2 {
  margin-bottom: 10px;
  font-size: 28px;
}

.form-section p {
  margin-bottom: 30px;
  color: #555;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#contact-form input,
#contact-form select,
#contact-form textarea {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}

.btn-form {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-form:hover {
  background-color: #0056b3;
}

@media (max-width: 600px) {
  .form-section {
    padding: 30px 15px;
  }
}

.form-alert {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 500;
  font-size: 15px;
  display: none;
  animation: fadeIn 0.4s ease-in-out;
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
}

.form-alert.success {
  background-color: #e7f9ef;
  color: #28a745;
  border: 1px solid #b2e2c5;
}

.form-alert.error {
  background-color: #ffe8e8;
  color: #d93025;
  border: 1px solid #f5b5b5;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-footer {
  background-color: #f8f9fa; /* نفس لون الهيدر الافتراضي */
  color: #000;
  padding: 60px 30px 30px;
  font-family: inherit;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  box-shadow: 0 -5px 15px rgba(0,0,0,0.05);
  width: 100%;
  margin: 0 auto;
  position: relative;
  left: 0;
  transform: none;
  padding-bottom: 80px;
}

.site-footer .footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.site-footer .footer-col {
  flex: 1;
  min-width: 200px;
}

.site-footer .footer-col.logo img {
  max-width: 160px;
  filter: brightness(1.2);
}

.site-footer .footer-col h4 {
  margin-bottom: 15px;
  font-size: 18px;
  border-bottom: 2px solid #555;
  display: inline-block;
  padding-bottom: 5px;
}

.site-footer .footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .footer-col ul li {
  margin-bottom: 8px;
}

.site-footer .footer-col ul li a {
  color: #000000;
  text-decoration: none;
  transition: 0.3s;
}

.site-footer .footer-col ul li a:hover {
  color: #0d6efd;
  text-decoration: underline;
}

.site-footer .footer-col p {
  margin-bottom: 8px;
  color: #000000;
}

.site-footer .social a {
  display: inline-block;
  margin-right: 12px;
  font-size: 20px;
  color: #000000;
  transition: 0.3s;
}

.site-footer .social a:hover {
  color: #0d6efd;
}

.site-footer .footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #666;
  margin-top: 20px;
  border-top: 1px solid #ccc;
  padding-top: 15px;
  font-size: 12px;
    line-height: 1.4;
    padding-bottom: 10px;
    padding-top: 15px;
}

@media (max-width: 768px) {
  .site-footer .footer-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 40px 20px 20px;
  }

  .site-footer .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .site-footer .footer-col {
    text-align: center;
  }

  .site-footer .footer-col.logo img {
    max-width: 120px;
  }
}

  .site-footer .footer-col.logo {
    margin-bottom: 20px;
  }


@media (max-width: 768px) {
  .site-footer .footer-bottom {
    font-size: 12px;
    padding-bottom: 10px;
    color: #555; /* لون أغمق */
  }
}

.site-footer .footer-col.logo img {
  max-width: 250px !important;
  height: auto !important;
}


@media (max-width: 767px) {
  .site-footer .footer-col.logo {
    display: flex;
    justify-content: center;
  }

  .site-footer .footer-col.logo img {
    max-width: 80px;
    height: auto;
  }
}

@media (min-width: 768px) {
  .site-footer .footer-col.logo img {
    max-width: 120px;
    height: auto;
  }
}

