@import url("https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&family=Roboto:wght@100;300;400;500;700;900&display=swap");

:root {
    --primary-color: #001220;
    --secondary-color: #f2b10d;
    --shadow-color: #9d9fb3;
    --label-color: #ced4da;
    --blue-color: #17202a;
    --dark-primary-color: #10161d;
    --selection-color: #af7e00;
    --transparent-color: #b1b8ca;
    --white-color: #fbfbfb;
    --black-text-color: #333740;
    --light-blue-transparent-color: rgba(40, 53, 64, 0.5);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Scrollbar  */
::-webkit-scrollbar {
    width: 5px;
    background-color: rgb(51, 51, 51);
    border-radius: 0px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--secondary-color);
    border-radius: 10px;
}

/* Splash scree for mobile */
.splash {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    margin: 0 auto;
    background-color: #000000;
    background-image: linear-gradient(
        135deg,
        #000000 0%,
        #000000 22%,
        #001220 49%,
        #001220 75%
    );
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    z-index: 200;
    max-width: 768px;
}

.splash.display-none {
    position: fixed;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    margin: 0 auto;
    background-color: #000000;
    background-image: linear-gradient(
        135deg,
        #000000 0%,
        #000000 22%,
        #001220 49%,
        #001220 75%
    );
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    z-index: -10;
    max-width: 768px;
    transition: all 0.5s;
}

.splash .logo {
    margin: -100px 50px 0;
    aspect-ratio: auto 500 / 97;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}

@media screen and (min-width: 768px) {
    .splash {
        display: none;
    }
}

/* Layout */
img,
video {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.main-container__image video {
    border: none;
    border-radius: 10px;
    /* box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.3); */
    position: relative;
}

.main-container__image video::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -100px;
    left: -100px;
    right: -100px;
    bottom: -100px;
    border-radius: 10px;
    /* box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.3); */
    filter: blur(5px);
}

.anchor {
    display: block;
    height: 80px;
    margin-top: -80px;
    visibility: hidden;
}

.hero {
    position: relative;
}

.hero:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 5px;
    border: none;
    background: -webkit-gradient(
        linear,
        0 0,
        100% 0,
        from(transparent),
        to(transparent),
        color-stop(50%, var(--dark-primary-color))
    );
}

.main-container {
    margin: 0 auto;
    padding: 50px 20px;
    width: 100%;
}

.main-container--bg {
    background-color: #000000cc;
}

.main-container--gradient {
    background-color: #000f1b;
    background-image: linear-gradient(
        135deg,
        #000000 0%,
        #000000 22%,
        #000f1b 49%,
        #000f1b 75%
    );
    background-repeat: no-repeat;
    background-size: cover;
}

.main-container__wrapper {
    margin: 0 auto;
    padding: 0;
    max-width: 1200px;
}

.main-container__title {
    padding: 30px 0;
    font: 700 32px "Lato", sans-serif;
    color: var(--secondary-color);
}

.main-container__description {
    padding-bottom: 30px;
    font: 400 20px "Roboto", sans-serif;
    color: var(--label-color);
}

.main-container b {
    color: var(--secondary-color);
}

.main-container a {
    text-decoration: none;
}

.main-container__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: sticky;
}

.actions--double-btn {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.button--default {
    /* width: fit-content; */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    padding: 12px 30px;
    border-radius: 10px;
    background: var(--secondary-color);
    color: var(--primary-color);
    font: 600 24px "Roboto", sans-serif;
    z-index: 1;
    border: none;
    box-shadow: 0 0.5rem 0.8rem rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.button--outline {
    background: none;
    color: var(--secondary-color);
    font: 600 24px "Roboto", sans-serif;
    z-index: 1;
    border: 3px solid;
    box-shadow: 0 0.5rem 0.8rem rgba(0, 0, 0, 0.3);
}

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

.main-header {
    padding: 50px 20px 0 !important;
}

.main-header .main-container__title {
    font-size: 36px;
    margin-top: 100px;
    padding: 30px 0 15px;
}

.width-halved {
    margin: 0 auto;
    width: 60%;
}

@media screen and (max-width: 768px) {
    .width-halved {
        margin: 0 auto;
        width: 100%;
    }
}
/* Hero  Section */
#hero .main-container__wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
    max-width: 1600px;
    padding-top: 100px;
}

.header-yellow-span,
.header-yellow-span-displayed {
    font: 900 50px "Lato", sans-serif;
    color: var(--secondary-color);
}

.header-white-span {
    font: 400 50px "Lato", sans-serif;
    color: var(--white-color);
}

/* Entity Section */
#entity {
    background-image: url(../images/mainPage/map.webp);
    background-repeat: no-repeat;
    background-position: right 35% bottom 0%;
    background-size: 650px;
}

#entity .main-container__image img {
    aspect-ratio: auto 474 / 524;
    opacity: 0.8;
}

#entity .main-container__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* About Section */
#about-us .hidden-text {
    font: inherit;
    color: inherit;
    margin-bottom: 30px;
    display: none;
    animation: slideDownArrow 3s forwards;
}

#about-us .js-open-text span:hover,
#about-us .js-close-text span:hover,
#about-us .js-open-text span,
#about-us .js-close-text span {
    cursor: pointer;
    color: var(--secondary-color);
}

@keyframes slideDownArrow {
    from {
        display: none;
        opacity: 0;
    }

    to {
        display: none;
        opacity: 1;
    }
}

/* Features Section */
#features {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr 1fr;
}

.features__content {
    padding: 10px;
    display: flex;
    gap: 30px;
    border-block-end: 4px solid;
    border-image-source: radial-gradient(
        circle at top left,
        rgba(242, 177, 13, 0.8),
        transparent 75%
    );
    border-image-slice: 1;
}

.features__title {
    padding: 10px;
    font: 400 24px "Lato", sans-serif;
    color: var(--label-color);
    width: 100%;
    align-self: center;
}

.features__content img {
    aspect-ratio: auto 90 / 90;
    margin: 10px auto;
    box-shadow: 0.5rem 0.5rem 0.8rem rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    height: fit-content;
}

/* Carousel Section */
.marquee-content img {
    aspect-ratio: auto 200 / 288;
}

/* Services Section */
.service-card-left {
    display: grid;
    grid-template-columns: 1fr 3fr;
}

.service-card-right {
    display: grid;
    grid-template-columns: 3fr 1fr;
    text-align: -webkit-right;
}

.service-card-left,
.service-card-right {
    background-image: linear-gradient(
        135deg,
        rgba(10, 25, 49, 0.8) 0%,
        rgba(0, 0, 0, 0.8) 90%
    );
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 30px;
    margin-bottom: 50px;
    padding: 20px;
}

.service-card__picture {
    align-self: center;
    margin: 20px;
}

.service-card__picture img {
    margin: 10px auto;
    aspect-ratio: auto 300 / 300;
}

.service-card__subtitle,
.main-container__subtitle {
    font: 400 18px "Lato", sans-serif;
    color: var(--shadow-color);
    margin: 5px auto;
}

.service-card__title {
    font: 700 26px "Lato", sans-serif;
    color: var(--white-color);
    margin: 0 auto;
}

.service-card__description {
    margin: 20px 0;
    font: 400 18px "Roboto", sans-serif;
    color: var(--label-color);
    text-align: justify;
}

.service-card__content .fa-chevron-right,
a {
    transition: all 0.3s linear;
}

.service-card__content a:hover .fa-chevron-right {
    transform: translateX(10px);
}

.service-card__content .fa-chevron-right {
    height: 0.8em;
    margin-left: 5px;
}

.service-card__content a:hover {
    color: var(--secondary-color);
}

.service-card__list {
    margin: 20px 0;
    font: 400 20px "Roboto", sans-serif;
    color: var(--label-color);
}

/* Quote Section */
blockquote {
    margin: 0;
    padding-bottom: 0 !important;
    quotes: "\201C""\201D""\2018""\2019";
}

blockquote:before {
    color: var(--shadow-color);
    content: open-quote;
    font-size: 8em;
    line-height: 0.1em;
    margin-right: 0.25em;
    vertical-align: -0.4em;
}

blockquote:after {
    color: var(--shadow-color);
    content: close-quote;
    font-size: 8em;
    line-height: 0.1em;
    margin-left: 0.25em;
    vertical-align: -0.8em;
}

.quotation__picture {
    display: block;
    margin: 0 auto 60px auto;
    aspect-ratio: auto 400 / 190;
}

/* Join us and Call to Sections */
.animated-container {
    background: rgba(0, 0, 0, 0.8);
    margin: 20px;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0.5rem 0.5rem 0.8rem rgba(0, 0, 0, 0.4);
    transition: 0.5s;
}

.join-us {
    display: grid;
    grid-gap: 30px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 30px;
}

.animated-container img {
    vertical-align: middle;
    aspect-ratio: auto 80 / 80;
}

.join-us__icon {
    height: 30px;
    color: var(--secondary-color);
    float: left;
}

.animated-container:hover {
    transform: translateY(-50px);
    transition: 0.5s;
}

/* Testiomonial Section */
/* .testimonials {
    display: grid;
    grid-gap: 30px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 30px;
}

.testimonial__picture {
    aspect-ratio: auto 468 / 270;
} */

.testimonial {
    padding: 20px 0 0;
    text-align: center;
    position: relative;
    margin: 0 15px;
}

.testimonial:before {
    content: url(../images/mainPage/quote.webp);
    position: absolute;
    top: -5px;
    left: 48%;
    transform: scale(0.6);
}

.testimonial .content {
    padding: 45px 35px;
    position: relative;
    border: 3px solid var(--white-color);
    border-top: 0px none;
}

.testimonial .content:before {
    content: "";
    border-top: 3px solid var(--white-color);
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
}

.testimonial .content:after {
    content: "";
    border-top: 3px solid var(--white-color);
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
}

.testimonial .testimonial-title {
    text-align: center;
    /* text-transform: uppercase; */
    font: 400 18px "Roboto", sans-serif;
    color: var(--secondary-color);
}

.testimonial .testimonial-title small {
    display: block;
    font: 400 16px "Roboto", sans-serif;
    color: var(--shadow-color);
    margin-top: 10px;
}

.testimonial .description {
    font: 400 20px "Roboto", sans-serif;
    color: var(--label-color);
}

.owl-theme .owl-controls .owl-page.active span,
.owl-theme .owl-controls.clickable .owl-page:hover span {
    background: var(--secondary-color);
}

.owl-theme .owl-controls .owl-page span {
    background: var(--white-color);
    opacity: 1;
}

/* Responsive Layout*/
@media screen and (max-width: 768px) {
    #entity .main-container__wrapper {
        display: block;
    }

    .main-container__title {
        text-align: center;
    }

    .main-header .main-container__title {
        font-size: 34px;
    }
}

@media screen and (max-width: 425px) {
    body {
        padding: 0;
        margin: 0;
    }

    .main-container {
        margin: 0 auto;
        padding: 25px 20px;
        width: 100%;
    }

    .main-container__title {
        font: 700 26px "Lato", sans-serif;
    }

    .main-container__description {
        font: 400 18px "Roboto", sans-serif;
    }

    .testimonials {
        display: grid;
        grid-gap: 0.5rem;
        grid-template-columns: repeat(1, 1fr);
    }

    .service-card-right .service-card__picture {
        -webkit-box-ordinal-group: 1;
        -moz-box-ordinal-group: 1;
        -ms-flex-order: 1;
        -webkit-order: 1;
        order: 1;
        text-align: -webkit-right;
        display: -webkit-box;
        margin: auto;
    }

    .join-us {
        display: grid;
        grid-gap: 0.5rem;
        grid-template-columns: repeat(1, 1fr);
        margin: 0;
    }

    .features__content {
        display: block;
        text-align: -webkit-center;
        border-image-source: radial-gradient(
            circle at top left,
            rgba(242, 177, 13, 0.8),
            transparent 100%
        );
    }

    .service-card__title {
        text-align: center;
        margin: 20px auto;
    }

    .service-card__description {
        margin: 20px auto;
        text-align: left;
    }
}

@media only screen and (max-width: 990px) {
    .testimonial .content:before,
    .testimonial .content:after {
        width: 43%;
    }
}

@media only screen and (max-width: 640px) {
    .testimonial:before {
        left: 47%;
    }

    .testimonial .content {
        padding: 30px 35px;
    }

    .testimonial .description {
        font-size: 18px;
    }
}

@media only screen and (max-width: 480px) {
    .testimonial:before {
        top: -2px;
        left: 43.5%;
        transform: scale(0.4);
    }

    .actions--double-btn {
        display: block;
    }
}

@media only screen and (min-width: 481px) and (max-width: 768px) {
    .testimonial:before {
        left: 47%;
    }
}

@media screen and (min-width: 426px) and (max-width: 768px) {
    body {
        padding: 0;
    }

    .service-card-right .service-card__picture {
        -webkit-box-ordinal-group: 1;
        -moz-box-ordinal-group: 1;
        -ms-flex-order: 1;
        -webkit-order: 1;
        order: 1;
        text-align: -webkit-right;
        display: -webkit-box;
        margin-left: auto;
    }

    .testimonials {
        display: grid;
        grid-gap: 0.5rem;
        grid-template-columns: repeat(2, 1fr);
    }

    .join-us {
        display: grid;
        grid-gap: 0.5rem;
        grid-template-columns: repeat(1, 1fr);
        margin: 0;
    }
}

@media screen and (max-width: 768px) {
    #features {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .join-us {
        display: grid;
        grid-gap: 0.5rem;
        grid-template-columns: repeat(1, 1fr);
        margin: 0;
    }

    .testimonials {
        display: grid;
        grid-gap: 0.5rem;
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card-right .service-card__picture {
        -webkit-box-ordinal-group: 1;
        -moz-box-ordinal-group: 1;
        -ms-flex-order: 1;
        -webkit-order: 1;
        order: 1;
        text-align: -webkit-right;
        display: -webkit-box;
        margin-left: auto;
    }
}

@media screen and (max-width: 1024px) {
    .animated-container:hover {
        transform: none;
        transition: none;
    }

    .service-card-left,
    .service-card-right {
        display: block;
    }

    .service-card-right {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-orient: vertical;
        -moz-box-orient: vertical;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        /* optional */
        -webkit-box-align: start;
        -moz-box-align: start;
        -ms-flex-align: start;
        -webkit-align-items: flex-start;
        align-items: flex-start;
    }

    .service-card-right .service-card__content {
        -webkit-box-ordinal-group: 2;
        -moz-box-ordinal-group: 2;
        -ms-flex-order: 2;
        -webkit-order: 2;
        order: 2;
    }

    .service-card__description {
        width: 100%;
    }
}

@media screen and (max-width: 1215px) {
    #entity {
        background-image: none;
    }
}

@media (min-width: 1025px) {
    .service-card__content {
        margin: 20px;
    }
}

@media screen and (min-width: 1440px) {
    #hero .main-container__actions {
        justify-content: left;
    }

    #hero .main-container__wrapper {
        display: grid;
        grid-template-columns: 1fr 1.4fr;
        gap: 100px;
        text-align: left;
    }

    .header-yellow-span-displayed {
        display: block;
    }
}

@media screen and (min-width: 1440px) and (max-width: 1740px) {
    #hero .main-container__wrapper {
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media screen and (min-width: 426px) and (max-width: 1024px) {
    .service-card__picture img {
        margin: 0;
    }
}
