/* Business Areas Cards Styles */
.business-area-card {
    cursor: pointer;
}

.business-area-card:hover {
    transform: translateY(-8px) scale(1.035);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    z-index: 2;
}

.business-area-card:hover img {
    filter: brightness(1.05) saturate(1.1);
}

/* Why Choose FAPTECH Cards Styles */
.why-choose-card {
    cursor: pointer;
}

.why-choose-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Responsive grid for Why Choose section */
@media (max-width: 768px) {
    .why-choose-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Fapricela about-us Page Custom Styles */
.about-us-hero-section img {
    border-radius: 0 0 32px 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.about-us-title {
    /*font-family: 'Gtek Technology', Sans-serif;*/
    letter-spacing: 0.05em;
}

.about-us-slider {
    height: 100%;
    min-height: 350px;
    max-height: 600px;
    display: flex;
    align-items: stretch;
}

@media (min-width: 992px) {
    .about-us-main-section .col-md-4 {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
    }

    .about-us-slider {
        height: 100%;
        min-height: 350px;
        max-height: none;
    }
}

.about-us-produto-imagem {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    height: 100%;
    min-height: 420px;
}

.product-infos {
    width: 111%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-infos {
    align-items: center;
}

.product-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 320px;
    max-height: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 991px) {

    .about-us-main-section .row,
    .about-us-produtos-section .row {
        flex-direction: column;
    }

    .about-us-main-section .col-12,
    .about-us-produtos-section .col-12 {
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .about-us-slider {
        height: 40vh;
        min-height: 220px;
        max-height: 350px;
    }
}

.container-fluid .about-us-produtos-section {
    margin-left: 120px !important;
    margin-right: 120px !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    display: flex;
    justify-content: center;
}

/* Outer section background */
.genesis-section {
    max-width: 100%;
    background-color: #1A1A1A;
    padding: 40px 0;
}

/* Two-column flex on desktop */
.genesis-flex {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    width: 100%;
}

/* Reverse logic for .reverse-mobile: only on mobile */
.genesis-section.reverse-mobile .genesis-flex {
    flex-direction: row;
}

@media (max-width: 1150px) {
    .genesis-section.reverse-mobile .genesis-flex {
        flex-direction: column-reverse;
    }
}

/* Left block (text) */
.video-container-left {
    flex: 1;
    width: 50%;
    min-width: 0;
    background-color: #1A1A1A;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.genesis-text {
    width: 90%;
    margin: auto;
    text-align: left;
}

.genesis-subtitle {
    color: #00FFFF;
    font-weight: 700;
    letter-spacing: 0.12em;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.genesis-title {
    color: #fff;
    font-size: 2.6rem;
    line-height: 1.05;
    margin: 0 0 18px;
}

.genesis-paragraph {
    color: #d6d6d6;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 0 20px;
}

/* Right block (image) */
.video-container-right {
    flex: 1;
    width: 50%;
    min-width: 0;
    display: flex;
    align-items: center;
}

.video-container-right img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ========================================= */
/* MOBILE RESPONSIVE BELOW 1150px WIDTH      */
/* ========================================= */
@media (max-width: 1150px) {

    .genesis-flex {
        flex-direction: column;
        /* Stack vertically */
        gap: 40px;
    }

    .video-container-left,
    .video-container-right {
        width: 100% !important;
    }

    .genesis-text {
        width: 92%;
        margin: 0 auto;
        text-align: left;
    }

    /* Full width slider on mobile */
    .company-logos-section {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .company-logos-section>div {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100vw !important;
    }

    .logos-slider-container,
    .logos-slider {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100vw !important;
    }

    /* Center product buttons on mobile */
    .details-product-button-left,
    .details-product-button-right {
        display: block !important;
        text-align: center;
        margin-left: auto !important;
        margin-right: auto !important;
        width: fit-content;
    }
}