.card {
    /* width: 320px; */
    border-radius: 25px;
    background-color: #FFFFFF;

}

.image-content,
.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 14px;
}

.image-content {
    row-gap: 5px;
    position: relative;
    padding: 25px 0;
}

.overlay {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #800214;
    /* border-radius: 25px 25px 0 25px; */
}

.cardoverlay {
    border-radius: 25px 25px 0 25px;
}


.overlay::before,
.overlay::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -40px;
    height: 40px;
    width: 40px;
    background-color: #800214;
}

.overlay::after {
    border-radius: 0 25px 0 0;
    background-color: #FFFFFF;
}

.card-image {
    position: relative;
    height: 150px;
    width: 150px;
    border-radius: 50%;
    background: #FFFFFF;
    padding: 3px;
}

.card-image .card-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #800214;
}

.name {
    font-size: 18px;
    font-weight: 600;
    color: #800214;
}

.description {
    font-size: 16px;
    color: #707070;
    text-align: center;
}

.button {
    border: none;
    font-size: 16px;
    color: #FFFFFF;
    padding: 8px 16px;
    background-color: #800214;
    border-radius: 6px;
    margin: 14px;
    cursor: pointer;
    transition: all .3s ease;
    position: absolute;
    bottom: 13px;
    /* Distance from the bottom of the container */
    left: 50%;
    /* Centers the button horizontally */
    transform: translateX(-50%);
    /* Adjust for perfect centering */
    padding: 10px 20px;
    /* background-color: #007bff; */
    /* color: white; */
    /* border: none; */
    border-radius: 5px;
    /* cursor: pointer; */
}

.button:hover {
    background: #800214;
}

.swiper-navBtn {
    color: #6E93F7 !important;
    transition: all .3s ease;
}

.swiper-navBtn:hover {
    color: #4070F4 !important;
}

.swiper-navBtn::before,
.swiper-navBtn::after {
    font-size: 40px !important;
}

.swiper-button-next {
    right: 0 !important;
}

.swiper-button-prev {
    left: 0 !important;
}

.swiper-pagination-bullet {
    background-color: #6E93F7 !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    background-color: #4070F4 !important;
}

@media screen and (max-width: 768px) {
    .slide-content {
        margin: 0 10px;
    }

    .swiper-navBtn {
        display: none !important;
    }
}


.head .card {
    /* width: 25rem; */
    border-radius: 1rem;
    background: white;
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.15);
    position: relative;
    color: #434343;
}

.head .card .card__container {
    padding: 2rem;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 1rem;
    position: relative;
}

.head .card .card__header {
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.head .card .card__body {
    font-family: 'Roboto', sans-serif;
}

.head .card::before {
    position: absolute;
    top: 3rem;
    right: -0.5rem;
    content: '';
    background: #4f030e;
    height: 28px;
    width: 28px;
    transform: rotate(45deg);
}

.head .card::after {
    position: absolute;
    content: attr(data-label);
    top: 27px;
    right: -14px;
    padding: 0.5rem;
    width: 10rem;
    background: #800214;
    color: white;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    box-shadow: 4px 4px 15px rgba(26, 35, 126, 0.2);
}

.swiper-slide {
    height: 115% !important;
}

.mainloc {
    height: 184px !important;
}

.contactForm {
    /* width: calc(100% - 20px);
    max-width: 700px;
    margin: 0 auto; */
    border: 1px solid #dfdfdf;
    border-radius: 20px;
    padding: 30px;
}

/* STYLES FOR FORM */
form {
    width: 100%;
    display: grid;
    grid-gap: 30px;
    padding-top: 20px;
}

.inputGroup {
    width: 100%;
    position: relative;
}

.inputGroup1 {
    grid-column: 1;
    grid-row: 1;
}

.inputGroup2 {
    grid-column: 2;
    grid-row: 1;
}

.inputGroup3 {
    grid-column: 1;
    grid-row: 2;
}

.inputGroup4 {
    grid-column: 2;
    grid-row: 2;
}

.inputGroup5 {
    grid-column: 1 / span 2;
    grid-row: 3;
}

.inputGroup6 {
    grid-column: 1 / span 2;
    grid-row: 4;
}

.inputGroup7 {
    grid-column: 2;
    grid-row: 5;
    text-align: right;
}


.inputGroup__textfield {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    font-size: 16px;
    padding: 20px;
    border: 1px solid #dfdfdf;
    outline: 0;
    border-radius: 0;
    transition: border 0.3s ease-in-out;

}

.inputGroup__textfield:focus,
.inputGroup__textfield:active {
    border: 1px solid #D9D9D9;
}


.fm-button {
    padding: 20px;
    width: 50%;
    border: 0;
    background: #800214;
    cursor: pointer;
    color: #FFF;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 5px 10px 0 rgba(0, 0, 0, 0.1);
}

button:hover {
    box-shadow: 0px 10px 30px 0 rgba(0, 0, 0, 0.2);
}


/* STYLES FOR VALIDATION WARNING */
.hf-warning {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    transform: translate(-15%, -50%) !important;
    background: orangered !important;
    display: inline-block !important;
    padding: 7px 14px !important;
    color: #FFFFFF !important;
    font-size: 11px !important;
    font-family: sans-serif;
    box-shadow: 0px 5px 10px 0 rgba(0, 0, 0, 0.1) !important;
    border: 0 !important;
    border-radius: 2px !important;
}

.hf-warning:after {
    content: "";
    width: 10px;
    height: 10px;
    background: orangered;
    position: absolute;
    z-index: 1;
    bottom: -5px;
    right: 15px;
    transform: rotate(45deg);
}

.con_title P{
    font-size: 16px !important;
}

@media screen and (max-width: 480px) {
    form {
        display: flex !important;
        flex-wrap: wrap;
    }

    form>div {
        margin-bottom: 30px;
    }
}


/* ---------------------------- */

@media screen and (max-width: 600px) {



    .col-sm-6 {
        width: 100%;
        padding-bottom: 130px;
    }

    .head .card .card__container {
        padding-bottom: 60px;
    }

    .con-bcard {
        padding-bottom: 50px;

    }

    .contactForm {

        padding: 10px;
    }

    .contactFormout {

        padding: 20px;
    }



}

@media (max-width: 992px) {

    .con-card-txt {
        padding-top: 40px !important;
        text-align: center !important;
    }

    .con-card {
        padding-right: 40px !important;
        padding-left: 40px !important;
    }

    .con-padding {
        padding-top: 40px;

    }



}

@media screen and (max-width: 425px) {

    .description {
        font-size: 14px !important;



    }

    .head .card .card__container {

        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 30px;
    }

    .head .card::after {

        width: 6rem;
    }



}

@media (min-width: 600px) and (max-width: 768px) {

    .col-sm-6 {
        padding-bottom: 130px;
    }

    .head .card .card__container {

        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 90px;
    }

    .head .card::after {

        width: 6rem;
    }




}

@media screen and (min-width: 1200px) {


    .con-bcard {
        padding-right: 50px;
        padding-left: 140px;

    }

    .con-bcard2 {
        padding-right: 140px;
        padding-left: 50px;

    }

    .head .card .card__container {

        
        padding-bottom: 60px;
    }

}


@media (min-width: 1024px) and (max-width: 1365px) {

    .name {
        font-size: 11px;
    }

    .description {
        font-size: 11px;
    }

    .button {
        font-size: 7px;
    }

    .enquiry{
        padding-top: 80px;
    }
}

@media screen and (min-width: 1024px){

    .enquiry{
        padding-top: 80px;
    }
}