
.services {
    padding: 50px 20px;
    text-align: center;
    background-color: #F0EDE6;
}

.services h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(270deg, #87A987, #000000, #87A987, #000000);
    background-size: 600% 600%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow-text 5s linear infinite, glow 2s ease-in-out infinite;
}

.services p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #555;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap:40px;
}

.service-item {
    background-color: #fafafa;
    padding: 20px;
    width: 500px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    border-radius: 8px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item h3 {
    text-align: center;
}

.service-item:hover {
    transform: scale(1.05) rotate(3deg);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background-color: #ecf5ec;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #87A987;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.service-item:hover::before {
    opacity: 1;
}

.service-item h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #87A987;
    transition: color 0.3s ease;
}

.service-item:hover h3 {
    color: #6E8E6E;
}

.service-item p strong {
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-item:hover p strong {
    transform: scale(1.1);
    color: #557A55;
}


/*Services 2 */
.service-list2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap:40px;
}

.service-item2 {
    background-color: #fafafa;
    padding: 20px;
    width: 800px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    border-radius: 8px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item2 h3 {
    text-align: center;
}

.service-item2:hover {
    transform: scale(1.05) rotate(3deg);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background-color: #ecf5ec;
}

.service-item2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #87A987;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.service-item2:hover::before {
    opacity: 1;
}

.service-item2 h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #87A987;
    transition: color 0.3s ease;
}

.service-item2:hover h3 {
    color: #6E8E6E;
}

.service-item2 p strong {
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-item2:hover p strong {
    transform: scale(1.1);
    color: #557A55;
}

@media (max-width: 768px) {
    .service-list {
        flex-direction: column;
        align-items: center;
    }

    .service-item {
        width: 90%;
        margin-bottom: 15px;
    }

    .services h1 {
        font-size: 2rem;
    }

    .services p {
        font-size: 1rem;
    }
}

.circle-images {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    gap: -30px;
}

.circle-images img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #6E8E6E;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.circle-images img:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.circle-images img:nth-child(2) {
    z-index: 2;
}

.circle-images img:first-child {
    margin-right: -40px;
    z-index: 1;
}

.circle-images img:last-child {
    margin-left: -40px;
    z-index: 1;
}

@media (max-width: 768px) {
    .circle-images img {
        width: 120px;
        height: 120px;
    }
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 5px #E6EFE6, 0 0 10px #E6EFE6;
    }
    50% {
        text-shadow: 0 0 15px #E6EFE6, 0 0 30px #E6EFE6;
    }
}

@keyframes rainbow-text {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}


.additional-images {
    padding: 40px 20px;
    background-color: rgba(193, 126, 173, 0.1);
    margin-top: 40px;
}

.image-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.image-container img {
    width: 23%;
    border: 6px solid #6E8E6E;
    border-radius: 10px;
    box-shadow: 0 5px 15px #87A987;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-container img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .image-container img {
        width: 100%;
        margin-bottom: 20px;
    }
}



