
/* =========================================
   Instagram / Branch Testimonials
========================================= */

.branch-video-section {
    position: relative;
    overflow: hidden;
}


/* Section heading */

.branch-video-section .section-title {
    margin-bottom: 45px;
}

.branch-video-section .section-title span {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.branch-video-section .section-title h2 {
    margin-bottom: 12px;
}


/* Slider */

.branch-video-slider {
    position: relative;
    width: 100%;
}

.branch-video-slide {
    display: none;
}

.branch-video-slide.active {
    display: block;
}


/* Grid */

.branch-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}


/* Card */

.branch-video-card {
    display: block;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.branch-video-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}


/* Image */

.branch-video-image {
    position: relative;
    width: 100%;
    height: 390px;
    overflow: hidden;
    background: #f3f3f3;
}

.branch-video-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.branch-video-card:hover .branch-video-image img {
    transform: scale(1.05);
}


/* No image */

.branch-video-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
}

.branch-video-no-image i {
    font-size: 55px;
    color: #d62976;
}


/* Dark overlay */

.branch-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.12);
    transition: background 0.3s ease;
}

.branch-video-card:hover .branch-video-overlay {
    background: rgba(0, 0, 0, 0.28);
}


/* Play button */

.branch-video-play {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);
    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.branch-video-play i {
    font-size: 20px;
    margin-left: 4px;
    color: #111;
}

.branch-video-card:hover .branch-video-play {
    transform: scale(1.12);
    background: #fff;
}


/* Instagram label */

.branch-video-image::after {
    content: "Instagram Reel";
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 7px 12px;
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    backdrop-filter: blur(5px);
}


/* Card content */

.branch-video-content {
    min-height: 88px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.branch-video-content > div {
    min-width: 0;
}

.testimonial-label {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #777;
}

.branch-video-content h4 {
    margin: 0;
    color: #222;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
}


/* Instagram icon */

.testimonial-instagram {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #d62976;
    font-size: 19px;
    transition:
        background 0.3s ease,
        color 0.3s ease;
}

.branch-video-card:hover .testimonial-instagram {
    background: #d62976;
    color: #fff;
}


/* Slider controls */

.branch-video-controls {
    margin-top: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
}


/* Previous / next */

.branch-video-btn {
    width: 46px;
    height: 46px;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.branch-video-btn:hover {
    background: #111;
    border-color: #111;
    color: #fff;
    transform: translateY(-2px);
}


/* Dots */

.branch-video-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.branch-video-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d5d5d5;
    cursor: pointer;
    transition:
        width 0.3s ease,
        background 0.3s ease;
}

.branch-video-dot.active {
    width: 25px;
    border-radius: 10px;
    background: #222;
}


/* =========================================
   Tablet
========================================= */

@media (max-width: 991px) {

    .branch-video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .branch-video-image {
        height: 350px;
    }

}


/* =========================================
   Mobile
========================================= */

@media (max-width: 767px) {

    .branch-video-section .section-title {
        margin-bottom: 30px;
    }

    .branch-video-section .section-title h2 {
        font-size: 28px;
    }

    .branch-video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .branch-video-image {
        height: 420px;
    }

    .branch-video-content {
        min-height: 82px;
        padding: 16px 18px;
    }

    .branch-video-content h4 {
        font-size: 17px;
    }

    .branch-video-controls {
        margin-top: 25px;
        gap: 15px;
    }

}


/* =========================================
   Small Mobile
========================================= */

@media (max-width: 480px) {

    .branch-video-image {
        height: 380px;
    }

    .branch-video-play {
        width: 60px;
        height: 60px;
    }

    .branch-video-section .section-title h2 {
        font-size: 24px;
    }

}

  