.bg-get-in-touch {
    background-image: linear-gradient( rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.3)), url("../images/bg/bg-get-in-touch.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding-top: 70px;
    padding-bottom: 70px;
}

a .solution-card {
    cursor: pointer;
}

.solution-card {
    transition: all 0.15s ease-in-out;
    border-radius: 1rem;
    border: none;
}

.solution-card p {
    color: #17362c !important;
}

.solution-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    transition: all 0.15s ease-in-out;
}

.advantage-card {
    border: none;
}

.mega-wrapper {
    /* border-bottom: solid 1px #666666; */
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 500px;
    position: relative;
    height: 0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

#get-in-touch h2 {
    margin-bottom: 0px;
    letter-spacing: 3px;
}

#get-in-touch .col-md-9 {
    display: flex;
    justify-content: center;
    align-items: center;
}

#client-list .client-wrapper-img {
    min-height: 164px;
    padding: 0.25rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

#client-list .client-divider {
    margin-right: auto !important;
    margin-left: auto !important;
    border-top: 1px solid #eee;
    width: 80%;
}

#client-list .client-card h5 {
    font-weight: 600;
}

.client-list-card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
    background-color: #f9fdf2 !important;
    height: 100% !important;
    border: 0 !important;
}

.client-list-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    transition: all 0.15s ease-in-out;
}

#client-list .client-card-body {
    min-height: 220px;
}

.carousel-client-img-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 104px;
    margin-bottom: 15px;
}

.carousel-client-img {
    /* margin-left: auto !important;
  margin-right: auto !important;
  margin-top: auto !important; */
    max-height: 104px;
}

.carousel-client-hero-img-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 104px;
    margin-bottom: 15px;
}

.carousel-client-hero-img {
    /* margin-left: auto !important;
  margin-right: auto !important;
  margin-top: auto !important; */
    max-height: 104px;
    max-width: 150px;
}

.carousel-project-img-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    margin-bottom: 15px;
}

.carousel-project-img {
    /* margin-left: auto !important;
  margin-right: auto !important;
  margin-top: auto !important; */
    max-height: 300px;
    max-width: 250px;
}

/* General styling */
.client-grid {
    display: grid;
    grid-row-gap: 5px; /* Gap between rows */
    grid-column-gap: 30px; /* Gap between columns */
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Flexible grid */
}

/* Desktop: 7 logos in 1 row */
@media (min-width: 1024px) {
    .client-grid {
        grid-template-columns: repeat(7, 1fr); /* 7 logos per row */
    }
}

/* Tablet: 3-3-1 layout (center the last item) */
@media (min-width: 768px) and (max-width: 1023px) {
    .client-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 logos per row */
    }

    /* Make the last logo span 3 columns and center it */
    .last-item {
        grid-column: span 3; /* Take full row */
        justify-self: center; /* Center the logo */
        max-height: 250px;
    }
}

/* Mobile: 2-2-2-1 layout (center the last item) */
@media (max-width: 767px) {
     .client-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3 kolom di baris pertama */
        gap: 20px; /* Sesuaikan jarak antar item */
    }

    /* Baris pertama: 3 kolom */
    .client-grid .item:nth-child(1),
    .client-grid .item:nth-child(2),
    .client-grid .item:nth-child(3) {
        grid-column: span 1; /* Masing-masing ambil 1 kolom */
    }

    /* Baris kedua: 2 kolom */
    .client-grid .item:nth-child(4),
    .client-grid .item:nth-child(5) {
        grid-column: span 1; /* Masing-masing ambil 1 kolom */
    }

    /* Baris ketiga: 2 kolom */
    .client-grid .item:nth-child(6)
    {
        grid-column: span 1; /* Masing-masing ambil 1 kolom */
    }

    /* Make the last logo span 2 columns and center it */
    .last-item {
        grid-column: span 3; /* Take up the full width */
        max-width: 150px;
        justify-self: center; /* Center the logo */
    }
}

.client-grid-img-wrapper {
    display: flex; /* Flexbox for centering */
    align-items: center; /* Vertical centering */
    justify-content: center; /* Horizontal centering */
    padding: 10px;
    height: 100%; /* Full height of the grid cell */
}

.client-grid-img {
    max-width: 100%; /* Prevent overflow horizontally */
    height: auto; /* Maintain aspect ratio */
    width: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensures the logo fits within its boundaries */
}

#solutions-categories h3 {
    margin-bottom: 1rem;
    font-weight: 600;
}