/* business */

h1 {
  font-weight: 700;
}

.sbms-textfield {
  margin: 0 auto;
  padding: 80px;
  display: flex;
  align-items: center;
  gap: 40px;
  width: 90%;
  margin-bottom: 40px;
}

.sbms-textfield p {
  text-align: justify;
}
.start-btn {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 5px;
}

.btn:hover {
  transition: 0.5s;
}
#double-arr button {
  background-color: #9122ff;
  color: white;
}
#double-arr {
  background-color: #9122ff;
  color: white;
  border: none;
  width: 40px;
}
#double-arr:hover {
  background-color: #0267ff;
  transition: 0.3s;
  width: 60px;
}
.know-saira{
  color: white;
}
/* sectors */

.drapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  width: 90%;
  margin: auto;
}

.container-sbms {
  height: 100%; /* Increase the height for images */
  overflow: hidden;
  align-items: center;
  margin: 0 auto;
  padding: 40px;
}

.sbms-sections {
  text-align: center;
  height: 500px;
  width: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: black;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  border: 0.5px solid #262626;
}

.sbms-sections img {
  height: 100%;
  object-fit: cover;
  max-height: 90%; /* Set maximum height for the image */
  object-fit: cover;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  transition: transform 0.6s;
  overflow: hidden;
}
.sbms-sections img:hover {
  opacity: 0.9;
}

.sbms-sections h3 {
  color: white;
  height: 100px;
  align-items: end;
  font-size: 18px;
  text-align: center;
  padding: 20px;
}

/* chooseus */
.purple {
  background-color: #3b0086;
  padding: 20px 40px;
  text-align: center;
  color: #fff;
}
.purple h3 {
  margin: 0 auto;
  padding: 5px;
  background-color: white;
  color: black;
  max-width: fit-content;
}
.purple h1 {
  padding: 10px;
}
.sbms-contents-chooseus {
  width: 90%;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: justify;
  height: 50vh;
}

.sbms-contents-chooseus span {
  color: #3b0086;
  font-weight: 700;
}
.sbms-contents-chooseus li {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
}

/* legacy */

.legacy-content {
  background-color: black;
  padding: 40px;
  text-align: center;
  color: white;
}
.legacy-container {
  width: 90%;
  margin: 0 auto;
}
.legacy-container h1 {
  color: red;
  margin: 0 auto;
}
.legacy-container p {
  margin-top: 10px;
}
.legacy-content h2 {
  margin-top: 20px;
}

/* sbms sectors */

.sbms-container {
  display: flex;
  flex-direction: row;
  margin-bottom: 40px;
  background-color: yellow;
}
.sbms-container img,
.sbms-container p {
  padding: 20px;
}
.content-body p {
  text-align: justify;
}

.content-body {
  width: 40%;
  background-color: yellow;
  padding: 20px;
}

.content-body img {
  width: 200px;
}

.sbms-sectors {
  width: 60%;
  background-color: #18048a;
  display: flex;
  justify-content: center;
  align-items: center;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 15% 100%);
}

.image-slider {
  position: relative;
  overflow: hidden;
  background-color: #18048a;

  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.slider-container {
  display: flex;
  overflow-x: hidden;
}

.slider-container img {
  width: 120px;
}

.prev-btn,
.next-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: white;
  padding: 10px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

h6 {
  background-color: #18048a;
  color: #fff;
  max-width: fit-content;
  margin-left: 20px;
}

.sbms-textfield {
  height: 50vh;
  margin-top: 40px;
}

/* swiper */
swiper-container {
  width: 100%;
  height: 100%;
}

swiper-slide {
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  width: 100%;
}
.card-prime .card{
  background-color: #383838;
  color: white;
  height: 400px;
  border: none;
}
.card-diamond .card{
  background-color: #3b0086;
  color: #fff;
  height: 400px;
  border: none;
}
.card-gold .card{
  background-color: yellow;
  height: 400px;
  border: none;
}
.card-silver .card{
  background-color: #bebfc5;
  height: 400px;
  border: none;
}
.card-bronze .card{
  background-color: #e97451;
  color: white;
  height: 400px;
  border: none;
}

.content p {
  padding: 40px;
  text-align: justify;
  font-weight: 400;
}

.card {
  padding: 20px;
  margin-bottom: 20px;
}

.card h3 {
  margin-bottom: 20px;
}

/* Media Query for PC Max View */
@media screen and (min-width: 768px) and (max-width: 1399px) {
  .drapper {
    display: grid;
    grid-template-columns: repeat(
      2,
      1fr
    ); /* Display 2 items in a row on medium screens */
    gap: 20px; /* Add some gap between items */
  }
  .legacy-container {
    width: 90%;
    margin: 0 auto;
  }
}

@media screen and (min-width: 1400px) {
  .drapper {
    display: grid;
    grid-template-columns: repeat(
      3,
      1fr
    ); /* Ensure only 3 items in a row on large screens */
    gap: 20px; /* Add some gap between items */
  }
}

/* Media Query for Mobile */
@media screen and (max-width: 1100px) {
  .sbms-contents-chooseus {
    flex-direction: column;
  }
  .sbms-textfield {
    padding: 20px;
    flex-direction: column;
  }

  .sbms-sections {
    width: 300px;
    height: 400px;
  }

  .sbms-container {
    flex-direction: column;
  }
  .sbms-sectors {
    width: 100%;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  .content-body {
    width: 100%;
  }
  .slider-container img {
    width: 80px;
  }
  .slider-container {
    flex-wrap: nowrap; /* Ensure only one row */
    overflow-x: hidden;
  }

  .slider-container img {
    width: 80px; /* Adjust image size for smaller screens */
    height: auto; /* Ensure images maintain aspect ratio */
  }
}

@media (max-width: 900px) {
  p{
    font-size: 14px;
  }
  h6 {
    font-size: 10px;
    padding: 2px;
  }
  .sbms-contents-chooseus li {
    font-size: 12px;
  }
  .purple h3 {
    font-size: 1.2rem;
  }
  .purple h1 {
    font-size: 1rem;
  }
  .legacy-container h2 {
    font-size: 14px;
    font-weight: 400;
    text-align: justify;
  }
  .legacy-container p {
    font-size: 12px;
    font-weight: 300;
    text-align: justify;
  }
  .card h1 {
    font-weight: 800;
  }

  .card h3 {
    font-size: 10px;
    font-weight: 700;
  }
  .card P {
    padding: 20px;
    font-weight: 400;
  }
  .card {
    width: 100%;
  }
  .drapper {
    width: 100%;
  }
  .sbms-sections {
    width: 250px;
  }
  .sbms-sections h3 {
    font-size: 14px;
    text-align: center;
    display: flex;
    justify-content: center;
  }
  .content p {
    font-size: 14px;
  }
}
