* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Goldman", sans-serif;
}

html, body{
  overflow-x: hidden !important;
  max-width: 100%;
  background-image: url(photo/background-image.jpg);
}







.service-container{
  padding-top: 10rem;
  max-width: 95%;
  margin: 0px auto;
}
.service-showcase {
  padding: 0px;
}

.service-wrapper {
  max-width: 95%;
  margin: 0px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: center;
}

.service-text h2 {
  font-size: 5.5rem;
  margin-bottom: 20px;
}

.service-lead {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 25px;
  color: #333;
}

.service-text p {
  line-height: 1.8;
  margin-bottom: 20px;
  color: #555;
}

.service-points {
  list-style: none;
  margin-top: 20px;
  padding: 0px;
}

.service-points li {
  margin-bottom: 12px;
  font-size: 1rem;
  position: relative;
  padding-left: 24px;
}

.service-points li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #111;
  font-weight: bold;
}

/* Image Grid */
.service-images .image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 200px;
  gap: 15px;
}

.service-images .image-box {
  overflow-x: hidden;
  border-radius: 12px;
  background: #ddd;
}

.service-images .image-box img {
  width: 99%;
  height: 99%;
  object-fit: cover;
  transition: transform .4s ease;
}

.service-images .image-box:hover img {
  transform: scale(1.05);
}

/* Make one image taller for variety */
.service-images .image-box.tall {
  grid-row: span 2;
}





/* Reverse Service Layout */
.service-showcase.reverse .service-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}


/* ============================
   Devices smaller than 1000px
   ============================ */
@media (max-width: 1200px) {
  /* Stack everything in one column */
  .service-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-images {
    margin-top: 40px;
  }

  /* Ensure reverse layout does not reverse on small screens */
  .service-showcase.reverse .service-images {
    order: 0; /* Reset order */
    margin-bottom: 30px; /* Keep spacing consistent */
  }
}

@media (max-width: 1000px) {
  /* Stack everything in one column */
  .service-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-images {
    margin-top: 40px;
  }

  /* Ensure reverse layout does not reverse on small screens */
  .service-showcase.reverse .service-images {
    order: 0; /* Reset order */
    margin-bottom: 30px; /* Keep spacing consistent */
  }
}

/* ============================
   Phones (max-width: 480px)
   ============================ */
@media (max-width: 480px) {
  .service-showcase {
    padding-top: 15vh;
    width: 95%;
  }

  .service-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-text h2 {
    font-size: 2.2rem;
  }

  .service-lead {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }

  .service-text p,
  .service-points li {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .service-points li::before {
    left: -4px;
  }

  .service-images .image-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 180px;
    gap: 12px;
  }

  .service-images .image-box.tall {
    grid-row: span 1;
  }

  .service-images {
    margin-top: 30px;
  }
}

/* ============================
   Small Tablets (481px – 768px)
   ============================ */
@media (min-width: 481px) and (max-width: 768px) {
  .service-showcase {
    padding: 60px 24px;
  }

  .service-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-text h2 {
    font-size: 2.8rem;
  }

  .service-lead {
    font-size: 1.15rem;
  }

  .service-text p,
  .service-points li {
    font-size: 1rem;
    line-height: 1.6;
  }

  .service-images .image-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
    gap: 15px;
  }

  .service-images .image-box.tall {
    grid-row: span 1;
  }
}

/* ============================
   Devices smaller than 900px
   ============================ */
/* ============================
   Devices smaller than 900px
   ============================ */
@media (max-width: 900px) {
  /* Stack everything in one column for all service sections */
  .service-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* For reverse sections: force vertical stack with text first, images below */
  .service-showcase.reverse .service-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-showcase.reverse .service-text {
    order: 0; /* text first */
  }

  .service-showcase.reverse .service-images {
    order: 1; /* images below text */
    margin-top: 20px;
  }

  /* Images above text in all grids */
  .service-images .image-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 180px;
    gap: 12px;
  }

  .service-images .image-box.tall {
    grid-row: span 1;
  }

  /* Text adjustments */
  .service-text h2 {
    font-size: 2.8rem;
  }

  .service-lead {
    font-size: 1.2rem;
  }

  .service-text p,
  .service-points li {
    font-size: 1rem;
    line-height: 1.6;
  }

  .service-images {
    margin-top: 20px;
  }
}


/* ============================
   Tablets / Small Laptops (769px – 1000px)
   ============================ */
@media (min-width: 769px) and (max-width: 1000px) {
  .service-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .service-text h2 {
    font-size: 3.5rem;
  }

  .service-lead {
    font-size: 1.2rem;
  }

  .service-text p,
  .service-points li {
    font-size: 1rem;
    line-height: 1.7;
  }

  .service-images .image-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
    gap: 15px;
  }
}







.riot-advantage-section {
  position: relative;
  padding: 0px;
  max-width: 95%;
  overflow: hidden;
  padding-top: 15vh;
}

.advantage-wrapper {
  max-width: 95%;
  margin: 0px auto;
  position: relative;
  text-align: center;
}

/* Advantage Cards */
.advantage-cards h2 {
  font-size: 3rem;
  margin-bottom: 60px;
}

.advantage-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 60px;
}

.adv-card {
  background: #fff;
  border-radius: 18px;
  padding: 30px 20px;
  min-width: 260px;
  max-width: 300px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: default;
  z-index: 10;
}

.adv-card:hover {
  transform: translateY(-8px) rotateZ(-1deg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.adv-card h3 {
  font-size: 1.2rem;
  line-height: 1.4;
  margin: 0px;
}

/* Text section */
.advantage-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 15px auto;
  color: #222;
}

/* Responsive */
@media (max-width: 1200px) {
  .advantage-list {
    flex-direction: column;
    gap: 20px;
  }
  .adv-card {
    max-width: 90%;
    margin: auto;
  }
}

@media (max-width: 900px) {
  .advantage-list {
    flex-direction: column;
    gap: 20px;
  }
  .advantage-cards h2{
    font-size: 2.5rem;
  }
  .adv-card {
    max-width: 90%;
    margin: auto;
  }
}
