/* ========================
   Service Provide Section
   ======================== */

.service-provide-container {
  max-width: 96.25rem !important;
  width: calc(100% - 2rem);
  margin: 0 1rem;
  /* padding: var(--space-14) var(--space-6); */
  margin-right: auto;
  margin-left: auto;
  border-radius: var(--radius-2xl);
  background-color: var(--bs-primary-800);
}

.service-provide-header-section {
  gap: var(--space-1);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-9);
}

.service-provide-section .text-description {
  margin: 0 auto;
  margin-bottom: var(--space-14);
  max-width: 38.125rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  margin-top: var(--space-14);
}

/* Service Card */
.service-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  background: white;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  min-height: auto;
}

.service-card-content {
  display: flex;
  flex-direction: column;
  /* gap: var(--space-7); */
  padding: 18px 20px;
  justify-content: space-between;
  border-right: none;
  /* border-bottom: 0.125rem solid var(--bs-success); */
}

.service-card-title {
  margin: 0;
  color: var(--bs-primary-700);
  font-size: var(--font-size-28);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-heading);
  font-family: var(--font-family-base);
  font-weight: 700;
}

.service-card-description {
  margin: 0;
  color: var(--bs-primary-700);
  font-size: var(--font-size-16);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-body);
}

.service-card-image {
  position: relative;
  height: 15.625rem;
  overflow: hidden;
  background: var(--bs-primary-800);
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card-content {
  position: relative;
  border-top: 1px solid var(--bs-primary-400);
}
.provide-arrow .btn {
  position: absolute;
  right: 15px;
  top: 18px;
  width: 30px;
  border: none;
  text-indent: -200px;
  white-space: nowrap;
  overflow: hidden;
  border-radius: 0;
  background-image: url(../../images/arrow-ico.svg);
  background-repeat: no-repeat;
  background-position: center;
  padding: 6px;
  background-color: transparent !important;
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */

/* X-Small devices (portrait phones, less than 576px) - Default/Base Styles */
/* Base styles defined above */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .service-provide-container {
    padding: var(--space-16) var(--space-8);
  }

  .services-grid {
    gap: var(--space-8);
    margin-top: var(--space-16);
  }

  .service-card-content {
    gap: var(--space-8);
    padding: var(--space-8) var(--space-7);
  }

  .service-card-title {
    font-size: var(--font-size-30);
  }

  .service-card-image {
    height: 17.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .service-provide-container {
    padding: var(--space-18) var(--space-12);
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-9);
    margin-top: var(--space-18);
  }

  .service-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .service-card-content {
    gap: var(--space-9);
    padding: var(--space-9) var(--space-9);
    border-right: none;
    border-bottom: 0.125rem solid var(--bs-success);
  }

  .service-card-title {
    font-size: var(--font-size-32);
  }

  .service-card-image {
    height: 18.75rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .service-provide-container {
    padding: 6.25rem 3.125rem;
    border-radius: 3.125rem;
    margin: 0 auto;
    width: 100%;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap-30);
    margin-top: var(--space-23);
  }

  .service-card {
    grid-template-columns: 1fr 1fr;
    min-height: 20rem;
  }

  .service-card-content {
    gap: var(--space-10);
    padding: var(--space-10) var(--space-10);
    border-right: 0.125rem solid var(--bs-success);
    border-bottom: none;
  }

  .service-card-image {
    height: 100%;
  }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Inherits from 992px and up */
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  /* Inherits from 1200px and up */
}

/* XXX-Large devices (1600px and up) */
@media (min-width: 1600px) {
  /* Inherits from 1400px and up */
}

@media (max-width: 767px) {
  .service-card-title {
    font-size: 18px;
    line-height: 1.4;
  }
  .service-card-image {
    height: auto;
  }
  .services-grid {
    margin-top: 10px;
  }
}
