.icon-hover > .vc_column-inner > .wpb_wrapper > .wpb_single_image{
	transition: transform .3s ease-out;
}
.icon-hover:hover > .vc_column-inner > .wpb_wrapper > .wpb_single_image{
	transform: translate(0, -10px);
}

.icon-hover .radiantthemes-iconbox{
transition: transform .3s ease-out;
}
.icon-hover:hover .radiantthemes-iconbox{
transform: translate(0, -10px);
}

.custom-box-shadow-2{
       box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.12);
}

.box-shadow{
   box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.11);
}


.table>tbody>tr:first-child td{border-top:none!important;}
.table>tbody>tr>td{
    padding:14px 0px;
    border-top: 1px solid rgba(255, 255, 255, 0.21) !important;
    }
.spacing-table>div>.table>tbody>tr>td{
    padding:14px 14px;
    
}

.wraper_header.style-twelve .header_main_action ul > li.header-cart-bar > .header-cart-bar-icon .cart-count {
    background-color: #084e4d !important;
}
.wraper_header.style-twelve .header_main_action ul > li.header-cart-bar > .header-cart-bar-icon .cart-count{
background-color: #fff !important;
color: #4575bd;
border: 2px solid #4575bd;
line-height: 15px !important;
}

.facilities-image-left{
width:658px;
}


.table-two>tbody>tr:first-child td{border-top:none!important;}
.table-two>tbody>tr>td{
    padding:14px 0px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.21) !important;
    }
.spacing-table>div>.table-two>tbody>tr>td{
    padding:14px 14px;
    
}


/* Section Styles */
.patient-testimonials-section {
    padding: 60px 20px;
}

.section-header {
    margin-bottom: 40px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 15px;
}

.title-divider {
    width: 60px;
    height: 4px;
    background: #007bff;
    margin: 0 auto;
    border-radius: 2px;
}

/* Video Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 1 row on desktop */
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-video-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Video Container */
.video-container {
    position: relative;
    aspect-ratio: 9/16;
    overflow: hidden;
    border-radius: 15px;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* Play Button Overlay */
.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: #fff;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.play-button-overlay:hover {
    background: rgba(0,123,255,0.9);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,123,255,0.4);
}

/* Modal */
.modal.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.modal-content video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    display: block;
}

.modal .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 32px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    z-index: 1100;
    transition: transform 0.2s ease;
}

.modal .close:hover {
    transform: scale(1.2);
    color: #ff4757;
}

/* Responsive */
@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 per row tablet */
    }
}

@media (max-width: 576px) {
    .testimonials-grid {
        grid-template-columns: 1fr; /* single column on mobile */
    }
    
    .play-button-overlay {
        font-size: 2rem;
        width: 60px;
        height: 60px;
    }
}

.play-icon {
    width: 0;
    height: 0;
    border-left: 25px solid #fff;   /* white play triangle */
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    margin-left: 5px; /* center correction */
}