/* services.css */
body {
    font-family: 'Tajawal', sans-serif;
  }
  
  .page-banner {
    height: 250px;
    background: linear-gradient(to right, #2B2D42, #1E1F33);
    color: #fff;
  }
  
  /* خلفية القسم */
  .services-modern {
    background-color: #F1F1F1;
  }
  
  .service-modern-box {
    background-color: #fff;
    border-radius: 15px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    transition: all 0.3s ease-in-out;
    height: 100%;
  }
  
  .service-modern-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  }
  
  /* دائرة الأيقونة */
  .service-icon {
    width: 70px;
    height: 70px;
    background-color: #E0130A;
    color: #fff;
    font-size: 1.8rem;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .service-modern-box h4 {
    color: #2B2D42;
    font-weight: bold;
    margin-bottom: 15px;
  }
  
  .service-modern-box p {
    color: #555;
    font-size: 1rem;
  }
  


  .flip-card {
    background-color: transparent;
    width: 100%;
    height: 300px;
    perspective: 1000px;
  }
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.7s;
    transform-style: preserve-3d;
  }
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
  .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    backface-visibility: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
  }
  .flip-card-front {
    background: linear-gradient(135deg, #003366, #005588);
    color: white;
  }
  .flip-card-front i {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  .flip-card-back {
    background: #ffffff;
    color: #333;
    transform: rotateY(180deg);
  }
  .flip-card-back p {
    font-size: 1rem;
  }
  .flip-card-back a.btn {
    margin-top: 1rem;
  }