/* Base Styles */
.premium-services {
    background: white;
    padding: 60px 0;
}

.section-header {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.section-header h2 {
    color: #333;
    font-size: 42px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.divider {
    width: 80px;
    height: 3px;
    background: #4e73df;
    border: none;
    margin: 0 auto 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 10px 10px 0 0;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 20px 20px 15px;
    line-height: 1.3;
}

.service-card p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin: 0 20px 20px;
    text-align: justify;
    font-family: sans-serif;
}

.service-button {
    display: inline-block;
    background: #4e73df;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    margin: 0 20px 20px;
    transition: background 0.3s ease;
}

.service-button:hover {
    background: #3a5bbf;
}

/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-header h2 {
        font-size: 36px;
    }
}

/* Mobile Styles (up to 767px) */
@media (max-width: 767px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .service-card {
        margin-bottom: 20px;
    }

    .service-image {
        height: 180px;
    }
}

/* Small Mobile Optimization */
@media (max-width: 480px) {
    .premium-services {
        padding: 40px 0;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .service-card h3 {
        font-size: 18px;
    }

    .service-card p {
        font-size: 15px;
    }

    .service-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

 /* //counter */
  /* Base Styles */
  .stats-section {
      background-image: url('img/nobg.jpg');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      padding: 80px 0;
      color: white;
  }

  .stats-container {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 30px;
      padding: 0 20px;
  }

  .stat-card {
      text-align: center;
      padding: 30px 20px;
      background-color: rgba(0, 0, 0, 0.4);
      border-radius: 10px;
      backdrop-filter: blur(5px);
      transition: transform 0.3s ease, background-color 0.3s ease;
  }

  .stat-card:hover {
      transform: translateY(-5px);
      background-color: rgba(0, 0, 0, 0.6);
  }

  .stat-icon {
      font-size: 40px;
      margin-bottom: 15px;
      color: #fff;
  }

  .stat-number {
      font-size: 32px;
      font-weight: bold;
      margin-bottom: 10px;
      line-height: 1;
  }

  .stat-title {
      font-size: 18px;
      line-height: 1.3;
  }

  /* Tablet Styles (768px - 1024px) */
  @media (max-width: 1024px) {
      .stats-container {
          grid-template-columns: repeat(2, 1fr);
      }

      .stat-card {
          margin-bottom: 20px;
      }
  }

  /* Mobile Styles (up to 767px) */
  @media (max-width: 767px) {
      .stats-section {
          padding: 60px 0;
      }

      .stats-container {
          grid-template-columns: 1fr;
          gap: 20px;
      }

      .stat-card {
          padding: 25px 15px;
      }

      .stat-icon {
          font-size: 36px;
      }

      .stat-number {
          font-size: 28px;
      }

      .stat-title {
          font-size: 16px;
      }
  }

  /* Small Mobile Optimization */
  @media (max-width: 480px) {
      .stats-section {
          padding: 40px 0;
      }

      .stat-icon {
          font-size: 32px;
      }

      .stat-number {
          font-size: 24px;
      }
  }

   /* Default animation for desktop */
   .marquee-container {
       animation: scroll 20s linear infinite;
   }

   /* Faster for tablets (768px - 1024px) */
   @media (max-width: 1024px) {
       .marquee-container {
           animation-duration: 10s;
       }
   }

   /* Even faster for mobile devices (up to 767px) */
   @media (max-width: 767px) {
       .marquee-container {
           animation-duration: 5s;
       }

       /* Optional: Make logos smaller on mobile */
       .marquee-inner div {
           width: 100px !important;
           margin: 0 10px !important;
       }

       .marquee-inner img {
           height: 50px !important;
       }
   }

   @keyframes scroll {
       0% {
           transform: translateX(0);
       }

       100% {
           transform: translateX(-50%);
       }
   }

   /* //Our primium services  */
   @media (min-width: 768px) and (max-width: 1024px) {
       .services-grid {
           display: grid;
           grid-template-columns: repeat(3, 1fr);
           gap: 20px;
           padding: 0 15px;
       }

       .service-card {
           margin-bottom: 0;
       }
   }