/* Reset de margens e padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {

    --yellow: #FFCD00;
    --blue: #002978;
    --black: #0e1014;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: #fff;
}

/* ESTILOS GERAIS */
.bg-dark {
    background-color: #0e1014 !important;
}

.bg-yellow {
    background-color: #FFCD00 !important;
}

.btn-coding1 {
    background-color: #FFCD00;
    color: #fff;
    border-radius: 10px;
}

.btn-coding1:hover {
    color: #fff;
    background-color: #002978;
}

.ml-1 {
    margin-left: 10px;
}

.ml-2 {
    margin-left: 20px;
}

.mr-1 {
    margin-right: 10px;
}

.mr-2 {
    margin-right: 20px;
}

/* ESTILOS GERAIS */


/* Header */
header {
    background-color: #0e1014;
    padding-bottom: 0 !important;
    border-bottom: 4px solid transparent;
    /* Define uma borda inferior transparente */
    border-image: linear-gradient(to right, #002978, #FFCD00) 1;
    /* Aplica o gradiente */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0px 10px;
}

header .logo {
    width: 80px;
    height: auto;
}

header nav {
    margin-top: 5px;
    margin-bottom: 3px;
}

/* Menu */
.nav-item .nav-link {
    font-size: 1rem;
    margin-left: 20px;
    color: #ffffff;
}

.navbar-collapse {
    transition: height 0.5s ease-in-out;
    /* Animação suave para a transição de altura */
}

.nav-item .subscribe {
    background-color: #FFCD00 !important;
    position: relative;
    color: #000;
    font-size: 1rem;
    margin-left: 20px;
    border-radius: 10px;
    text-decoration: none;
    top: 10px;
    padding: 10px;
}

.nav-item .subscribe:hover {
    color: #fff !important;
    background-color: #002978 !important;
}


.nav-item .nav-link:hover {
    /* text-decoration: underline; */
    background-image: linear-gradient(to right, #FE4F5A, #FFCD00);
    -webkit-background-clip: text;
    color: transparent;
    /* Torna o texto transparente para que apenas o gradiente apareça */

}



.navbar-toggler {
    display: none !important;
}

.navbar-collapse.show {
    height: auto;
    /* Quando o menu estiver aberto, a altura será automática */
}

/* Ajuste da nav para dispositivos móveis */
.navbar-nav {
    flex-direction: column;
    /* Empilha os links da nav em dispositivos móveis */
}

.navbar-toggler {
    border: none;
    background: none;
    font-size: 1.5rem;
    color: white;
}

.navbar-nav .nav-link {
    padding: 10px;
}



/* ==== HERO section */

/* Hero Section */
.hero {
    background-color: #0e1014;
    padding: 0;
    height: 1000px;
}

.hero h1 {
    padding-top: 0px;
    background-image: linear-gradient(to right, #002978, #FFCD00);
    -webkit-background-clip: text;
    color: transparent;
}

.hero h1 {
    padding-top: 0px;
    background-image: linear-gradient(to right, #002978, #FFCD00);
    -webkit-background-clip: text;
    color: transparent;
}

.carousel-inner {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-top: 50px;
}

/* Carrossel - Imagens */
.carousel-inner img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Botões do carrossel */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(126, 126, 126, 0.5);
    /* Cor dos ícones de controle */
}


/* Adicionar alguns detalhes de estilo */

footer {
    margin-top: 50px;
}

footer .container {
    background-color: #fff;
}

footer h5 {
    background-image: linear-gradient(to right, #002978, #FFCD00);
    -webkit-background-clip: text;
    color: transparent;
}

footer ul li {
    padding: 5px;
    font-size: 14px;
}

footer ul li i {
    background-color: #002978;
    color: #fff;
    padding: 5px;
    font-size: 14px;
    width: 30px;
    text-align: center;
    border-radius: 8px;
}

footer ul li a {
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
    color: #000;
}

/* REPONSIVIDADE */

@media (max-width: 768px) {

    /* Ajustar a altura das imagens em dispositivos móveis */
    .carousel-inner img {
        height: auto;
        margin-top: 18px;
    }

    .hero {
        height: 600px;
    }

    .logo {
        width: 120px;
        /* Reduz a largura do logotipo em dispositivos móveis */
    }

    .navbar-toggler {
        display: block !important;
    }

    .section-title {
        font-size: 2rem;
    }

    .card-body {
        padding: 20px;
    }

    .partner-logo {
        max-width: 120px;
        margin: 10px;
    }
}

@media (max-width: 480px) {

    .hero {
        height: 480px;
    }

    .hero h1 {
        /* padding-top: -50px; */
    }
    
}

/* iPad em modo retrato (portrait) */
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .hero {
        height: 400px;
    }
}

/* iPad em modo paisagem (landscape) */
@media only screen and (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) {
    .hero {
        height: 620px;
    }
}