/********** services.html **********/

.services {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    animation: fadeIn 0.3s ease-out 0s forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.services-container {
    position: relative;
    min-height: clamp(16rem, 30vh, 30rem);
    display: flex;
    align-items: center;
    justify-content:space-around;
    flex-direction: column;
    width: 100%; 
    padding-left: calc(100% / 4);
    padding-right: calc(100% / 4);
    margin-bottom: 0rem;
    overflow: hidden;
}

.services-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../images/geo6.1ef01740a617.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    image-rendering: crisp-edges;
    image-rendering: -webkit-crisp-edges;
    animation: zoomEffect 4s forwards;
    z-index: -1; 
}


.services h1 {
    font-family: 'Roboto', 'Signika', 'Arsenal', sans-serif;
    color: #fff;
    font-size: clamp(2.5rem, 3.5vw + 1rem, 4rem); 
    letter-spacing: 0.25rem;
    font-weight: 500;
    z-index: 2;
    animation: fadeIn 0.3s ease-out 0s forwards;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}







.services-carousel {
    max-width: 40%;
    width: calc(50rem - 2rem);
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    padding-top: 3rem;
    padding-bottom: 1.5rem;
}



.services-carousel-inner {
    display: flex;
    cursor: grab;
    overflow-x: auto;
    scrollbar-width: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    touch-action: pan-x;
    user-select: none;
    -webkit-user-select: none;
}

.services-carousel-inner::-webkit-scrollbar {
    display: none;
}

.services-carousel-item {
    display: inline-block;
    width: 6rem;
    height: 6rem;
    margin: 0 1.125rem;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.services-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.services-carousel-credit {
    width: 100%;
    max-width: 95%;
    margin-top: 0.75rem;
    font-weight: 200;
    font-family: 'Roboto', 'Signika', 'Arsenal', sans-serif;
    font-size: 0.7rem;
    line-height: 1.4;
    color: rgba(51, 51, 51, 0.33);
    text-align: center;
}


@media (max-width: 960px) {
    .services-carousel {
    max-width: 55%;
    width: calc(70rem - 2rem);
    }

    .services-details-card-image {
        min-height: 14rem;
        height: 14rem;
    }

    .services-details-card-panel {
        width: calc(100% - 1.25rem);
        margin: -2rem 0 0 auto;
        padding: 1.25rem 1.2rem 1.35rem 1.2rem;
        min-height: unset;
    }
}




.services-details {
    width: 100%;
    background: #F4F1EC;
    padding: 4.5rem 3rem 6rem 3rem;
    flex: 1 0 auto;
}


.services-details-container {
    width: calc(60rem - 2rem);
    max-width: 80%;
    margin: 0 auto;
}

.services-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.services-details-card {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: visible;
    min-height: 100%;
    border: 0px solid rgba(0, 0, 0, 0.05);  
}

.services-details-card-image {
    width: 100%;
    min-height: 16rem;
    height: 16rem;
    border-radius: 0;
    overflow: hidden;
    flex-shrink: 0;
    padding: 0.37rem;
}

.services-details-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.services-details-card-panel {
    position: relative;
    z-index: 2;
    width: 95%;
    margin: -4.5rem 0 0 auto;
    background: #fff;
    border-radius: 0;
    padding: 1rem 0.75rem 0.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 13rem;
}

.services-details-card-panel h3 {
    margin: 0 0 0.85rem 0;
    font-family: 'Roboto-Condensed', 'Roboto', 'Signika', 'Arsenal', sans-serif;
    font-size: clamp(1.37rem, 1.2vw, 1.75rem);
    font-weight: 600;
    line-height: 1.2;
    color: #303030;
    text-align: left;
}

.services-details-card-panel p {
    margin: 0;
    font-family: 'Roboto', 'Arsenal', sans-serif;
    font-size: clamp(0.87rem, 1.4vw, 1rem);
    font-weight: 300;
    line-height: 1.65;
    color: #333;
    text-align: left;
}

@media (max-width: 640px) {
    .services-details-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .services-details-card-image {
        min-height: 14rem;
        height: 14rem;
    }

    .services-details-card-panel {
        width: calc(100% - 1.25rem);
        margin: -2rem 0 0 auto;
        padding: 1.25rem 1.2rem 1.35rem 1.2rem;
        min-height: unset;
    }
}








