.d0whitebox {background-color: #FFF; margin-top: 1em; margin-bottom: 1em; padding: 20px; min-height:0px; border-radius: 30px; display:block;}
.d0bluebox {background-color: #2EA2D9; margin-top: 1em; margin-bottom: 1em; padding: 20px; min-height:0px; border-radius: 30px; display:block;}
.d0darkbluebox {background-color: #1c4f8c; margin-top: 1em; margin-bottom: 1em; padding: 20px; min-height:0px; border-radius: 30px; display:block;}

@media only screen and (min-width: 800px) {.d0whitescrollbox {background-color: #1c4f8c; margin-top: 1em; margin-bottom: 1em; padding:20px; max-width: 380px; min-height:390px; border-radius: 30px; display: flex; align-items: center; flex-direction: column; justify-content: start; white-space: normal;}}
@media only screen and (max-width: 799px) {.d0whitescrollbox {background-color: #1c4f8c; margin-top: 1em; margin-bottom: 1em; padding:20px; max-width: 280px; min-height:550px; border-radius: 30px; display: flex; align-items: center; flex-direction: column; justify-content: start; white-space: normal;}}

.d0scrollingwrapper {overflow-x: scroll; overflow-y: hidden; white-space: nowrap; cursor: grab; -webkit-overflow-scrolling: touch;
.d0scrollcard {display: inline-block; padding: 0 5px;}}

.d0topbannershift {transform: translate(0px, -2px);}
.d0deepbannershift {transform: translate(0px, -3px);}
@media only screen and (min-width: 800px) {.d0sectionshift {transform: translate(0px, 70px);}}

#r8_content h1 {font-size: 20px; line-height: 25px; font-weight: bold; text-transform: uppercase;}
#r8_content h2 {font-weight: bold;}
#r8_content h3 {font-family: "Poppins", sans-serif; font-weight: bold; font-weight: bold;}
#r8_content h4 {font-family: "Poppins", sans-serif; font-weight: bold;}
#r8_content p {font-family: "Work Sans", sans-serif;}

.d0headeroverlay {background: linear-gradient(180deg,rgba(28, 79, 140, 1) 0%, rgba(255, 255, 255, 0) 100%);}

.d0whiteoverlay {background: linear-gradient(180deg,rgba(255, 255, 255, 1) 0%, rgba(28, 79, 140, 0) 50%, rgba(255, 255, 255, 1) 100%);}

.d0whitebottomoverlay {background: linear-gradient(180deg,rgba(255, 255, 255, 0) 0%, rgba(28, 79, 140, 0) 50%, rgba(255, 255, 255, 1) 100%);}

.d0overlayright {background: linear-gradient(90deg,rgba(28, 79, 140, 1) 0%, rgba(28, 79, 140, 1) 50%, rgba(255, 255, 255, 0) 100%);}

@media only screen and (min-width: 800px) {.d0h2fontsize {font-family: "Poppins", sans-serif; font-size: 36px; line-height: 36px; font-weight: bold;}}
@media only screen and (max-width: 799px) {.d0h2fontsize {font-family: "Poppins", sans-serif; font-size: 28px; line-height: 28px; font-weight: bold;}}
@media only screen and (min-width: 800px) {.d0h3fontsize {font-family: "Poppins", sans-serif; font-size: 24px; line-height: 24px; font-weight: bold;}}
@media only screen and (max-width: 799px) {.d0h3fontsize {font-family: "Poppins", sans-serif; font-size: 20px; line-height: 20px; font-weight: bold;}}

@media only screen and (min-width: 800px) {.d0wavetop {clip-path: polygon( 53.6% 5.768%,53.6% 5.768%,51.444% 5.394%,49.263% 4.983%,47.032% 4.556%,44.729% 4.137%,42.328% 3.749%,39.807% 3.416%,37.141% 3.159%,34.307% 3.003%,31.279% 2.97%,28.036% 3.083%,28.036% 3.083%,25.213% 3.3%,22.393% 3.627%,19.576% 4.062%,16.764% 4.606%,13.955% 5.259%,11.152% 6.019%,8.354% 6.889%,5.562% 7.866%,2.778% 8.951%,0% 10.144%,0% 100%,100% 100%,100% 0%,100% 0%,94.191% 2.078%,88.633% 3.722%,83.328% 4.971%,78.282% 5.861%,73.496% 6.43%,68.974% 6.716%,64.721% 6.755%,60.738% 6.585%,57.03% 6.244%,53.6% 5.768% );}}

@media only screen and (min-width: 800px) {.d0wavebottom {clip-path: polygon( 46.4% 94.232%,46.4% 94.232%,48.556% 94.606%,50.737% 95.017%,52.968% 95.444%,55.271% 95.863%,57.672% 96.251%,60.193% 96.584%,62.859% 96.841%,65.693% 96.997%,68.721% 97.03%,71.964% 96.917%,71.964% 96.917%,74.787% 96.7%,77.607% 96.373%,80.424% 95.938%,83.236% 95.394%,86.045% 94.741%,88.848% 93.981%,91.646% 93.111%,94.438% 92.134%,97.222% 91.049%,100% 89.856%,100% 0%,0% 0%,0% 100%,0% 100%,5.809% 97.922%,11.367% 96.278%,16.672% 95.029%,21.718% 94.139%,26.504% 93.57%,31.026% 93.284%,35.279% 93.245%,39.262% 93.415%,42.97% 93.756%,46.4% 94.232% );}}

@media only screen and (min-width: 800px) {.d0waveboth {clip-path: polygon( 0% 6.5%,0% 6.5%,2.778% 5.735%,5.562% 5.04%,8.354% 4.414%,11.152% 3.857%,13.955% 3.369%,16.764% 2.951%,19.576% 2.603%,22.393% 2.324%,25.213% 2.115%,28.036% 1.975%,28.036% 1.975%,31.279% 1.903%,34.307% 1.924%,37.141% 2.024%,39.807% 2.189%,42.328% 2.402%,44.729% 2.651%,47.032% 2.919%,49.263% 3.193%,51.444% 3.457%,53.6% 3.696%,53.6% 3.696%,57.03% 4.001%,60.738% 4.22%,64.721% 4.328%,68.974% 4.303%,73.496% 4.12%,78.282% 3.756%,83.328% 3.185%,88.633% 2.385%,94.191% 1.331%,100% 0%,100% 93.5%,100% 93.5%,97.222% 94.265%,94.438% 94.96%,91.646% 95.586%,88.848% 96.143%,86.045% 96.631%,83.236% 97.049%,80.424% 97.397%,77.607% 97.676%,74.787% 97.885%,71.964% 98.025%,71.964% 98.025%,68.721% 98.097%,65.693% 98.076%,62.859% 97.976%,60.193% 97.811%,57.672% 97.598%,55.271% 97.349%,52.968% 97.081%,50.737% 96.807%,48.556% 96.543%,46.4% 96.304%,46.4% 96.304%,42.97% 95.999%,39.262% 95.78%,35.279% 95.672%,31.026% 95.697%,26.504% 95.88%,21.718% 96.244%,16.672% 96.815%,11.367% 97.615%,5.809% 98.669%,0% 100%,0% 6.5% );}}

.btn-statement {color: #fff; background-color: #208BD4; font-family: Poppins, sans-serif; text-transform: uppercase; font-weight: bold; padding: 17px 34px; margin-top: 20px;}
.btn-compliment {color: #111; background-color: #f1a740; font-family: Poppins, sans-serif; text-transform: uppercase; font-weight: bold; padding: 17px 34px; margin-top: 20px;}
#r8_content .btn-default {color: #111; background-color: #fff; font-family: Poppins, sans-serif; text-transform: uppercase; font-weight: bold; font-size: 18px; padding: 17px 34px; margin-top: 20px;}

.sf-menu>li>a {text-transform: uppercase; font-weight: bold;}

.d0infotabshift {transform: translate(0px, 35px);}

#group .btn-default {color: #111; background-color: #fff; font-family: Poppins, sans-serif; text-transform: capitalize; font-size: 14px; padding: 10px 16px;}


.ui-state-active {background: #1C4F8C; border: 1px solid rgba(0,0,0,0); border-radius: 30px;}
.ub-palette-light h4 {color:  #fff; font-family: Poppins, sans-serif; font-weight: bold !important;}
.ub-palette-light i {color:  #f1a740;}
.ui-accordion-content {border-radius: 30px;}
.ui-state-default {background: #1C4F8C !important; border: 1px solid rgba(0,0,0,0) !important; border-radius: 30px !important;}

.d0scrolling-text-container {
    overflow: hidden;
    width: 100%;
    background-color: transparent;
    position: relative;
}

.d0scrolling-text-inner {
    display: flex;
    width: max-content;
    animation: scroll-left 45s linear infinite;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 600;
    padding: 8px 0;
}

.d0scrolling-text {
    display: flex;
}

.d0scrolling-text-item {
    padding: 0 30px;
}

/* Responsive font adjustment for mobile */
@media (max-width: 600px) {
    .d0scrolling-text-inner {
        font-size: 14px;
        padding: 6px 0;
    }

    .d0scrolling-text-item {
        padding: 0 20px;
    }
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.hvrbox, .hvrbox * {
    box-sizing: border-box;
    border-radius: 20px;
}

#group .card_container div {border-radius: 20px;}

#r8_header hr {display: none;}

/* Navbar styling */
@media only screen and (min-width: 800px) {#r8_navbar .navbar {
  min-height: 280px; /* Optional: Set a minimum height */
  height: auto; /* Allow it to grow with content */
  overflow: visible; /* Prevent cropping */
  position: relative;}}

/* Logo image styling */
@media only screen and (min-width: 800px) {#r8_logo img {
  max-height: 180px; /* Adjust to your preferred size */
  margin-top: 5px;
  height: auto;
  width: auto;
  display: block;}
}

.modal-body {background-color: #1C4F8C;}
.modal-body h1 {color: #fff;}
.modal-body p {color: #fff;}
.modal-header {display: none;}
.modal-footer {border-top: none;}
.modal-body .btn-compliment {border-radius: 500px; border: none;}
