/* treinamentos.css */

/* Geral */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    position: relative;
    width: 50px;
    height: 50px;
}

.loader-outter,
.loader-inner {
    position: absolute;
    border: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-outter {
    width: 50px;
    height: 50px;
    border-top-color: transparent;
}

.loader-inner {
    width: 30px;
    height: 30px;
    top: 10px;
    left: 10px;
    border-bottom-color: transparent;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-inner .logo img {
    max-height: 80px;
    padding: 10px 0;
}

.main-menu {
    position: relative;
}

.main-menu .navigation .nav.menu {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0;
}

.nav.menu li {
    position: relative;
    margin: 0 20px;
}

.nav.menu li a {
    display: block;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 30px 0;
    transition: color 0.3s ease;
}

.nav.menu li a:hover,
.nav.menu li.active a {
    color: #007bff;
}

/* Botão Mobile */
.mobile-menu {
    display: none;
    text-align: right;
    padding: 20px 0;
}

.mobile-btn {
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

/* Media Queries para Responsividade */
@media (max-width: 991px) {
    .main-menu .navigation .nav.menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .main-menu .navigation .nav.menu.active {
        display: flex;
    }

    .nav.menu li {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .nav.menu li a {
        padding: 15px 0;
    }

    .mobile-menu {
        display: block;
    }
}

@media (max-width: 767px) {
    .header-inner .logo img {
        max-height: 60px;
    }
}

/* Departments Section */
.departments.section {
    padding: 60px 0;
    background: #f9f9f9;
}

.department-tab {
    margin-top: 80px;
}

/* Carousel de Abas */
.departments-slider {
    position: relative;
}

.departments-slider .nav-item {
    display: inline-block; /* Garante que os itens fiquem lado a lado no carousel */
    margin: 0 5px;
}

.departments-slider .nav-link {
    display: flex; /* Alinha ícone e texto horizontalmente */
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s;
}

.departments-slider .nav-link i {
    margin-right: 10px; /* Espaço entre ícone e texto */
    font-size: 1.2em;
}

.departments-slider .nav-link span {
    font-size: 1em;
    font-weight: 500;
}

.departments-slider .nav-link:hover {
    background: #f5f5f5;
    color: #007bff;
}

.departments-slider .nav-link.active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.departments-slider .owl-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.departments-slider .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
}

.departments-slider .owl-nav .owl-prev,
.departments-slider .owl-nav .owl-next {
    position: absolute;
    font-size: 3.5em; /* Aumentado de 2.5em para 3.5em */
    color: #007bff;
    background: rgba(255, 255, 255, 0.9); /* Fundo mais opaco para destaque */
    border: none;
    border-radius: 50%; /* Formato circular */
    width: 60px; /* Largura aumentada para 60px */
    height: 60px; /* Altura aumentada para 60px */
    line-height: 60px; /* Centraliza o ícone verticalmente */
    text-align: center;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Sombra para maior destaque */
}

.departments-slider .owl-nav .owl-prev {
    left: -50px; /* Ajustado para dar mais espaço com o tamanho maior */
}

.departments-slider .owl-nav .owl-next {
    right: -50px; /* Ajustado para dar mais espaço com o tamanho maior */
}

.departments-slider .owl-nav .owl-prev:hover,
.departments-slider .owl-nav .owl-next:hover {
    color: #0056b3;
    background: rgba(255, 255, 255, 1); /* Fundo totalmente opaco no hover */
}

/* Responsividade */
@media (max-width: 767px) {
    .departments-slider .owl-nav .owl-prev,
    .departments-slider .owl-nav .owl-next {
        font-size: 2.5em; /* Tamanho reduzido para 2.5em em telas pequenas */
        width: 45px; /* Ajuste para 45px em telas menores */
        height: 45px;
        line-height: 45px;
    }

    .departments-slider .owl-nav .owl-prev {
        left: -30px;
    }

    .departments-slider .owl-nav .owl-next {
        right: -30px;
    }
}


/* Conteúdo das Abas */
.tab-content {
    padding-top: 30px; /* Padding-top acima do conteúdo das abas */
}

/* News Cards */
.single-news {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.news-head {
    position: relative;
    height: 200px; /* Altura fixa para uniformizar os vídeos */
}

.news-head img {
    width: 100%;
    height: 100%; /* Preenche a altura fixa do .news-head */
    object-fit: cover; /* Mantém a proporção e corta o excesso */
    display: block;
}

.news-head .video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

.news-head .video:hover {
    background: rgba(0, 0, 0, 0.7);
}

.news-body {
    padding: 20px;
}

.news-content .date {
    font-size: 0.9em;
    color: #777;
}

.news-content h2 {
    font-size: 1.2em;
    margin: 10px 0;
}

.news-content h2 a {
    color: #333;
    text-decoration: none;
}

.news-content h2 a:hover {
    color: #007bff;
}

.news-content .text {
    font-size: 1em;
    color: #555;
}

/* Pricing Table */
.pricing-table.section {
    padding: 60px 0;
    background: url('images/section-bg.png') no-repeat center/cover;
    color: #fff;
    position: relative;
}

.pricing-table.section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.pricing-table.section .container {
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2em;
    font-weight: 700;
    color: #fff;
}

.section-title img {
    margin: 20px 0;
}

.section-title p {
    font-size: 1.1em;
    color: #ddd;
}

.single-table {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    color: #333;
}

.table-head .icon {
    font-size: 2em;
    color: #007bff;
    margin-bottom: 10px;
}

.table-head .title {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 10px;
}

.table-head .price .amount {
    font-size: 1.8em;
    font-weight: 700;
    color: #007bff;
}

.table-head .price span {
    font-size: 0.8em;
    color: #777;
}

.table-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.table-list li {
    font-size: 1em;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.table-list li.cross {
    color: #777;
}

.table-list li i {
    margin-right: 10px;
}

.table-bottom .btn {
    background: #007bff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}

.table-bottom .btn:hover {
    background: #0056b3;
}

/* Footer */
.footer {
    background: #333;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-top {
    padding-bottom: 20px;
    border-bottom: 1px solid #444;
}

.single-footer h4 {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 20px;
}

.single-footer p {
    font-size: 1em;
    color: #ddd;
}

.single-footer .social {
    list-style: none;
    padding: 0;
    display: flex;
}

.single-footer .social li {
    margin-right: 15px;
}

.single-footer .social li a {
    color: #fff;
    font-size: 1.2em;
    text-decoration: none;
}

.single-footer .social li a:hover {
    color: #007bff;
}

.copyright {
    text-align: center;
    padding-top: 20px;
}

.copyright p {
    font-size: 0.9em;
    color: #ddd;
}

/* WhatsApp Button */
.wp-version {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wp-version .btn {
    background: #007bff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wp-version .btn:hover {
    background: #0056b3;
}

.wp-version .whatsapp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px; /* Tamanho do círculo */
    height: 50px; /* Tamanho do círculo */
    background: #25D366; /* Verde tradicional do WhatsApp */
    border-radius: 50%; /* Forma circular */
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Sombra suave */
    transition: background 0.3s;
}

.wp-version .whatsapp-icon i {
    color: #fff; /* Cor do ícone */
    font-size: 2em; /* Tamanho do ícone */
}

.wp-version .whatsapp-icon:hover {
    background: #20b858; /* Verde um pouco mais escuro no hover */
}
/* Responsividade */
@media (max-width: 767px) {
    .header-inner {
        padding: 10px 0;
    }
    .main-menu .nav.menu {
        flex-direction: column;
        align-items: flex-start;
    }
    .main-menu .nav.menu li {
        margin: 10px 0;
    }
    .departments-slider .nav-link {
        padding: 8px 10px;
    }
    .departments-slider .nav-link i {
        margin-right: 5px;
        font-size: 1em;
    }
    .departments-slider .nav-link span {
        font-size: 0.9em;
    }
    .single-news {
        margin-bottom: 20px;
    }
    .section-title h2 {
        font-size: 1.5em;
    }
    .single-table {
        margin-bottom: 20px;
    }
    .tab-content {
        padding-top: 20px; /* Ajuste menor para telas pequenas */
    }
    .news-head {
        height: 150px; /* Altura menor para telas pequenas */
    }
}

/* Modal para Vídeo Embutido */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.video-modal-content {
    position: relative;
    width: 80%;
    max-width: 800px;
    background: #fff;
    border-radius: 5px;
    padding: 20px;
}

.video-modal iframe {
    width: 100%;
    height: 450px;
    border: none;
}

.video-modal .close-modal {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.2em;
    color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.video-modal .close-modal:hover {
    color: #007bff;
}