/* Estilos simplificados para melhor performance */

/* Estilo de cards de serviço com efeito de transparência */
.service-card {
    position: relative;
    background-color: rgba(26, 145, 58, 0.85);
    /* Verde com transparência */
    color: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
    backdrop-filter: blur(5px);
    /* Efeito de desfoque no fundo */
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    /* Borda sutil */
}

/* Adiciona um pseudo-elemento para um efeito de brilho */
.service-card::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: all 0.6s ease;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    background-color: rgba(14, 107, 44, 0.9);
    /* Verde mais escuro com transparência */
}

/* Ativa o efeito de brilho ao passar o mouse */
.service-card:hover::before {
    left: 100%;
}

/* Garante que o conteúdo dos cards fique em primeiro plano */
.service-card h3,
.service-card p,
.service-card .icon-box,
.service-card .service-btn {
    position: relative;
    z-index: 2;
}

/* Efeito de vidro para cards */
.service-card.glass-effect {
    background-color: rgba(26, 145, 58, 0.75);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.service-card.glass-effect:hover {
    background-color: rgba(14, 107, 44, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Efeito de padrão de fundo sutilmente visível */
.service-card.glass-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjUiPgo8cmVjdCB3aWR0aD0iNSIgaGVpZ2h0PSI1IiBmaWxsPSIjZmZmIiBvcGFjaXR5PSIwLjAyIj48L3JlY3Q+CjxwYXRoIGQ9Ik0wIDVMNSAwWk02IDRMNCA2Wk0tMSAxTDEgLTFaIiBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iMSIgb3BhY2l0eT0iMC4wNCI+PC9wYXRoPgo8L3N2Zz4=');
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

/* Estilo para o background da seção de serviços */
.service-section-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/background/pattern-bg.png'),
        linear-gradient(135deg, rgba(18, 70, 32, 0.9) 0%, rgba(26, 145, 58, 0.85) 100%);
    background-size: 300px 300px, cover;
    background-repeat: repeat, no-repeat;
    opacity: 0.95;
    z-index: 0;
}

/* Ajustes para o conteúdo da seção ficar sobre o background */
#services-section .container {
    position: relative;
    z-index: 1;
}

/* Efeito de sobreposição para melhorar a transparência */
#services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(10, 50, 20, 0.5) 0%,
            rgba(15, 70, 30, 0.7) 50%,
            rgba(10, 50, 20, 0.5) 100%);
    z-index: 0;
}

.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.service-card:hover .icon-box {
    transform: translateY(-5px);
}

.icon-box img {
    width: 60%;
    height: auto;
    transition: transform 0.3s ease;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Botão "Saiba mais" com estilo clean e verde */
.service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    margin-top: 15px;
}

.service-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-btn {
    background-color: rgba(255, 255, 255, 0.3);
}

.service-card:hover .service-btn i {
    transform: translateX(5px);
}

/* Estilos da seção Nossa Empresa (About) */
#about-section {
    background-color: #f9f9f9;
    overflow: hidden;
    position: relative;
    padding: 100px 0;
}

/* Elementos decorativos */
.about-decoration-circle {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-color: rgba(26, 145, 58, 0.05);
    top: -200px;
    left: -200px;
    z-index: 0;
}

.about-decoration-dots {
    position: absolute;
    width: 180px;
    height: 180px;
    background-image: radial-gradient(#1a913a 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: 0.15;
    bottom: 50px;
    right: 50px;
    z-index: 0;
}

/* Título da seção */
.subtitle-badge {
    display: inline-block;
    background-color: rgba(26, 145, 58, 0.1);
    color: #1a913a;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.text-highlight {
    color: #1a913a;
    position: relative;
}

.text-highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    height: 6px;
    background-color: rgba(26, 145, 58, 0.2);
    z-index: -1;
    border-radius: 10px;
}

/* Container da imagem */
.about-image-container {
    position: relative;
    padding: 20px;
}

.about-image-main {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.about-image-main img {
    width: 100%;
    height: auto;
    transition: transform 0.7s ease;
    display: block;
}

.about-image-container:hover .about-image-main img {
    transform: scale(1.05);
}

.about-image-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background-color: #1a913a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 3;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.badge-content {
    text-align: center;
}

.badge-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 5px;
}

.about-image-pattern {
    position: absolute;
    width: 80%;
    height: 80%;
    top: 0;
    left: 0;
    z-index: 1;
    border: 8px solid #1a913a;
    border-radius: 15px;
    opacity: 0.1;
}

/* Itens de recursos */
.about-content {
    padding: 20px 0 20px 20px;
}

.about-feature-item {
    display: flex;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.about-feature-item:hover {
    transform: translateX(5px);
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: rgba(26, 145, 58, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.feature-icon i {
    font-size: 1.8rem;
    color: #1a913a;
}

.feature-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-text p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Botão da seção */
.btn-about {
    display: inline-flex;
    align-items: center;
    background-color: #1a913a;
    color: white;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(26, 145, 58, 0.2);
    margin-top: 30px;
}

.btn-about:hover {
    background-color: #0e6b2c;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(26, 145, 58, 0.3);
    color: white;
    text-decoration: none;
}

.btn-about i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-about:hover i {
    transform: translateX(5px);
}

/* Animação de contagem para números */
.counter-animation {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.counter-animation.active {
    opacity: 1;
    transform: translateY(0);
}

/* Ajustes responsivos para dispositivos móveis */
@media (max-width: 991px) {
    .about-content {
        padding: 40px 0 0 0;
    }

    .about-image-badge {
        width: 100px;
        height: 100px;
    }

    .badge-number {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    #about-section {
        padding: 70px 0;
    }

    .about-image-container {
        margin-bottom: 40px;
    }

    .about-decoration-circle,
    .about-decoration-dots {
        display: none;
    }
}