.services-main {
    height: 65vh;
    padding: 45px 0;
}

.services-main-bg img {
    object-fit: cover;
    width: 100%;
    height: 65vh;
}

.services-details-section {
    padding: 86px 0;
    position: relative;
}

.details-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.services_content {
    padding: 0 6rem;
    margin-top: 3.5rem;
}

.services_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.services_cards {
    width: 290px;
    position: relative;
    cursor: pointer;
    height: 350px;
}

.card_img img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 20px;
}

.services_div {
    position: absolute;
    width: 100%;
    height: 150px;
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s ease;
}

/* 🔶 ICON CIRCLE — AMBER LIGHT YELLOW */
.services_logo {
    background-color: #FFE8A3;
    width: 65px;
    height: 63px;
    margin: 0 auto;
    border-radius: 50%;
    align-content: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 2;
}

/* 🔶 VECTOR — AMBER ORANGE */
.services_logo img {
    width: 40%;
    filter: brightness(0) saturate(100%) invert(64%) sepia(91%)
        saturate(745%) hue-rotate(6deg) brightness(96%) contrast(98%);
}

.services_heading {
    background-color: #905e25;
    z-index: 1;
    clip-path: polygon(0 53%, 100% 0, 100% 100%, 0% 100%);
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    align-content: center;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    opacity: 0.9;
    transition: all 0.4s ease-in-out;
}

.services_heading p:nth-child(1) {
    color: #e0d7cd;
    font-size: 1.1rem;
    margin-top: 4rem;
    opacity: 1;
}

.services_detail {
    margin-top: 1rem;
    font-size: 0.9rem;
    display: none;
    padding: 0 2rem;
}

.services_cards:hover .services_div {
    height: 350px;
}

.services_cards:hover .services_logo {
    display: none;
}

.services_cards:hover .services_detail {
    display: block;
}

/* 🤎 HOVER CARD — LIGHTEST BROWN (SOFT CONTRAST) */
.services_cards:hover .services_heading {
    clip-path: none;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background-color: #bd864a;
}

.services_cards:hover .services_heading p:nth-child(1) {
    margin-top: 0;
}

@media screen and (max-width: 480px) {
    .services_cards {
        width: 320px;
    }

    .services_content {
        padding: 0 4rem;
    }
}
