
/**** Overrides ****/
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.btn-primary {
    --bs-btn-bg : #000;
    --bs-btn-border-color: #010101;
    text-transform: uppercase;
}

.btn-secondary {
    --bs-btn-bg: #fff;
        --bs-btn-border-color: #010101;
        text-transform: uppercase;
        color: #000;
}
.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    /* remove the gap so it doesn't close */
}
.display-2, .display-4, .h1 {
    font-weight: 600;
}

header {
    background-color: #fff;
}

/* fin-fab classes */
.header-megamenu {
    padding: 2rem;
    width: max-content;
}
.header-nav {
    padding: 0;
    list-style: none;
}

.header-nav li a {
    display: flex;
    align-items: center;
    padding: 12px 0;
    text-decoration: none;
    color: #00000099;
} 
section {
    margin-top: 8rem;
}

.logo-container {
    overflow: hidden;
}
.partner-logos {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    animation: scroll 60s linear infinite;
}

.partner-logos .pro-logo {
    width: fit-content;
    height: 48px;
    border: 1px solid #00000043;
    border-radius: 8px;
    padding: 0.6rem;
}

.pro-logo img { height:100%; width:auto; border-radius: 8px;}

.fin-workflow-container {
    display:flex;
    gap: 8px;
}
.fin-data-card {
    width: 25%;
    min-height: 72vh;
    background: #000;
    border-radius: 16px;
    padding: 5rem;
    transition: width 0.3s ease;
    cursor: pointer;
}

.fin-data-card:first-child {
    width:50%;
}

.fin-data-card:first-child .initial {display: none;}
.fin-data-card:first-child .active { display: block;}

.fin-workflow-container:hover .fin-data-card {
    width: 25%;

}
.fin-workflow-container .fin-data-card:hover {
    width: 50%;
}
.fin-data-card h2, .fin-data-card p {
    text-align: right;
}

.fin-data-card .initial {display: block;}
.fin-data-card .active { display: none;}

.fin-data-card:hover .initial{display: none;}
.fin-data-card:hover .active {display: block;}

.fin-discovery {
    background-color: #6950FF;
    background-image: url(../media/png/discovery.png);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: contain;
}

.fin-discovery .active p {
    background-color: #6a50ff7c;
}
.fin-delivery .active p {
    background-color: #00aa4a83;
}

.fin-interaction .active p {
    background-color: #ff61617d;
}
.fin-delivery {
    background-color: #00AA4A;
    background-image: url(../media/png/delivery.png);
    background-repeat: no-repeat;
    background-position: left bottom;
        background-size: contain;
}

.fin-interaction {
    background-color: #FF6161;
    background-image: url(../media/png/interaction.png);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: contain;
}

.overview-container {
    overflow: hidden;
}
.overview-container:hover .overview-container-inner {
    animation-play-state: paused;
}

.overview-container-inner {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    animation: scroll 30s linear infinite;
}

.overview-card {
    background-color: #24C4E6;
    background-image: url(../media/png/overview-bg.png);
    background-repeat: no-repeat;
    background-position: center center;
    padding: 3rem 3rem 0 3rem;
    min-width: 50%;
    border-radius: 16px;
    min-height: 50vh;
    position: relative;
    cursor: pointer;
}
.overview-img {
    position: absolute;
    margin-inline: auto;
    bottom: 0;
    width: fit-content;
    left: 0;
    right: 0;
}
.play-button {
    display: inline;
    padding: 4.4rem 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(7.1px);
    -webkit-backdrop-filter: blur(7.1px);
    border: 1px solid rgba(255, 255, 255, 0.34);
}

.persona {
    background-color: rgb(19 20 38);
}

.ps-cards-container {
    background: url(../media/png/persona-bg.jpg) no-repeat;
    background-size: cover;
}
.ps-card img {
    position: absolute;
    margin-inline: auto;
    bottom: 0;
    width: fit-content;
    left: 0;
    right: 0;
    margin-top: 5rem;
}

.flip-card {
    background-color: transparent;
    width:auto;
    height: 40vh;
    perspective: 1000px;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-card-front {
    padding: 2rem;
    text-align: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.51);
}

.flip-card-back {
    padding: 2rem;
        text-align: center;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.1);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.51);
    transform: rotateY(180deg);
}


.ai-datahub {
    position: relative;
}

.ask-datahub {
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    margin-inline: auto;
    width: fit-content;
}

.ask-datahub h2, .ask-datahub h5 {
    text-shadow: 2px 2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, -2px -2px 0 #fff, 2px 0px 0 #fff, 0px 2px 0 #fff, -2px 0px 0 #fff, 0px -2px 0 #fff;
}
.text-box {
    background: #fff;
    border: 1px solid #0000001b;
    border-radius: 8px;
    padding: 8px 16px;
    box-shadow: 0px 0px 16px 0px #4141414e;
    flex-wrap: nowrap;
    flex-direction: row;
    align-content: center;
    align-items: center;
    width: 480px;
}
.text-box p {
    font-size: 1.2rem;
    margin-left: 8px;
    margin-bottom: 0;
}

.bg-scroll-imgs {
    overflow: hidden;
}

.bg-scroll-imgs .slider-left, .bg-scroll-imgs .slider-right {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
}

.slider-left {
    animation: scrollleft 30s linear infinite;
}
.slider-right {
    animation: scrollright 30s linear infinite;
}
.footer-top {
    background-color: #49415D;
    padding: 5rem 5rem 0 5rem;
    color: #fff;
}

.social-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 24px;
}
.footer-nav {
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

.footer-nav li {
    margin: 8px 0;
    color: #fff;
}
.footer-nav li a {
    color: #ffffff9f;
    text-decoration: none;
}
.footer-nav li a:hover {
    color: #fff;
}

/***** Color *****/ 
.pink {color: #FE7D7D;}
.orange {color:#FF7700 ;}
.fuschia { color: #24C4E6;}
.mob {color: #9450FD;}
.dark-pink { color: #EA49BD;}


/******* DataHub Pages ******/
ul.capability {
    list-style: none;
    margin: 0;
    padding: 0;
}
ul.capability li {
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 8px;
}

.ms-fabric {
    background-image: url(../media/png/architect-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
}


/********** Solutions page ***********/
.sol-cards-container {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    background-color: white;
    padding: 3rem;
    gap: 16px;
}
.sol-card {
    width:300px;
    height: 400px;
    background-color: #4B4747;
    color: white;
    position: relative;
    padding: 2rem;
    border-radius: 16px;
}
.sol-card img {
    position: absolute;
    margin-inline: auto;
    bottom: 0;
    width: fit-content;
    left: 0;
    right: 0;
}

.bf-card {
    padding: 4rem;
    border-radius: 16px;
    position: relative;
}
.bf-card ul.usecase {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-top: 2rem;
    z-index: 9;
    position: relative;
}
.bf-card ul.usecase li { 
    background-color: white;
    margin-top: 8px;
    border-radius: 8px;
    padding: 8px 16px 8px 40px;
    background-image: url(../media/svg/article_shortcut.svg);
    background-repeat: no-repeat;
    background-position: 8px center;
    width: max-content;
}

.bf-card img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    z-index: 1;
}

.top-offset {margin-top: 6rem;}

/*********Ms-Fabric Page **********/

.f-card {
    padding: 4rem;
    padding-bottom: 0;
    border-radius: 16px;
}

/******* Contact Page *********/

.contact {
    background-image: url(../media/png/ny-map.png);
    background-repeat: none;
    background-size: cover;
    padding: 5rem;
}

.contact-form {
    background-color: #75DCF1;
    padding: 4rem;
    border-radius: 8px;
}

.support-card {
    padding: 16px;
    margin-bottom: 8px;
    border-radius: 8px;
}

.request-demo {
    margin: 3rem;
}

.request-demo label {
    margin-bottom: 8px;
}
.request-demo .form-control {
    margin-bottom: 16px;
} 
.request-demo .btn {
    display: block;
    width: 100%;
}
/***** media Query ******/

@media (max-width: 576px) {

    section { margin-top: 4rem;}
    .fin-workflow-container { flex-wrap: wrap;}
    .fin-data-card, .fin-data-card:first-child { width: 100%; height: auto; padding: 2rem;}
    .fin-data-card .initial {display: none;}
    .fin-data-card .active {display: block;}
    .overview-card { background-image: url(../media/png/overview-bg.png); background-repeat: no-repeat; background-position: center center; padding: 1rem 1rem 0 1rem; min-width:fit-content; border-radius: 16px; min-height: fit-content; position: relative;}
    .ai-datahub { height: 100vh;}
    .text-box { width: 100%;}
    .footer-top {padding: 2rem 2rem 0 2rem;}
}

@keyframes scroll {
    0% {
            transform: translateX(0%);
        }
    
        100% {
            transform: translateX(-400%);
        }
}

@keyframes scrollleft {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}
@keyframes scrollright {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(-0%);
    }
}