/* Constants */
h1 {
    font-family: "Druk";
    font-style: italic;
    font-weight: 900;
}
h2 {
    font-size: 3.6rem;
    font-family: "Druk";
    font-style: italic;
    font-weight: 900;

    color: var(--font-col-600);
    text-align: center;
    line-height: 1;
}

h2 b {
    font-size: inherit;
    font-weight: inherit;
    color: var(--yellow);
}

/* Hero section */

#hero {
    font-family: "Roboto", system-ui, -apple-system, sans-serif;
    
    min-height: 100dvh;
    overflow: clip;
    position: relative;
    isolation: isolate;
}
#hero::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to right,
        hsla(225, 21%, 7%, 0.95),
        hsla(225, 21%, 7%, 0.65)
    );

    z-index: -1;
}
#hero picture.back-gr {
    position: absolute;
    inset: 0;
    z-index: -1;
}
#hero picture.back-gr img {
    min-width: 100%;
    min-height: 100%;
}

#hero .hero-inner {
    padding-block: 15rem 7.5rem;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4.5rem;
}

#hero .hero-inner .hero-features {
    display: grid;
    gap: 4.5rem;
}

#hero .hero-inner .hero-features h1 {
    max-width: 60rem;

    font-size: 7.2rem;
    line-height: 1.25;
    font-style: italic;
    text-transform: uppercase;
    color: var(--font-col-600);
    margin-bottom: 1.5rem;
}

#hero .hero-inner .hero-features h1 b {
    font-size: inherit;
    font-weight: inherit;
    font-style: inherit;
    color: var(--yellow);
}

#hero .hero-inner .hero-features h2 {
    font-size: 2rem;
    font-weight: 500;
    color: var(--font-col-400);
    text-transform: uppercase;
}

#hero .hero-inner .hero-features ul {
    list-style: none;
    display: grid;
    gap: 1.8rem;
}
#hero .hero-inner .hero-features ul li {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
#hero .hero-inner .hero-features ul li svg {
    color: var(--yellow);
}
#hero .hero-inner .hero-features ul li span {
    font-size: 1.4rem;
    color: var(--font-col-400);
}

#hero .hero-inner .buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

#hero .hero-inner ol.features {
    list-style: none;

    display: flex;
    align-items: center;
    gap: 10rem;
}
#hero .hero-inner ol.features li {
    display: grid;
}
#hero .hero-inner ol.features li strong {
    font-size: 3rem;
    font-weight: 700;
    color: var(--yellow);
}
#hero .hero-inner ol.features li span {
    font-size: 1.4rem;
    color: var(--font-col-300);
}

#hero svg.next {
    position: absolute;
    left: 50%; bottom: 3rem;
    transform: translateX(-50%);
    width: 32px; height: 32px;
    color: var(--yellow);

    animation: jumping .7s ease-in-out infinite alternate;
}

@keyframes jumping {
    to { translate: 0 1rem; };
}






#hero .hero-inner .hero-media {
    --br: 1.5rem;

    padding: 2rem;

    flex: 1;
    max-width: 58.5rem;
    aspect-ratio: 585 / 435;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    
    position: relative;
    isolation: isolate;
}

#hero #heroVideoBox,
#hero .hero-inner .hero-media picture {
    position: absolute;
    inset: 0;

    border-radius: var(--br);
    overflow: clip;
}

#hero #heroVideoBox {
    background-color: #000000c9;
    
    opacity: 0;
    z-index: -1;
}
#hero #heroVideoBox.-playing {
    transition: opacity 0.7s ease-in-out;
    opacity: 1;
}

#hero #heroVideo {
    width: 100%;
    height: 100%;
}



#hero .hero-inner .hero-media picture {
    z-index: -2;
}



#hero .hero-inner .hero-media picture img {
    width: 100%;
    object-fit: contain;
}

#hero .hero-inner .hero-media .small {
    margin-right: auto;
    padding: 1.4rem 2rem;
    border-radius: 3rem;

    transition: transform 0.5s ease-in-out;
}
#hero:has(#heroVideoBox.-playing) .hero-inner .hero-media .small {
    transform: translateY(calc(-2rem - 50%));
}

#hero .hero-inner .hero-media button.round {
    padding: unset;
    width: 8rem;
    aspect-ratio: 1;

    display: flex;
    align-items: center;
    justify-content: center;
    
    border-radius: 50%;
}

#hero .hero-inner .hero-media button.round svg {
    width: 30px;
    height: 30px;
}

#hero .hero-inner .hero-media button.round svg#icoPlay {
    transform: translateX(3px);
    transition: 0.5s;
}
#hero .hero-inner .hero-media button.round svg#icoPause {
    fill: #1f2229;
    display: none;
}

#hero .hero-inner .hero-media button.round:is(:hover, :focus-visible) svg#icoPlay {
    rotate: 123deg;
    fill: #292c388a;
}

#hero:has(#heroVideoBox.-playing) .hero-inner .hero-media button.round svg#icoPlay {
    display: none;
}
#hero:has(#heroVideoBox.-playing) .hero-inner .hero-media button.round svg#icoPause {
    display: block;
}

#hero:has(#heroVideoBox.-playing) .hero-inner .hero-media button.round.color-btn.-yellow {
    background-color: hsla(from var(--yellow) h s l / 0.6);
}

#hero .hero-inner .hero-media .feature-cards {
    margin-bottom: -4rem;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;

    transition: transform 0.5s;
}
#hero:has(#heroVideoBox.-playing) .hero-inner .hero-media .feature-cards {
    transform: translateY(1rem);
}

#hero .hero-inner .hero-media .feature-cards dl {
    padding: 1.2rem;
    width: 100%;
    max-width: 16.5rem;
    background-color: var(--main-col3);
    border: 1px solid var(--border-col);
    border-radius: 0.5rem;
}

#hero .hero-inner .hero-media .feature-cards dt {
    font-size: 2.4rem;
    color: var(--yellow);
    margin-bottom: 0.5rem;
}
#hero .hero-inner .hero-media .feature-cards dd {
    font-size: 1.2rem;
    color: var(--font-col-300);
}

/* Services */

#services {
    padding-block: 8rem;

    display: grid;
    justify-items: center;
    gap: 3.5rem;

    background-color: var(--main-col2);
}
#services p {
    width: min(90ch, 90%);
    font-size: 1.8rem;
    color: var(--font-col-400);
    text-align: center;
}

/* Advanteges */

#advantages {
    padding-block: 8rem;
}

#advantages h2 {
    font-size: 4.8rem;
}

#advantages .-main-box {
    display: grid;
    gap: 3.5rem;
}

#advantages ul.adv-cards {
    margin-block: 2rem;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3.5rem;
}

#advantages ul.adv-cards li {
    width: 28rem;
    padding: 3.5rem;

    list-style: none;

    display: grid;
    align-content: start;
    gap: 3rem;

    background-color: var(--main-col3);
    border: 1px solid var(--border-col);
    border-radius: 1rem;
}

#advantages ul.adv-cards li .ico {
    width: 6.5rem;
    height: 6.5rem;

    display: flex;
    align-items: center;
    justify-content: center;
    
    background-color: hsla(from var(--yellow) h s l / 0.1);
    border-radius: 5px;
}

#advantages ul.adv-cards li .ico svg {
    color: var(--yellow);
}

#advantages ul.adv-cards li:hover {
    border: 1px solid var(--yellow);
    
    & .ico {
        background-color: var(--yellow);
        & svg {
            color: #000;
        }
    }
}

#advantages ul.adv-cards li h3 {
    width: min-content;
    overflow-wrap: break-word;

    font-size: 2rem;
    color: var(--font-col-600);
}

#advantages ul.adv-cards li p {
    font-size: 1.6rem;
    color: var(--font-col-300);
}

#advantages .-main-box > p {
    font-size: 1.8rem;
    color: var(--font-col-400);
    text-align: center;
    text-wrap: pretty;
}

#advantages .-yellow-empty {
    margin-inline: auto;
    max-width: 28rem;
}

/* Customers */

#customers {
    padding-block: 8rem;
    background-color: var(--main-col2);
}

#customers h3 {
    font-size: 3.2rem;
    font-style: italic;
    color: var(--font-col-300);
    text-align: center;

    margin-bottom: 5rem;
}

#customers ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

#customers li {
    list-style: none;

    padding: 1.2rem 3rem;


    font-size: 2.2rem;
    color: var(--font-col-200);
    transition: color 0.25s;

    border: 1px solid var(--border-col);
    border-radius: 5px;

    cursor: default;
}
#customers li:hover {
    color: var(--yellow);
}

/* CUSTOMER SERVICE */
#customer-service {
    background-color: var(--main-col2);
}
#customer-service .slide {
    --bk: var(--main-col2);
}
#customer-service picture img {
    max-width: 75rem;
}

/* Solutions */
#solutions {
    padding-block: 8rem;
}

#solutions .-main-box {
    display: grid;
    gap: 2.2rem;
}

#solutions h2 {
    margin-inline: auto;
    max-width: 25ch;
}

#solutions h3 {
    margin-inline: auto;
    max-width: 90ch;

    font-size: 1.8rem;
    line-height: 1.5;
    color: var(--font-col-400);
    text-align: center;
}
#solutions .-main-box > p {
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--font-col-400);
    text-align: center;
}

#solutions ul.solution-cards {
    margin-block: 3rem;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.3rem;
}
#solutions ul.solution-cards li {
    list-style: none;
    padding-block: 3.5rem;

    display: grid;
    justify-items: center;
    gap: 2rem;

    background-color: var(--main-col3);
    border: 1px solid var(--border-col);
    border-radius: 1rem;

    cursor: default;
}

#solutions ul.solution-cards li svg {
    width: 5rem;
    height: 5rem;
    color: var(--yellow);
}
#solutions ul.solution-cards li h4 {
    font-size: 2rem;
    font-style: italic;
    color: var(--font-col-600);
    text-transform: uppercase;
}
#solutions ul.solution-cards li p {
    font-size: 1.6rem;
    color: var(--font-col-300);
}


/* STRATEGIC LOCATIONS */
/* slide specifics */

#strategic-locations {
    background-color: var(--main-col2);
}

#strategic-locations .slide {
    --bk: var(--main-col2);
}

#strategic-locations .text ul {
    list-style: none;
}
#strategic-locations .text ul li {
    display: flex;
    align-items: center;
    gap: 1rem;

    margin-bottom: 1rem;
}
#strategic-locations .text ul li svg {
    color: var(--yellow);
}
#strategic-locations .text ul li span {
    font-size: 1.6rem;
    color: var(--font-col-600);
}

/* Industry Expertise */

#industry-expertise {
    padding-block: 8rem;
}

#industry-expertise .-main-box {
    display: grid;
    place-items: center;
    gap: 3.5rem;
}

#industry-expertise h2 {
    max-width: 23ch;
}
#industry-expertise h3 {
    max-width: 90ch;
    font-size: 1.8rem;
    line-height: 1.5;
    color: var(--font-col-400);
    text-align: center;
}
#industry-expertise button {
    max-width: 30rem;
}

/* Services Grid */

#services-grid {
    padding-block: 8rem;
    background-color: var(--main-col2);
}
#services-grid .-main-box {
    display: grid;
    justify-items: center;
    gap: 3.5rem;
}
#services-grid h2 {
    margin-inline: auto;
}
#services-grid ul {
    margin-block: 2rem;
    width: 100%;
    
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(28.5rem, 90%), 1fr));
    gap: 3rem;

    list-style: none;
}
#services-grid ul li {
    padding: 2.7rem;
    min-height: 17.5rem;

    display: grid;
    align-content: space-between;
    gap: 1rem;

    background: linear-gradient(135deg, #000, transparent);
    border: 1px solid var(--border-col);
    border-radius: 1rem;

    overflow: clip;
    cursor: default;
}
#services-grid ul li:is(:hover, :focus-visible) {
    border-color: var(--yellow);
}

#services-grid li svg {
    width: 3.2rem;
    height: 3.2rem;
    color: var(--yellow);

    transition: 
        opacity 0.25s,
        transform 0.5s ease-in-out;
}
#services-grid ul li:is(:hover, :focus-visible) svg {
    transform: 
        translate(10rem, 4.5rem)
        scale(5)
    ;
    opacity: 0.1;
}
#services-grid li h4 {
    font-size: 2rem;
    font-style: italic;
    text-align: right;
    text-transform: capitalize;
    color: var(--font-col-600);
}

#services-grid p {
    font-size: 1.8rem;
    line-height: 1.5;
    color: var(--font-col-400);
    text-align: center;
}


/* Warehouse Management */

#warehouse-management ul {
    list-style: none;
    display: grid;
    gap: 2rem;
}
#warehouse-management ul li {
    display: flex;
    gap: 1rem;
}
#warehouse-management ul li svg {
    color: var(--yellow);
}
#warehouse-management ul li em {
    font-size: 2.4rem;
    font-style: italic;
    color: var(--font-col-600);
    line-height: 0.9;
}
#warehouse-management small,
#warehouse-management ul li span {
    display: block;
    font-size: 1.6rem;
    color: var(--font-col-300);
    line-height: 1.5;
}

#warehouse-management button {
    max-width: 42rem;
}


/* Automation Section */

#automation-section {
    padding-block: 8rem;
    background-color: var(--main-col2);
}
#automation-section .-main-box {
    display: grid;
    justify-items: center;
    gap: 3.5rem;
}
#automation-section p,
#automation-section small {
    max-width: 75rem;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
}
#automation-section p {
    color: var(--font-col-400);
}
#automation-section small {
    color: var(--font-col-200);
}

#automation-section ul {
    margin-block: 2rem;
    width: 100%;
    
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(28.5rem, 90%), 1fr));
    gap: 3rem;

    list-style: none;
}
#automation-section ul li {
    padding: 2.7rem;
    min-height: 17.5rem;

    display: grid;
    align-content: start;
    gap: 1rem;

    background-color: var(--main-col1);
    border: 1px solid var(--border-col);
    border-radius: 1rem;

    overflow: clip;
    cursor: default;
}
#automation-section ul li:is(:hover, :focus-visible) {
    border-color: var(--yellow);
}

#automation-section li svg {
    --d: 10rem;

    width: 3.2rem;
    height: 3.2rem;
    color: var(--yellow);

    transition: 
        opacity 0.25s,
        transform 0.5s ease-in-out;
}
#automation-section ul li:is(:hover, :focus-visible) svg {
    transform: 
        translate(var(--d), 4.5rem)
        scale(5)
    ;
    opacity: 0.1;
}
#automation-section li h4 {
    max-width: 18ch;

    font-size: 2rem;
    font-style: italic;
    color: var(--font-col-600);
}


/* Trust Section */

#trust-section {
    padding-block: 8rem;
}
#trust-section .-main-box {
    display: grid;
    justify-items: center;
    gap: 3.5rem;
}
#trust-section p {
    max-width: 92ch;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--font-col-400);
    line-height: 1.5;
    text-align: center;
}


/* FAQ Section */

#FAQ-section {
    padding-block: 8rem;
    background-color: var(--main-col2);
}
#FAQ-section .-main-box {
    display: grid;
    justify-items: center;
    gap: 3.5rem;
}
#FAQ-section h3 {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--font-col-400);
    line-height: 1.5;
    text-align: center;
}

#FAQ-section .FAQ-inner {
    width: min(83.5rem, 100%);
    display: grid;
    gap: 1.5rem;
}

#FAQ-section details {
    background-color: var(--main-col1);
    border: 1px solid var(--border-col);
    border-radius: 1rem;

    overflow: clip;
    cursor: pointer;
}

#FAQ-section details summary {
    padding: 2.7rem;
    padding-right: 6rem;

    font-size: 1.6rem;
    font-weight: 500;
    color: var(--font-col-600);
    text-transform: uppercase;

    transition: background-color 0.3s ease-in-out;

    position: relative;
    isolation: isolate;
}

#FAQ-section details summary::marker,
#FAQ-section details summary::-webkit-details-marker {
    appearance: none;
    color: transparent;
    font-size: 0;
    opacity: 0;
}

#FAQ-section details summary svg {
    position: absolute;
    top: 2.7rem; right: 2.7rem;
    color: var(--yellow);

    transition:
        transform 0.5s ease-in-out,
        color 0.5s ease-in-out
    ;

    z-index: 1;
}

#FAQ-section details[open] summary {
    background-color: hsla(from var(--main-col2) h s l / 0.35);
}
#FAQ-section details[open] summary svg {
    color: var(--font-col-200);
    transform: scaleY(-1);
}

#FAQ-section details summary:hover {
    background-color: var(--main-col2);
}
#FAQ-section details p {
    padding: 2.7rem;

    font-size: 1.6rem;
    color: var(--font-col-300);
}


/* Blog */

#blog {
    padding-block: 8rem;
}
#blog .-main-box {
    display: grid;
    justify-items: center;
    gap: 3.5rem;
}
#blog ul {
    margin-block: 2rem;
    width: 100%;
    
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(33.5rem, 90%), 1fr));
    justify-items: center;
    gap: 3rem;

    list-style: none;
}
#blog ul li {
    max-width: 45rem;
    background-color: var(--main-col1);
    border: 1px solid var(--border-col);
    border-radius: 1rem;

    overflow: clip;
    cursor: pointer;
}

#blog ul li picture {
    height: 20rem;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    isolation: isolate;

    overflow: clip;
}
#blog ul li picture::after {
    content: "";
    position: absolute;
    inset: 0;

    background-color: var(--main-col1);
    opacity: 0.3;
}

#blog ul li picture img {
    width: 100%;
    margin-top: -33%;
    transition: scale 0.5s ease-in-out;
}

#blog ul li:is(:hover, :focus-visible) {
    border: 1px solid var(--yellow);
}
#blog ul li:is(:hover, :focus-visible) picture img {
    scale: 1.05;
}

#blog ul li .card-text {
    padding: 2.7rem;
    display: grid;
    gap: 2rem;
}
#blog ul li .card-text time {
    font-size: 1.4rem;
    color: var(--yellow);
}
#blog ul li .card-text h3 {
    font-size: 2.6rem;
    font-style: italic;
    color: var(--font-col-600);
}
#blog ul li .card-text p {
    font-size: 1.4rem;
    color: var(--font-col-300);
}


/* Contact CTA */
#CTA {
    padding-block: 8rem;
    background-color: var(--yellow);
}
#CTA .-main-box {
    display: grid;
    justify-items: center;
    gap: 3.5rem;
}

#CTA h2 {
    font-size: 4.8rem;
    font-style: italic;
    text-align: center;
    line-height: 1;
    color: #000;
}
#CTA h3 {
    max-width: 65ch;
    font-size: 2rem;
    text-align: center;
    color: #000000cc;
}

#CTA .buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;    
    gap: 1.7rem;
}



@media (max-width: 1250px) {
    #hero .hero-inner {
        display: grid;
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    #hero svg.next {
        bottom: 1.5rem;
    }
    #hero .hero-inner .hero-features h1 {
        font-size: 3rem;
    }
    #services h2,
    #advantages h2 {
        font-size: 3rem;
    }

    .slide {
        grid-template-columns: 1fr;
    }
    .slide picture img {
        margin-inline: auto;
        border-radius: 1rem;
    }
    #storage picture img {
        max-width: 35rem;
    }
    #customer-service picture img {
        max-width: 55rem;
    }
    .slide .text {
        justify-items: center;
    }
    .slide .text h3 {
        margin-inline: auto;
        font-size: 3rem;
        text-align: center;
    }
    .slide .text h3 br {
        display: none;
    }
    .slide .text p {
        text-align: center;
    }

    #solutions ul.solution-cards {
        grid-template-columns: 1fr;
    }
    #solutions ul.solution-cards li {
        margin-inline: auto;
        width: min(40rem, 100%);
    }
}

@media (max-width: 675px) {
    #hero .hero-inner .buttons {
        display: grid;
    }
    #services p {
        font-size: 1.6rem;
    }

    #customers h3 {
        font-size: 2.4rem;
    }
    #customers li {
        font-size: 1.8rem;
    }

    #solutions h2 {
        font-size: 3rem;
    }

    #automation-section li svg {
        --d: -10rem;
        margin-left: auto;
    }

    #FAQ-section details summary {
        font-size: 1.3rem;
    }
}

@media (max-width: 540px) {
    #advantages ul.adv-cards li {
        width: 100%;
    }
}