/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        top: 20px;
    }

    to {
        opacity: 1;
        top: 0;
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        bottom: 20px;
    }

    to {
        opacity: 1;
        bottom: 0;
    }
}

/* Colors */
:root {
    --accent-color: #DA2128;
}

/* Typography */
h1,
h2,
h3,
h4 {
    line-height: normal;
    margin: 0;
}

h2 {
    font-size: 40px;
    font-family: "Barlow", sans-serif;
    font-weight: 400;
    margin-bottom: 30px;
}

/* Normalize */

html,
body {
    font-family: "Open Sans", sans-serif;
    background-color: #F4F8FB;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

body * {
    box-sizing: border-box;
}


/* html,
body {
    padding-top: 60px;
} */


.actuate.fade_in {
    position: relative;
    animation: fadeUp 0.4s forwards;
}

.actuate.toggleBlue {
    background: blue;
    color: white;
    transition: all 0.2s ease-in-out;
}

.shrink {
    height: 100px;
    background-color: #F4F8FB;
    box-shadow: 0 4px 10px -5px rgba(0, 0, 0, .2);
}

.shrink .eagle_logo {
    width: 40px;
}

.shrink .eagle_logo svg {
    height: 30px;
}

header {
    height: 120px;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 10;
    /* background-color: #F4F8FB; */
    transition: all 0.2s linear;
}

header .inner {
    height: 100%;
    width: 100%;
    max-width: 1300px;
    display: flex;
    column-gap: 60px;
    justify-content: space-between;
    margin: 0 auto;
    padding: 30px;
    align-items: center;
}

header ul {
    display: flex;
    list-style: none;
    column-gap: 20px;
    margin: 0;
    height: 100%;
    align-items: center;
}

header li a {
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    color: black;
}

header .logo {
    height: 100%;
    position: relative;
    z-index: 10;
}

.button_like {
    padding: 10px 40px;
    background-color: var(--accent-color);
    color: white;
    font-size: 20px;
    font-weight: 600;
    border: none;
    border-radius: 100px;
    display: inline-block;
    text-decoration: none;
    border: 3px solid var(--accent-color);
}

.button_like:hover {
    background-color: white;
    color: var(--accent-color);
}

.call_to_action {
    opacity: 0;
    position: relative;
    animation: fadeUp 0.8s 1s forwards;
}

.logo {
    display: flex;
    column-gap: 10px;
    align-items: center;
}

.logo svg {
    height: 30px
}

.eagle_logo {
    height: 100%;
    width: 60px;
    background-color: var(--accent-color);
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s linear;
    position: relative;
    z-index: 10;
}

.eagle_logo svg {
    height: 40px;
    fill: white;
}

.hightlight {
    color: var(--accent-color);
    font-weight: 600;
}

.top_section {
    width: 100%;
    /* height: calc(100vh - 400px);
    min-height: 740px; */
    padding-top: 120px;
    padding-bottom: 60px;
    background-size: 100% 100%;
    background-position: 0px 0px, 0px 0px, 0px 0px;
    background-image: radial-gradient(75% 75% at 20% 45%, #00295B1A 0%, #FFFFFF00 100%), radial-gradient(75% 75% at 97% 66%, #4095D14A 1%, #FFFFFF00 100%);
    margin: 0 auto;
}

.slogan {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top_section .left {
    padding: 30px;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.top_section .left h1 {
    font-size: 70px;
    font-family: "Barlow", sans-serif;
    font-weight: 400;
    opacity: 0;
    position: relative;
    animation: fadeUp 0.8s 0.2s forwards;
}

.top_section .left p {
    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    line-height: 1.6;
    opacity: 0;
    position: relative;
    animation: fadeUp 0.8s 0.6s forwards;
}

.top_section .right {
    width: 50%;
    flex-grow: 0;
    display: flex;
    align-items: stretch;
    padding: 30px;
    border-radius: 5px;
    opacity: 0;
    position: relative;
    animation: fadeUp 0.8s 1.4s forwards;
}

.top_section .right #connection {
    fill: #535353;
}

#led {
    fill: rgb(0, 41, 91);
}

#ev {
    fill: #4095D1;
}

#bolt {
    fill: #616161;
}

#fan {
    fill: #616161;
}

#rack {
    fill: #DA2128;
}


section.main {
    width: 100%;
    padding-top: 60px;
    background-color: #00295B;
    color: white;

}

section .inner {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
}

#unique {
    background-image: url('../assets/industrial-hall-1630742_1920.jpg');
    position: relative;
    background-size: cover;
    background-position: center;
    opacity: 0;
    position: relative;
    animation: fadeUp 0.8s 1.8s forwards;
}

#unique h2 {
    color: white;
}

#unique::after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(0, 41, 91, .75);
    display: block;
    position: absolute;
    top: 0;
    z-index: 0;
}

#unique h3,
#service-inc h3,
#scaled h3 {
    margin-bottom: 20px;
}


h3 {
    font-size: 25px;
    font-family: "Barlow", sans-serif;
    font-weight: 600;
    line-height: 1.4;
}

#unique ol {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

#unique ol>li {
    width: calc(33%);
    background: #4095D1;
    padding: 30px;
    border-radius: 10px;
}

#unique ol>li:nth-child(even) {
    background: #adadad;
}

#unique ul {
    margin: 0;
    padding: 0;
}

#services-inc {
    background-image: url('../assets/steel-shelf-4074061_1920.jpg');
    position: relative;
    background-size: cover;
    background-position: center;
    opacity: 0;
}

#services-inc::after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: #f4f8fbe5;
    display: block;
    position: absolute;
    top: 0;
    z-index: 0;
}

#services-inc .inner {
    z-index: 1;
    position: relative;
}

#services-inc ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0;
    padding: 0;
}

#services-inc ol>li {
    color: #181818;
    width: calc(25% - 15px);
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info_button {
    display: block;
    padding: 10px;
    text-decoration: none;
    font-weight: 600;
    color: #181818;
    border: 2px solid #e2e2e2;
    border-radius: 30px;
    text-align: center;
}

.info_button:hover {
    border: 2px solid #181818;
}

#services-inc h2 {
    color: #DA2128;
}

#services-inc h3 {
    color: #DA2128;
}


#scaled {
    background-color: initial;
    color: black;
    opacity: 0;
}

#scaled ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

#scaled ul>li {
    width: calc(33%);
    background: #adadad;
    border-radius: 10px;
    padding: 30px;
    color: white;
}

#scaled ul>li:nth-child(even) {
    background: #4095D1;
}

.actions {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer {
    height: 200px;
    width: 100%;
    background: #00295B;
    color: white;
    padding: 40px;
}


footer .inner {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

dt {
    font-weight: 600;
}

dd {
    margin: 0;
    padding: 0;
}

header #menu {
    display: none;
}

#menu {
    font-size: 10px;
    width: 3em;
    position: relative;
}

.menu-bar {
    width: 100%;
    height: 0.4em;
    transition: transform 0.2s ease-in-out;
    transform-origin: 50% 50%;
    position: relative;
    transition-delay: 0.2s;
    z-index: 10;
}

.menu-bar--middle {
    margin: 5px 0;
}

#menu input {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    opacity: 0;
    z-index: 11;
    cursor: pointer;
    -webkit-touch-callout: none;
}

.menu-bar--inner {
    width: 100%;
    height: 100%;
    background: #F4F8FB;
    filter: invert(1) saturate(0) contrast(100);
    opacity: 0.9;
    position: absolute;
    transition: transform 0.2s ease-in-out;
    border-radius: 3px;
}

#menu input:hover~.menu-bar .menu-bar--inner {
    opacity: 1;
}

#menu input:checked~.menu-bar--top {
    transition-delay: 0s;
    transform: translateY(0.9em);
}

#menu input:checked~.menu-bar--top .menu-bar--inner {
    transition-delay: 0.2s;
    transform: rotate(-45deg);
}

#menu input:checked~.menu-bar--middle {
    transition-delay: 0s;
}

#menu input:checked~.menu-bar--middle .menu-bar--inner {
    transition-delay: 0.2s;
    transform: rotate(45deg);
}

#menu input:checked~.menu-bar--bottom {
    transition-delay: 0s;
    transform: translateY(-0.9em);
}

#menu input:checked~.menu-bar--bottom .menu-bar--inner {
    transition-delay: 0.2s;
    transform: rotate(45deg);
}


#menu input:checked~nav {
    right: 0;
}

#menu ul li ul{
    padding-left: 40px;
}

section .inner {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0px 30px 60px 30px;
}

nav.desktop li {
    display: block;
    padding: 1rem;
    position: relative;
    text-decoration: none;
    transition: all 0.2s linear;
    white-space: nowrap;
}

nav.desktop li a {
    color: #747474;
}

nav.desktop li:hover {
    cursor: pointer;
}

/* nav.desktop li:hover>a::after {
    content: '';
    width: 90%;
    height: 4px;
    border-radius: 4px;
    background: #181818;
    position: absolute;
    left: 5%;
    bottom: 8px;
} */


nav.desktop li:hover>a {
    color: #181818;
}

nav.desktop ul li ul {
    background-color: #F4F8FB;
    visibility: hidden;
    opacity: 0;
    min-width: 7rem;
    position: absolute;
    transition: all 0.2s ease;
    margin-top: 1rem;
    left: 0;
    display: none;
    padding: 0;
    height: fit-content;
    box-shadow: 0 4px 10px -5px rgba(0, 0, 0, .2);
}

nav.desktop ul li:hover>ul,
nav.desktop ul li:focus-within>ul,
nav.desktop ul li ul:hover {
    visibility: visible;
    opacity: 1;
    display: block;
}

ul li ul li {
    width: 100%;
}



@media screen and (max-width: 1300px) {
    .top_section .left {
        width: 60%;
    }

    .top_section .left h1 {
        font-size: 60px;
    }

    .top_section .left p {
        font-size: 16px;
    }
}

@media screen and (max-width: 1024px) {
    .top_section {
        flex-direction: column;
    }

    .top_section .left {
        width: 100%;
    }

    .top_section .right {
        display: none;
    }

    .call_to_action {
        margin-top: 20px;
    }


    #services-inc ol>li {
        width: calc(33% - 12px);
    }

    header nav {
        display: none;
    }

    header #menu {
        display: block;
    }

    #menu nav {
        position: fixed;
        display: block;
        width: 100%;
        height: 100%;
        top: 0;
        right: -100%;
        background: #F4F8FB;
        box-shadow: 0 4px 10px -5px rgba(0, 0, 0, .2);
        padding: 120px 30px;
        z-index: 9;
        transition: all 0.2s ease-in-out;
    }

    #menu nav ul {
        flex-direction: column;
        padding: 0;
    }

    #menu nav li {
        width: 100%;
    }

    #menu nav ul li a {
        height: 60px;
        display: block;
    }
}

@media screen and (max-width: 870px) {
    #unique ol {
        flex-direction: column;
    }

    #unique ol>li {
        width: 100%;
    }

    #services-inc ol>li {
        width: calc(50% - 15px);
    }

    #scaled ul {
        flex-direction: column;
    }

    #scaled ul>li {
        width: 100%;
    }
}

@media screen and (max-width: 640px) {
    #services-inc ol {
        flex-direction: column;
    }

    #services-inc ol>li {
        width: 100%;
        aspect-ratio: auto;
    }

    .top_section .left {
        align-items: center;
    }

    header {
        height: 80px;
    }

    header .inner {
        padding: 0 30px;
    }

    .eagle_logo {
        height: 50px;
        width: 50px;
    }

    .shrink {
        height: 80px;
    }

    .shrink .eagle_logo {
        width: 50px;
        height: 50px;
    }

    .shrink .eagle_logo svg {
        height: 40px;
    }

    .top_section .left h1 {
        font-size: 50px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 20px;
    }

}

@media screen and (max-width: 530px) {
    .top_section .left h1 {
        font-size: 45px;
    }
}

@media screen and (max-width: 475px) {
    .top_section {
        flex-direction: column;
    }

    .top_section .left {
        width: 100%;
    }

    .top_section .right {
        display: none;
    }

    .top_section .left h1 {
        font-size: 40px;
    }

    .top_section .left p {
        font-size: 16px;
        line-height: 1.6;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 20px;
    }
}


@media screen and (max-height: 860px) {
    .top_section .left h1 {
        font-size: 60px;
    }
}