@font-face {
    font-family: 'Onest-Bold';
    src: url('../font/Onest/static/Onest-SemiBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Onest-Light';
    src: url('../font/Onest/static/Onest-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Onest-Regular';
    src: url('../font/Onest/static/Onest-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --color-lightest: #cfe1ec;
    --color-light: #b8ddf4;
    --color-medium: #6fbeeb;
    --color-primary: #0091cd;
    --color-dark: #011b40;
    --color-dominant: #007bc7;
    --color-accordion: #e4f6ff;
    /* --color-dominant: #00467a; */
}
body {
    overflow-x: hidden !important;
}

* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;    
}
nav {
    background-color: var(--color-dominant);
    padding: 10px 0px;
}

nav img {
    width: 130px;
}

header {
    background-image: url('../assets/platform/banner-desktop.png') !important;
    background-size: cover;
    background-position: center;
    min-height: 560px;
}
.logo_footer {
    min-width: 198px !important;
}

header h1 {
    font-family: 'Onest-Bold', sans-serif;
    font-size: 84px;
    text-align: justify;
    color: white;
    display: flex;
}

header h1:first-child {
    color: var(--color-dominant);
}

.first-section {
    text-align: center;
    font-size: 24px;
}
.text-link {
    color: #007bc7;
}
.first-section span {
    color: var(--color-dominant);
    font-family: 'Onest-Bold', sans-serif;
}

.main-spacement {
    margin: 40px 0px;
}

.btn-primary {
    border: none;
    background-color: var(--color-dominant);
    border-radius: 40px;
    font-size: 25px;
    font-weight: 100 !important;
    padding: 3px 5px 4px 5px;
}
.btn-primary:hover{
    background-color: var(--color-dominant);
    color: white !important;
}
.btn-primary span:hover{
    color: white !important;
}
.arrows {
    color: black !important;
    font-size: 20px;
    margin: 0px 10px;
}

.second-section {
    background-color: var(--color-dark);
    color: white;
    font-family: 'Onest-Light', sans-serif;
    border-radius: 20px;
    padding: 30px;
}

section {
    max-width: 770px !important;
}
/* 
.third-section {
    font-family: 'Onest-Light', sans-serif;
} */

.third-section h1 span,
.fourth-section h1 span,
.sixth-section h1 span,
.seventh-section h1 span,
.eighth-section h1 span,
.nineth-section h1 span,
.tenth-section h1, h4 span  {
    color: var(--color-dominant);
}


.third-section h1 {
    font-size: 34px;
}

.third-section p {
    font-family: 'Onest-Regular', sans-serif;
    font-size: 20px;
}

.third-section img {
    width: 294px;
    height: 374px;
    float: right;
}

body {
    font-family: sans-serif;
}

.carousel {
    background: transparent;
}

.carousel-cell {
    width: 220px;
    height: 290px;
    margin-right: 30px;
    border-radius: 30px 30px 120px 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    font-size: 18px;
}

.carousel-cell>div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-cell img {
    width: 60px;
    margin-bottom: 25px;
}

.sixth-section .subtitle {
    font-size: 24px;
}

.bg-warning {
    background-color: var(--color-light) !important;
    padding: 40px 0px;
}

.bg-warning h1 {
    font-size: 50px;
}

.bullet {
    background-color: var(--color-dark);
    border-left: 12px solid var(--color-dominant);
    color: white;
    padding-left: 30px;
    padding-right: 30px;
    min-height: 70px !important;
    border-radius: 0px 50px 50px 0px;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.bullet span {
    color: var(--color-dominant);
}

.bullet p {
    margin-bottom: -1px;
}

.eighth-section .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.eighth-section .card {
    position: relative;
    height: 410px;
    border-radius: 30px;
    border: none;
    background-size: cover;
    background-position: center;
    overflow-x: hidden;
    display: flex;
    align-items: end;
    color: white;
    /* width: 216px; */
}

.eighth-section .overlay {
    width: 100%;
    padding: 1rem;
    position: absolute;
    bottom: 0;
}
.main-color {
    color: var(--color-dominant);
}

.eighth-section .handle {
    background-color: var(--color-primary);
    border-radius: 100px;
    font-weight: bold;
    margin: 0.25rem 0;
    width: max-content;    
    font-weight: 100;
    padding: 0px 10px;
    font-size: 12px;
}

.card:hover{
    -webkit-animation: bounce 1s, opacity 3s;
    animation: bounce 1s, opacity 3s;
    cursor: pointer;
}

@-webkit-keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
      -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
      transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
      -webkit-transform: translate3d(0,0,0);
      transform: translate3d(0,0,0);
    }
  
    40%, 43% {
      -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
      transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
      -webkit-transform: translate3d(0, 30px, 0);
      transform: translate3d(0, 30px, 0);
    }
  
    70% {
      -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
      transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
      -webkit-transform: translate3d(0, 15px, 0);
      transform: translate3d(0, 15px, 0);
    }
  
    90% {
      -webkit-transform: translate3d(0, 4px, 0);
      transform: translate3d(0, 4px, 0);
    }
  }
  
  @keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
      -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
      transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
      -webkit-transform: translate3d(0,0,0);
      -ms-transform: translate3d(0,0,0);
      transform: translate3d(0,0,0);
    }
  
    40%, 43% {
      -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
      transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
      -webkit-transform: translate3d(0, -30px, 0);
      -ms-transform: translate3d(0, -30px, 0);
      transform: translate3d(0, -30px, 0);
    }
  
    70% {
      -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
      transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
      -webkit-transform: translate3d(0, -15px, 0);
      -ms-transform: translate3d(0, -15px, 0);
      transform: translate3d(0, -15px, 0);
    }
  
    90% {
      -webkit-transform: translate3d(0,-4px,0);
      -ms-transform: translate3d(0,-4px,0);
      transform: translate3d(0,-4px,0);
    }
  }
  

.eighth-section .description {
    font-size: 10px;
    font-weight: 100;
}

.grid h3 {
    font-size: 18px;
}

.rotate-180 {
    transform: rotate(180deg);
}
.accordion-item, .accordion-button{
    background-color: var(--color-accordion) !important;
    border: none !important;
}
.accordion-button, .accordion-item {
    border-radius: 12px !important;
}
.accordion-button:not(.collapsed){
    color: black;
}
.accordion-button:focus{
    border: none !important;
    box-shadow: none !important;
}
footer{
    background-color: var(--color-dark);
    display: flex;
    justify-content: center;
    padding: 31px 0px;
    position: absolute;
    width: 100vw;

}

.modal-image {
    filter: invert(1);
}
.ff-powered-img {
    display: none !important;
}
/* .ff-widget-control {
    background-color: white !important;
    border:  none !important;
    border-radius: 20px !important;
}
.ff-form label, .ff-help {
color: white !important;
}
.ff-form div {
    background-color: transparent;
}
.ff-layout-2column {
    padding: 0 !important;
}

.ff-layout-2column .ff-part-width {
    width: 100%;
    margin: -14px !important;
}
.ff-form img{
    display:  none !important;
}
.ff-form .rest-btn {
    margin-left: -14px;
}
.ff-form{
    background-color: transparent !important;
}
.ff-title {
    color: white !important;
} */
@media only screen and (max-width: 600px) { 
    body {
        overflow-y: scroll !important;
    }
 
    body br {
        display: none !important;
    }
    h1 {
        font-size: 34px !important;
    }
    p {
        font-size: 17px;
    }
    header {
        background-image: url('../assets/platform/banner-mobile.png') !important;
        background-size: cover;
        background-position: center;
        min-height: 407px;
    }
    .third-section img {
        width: 100%;
        height: auto;
        padding: 20px;
    }
    .sixth-section .carousel{
        display: grid !important;
        align-items: center;
        justify-content: center;
    }
    .sixth-section .carousel-cell {
        margin-bottom: 12px;    
        margin-right: 0 !important;
    }
   
    .eighth-section .grid {
        display: block;
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    .eighth-section .card {
        height: 670px;
        margin-bottom: 12px;
    }
    .btn-primary {
        font-size: 23px;
    }
    .bullet{
        padding: 24px;
    }
}