/* quotes-section */
.quotes-section {
    position: relative;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    overflow: hidden;
}

.quotes-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/shape/quote-pattern.png') repeat;
    opacity: 0.05;
    z-index: 1;
}

.quotes-section .auto-container {
    position: relative;
    z-index: 2;
}

.quotes-section .sec-title {
    color: #fff;
}

.quotes-section .sec-title .sub-title {
    color: #28a745;
}

.quotes-section .sec-title h2 {
    color: #fff;
}

.quote-block {
    position: relative;
    padding: 0 15px;
}

.quote-block .inner-box {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.quote-block .inner-box:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.quote-block .author-image {
    position: relative;
    margin: 0 auto 25px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #28a745;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.quote-block .author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.quote-block .inner-box:hover .author-image img {
    transform: scale(1.1);
}

.quote-block .quote-content .quote-icon {
    margin-bottom: 20px;
}

.quote-block .quote-content .quote-icon i {
    font-size: 36px;
    color: #28a745;
    opacity: 0.7;
}

.quote-block .quote-content p {
    font-size: 18px;
    line-height: 28px;
    color: #fff;
    font-style: italic;
    margin-bottom: 25px;
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-block .quote-content h4 {
    font-size: 22px;
    color: #28a745;
    margin-bottom: 8px;
    font-weight: 600;
}

.quote-block .quote-content span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* Owl Carousel Custom Styles for Quotes */
.quotes-carousel.owl-carousel .owl-nav {
    margin-top: 40px;
    text-align: center;
}

.quotes-carousel.owl-carousel .owl-nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(40, 167, 69, 0.2);
    border: 2px solid #28a745;
    color: #28a745;
    font-size: 18px;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.quotes-carousel.owl-carousel .owl-nav button:hover {
    background: #28a745;
    color: #fff;
    transform: scale(1.1);
}

.quotes-carousel.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 30px;
}

.quotes-carousel.owl-carousel .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
    transition: all 0.3s ease;
}

.quotes-carousel.owl-carousel .owl-dots .owl-dot.active,
.quotes-carousel.owl-carousel .owl-dots .owl-dot:hover {
    background: #28a745;
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 991px) {
    .quote-block .inner-box {
        padding: 30px 20px;
    }
    
    .quote-block .quote-content p {
        font-size: 16px;
        line-height: 26px;
        min-height: auto;
    }
    
    .quote-block .author-image {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .quotes-section {
        padding: 60px 0;
    }
    
    .quote-block .inner-box {
        padding: 25px 15px;
    }
    
    .quote-block .quote-content p {
        font-size: 15px;
        line-height: 24px;
    }
    
    .quote-block .quote-content h4 {
        font-size: 20px;
    }
}
