/*
Template Name: Matrimonial
File: Layout CSS
Author: TemplatesOnWeb
Author URI: https://www.templateonweb.com/
Licence: <a href="https://www.templateonweb.com/license">Website Template Licence</a>
*/

/* *********Animation******** */
#falling-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* So it doesn't block clicks */
    overflow: hidden;
}

.heart,
.rose {
    position: absolute;
    width: 30px;
    height: 30px;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-10%);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* *********Animation End******** */





/*********************center_h****************/
.carousel-caption {
    background-color: rgba(0, 0, 0, .4) !important;
    bottom: 70px;
    left: 0;
    color: #fff;
    width: 40%;
    text-align: center;
    left: 30%;
    padding: 20px;
}

.carousel-caption1 {
    left: 57%;
}

.carousel-caption2 {
    left: 5%;
}

.center_home .carousel-indicators {
    bottom: 20px;
}

/*********************center_h_end****************/

/*********************Why Choose Us************************/
.rounded-circle {
    border-radius: 50% !important;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

.sub-info {
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: #004975;
}

.display-30 {
    font-size: 0.9rem;
}

/********************Why Choose Us End************************/

/*********************about_h****************/
.social_tag li a {
    border: 1px solid #c78665;
    width: 40px;
    height: 40px;
    line-height: 40px;
    color: #c78665;
    display: block;
    text-align: center;
    border-radius: 50%;
    font-size: 18px;
    transition: 0.3s;
}

.social_tag li a:hover {
    border: 1px solid #c78665;
    background: #c78665;
    color: #fff;
}

.about_hm2 {
    top: 0;
    left: -5%;
}

.about_hm3 {
    bottom: 0;
    right: -5%;
}

.about_hm4 {
    bottom: 40%;
    right: -5%;
}

/*********************about_h_end****************/

/*********************Why Choose Muslima Matronial****************/
#services {
    position: relative;
    padding: 50px 0;
    background-color: #f9f9f9;
}

.central-logo {
    position: absolute;
    top: 57%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.logo-image {
    width: 220px;
    height: auto;
    border: 5px solid #e74c3c;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.services-container {
    position: relative;
    width: 100%;
    height: 750px;
}

.service-item {
    position: absolute;
    width: 250px;
    text-align: center;
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-item .icon {
    font-size: 30px;
    color: #e74c3c;
    margin-bottom: 10px;
}

.service-item h5 {
    font-size: 18px;
    margin-bottom: 5px;
}

.service-item p {
    font-size: 14px;
    color: #666;
}

.service-item:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1100px) {
    .services-container {
        height: auto;
    }

    .logo-image {
        width: 100px;
    }

    .service-item {
        position: static;
        margin: 20px auto;
        width: 70%;
    }

    .central-logo {
        display: none;
        top: 20%;
        left: 50%;
        transform: translate(-50%, -20%);
    }
}

@media (max-width: 576px) {
    .service-item {
        width: 100%;
        padding: 10px;
    }

    .service-item h5 {
        font-size: 16px;
    }

    .service-item p {
        font-size: 12px;
    }

    .logo-image {
        width: 80px;
    }
}

/*********************Why Choose Muslima Matronial End****************/


/*********************attend****************/
.attend_1m {
    padding: 50px 50px;
    border-radius: 50% 50% 0 0;
}

@media (max-width:1100px) {
    .attend_1m {
        padding: 50px 50px;
        border-radius: 20% 20% 0 0;
    }
}

.attend_1m .form-control {
    border-top: 0;
    border-left: 0;
    border-right: 0;
}

.attend_1m .form-select {
    border-top: 0;
    border-left: 0;
    border-right: 0;
}

.attend_1l {
    padding-top: 150px;
}


/*********************attend_end****************/

/***********FAQs***************/
.accordion-button {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    color: #343a40;
    text-transform: capitalize;
}

.accordion-button:hover {
    color: #ff0000;
    /* text-decoration: underline; */
}

.text_area {
    max-height: 90px;
    min-height: 20px;
}

.accordion-button i {
    color: #17a2b8;
}

.accordion-body {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
}

/***********FAQs End***************/

/*********************bride****************/

#bride .about_h1l {
    width: 75%;
    margin-top: 12%;
    margin-left: 12%;
}

/*********************bride_end****************/



@media screen and (max-width : 767px) {
    .carousel-caption {
        padding: 30px 15px 70px 15px;
        position: static !important;
        width: 100%;
        background: #333 !important;
    }

    .carousel-caption1 {
        left: 0%;
    }

    .carousel-caption2 {
        left: 0%;
    }

    .center_home .carousel-indicators {
        bottom: 15px;
    }

    .carousel-control-prev {
        display: none;
    }

    .carousel-control-next {
        display: none;
    }


    .center_home p {
        text-align: left;
        font-size: 14px;
    }

    .center_home br {
        display: none;
    }

    .center_home .font_60 {
        font-size: 32px;
    }

    .center_home .button {
        padding: 10px 15px;
    }

    .about_hm2 {
        display: none;
    }

    .about_hm3 {
        display: none;
    }

    .about_hm4 {
        display: none;
    }

    .about_h1r {
        text-align: center !important;
    }

    .about_h1r p {
        text-align: left;
    }

    .about_h1l {
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .attend_1l {
        padding-top: 0;
    }

    .attend_1m {
        padding: 20px 15px;
        border-radius: 0;
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .bride_1i {
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .attend_1l {
        display: none;
    }

    .bride_1i2n h1 {
        font-size: 36px;
    }

    .bride_1i2n h6 {
        font-size: 24px;
    }
}


@media (min-width:576px) and (max-width:767px) {
    .carousel-caption {
        bottom: 50px;
    }
}

@media (min-width:768px) and (max-width:991px) {
    .center_home img {
        min-height: 800px;
    }

    .center_home .font_60 {
        font-size: 36px;
    }

    .about_hm2 img {
        width: 100px;
        height: 100px;
    }

    .about_hm3 img {
        width: 100px;
        height: 100px;
    }

    .about_hm4 img {
        width: 100px;
        height: 100px;
    }

    .about_hm2 {
        left: 0;
    }

    .about_hm4 {
        right: 0;
    }

    .about_hm3 {
        right: 0;
    }

    .attend_1m {
        padding: 20px 15px;
    }
}

@media (min-width:992px) and (max-width:1200px) {
    .center_home img {
        min-height: 800px;
    }

    .about_hm2 img {
        width: 130px;
        height: 130px;
    }

    .about_hm3 img {
        width: 130px;
        height: 130px;
    }

    .about_hm4 img {
        width: 130px;
        height: 130px;
    }

    .about_hm2 {
        left: 0;
    }

    .about_hm4 {
        right: 0;
    }

    .about_hm3 {
        right: 0;
    }
}

@media (min-width:1201px) and (max-width:1280px) {
    .about_hm2 {
        left: 0;
    }

    .about_hm4 {
        right: 0;
    }

    .about_hm3 {
        right: 0;
    }

    .about_hm2 img {
        width: 130px;
        height: 130px;
    }

    .about_hm3 img {
        width: 130px;
        height: 130px;
    }

    .about_hm4 img {
        width: 130px;
        height: 130px;
    }
}

@media (min-width:1400px) and (max-width:2000px) {
    .about_hm2 {
        left: 0;
    }

    .about_hm4 {
        right: 0;
    }

    .about_hm3 {
        right: 0;
    }
}

/* *************Review************* */
.heading {
    position: relative;
}

.testimonials {
    background-image: url(../img/A-BG-01.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 130px 0 150px;
    color: #ffffff;
    position: relative;
}

.testimonials:before {
    content: "";
    background: rgba(61, 2, 2, 0.5);
    width: 100%;
    height: 100%;
    top: 0;
    position: absolute;
    left: 0;
}

.testimonials .heading h2 {
    font-size: 25px;
    font-weight: 700;
    color: #ffffff;
}

.testimonials .heading h2 span {
    color: #ff0000;
}

.testimonials p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: #d1e5e7;
    margin: 20px 0;
    padding: 0;
}

/* Image */
.testimonials .carousel-inner .carousel-item .team {
    width: 100px;
    height: 100px;
    border: 2px solid #ff0000;
    border-radius: 100%;
    padding: 5px;
    margin: 50px 0 15px;
}

.testimonials .carousel-inner .carousel-item h3 {
    font-size: 20px;
    color: #ffffff;
    font-weight: 600;
}

.testimonials .carousel-inner .carousel-item h4 {
    font-size: 14px;
    font-weight: 300;
    color: #e2e1e1;
    margin-bottom: 20px;
}

.testimonials .carousel-indicators {
    bottom: -30px;
}

.testimonials .carousel-indicators li {
    background-color: #b8b7b7;
    border-radius: 30px;
    height: 4px;
    width: 40px;
}

.testimonials .carousel-indicators .active {
    background-color: #ff0000;
}

.testimonials .control span {
    cursor: pointer;
}

.testimonials .icon {
    height: 40px;
    width: 40px;
    background-size: 100%, 100%;
    border-radius: 50%;
    font-size: 30px;
    background-image: none;
    color: #ffffff;
}


/* **************just */



/****************Foooooter****************/
.footer_1i a {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer_1i a:hover {
    transform: scale(1.2);
    opacity: 0.8;
}