/* Sneha Deepam Facilities Elementor Widget CSS */

.snehadeepam-facilities-widget-wrap {
    width: 100%;
    position: relative;
}

.facilities-main-heading {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 44px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: -0.5px;
}

.facilities-swiper-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 0 20px 0;
    position: relative;
    overflow: hidden;
}

.facility-card-item {
    position: relative;
    background: #1a1a24;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.facility-card-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.45);
}

.facility-image-wrap {
    width: 100%;
    height: 320px;
    overflow: hidden;
    position: relative;
    background: #1a1a24;
}

.facility-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.facility-card-item:hover .facility-image-wrap img {
    transform: scale(1.06);
}

/* Default Bottom Row */
.facility-bottom-row {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: flex-end;
    z-index: 5;
    transform-origin: bottom;
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
    pointer-events: none;
}

.facility-bottom-row > * {
    pointer-events: auto;
}

.facility-icon-square {
    width: 72px;
    height: 72px;
    background-color: #D62D7A;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 6;
    margin-right: 5px;
}

.facility-icon-square svg {
    width: 34px;
    height: 34px;
}

.facility-content-box {
    flex-grow: 1;
    background-color: #31313E;
    padding: 22px 24px 22px 24px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 5;
}

/* Hover Overlay State */
.facility-hover-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #2C2C39;
    padding: 28px 24px 26px 24px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.facility-card-item:hover .facility-bottom-row {
    opacity: 0;
    visibility: hidden;
    transform: scaleY(0);
}

.facility-card-item:hover .facility-hover-overlay {
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
}

.facility-desc {
    color: #b5b5c3;
    font-family: 'Heebo', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    margin: 8px 0 16px 0;
    font-weight: 400;
}

.facility-tag {
    color: #D62D7A;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
}

.facility-title {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.facility-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-family: 'Heebo', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    width: fit-content;
}

.facility-read-more .arrow-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #4A4B5B;
    color: #ffffff;
    font-size: 13px;
    border-radius: 2px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.facility-card-item:hover .facility-read-more {
    color: #D62D7A;
}

.facility-card-item:hover .facility-read-more .arrow-box {
    background-color: #D62D7A;
    transform: translateX(4px) translateY(-2px);
}

/* Pagination Dots */
.facilities-pagination {
    margin-top: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 10;
}

.facilities-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: transparent;
    border: 2px solid #555768;
    border-radius: 2px;
    opacity: 1;
    margin: 0 !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.facilities-pagination .swiper-pagination-bullet-active {
    background-color: #D62D7A !important;
    border-color: #D62D7A !important;
    box-shadow: 0 0 10px rgba(214, 45, 122, 0.5);
}

/* =========================================
   SNEHA DEEPAM ABOUT TRUST WIDGET CSS
   ========================================= */
.snehadeepam-about-trust-widget {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
}

.trust-container-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.trust-left-column {
    flex: 1 1 45%;
    min-width: 320px;
    max-width: 500px;
    margin: 0 auto;
}

.trust-right-column {
    flex: 1 1 48%;
    min-width: 320px;
}

.about_left_box {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 480px;
    min-height: 480px;
    margin: 0 auto;
}

.about_image_17 {
    position: absolute;
    top: 20px;
    left: 40px;
    width: 270px;
    z-index: 2;
    margin: 0;
}

.about_image_17 img {
    width: 270px;
    max-width: 270px;
    height: 330px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
}

.about_image_017 {
    position: absolute;
    bottom: 0;
    right: 20px;
    width: 270px;
    text-align: right;
    margin: 0;
    z-index: 4;
}

.about_image_017 img {
    width: 270px;
    max-width: 270px;
    height: 330px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    border: 6px solid #ffffff;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
}

.logo_icon_box {
    position: absolute;
    width: 310px;
    height: 300px;
    left: 20px;
    top: 0px;
    padding: 0;
    display: flex;
    align-items: flex-end;
    border-radius: 10px;
    z-index: 1;
    pointer-events: none;
}

.logo_icon_box:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    background-image: url('http://localhost/snehadeepam/wp-content/plugins/snehadeepam-elementor-widgets/assets/images/shape_15.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    opacity: 0.95;
}

.logo_icon_box:before {
    position: absolute;
    top: 15px;
    left: -6px;
    width: 100%;
    height: 100%;
    content: "";
    background-image: url('http://localhost/snehadeepam/wp-content/plugins/snehadeepam-elementor-widgets/assets/images/shape_14.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
    opacity: 0.9;
}

.logo_icon_box .horizental_text {
    position: absolute;
    font-size: 32px;
    line-height: 1;
    color: #ded6d1;
    font-weight: 800;
    font-family: "Inter", sans-serif;
    left: 18px;
    bottom: 20px;
    z-index: 3;
    letter-spacing: -0.5px;
    white-space: nowrap;
    user-select: none;
}

/* Trust Content (Right Column) */
.about_right_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 15px;
}

.trust-main-heading {
    font-family: 'Inter', sans-serif !important;
    font-size: 40px !important;
    font-weight: 700 !important;
    color: #23233A !important;
    margin-bottom: 24px !important;
    line-height: 1.25 !important;
}

.trust-paragraph-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trust-paragraph-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.trust-arrow-icon {
    flex-shrink: 0;
    margin-top: 4px;
    color: #D13380;
    font-size: 16px;
    line-height: 1;
}

.trust-paragraph-text {
    font-family: 'Heebo', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333340;
    margin: 0;
    text-align: justify;
}

@media (max-width: 991px) {
    .trust-left-column {
        flex: 1 1 100%;
        max-width: 100%;
        margin-bottom: 40px;
    }
    .trust-right-column {
        flex: 1 1 100%;
        width: 100%;
    }
    .about_right_box {
        padding-left: 0;
    }
}

@media (max-width: 767px) {
    .about_left_box {
        width: 100%;
        max-width: 360px;
        height: 380px;
        min-height: 380px;
        margin: 0 auto;
        position: relative;
    }
    .about_image_17 {
        position: absolute;
        top: 15px;
        left: 25px;
        width: 200px;
        z-index: 2;
    }
    .about_image_17 img {
        width: 200px;
        max-width: 200px;
        height: 250px;
        border-radius: 8px;
    }
    .about_image_017 {
        position: absolute;
        bottom: 0;
        right: 15px;
        width: 200px;
        z-index: 4;
        margin: 0;
    }
    .about_image_017 img {
        width: 200px;
        max-width: 200px;
        height: 250px;
        border-radius: 8px;
        border: 4px solid #ffffff;
    }
    .logo_icon_box {
        width: 230px;
        height: 225px;
        left: 10px;
        top: 0px;
    }
    .logo_icon_box .horizental_text {
        font-size: 22px;
        left: 14px;
        bottom: 14px;
    }
    .trust-main-heading {
        font-size: 30px !important;
    }
}
