/* Slider Container */
.rotate-services-card {


    position: relative;
    margin-top: -7rem;
    width: 80%;
    overflow: hidden;

}

/* Slider Wrapper */
.rotate-slider {
    display: flex;
    transition: transform 0.5s linear;
}

/* Service Items */
.rotate-service-item {
    width: 33.33%;
    flex-shrink: 0;
    background-color: #e5d0c8;
    text-align: center;
    padding: 32px 24px;
    border: 1px solid white;
    box-sizing: border-box;
}

/* Service Card Elements */
.rotate-service-item h2 {
    color: #9c7883;
    font-size: 32px;
    font-weight: 500;
}

.rotate-service-item i {
    font-size: 30px;
    color: #7a5676;
    margin: 0px 10px !important;
}

.rotate-service-item div {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px 0px;
    flex-direction: column;
    gap: 16px;
}

.rotate-service-item h3 {
    color: black;
    font-size: 1.4rem;
    font-weight: 400;
}

.rotate-service-item a {
    font-size: 20px;
    text-decoration: none;
    color: #7a5676;
}

.paragraph-1,
.paragraph-2,
.paragraph-3,
.paragraph-4 {
    font-size: 1.1rem !important;
    text-transform: capitalize !important;
    margin: 25px 0px !important;
    line-height: 25px;
}

/* Media Query for 768px and below */
@media (max-width: 768px) {
    .rotate-service-item {
        width: 100%;
        /* Two items visible at a time */
    }

    .rotate-services-card {

        width: 60%;

    }

    .rotate-slider {
        display: flex;
        transition: transform 0.5s linear;
        display: contents;
    }
}

/* Media Query for 400px and below */
@media (max-width: 400px) {
    .rotate-service-item {
        width: 100%;
        /* One item visible at a time */
    }

    .rotate-services-card {
        width: 78%;
    }


}

@media (max-width: 940px) {
    .page-details span {
        display: none;
    }

    .page-details h1 {
        font-size: 50px !important;
        text-align: center;
    }
}

@media (max-width: 776px) {
    .page-details h1 {
        font-size: 40px !important;
    }
}

@media (max-width: 585px) {
    .page-details h1 {
        font-size: 1.5em !important;
        margin: 0px 22px;
    }

    .page-details p {
        width: 81%;
        text-align: center;
        font-size: 14px;
        line-height: 21px;
    }

    .reviews-section .review-slider {
        width: 90vw;
        overflow: hidden;
    }

    .reviews-section .navigations {

        width: 100%;
    }
}

.container-three-image {
    margin: 0 auto;
    padding: 20px;
    background-color: #141b29;
}

.heading {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #f8f7f4;
}

.heading span {
    color: #984673;
    /* Accent color */
}

.flex-three-image {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.flex-three-image-left,
.flex-three-image-right {
    flex: 1 1 48%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flex-three-image-left img {
    width: 100%;
    margin-bottom: 20px;
    height: 450px;
    margin: 25px 0px;
}

.flex-three-image-inner-left {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.flex-three-image-inner-left img {
    width: 41%;
    margin: 20px;
}



.flex-three-image-right p {
    font-size: 1rem;
    margin-bottom: 10px;
    text-align: justify;
    color: #f8f7f4;
}

.flex-three-image-right button {
    padding: 10px 20px;
    background-color: #984673;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 20px 0px;
    font-size: 1rem;
}

.flex-three-image-right button:hover {
    background-color: #edc7b4;
    color: #984673;
}

/* Responsive Design */
@media (max-width: 768px) {
    .flex-three-image {
        flex-direction: column;
        align-items: center;
    }

    .flex-three-image-left,
    .flex-three-image-right {
        flex: 1 1 100%;
        width: 100%;
    }

    .flex-three-image-inner-left {
        flex-direction: column;
        align-items: center;
    }

    .flex-three-image-inner-left img {
        width: 70%;
        margin-bottom: 10px;
    }


}

.cta-section {
    background-image: url(../images/cta_back.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: auto;
    display: flex;
    padding: 75px;
    text-align: center;
}

.flex-cta h1 {
    font-size: 2.5rem;
    color: #522157;
}

.flex-cta p {
    font-size: 1.2rem;
    margin: 15px 0px;
    color: #522157;
}

.flex-cta {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

.flex-cta a {
    padding: 10px 20px;
    background-color: #984673;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    color: white;
}

.flex-cta a {
    text-decoration: none;
    text-align: center;
}

.flex-cta a:hover {
    background-color: rgba(82, 33, 87, 0.7);
    /* Button hover effect */
}

@media (max-width: 524px) {
    .cta-section {

        padding: 75px 40px;

    }
}

.image-shades {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

.image-shades img {
    outline: none;
    width: 80%;
    height: 450px;
}

.line-back-section {
    position: relative;
    width: 100%;
    height: auto;
    padding: 75px;
    text-align: center;
    z-index: 1;
    /* Ensures content is above the background */
}

.line-back-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/15.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    /* Adjust transparency */
    z-index: -1;
    /* Places background behind content */
}

.paragraph-3,
.paragraph-4 {
    color: #141b29;
}