/* Home Page Testimonials Styles - Extracted from home.blade.php */
/* ============================================= */

/* Testimonial Section Background */
.testimonial {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.testimonial .bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(1, 17, 102, 0.88) 0%, 
        rgba(11, 111, 137, 0.85) 50%, 
        rgba(32, 177, 219, 0.82) 100%);
    z-index: 0;
}

.testimonial .container {
    position: relative;
    z-index: 2;
}

.testimonial .main-header {
    color: #ffffff;
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Modern Testimonial Styling */
.testimonial-wrapper {
    position: relative;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    margin: 0 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.15);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 20px 20px 0 0;
}

.quote-icon {
    text-align: center;
    margin-bottom: 20px;
}

.quote-icon i {
    font-size: 30px;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0.8;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.testimonial-content .description {
    text-align: center;
    margin-bottom: 30px;
}

.testimonial-content .description p {
    font-style: italic;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.testimonial-author .photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
}

.testimonial-author .photo::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    border: 2px solid rgba(71, 174, 27, 0.8);
    opacity: 0;
    transition: all 0.3s ease;
    background: linear-gradient(45deg, 
        rgba(253, 84, 15, 0.3) 0%, 
        rgba(71, 174, 27, 0.3) 50%, 
        rgba(32, 177, 219, 0.3) 100%);
    filter: blur(1px);
}

.testimonial-card:hover .testimonial-author .photo {
    transform: scale(1.1);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.5),
        0 8px 20px rgba(71, 174, 27, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 1);
}

.testimonial-card:hover .testimonial-author .photo::before {
    opacity: 1;
    transform: scale(1.1);
    filter: blur(0px);
}

.testimonial-author .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
    filter: brightness(1.05) contrast(1.1) saturate(1.2);
}

.testimonial-card:hover .testimonial-author .photo img {
    transform: scale(1.08);
    filter: brightness(1.15) contrast(1.2) saturate(1.3);
}

.testimonial-author .text h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.testimonial-author .text p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Navigation Buttons */
.testimonial-nav-buttons {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
    z-index: 15;
}

.testimonial-nav-btn {
    position: absolute;
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-nav-btn:hover {
    background: rgba(0, 123, 255, 0.8);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 123, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

.testimonial-prev {
    left: -25px;
}

.testimonial-next {
    right: -25px;
}

/* Pagination Dots */
.testimonial-dots {
    text-align: center;
    margin-top: 30px;
}

.testimonial-dots .owl-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.testimonial-dots .owl-dot.active {
    background: rgba(0, 123, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.3);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.testimonial-dots .owl-dot:hover {
    background: rgba(0, 123, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

/* Modern Button */
.btn-modern {
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    border: none;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.4);
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonial {
        background-attachment: scroll;
    }
    
    .testimonial .main-header {
        font-size: 2rem;
        margin-bottom: 35px;
    }
    
    .testimonial-card {
        padding: 30px 20px;
        margin: 0 10px;
    }
    
    .testimonial-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .testimonial-prev {
        left: -20px;
    }
    
    .testimonial-next {
        right: -20px;
    }
    
    .testimonial-author {
        flex-direction: column;
        gap: 15px;
    }
    
    .testimonial-author .photo {
        width: 85px;
        height: 85px;
        border-width: 3px;
    }
    
    .testimonial-author .photo::before {
        top: -4px;
        left: -4px;
        right: -4px;
        bottom: -4px;
    }
}

@media (max-width: 576px) {
    .testimonial-nav-btn {
        display: none;
    }
    
    .testimonial-card {
        padding: 25px 15px;
    }
    
    .testimonial-author .photo {
        width: 70px;
        height: 70px;
    }
}
