*{
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
    --green: #0abab5;
    --scioBlue:#2C246C;
    --scioBrightBlue:hsl(198, 94%, 67%);
    --bright-blue: #5DCAFA;
    --bright-green: #74DEAD;
    --turquoise: #0ababa;
    
    --scioLogoBLue: #222B4A;
    --scioLogoGrey: #7A8092;
    --scioLogoLight: #A7AAB7;
    
    --black: #3d3d3d;
    --grey: #6d6d6d;
    
    --green4: #2DCD6D;
    --green3: #18A14D;
    --green2: #185941;
    --green1: #162520;
    --blue4: #2F9BE9;
    --blue3: #227EC1;
    --blue2: #222B4A;
    --blue1: #141620;

    --blue100: #e3f6fe;
    --blue300: #b7e8fd;
    --blue500: #88dafc;
    --blue700: #5dcbfa;
    --blue900: #41bff9;
    --blue1000:#2cb3f9;

    --greenBorder: #74DEAD;
    --greenIcon: #006838;
    
    --blueBorder: #5DCAFA;
    --blueIcon: #2C246C;
    
    --yellowBorder: #FAC65D;
    --yelloweIcon: #6C5824;

    --redBorder: #FA725D;
    --redIcon: #6C2424;

    --greyBorder: #F2F2F2;
    --greyIcon: #303030;
}
html, body{
    margin:0;
    padding:0;
    color:var(--scioLogoBLue);
    font-family: Helvetica, Arial, sans-serif;
}
ul{
    margin:0;
    padding:0;
}
ul li{
    padding: 0;
    margin: 0;
    font-size: 1.1em;
}
section{
    width: 100%;
    padding: 5em 10em 4em;
}
.nav-container{
    position: fixed;
    width: 100%;
    display: flex;
    background: #ffffff;
    z-index: 9999;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    align-items: center;
    justify-content: center;
    padding: 1em 10em;
    backdrop-filter: blur(30px);
    background: transparent;
    top:0;
}
nav{
    display: flex;
    width: 100%;
    font-size: 1rem;
    align-items: center;
}
nav ul{
    display: flex;
    width: 100%;
    height: 100%;
}
nav ul li{
    list-style: none;
    margin-left: 2rem;
}
nav ul li a{
    text-decoration: none;
}

.main, .feature{
    height: 80vh;
    display: flex;
    justify-content: center;
    flex-direction: row; 
    align-items: center;   
}
.main article{
    width: 50vw;
    padding-right: 2em;
}
.main figure{
    width: 30vw;
}
.main  figure.hero{
    position: relative;
    width: 40vw;
    display: flex;
    align-items: center;
}
.main-text{
    font-size: 1.4em;
    line-height: 1.3em;
    letter-spacing: 0.02em;
    margin-bottom: 2em;
}
.arrow-link{
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 600;
    color: var(--blueIcon);
    font-size: 1.2rem;
}
.arrow-link:hover svg{
    margin-left: 0.4em;
    transition: margin-left 0.2s;
}
.arrow-link svg{
    margin-left: 0.2em;
    
}
.feature-cards{
    position: relative;
    height: auto;
    background-image: linear-gradient(180deg, var(--scioBrightBlue) 10%, var(--scioLogoBLue) 70%);}
.feature-cards figure{
    width: 40vw;
}
.feature{
    background-color: #fff;
    border: 1px solid #eaeaea;
    margin-bottom: 8em;
    border-radius: 4em;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    height: 60vh;
}
.feature h2{
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top:0;
}
.feature ul{
    list-style: none;
    margin-bottom: 3em;
    margin-top:2em;
}
.feature ul li{
    display: inline;
    color: var(--blue3);
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.25rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    border: 2px solid var(--blue3);
    border-radius: 2rem;
    margin-left: 1rem;
    background:#f5f9ff;
    width: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.feature ul li:first-child{
    margin:0;
    color:var(--green);
    border: 2px solid var(--green);
    width: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.feature ul li:last-child{
    color:var(--blue1000);
    border: 2px solid var(--blue1000);
    width: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
article{
    flex-basis: 40vw;
}
figure img{
    width:100%;
}
.trusted-by{ 
    display: flex;
    justify-content: center;
    height: 100%;
    background: #e9f5ff;
    flex-direction: column;
    align-items: center;
    padding: 3em 0 4em;
    position: relative;
}


/* ANIMATED TRUSTED BY */

@keyframes slides {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }
  
  .logos {
    overflow: hidden;
    padding: 0;
    white-space: nowrap;
    position: relative;
    width: 100%;

  }
  
  .logos:before, .logos:after {
    position: absolute;
    top: 0;
    content: '';
    width: 250px;
    height: 100%;
    z-index: 2;
  }
  
  .logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255,255,255,0) 10%, rgb(233,245,255) 40%);
  }
  
  .logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255,255,255,0) 10%, rgb(233,245,255) 40%);
  }
  
  .logo_items {
    display: inline-block;
    animation: 40s slides infinite linear;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    opacity: 0.6;
    filter: alpha(opacity=60);
  }
  
  .logos:hover .logo_items {
    animation-play-state: paused;
  }

  .logo_items img{
    margin-left: 3em;
  }
  /* ANIMATED TRUSTED BY */

.trusted-by span{
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.75rem;
    line-height: 1rem;
    margin-bottom: 2rem;
}
.trusted-by ul{
    text-align: center;
}
.trusted-by ul li{
    display: inline;
    margin-right: 1rem;
}
.trusted-by img{ 
    height: 6em;
    border-radius: 40em;
}
.trusted-footer{
    position: relative;
    display: flex;
    padding: 0 !important;
    justify-content: space-between;
    align-items: flex-end;
    }
.trusted-footer p{
    margin-bottom: 0;
}
.card .trusted-footer p {margin:0}
.card .trusted-footer img{
    width: 50%;
    margin-top:1em;
}
section.sticky{
    position: sticky;
    top: 10rem;
}
/*Main section*/
.pills{ 
    margin: 1em 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: flex-start;
    gap: 1em;
}
.pills div{
    display: flex;
    color: #0053d6;
    border: 2px solid #0053d6;
    border-radius: 2em;
    background: #fff;
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px;
    justify-content: center;
    align-items: center;
    padding: 0.4em;
    font-size: 1rem;
    }
    .pills div svg{
        margin:0 0.2em 0 0;
    }
/*typography*/
h1{
    font-size: 3.4em;
    line-height: 1.125em;
    letter-spacing: -0.03em;
    margin:0;
}
h2{
    font-size: 2.3em;
    line-height: 3rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}
h3{
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.025em;
}
p{
    font-size: 1.2rem;
    line-height: 1.6rem;
    color: var(--scioLogoBLue);
    letter-spacing: 0.01em;
    font-weight:100;
}
strong{
    font-weight: 800;
}
li{
    font-weight: 100;
}
a{
    color: var(--blue3);
}
.gradient-text{
    background: linear-gradient(120deg, var(--blueBorder) 30%, var(--blueIcon) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.gradient-text-secondary{
    background: linear-gradient(90deg, var(--bright-green) 20%, var(--turquoise) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/*main button*/

.main-buttons{
    flex-direction: row;
    gap: 2rem;
    display: flex;
    align-items: center;
}
.main-button{
    border-bottom-color:rgb(229, 231, 235);
    border-radius:.5em;
    color: #fff;
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.75rem;
    padding: 0.85rem 1.75rem;
    text-decoration: none;
    box-shadow:rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px;
    transition: color 1s;
    transition: background-image 1s;
    background-color: var(--greenBorder);
    color: var(--greenIcon);
}
.main-button:hover{
    color: var(--greenBorder);
    background-color: var(--greenIcon);
}
.secondary-button{
    border-radius: .5em;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.75rem;
    padding: 0.75rem 1.75rem;
    text-decoration: none;
    border: 1px solid var(--greygreyIcon);
    color: var(--scioLogoGrey);
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px;
    background: var(--greyBorder);
}
.secondary-button:hover{
    background: var(--scioLogoGrey);
    color: var(--greyBorder);
}
/* Menu */
.menu span{
    font-weight: 600;
    letter-spacing: 0.004em;
}
.menu li a{
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    flex-direction: row;
}
.sub-menu{
    visibility: hidden;
    opacity:0;
    transition: opacity 0.4s;
    flex-direction: column;
    position: absolute;
    z-index: 1000;
    background: #fff;
    height: auto;
    width: auto;
    padding: 1em;
    border-radius: 8px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    left:20vw;
}
.sub-menu ul{
    display: flex;
    flex-direction: column;
}
.menu li .sub-menu ul li a{
    display: flex;
    flex-direction: column;
}
.sub-menu ul li{
    margin:0em;
    padding:1em;
}
.sub-menu ul li:hover{
    background:whitesmoke;
    border-radius: 8px;
}
.menu li:hover > a > svg{
    transform: rotate(180deg);
}
.menu li:hover > .sub-menu{
    opacity:1;
    visibility: visible;
    
}
.sub-menu ul li a svg{
    background: var(--blue3);
    height: 40px;
    width: 40px;
    padding: 10px;
    border-radius: 8px;
    color: #fff;
}
.sub-menu ul li a p{
    padding: 0;
    margin: 0;
    width: 320px;
    font-size: 0.8em;
    color: #848484;
}
.sub-menu div{
    display: flex;
    align-items: center;
    gap: 0.6em;
    margin:0em 0em 0.4em 0;
}
.sub-menu .double ul{
    display: grid;
}
.sub-menu-secondary{
    display: flex;
    flex-direction: column;
}

.sub-menu.double{
    display: flex;
    flex-direction: row;
}
.menu span{
    color: var(--blue3);
}
nav ul li a svg{
    color: var(--blue3);
}
.main-container{
    display: flex;
    width: 100%;
    flex-direction: row-reverse;
}
/*Brand*/
.tick{
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 2rem;
}
.gap-2 {
    gap: 0.5rem;
}

.items-center {
    align-items: center;
}
.flex {
    display: flex;
}
.main li{
    color:var(--green2);
    margin-bottom: 0.4em;
}
/*Control*/
.control-container{
    background-color: #f3f7ff;
    padding-top:6em;
    padding-bottom: 8em;
}
.control{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.control h2{
    align-items: center;
}
.control-cards{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
}
.card{
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 9.9491px 14.9236px -2.98473px, rgba(0, 0, 0, 0.1) 0px 3.97964px 5.96946px -3.97964px;
    display: flex;
    padding: 2em;
    border-radius: 1rem;
    align-items: flex-start;
    flex-direction: column;
    background: #fff;
    justify-content: flex-start;
    border: 1px solid #3b404917;
    justify-content: space-between;
}
.card ul{
    margin:0;
    padding:0;
}
.card div{
    padding: 0.75rem;
    border-radius: 0.5rem;
}
.card-svg{
    background-color: whitesmoke;
    margin-bottom: 1.8em;
}
.card p{margin:0.8em 0; font-size:1em;}
.card-image{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}


/*Revenue*/
.revenue{
    display:flex;
    text-align: center;
    justify-content: center;
    background:#222B4A;
    padding-bottom: 8em;
}
.revenue h2, .revenue p{
    color: #fff;
}
.revenue .card p{
    color: #3d3d3d;
}
.fx-brokers{
    display: grid;
    gap:2rem;
    grid-template-columns:1fr 2fr;
    width: 80vw;
}
.fx-brokers .card{
   background: #e9f5ff;
   display: flex;
   justify-content: normal;
   position: relative;
   padding: 1.4em 2em;
   justify-content: space-between


}
.fx-brokers .card h3, .fx-brokers .card p{
    text-align: left;
    line-height: 1.5em;
    font-size:1rem;
}
.fx-brokers .card h3{font-size:1.4em}

.fx-brokers .card img{
    margin-top:1em; 
    width: 100%;
    border-radius: 8px;
     /*border-bottom:#ccc solid 1px;
    background-color: #fff;*/
    position: relative;
    top: 38px;
}


.exclusive-header, .exclusive{
    padding: 0;
    margin: 0;
}

/*???*/

.green{
    color: var(--green);
}
.blue{
    color: var(--blue3);
}

.blueBorder{
    background: var(--blueBorder);
}
.blueIcon{
    background: var(--blueIcon);
}
.greenBorder{
    background: var(--greenBorder);
}
.greenIcon{
    background: var(--greenIcon);
}

.redBorder{
    background: var(--redBorder);
}
.redIcon{
    background: var(--redIcon);
}
.yellowBorder{
    background: var(--yellowBorder);
}
.yellowIcon{
    background: var(--yellowIcon);
}

/*Insights*/
.insights{
    display:flex;
    text-align: center;
    justify-content: center;
    padding-bottom:8em
}

.insights .insights-cards{
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 80vw;
}
.insights .insights-cards .card{
    text-align: left;
}
.text-center{
    text-align: center;
    max-width: 64%;
}
.insights-cards h3{
    font-size: 1rem;
    line-height: 1rem;
    font-weight: 600;
    margin: 1rem 0 0;
}
.blue100{
    background:var(--blue100);
}
.blue300{
    background:var(--blue300);
}
.blue500{
    background:var(--blue500);
}
.blue700{
    background:var(--blue700);
}
.blue900{
    background:var(--blue900);
}

/*footer*/
footer{
    background: #222b4a;
    display: flex;
    width: 100dvw;
    color: #fff;
    padding:     4em;
    flex-direction: column;
}
footer .div{
    column-count:4;
}
.footer-primary{
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));

}
.sciopay-logo-white{
    height: 4em;
}
footer p{
    font-size: 1em;
    color: #ccc;
    margin: 0 0 0.4em 0;
}
footer a{
    color:#f4fff8;
}
footer ul{
    list-style: none;
    margin:0;
    padding:0;
    letter-spacing: 0.04em;
}
footer ul li{
    margin:0;
    padding:0 0 1em;
    margin-bottom: 0.4em;
}
footer ul li:first-child{
    color:var(--turquoise);
    font-weight: 600;
    padding: 0.4em;
}
footer ul li a{
    padding: 0.4em;
    text-decoration: none;
    border-bottom: 2px solid var(--turquoise);
}
footer ul li a:hover{
    text-decoration: none;
    color: black;
    background-color: var(--turquoise);
}
footer img{
    filter: grayscale(100%) invert() brightness(100%);
    width: 8em;
}
footer figure{
    margin:0;
}
.contact{
    display: flex;
    flex-direction: row;
    gap: 1em;
}
.contact svg{
    margin-right: 1.3em;
    color: #8c9cb8;
}
/*Feedback*/
.feedback{
    display: flex;
    flex-direction: column;
    align-items: center;
    background:#e9f5ff;
    padding:6em 10em 8em;
}
.feedback h2{
    color:#373C3E;
    margin-bottom: 3em;
}
.feedback-cards{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.75rem;
  
}

/* */

.card blockquote{
    margin: 1em 0 0 0;
    color: var(--grey);
    font-style: italic;
    letter-spacing: 0.04em;
    line-height: 1.5em;
    font-size: 1.1em;
}

/* animations

figure img{
    border:2px solid #0053d6;
    animation-name: float;
    animation-duration: 1s;
    /*animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
    transition: border 2s;
    transition: filter 2s;
    will-change: filter;
    }

    figure img:hover{
        border:8px solid #f0f;
        filter: blur(20px);
    }
    
    @keyframes float {
        0%{
            transform: translateY(-100px);
        }
        100%{
            transform: translateY(100px);
        }
        
    }
    */
/* index partner */
.partner{
    width: 90vw;
    display: flex;
    justify-content: center;

}
.partner .card{
    width: 70vw;
}
.our-partners{
    background:#f3f7ff;
    padding: 8em 4em;
    height:auto
}
    



.empty{
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    grid-column: 2 / span 2;
    grid-row: 1 / 2;
}
.legal{
    background:whitesmoke;
    padding: 2em;
    margin: 0;
    border-radius: 2em;
}
.legal p{
    font-size: 0.8em;
    line-height: 1.2em;
}
.legal article{
    display: flex;
    gap: 8em;
}
.flags{
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 70vw;
    padding: 1em 0 0 0;
}
.flags div{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1em;
}
.flag .currency{
    display: flex;
    background: #F0F8FF;
    padding: 0.75em 1.5em 0.75em 0.75em;
    margin: 0.5em 0em;
    width: 100%;
    border-radius: 3em;
    align-items: center;
    /*border: 2px solid #B9D9EB;*/
}
.flag h3{
    padding: 0;
    margin: 0;
}
.flag img{
    height: 3em;
    width: 3em;
    margin: 0px;
}
.tcs{
    width: 60vw;
    margin-left: 5vw;
}
.secondary-pages{
    width: 60vw;
    margin-left: 5vw;
    margin-top: 8em;
}
.secondary-pages img{
    width: 80px;
}
.secondary-pages ol{
    margin: 1em 0 2em 1.5em;
    padding: 0;
    list-style: none;
    color: var(--scioLogoBLue);
    line-height: 1.5em;
}
.secondary-pages ol li{
    margin-bottom: 1em;
    font-size: 1.125em;
}
.secondary-pages ol li ol{
    margin-top: 1em;
    margin-bottom:2em;
}

/* contact */
.launch{
    background: linear-gradient(180deg, var(--bright-green) 10%, var(--turquoise) 70%);
}
.launch h2{
    color: #070e0a;
}
.launch article{
    padding: 8vh 4vw 6vw 4vw;
    margin: 1vh 6vw;
    border-radius: 2em;
    display: flex;
    align-items: center;
    gap:4em;
    justify-content: center;
}
.launch article h2{
    font-size: 4em;
    line-height: 1.2em;
    letter-spacing: -0.04em;
}
.launch-form{
    user-select: text;
    background: #fff;
    padding:3em 4em;
    width: 40vw;
    border-radius: 2em;
}
.launch-form p{
    margin-top: 0   ;
}
.control-cards.fx-broker{
    display: block;
}

.fx-brokers.advantage{
    gap: 2rem;
    width: 80vw;
}
.fx-brokers.advantage div{
    margin: 0 4em 4em 0;
}

.feedback .control-cards{
    grid-template-columns:repeat(4, minmax(0, 1fr))
}
.sales h1{
    font-size: 2em;
    line-height: 1.25em;
}
.your-brand{
    position: relative;
}
.brand-circle{
    position:absolute;
    left:0;
    -webkit-animation:spin 120s linear infinite;
    -moz-animation:spin 120s linear infinite;
    animation:spin 120s linear infinite;
}
@-moz-keyframes spin { 
    100% { -moz-transform: rotate(360deg); } 
}
@-webkit-keyframes spin { 
    100% { -webkit-transform: rotate(360deg); } 
}
@keyframes spin { 
    100% { 
        -webkit-transform: rotate(360deg); 
        transform:rotate(360deg); 
    } 
}

.card div.spacer{
    padding: 0;
    border-radius: 0;
}

/* MAP ANIMATION */

.world-map{
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    flex-direction: column;
    position: relative;
}

.map img{

        height: 100%;
        width: 100%;
       
        
}
.map-currencies{
    position: absolute;
    left: 0;
}

        /*

.map{
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.map div img{
    position: relative;
    height: 100%;
}
.map-currencies{
    position: absolute;
    left: 0;
}
    */
div.currency2{
    padding: 0.4em 2em 0.4em 0.2em;
    border-radius: 2rem;
    background: var(--scioLogoGrey);
    position: relative;
    display: flex;
    align-items: center;
}
div.currency2 img{
    height: 40px;
  
}
.currency2 span{
    margin-left: 0.8em;
    font-weight: 600;
}
.GBP{
    left:45vw;
    top:52vh
}

.USD{
    left:5vw;
    top:20vh
}

.EUR{
    left:30vw;
    top:20vh
}

.AUD{
    left:82vw;
    top:80vh
}

.image-container {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin: 0 auto;
    height: 100vh;
  }
  
  .image-base {
    display: block; /* Removes extra spacing below the image */
    width: 100%; /* Makes the base image fill the container width */
    height: auto; /* Maintains aspect ratio during scaling */
        top: 50%; /* Adjust as needed for vertical positioning */
    left: 50%; /* Adjust as needed for horizontal positioning */
    transform: translate(-50%, -50%); /* Centers the image precisely */
    position: relative;

  }
  
  .image-overlay {
    position: absolute; /* Positions the overlay relative to the container */
    top: 100%; /* Adjust as needed for vertical positioning */
    left: 100%; /* Adjust as needed for horizontal positioning */
    transform: translate(-50%, -50%); /* Centers the image precisely */
    width: 16%; /* Sets the overlay image width (can be adjusted) */
    height: auto; /* Maintains aspect ratio */
    z-index: 1; /* Places the overlay image on top */
   
  }
  .gbp{
    top: 44%;
    left: 40%;
    opacity: 0;
  }
.eur{
    top: 46%;
    left: 40%;
    opacity: 0;
}
.usd{
    top: 48%;
    left:20%;
    opacity: 0;
}
  .aud{
    top: 63%;
    left: 80%;
    opacity: 0;
  }
  .aed{
    top: 52%;
    left: 55%;
    opacity: 0;
}
 .brl{
    top: 60%;
    left: 31%;
    opacity: 0;
}
.cad{
    top: 40%;
    left: 10%;
    opacity: 0;
}
.jpy{
    top: 48%;
    left: 77%;
    opacity: 0;
}

  @keyframes fadeInOut {
    0% { opacity: 0; }
    30% { opacity: 0; }
    50% { opacity: 1;transform: scale(1);}
    60% { opacity: 0; }
    100% { opacity: 0; }
  }


  .image-overlay {
    opacity: 0; /* Start hidden */
    transform: scale(.2);
    animation-name: fadeInOut;
    animation-iteration-count: infinite; /* Loop infinitely */
    animation-timing-function:cubic-bezier(0.215, 0.610, 0.355, 1)
}

.gbp { animation-delay: 0s;   animation-duration: 4s; }
.usd { animation-delay: 1s;   animation-duration: 3.5s; }
.eur { animation-delay: 1.5s; animation-duration: 4.5s; }
.aud { animation-delay: 2.5s; animation-duration: 5.5s; }
.aed { animation-delay: 3.5s; animation-duration: 3.8s; }
.brl { animation-delay: 4s;   animation-duration: 5s; }
.cad { animation-delay: 4.5s;   animation-duration: 5.4s; }
.jpy { animation-delay: 5s;   animation-duration: 5.8s; }

.trusted-list{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.trusted-list p{
    margin: 0 0 1em 1.98em !important;
    font-size: 1rem;
}
.trusted-item{
    display: flex;
    align-items: center;
    padding-bottom: 0 !important;
    
}
.fx-brokers .card .trusted-list p{
    margin:0 0 0 2.94em !important;
}
.our-partners figure{
    width: 40vw;
}
.brand{
    margin-top: 2em;
    margin-bottom: 2em;
}

.security-circle{
    position: absolute;
    z-index: 1;
    left: 8px;
    top: -3px;
}
.security-image{
    position: relative;
    z-index: 2;
}

@keyframes spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  
  /* Apply the animation to the image */
  .rotating-image {
    /* Attach the animation to the element */
    animation-name: spin;
  
    /* Set the duration for one rotation */
    animation-duration: 1s; 
  
    /* Keep the animation running forever */
    animation-iteration-count: infinite;
  
    /* Ensure a smooth, consistent spin */
    animation-timing-function: linear; 
  }



/* right cards on the right */

.main-content{
    height: auto;
    display: flex;
    position: relative;
}
.left-content{
    height: 40vh;
    width: 40vw;
    position: sticky;
    top: 14em;
    padding-bottom: 24em;
}

.right-cards {
    display: flex;
    position: relative;
    flex-direction: column;
    width: 50vw;
    margin: 0em;
    padding: 0px;
    margin-left: 8em;
}
.left-cards {
    display: flex;
    position: relative;
    flex-direction: column;
    width: 50vw;
    margin: 0em 0em 0em 8em;
    padding: 0px;
}
.right-card{
    position: sticky;
    z-index: 4;
    top: 12em;
    padding: 2em;
    margin-bottom: 2em;
    border-radius: 2em;
    padding-bottom: 10em;
    height: auto;
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 9.9491px 14.9236px -2.98473px, rgba(0, 0, 0, 0.1) 0px 3.97964px 5.96946px -3.97964px;
    height: 24em;
}

.how-it-works .control-cards{
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.key-benefits{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0px 8em;
}

.beyond{
    margin-top:0em;
    height: auto;
    margin-bottom: 4em;
    width: 100vw;
    padding:0 10em;
}
.beyond .grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em;
}
.beyond img{
    width: 80px;
}
.double-cards{
    display: flex;
    margin-top:5em;
    margin-bottom: 5em;
    gap:4em;
}
.double-cards .right-cards{
    display: flex;
    margin-right:0;
    padding: 0;
}
.double-cards .right-card{
    height: 16em;
}

.impact article{
}
.ViewWidth40{
    max-width: 40em;
    margin:4em 0 2em;
}
.impact article h2{
    margin-bottom: 2em;
}

.numbers{
    background: #7a7a7a;
    margin: 0 0 1em 0;
    padding: 1em 1.3em !important;
    color: #fff;
    font-weight: 1000;
}

.sale-cards .card{
    background: var(--greenBorder);
    padding: 8em 16em;
}
.sale-cards .card h2 {
    font-size: 4em;
    line-height: 1.2em;
}
.card .text-right{
    align-items: flex-end;
    
}
.text-width{
    display: flex;
    justify-content: center;
    margin-bottom: 2em;
}
.text-width p{
    width:40%;
    text-align: center;
}



.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    font-family: Helvetica, Arial, sans-serif
}
.form-group textarea {
    height: 120px;
    resize: vertical;
}
.submit-btn {
    background-color: var(--blueIcon);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    position: relative;
}
.submit-btn:hover {
    background-color: #005a87;
}
.submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}
.hidden-field {
    display: none;
}
.required {
    color: red;
}

/* Message styles */
.form-message {
    margin: 20px 0;
    padding: 15px;
    border-radius: 5px;
    display: none;
}
.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.form-message.loading {
    background-color: #cce7ff;
    color: #004085;
    border: 1px solid #b8daff;
}

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */

@media only screen and (max-width: 1020px){

    section {
        width: 100%;
        padding: 0;
    }
    article{
        padding-top: 6em;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .revenue article{
         align-items:center;
    }
    .nav-container{
        padding: 1em 1em;
    }
    .fx-brokers {
        display: flex;
        gap: 2rem;
        grid-template-columns: 1fr 2fr;
        width: 80vw;
        flex-direction: column;
    }
    .our-partners{
        flex-direction: column;
    }
    .main article{
        width: 80vw;
        margin-top:10em;
    }
    .feature-cards, .revenue, .insights{
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 8em 4em;
    }
    .insights .insights-cards {
        display: flex;
        gap: 8rem;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: 80vw;
        flex-direction: column;
    }
    .text-width p {
        width: 80%;
        text-align: center;
    }
    .feedback-cards, .control-cards {
        display: flex;
        gap: 5rem;
        flex-direction: column;
    }
    .main, .feature {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        margin-top: 8em;
        height: auto;
        width: 100vw;
        padding-left: 0em;
    }
    .main figure {
        width: 80vw;
        margin: 4em 0;
    }
    .main figure.hero{
        width: 80vw;
        height: 40vh;
    }
    h1{
        font-size: 6em;
    }
    h2 {
        font-size: 6em;
        line-height: 7rem;
    }
    h3 {
        font-size: 4rem;
        line-height: 1.3em;
    }
    p {
        font-size: 4rem;
        line-height: 6rem;
    }
    .feature h2{
        font-size: 4rem;
        line-height: 4rem;
    }
    .main-text {
        font-size: 4rem;
    }
    .main-button,.secondary-button{
        padding: 2rem 2.4rem;
        font-size: 2.4em;
    }
    nav .main-button, nav .secondary-button{
       padding: 1rem 1.4rem;
        font-size: 1.4em;
    }
    .trusted-by span{
        font-size: 1.4rem;
    }
    .trusted-by img{
        height: 12em;
    }
    section.sticky{
        padding: 4em;
    }
    .main li {
        font-size: 3em;
    }
    .main figure, .feature-cards figure {
        width: 80vw;
        margin: 8em 0 8em 0;
        display: flex;
        justify-content: center;
    }
    figure img {
        width: 80%;
    }
    .feature{
        height: auto;
    }
    .control-container{
        padding: 8em;
    }
    .trusted-list p{
    margin: 1em 0 2em 0em !important;
    font-size: 2.8rem;
    }
    .trusted-item{
        font-size: 3.2rem;
        color: var(--green2);
    }
    .control-container{
        padding: 4em 8em;
    }
    section.sticky{
        padding: 6em 6em;
        width: 88vw;
    }
    .card{
        width: 80vw;
        padding: 4em 6em;
    }
    .fx-brokers .card{
        padding: 4em 6em;
    }
    .fx-brokers .card h3, .insights-cards h3{
        font-size: 4rem;
        line-height: 1em;
    }
    .fx-brokers .card h3, .fx-brokers .card p, .card p{
        font-size: 2.8em;
    }
    .fx-brokers .card .trusted-list p{
        margin: 0 !important;
    }

    svg{
        user-select: text;
    height: 48px;
    width: 48px;
    }
    .flex{
        align-items: flex-start;
    }
    .feature ul li{
        border-radius: 4rem;
        width: 200px;
        border-width: 4px;
        font-size: 2.4em;
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }
    .feature ul li:first-child, .feature ul li:last-child {
        width: 200px;
        border-width: 4px;
        font-size: 2.4em;
    }
    .arrow-link{
        font-size: 3.2rem;
        margin-top: 1em;
    }
    .gap-2 {
        gap: 1rem;
    }
    footer ul li{
        font-size: 3em;
    }
    .empty{
        display: none;
    }
    .footer-primary {
    display: grid;
    gap: 4rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    footer ul li a {
    line-height: 2.4em;
    }
    .legal p {
        font-size: 1.8em;
        line-height: 2.2em;
    }
    .legal article {
        gap: 0em;
        align-items: flex-start;
    }
    .fx-brokers .card img{
        top: 80px;
    }
    .sales{
        margin:0;
    }

    nav ul li a svg{
        display: none;
    }
    .sub-menu{
        left:10vw;
    }
    nav ul li {
    font-size: 1.8em;
    }
    .menu span {
        font-weight: 600;
        letter-spacing: 0.004em;
        font-size: 0.8em;
    }
    .beyond .grid{
        grid-template-columns: repeat(1, 1fr);
        gap: 8em
    }
    .sales h1{
        font-size: 6rem;
    }

     .main-content{
        flex-direction: column;
        width: 100vw;
        align-items: center;
    }
    .left-content{
        width: 80vw;
        height: auto;
    }
    .right-cards{
        width: 80vw;
        margin: 0;
    }
    .right-card{
        padding: 8em 4em;
        height: auto;
    }
    .main-content h3{
        font-size: 4rem;
    }
    .main-content p{
        font-size: 3.8rem;
        line-height: 5rem;

    }
    .impact article{
        align-items: center;
    }
    .impact article h2{
        margin-bottom: 0;
        width: 80vw;
    }
    .sub-menu.double {
        flex-direction: column;
    }
    .sub-menu ul li a p{
        width:auto;
    }
    .sub-menu div{
        margin:0;
    }
    .sale-cards .card{
        width: 100vw;
    }
    .fx-brokers .card h3, .fx-brokers .card p, .card p {
        font-size: 4rem;
    }
    .feature h2 {
        font-size: 5rem;
        line-height: 7rem;
    }
    .trusted-list p {
        font-size: 4rem;
    }
    .our-partners{
        padding: 0;
    }
    .our-partners.main figure {
        width: 100vw;
    }
    .trusted-item{
        font-size: 4rem
    }
    .trusted-list p{
        margin: 1em 0 4em 0em !important;
    }
    .card blockquote{
        font-size: 3.2rem;
    }
    .double-cards{
        flex-direction: column;
    }
    .text-center {
        width: 80vw;
        max-width: 80vw;
    }
    .numbers{
        font-size: 3.2rem;
    }
    .double-cards .right-card{
        height: auto;
    }
    .left-cards{
        margin: 0;
        width: 80vw;
    }
    .control h2, .control p{
        max-width: 80vw;
    }
    .key-cards{
        align-items: center;
    }
    .card{
        border-radius: 4rem;
    }


}
