:root {
    --red: #EF4444;
    --red-white: #FEE2E2;
    --white: #fff;
    --black: #000;
    --gray-blue: #6B7280;
    --blue: #415482;
    --gray-light: #C9C9C9;
    --gray-medium: #666666;
    --yellow: #f7ce46;
    --red-hyper-white: #FEF2F2;


    /* LAYERS */
    --layer-010: rgba(0, 0, 0, 0.10);
    --layer-025: rgba(0, 0, 0, 0.25);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
}

html {
    font-family: 'Be Vietnam Pro', sans-serif;
    scroll-behavior: smooth;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: var(--white);
}

a:hover {
    text-decoration: underline;
}

input {
    border: none;
}

input:focus {
    outline: 1px solid var(--layer-025);
}

textarea {
    resize: none;
}

textarea:focus {
    outline: 1px solid var(--layer-025);
}

.header{
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--red);
    height: 70px;
    width: 100%;
    padding-inline-end: 24px;
    z-index: 1000;
}

.dropdown {
    display: none;
}

.dropdown-content {
    position: fixed;
    top: -100%;

    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(239, 68, 68, 0.9);
    color: white;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: top 0.5s ease;
    /* Smooth transition */
}

.dropdown.active .dropdown-content {
    top: 0;
}

.dropdown-content a {
    color: white;
    font-size: 24px;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    border: 2px solid white;
    border-radius: 5px;
    background-color: var(--gray-light);
}

.material-symbols-outlined.close-icon {
    font-size: 36px;
    color: white;
    cursor: pointer;
    margin-top: 20px;
    transition: color 0.3s ease;
}

.material-symbols-outlined.close-icon:hover {
    color: #aaa;
}

.hero {
    height: 490px;
}

.logo{
    background-color: var(--white);
    padding: 48px;
}

/* DEFAULT STYLES */
.--no-decoration:hover{
    text-decoration: none;
}

.--clickable {
    cursor: pointer;
}

.--inline-container {
    display: flex;
}

.--block-container {
    display: flex;
    flex-direction: column;
}

.--four-cards {
    display: grid;
    grid-template-columns: repeat(4, 350px);
}

.--three-cards {
    display: grid;
    grid-template-columns: repeat(3, 400px);
}

.--two-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.--space-between {
    justify-content: space-between;
}

.--centered {
    justify-content: center;
    align-items: center;
}

.--y-centered {
    align-items: center;
}

.--padding-block-128{
    padding-block: 128px;
}

.--padding-block-96{
    padding-block: 96px;
}

.--padding-block-48 {
    padding-block: 48px;
}

.--padding-block-24 {
    padding-block: 24px;
}

.--padding-block-12 {
    padding-block: 12px;
}

.--padding-inline-48 {
    padding-inline: 48px;
}

.--padding-inline-24 {
    padding-inline: 24px;
}

.--padding-inline-12 {
    padding-inline: 12px;
}

.--gap-128 {
    gap: 128px;
}

.--gap-48 {
    gap: 48px;
}

.--gap-32{
    gap: 32px;
}

.--gap-24 {
    gap: 24px;
}

.--gap-16 {
    gap: 16px;
}

.--gap-8 {
    gap: 8px;
}

.--font-64 {
    font-size: 64px;
}

.--font-40 {
    font-size: 40px;
}

.--font-32 {
    font-size: 32px;
}

.--font-24 {
    font-size: 24px;
}

.--font-20 {
    font-size: 20px;
}

.--font-16 {
    font-size: 16px;
}

.--font-white {
    color: var(--white);
}

.--font-black {
    color: var(--black);
}

.--font-red {
    color: var(--red);
}

.--font-yellow {
    color: var(--yellow);
}

.--font-gray-blue {
    color: var(--gray-blue);
}

.--font-blue {
    color: var(--blue);
}

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

.--regular {
    font-weight: 500;
}

.--bold {
    font-weight: 600;
}

.--background-white {
    background-color: var(--white);
}

.--background-red {
    background-color: var(--red);
}

.--background-red-white {
    background-color: var(--red-white);
}

.--background-hyper-red {
    background-color: var(--red-hyper-white);
}

.--button {
    padding-inline: 24px;
    padding-block: 8px;
    border-radius: 30px;
    background-color: var(--white);
    width: fit-content;
}

.--button-white {
    padding-inline: 16px;
    padding-block: 12px;
    border: 1px solid var(--layer-025);
    width: fit-content;
    border-radius: 6px;
}

.--button-red{
    padding-inline: 24px;
    padding-block: 12px;
    width: fit-content;
    border-radius: 30px;
    background-color: var(--red);
}

.--button-blue{
    padding-inline: 16px;
    padding-block: 8px;
    background-color: var(--blue);
    width: auto;
    border-radius: 6px;
    text-align: center;
}

.--button:hover,
.--button-white:hover {
    text-decoration: none;
}

.--button-white:hover {
    border: 1px solid var(--gray-blue);
}

.--button:hover, .--button-white:hover, .--button-red:hover, .--button-blue:hover{
    text-decoration: none;
}

.--section {
    padding-block: 128px;
    padding-inline: 20px;
    gap: 10px;
}

.--card {
    display: flex;
    flex-direction: column;

    padding-inline: 24px;
    padding-block: 24px;
    border: 1px solid var(--layer-010);
    gap: 16px;
    border-radius: 6px;
}

span.--big-icon {
    font-size: 40px;
}

span.--medium-icon {
    font-size: 30px;
}

span.--smal-icon {
    font-size: 20px;
}

.--input {
    padding-inline: 12px;
    padding-block: 8px;
    font-size: 16px;
    color: var(--gray-blue);
    border: 1px solid var(--layer-010);
    border-radius: 6px;
    width: auto;
}

.--full-width {
    width: 100%;
}

@media (max-width: 1300px) {
    .--four-cards {
        grid-template-columns: repeat(2, 290px);
    }

    .--three-cards {
        grid-template-columns: repeat(2, 400px);
    }
}

@media (max-width: 800px) {
    .logo {
        display: none;
    }

    .--four-cards {
        grid-template-columns: 1fr;
    }

    .history{
        flex-direction: column;
    }

    .--three-cards {
        grid-template-columns: 1fr;
    }

    .--two-cards {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hero{
        padding-block: 96px;
    }
    
    .footer-container {
        display: grid;
        grid-template-columns: 1fr;
    }

    .main-title,
    .link-list {
        display: none;
    }

    .dropdown {
        display: flex;
        margin-inline-start: auto;
    }
}