body {
    font-family: var(--cs-theme-primary-headline-font);
    background-color: var(--cs-theme-primary-background-color);
    font-weight: 600;
}

.button-container {
  margin-right: 15%;
  margin-left: 15%;
}

/* Home Cards */
.home-card {
    background: #FFF;
    color: #3D3D47;
    min-height: 375px;
    min-width: 330px;
    box-shadow: none !important;
    border: none;
    margin-bottom: 20px;
}

.home-card.bluecard {
    background-color: #387FC8;
}

.home-card.greencard {
    background-color: #A6DF56;
}

.home-card.orangecard {
    background-color: #F3B552;
}

.home-card-inner {
    width: 100%;
    height: 375px;
    background: none;
    padding: 0;
}

.home-card-arrow {
    background: none;
    height: 180px;
    padding-top: 80px;
    padding-left: 50px;
}

.home-card-arrow-final {
    background: none;
    height: 150px;
    padding-top: 80px;
    padding-left: 50px;
}

.home-card-title {
    background: #387FC8;
    font-family: var(--cs-theme-primary-headline-font);
    color: white;
    font-size: 32px;
    padding: 10px 20px;
    display: inline-block;
}

.home-card-title.white-green {
    color: #A6DF56;
    background-color: white;
}

.home-card-title.white-blue {
    color: #387FC8;
    background-color: white;
}

.home-card-title.grey-white {
    color: white;
    background-color: #393943;
}

.home-card-final {
    background: #FFF;
    font-family: var(--cs-theme-primary-headline-font);
    color: #F3B552;
    font-size: var(--cs-theme-primary-headline-size);
    position: relative;
    top: -10px;
    padding: 10px 20px;
    display: inline-block;
}

.card-content {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    font-weight: 600;
    width: 300px;
    position: relative;
    top: -30px;
    left: 30px;
    background: none;
    font-size: 16px;
    padding: 20px;
}

.card-content.final {
    top: 10px;
}

/* Overlap Row */
#overlap-row {
    width: 100%;
    background: #3D3D47;
    min-height: 450px;
    padding: 50px 0;
}

#overlap-row-contents {
    background: #3D3D47;
    width: 100%;
    min-height: 420px;
}

/* Counter Section */
#arrowsWordsBox {
    width: 100%;
    min-height: 400px;
    background: var(--cs-theme-primary-background-color);
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.counterBox {
    text-align: center;
    padding: 30px;
}

.counter-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.counter-number {
    font-family: var(--cs-theme-primary-headline-font);
    font-size: 150px !important;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 20px;
    transition: color 0.5s;
}

.counterSubText {
    font-size: var(--cs-theme-primary-bigtext-size);
    margin: 5px 0;
}

.regularNumberCardText {
    color: #387FC8;
    font-weight: 600;
}

.inverseNumberCardText {
    background-color: white;
    color: #3D3D47;
    font-weight: 600;
    display: inline-block;
    padding: 5px 10px;
}

.blur-effect {
    filter: blur(1px);
}

.bigger-icon {
    font-size: 150px !important;
    height: 150px;
    width: 150px;
    color: #F3B552;
    transition: color 0.5s;
    display: block;
    margin: 0 auto 20px;
    margin-bottom:50px;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.bigger-icon:hover {
    color: #387FC8;
}

.rotate-flip {
    animation: rotateFlip 0.35s forwards;
}

@keyframes rotateFlip {
    0% {
        transform: rotateY(0deg);
        filter: blur(1px);
    }
    50% {
        transform: rotateY(90deg);
        filter: blur(1px);
    }
    100% {
        transform: rotateY(0deg);
        filter: blur(1px);
    }
}


/* Get In Touch Section */
#getInTouchBox {
    width: 100%;
    min-height: 500px;
}

#getInTouchLeft {
    background-color: #387FC8;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

#getInTouchRight {
    background-color: white;
    padding: 80px 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 600px;
}

.getInTouchText {
    max-width: 510px;
    width: 100%;
}

.getInTouchText.blueBox {
    background-color: #387FC8;
    color: white;
}

.getInTouchSubText {
    font-size: var(--cs-theme-secondary-text-size);
    font-family: var(--cs-theme-secondary-text-font);
    margin-top: 20px;
    line-height: 1.6;
}

.bracket-text {
    color: white;
    font-size: var(--cs-theme-primary-headline-size);
}

.inverseText {
    background-color: #3D3D47;
    color: white;
    padding: 5px 10px;
    display: inline-block;
    margin: 5px 0;
}

#getInTouchLeft .inverseText{
    font-size: 23px;
    font-family: 'Open Sans';
    background-color: #3D3D47;
    color: white;
}

/* Form Styling */
#contactContainer {
    margin-top: 20px;
}

.form-floating > label {
    color: #6c757d;
}

.form-control:focus {
    border-color: #387FC8;
    box-shadow: 0 0 0 0.2rem rgba(56, 127, 200, 0.25);
}

.btn-primary {
    background-color: #387FC8;
    border-color: #387FC8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background-color: #2a5a96;
    border-color: #2a5a96;
}

.topFullContainer {
    background-color: #34343D;
    padding-left:15%;
    padding-right:15%;
    min-height: 500px;
    padding-top: 20px;
    background-image: url('../images/three_rivers.png');
    background-repeat: no-repeat;
    /*background-size: 1340px 550px;*/
    background-size: 1206px 495px;
    background-position: right top;
    display: flex;
}

.homeLeft {
    font-size: var(--cs-theme-primary-headline-size);
    padding-top: 50px;
    padding-right: 10px;
    display: flex 50;
    margin-right:150px;
    color: #fff;
}

.homeLeft .inverseText{
    color: #3D3D47;
    background-color: white;
}

.homeinverse-button {
    background-color: var(--cs-theme-primary-button-background-color);
    font-size:20px;
    font-weight: 700;
    padding: 0px;
    color: var(--cs-theme-primary-background-color);
    text-decoration: none;
}

.homeText {
    font-size: var(--cs-theme-secondary-text-size);
    font-family: "Roboto", sans-serif;
    font-weight: normal;
    max-width: 500px;
}

.displayNone{
    display: none;
}

.displayNone.homeRight {
    display: block;
    display: flex 50 !important;
    margin-right: 50px;
    text-align: right;
}

#tridgeImg {
    width:485px;
    margin-left:25%;
}

.iconPosition {
    margin-top:-20px;
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .home-card-title {
        font-size: 25px;
        position: relative;
        top: -15px;
    }

    .homeLeft {
        display:block;
        margin-left:-30px;
        font-size: 30px;
        padding: 0px;
        margin-right:10px;
    }

    .homeLeft .orangeText,
    .homeLeft .blueText,
    .homeLeft .greenText {
        font-size: var(--cs-theme-primary-headline-size-mobile);
    }

    .homeText {
     font-size: 20px;
     max-width: 300px;
    }
    
    .counter-number {
        font-size: 100px;
    }
    
    .counterSubText {
        font-size: 20px;
    }
    
    #getInTouchLeft,
    #getInTouchRight {
        padding: 40px 15px;
    }
    
    .getInTouchText {
        max-width: 350px;
        min-width: 350px;
    }
    
    .getInTouchSubText {
        max-width: 300px;
    }
    
    #arrowsWordsBox {
        flex-direction: column;
        padding: 40px 0;
    }
    
    .counterBox {
        width: 100%;
        margin-top: 20px;
    }

    .topFullContainer {
        background:none;
    }
}

@media (max-width: 576px) {
    .homeLeft {
        display:block;
        margin-left:-30px;
        font-size: 30px;
        padding: 0px;
        margin-right:10px;
        max-width: 400px;
    }

    .homeText {
     font-size: 20px;
     max-width: 300px;
    }

    .getInTouchText {
        max-width: 100%;
        min-width: auto;
    }
    
    .counter-number {
        font-size: 80px;
    }
    
    .home-card {
        min-width: 280px;
    }

    .topFullContainer {
        background:none;
    }
}