* {
  padding: 0;
  margin: 0;
  text-decoration: none;
  box-sizing: border-box;
}

/* =========================
   Header / Hero Section
========================= */
.container {
  width: 100%;
  height: 40vh;
  background-image: url(https://i.ibb.co/KpBxB2n7/Chat-GPT-Image-Nov-12-2025-05-08-36-PM.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: left;
}

.sub-container {
  width: 40%;
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
}

h1 {
  font-size: 3.3rem;
  color: rgb(250, 251, 253);
  line-height: 1.2;
}

/* =========================
   Service Section
========================= */
.serviceo-section {
  width: 100%;
  padding: 5% 0 4% 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.serviceo-container {
  width: 85%;
  padding: 2%;
}

.serviceo-contant {
  width: 100%;
  height: fit-content;
  padding: 2px;
}

span {
  font-size: 15px;
  font-weight: 800;
  color: #7141b1;
  margin-bottom: 2px;
  display: inline-block;
  text-transform: uppercase;
}

.main-heading {
  font-size: 2.3rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  line-height: 48px;
  margin-bottom: 20px;
  color: #1b1d21;
}

/* Service Grid Boxes */
.serviceo-contant-boxs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  justify-content: center;
  margin-top: 3%;
}

.contant-box {
  width: 100%;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.sub-box {
  height: 250px;
  padding: 1.4em;
  background-color: #211b45;
  border: 1px solid #3a336a;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.sub-box:hover {
  background-color: #ffffff;
  transform: scale(1.01);
}

.sub-box h3 {
  font-size: 1.4rem;
  font-weight: bold;
  padding-bottom: 20px;
  color: #fff;
}

.sub-box p {
  font-family: sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #c0b8ec;
  text-align: left;
  padding-bottom: 15%;
}

.sub-box:hover h3 {
  color: #000;
}

.sub-box:hover p {
  color: #444;
}

.contant-logo {
  width: 180px;
  height: 172px;
  background-color: #342d5d;
  position: absolute;
  bottom: -75px;
  right: -65px;
  border-radius: 47%;
}

.contant-logo i {
  font-size: 45px;
  position: absolute;
  top: 18%;
  left: 18%;
  color: #fff;
}

.contant-logo img {
  width: 50px;
  position: absolute;
  top: 18%;
  left: 18%;
  color: #fff;
}

.learn-more {
  position: absolute;
  bottom: 18%;
  display: flex;
  align-items: center;
}

.learn-link {
  color: #3bbdf6;
  font-weight: 500;
  margin-left: 5px;
  transition: color 0.3s ease;
}

.learn-link:hover {
  color: #7141b1;
}


/* =========================
   Responsive Design
========================= */

/* Tablet Devices */
@media (max-width: 1024px) {
  .sub-container {
    width: 60%;
  }

  h1 {
    font-size: 2.6rem;
  }

  .main-heading {
    font-size: 2.12rem;
  }

}

/* Mobile Devices */
@media (max-width: 768px) {
  .container {
    height: 35vh;
    justify-content: center;
    text-align: center;
  }

  .sub-container {
    width: 80%;
  }

  h1 {
    font-size: 2rem;
  }

  .main-heading {
    font-size: 1.7rem;
    line-height: 36px;
  }

  .sub-box h3 {
    font-size: 1.2rem;
  }

  .sub-box p {
    font-size: 0.9rem;
  }

 

  .btn {
    width: 120px;
    height: 45px;
    font-size: 14px;
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .container {
    height: 30vh;
  }

  .sub-container {
    width: 90%;
  }

  h1 {
    font-size: 1.6rem;
  }

  .main-heading {
    font-size: 1.1rem;
  }

  .serviceo-contant-boxs {
    grid-template-columns: 1fr;
  }

  .sub-box {
    height: auto;
    padding: 1em;
  }

  .sub-box h3 {
    font-size: 1rem;
  }

  .sub-box p {
    font-size: 0.9rem;
  }


  .btn {
    width: 100px;
    height: 40px;
    font-size: 13px;
  }
}
