/*
CSS for the main interaction
*/
.tabset > input[type="radio"] {
    position: absolute;
    left: -200vw;
}

.tabset .tab-panel {
    display: none;
}

.tabset > input:first-child:checked ~ .tab-panels > .tab-panel:first-child,
.tabset > input:nth-child(3):checked ~ .tab-panels > .tab-panel:nth-child(2),
.tabset > input:nth-child(5):checked ~ .tab-panels > .tab-panel:nth-child(3),
.tabset > input:nth-child(7):checked ~ .tab-panels > .tab-panel:nth-child(4),
.tabset > input:nth-child(9):checked ~ .tab-panels > .tab-panel:nth-child(5),
.tabset > input:nth-child(11):checked ~ .tab-panels > .tab-panel:nth-child(6),
.tabset > input:nth-child(13):checked ~ .tab-panels > .tab-panel:nth-child(7) {
    display: block;
}

/*
Styling
*/

.tabset > label {
    position: relative;
    display: inline-block;
    padding: 15px 15px 25px;
    border: 1px solid transparent;
    border-bottom: 0;
    cursor: pointer;
    font-weight: 600;
    width: min-content;
}

.tabset > label::after {
    content: "";
    position: absolute;
    left: 15px;
    bottom: 10px;
    width: 22px;
    height: 4px;
    background: #8d8d8d;
}

.tabset > label:hover,
.tabset > input:focus + label {
    color: #06c;
}

.tabset > label:hover::after,
.tabset > input:focus + label::after,
.tabset > input:checked + label::after {
    background: #06c;
}

.tabset > input:checked + label {
    border-color: #ccc;
    border-bottom: 1px solid #fff;
    margin-bottom: -1px;
}

.tab-panel {
    padding: 30px 10px;
    border-top: 1px solid #ccc;
}

.expert-item {
    background: #fff;
    text-align: center;
    padding: 30px 25px;
    -webkit-box-shadow:0 0px 25px rgba(0, 0, 0, 0.07);
    box-shadow:0 0px 25px rgba(0, 0, 0, 0.07);
    border-radius: 20px;
    border:5px solid rgba(0, 0, 0, 0.07);
    margin: 5px auto;
    margin-bottom: 30px;
    -webkit-transition: all .5s ease 0;
    transition: all .5s ease 0;
    transition: all 0.5s ease 0s;
}

.h-250 {
    height: 250px;
}

.h-325 {
    height: 325px
}

.expert-item:hover{
    background:#2e3280;
    box-shadow:0 8px 20px 0px rgba(0, 0, 0, 0.2);
    -webkit-transition: all .5s ease 0;
    transition: all .5s ease 0;
    transition: all 0.5s ease 0s;
}

.expert-item:hover h4, .expert-item:hover p{
    color:#fff;
    -webkit-transition: all .5s ease 0;
    transition: all .5s ease 0;
    transition: all 0.5s ease 0s;
}

.expert-item .icon {
    font-size: 40px;
    margin-bottom: 25px;
    color: #2e3280;   
    width: 70px !important;
    height: 80px !important;
    line-height: 96px;
    border-radius: 25%;
}

.expert-item:hover .expert-item, .expert-item:hover span.icon{
    background:#fff;
    border-radius: 5px;
    -webkit-transition: all .5s ease 0;
    transition: all .5s ease 0;
    transition: all 0.5s ease 0s;
}
.expert-item .feature_box_col_one{
    background:rgba(247, 198, 5, 0.20);
    color:#2e3280
}
.expert-item .feature_box_col_two{
    background:rgba(255, 77, 28, 0.15);
    color:#2e3280
}
.expert-item .feature_box_col_three{
    background:rgba(0, 147, 38, 0.15);
    color:#2e3280
}
.expert-item .feature_box_col_four{
    background:rgba(0, 108, 255, 0.15);
    color:#2e3280
}
.expert-item .feature_box_col_five{
    background:rgba(146, 39, 255, 0.15);
    color:#2e3280
}
.expert-item .feature_box_col_six{
    background:rgba(23, 39, 246, 0.15);
    color:#2e3280
}
.expert-item p{
    font-size: 15px;
    line-height: 26px;
}
.expert-item h6 {
    margin-bottom:20px;
    color:#2f2f2f;
}

@media screen and (max-width: 768px) {
    .expert-item {
        width: 100%;
        height: auto;
    }
}
.tech-icon {
    font-size: 90px; 
    width: 70px !important;
    height: 80px !important;
    text-align: center !important;
}

.content-icon {
    font-size: 150px;
}

.tools-container {
	display: flex;
	margin-top: 40px;
}

.item {
	position: relative;
	display: block;
	flex: 1 1 0px;
	transition: transform 500ms;
}

.tools-container:focus-within .item,
.tools-container:hover .item {
	transform: translateX(-25%);
}

.item:focus ~ .item,
.item:hover ~ .item {
	transform: translateX(25%);
}

.tools-container .item:focus,
.tools-container .item:hover {
	transform: scale(1.5);
	z-index: 1;
}
.vortex-bg {
    background-image: url("../images/vortex-bg-1.png");
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    height: 85vh;
    background-attachment: fixed;
    animation: floating 4s infinite linear;
}
.vortex-bg-2 {
    background-image: url("../images/vortex-bg-2.png");
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    height: 85vh;
    background-attachment: fixed;
    animation: floating 4s infinite linear;
}
.vortex-bg-3 {
    background-image: url("../images/vortex-bg-3.png");
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    height: 40vh;
    background-attachment: fixed;
    animation: floating 4s infinite linear;
}
.pt-15p {
    padding-top: 5% !important;
    
    /* Below changes done by Ashish */
    font-size: 3.5rem;
}
@keyframes floating {
    0% {
        background-position: 50% 50%;
    }
    50% {
        background-position: 50% 80%;
    }
    100% {
        background-position: 50% 50%;
    }
}
.main-block {
    position:relative;
    background: #cef4f7; 
    width: 100%;
    overflow: hidden;
    padding-top: 30px;
}
.waves {
    position: relative;
    width: 500vh;
    height: 20vh;
    margin-bottom: -7px; /*Fix for safari gap*/
    min-height: 100px;
}
.flex {
    display: flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
}

/* Animation */
.parallax > use {
    animation: move-forever 5s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 5s;
}
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 1s;
}
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 3s;
}
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 7s;
}
@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }
    100% { 
        transform: translate3d(85px, 0, 0);
    }
}
/* End of Animation */

/* expanding grid cards */
.display-wrapper {
    margin: 0.5em auto;
    max-width: 1000px;
    /* box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.06); */
}
.displaycards {
    padding: 15px;
    display: flex;
    flex-flow: row wrap;
    width: auto;
}
.displaycard {
    margin: 10px;
    width: calc((100% / 3) - 30px);
    transition: all 0.2s ease-in-out;
}
@media screen and (max-width: 991px) {
    .displaycard {
        width: calc((100% / 2) - 30px);
   }
}
@media screen and (max-width: 767px) {
    .displaycard {
        width: 100%;
   }
}
.displaycard:hover .displaycard__inner {
    background-color: #388cc9;
    transform: scale(1.05);
}
.displaycard__inner {
    width: 100%;
    padding: 15px;
    position: relative;
    cursor: pointer;
    background-color: #71b1df;
    color: #eceef1;
    font-size: 1.5em;
    text-align: center;
    transition: all 0.2s ease-in-out;
}
.displaycard__inner:after {
    transition: all 0.3s ease-in-out;
}
.displaycard__inner .fa {
    width: 100%;
    margin-top: 0.25em;
}
.displaycard__expander {
    transition: all 0.2s ease-in-out;
    background-color: #333a45;
    width: 100%;
    position: relative;
    display: block;
    justify-content: center;
    align-items: center;
    color: #eceef1;
    padding: 1.5em;
    font-size: 16px !important;
}
.displaycard__expander .fa {
    font-size: 0.75em;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}
.displaycard__expander .fa:hover {
    opacity: 0.9;
}
.displaycard.is-collapsed .displaycard__inner:after {
    content: "";
    opacity: 0;
}
.displaycard.is-collapsed .displaycard__expander {
    max-height: 0;
    min-height: 0;
    overflow: hidden;
    margin-top: -30px;
    opacity: 0;
}
.displaycard.is-expanded .displaycard__inner {
    background-color: #388cc9;
}
.displaycard.is-expanded .displaycard__inner:after {
    content: "";
    opacity: 1;
    display: block;
    height: 0;
    width: 0;
    position: absolute;
    bottom: -30px;
    left: calc(50% - 15px);
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid #333a45;
}
.displaycard.is-expanded .displaycard__inner .fa:before {
    content: "\f115";
}
.displaycard.is-expanded .displaycard__expander {
    max-height: 1000px;
    min-height: 150px;
    overflow: visible;
    margin-top: 30px;
    opacity: 1;
}
.displaycard.is-expanded:hover .displaycard__inner {
    transform: scale(1);
}
.displaycard.is-inactive .displaycard__inner {
    pointer-events: none;
    opacity: 0.5;
}
.displaycard.is-inactive:hover .displaycard__inner {
    background-color: #949fb0;
    transform: scale(1);
}
@media screen and (min-width: 992px) {
    .displaycard:nth-of-type(3n+2) .displaycard__expander {
        margin-left: calc(-100% - 30px);
   }
    .displaycard:nth-of-type(3n+3) .displaycard__expander {
        margin-left: calc(-200% - 60px);
   }
    .displaycard:nth-of-type(3n+4) {
        clear: left;
   }
    .displaycard__expander {
        width: calc(300% + 60px);
   }
}
@media screen and (min-width: 767px) and (max-width: 991px) {
    .displaycard:nth-of-type(2n+2) .displaycard__expander {
        margin-left: calc(-100% - 30px);
   }
    .displaycard:nth-of-type(2n+3) {
        clear: left;
   }
    .displaycard__expander {
        width: calc(200% + 30px);
   }
}

.displaycard.color2 .displaycard__inner {
    background-color: #d0d5dd !important;
    color: #2e3280 !important;
}
.displaycard.color2:hover .displaycard__inner {
    color: #000 !important;
}
.scroll-down {
    opacity: 1;
    -webkit-transition: all .5s ease-in 3s;
    transition: all .5s ease-in 3s;
}

/* .scroll-down {
    position: absolute;
    bottom: 8%;
    left: 50%;
    margin-left: -16px;
    display: block;

     Below width and height changed by Ashish, originally it was 32px
     width: 40px;
    height: 40px;
    border: 2px solid #888;
    background-size: 14px auto;
    border-radius: 50%;
    z-index: 2;
    -webkit-animation: bounce 2s infinite 2s;
    animation: bounce 2s infinite 2s;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
}   */

.scroll-down:before {
    position: absolute;
    top: calc(50% - 8px);
    left: calc(50% - 6px);
    transform: rotate(-45deg);
    display: block;
    width: 12px;
    height: 12px;
    content: "";
    border: 2px solid #888;
    border-width: 0px 0 2px 2px;
}
  
@keyframes bounce {
    0%,
    100%,
    20%,
    50%,
    80% {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
    40% {
        -webkit-transform: translateY(-10px);
        -ms-transform: translateY(-10px);
        transform: translateY(-10px);
    }
    60% {
        -webkit-transform: translateY(-5px);
        -ms-transform: translateY(-5px);
        transform: translateY(-5px);
    }
}
@media screen and (min-width: 552px) and (max-width: 991px){
       .vortex-bg {

        background-image: url('../images/vortex-bg-1-md.png');

        background-position: 50% 50%;
        background-repeat: no-repeat;
        height: 85vh;
        background-attachment: fixed;
        animation: floating 5s infinite linear;
    }
    .vortex-bg-2 {
        background-position: 80% 80%;
        background-repeat: no-repeat;
        height: 85vh;
        background-attachment: fixed;
        animation: floating 5s infinite linear;
    }
    .vortex-bg-3 {
        background-image: url('../images/vortex-bg-1-md.png');
        background-position: 80% 80%;
        background-repeat: no-repeat;
        height: 85vh;
        background-attachment: fixed;
        animation: floating 5s infinite linear;
    }
}