
@font-face {
    font-family: 'Gilroy';
    src: url('../gilroy/Gilroy-Light.woff') format('woff'),
         url('../gilroy/Gilroy-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gilroy';
    src: url('../gilroy/Gilroy-Regular.woff') format('woff'),
         url('../gilroy/Gilroy-Regular.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

.services-section {
    width: 100%;
    padding: 60px 0;
    box-sizing: border-box;
    font-family: 'Gilroy', sans-serif;
    background-color: #f8f8f8;
    position: relative; 
}

.services-container {
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}


.services-header {
    margin-bottom: 40px;
    padding: 0 0 0 5px;
}

.small-slogan {
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: #444;
    margin-bottom: 5px;
    opacity: 0.8; 
    line-height: 1.3;
}

.small-slogan .icon-img {
    width: 28px; 
    height: 28px;
    margin-right: 12px; 
    flex-shrink: 0;
    object-fit: contain;
}

.main-slogan-title {
    font-size: 48px;
    font-family: 'Gilroy', sans-serif;
    font-weight: 900;
    line-height: 1.1;
    color: #1a1a1a;
    margin: 0;
    max-width: 70%;
}




.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}


.slider-viewport {
    width: 100%;
    overflow: hidden; 
    
    padding: 10px 0 20px 0; 
}


.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}


.slide-item {
    
    flex: 0 0 33.333%; 
    max-width: 33.333%;
    padding: 0 10px; 
    box-sizing: border-box;
}


.service-banner {
    display: block;
    text-decoration: none;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    height: 100%; 
}

.service-banner:hover {
    transform: translateY(-3px);
}

.banner-image-wrapper {
    height: 600px;
    width: 100%;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s;
}


.slider-btn {
    background: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    font-size: 24px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s, color 0.3s;
    
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.slider-btn:hover {
    background: #1a1a1a;
    color: #fff;
}

.prev-btn {
    left: -25px; 
}

.next-btn {
    right: -25px; 
}


.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #1a1a1a;
    width: 30px; 
    border-radius: 5px;
}


.all-services-container {
    text-align: center;
    margin-top: 40px; 
}

.all-services-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Gilroy', sans-serif;
    font-weight: 400; /* Regular font */
    font-size: 16px;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #ccc; 
    padding-bottom: 5px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.all-services-link:hover {
    color: #000;
    border-bottom-color: #000;
    transform: translateY(-2px);
}

.all-services-link .arrow {
    margin-left: 8px;
    transition: margin-left 0.3s ease;
}

.all-services-link:hover .arrow {
    margin-left: 12px; 
}



@media (max-width: 768px) {
    
    .services-container, 
    .services-header {
        padding-left: 15px;
        padding-right: 15px;
    }

   
    .slide-item {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0; 
    }

    .service-banner {
        border-radius: 12px;
        margin: 0 5px; 
    }

    .banner-image-wrapper {
        height: 450px; 
    }
    
    .main-slogan-title {
        font-size: 32px;
        max-width: 100%;
    }
    
    .services-section {
        padding: 40px 0;
    }

    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .prev-btn { left: -5px; }
    .next-btn { right: -5px; }

    
    .all-services-container {
        margin-top: 30px;
    }
}