/* ==================================================================
This file can contain the things shared by the entire website:

CSS variables
Font definitions
Reset styles
General body styles
Common utility classes 
====================================================================*/

/* =========================================
   GLOBAL VARIABLES
========================================= */

:root {

    /* -----------------------------------------------------
       BRAND COLORS
    ----------------------------------------------------- */
    --entrax-navy: #0D263B;
    --entrax-orange: #E65C22;
    --entrax-bright-orange: #FF5A1F;
    --entrax-white: #FFFFFF;
    --entrax-light-gray: #F5F6F6;
    --entrax-dark-text: #1E3245;

    --entrax-dark-navy: #06243A;

    /* -----------------------------------------------------
       NEUTRAL COLORS
    ----------------------------------------------------- */

    --color-text-primary: #20364A;
    --color-text-secondary: #5F6872;
    --color-text-light: #8C969F;
    --color-background-light: #F5F5F3;
    --color-border: rgba(32, 54, 74, 0.12);
    --color-border-light: rgba(255, 255, 255, 0.15);
    --color-navy: #082B46;
    --color-orange: #F15A24;
    /* -----------------------------------------------------
       LAYOUT
    ----------------------------------------------------- */

    --page-max-width: 1920px;
    --content-padding-desktop: 4%;
    --content-padding-tablet: 4%;
    --content-padding-mobile: 24px;

    /* -----------------------------------------------------
       TRANSITIONS
    ----------------------------------------------------- */

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;



/*         Keep it this way initially, Then, after we finish the Home and Our Approach pages, we can check how it looks at:
            1366px
            1440px
            1920px
            2560px
            and decide whether to keep:
            max-width: 1920px;
            or allow the website to remain fully fluid. */
    --page-max-width: 1920px;


}


/* =========================================
   2. GLOBAL RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family: var(--font-primary);
    color: var(--color-text-primary);
    background-color: #ffffff;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%230d263b' fill-opacity='0.08' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");

    min-width: 320px;
    /* color: var(--entrax-dark-text); */
    /* font-family: var(--font-body); */
    line-height: 1.5;
    overflow-x: hidden;
}


img {
    max-width: 100%;
    display: block;
}



a {

    color: inherit;
    text-decoration: none;

}


button,
input,
textarea,
select {
    font-family: var(--font-primary);
    

}



/* =========================================================
   3. GLOBAL LAYOUT
========================================================= */

.site-wrapper {

    width: 100%;
    max-width: var(--page-max-width);
    margin: 0 auto;
    
    /* may need to be deleted */
    overflow: hidden;

}


.page-section {

    width: 100%;

    position: relative;

}


.section-inner {

    width: 100%;

    margin: 0 auto;

    padding-left:
        var(--content-padding-desktop);

    padding-right:
        var(--content-padding-desktop);

}




/* =========================================================
   4. GLOBAL TYPOGRAPHY
========================================================= */

body {

        font-family:
        var(--font-primary);

}


h1,
h2,
h3,
h4,
h5,
h6 {

    font-family:
        var(--font-heading);

    font-weight: inherit;

    line-height: 1.1;

}


.section-label {

    display: inline-flex;

    align-items: center;

    gap: 14px;

    color:
        var(--entrax-orange);

    font-family:
        var(--font-label);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;

}


.section-label::after {

    content: "";

    width: 25px;

    height: 1px;

    background:
        var(--entrax-orange);

}


/* =========================================================
   5. GLOBAL BUTTONS
========================================================= */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 24px;

    min-height: 52px;

    padding:
        0
        28px;

    border: none;

    cursor: pointer;

    font-family:
        var(--font-navigation);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.5px;

    text-transform: uppercase;

    transition:
        background var(--transition-normal),
        color var(--transition-normal),
        transform var(--transition-fast);

}


.btn-primary {

    background:
        var(--entrax-bright-orange);

    color:
        var(--entrax-white);

}


.btn-primary:hover {

    background:
        var(--entrax-orange);

}


.btn-arrow {

    font-size: 20px;

    font-weight: 400;

    transition:
        transform var(--transition-normal);

}


.btn:hover .btn-arrow {

    transform:
        translateX(5px);
}




/* =========================================================
   6. GLOBAL UTILITIES
========================================================= */

.visually-hidden {

    position: absolute;

    width: 1px;

    height: 1px;

    padding: 0;

    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;

}


.no-scroll {

    overflow: hidden;

}



