/* Global CSS */

:root {
    --primary-color: #2047f4;
    --secondary-color: #ffba4c;
    --tertiary-color: transparent;
    --active-color: #e9edfe;

    --section-primary-color: #2047f4;
    --section-secondary-color: #ffffff;
    --section-tertiary-color: #f9fafb;

    --section-padding: 100px 0;
    --section-margin: 80px 0;

    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    --font-color-primary: #1f2937;
    --font-color-secondary: #2047f4;
}

html, body {
    font-size: 16px;
    font-family: var(--font-primary);
    color: var(--font-color-primary);
}

.container-fluid {  
    padding-right: 45px;
    padding-left: 45px;
    margin-right: auto;
    margin-left: auto;
}


h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--font-color-primary);
}

h1 {
    font-size: 28px;
    font-weight: 700;
    line-height: 34px;
    margin-bottom: 20px;
    margin-top: 0;
}

h2 {
    font-size: 28px;
    font-weight: 700;
    line-height: 34px;
    margin-bottom: 20px;
    margin-top: 0;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 26px;
    margin-bottom: 20px;
    margin-top: 0;
}

h4 {
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 20px;
    margin-top: 0;  
}

h5 {
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    margin-bottom: 20px;
    margin-top: 0;
}

h6 {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    margin-bottom: 20px;
    margin-top: 0;
}

p {
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    margin-bottom: 20px;
    margin-top: 0;
}

a { 
    color: var(--font-color-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

a:hover {
    color: var(--primary-color);
}

.btn {
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    margin-bottom: 0;
    margin-top: 0;
    border-radius: 6px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;

    &.btn-primary {
        background-color: var(--primary-color);
        color: var(--section-secondary-color);
    }

    &.btn-secondary {
        background-color: var(--secondary-color);
        color: var(--font-color-primary);
    }
    
    &.btn-tertiary, &.btn-link {
        background-color: var(--tertiary-color);
        color: var(--font-color-primary);
    }

    &.btn-active {
        background-color: var(--active-color);
        color: var(--font-color-primary);
    }
}


.btn:hover {
    background-color: #2237b6;

    &.btn-primary:hover {
        background-color: #2237b6;
    }

    &.btn-secondary:hover {
        background-color: #dc9015;
    }

    &.btn-tertiary:hover, &.btn-link:hover {
        color: var(--primary-color);
        background-color: var(--tertiary-color);
    }

    &.btn-active:hover {
        background-color: #e9edfe;
    }
}

.section-padding {
    padding: var(--section-padding);
}

.section-margin {
    margin: var(--section-margin);
}

.page-content {
    padding: 50px 0;
}

@media (min-width: 768px) {
    h1 {
        font-size: 38px;
        line-height: 44px;
    }

    h2 {
        font-size: 32px;
        line-height: 38px;
    }

    h3 {
        font-size: 20px;
        line-height: 26px;
    }

    h4 {
        font-size: 18px;
        line-height: 24px;
    }

    h5 {
        font-size: 16px;
        line-height: 22px;
    }

    h6 {
        font-size: 12px;
        line-height: 18px;
    }



}

@media (min-width: 1200px) {
    h1 {
        font-size: 48px;
        line-height: 54px;
    }

    h2 {
        font-size: 38px;
        line-height: 44px;
    }

    h3 {
        font-size: 24px;
        line-height: 30px;
    }

    h4 {
        font-size: 20px;
        line-height: 26px;
    }

    h5 {
        font-size: 18px;
        line-height: 24px;
    }

    h6 {
        font-size: 14px;
        line-height: 20px;
    }
}