@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

body{
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

.service-section {
  width: 100%;
  ;
}

.service-section h2 {
  text-align: center;
  font-size: 45px;
  font-weight: 600;
  color: aqua;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}


.card-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  width: 100%;
  height: 100%;
}

.card-box {
  width: 100%;
  max-width: calc(33.333% - 20px); 
  flex: 0 0 calc(33.333% - 20px);
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px rgb(7, 84, 146) double;
  background: #1f2a44;
  box-shadow: 0 10px 20px rgba(223, 219, 219, 0.1);
  border-radius: 15px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.card-box :hover {
  transform: translateY(-3px);
  border-radius: 15px;
  background: rgba(76, 114, 105, 0.34);
  color: #fff;
}

.card-container :hover {
  color: aliceblue;
  background: rgba(76, 114, 105, 0.34);
}

.card-content {
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 20px;
  color: antiquewhite;

}

/* .card-seo{
  margin: 22px;
}
.seo-btn{
  margin-top: 20px;
} */

h3 {
  font-weight: 600;
  font-size: 25px;
}

p {
  margin: 20px;
}

.card-content a {
  display: inline-block;
  border: 1px skyblue solid;
  border-radius: 5px 20px;
  font-size: 18px;
  font-weight: 500;
  padding: 10px 10px;

  background-color: #007bff;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.card-content a:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

.i-card {
  width: 50px;
  height: 50px;
  margin-top: 20px;
  color: rgb(76, 123, 252);
  font-size: 40px;
}

/* =========================
   TABLET (max-width: 992px)
========================= */
@media (max-width: 992px) {
  .card-box {
    max-width: calc(50% - 20px); /* ট্যাবলেটে ২টি কার্ড থাকবে */
    flex: 0 0 calc(50% - 20px);
    height: auto;
  }
}

/* =========================
   MOBILE (max-width: 576px)
========================= */
@media (max-width: 576px) {
  .card-box {
    max-width: 100%; /* মোবাইলে ১টি করে কার্ড ফুল ওয়াইথ পাবে */
    flex: 0 0 100%;
    height: auto;
  }

  .card-container {
    padding: 20px 15px;
  }
}