/* CUSTOM FONTS FROM GOOGLE ******************

@import url('https://fonts.googleapis.com/css2?family=your_own_font&display=swap');*/

/* CUSTOM FONTS FROM HOST ********************

@font-face {
    font-family: 'your_own_font2';
    src: local('your_own_font2'), url('../fonts/your_own_font2.woff') format('woff');
}*/

/* CUSTOM COLORS VARIABLES *******************/

:root {
    --main-color: #151531;
    --highlight-color: #cc1235;
}

/* CUSTOM HEADINGS ***************************
h1, h2, h3, h4, h5, h6 {
    font-family: 'your_own_font', serif;
    font-weight: 400;
    text-transform: none;
}
h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
    font-family: 'your_own_font2', sans-serif;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}*/

/* H2 CUSTOM *********************************

h2 {
    font-size: 52px;
    position: relative;
    margin-bottom: 70px;
}*/

/* H2 UNDERLINE ******************************/

h2:not(:has(+ h1, + h2, + h3, + h4, + h5, + h6))::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: var(--highlight-color);
    margin-top: 10px;
}
h2.text-center::after, h2[style*="text-align:center"]::after,
.text-center h2::after, [style*="text-align:center"] h2::after {
    transform: translateX(-50%);
    margin-left: 50%;
    left: auto !important;
}

/* SLIDE HEADING *****************************

.hero-1 .hero-contents h1 {
    color: #0c1f31;
    font-size: 62px;
}*/

@media (max-width: 1900px) {
    .hero-1 .hero-contents h1 {
        font-size: 50px;
    }
}
@media (max-width: 1650px) {
    .hero-1 .hero-contents h1 {
        font-size: 40px;
    }
    .hero-1 .hero-contents h2 {
        font-size: 24px;
    }
}

/* SLIDE PARAGRAPH ***************************

.hero-1 .hero-contents p {
    color: #888888;
}*/

/* HIDE SLIDE OVERLAY ************************

.hero-1 .single-slide.bg-cover::before {
    display: none;
}*/

/* CUSTOM BUTTONS ****************************

.btn {
    font-weight: normal;
    text-transform: uppercase;
    padding: 20px;
}*/
.btn-reverse.active, .btn-reverse:hover, .btn-primary {
    background: var(--highlight-color);
}
.btn:hover {
    background-color: var(--main-color);
    border-color: var(--main-color);
}
.btn-primary.active, .btn-primary:hover, .btn-reverse {
    box-shadow: none;
}
.btn-plus,
.btn-plus:hover {
    padding-left: 16px;
    padding-right: 16px;
}
.btn-plus::before {
    display: none !important;
}

/* SERVICE CARD WITHOUT BORDERS **************

.single-service-card {
    border: none;
    background-color: transparent;
    box-shadow: none;
}*/

/* PARALLAX POLYGON **************************

.parallax-wrap {
    background-color: #434F5B;
    padding: 10vh 10vh 8vh 10vh;
    min-height: 450px;
    transform: translate3d(0, 0, 0);
    clip-path: polygon(0 18%, 100% 0, 100% 100%, 0% 100%);
}*/
@media (max-width: 1366px) {
    .parallax-wrap h2 {
        font-size: 42px;
    }
}

/* INVERSE FOOTER COLORS *********************

.footer-2 .footer-widgets-wrapper {
    background-color: #fff;
}
.footer-2 .footer-bottom {
    background-color: var(--main-color);
}
.footer-wrap .single-footer-wid.site_info_widget .single-contact-info .icon {
    color: var(--highlight-color)!important;
}
.footer-bottom * {
    color: #fff!important;
}*/
body#page-1 {
    padding-top: 0 !important;
}
header.header-2 {
    position: absolute;
    width: 100%;
    z-index: 2;
    top: 0px;
    left: 0px;
    background: transparent;
    backdrop-filter: none;
    color: #fff;
}
header.header-2.sticky {
    background: rgba(21, 21, 49, 0.7) !important;
    backdrop-filter: blur(5px);
}
header.header-2.sticky .logo {
    width: 165px;
}

.logo {
    margin: 10px;
}
@media (max-width: 1600px) {
    .logo {
        max-width: 150px;
    }
}
.hero-wrapper {
    margin-bottom: 3rem
}
.hero-1, .hero-1 .owl-item, .hero-1 .single-slide.bg-cover {
    height: 100vh;
    max-height: none;
    min-height: 750px;
}
.hero-1 .single-slide.bg-cover::before {
    display: none;
}
.hero-1 .hero-contents {
    padding-top: clamp(80px, calc(100vh / 4), 74%);
}
@media (min-width: 1367px) {
    .hero-1 .hero-contents {
        padding-top: clamp(80px, calc(100vh / 2.6), 74%);
    }
    .hero-1 .hero-contents h1 {
        font-size: 66px;
    }
    .hero-1 .hero-contents p {
        font-size: 25px;
        line-height: 34px;
    }
    .hero-1 .hero-contents .btn {
        font-size: 20px;
    }
    header.header-1, .hero-1 .single-slide, .page-banner-wrap .container-fluid {
        padding-left: 160px;
        padding-right: 160px;
    }
    header.header-1:not(.sticky) {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}
@media (min-width: 992px) {
    .hero-1::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 80px;
        z-index: 2;
        pointer-events: none;
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 80' width='100%25' height='100%25' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='0,80 100,80 100,0' fill='white' /%3E%3C/svg%3E");
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }
}

@media (min-width: 1800px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1520px;

    }
}

.footer-wrap {
    background: url(../images/maze.png) no-repeat bottom left;
}
.footer-2.container {
    padding-right: calc(var(--bs-gutter-x) * 3);
    padding-left: calc(var(--bs-gutter-x) * 3);
}

.footer-2 {
    background-color: var(--main-color);
}
.footer-2 .footer-bottom {
    background: none !important;
}

.footer-widgets-wrapper {
    padding-top: 70px;
    padding-bottom: 70px;
    background: none !important;
}
.footer-wrap p, .footer-wrap a, .footer-wrap li, .footer-wrap span {
    color: #8d91a2 !important;
}
.footer-wrap i.fal {
    color: #CC1235;
}
.footer-bottom .container {
    border-top: 1px solid #2f3343;
    padding-top: 38px;
}
.footer-bottom {
    padding: 38px 0;
}

.btn {
    border-radius: 8px;
    padding: 23px 60px 23px;
}
.btn:hover {
    padding-left: 72px;
    padding-right: 48px;
}

body:not(#page-1) .logo img {
    max-height: 172px;
}
body:not(#page-1) header.header-2 {
    background-color: var(--main-color);
}
a.project-link {
    background: var(--highlight-color);
    border-radius: 5px;
    height: 30px;
    display: inline-block;
}
a.project-link .fa-plus {
    color: var(--highlight-color);
    background: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 20px;
    padding: 5px;
}
.project-item-card {
    overflow: visible;
}
.project-item-card .contents {
    top: 0;
    left: 0;
    opacity: 1;
    visibility: visible;
    width: 100%;
    padding-right: 100px;
}
.project-item-card .contents .project-link {
    top: 60px;
    bottom: auto;
}
.img-container.sm {
    height: 148px;
}
.header-right-elements .dropdown {
    padding: 21px 0 24px 0;
}
header.header-1 .main-menu ul > li > a,
header .header-right-elements > a {
    color: #fff !important;
}
header.header-1 .main-menu ul>li>a {
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 2px;
    position: relative;
}
header.header-1 .main-menu ul>li>a::after {
    content: '';
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 10px;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
    background-color: var(--highlight-color);
}
header.header-1 .main-menu ul>li>a:hover::after {
    transform: scaleX(1);
}

.single-service-card {
    position: relative;
    padding: 3rem;
}

#widget-3 .row { counter-reset: service; }

.single-service-card::before {
    counter-increment: service;
    content: counter(service, decimal-leading-zero);
    position: absolute;
    right: 1rem;
    bottom: 0;
    font-size: 10rem;
    font-weight: 700;
    color: #252754;
    opacity: 0.1;
    pointer-events: none;
    line-height: 1;
    white-space: nowrap;
}

.devider {
    position: relative;
    padding-bottom: 10em !important;
}
.devider::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100px;

    /*background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 80' preserveAspectRatio='none'><rect width='100%' height='100%' fill='%23FFFFFF'/><polygon points='0,0 1000,0 1000,0 0,20' fill='%231B1C40' opacity='1'/><polygon points='0,20 1000,0 1000,0 0,40' fill='%231B1C40' opacity='0.5'/><polygon points='0,40 1000,0 1000,0 0,60' fill='%231B1C40' opacity='0.2'/><polygon points='0,60 1000,0 1000,0 0,80' fill='%231B1C40' opacity='0.05'/></svg>") no-repeat center;
      */
      
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 80' preserveAspectRatio='none'><polygon points='0,0 1000,0 1000,0 0,20' fill='%23FFFFFF' opacity='0.05'/><polygon points='0,20 1000,0 1000,0 0,40' fill='%23FFFFFF' opacity='0.2'/><polygon points='0,40 1000,0 1000,0 0,60' fill='%23FFFFFF' opacity='0.5'/><polygon points='0,60 1000,0 1000,80 0,80' fill='%23FFFFFF' opacity='1'/></svg>") no-repeat center;

    background-size: cover;
    pointer-events: none;
    z-index: 1;
}
.banner-wrap {
    background-size: cover;
}

.owl-carousel .animated-text.is-initial {
    transition: 1s !important;
}

.owl-carousel .animated-text {
    transform: translateX(60px);
}

.page-banner-wrap {
    background-image: url(/medias/slide/big/3/business-transmanche.webp) !important;
}

hr {
    margin: 4rem 0;
    opacity: 0.2;
}

@keyframes arrowBounce {
  0%, 100% {
    transform: rotate(45deg) translateX(0);
  }
  50% {
    transform: rotate(45deg) translateX(5px);
  }
}
.btn.btn-icon {
    padding-right: 90px;
}
.btn-icon::after {
    content: "\f061";
    font-family: 'Font Awesome 6 Pro';
    display: inline-block;
    transform: rotate(45deg);
    font-size: 50px;
    position: absolute;
    top: 50%;
    font-weight: 300;
    height: 50px;
    margin-top: -25px;
    right: 10px;
}
.btn.btn-icon:hover {
    padding: 23px 90px 23px 60px !important;
}
.btn-icon:hover::after {
    transform: rotate(0deg);
    transition: all 0.3s ease-in-out;
    animation: arrowBounce 1s ease-in-out infinite;
}
.btn-icon:hover::before {
    display: none;
}