/* CSS for Home Page */

/* Hero Slider Section */
.hero-slider {
    position: relative;
  }
  
  .carousel-item {
    height: 80vh;
    min-height: 400px;
    max-height: 700px;
    background-color: #000;
  }
  
  .carousel-item img {
    object-fit: cover;
    height: 100%;
    filter: brightness(0.7);
  }
  
  .carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    padding: 0 15%;
  }
  
  .carousel-caption h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  .carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  /* Services Section */
  .services-section {
    background-color: var(--white);
  }
  
  .section-title h2 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
  }
  
  .section-title p {
    color: var(--dark-gray);
    font-size: 1.1rem;
  }
  
  .service-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
  }
  
  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  }
  
  .service-icon {
    background-color: var(--light-gold);
    color: var(--primary-blue);
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 2rem;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
  }
  
  .service-card h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
  }
  
  .service-card p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    min-height: 50px;
  }
  
  /* Testimonials Section */
  .testimonials-section {
    background-color: var(--light-gray);
    position: relative;
    padding: 4rem 0;
  }
  
  .testimonials-section .carousel-item {
    background-color: transparent;
    height: auto;
    min-height: auto;
    max-height: none;
    padding: 2rem 0;
  }
  
  .testimonials-section .carousel-inner {
    display: flex;
    align-items: center;
  }
  
  .testimonial-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    margin: 0 auto;
    text-align: center;
    position: relative;
    width: 100%;
    max-width: 800px;
  }
  
  .testimonial-text {
    font-size: 1.1rem;
    color: var(--dark-gray);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  
  .testimonial-author h5 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.25rem;
  }
  
  .testimonial-author p {
    color: var(--dark-gray);
    font-size: 0.9rem;
  }
  
  /* Carousel Controls */
  .testimonials-section .carousel-control-prev,
  .testimonials-section .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
  }
  
  .testimonials-section .carousel-control-prev {
    left: -20px;
  }
  
  .testimonials-section .carousel-control-next {
    right: -20px;
  }
  
  .testimonials-section .carousel-control-prev:hover,
  .testimonials-section .carousel-control-next:hover {
    opacity: 1;
  }
  
  /* Call to Action Section */
  .cta-section {
    background-color: var(--white);
  }
  
  .cta-card {
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 10px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
  }
  
  .cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background-color: var(--primary-gold);
    opacity: 0.1;
    border-radius: 50%;
    transform: translate(50%, -50%);
  }
  
  .cta-card h2 {
    font-weight: 600;
    margin-bottom: 1rem;
  }
  
  .cta-card p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
  }
  
  .cta-card .btn-primary {
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--primary-blue);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
  }
  
  .cta-card .btn-primary:hover {
    background-color: var(--white);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  /* Partners Section */
  .partners-section {
    background-color: var(--light-gray);
  }
  
  .partner-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    padding: 1.5rem;
    text-align: center;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .partner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  }
  
  .partner-card img {
    max-height: 80px;
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
  }
  
  .partner-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 991.98px) {
    .carousel-item {
      height: 60vh;
    }
    
    .carousel-caption {
      padding: 0 10%;
    }
    
    .carousel-caption h2 {
      font-size: 2rem;
    }
    
    .carousel-caption p {
      font-size: 1rem;
    }
    
    .service-card {
      margin-bottom: 2rem;
    }
  }
  
  @media (max-width: 767.98px) {
    .carousel-item {
      height: 50vh;
    }
    
    .carousel-caption h2 {
      font-size: 1.75rem;
    }
    
    .cta-card {
      padding: 2rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonials-section {
        padding: 2rem 0;
    }
    
    .testimonials-section .carousel-item {
        padding: 1rem 0;
    }
    
    .testimonials-section .carousel-control-prev,
    .testimonials-section .carousel-control-next {
        width: 30px;
        height: 30px;
    }
    
    .testimonials-section .carousel-control-prev {
        left: -15px;
    }
    
    .testimonials-section .carousel-control-next {
        right: -15px;
    }
  }
  
  @media (max-width: 575.98px) {
    .carousel-item {
      height: 40vh;
    }
    
    .carousel-caption h2 {
      font-size: 1.5rem;
    }
    
    .section-title h2 {
      font-size: 1.75rem;
    }
    
    .service-icon {
      width: 60px;
      height: 60px;
      line-height: 60px;
      font-size: 1.5rem;
    }
    
    .partner-card {
      height: 100px;
    }
    
    .partner-card img {
      max-height: 60px;
    }
  }
  
  /* RTL Support */
  html[lang="ar"] .carousel-caption {
    direction: rtl;
  }
  
  html[lang="ar"] .service-card,
  html[lang="ar"] .testimonial-card,
  html[lang="ar"] .cta-card {
    direction: rtl;
  }