* {
    margin: 0px;
    padding: 0px;
}

:root {
    --primary-color: #f8a203;
    --secondary-color: #1796b6;
    --background-color: #444342;
}

body {
    font-family: Tahoma, Verdana, sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
}


nav a:hover {
    color: #f8a203;
    /* Cor do texto quando o mouse passa por cima */
    text-shadow: 0 0 8px rgba(248, 162, 3, 0.9);
    /* Brilho em torno do texto */
}

.section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}


.bg-video .content,
.bg-photo .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 0 15px;
}

.bg-video .content {
    color: #077c96;
}

.bg-photo {
    background-size: cover;
    background-position: center;
    color: white;
}

.portfolio-title {

    font-size: 2.5rem;
    color: #f8a203;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 20px 0;
}

/* Adiciona brilho ao dropdown */
.dropdown-menu {
    transition: box-shadow 0.3s ease-in-out;
}


.dropdown-menu-dark .dropdown-item {
    color: #f8f9fa;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu-dark .dropdown-item:hover,
.dropdown-menu-dark .dropdown-item:focus {
    background-color: #f8a203;
    color: #fff;
}


.btn-dark:hover {
    box-shadow: 0 0 8px #e59400;
    /* Brilho laranja ao passar o mouse sobre o botão */
}


.social-icon img {
    width: 40px;
    /* Tamanho fixo dos ícones, ajuste conforme necessário */
    height: 40px;
    /* Tamanho fixo dos ícones, ajuste conforme necessário */
    margin: 0 10px;
    /* Espaçamento entre os ícones */
    vertical-align: middle;
    /* Alinha verticalmente com o texto, se necessário */
}

.social-icon {
    text-decoration: none;
    /* Remove o sublinhado dos links dos ícones */
}

.social-icon img:hover {
    opacity: 0.8;
    /* Adiciona um efeito visual ao passar o mouse sobre os ícones */
}

.navbar-brand img {
    height: 40px;
    margin-right: 10px;
}

.typing {
    display: inline;
    border-right: 2px solid #fff;
    overflow: hidden;
    animation: typing 1s steps(40, end), blink-caret 0.75s step-end infinite;
}

#typing-text {
    color: #1796b6;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 40px;
    font-weight: 350;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: #ffffff;
    }
}

.bg-light {
    background-color: #ffffff;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    font-size: 20px;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.scroll-to-top img {
    width: 24px;
    height: 24px;
}

.scroll-to-top:hover {
    background-color: #e59400;
}

.scroll-to-top.show {
    opacity: 1;
}

@media (max-width: 768px) {
    .card-img-top {
        height: auto;
        object-fit: contain;
    }

    .card-body {
        height: auto;
    }

    .scroll-to-top {
        width: 40px;
        height: 40px;
    }
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);

}

.btn-primary:hover {
    background-color: #f8ce7f;
    --bs-btn-hover-border-color: none;
}


.service-card {
    background-color: #fdfdfd;
    min-height: 300px;
}

.card-img-top {
    max-height: 200px;
    object-fit: cover;
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-text {
    flex-grow: 9;
}

/* Section Serviços */
#services {
    background-color: #f8f9fc;
    padding: 40px 0;
}

#services .container {
    padding: 20px;
}

#services #text-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#services #text-section h1,
#services #text-section p {
    text-align: center;
    margin: 0 0 20px 0;
}

#services #text-section h2 {
    text-align: left !important;
    font-size: 27px
}

#services #contact-button {
    background-color: #e59400;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    width: 200px;
}

#services #contact-button:hover {
    background-color: #ffbb3d;
}

#services #cards-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    justify-items: center;
}

#services #cards-section .card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 250px;
    /* Largura fixa */
    height: 300px;
    /* Altura fixa */
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#services #cards-section .card:nth-child(odd) {
    margin-top: 60px;
    /* Ajuste a altura do zigue-zague */
}

#services #cards-section .card.primary {
    background-color: #fdbf4a;
    color: white;
}

#services #cards-section .card img {
    width: 30px;
    height: 30px;
    margin-bottom: 5px;
}

#services #col-md-6 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 800px) {
    #services #cards-section {
        display: flex;

    }

}



@media (max-width: 1000px) {
    .row#about {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .row#about .img-fluid {
        width: 80% !important;

    }

    .col-lg-6.mb-4.mb-lg-0 .img-fluid {
        width: 80% !important;
        margin-top: 20%;

    }

    .row#about .col-md-6 {
        margin-top: x;
    }

    #services #cards-section {
        display: flex;
        flex-direction: column;
        align-items: center;

    }

    #services #cards-section .card {
        width: 90%;
    }

    #services #cards-section .card:nth-child(odd) {
        margin-top: 5px;
    }

    .bg-video .content,
    .bg-photo .content {
        width: 100%;
    }

    .timeline-wrapper .timeline {
        display: flex;
        flex-direction: column;
    }


}

.carousel-item img {
    display: none;
}

.carousel-item.active img {
    display: block;
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    /* Transição suave de opacidade */
}

.carousel-item.active {
    opacity: 1;
    position: relative;
}

