.service-description {
    position: relative;
}

.description-preview {
    line-height: 1.6;
    margin-bottom: 10px;
}

.read-more-link {
    color: #3b526a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more-link:hover {
    color: #3b526a;
    text-decoration: underline;
}

/* Image Gallery Styles */
.image-gallery {
    margin-bottom: 30px;
}

.main-image-container {
    position: relative;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.image-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.image-nav.prev {
    left: 15px;
}

.image-nav.next {
    right: 15px;
}

.image-counter {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    z-index: 10;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: #ccc #f1f1f1;
}

.thumbnail-container::-webkit-scrollbar {
    height: 8px;
}

.thumbnail-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.thumbnail-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.thumbnail-container::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.thumbnail-item {
    flex: 0 0 auto;
    width: 80px;
    height: 60px;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.thumbnail-item:hover {
    border-color: #007bff;
    transform: translateY(-2px);
}

.thumbnail-item.active {
    border-color: #007bff;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumbnail-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail-item:hover .overlay {
    opacity: 1;
}

.thumbnail-item.active .overlay {
    opacity: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-image {
        height: 300px;
    }

    .thumbnail-item {
        width: 60px;
        height: 45px;
    }

    .image-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .main-image {
        height: 250px;
    }

    .thumbnail-item {
        width: 50px;
        height: 38px;
    }

    .image-nav {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}
       
    