/* || VARIABLES */
:root {
    /* Primary Colors */
    --esi-blue: #030E29;
    --esi-orange: #F37C2A;
    --dark-orange: #D95336;
    --esi-black: #000914;
    --white: white;

    /* Secondary Colors */
    --steel-blue: #293249;
    --light-steel-blue: #536f80;
    --website-blue-bg1: #192d46;
    --night-blue: #022143;
    --deep-blue: #002C54;

    /* Neutral Colors */
    --grey600: #3A3A3A;
    --grey500: #58595B;
    --grey400: #7D8589;
    --grey300: #E5E8EB;
    --grey200: #F3F3F3;
    --grey100: #F5F6F7;

    /* Gradients */
    --gradient: linear-gradient(180deg, var(--esi-blue), var(--night-blue), var(--deep-blue));
}


/* || ELEMENTS */
h1,h2,h3,h4,h5{
    font-family: 'Geometria', 'Montserrat', sans-serif;
    color: var(--esi-black);
    font-weight: 500;
}

body{
    overflow-x: hidden;
    font-family: 'Geometria', 'Montserrat', sans-serif !important;
}

section{
    position: relative;
    width: 100%;
}

html{
    scroll-padding-top: 110px;
}

strong, b {
  font-weight: 500 !important;
}

/* || SITEWIDE */
.content{
    min-height: 80vh;
}

.home-container {
    width: 100%;
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem 2rem;
    position: relative;
    font-size: 18px;
    line-height: 30px;
}

.home-container p {
    margin: 20px 0;
}

.esi-btn {
    font-size: 14px;
    font-weight: normal;
    border-radius: 0 !important;
    padding: 13px 40px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    justify-content: center;
    text-align: center;
    line-height: 1 !important;
    transition: .4s !important;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.main-btn{
    border: 1px solid var(--esi-orange);
    color: var(--esi-orange);
    background: transparent;
}

.main-btn:before {
    background: #f37c2a;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    transition: .4s;
    width: 100%;
    height: 0;
    transform: translate(-50%,-50%) rotate(45deg);
    display: block !important;
    opacity: 1 !important;
    margin: 0 !important;
}

.main-btn:hover {
    color: #fff !important;
    box-shadow: 0 0 15px rgba(83,111,128,.3);
}

.main-btn:hover:before{
    height: 500%;
}

.secondary-btn{
    background: var(--esi-orange);
    color: var(--white);
    border: none !important;
}

.secondary-btn:hover {
    background: var(--steel-blue) !important;
}

.linkedin-footer {
    background: var(--steel-blue);
    padding: 50px;
}

.footer {
    background: #030E29;
    padding: 50px 0 50px;
}

/* || LOGIN */
.form-signup-card{
    width: 100%;
    padding: 15px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    max-width: 400px;
    background-color: var(--grey100);
}

.form-signup-container{
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    height: 100vh;
    background-color: var(--esi-blue);
}

.form-floating input{
    border-radius: 0 !important;
}

.form-footer a{
    color: var(--esi-orange);
}

.form-footer a:hover{
    color: #536f80;
}


/* || NAVBAR */
.esi-navbar{
    background-color: var(--esi-blue) ;
    text-transform: uppercase;
    font-size: 14px !important;
}

.nav-link:hover{
    color: var(--esi-orange) !important;
}

.nav-profile {
    margin-left: auto;
}

.notification-badge{
    top: 27%;
}

.navbar-collapse{
    padding: 14px .7rem;
}

.navbar-toggler{
    border:none !important;
}

.dropdown-toggle{
    display: flex !important;
    align-items: center;
}

.dropdown-toggle::before{
    background: url("../graphics/icon-set/arrow.93635fbe52ad.svg");
    content: '';
    display: block;
    height: 24px;
    width: 24px;
    margin-right: 5px;
    background-size: cover;
    transition: 0.2s ease-out;
}

.dropdown-toggle::after{
    border: none !important;
}

.dropdown-toggle.show::before {
  transform: rotate(90deg);
}

.dropdown-menu{
    background-color: transparent !important;
    border: none !important;
}

.dropdown-item{
    margin: 5px 0;
    transition: 0.3s ease;
    font-size: 15px !important;
    text-wrap: wrap !important;
    text-transform: none;
}

.dropdown-item:hover{
    background-color: transparent !important;
    color:  var(--esi-orange) !important;
}

.social-icons{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin-top: 10px !important;
}


/* || PROFILE SECTION */
@keyframes bounce {
    0% { transform: translateY(0); }
    30% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.bounce {
    animation: bounce 0.5s ease-out;
}

.card{
    border-radius: 0 !important;
}


/* || HERO */
.hero{
    padding: 3rem 1rem 4rem 1rem;
    color: var(--white);
    position: relative;
    overflow: visible;
    background: var(--esi-blue);
}

.hero h1{
    font-weight: 500;
    text-transform: uppercase;
}

.hero.line3::before{
    position:absolute;
    bottom: -10px;
    height: 20px;
    width: 90%;
    content: "";
    background: var(--esi-orange);
    left: 0px !important;
}

/* || MISSION SECTION */
.mission-section{
    background-color: var(--website-blue-bg1);
    color: var(--white);
    position: relative;
}

.line::after{
    position:absolute;
    top: 0;
    height: 7px;
    width: 33%;
    content: "";
    background: var(--esi-orange)
}

.kicker{
    font-size: 16px;
    color: var(--esi-orange) !important;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}


/* || ABOUT SECTION */
.about-section{
    background-color: var(--grey300) !important;
}

.about-section .background-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}


/* || VALUES SECTION */
.values-section {
    background: var(--grey100);
}

.values-section .home-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.cv-tabs {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
    --cv-height: 110px;
    z-index: 0;
}

.cv-tabs::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: var(--esi-orange);
}

.cv-tab-item { width: 100%; }

.cv-tab {
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 64px;
    padding: 18px 5% 18px 12%;
    border: 0;
    border-radius: 0;
    text-align: left;
    white-space: normal;
    word-break: break-word;
    cursor: pointer;
    outline-offset: -2px;
    background: var(--esi-orange);
    color: var(--white) !important;
}

.cv-tab::after {
    content: "";
    position: absolute;
    left: 2.2%;
    top: 0; bottom: 0; margin: auto 0;
    width: 15px; height: 15px;
    transform: rotate(-45deg);
    border: 0 solid var(--esi-orange);
    border-width: 0 2px 2px 0;
}

.cv-tab::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    background: #fff;
    opacity: 0;
    z-index: -1;
    transition: height .5s, width .5s, opacity .7s;
}

.cv-tab:hover,
.cv-tab:focus,
.cv-tab.is-active {
    color: var(--esi-black) !important;
}

.cv-tab:hover::before,
.cv-tab:focus::before,
.cv-tab.is-active::before {
    width: 100%;
    height: 100%;
    opacity: 1;
}

.cv-tab:focus { outline: 2px solid #fff; }

.cv-panels {
    position: relative;
    background: transparent;
    margin-top: 24px;
}

.cv-panel {
    display: none;
    position: relative;
    padding: 30px 0 30px;
    background: transparent;
}

.cv-kicker{
    height: 24px;
    font-weight: normal;
    padding: 15px;
    background: var(--steel-blue);
    color: #fff;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
}

.cv-panel.is-active {
    display: block;
}

.cv-panel h3 {
    color: var(--esi-black);
}


/* || VISION SECTION */
.story-image {
    margin: 0;
    width: 100%;
    max-width: 500px;
}

.story-image img {
    width: 100%;
    height: auto;
}

.story-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}


/* || POLICIES SECTION */
.policies-section{
    background-color: var(--grey100);
}

.p-section-header{
    margin-bottom: 50px;
}

.p-section-header h2{
    position: relative;
    padding-bottom: 25px;
    text-align: center;
    line-height: 1.2;
}

.p-section-header h2::after{
    background-color: var(--esi-black);
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    content: "";
    margin: 0 auto;
    width: 30%;
    max-width: 100px;
}

.policies-section .policies-row{
    margin: 0 -3% !important;
}

.policies-section .policies-row .policy-section-item{
    margin-bottom: 50px;
    padding: 0 3%;
}

.policies-section .policies-row .policy-section-item h3{
    color: var(--esi-black);
    padding: 15px 0 20px;
    line-height: 1.2;
    font-size: 22px !important;
}

.policy-section-item ul{
    padding-left:0;
    list-style-type: square;
    list-style-position: inside;
    color: var(--grey400);
    font-size: 16px;
    line-height: 25px;
}

.policy-section-item ul li:nth-child(n+4) {
  display: none;
}

.explore-link {
    margin-top: auto;
    font-size: 14px;
    font-weight: 400;
    border-bottom: 1px solid var(--esi-orange);
    padding: 6px 0  !important;
    align-items: center;
    display: inline-flex !important;
    color: var(--esi-orange);
    position: relative;
    text-decoration: none;
    transition: .4s;
    z-index: 0;
}

.explore-link:after {
    content: "\2192";
    font: 17px / 1 ETmodules;
    margin: 2px 0 0 5px;
}

.explore-link:before {
    width: 0;
    transition: width .3s;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    content: "";
    background: rgba(83, 111, 128, .1);
    z-index: -1;
}

.explore-link:hover {
    border-bottom: 1px solid #536f80;
    color: #536f80;
    padding: 6px 15px !important;
}

.explore-link:hover:before{
    width: 100%;
}


/* || MEDIA QUERIES */
@media (min-width: 768px) {
    .form-signup-card{
        max-width: 500px;
    }

    /* || VALUES SECTION */
    .cv-tabs {
        display: flex; flex-wrap: nowrap;
        height: var(--cv-height);
    }

    /* Bring back the single full-bleed orange strip behind the row */
    .cv-tabs::after {
        content: "";
        position: absolute;
        z-index: -1;                /* behind the tabs’ stacking context */
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        height: var(--cv-height);
        background: var(--esi-orange);
    }

    /* Desktop: tabs become transparent so the strip shows through */
    .cv-tab {
        height: var(--cv-height);
        background: transparent;
    }

    .cv-tab:hover::before,
    .cv-tab:focus::before,
    .cv-tab.is-active::before {
        height: calc(var(--cv-height) + 20px);
        margin-top: -10px;
    }

    /* White borders between equal-width tabs */
    .cv-tab-item { flex: 1 1 0; }
    .cv-tab-item + .cv-tab-item .cv-tab { border-left: 1px solid #fff; }
    .cv-tab-item:first-child .cv-tab   { border-left: 1px solid #fff; }
    .cv-tab-item:last-child  .cv-tab   { border-right: 1px solid #fff; }

    /* || POLICY SECTION */
    .policies-row .policy-section-item{
        border-right: 1px solid rgba(159, 162, 171, 0.5);
    }

    .policies-row .policy-section-item:nth-child(2n),
    .policies-row .policy-section-item:last-child{
        border-right: none;
    }
}


@media (min-width: 992px) {
    .form-signup-card{
        max-width: 608px;
    }

    /* || NAVBAR */
    .nav-profile {
        width: 100%;
    }

    .dropdown-menu{
        margin-top: 16px !important;
        margin-right: 0 !important;
        background: var(--website-blue-bg1) !important;
        border-radius: 0 !important;
        text-wrap: nowrap;
    }

    .dropdown-item{
        text-wrap: nowrap !important;
    }

    .navbar-collapse{
        padding: 0;
    }

    .social-icons{
        margin-top: auto !important;
    }

    .social-icons .nav-item .nav-link{
        padding-left: 1px !important;
    }

    .search-container {
        width: 220px;
        height: 40px;
        margin-bottom: 0;
    }


    /* || STORY SECTION */
    .story-flex {
        flex-direction: row;
        z-index: 10 !important;
    }

    .story-content,
    .story-image {
        flex: 1;
    }

    .story-image {
        margin: -60px -55px -140px 0;
        max-width: 550px;
    }


    /* || POLICY SECTION */
    .policies-row .policy-section-item:nth-child(2n),
    .policies-row .policy-section-item:last-child{
        border-right: 1px solid rgba(159, 162, 171, 0.5);
    }

    .policies-row .policy-section-item:nth-child(3n),
    .policies-row .policy-section-item:last-child{
        border-right: none;
    }

}


/* || SEARCH - TEMP DISABLED */
.search-container {
    position: relative;
    width: 100%;
    background: transparent;
    display: flex;
    align-items: center;
    padding: 5px 10px;
    margin-bottom: 10px;
}

/* Search Input */
.search-input {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    flex-grow: 1;
    color: white !important;
    appearance: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.search-input:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

.search-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0 !important;
}

.search-btn svg {
    transition: stroke 0.2s;
}

.search-btn:hover svg {
    stroke: white;
}

.search-link{
    display: inline-flex;
    cursor: pointer;
    font-weight: 500;
    border: none;
    color: #D95829;
    transition: 0.3s ease;
    text-decoration: none;
}

.search-link:hover{
    text-decoration: underline;
    color: #F37C2A;
    font-weight: 600;
}

.page-link{
    color: var(--esi-orange) !important;
}

.active>.page-link, .page-link.active {
    color: white !important;
    background-color: var(--esi-orange) !important;
    border-color: var(--esi-orange) !important;
}