body {
    background-color: #e2e3e4;
    margin: 0;
    font-family: sans-serif;

}

#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #176dcf;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 80px;
    box-shadow: none;
    transition: all 0.4s ease;
    z-index: 9999;
}


#main-header img {
    width: 100px;
    border-radius: 50%;
}

#main-header .titulo {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.3rem;
    margin-left: 10px;
    color: white;
    font-weight: 700;
    transition: color 0.4s ease;
}

#main-header .nav-menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0 7rem 0 0;
    padding: 0;
}

#main-header .nav-menu a {
    position: relative;
    padding: 0.5rem 0;
    color: white;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.4s ease;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: white;
}

.nav-menu a:hover::after {
    width: 100%;
    left: 0;
}

#main-header.scrolled {
    background-color: white;
    padding: 10px 80px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#main-header.scrolled .titulo {
    color: #176dcf;
}

#main-header.scrolled .nav-menu a {
    color: #176dcf;
}

#main-header.scrolled .nav-menu a:hover {
    color: #0e4fa8;
}

#main-header.scrolled .nav-menu a::after {
    background: #176dcf;
}

.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
    z-index: 10000;
    margin-right: 2rem;
    transition: color 0.4s ease;
}

#main-header.scrolled .hamburger {
    color: #176dcf;
}

h1 {
    margin-left: 4%;
    margin-top: 6%;
    color: #176dcf;
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 500;
}


#icone {
    color: #176dcf;
}

.intro {
    background-color: #176dcf;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 88px 10%;
    gap: 50px;
    flex-wrap: wrap;
    margin-bottom: 4%;
}

.intro-img img {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    margin-top: 65px;

}

.intro-content {
    max-width: 500px;
}

.intro p {
    font-family: 'Playfair Display', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 2rem;
    line-height: 1.4;
    color: white;
}

.btn-outline1 {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 18px 55px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline1:hover {
    background-color: #ffffff;
    color: #176dcf;
    border-color: #176dcf;
}

.intro2 {
    color: #176dcf;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 65vh;
    padding: 0 10%;
    gap: 50px;
    position: relative;
    overflow: visible;
    margin-bottom: 3%;
}

.intro2-img {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.intro2-img img {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
}


.intro2-content {
    flex: 1;
    max-width: 600px;
}

.intro2 p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    color: #596672;
}

.btn-outline2 {
    background: transparent;
    color: #596672;
    border: 2px solid #596672;
    padding: 18px 55px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline2:hover {
    background-color: #176dcf;
    color: white;
    border-color: #176dcf;
}

.carousel {
    width: 100%;
    overflow: hidden;
    padding: 0px 0;
    background-color: #e2e3e4;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.carousel-row {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: scroll-right var(--carousel-duration, 38s) linear infinite;
}

.row-bottom .carousel-track {
    animation-name: scroll-left;
}

.carousel-row:hover .carousel-track {
    animation-play-state: paused;
}

.carousel-set {
    display: flex;
    flex-shrink: 0;
}

.card-carousel {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 30px 15px;
    padding: 0;
    width: 260px;
    height: 190px;
    flex-shrink: 0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.card-carousel img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

@keyframes scroll-right {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-1 * var(--carousel-set-width, 0px)));
    }
}

@keyframes scroll-left {
    from {
        transform: translateX(calc(-1 * var(--carousel-set-width, 0px)));
    }

    to {
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .carousel-track {
        animation: none;
    }
}

.btn-fetec {
    justify-content: center;
    display: flex;
    margin-top: 35px;
    margin-bottom: 50px;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px;
}

.card {
    width: 400px;
    height: 540px;
    background: #ffffff;
    border-radius: 25px;
    overflow: hidden;
    padding: 0;
    transition: .3s;
}

.card:hover {
    transform: translateY(-8px);
}

.card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.card-content {
    padding: 25px;
}

.card h2 {
    font-family: 'Bodoni Moda', serif;
    font-size: 2.2rem;
    line-height: 1;
    color: #176dcf;
    margin-bottom: 20px;
    font-weight: 500;
}

.saiba-mais {
    display: inline-block;
    color: #176dcf;
    text-decoration: none;
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags span {
    border: 1px solid #176dcf;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.8rem;
    color: #176dcf;
}

.btn-mostrar-mais {
    display: flex;
    justify-content: center;
    margin: 40px 0;

}

.btn-outline3 {
    background: transparent;
    color: #596672;
    border: 2px solid #596672;
    padding: 18px 55px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline3:hover {
    background-color: #176dcf;
    color: white;
    border-color: #176dcf;
}

.card.hidden-card {
    display: none;
}

.logo-titulo {
    display: flex;
    align-items: center;
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu a {
    color: #333;
    font-weight: 500;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    font-weight: 500;
    text-decoration: none;
}

.nav-menu a:hover {
    color: #00498E;
}

footer {
    background-color: #646464;
    margin-top: 4%
}

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

.footer {
    display: flex;
    /* justify-content: space-between;
    align-items: flex-start; */
    justify-content: center;
    align-items: center;
    background-color: #0e2a4d;
    color: white;
    padding: 2rem;
    flex-wrap: wrap;
    margin-top: 0;
    /* gap: 160px; */
}

.footer-info img {
    border-radius: 50%;
    width: 10%;
    justify-content: center;
}

.footer-info {
    flex: 1;
    min-width: 300px;
}

.footer-info h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.footer-info p {
    line-height: 1.6;
    margin-bottom: 25px;
    color: #cfd8e3;
}

.footer-contato {
    flex: 1;
    min-width: 300px;
}

.footer-contato p {
    margin-bottom: 15px;
    color: #cfd8e3;
}

.footer-contato a {
    color: #37a2ff;
    text-decoration: none;
}

.footer-contato a:hover {
    text-decoration: underline;
}

.social-icons {
    margin-top: 20px;
}

.social-icons i {
    font-size: 24px;
    margin-right: 15px;
    color: #7a8ba1;
    cursor: pointer;
    transition: 0.3s;
}

.social-icons i:hover {
    color: white;
}

.logo-transicao {
    position: relative;
    background: linear-gradient(to bottom, #e2e3e4 50%, #0e2a4d 50%);
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 94px;
    overflow: visible;
}

.logo-transicao img {
    position: absolute;
    width: 150px;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    background-color: white;
    padding: 10px;
    z-index: 2;
}

.logo-animada {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1.5s ease-out;
}

.logo-animada.visivel {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 1024px) {

    h1 {
        font-size: 2.5rem;
        margin-top: 120px;
        text-align: center;
        margin-left: 0;
    }

    .intro p {
        font-size: 1.7rem;
    }

    .intro2 p {
        font-size: 1.2rem;
    }

    .card {
        width: 350px;
        height: auto;
    }

    .card h2 {
        font-size: 1.8rem;
    }

    .card-carousel {
        width: 220px;
        height: 160px;
    }
}

@media (max-width: 900px) {


    h1 {
        font-size: 2rem;
        font-weight: 700;
    }

    #main-header {
        padding: 15px 20px;
    }

    #main-header.scrolled {
        padding: 15px 20px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        background: #176dcf;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 25px;
    }

    .nav-menu.active {
        right: 0;
    }

    .hamburger {
        display: block;
    }

    .intro {
        flex-direction: column;
        height: auto;
        text-align: center;
        padding: 60px 20px;
    }

    .intro-img img {
        max-width: 80%;
        top: 0;
        margin-top: 75px;
    }

    .intro2-img {
        justify-content: center;
    }

    .intro2-img img {
        display: block;
        margin: 0 auto;
    }

    .intro2 {
        flex-direction: column-reverse;
        height: auto;
        text-align: center;
        padding: 60px 20px;
    }

    .intro2-img img {
        max-width: 80%;
    }

}

@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    .nav-menu ul {
        flex-direction: column;
    }

    .nav-menu li {
        margin: 0.5rem 0;
    }

    /* TITULOS */

    h1 {
        font-size: 2rem;
        margin: 100px 15px 30px;
        text-align: center;
    }

    /* HEADER */

    #main-header img {
        width: 70px;
    }

    #main-header .titulo {
        font-size: 1rem;
    }

    /* INTRO */

    .intro {
        padding: 120px 20px 60px;
        gap: 25px;
    }

    .intro p {
        font-size: 1.5rem;
    }

    .intro-img img {
        max-width: 100%;
        margin-top: 0;
    }

    /* INTRO 2 */

    .intro2 {
        padding: 60px 20px;
        gap: 30px;
    }

    .intro2 p {
        font-size: 1rem;
        text-align: center;
    }

    .intro2-img img {
        max-width: 100%;
    }

    /* BOTÕES */

    .btn-outline1,
    .btn-outline2,
    .btn-outline3 {
        width: 100%;
        max-width: 350px;
        padding: 15px 20px;
        font-size: 0.95rem;
    }

    /* CARROSSEL FETEC */

    .card-carousel {
        width: 190px;
        height: 140px;
        margin: 20px 10px;
    }

    /* CURSOS */

    .cards {
        padding: 0 15px;
        gap: 20px;
    }

    .card {
        width: 100%;
        max-width: 380px;
        height: auto;
    }

    .card img {
        height: 220px;
    }

    .card-content {
        padding: 20px;
    }

    .card h2 {
        font-size: 1.5rem;
    }

    .tags {
        justify-content: center;
    }

    /* LOGO TRANSIÇÃO */

    .logo-transicao {
        height: 144px;
    }

    .logo-transicao img {
        width: 110px;
    }

    /* FOOTER */

    .footer {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-info,
    .footer-contato {
        width: 100%;
        min-width: auto;
    }

    .footer-info h2 {
        font-size: 2rem;
    }

    .social-icons {
        display: flex;
        justify-content: center;
    }

}

@media (max-width: 480px) {

    h1 {
        font-size: 1.7rem;
    }

    .intro p {
        font-size: 1.2rem;
    }

    .intro2 p {
        font-size: 0.95rem;
    }

    .card h2 {
        font-size: 1.3rem;
    }

    .card img {
        height: 180px;
    }

    .tags span {
        font-size: 0.75rem;
    }

    .card-carousel {
        width: 160px;
        height: 120px;
        margin: 15px 8px;
    }

    .logo-transicao img {
        width: 90px;
    }
}