/*******************************/
/********* General CSS *********/
:root {
    --primary-color: #D4B483; /* Warm Gold */
    --secondary-color: #145A32; /* Deep Dark Green */
    --text-color: #333333; /* Dark Gray for text */
    --heading-color: #145A32; /* Deep Dark Green for headings */
    --link-color: #333333; /* Dark Gray for links */
    --link-hover-color: #D4B483; /* Warm Gold for link hover */
    --background-color: #FFFFFF; /* White for background */
    --container-background-color: #F7F7F7; /* Light Gray for container background */
    --section-background-color: #EFEFEF; /* Very Light Gray for section background */
    --divider-color: #E1E1E1; /* Light Gray for dividers */
    --text-muted-color: #9E9E9E; /* Medium Gray for muted text */
    --text-dark-color: #484848; /* Dark Gray for dark text */
    --inactive-text-color: #7B7B7B; /* Medium Gray for inactive text */
    --icon-color: #145A32; /* Deep Dark Green for icons */
    --icon-hover-color: #D4B483; /* Warm Gold for icon hover */
    --background-pastel: #EDEDED; /* Pastel background color */
}


/*******************************/
/******** Services CSS ********/
/*******************************/
.service {
    position: relative;
    padding: 35px 0 15px 0;
    background: var(--background-color);
}

.service #service-filters {
    padding: 0;
    margin: 25px 0 25px 0;
    list-style: none;
    font-size: 0;
    text-align: center;
}

.service #service-filters li {
    cursor: pointer;
    display: inline-block;
    margin: 4px;
    padding: 8px 10px;
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
    border-radius: 0;
    background: none;
    border: 2px solid var(--secondary-color);
    transition: .5s;
}

.service #service-filters li:hover,
.service #service-filters li.filter-active {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.service .service-item {
    position: relative;
    width: calc(33% - 20px);
    margin-bottom: 20px;
    margin-right: 20px; /* Margin between items */
    background: rgba(29, 36, 52, 0.04);
    transition: 0s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    padding: 0;
}

@media (max-width: 992px) {
    .service .service-item {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .service .service-item {
        width: 100%;
        margin-right: 0;
    }
}

.service .service-item:hover {
    background: rgba(29, 36, 52, 0.04);
}

.service .service-item-brief {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    width: 100%;
    padding: 5px;
    /*border: 1px solid var(--primary-color);*/
    transition: 0.3s;
}

.service .service-img {
    width: 100px;
    height: auto;
    overflow: hidden;
    margin-right: 10px;
    position: relative;
}

.service .service-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service .service-img::after {
    position: absolute;
    content: "";
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    background: transparent;
    border: 1px solid var(--background-color);
    z-index: 1;
}

.service .service-item:hover .service-img img {
    transform: scale(1.2);
}

.service .service-text {
    flex: 1;
    text-align: left;
}

.service .service-text h2 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.service .service-text h3 {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary-color);
    margin: 0;
}

.service .service-item .service-item-details {
    display: none;
    padding: 15px;
    height: auto;
    flex-direction: column;
}

.service .service-item.active .service-item-details {
    display: flex;
}

.icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.icons i {
    cursor: pointer;
    font-size: 18px;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.icons i.active {
    color: var(--secondary-color);
}
