.service-categories-wrapper {

    margin: 0 auto;
    padding: 40px 20px;
}

.section-title {
    margin: 40px 0 20px;
    font-size: 30px;
    line-height: 30px !important;
    font-weight: 500;
    color: #222;
}

/* Default background */
.service-card {
    padding: 20px;
    border-radius: 14px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Hover background */
.service-card-link:hover .service-card {
    background-color: #fca395;
    transform: translateY(-4px);
}

/* Text color on hover */
.service-card-link:hover .service-title,
.service-card-link:hover .service-desc,
.service-card-link:hover .service-count {
    color: #ffffff;
}

/* Icon hover effect */
.service-icon img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Scale + white color on hover */
.service-card-link:hover .service-icon img {
    transform: scale(1.05);
    filter: brightness(0) invert(1);
    /* Makes image appear white */
}

.service-card .know-more-btn {
    margin-top: auto;
    background: #FCA395;
    border-radius: 50px;
    color: #fff;
    width: auto;
    padding: 5px 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
    background-color: #ffffff;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.service-icon-img {
    background: #FFFFFF;
    border-radius: 50px !important;
    padding: 20px;
}

.service-title {
    font-size: 18px;
    line-height: 24px !important;
    margin-bottom: 0;
    font-weight: 400;
    color: #fff;
}

.service-desc {
    font-size: 14px;
    margin-bottom: 15px;
    color: #474747;
}

.service-count {
    font-size: 13px;
    font-weight: 600;
    background: #fff;
    color: #474747;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
}

.service-card-link {
    text-decoration: none;
    display: block;
}

.service-card-link .service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-link .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.service-categories-wrapper .section-title {
    margin: 25px 0 10px 0;
    font-size: 26px;
}

.service-categories-wrapper {
    padding: 0;
}

.service-categories-wrapper .service-grid {
    gap: 10px;
}

h1.title {
    color: #fff;
}

.data-details {
    color: #fff;
}

/** Flower movivg*/
.flower-mover img {
    transform: translate3d(0px, 85px, 0px);
    -webkit-transform: translate3d(0px, 85px, 0px);
    will-change: transform;
}



/* Contact Form 7 input styling */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="date"],
.wpcf7-select,
.wpcf7-date,
.wpcf7 textarea {
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 10px 10px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
}

.wpcf7 textarea {
    max-height: 150px;
}

.wpcf7-form p {
    margin: 0;
    padding: 0;
}

/* Focus state */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: #FCA395;
}

/* Submit button styling */
.wpcf7 input[type="submit"] {
    margin-top: 20px;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
    cursor: pointer;
    font-size: 16px;
}

/* Hover effect */
.wpcf7 input[type="submit"]:hover {
    background-color: #000000 !important;
    color: #FFFFFF !important;
}

/* GRID LAYOUT */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.spa-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0 auto;
    padding-bottom: 20px;
}

.taxonomy-page-title {
    padding: 70px 0;
    margin-bottom: 0;
    text-align: center;
}

.taxonomy-page-title h1 {
    font-size: 48px;
    font-weight: 600;
    margin: 0;
    color: #fff;
}


/* LINK RESET */
.spa-service-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* IMAGE */
.spa-service-media {
    overflow: hidden;
}

.spa-service-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    border-radius: 10px;
}

.spa-service-card {
    border-radius: 20px;
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

.spa-service-card:hover .spa-service-image {}

/* CONTENT */
.spa-service-body {
    padding-top: 20px;
}

.spa-service-meta {
    font-size: 12px;
    letter-spacing: 1px;
    color: #9aa7ad;
    text-transform: uppercase;
}

.spa-service-title {
    font-size: 26px;
    line-height: 1.3;
    margin: 12px 0;
    color: #2c3e42;
}

.spa-service-excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: #6b6b6b;
}

/* READ MORE */
.spa-service-readmore {
    display: inline-block;
    margin-top: 18px;
    font-size: 12px;
    letter-spacing: 1.5px;
    background-color: #FCA395;
    color: #ffffff;
    padding: 6px 15px;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.spa-service-readmore:hover {
    background-color: #f89b8d;
    padding-bottom: 3px;
}


/** Single Service */
/* Page Title Banner */
.service-page-title {
    background: #f7f4ef;
    padding: 185px 0 98px;
    text-align: center;
    margin-top: -147px;
}

.service-page-title {
    position: relative;
}

.service-page-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    /* opacity overlay */
    z-index: 0;
}

.service-page-title>* {
    position: relative;
    z-index: 1;
}

.service-page-title h1 {
    font-size: 48px;
    font-weight: 600;
    margin: 0;
}

/* Featured Image */
.service-featured img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    margin: 60px 0;
}

/* Content Centered */
.service-content {
    max-width: 1200px;
    font-family: "Poppins", sans-serif;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
}

/* Images inside content */
.service-content img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    margin: 50px 0;
}

/* Back Button Section */
.service-back {
    margin: 80px 0;
    text-align: center;
}

/* Button (NOT full width) */
.btn-back {
    display: inline-block;
    padding: 14px 40px;
    background: #000;
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 50px !important;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: left;


}

.btn-back:hover {
    background: #dbc78a !important;
    color: #ffffff;
}

.swiper-slide .swiper-slide-image {
    height: 500px;
    object-fit: cover;
}





/* RESPONSIVE */
@media (max-width: 640px) {
    .spa-services-grid {
        grid-template-columns: 1fr;
        padding: 40px 15px;
    }

    .spa-service-title {
        font-size: 22px;
    }
}


@media (max-width: 1024px) {

    .service-categories-wrapper {
        padding: 10px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .spa-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card {
        padding: 18px;
        border-radius: 12px;
    }

    .service-icon-img {
        padding: 18px;
    }

    .service-title {
        font-size: 17px;
        line-height: 22px;
    }

    .service-desc {
        font-size: 14px;
    }

    .service-count {
        font-size: 12px;
        padding: 5px 12px;
    }

    .section-title {
        font-size: 24px;
        margin: 20px 0 10px;
    }
}


@media (max-width: 768px) {

    .service-categories-wrapper {
        padding: 0;
    }

    .service-grid {
        grid-template-columns: 1fr;
        /* Single card */
        gap: 15px;
    }

    .service-card {
        padding: 16px;
        border-radius: 10px;
    }

    .service-icon {
        margin-bottom: 12px;
    }

    .service-icon-img {
        padding: 16px;
    }

    .service-title {
        font-size: 16px;
        line-height: 22px;
    }

    .service-desc {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .service-count {
        font-size: 12px;
        padding: 5px 12px;
    }

    .section-title {
        font-size: 20px;
        margin: 15px 0 10px;
    }

    .swiper-slide .swiper-slide-image {
        height: 350px;
        object-fit: cover;
    }
}