:root {
    --light-blue: #2f7deb;
    --medium-blue: #0c3964;
    --dark-blue: #010e27;
}

.shape {
    position: relative;
    width: 350px;
    min-height: 80px;
    padding-top: 15px;
    clip-path: polygon(0 15%, 100% 15%, 95% 65%, 0 65%);
    background: var(--light-blue);
}

.dark-blue {
    background: var(--dark-blue);
}

.light-blue {
    background: var(--light-blue);
}

/* General */
body {
    text-rendering: optimizeLegibility;
}

section {
    padding: 2px 0;
}

section h2 {
    text-align: center;
    margin: 32px auto;
    padding-bottom: 8px;
    text-transform: uppercase;
}

.info-bar {
    background: var(--dark-blue);
    color: #fff;
    padding: 8px 0;
    display: grid;
    grid-template-columns: 0fr 2fr 0fr;
    gap: 0;
}

.contact-bar {
    float: left;
}

.contact-bar a {
    color: #fff;
    margin-right: 8px;
    text-decoration: none;
}

.contact-bar a i {
    margin-right: 8px;
}

.social-bar {
    text-align: center;
}

.social-bar i {
    background: var(--light-blue);
    color: #fff;
    width: 28px;
    height: 28px;
    padding: 6px;
    text-align: center;
}

.language-bar {
    text-align: right;
}
.navbar img {
    height: 30px;
}

#gallery h2,
#benefits h2 {
    color: var(--medium-blue);
}

#gallery h2::after,
#benefits h2::after {
    display: block;
    content: "";
    margin: 4px auto 0 auto;
    width: 100px;
    height: 4px;
    background: var(--light-blue);
}


/* Header */
#hero {
    background: url('../img/background/hero-background.jpg') no-repeat center center/120%;
    min-height: 200px;
    color: #fff;
}

#hero h1 {
    width: 90%;
    color: #fff;
    padding: 8px 0;
    font-size: 24px;
}

/* Services Section */
#services-section h2 {
    color: #103f70;
}

#services-section h2::after {
    display: block;
    content: "";
    margin: 4px auto 0 auto;
    width: 100px;
    height: 4px;
    background: #2f7deb;
}

.card {
    margin: 0 auto 16px auto;
}

.card-width {
    width: 18rem !important;
}

.card-max-width {
    max-width: 100%;
}

.card img {
    width: 45%;
    margin: 18px auto 0 auto;
}

.card h5 {
    color: #144173;
    text-align: center;
    font-weight: bold;
}

.card-text {
    text-align: center;
}

.dotted-vertical-division {
    border-right: 1px dotted #000;
}

/* Us Section */
#us-section {
    color: #fff;
    background: linear-gradient(rgba(23, 95, 171, 0.6), rgb(23, 94, 171, 0.6)), url('../img/background/us-background.jpg') no-repeat top center/230%;
    min-height: 200px;
}

#us-section h2::after {
    display: block;
    content: "";
    margin: 4px auto 0 auto;
    width: 100px;
    height: 4px;
    background: #fff;
}

#us-section p {
    text-align: center;
}

/* About Us Page */
#about-us-section h2{
    color: var(--medium-blue);
}

#about-us-section h2::after{
    display: block;
    content: "";
    margin: 4px auto 0 auto;
    width: 100px;
    height: 4px;
    background: var(--light-blue);
}

#about-us-section .card img {
    width: 100% !important;
    margin: 0 auto !important;
}

#philosophy {
    color: #fff;
    background: linear-gradient(rgba(23, 95, 171, 0.6), rgb(23, 94, 171, 0.6)), url('../img/background/about-us-background.jpg') no-repeat center center;
    text-align: justify;
}

#philosophy h2 {
    color: #fff;
}

#philosophy h2::after {
    display: block;
    content: "";
    margin: 4px auto 0 auto;
    width: 100px;
    height: 4px;
    background: #fff;
}

#philosophy h3 {
    color: #fff;
    margin: 24px 0;
}

#advantages-section {
    text-align: center;
}

#advantages-section h2 {
    color: var(--medium-blue);
}

#advantages-section h2::after {
    display: block;
    content: "";
    margin: 4px auto 0 auto;
    width: 100px;
    height: 4px;
    background: var(--light-blue);
}

#hero-logistic {
    color: #fff;
    background: linear-gradient(rgba(23, 95, 171, 0.6), rgb(23, 94, 171, 0.6)), url('../img/background/logistics-background.jpg') no-repeat center center/280%;
    text-align: justify;
}

/* Storage Page */
#hero-storage {
    
    color: #fff;
    background: linear-gradient(rgba(23, 95, 171, 0.6), rgb(23, 94, 171, 0.6)), url('../img/background/storage-background.jpg') no-repeat center center/280%;
    text-align: justify;
}

#hero-freight {
    min-height: 400px;
    color: #fff;
    background: linear-gradient(rgba(23, 95, 171, 0.6), rgb(23, 94, 171, 0.6)), url('../img/background/freight-background.jpg') no-repeat center center/280%;
    text-align: justify;
}

#hero-hand {
    min-height: 400px;
    color: #fff;
    background: linear-gradient(rgba(23, 95, 171, 0.6), rgb(23, 94, 171, 0.6)), url('../img/background/hand-background.jpg') no-repeat center center/280%;
    text-align: justify;
}

/* Contact Page */
#hero-contact {
    color: #fff;
    background: linear-gradient(rgba(23, 95, 171, 0.6), rgb(23, 94, 171, 0.6)), url('../img/background/contact-background.jpg') no-repeat center center/280%;
    text-align: justify;
}

#contact-section {
    margin-bottom: 40px;
}

#contact-section h2 {
    color: var(--medium-blue);
}

#contact-section h2::after {
    display: block;
    content: "";
    margin: 4px auto 0 auto;
    width: 100px;
    height: 4px;
    background: var(--light-blue);
}

.contact-block {
    margin-top: 32px;
}

.contact-block i {
    color: var(--light-blue);
}

.sd-carrousel {
    display: block;
}

.sd-carrousel .carousel-inner {
    width: 90%;
    margin: 0 auto;
}


.md-carrousel {
    display: none;
}

/* Footer */
footer {
    padding: 32px 0;
    background: #0c3964;
    color: #fff;
}

footer h4 {
    text-transform: uppercase;
}

footer h4::after {
    display: block;
    content: "";
    margin: 4px auto 0 0;
    height: 3px;
    width: 70px;
    background: #2f7deb;
}

footer a,
footer a:visited {
    text-decoration: none;
    color: #fff;
}

footer ul {
    list-style: none;
    text-decoration: none;
    margin-left: 0;
    padding-left: 0;
}

footer .logo {
    padding: 0 32px 32px 0;
}

footer .social-bar {
    text-align: left;
}

.legal {
    background: #010e27;
    color: #2f7deb;
}

.legal a {
    padding: 8px 0;
    display: block;
}

.legal a,
.legal a:visited {
    color: #2f7deb;
}

/* General of Pages */
.hero-content {
    margin-top: 16px;
}

#hero-logistic,
#hero-storage,
#hero-freight,
#hero-hand,
#hero-contact {
    min-height: 350px;
}

#hero-logistic .shape,
#hero-storage .shape,
#hero-freight .shape,
#hero-hand .shape,
#hero-contact .shape {
    width: 370px;
}

#hero-logistic h1,
#hero-storage h1,
#hero-freight h1,
#hero-hand h1,
#hero-contact h1 {
    font-size: 24px;
}

/* Media Queries */
@media (min-width: 576px) {
    /* General */
    section h2 {
        margin: 36px auto;
    }

    .d-sm-block {
        display: inline-block !important;
    }

    #hero h1 {
        margin-top: 40px;
        width: 80%;
        font-size: 32px;
    }

    .info-bar {
        background: var(--dark-blue);
        color: #fff;
        padding: 8px 0;
        display: grid;
        grid-template-columns: 2fr 1fr .5fr;
        gap: 1rem;
    }

    .social-bar {
        text-align: right;
    }
    
    .language-bar {
        text-align: left;
    }

    .navbar img {
        height: 50px;
    }
    
    #hero {
        min-height: 400px;
    }

    #us-section {
        min-height: 430px;
        background: linear-gradient(rgba(23, 95, 171, 0.6), rgb(23, 94, 171, 0.6)), url('../img/background/us-background.jpg') no-repeat center center/120%;
    }

    #us-section p {
        font-size: 22px;
    }

    #hero-logistic {
        min-height: 350px;
        color: #fff;
        background: linear-gradient(rgba(23, 95, 171, 0.6), rgb(23, 94, 171, 0.6)), url('../img/background/logistics-background.jpg') no-repeat center center/150%;
        text-align: justify;
    }

    #hero-storage {
        min-height: 350px;
        color: #fff;
        background: linear-gradient(rgba(23, 95, 171, 0.6), rgb(23, 94, 171, 0.6)), url('../img/background/storage-background.jpg') no-repeat center center/150%;
        text-align: justify;
    }
    
    #hero-storage h1::before{
        display: block;
    }
    
    #hero-freight {
        min-height: 350px;
        color: #fff;
        background: linear-gradient(rgba(23, 95, 171, 0.6), rgb(23, 94, 171, 0.6)), url('../img/background/freight-background.jpg') no-repeat center center/150%;
        text-align: justify;
    }
    
    #hero-hand {
        min-height: 350px;
        color: #fff;
        background: linear-gradient(rgba(23, 95, 171, 0.6), rgb(23, 94, 171, 0.6)), url('../img/background/hand-background.jpg') no-repeat center center/150%;
        text-align: justify;
    }

    #hero-contact {
        min-height: 350px;
        color: #fff;
        background: linear-gradient(rgba(23, 95, 171, 0.6), rgb(23, 94, 171, 0.6)), url('../img/background/contact-background.jpg') no-repeat center center/150%;
        text-align: justify;
    }    
    
    #hero-freight .shape {
        width: 600px !important;
    }

    #hero-logistic p,
    #hero-storage p,
    #hero-freight p,
    #hero-hand p,
    #hero-contact {
        font-size: 20px;
    }

    .hero-content {
        margin-top: 40px;
    }

    .sd-carrousel {
        display: none;
    }

    .md-carrousel {
        display: block;
    }
}

@media (min-width: 992px) {
    .shape {
        position: relative;
        width: 350px;
        min-height: 80px;
        padding-top: 15px;
        clip-path: polygon(0 20%, 100% 20%, 90% 80%, 0 80%);
        background: var(--light-blue);
    }

    section {
        padding: 32px 0;
    }

    #hero {
        min-height: 600px;
        background: url('../img/background/hero-background.jpg') no-repeat center center/100%;
    }

    #hero h1 {
        width: 50%;
        font-size: 40px;
    }

    #us-section {
        min-height: 600px;
        background: linear-gradient(rgba(23, 95, 171, 0.6), rgb(23, 94, 171, 0.6)), url('../img/background/us-background.jpg') no-repeat bottom center/100%;
    }

    #us-section p {
        font-size: 26px;
        margin: 36px 0;
    }

    #hero-logistic {
        min-height: 600px;
        color: #fff;
        background: linear-gradient(rgba(23, 95, 171, 0.6), rgb(23, 94, 171, 0.6)), url('../img/background/logistics-background.jpg') no-repeat center center/140%;
        text-align: justify;
    }

    #hero-storage {
        min-height: 600px;
        color: #fff;
        background: linear-gradient(rgba(23, 95, 171, 0.6), rgb(23, 94, 171, 0.6)), url('../img/background/storage-background.jpg') no-repeat center center/140%;
        text-align: justify;
    }
    
    #hero-storage h1::before{
        display: block;
    }
    
    #hero-freight {
        min-height: 600px;
        color: #fff;
        background: linear-gradient(rgba(23, 95, 171, 0.6), rgb(23, 94, 171, 0.6)), url('../img/background/freight-background.jpg') no-repeat center center/140%;
        text-align: justify;
    }
    
    #hero-hand {
        min-height: 600px;
        color: #fff;
        background: linear-gradient(rgba(23, 95, 171, 0.6), rgb(23, 94, 171, 0.6)), url('../img/background/hand-background.jpg') no-repeat center center/140%;
        text-align: justify;
    }

    #hero-contact {
        min-height: 600px;
        color: #fff;
        background: linear-gradient(rgba(23, 95, 171, 0.6), rgb(23, 94, 171, 0.6)), url('../img/background/contact-background.jpg') no-repeat center center/140%;
        text-align: justify;
    }
    
    #hero-logistic .shape,
    #hero-freight .shape {
        width: 600px !important;
    }

    #hero-logistic h1,
    #hero-storage h1,
    #hero-freight h1,
    #hero-hand h1,
    #hero-contact h1 {
        font-size: 36px;
    }
    
    #hero-logistic p,
    #hero-storage p,
    #hero-freight p,
    #hero-hand p,
    #hero-contact p {
        font-size: 28px;
    }

    .hero-content {
        margin-top: 60px;
    }
}