@font-face {
    font-family: 'Agency';
    src: url('images/agency.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    overflow-x: hidden;
}

/* Main container */
.main-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0px 64px 0px 64px;
    isolation: isolate;
    position: relative;
    width: 100%;
    height: 750px;
    background: url(images/fundohero.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* Left container */
.left-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0px;
    gap: 35.81px;
    width: 533px;
    height: 625.92px;
    flex: none;
    order: 1;
    flex-grow: 0;
    z-index: 1;
}

/* Logocontainer */
.logocontainer {
    width: 321px;
    height: 95px;
    background: url(images/Logocontainer.webp);
    background-size: contain;
    background-repeat: no-repeat;
    flex: none;
    order: 0;
    flex-grow: 0;
}

/* Título */
.titulo {
    width: 408px;
    height: 254px;
    background: url(images/titulo.webp);
    background-size: contain;
    background-repeat: no-repeat;
    flex: none;
    order: 1;
    flex-grow: 0;
}

/* Description text */
.description-text {
    width: 533px;
    height: 102px;
    font-family: 'Source Sans Pro', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 26.7567px;
    line-height: 34px;
    color: #141046;
    flex: none;
    order: 2;
    align-self: stretch;
    flex-grow: 0;
}

/* Button link wrapper */
.button-link {
    text-decoration: none;
    display: inline-block;
    flex: none;
    order: 3;
    flex-grow: 0;
}

/* Button container */
.button-container {
    width: 317.5px;
    height: 67.5px;
    background: url(images/Buttoncontainer.webp);
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
}

.button-container:hover {
    opacity: 0.9;
    transform: scale(1.02);
    transition: all 0.3s ease;
}

/* heroimage */
.heroimage {
    width: 446px;
    height: 750px;
    background: url(images/heroimage.webp);
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    flex: none;
    order: 2;
    flex-grow: 0;
    z-index: 2;
}

/* Second section */
.second-section {
    width: 100%;
    min-height: 500px;
    background-color: #141046;
    padding: 100px 64px 64px 64px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Cards container */
.cards-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 32px;
    width: 100%;
    max-width: 1200px;
}

/* Card */
.card {
    background-color: #FFF9E3;
    width: 100%;
    max-width: 350px;
    min-height: 350px;
    border-radius: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 32px 32px 32px;
    position: relative;
    padding-top: 120px;
}

/* Card image */
.card-image {
    width: 150px;
    height: 150px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 16px;
    position: absolute;
    top: -50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Card title */
.card-title {
    font-family: 'Agency', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 40px;
    color: #141046;
    margin: 24px 0 16px 0;
    text-align: center;
}

/* Card description */
.card-description {
    font-family: 'Source Sans Pro', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    color: #141046;
    text-align: center;
    margin: 0;
}

/* Platform section */
.platform-section {
    width: 100%;
    background-color: #FFFFFF;
    padding: 80px 64px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Platform container */
.platform-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
}

/* Platform image */
.platform-image {
    width: 500px;
    height: 400px;
    background: url(images/azimage.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 24px;
    flex-shrink: 0;
}

/* Platform content */
.platform-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    flex: 1;
}

/* Platform text container */
.platform-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

/* Platform title */
.platform-title {
    font-family: 'Agency', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 42px;
    line-height: 48px;
    color: #141046;
    margin: 0;
}

/* Platform description */
.platform-description {
    font-family: 'Source Sans Pro', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: #000000;
    margin: 0;
}

/* Platform button */
.platform-button {
    width: 160px;
    height: 52px;
    background: url(images/buttonsaibamais.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.platform-button:hover {
    opacity: 0.9;
    transform: scale(1.02);
    transition: all 0.3s ease;
}

/* Bilingual section */
.bilingual-section {
    width: 100%;
    background-color: #FFFFFF;
    padding: 80px 64px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Bilingual container */
.bilingual-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
}

/* Bilingual content */
.bilingual-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex: 1;
}

/* Bilingual text container */
.bilingual-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

/* Bilingual title */
.bilingual-title {
    font-family: 'Agency', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 42px;
    line-height: 48px;
    color: #141046;
    margin: 0;
}

/* Bilingual description */
.bilingual-description {
    font-family: 'Source Sans Pro', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: #000000;
    margin: 0;
}

/* Bilingual badges */
.bilingual-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

/* Badge */
.badge {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    background: #141046;
    border-radius: 6px;
    font-family: 'Agency', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: #FFFFFF;
    white-space: nowrap;
}

/* Bilingual button */
.bilingual-button {
    width: 220px;
    height: 52px;
    background: url(images/buttonmaisinformacoes.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.bilingual-button:hover {
    opacity: 0.9;
    transform: scale(1.02);
    transition: all 0.3s ease;
}

/* Bilingual image */
.bilingual-image {
    width: 500px;
    height: 400px;
    background: url(images/internationalimage.webp);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 24px;
    flex-shrink: 0;
}

/* About section */
.about-section {
    width: 100%;
    background-color: #ffffff;
    padding: 80px 64px 0px 64px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/* About container */
.about-container {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    min-height: 500px;
}

/* About content */
.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    flex: 1;
    padding-bottom: 40px;
}

/* About title */
.about-title {
    font-family: 'Agency', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 42px;
    line-height: 48px;
    color: #141046;
    margin: 0;
}

/* About description */
.about-description {
    font-family: 'Source Sans Pro', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: #000000;
    margin: 0;
}

/* About button */
.about-button {
    width: 240px;
    height: 52px;
    background: url(images/buttonmatriculese.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.about-button:hover {
    opacity: 0.9;
    transform: scale(1.02);
    transition: all 0.3s ease;
}

/* About image */
.about-image {
    width: 500px;
    height: 500px;
    background: url(images/alunoimage.webp);
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* Contact section */
.contact-section {
    width: 100%;
    min-height: 750px;
    background: url(images/fundohero.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 64px 0px 64px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
}

/* Contact container */
.contact-container {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
    position: relative;
}

/* Contact image */
.contact-image {
    width: 500px;
    height: 650px;
    background: url(images/formsimage.webp);
    background-size: contain;
    background-position: left bottom;
    background-repeat: no-repeat;
    flex-shrink: 0;
    margin-left: -80px;
}

/* Contact form wrapper */
.contact-form-wrapper {
    background: #FFF9E3;
    border: 3px solid #141046;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 8px 8px 0px #141046;
}

/* Contact form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Form group */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Form labels */
.form-group label {
    font-family: 'Source Sans Pro', sans-serif;
    font-style: normal;
    font-weight: 900;
    font-size: 18px;
    line-height: 23px;
    color: #141046;
}

/* Form inputs */
.form-group input {
    width: 100%;
    height: 42px;
    background: #FFFFFF;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.25);
    border-radius: 6px;
    border: none;
    padding: 0 16px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    color: #141046;
}

.form-group input:focus {
    outline: 2px solid #141046;
}

/* Contact button */
.contact-button {
    width: 240px;
    height: 56px;
    background: url(images/buttonfaleconosco.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    cursor: pointer;
    margin: 20px auto 0;
    display: block;
    opacity: 0.5;
    pointer-events: none;
    transition: all 0.3s ease;
}

.contact-button:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

/* Footer */
.footer {
    width: 100%;
    background-color: #141046;
    padding: 60px 64px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Footer container */
.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    width: 100%;
}

/* Footer logo */
.footer-logo {
    width: auto;
    height: 80px;
    object-fit: contain;
}

/* Responsive Design */
@media (max-width: 1080px) {
    /* Hero section - Main container */
    .main-container {
        flex-direction: column;
        justify-content: center;
        padding: 40px 32px;
        min-height: 600px;
        height: auto;
    }

    .left-container {
        width: 100%;
        max-width: 600px;
        align-items: center;
        text-align: center;
        margin: 0 auto;
    }

    .logocontainer {
        margin: 0 auto;
    }

    .titulo {
        margin: 0 auto;
    }

    .description-text {
        text-align: center;
    }

    .button-container {
        margin: 0 auto;
    }

    .heroimage {
        display: none;
    }

    /* Cards section */
    .second-section {
        padding: 100px 32px 64px 32px;
    }

    .cards-container {
        flex-direction: column;
        gap: 80px;
        align-items: center;
    }

    .card {
        max-width: 500px;
        max-height: 200px;
    }

    /* Platform section */
    .platform-section {
        padding: 60px 32px;
    }

    .platform-container {
        flex-direction: column;
        gap: 40px;
    }

    .platform-image {
        width: 100%;
        max-width: 500px;
        height: 350px;
        background-size: contain;
    }

    .platform-content {
        width: 100%;
        max-width: 600px;
        align-items: center;
    }

    .platform-text-container {
        align-items: center;
        text-align: center;
    }

    .platform-title {
        font-size: 36px;
        line-height: 42px;
        text-align: center;
    }

    .platform-description {
        font-size: 16px;
        line-height: 22px;
        text-align: center;
    }

    /* Bilingual section */
    .bilingual-section {
        padding: 60px 32px;
    }

    .bilingual-container {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .bilingual-image {
        width: 100%;
        max-width: 500px;
        height: 350px;
    }

    .bilingual-content {
        width: 100%;
        max-width: 600px;
        align-items: center;
    }

    .bilingual-text-container {
        align-items: center;
        text-align: center;
    }

    .bilingual-title {
        font-size: 36px;
        line-height: 42px;
    }

    .bilingual-description {
        font-size: 16px;
        line-height: 22px;
    }

    .bilingual-badges {
        align-items: center;
    }

    /* About section */
    .about-section {
        padding: 60px 32px;
        align-items: center;
    }

    .about-container {
        flex-direction: column;
        align-items: center;
        min-height: auto;
    }

    .about-content {
        width: 100%;
        max-width: 600px;
        align-items: center;
        text-align: center;
        padding-bottom: 0;
    }

    .about-title {
        font-size: 36px;
        line-height: 42px;
    }

    .about-description {
        font-size: 16px;
        line-height: 22px;
    }

    .about-image {
        display: none;
    }

    /* Contact section */
    .contact-section {
        padding: 60px 32px;
        min-height: auto;
        align-items: center;
    }

    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-image {
        display: none;
    }

    .contact-form-wrapper {
        max-width: 500px;
        width: 100%;
        margin-bottom: 0;
    }

    /* Footer */
    .footer {
        padding: 40px 32px;
    }

    .footer-logo {
        height: 60px;
    }
}

/* Mobile - Extra small screens */
@media (max-width: 768px) {
    .main-container {
        padding: 32px 20px;
    }

    .left-container {
        gap: 24px;
    }

    .logocontainer {
        width: 250px;
        height: 75px;
    }

    .titulo {
        width: 100%;
        max-width: 320px;
        height: 200px;
    }

    .description-text {
        font-size: 20px;
        line-height: 28px;
        width: 100%;
    }

    .button-container {
        width: 280px;
        height: 60px;
    }

    /* Cards section */
    .second-section {
        padding: 80px 20px 40px 20px;
    }

    .card {
        max-width: 100%;
        padding: 0 24px 24px 24px;
        padding-top: 100px;
        max-height: 200px;
    }

    .card-image {
        width: 120px;
        height: 120px;
        top: -40px;
    }

    .card-title {
        font-size: 28px;
        line-height: 36px;
    }

    .card-description {
        font-size: 16px;
        line-height: 24px;
    }

    /* Platform section */
    .platform-section {
        padding: 40px 20px;
    }

    .platform-image {
        height: 300px;
        background-size: contain;
    }

    .platform-title {
        font-size: 32px;
        line-height: 38px;
    }

    .platform-button {
        width: 140px;
        height: 46px;
    }

    /* Bilingual section */
    .bilingual-section {
        padding: 40px 20px;
    }

    .bilingual-image {
        height: 300px;
    }

    .bilingual-title {
        font-size: 32px;
        line-height: 38px;
    }

    .bilingual-button {
        width: 200px;
        height: 46px;
    }

    .badge {
        font-size: 16px;
        line-height: 22px;
        padding: 6px 12px;
    }

    /* About section */
    .about-section {
        padding: 40px 20px;
    }

    .about-title {
        font-size: 32px;
        line-height: 38px;
    }

    .about-button {
        width: 220px;
        height: 46px;
    }

    /* Contact section */
    .contact-section {
        padding: 40px 20px;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .form-group label {
        font-size: 16px;
    }

    .form-group input {
        height: 38px;
        font-size: 15px;
    }

    .contact-button {
        width: 200px;
        height: 50px;
    }

    /* Footer */
    .footer {
        padding: 32px 20px;
    }

    .footer-logo {
        height: 50px;
    }
}

