/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #000;
  font-family: "Poppins", sans-serif;
  color: #fff;
}

/* Container */
.services {
  max-width: 1200px;
  margin: auto;
  padding: 100px 20px 40px;
}

/* Section Title */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 30px;
}

/* Service Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  justify-items: center;
  align-items: center;
}

/* Boxes */
.box {
  width: 100%;
  max-width: 500px;
  height: 350px;
  background: #011bd7;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

/* Images */
.box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  margin: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.box img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Popular Services */
.Popular-Services {
  margin: 60px 0;
}
.Popular-Services-heading {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}
.Popular-Services-img {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.Popular-Services-img img {
  width: 45%;
  max-width: 400px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.Popular-Services-img img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Text Boxes */
.text-box {
  background: #0044ff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.text-content {
  display: flex;
  align-items: center;
  gap: 15px;
}
.text-content h3 {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
}
.arrow {
  font-size: 70px;
  font-weight: 600;
  line-height: 1;
}

/* Stylized Letters */
.g-style, .b-style, .a-style, .m-style, .d-style {
  color: #fff;
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
}
.g-style { font-family: "Kalam", cursive; font-size: 70px; }
.b-style { font-family: "Jolly Lodger", cursive; font-size: 70px; margin-right: 8px; }
.a-style { font-family: "Farsan", cursive; font-size: 50px; }
.m-style { font-family: "Mr Dafoe", cursive; font-size: 70px; margin-right: 8px; }
.d-style { font-family: "Courier New", monospace; font-size: 70px; font-weight: 200; }

/* Italic word */
.italic {
  font-style: italic;
  font-weight: 400;
  font-size: 2.4rem;
}

/* ===================== */
/* RESPONSIVE DESIGN     */
/* ===================== */

/* Tablets */
@media (max-width: 992px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .box {
    height: 320px;
  }
  .text-content h3 {
    font-size: 2rem;
  }
  .arrow {
    font-size: 50px;
  }
  .italic {
    font-size: 1.8rem;
  }
}

/* Mobiles */
@media (max-width: 600px) {
  .service-grid {
    grid-template-columns: 1fr; /* stack */
  }
  .box {
    height: 280px;
  }
  .text-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .text-content h3 {
    font-size: 1.6rem;
    text-align: center;
  }
  .arrow {
    font-size: 40px;
    padding: 0;
  }
  .italic {
    font-size: 1.3rem;
  }
  .Popular-Services-img img {
    width: 100%;
    max-width: 100%;
  }
}
