*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
}

:root{
    --text-color: #fff;
    --bg-color: #241b1b;
    --second-bg-color: #22282f;
    --main-color: #03fa6e;
    --other-color: #c3cad5;

    --h1-font: 4.5rem;
    --h2-font: 2.9rem;
    --p-font: 1rem;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body{
    color: var(--text-color);
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header{
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 16%; /* Reduzido para ajustar o espaço ocupado */
    background: transparent;
    transition: all .50s ease;
}

header.sticky {
    background: var(--second-bg-color);
    box-shadow: 0 .1rem 1rem rgba(0, 0, 0, .2);
    padding: 16px 16%; /* Reduzido para manter consistência na versão sticky */
}

.container {
    flex: 1;
}

.logo{
    font-size: 36px;
    color: var(--text-color);
    font-weight: 600;
}

.logo-container {
    display: flex;
    gap: 20px; /* Espaçamento entre as imagens, ajuste conforme necessário */
    justify-content: center; /* Centraliza as imagens horizontalmente */
    margin-bottom: 20px; /* Espaço abaixo do container, ajuste conforme necessário */
}

.logo-service {
    height: 160px; /* Ajuste a altura conforme necessário */
    width: auto;
    border-radius: 50%; /* Ajuste o valor conforme desejado */
    object-fit: cover;
    border: 5px solid var(--main-color);
    box-shadow: 0 0 20px var(--main-color);
}

span{
    color: var(--main-color);
}

.navlist{
    display: flex;
}

.navlist a{
    font-size: var(--p-font);
    font-weight: 500;
    color: var(--other-color);
    margin-left: 40px;
    transition: all .50s ease;
}

.navlist a:hover{
    color: var(--main-color);
    text-shadow: 3px 3px 20px var(--main-color), -2px 1px 30px var(--text-color);
}

#menu-icon{
    font-size: 35px;
    z-index: 10001;
    cursor: pointer;
    display: none;
}

.top-btnn {
    display: flex;
    gap: 15px; /* Espaçamento entre os botões */
}

.h-btn{
    display: inline-block;
    padding: 11px 26px;
    background: transparent;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: all .50s ease;
}

.h-btn:hover{
    background: var(--main-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px var(--main-color);
    transform: scale(1.1);
}

.v-btn{
    display: inline-block;
    padding: 11px 16px;
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--main-color);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: all .50s ease;
}

.v-btn:hover{
    background: var(--main-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px var(--main-color);
    transform: scale(1.1);
}

section{
    padding: 80px 16% 90px;
}

.services-section {
    padding: 80px 20px 80px;
    background-color: var(--bg-color);
    text-align: center;
  }
  
.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Espaçamento adicional entre o cabeçalho e o título */
.services-heading {
    margin-top: 30px; /* Adiciona margem superior ao heading */
}

.services-heading h1{
    font-size: var(--h1-font);
    font-weight: 700;
    margin-bottom: 20px;
}

.services-heading h2 {
    font-size: var(--h2-font);
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: 30px;
}

.services-heading p {
    font-size: 18px;
    color: var(--other-color);
    margin-bottom: 50px; /* Aumenta a margem inferior */
}

.service {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.service-image {
    flex: 0 0 150px;
    margin: 20px;
}

.service-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 14px var(--main-color);
}

.service-content {
    max-width: 500px;
    padding: 20px;
    text-align: left;
}

.service-content h3 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-content hr {
    width: 25%;
    border: 2px solid var(--main-color);
    margin: 10px 0;
}

.service-content p {
    font-size: 18px;
    color: var(--other-color);
}

.custom-link {
    color: var(--text-color); /* Branco */
    font-weight: bold; /* Negrito */
    text-decoration: none; /* Remove o sublinhado */
}

.custom-link:hover {
    text-decoration: underline; /* Adiciona sublinhado no hover (opcional) */
}

/* Header */
.about-header {
    text-align: center;
    margin-top: 4rem;
}

.about-header h1 {
    font-size: var(--h1-font);
    color: var(--main-color);
    font-weight: 700;
    position: relative;
    margin: 0;
}

/* Seção de upload de arquivos */
.upload-guidelines {
    list-style: none; /* Remove os marcadores padrão da lista */
    padding: 0;
    text-align: center;
    margin: 20px auto; /* Centraliza a lista na página */
    max-width: 600px; /* Limita a largura máxima da lista */
    font-size: 1.1rem;
    color: var(--other-color); /* Altera a cor do texto */
}

.upload-guidelines li {
    margin-bottom: 15px;
    padding: 10px;
    background-color: var(--second-bg-color); /* Cor de fundo dos itens */
    border-radius: 5px; /* Borda arredondada */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Sombra para destaque */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.upload-guidelines li:hover {
    background-color: var(--main-color); /* Cor de fundo ao passar o mouse */
    transform: translateY(-5px); /* Efeito de levantar ao passar o mouse */
    color: var(--bg-color); /* Altera a cor do texto ao passar o mouse */
}

/* Container do botão */
.button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

/* Botões */
.upload-btn, .voltar-btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    background: var(--main-color);
    color: var(--bg-color);
    border: none;
    transition: background-color 0.3s ease;
}

.upload-btn:hover, .voltar-btn:hover {
    background: var(--second-bg-color);
    color: var(--main-color);
}

.upload-label {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
    text-align: center;
}

.upload-input {
    display: block;
    margin: 0 auto;
    padding: 10px;
    font-size: 16px;
    color: var(--other-color);
    background-color: var(--second-bg-color);
    border: 1px solid var(--main-color);
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
}

.upload-input:hover, .upload-input:focus {
    border-color: var(--main-color);
}

/* Estilo para os cards */
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.card {
    background-color: var(--second-bg-color);
    border-radius: 18px;
    box-shadow: 0 0 10px var(--main-color);
    padding: 30px;
    text-align: center;
    width: 250px;
    height: 300px; /* Altura fixa para os cards */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Alinha os elementos internos */
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px var(--main-color);
}

/* Estilo para o título */
.card h3 {
    font-size: 1.5rem;
    color: var(--main-color);
    margin-bottom: 15px; /* Espaçamento inferior */
    min-height: 50px; /* Altura mínima para manter alinhamento */
}

/* Estilo para o parágrafo */
.card p {
    color: var(--other-color);
    margin-top: 10px;
    margin-bottom: 20px;
    min-height: 80px; /* Define altura mínima para os textos */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Estilo para o botão */
.card a {
    display: inline-block;
    margin-top: auto;
    padding: 10px 20px;
    background-color: var(--main-color);
    color: var(--bg-color);
    box-shadow: 0 0 10px var(--main-color);
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: 100%; /* Define largura fixa para os botões */
    text-align: center;
}

.card a:hover {
    background-color: var(--second-bg-color);
    color: var(--main-color);
    box-shadow: 0 0 20px var(--main-color);
}

/* Seção de rodapé */
.footer {
    padding: 20px;
    background-color: var(--second-bg-color);
    text-align: center;
    position: relative;
    margin: 0;
    margin-top: auto;
}

.copyright {
    margin-bottom: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Espaço entre os ícones e o botão de scroll */
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    color: var(--other-color);
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--main-color);
}

.scroll-top {
    font-size: 28px;
    color: var(--other-color);
    transition: color 0.3s ease;
}

.scroll-top:hover {
    color: var(--main-color);
}

/* Responsividade */
@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 2.5rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }

    .service {
        flex-direction: column;
        text-align: center;
    }

    .service-image {
        margin-bottom: 20px;
    }

    .service-content {
        text-align: center;
        padding: 0;
    }

    .counter-section .container {
        flex-direction: column;
        align-items: center;
    }
    
    .counter-section h2 {
        font-size: 1.2rem;
    }

    .counter {
        font-size: 48px;
    }
}

@media (max-width: 1700px){
    header{
        padding: 20px 8%;
    }
    header.sticky{
        padding: 14px 8%;
    }
    section{
        padding: 90px 8% 80px;
    }
    .footer{
        padding: 18px 8%;
    }
    .logo{
        font-size: 28px;
    }
}

@media (max-width: 1380px){
    header{
        padding: 20px 5%;
    }
    header.sticky{
        padding: 14px 5%;
    }
    section{
        padding: 90px 5% 80px;
    }
    .footer{
        padding: 18px 5%;
    }
    .hero{
        height: 90vh;
        background-position: center;
    }
}

@media (max-width: 1290px){
    .box{
        padding: 40px 40px 46px;
    }
    .box img{
        width: 100%;
        height: 60px;
        max-width: 60px;
    }
    .box h3{
        font-size: 21px;
    }
}

@media (max-width: 1240px){
    .about{
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .about-img img{
        text-align: center;
        width: 100%;
        height: 400px;
        max-width: 400px;
        border-radius: 50%;
        object-fit: cover;
        margin: 0 auto;
    }
    :root{
        --h1-font: 4rem;
        --h2-font: 2.2rem;
        --p-font: 15px;
    }
}

@media (max-width: 950px){
    :root{
        --h1-font: 3.5rem;
    }
    .social{
        margin-bottom: 20px;
    }
    #menu-icon{
        display: block;
    }
    .navlist{
        position: absolute;
        top: 100%;
        right: -100%;
        width: 255px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        background: var(--bg-color);
        transition: all .50s ease;
    }
    .navlist a{
        display: block;
        padding: 17px;
        font-size: 22px;
    }
    .navlist.active{
        right: 0;
    }
}

@media (max-width: 680px){
    .main-content p{
        width: 100%;
    }
}

@media (max-width: 470px){
    :root{
        --h1-font: 3rem;
        --h2-font: 2rem;
    }
    .about-img img{
        text-align: center;
        width: 100%;
        height: 300px;
        max-width: 300px;
        border-radius: 50%;
        object-fit: cover;
        margin: 0 auto;
    }

    .counter-section h2 {
        font-size: 1rem;
    }

    .counter {
        font-size: 36px;
    }
}