* {
    margin-top: 0px;
    padding: 0;
    box-sizing: border-box;
}

section {
    padding-top: 0px; /* Ajuste conforme necessário para compensar a altura do cabeçalho */
    margin-top: 0px; /* Ajuste correspondente para evitar que o conteúdo seja cortado */
}

body {
    font-family: 'Source Code Pro', monospace;
/*    line-height: 1.6;*/
}

.container {
    width: 95%;
    margin: auto;
    overflow: hidden;
}

.logo img {
    max-height: 90px; /* Ajuste conforme necessário */
    vertical-align: center;
}

.logo h1 {
    display: none; /* Esconda o texto do nome da empresa se o logotipo estiver presente */
}

.robo img {
    max-height: 100px; /* Ajuste conforme necessário */
    vertical-align: center;
}

.robo h1 {
    display: none; /* Esconda o texto do nome da empresa se o logotipo estiver presente */
}

/*.hero .container {
    margin-top: 30px;
    position: relative;
    height: calc(100% - 30px); Ajusta a altura para o conteúdo
        
}*/

/*.hero {
    background-image: url('images/background_scm.png');
    background-color: #33749c;
    height: 1000px;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 0px;
    text-align: center;
    padding-top: 180px;
}*/

.hero {
            position: relative;
/*          top: 100px; /* Altura do menu */*/
            width: 100%;
            height: calc(100% - 60px); /* Altura da seção menos a altura do menu */
            overflow: hidden;
        }

.hero video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover; /* Preenche todo o contêiner, cortando se necessário */
            padding-top: 95px;
}

.hero h2 {
    font-size: 3.5em;
    margin-top: 5px;
    margin-bottom: 10px;
    color: #fff;
}

.hero p {
    font-size: 2.2em;
    margin-bottom: 40px;
    color: #fff;
}


.cta-button {
/*    background: #333;*/
    font-size: 2.5em;
    color: gold;
/*    padding: 20px 20px 20px 20px;*/
    text-decoration: none;
    text-align: center;
    margin-top: 20px;
    border-radius: 10px 10px;
}

.cta-button:hover {
/*    background: #00BFFF;*/
    color: darkgoldenrod;
}


@media (max-width: 1350px) {
    .hero h2 {
        font-size: 2em;
        margin-top: 5px;
        margin-bottom: 10px;
    }
    .hero p {
    font-size: 1.5em;
    margin-bottom: 15px;
    }

}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 1.5em;
        margin-top: 5px;
        margin-bottom: 10px;
    }
    .hero p {
    font-size: 1em;
    margin-bottom: 15px;
    }

    .cta-button {
    font-size: 0.8em;
    text-align: center;
    margin-bottom: 10px;
    }
}


.services {
/*    background-image: url('images/fundo-banner.png');*/
    background-color: #000;
    display: inline-flex;
    background-repeat: no-repeat;
    background-size: cover;
    align-items: center;
    padding-top: 95px;
}

.services .img {
    position: relative;
    width: 100%;
    padding-top: calc(30% - 20px); /* Ajuste para manter a proporção 16:9 menos a margem */
    margin: 20px; /* Margem ao redor do contêiner do vídeo */
    overflow: hidden;
    box-sizing: border-box; /* Inclui padding e borda no tamanho total do contêiner */
}

.services .img video{
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 40px); /* Ajusta a largura para incluir a margem interna */
    height: calc(100% - 40px); /* Ajusta a altura para incluir a margem interna */
    margin: 20px; /* Margem interna */
    object-fit: contain; /* Pode ser 'contain' se quiser que o vídeo se ajuste sem cortar */
}

.services h2{
    text-align: left;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 10px;
    margin-right: 30px;
    font-size: 2.5em;
    color: #fff;
    padding-top: 30px;
}

.services p {
    text-align: left;
    position: relative;
    margin-bottom: 30px;
    margin-left: 10px;
    margin-right: 30px;
    font-size: 1.1em;
    color: #fff;
}


@media (max-width: 768px) {
    .services {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    height: 100%;
    }

    .services .img {
    position: relative;
    width: 100%;
    padding-top: calc(30% - 5px); /* Ajuste para manter a proporção 16:9 menos a margem */
    margin: 20px; /* Margem ao redor do contêiner do vídeo */
    overflow: hidden;
    box-sizing: border-box; /* Inclui padding e borda no tamanho total do contêiner */
}

    .services .img video {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 10px); /* Ajusta a largura para incluir a margem interna */
    height: calc(100% - 10px); /* Ajusta a altura para incluir a margem interna */
    margin: 20px; /* Margem interna */
    object-fit: contain; /* Pode ser 'contain' se quiser que o vídeo se ajuste sem cortar */
}

    .services h2{
    text-align: center;
    font-size: 1.5em;
    }

    .services p {
    text-align: center;
    font-size: 0.8em;
    }

    .services.img img{
    align-items: center;
    }
}



.cursos {
/*    background-image: url('images/fundo-banner.png');*/
    background-color: #000;
    display: inline-flex;
    background-repeat: no-repeat;
    background-size: cover;
    align-items: center;
    padding-top: 95px;
}

.cursos .img {
    position: relative;
    width: 100%;
    padding-top: calc(30% - 20px); /* Ajuste para manter a proporção 16:9 menos a margem */
    margin: 20px; /* Margem ao redor do contêiner do vídeo */
    overflow: hidden;
    box-sizing: border-box; /* Inclui padding e borda no tamanho total do contêiner */
}

.cursos .img video {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 40px); /* Ajusta a largura para incluir a margem interna */
    height: calc(100% - 40px); /* Ajusta a altura para incluir a margem interna */
    margin: 20px; /* Margem interna */
    object-fit: contain; /* Pode ser 'contain' se quiser que o vídeo se ajuste sem cortar */
}

.cursos h2{
    text-align: right;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 30px;
    margin-right: 10px;
    font-size: 2.5em;
    color: #fff;
    padding-top: 30px;
}

.cursos p {
    text-align: right;
    position: relative;
    margin-bottom: 30px;
    margin-left: 30px;
    margin-right: 10px;
    font-size: 1.1em;
    color: #fff;
}

@media (max-width: 768px) {
    .cursos {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    height: 100%;
    }

    .cursos .img {
    position: relative;
    width: 100%;
    padding-top: calc(30% - 5px); /* Ajuste para manter a proporção 16:9 menos a margem */
    margin: 20px; /* Margem ao redor do contêiner do vídeo */
    overflow: hidden;
    box-sizing: border-box; /* Inclui padding e borda no tamanho total do contêiner */
}

    .cursos .img video {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 10px); /* Ajusta a largura para incluir a margem interna */
    height: calc(100% - 10px); /* Ajusta a altura para incluir a margem interna */
    margin: 20px; /* Margem interna */
    object-fit: contain; /* Pode ser 'contain' se quiser que o vídeo se ajuste sem cortar */
}

    .cursos h2{
    text-align: center;
     font-size: 1.5em;
    }

    .cursos p {
    text-align: center;
     font-size: 0.8em;
    }

    .cursos .img img{
    align-items: center;
    }
}

.about {
/*    background-image: url('images/fundo-banner.png');*/
    background-color: #000;
    display: inline-flex;
    background-repeat: no-repeat;
    background-size: cover;
    align-items: center;
    padding-top: 95px;
}

.about .img {
    position: relative;
    width: 100%;
    padding-top: calc(30% - 20px); /* Ajuste para manter a proporção 16:9 menos a margem */
    margin: 20px; /* Margem ao redor do contêiner do vídeo */
    overflow: hidden;
    box-sizing: border-box; /* Inclui padding e borda no tamanho total do contêiner */
}

.about .img video{
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 40px); /* Ajusta a largura para incluir a margem interna */
    height: calc(100% - 40px); /* Ajusta a altura para incluir a margem interna */
    margin: 20px; /* Margem interna */
    object-fit: contain; /* Pode ser 'contain' se quiser que o vídeo se ajuste sem cortar */
}

.about h2{
    text-align: right;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 30px;
    margin-right: 10px;
    font-size: 2.5em;
    color: #fff;
    padding-top: 30px;
}

.about p {
    text-align: right;
    position: relative;
    margin-bottom: 30px;
    margin-left: 30px;
    margin-right: 10px;
    font-size: 1.1em;
    color: #fff;
}

@media (max-width: 768px) {
    .about {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    height: 100%;
    }

    .about .img {
    position: relative;
    width: 100%;
    padding-top: calc(30% - 5px); /* Ajuste para manter a proporção 16:9 menos a margem */
    margin: 20px; /* Margem ao redor do contêiner do vídeo */
    overflow: hidden;
    box-sizing: border-box; /* Inclui padding e borda no tamanho total do contêiner */
}

    .about .img video {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 10px); /* Ajusta a largura para incluir a margem interna */
    height: calc(100% - 10px); /* Ajusta a altura para incluir a margem interna */
    margin: 20px; /* Margem interna */
    object-fit: contain; /* Pode ser 'contain' se quiser que o vídeo se ajuste sem cortar */
}

    .about h2{
    margin-top: 5px;
    text-align: center;
    font-size: 1.5em;
    }

    .about p {
    text-align: center;
    font-size: 0.8em;
    }

    .about .img img{
    align-items: center;
    }
}

.blog h2 {
    text-align: center;
    font-size: 2.5em;
}

.contact h2 {
    text-align: left;
    margin-top: 60px;
    margin-bottom: 60px;
    font-size: 2.5em;
}

.blog-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.blog-post {
    background: #fff;
    padding: 20px;
    margin: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(30% - 40px);
    max-width: calc(30% - 40px);
}

.blog-post h3 {
    margin-bottom: 15px;
    font-size: 1.5em;
    color: #000;
}

/*.testimonial-item p {
    font-size: 1em;
    margin-bottom: 20px;
}

.testimonial-item{
    margin-bottom: 20px;
}

.testimonial-post{
    background-color: #ADD8E6;
}*/

.testimonials {
/*    background-image: url('images/fundo-banner.png');*/
    background-color: #000;
    display: inline-flex;
    background-repeat: no-repeat;
    background-size: cover;
    align-items: center;
    padding-top: 90px;
}

.testimonials .img {
    position: relative;
    width: 100%;
    padding-top: calc(30% - 20px); /* Ajuste para manter a proporção 16:9 menos a margem */
    margin: 20px; /* Margem ao redor do contêiner do vídeo */
    overflow: hidden;
    box-sizing: border-box; /* Inclui padding e borda no tamanho total do contêiner */
}

.testimonials .img video{
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 40px); /* Ajusta a largura para incluir a margem interna */
    height: calc(100% - 40px); /* Ajusta a altura para incluir a margem interna */
    margin: 20px; /* Margem interna */
    object-fit: contain; /* Pode ser 'contain' se quiser que o vídeo se ajuste sem cortar */
}

.testimonials h2{
    text-align: left;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 10px;
    margin-right: 30px;
    font-size: 2.5em;
    color: #fff;
    padding-top: 30px;
}

.testimonials p {
    text-align: left;
    position: relative;
    margin-bottom: 30px;
    margin-left: 10px;
    margin-right: 30px;
    font-size: 1.1em;
    color: #fff;
}


@media (max-width: 768px) {
    .testimonials {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    height: 100%;
    }

    .testimonials .img {
    position: relative;
    width: 100%;
    padding-top: calc(30% - 5px); /* Ajuste para manter a proporção 16:9 menos a margem */
    margin: 20px; /* Margem ao redor do contêiner do vídeo */
    overflow: hidden;
    box-sizing: border-box; /* Inclui padding e borda no tamanho total do contêiner */
}

    .testimonials .img video {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 10px); /* Ajusta a largura para incluir a margem interna */
    height: calc(100% - 10px); /* Ajusta a altura para incluir a margem interna */
    margin: 20px; /* Margem interna */
    object-fit: contain; /* Pode ser 'contain' se quiser que o vídeo se ajuste sem cortar */
}

    .testimonials h2{
    margin-top: 5px;
    text-align: center;
    font-size: 1.5em;
    }

    .testimonials p {
    text-align: center;
    font-size: 0.8em;
    }

    .testimonials .img img{
    align-items: center;
    }


    .blog-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    height: 100%;
    }

    .blog-post {
    padding: 5px;
    margin: 5px;
    flex: 1 1 calc(30% - 40px);
    max-width: 300px;
    }
}

.blog {
/*    background-color: #33749c;*/
    background-color: #000;
    padding-top: 95px;
    padding-bottom: 30px;
}

.blog h2{
    color: #fff;
}

.blog-post a {
    text-decoration: none;
    color: #77ab59;
}


.contact input, .contact textarea {
    padding: 10px;
    margin-top: 5px;
    font-size: 1em;
    width: 100%;
    box-sizing: border-box;
}


.contact-info {
    margin-top: 40px;
}

.contact-info p {
    text-align: left;
    font-size: 1.5em;
}



@media (max-width: 768px) {
    .contact-info p {
    font-size: 1.0em;
    }
}

.map iframe {
    width: 100%;
    height: 300px;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.footer-links, .social-links {
    margin-bottom: 20px;
}

.footer-links a, .social-links a {
    color: gold;
    margin: 0 10px;
    text-decoration: none;
}

.footer-links a:hover, .social-links a:hover {
    color: darkgoldenrod;
}


/*@media (max-width: 768px) {
    .services{
        margin-bottom: 30px;
    }
    .services h2 {
        font-size: 1.5em;
        margin-top: 5px;
        margin-bottom: 10px;
    }
    .services h3 {
    font-size: 1em;
    margin-bottom: 15px;
    }

    .services-grid, .blog-grid, .testimonial-item{
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    height: 100%;
     width: 1000px;
    }

    .service-item, .blog-post, .testimonial-post {
    padding: 5px;
    margin: 5px;
    flex: 1 1 calc(30% - 40px);
    max-width: 300px;
    }
}*/

/* Ajustes para telas menores */
@media (max-width: 768px) {
    .header-content {
/*        flex-direction: column;*/
        align-items: flex-start;
    }

    .menu-toggle {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        display: none;
        width: 100%;
    }

    nav ul li {
        width: 100%;
        text-align: left;
        margin-left: 0;
    }

    nav ul li a {
        padding: 10px 20px;
        width: 100%;
        display: block;
    }

    nav ul.show {
        display: flex;
    }
}