/*
Theme Name: GRUPO ESCF 
Theme URI: https://escf.ao
Author: Claudio Rodrigues 
Author URI: https: //cajweb.intro-image 
Description: Escritório de Serviços e Consultoria Fiscal, LDA.
Version: 1.0 
Text Domain: escf.ao 
E mais um site desenvolvido pelo Web Developer Sênio Cláudio Rodrigues.

*/
/*==============================
Testimonials Section - Background Parallax Fixed - ESCF Colors
==============================*/

.testimonial-area-2-parallax {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Overlay escuro com cores ESCF */
.testimonial-area-2-parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1;
}
.testimonial-thumb2 {
	width: 432px;
	height: 311px;
	object-fit: cover;
}
/* Garantir que o conteúdo fique acima do overlay */
.testimonial-area-2-parallax .container {
    position: relative;
    z-index: 2;
}

/* Ajustar cores dos textos para contraste com o background escuro */
.testimonial-area-2-parallax .section__title .sub-title {
    color: #32b74a !important;
    background: rgba(50, 183, 74, 0.15);
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-block;
}

.testimonial-area-2-parallax .section__title .title {
    color: #ffffff !important;
}

.testimonial-area-2-parallax .btn {
    background: #32b74a;
    border-color: #32b74a;
    color: #ffffff;
}

.testimonial-area-2-parallax .btn:hover {
    background: #015023;
    border-color: #015023;
}
.testimonial-wrap2 {
	border: 0px!important;
}
/* Cards de testimonial com efeito glass */
.testimonial-area-2-parallax .testimonial-card2 {
    /* background: rgba(255, 255, 255, 0.95); */
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.testimonial-area-2-parallax .testimonial-author-card2 {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.testimonial-area-2-parallax .testimonial-author-card2:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Card ativo (selecionado) */
.testimonial-area-2-parallax .swiper-slide-thumb-active .testimonial-author-card2 {
    background: rgba(50, 183, 74, 0.2);
    border: 2px solid #32b74a;
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(50, 183, 74, 0.3);
}

/* Imagem lateral com overlay suave */
.testimonial-area-2-parallax .testimonial-thumb2 {
    position: relative;
    z-index: 2;
}

.testimonial-area-2-parallax .testimonial-thumb2::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgba(0, 124, 186, 0.2) 0%,
        transparent 100%
    );
    border-radius: 12px;
}

.testimonial-area-2-parallax .testimonial-thumb2 img {
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 991px) {
    .testimonial-area-2-parallax {
        background-attachment: scroll;
    }
}

@media (max-width: 767px) {

}

/* Melhorias para Cards de Autores Clicáveis */
.testimonial-area-2-parallax .testi-thumb-slider2 .swiper-slide {
    height: auto;
    display: flex;
    align-items: center;
}

.testimonial-area-2-parallax .testimonial-author-card2 {
    width: 100%;
    padding: 15px;
    min-height: 100px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-area-2-parallax .testi-author-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
}

.testimonial-area-2-parallax .testi-author-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(50, 183, 74, 0.3);
}

.testimonial-area-2-parallax .media-body {
    flex: 1;
    min-width: 0;
}

.testimonial-area-2-parallax .testimonial-card-title {
    font-size: 15px;
    margin-bottom: 4px;
    color: #015023;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonial-area-2-parallax .testimonial-card-desig {
    font-size: 13px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

/* Efeito visual para indicar clicável */
.testimonial-area-2-parallax .swiper-slide-thumb-active .testi-author-thumb img {
    border-color: #32b74a;
    border-width: 3px;
}

/* Responsive - Cards de autores */
@media (max-width: 575px) {
    .testimonial-area-2-parallax .testimonial-author-card2 {
        padding: 10px;
        min-height: 80px;
    }
    
    .testimonial-area-2-parallax .testi-author-thumb {
        width: 50px;
        height: 50px;
    }
    
    .testimonial-area-2-parallax .testimonial-card-title {
        font-size: 13px;
    }
    
    .testimonial-area-2-parallax .testimonial-card-desig {
        font-size: 11px;
    }
}

/* ========================================
   TESTIMONIALS AREA 3 - Novo Design
   ======================================== */

/* Container principal */
.testimonial-area-3 {
    position: relative;
    background-color: #f8f9fa;
}

.testimonial-wrap3 {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Overlay escuro sobre background */
.testimonial-wrap3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.78);
    z-index: 1;
}

/* Garantir que conteúdo fique acima do overlay */
.testimonial-wrap3 > * {
    position: relative;
    z-index: 2;
}

/* Card principal do depoimento - Style 3 */
.testimonial-card3 {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card3:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}

/* Seção do autor no topo */
.testimonial-author-card3 {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(50, 183, 74, 0.2);
    position: relative;
}

/* Avatar do autor */
.testimonial-card3 .testi-author-thumb {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(50, 183, 74, 0.3);
    transition: all 0.3s ease;
}

.testimonial-card3:hover .testi-author-thumb {
    border-color: #32b74a;
    transform: scale(1.05);
}

.testimonial-card3 .testi-author-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Informações do autor */
.testimonial-author-card3 .media-body {
    flex: 1;
    min-width: 0;
}

.testimonial-author-card3 .testimonial-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #015023;
    margin-bottom: 5px;
    line-height: 1.2;
}

.testimonial-author-card3 .testimonial-card-desig {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Ícone de aspas */
.testimonial-quote-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #32b74a 0%, #0a5c3d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(50, 183, 74, 0.3);
    transition: all 0.3s ease;
}

.testimonial-card3:hover .testimonial-quote-icon {
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(50, 183, 74, 0.5);
}

/* Texto do depoimento */
.testimonial-card3 .testi-text {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    font-style: italic;
    margin: 0;
    flex: 1;
}

/* Títulos da seção */
.testimonial-area-3 .section__title .sub-title {
    background: rgba(50, 183, 74, 0.15);
    color: #32b74a;
    padding: 8px 20px;
    border-radius: 30px;
    display: inline-block;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.testimonial-area-3 .section__title .title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.testimonial-area-3 .section__title .sec-text {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Botão */
.testimonial-area-3 .btn-three {
    background: #32b74a;
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(50, 183, 74, 0.3);
}

.testimonial-area-3 .btn-three:hover {
    background: #015023;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(1, 80, 35, 0.4);
}

/* Swiper customizado para testimonial-area-3 */
.testimonial-area-3 .testi-slider3 {
    padding: 20px 0;
}

.testimonial-area-3 .swiper-slide {
    height: auto;
    display: flex;
}

/* Responsive adjustments */
@media (max-width: 1199px) {
    .testimonial-area-3 .section__title .title {
        font-size: 36px;
    }
}

@media (max-width: 991px) {
    .testimonial-wrap3 {
        background-attachment: scroll;
    }
    
    .testimonial-area-3 .section__title .title {
        font-size: 32px;
    }
    
    .testimonial-card3 {
        padding: 25px;
    }
}

@media (max-width: 767px) {
    .testimonial-area-3 .section__title .title {
        font-size: 28px;
    }
    
    .testimonial-area-3 .section__title .sec-text {
        font-size: 15px;
    }
    
    .testimonial-card3 {
        padding: 20px;
    }
    
    .testimonial-card3 .testi-author-thumb {
        width: 60px;
        height: 60px;
    }
    
    .testimonial-quote-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .testimonial-author-card3 .testimonial-card-title {
        font-size: 16px;
    }
    
    .testimonial-author-card3 .testimonial-card-desig {
        font-size: 13px;
    }
    
    .testimonial-card3 .testi-text {
        font-size: 15px;
    }
}

@media (max-width: 575px) {
    .testimonial-card3 .testi-author-thumb {
        width: 55px;
        height: 55px;
    }
    
    .testimonial-quote-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .testimonial-author-card3 {
        gap: 12px;
    }
}

/* ===== MELHORIAS DO MENU DROPDOWN ===== */
.tgmenu__wrap .navigation li.menu-item-has-children {
    position: relative;
}

.tgmenu__wrap .navigation li.menu-item-has-children .sub-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tgmenu__wrap .navigation li.menu-item-has-children.menu-hover-active .sub-menu,
.tgmenu__wrap .navigation li.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tgmenu__wrap .navigation .sub-menu li a {
    transition: all 0.2s ease;
    padding: 12px 20px;
    position: relative;
    overflow: hidden;
}

.tgmenu__wrap .navigation .sub-menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.tgmenu__wrap .navigation .sub-menu li:hover a::before {
    left: 100%;
}

.tgmenu__wrap .navigation .sub-menu li:hover a {
    
    color: white;
    transform: translateX(5px);
}

/* Animação de entrada suave */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-15px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.tgmenu__wrap .navigation li.menu-item-has-children .sub-menu {
    animation-duration: 0.3s;
    animation-fill-mode: both;
}

.tgmenu__wrap .navigation li.menu-item-has-children.menu-hover-active .sub-menu {
    animation-name: slideInDown;
}
