/* Services Page Styles */
.page-hero {
  height: 40vh;
  min-height: 300px;
  background: linear-gradient(rgba(0, 61, 122, 0.8), rgba(0, 61, 122, 0.8)), url("../images/services-hero-bg.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
}

.page-hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  animation: fadeInDown 1s ease;
}

.page-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease;
}

/* Service Section */
.service-section {
  padding: 80px 0;
}

.service-section:nth-child(even) {
  background-color: var(--light-gray);
}

.service-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.service-image img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.service-text h2 {
  font-size: 2rem;
  color: var(--secondary-blue);
  margin-bottom: 20px;
}

.service-text p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-text h3 {
  font-size: 1.3rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
  margin-top: 30px;
}

.service-list {
  list-style: none;
}

.service-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.service-list i {
  color: var(--primary-blue);
  margin-right: 10px;
}

.service-video {
  margin-top: 30px;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.service-cta {
  margin-top: 25px;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  .page-hero h1 {
    font-size: 2.5rem;
  }

  .service-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .page-hero {
    height: 30vh;
    min-height: 250px;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .page-hero p {
    font-size: 1rem;
  }

  .service-text h2 {
    font-size: 1.8rem;
  }

  .service-text h3 {
    font-size: 1.2rem;
  }

  .service-cta .cta-button {
    width: 100%;
    text-align: center;
  }
}

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

  .service-text h2 {
    font-size: 1.6rem;
  }

  .service-video {
    margin-top: 20px;
  }
}

.service-content.reverse {
  direction: rtl;
}

.service-content.reverse > * {
  direction: ltr;
}

 .service-content.reverse {
    direction: ltr;
  }