.bb-home h4 {
    text-align: center;
}


.row_ad_fragment {
    height: 5rem !important;
}

.img-container > img {
    height: 5rem !important;
    width: 100%;
}

.gAdHe {
    height: 8rem !important;
}

/* mobile :  Advertisement image size in slider one logo image Actual Width: 261 pixels Actual Height: 261 pixels */
/* web :  Advertisement image size in slider one logo image Actual Width: 361 pixels Actual Height: 361 pixels */


.scrolling-row {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
}

.scrolling-row .card {
    flex: 0 0 auto;
    margin-right: 10px;
    justify-content: start;
    /* Adjust margin as needed */
}
.flot_container_1 {
    overflow-x: auto;
    white-space: nowrap;
}

.scrolling-row1 {
    display: flex;
    flex-wrap: nowrap;
}

.col-md-2 {
    flex: 0 0 auto;
    white-space: normal;
}


/* Animated text - respects reduced motion preference */
@media (prefers-reduced-motion: no-preference) {
    .animate-character {
        text-transform: uppercase;
        background-image: linear-gradient(-225deg,
        #231557 0%,
        #641530 19%,
        #2e6461 29%,
        #1c3e80 39%,
        #44107a 67%,
        #6c6c20 100%);
        background-size: 200% auto;
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: text_clip 10s linear infinite;
        display: inline-block;
    }
}

@media (prefers-reduced-motion: reduce) {
    .animate-character {
        text-transform: uppercase;
        background-image: linear-gradient(-225deg, #231557 0%, #44107a 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

.animate-character-1 {
    background-image: linear-gradient(-125deg,
    #121213 0%,
    #272780 15%,
    #d597de 19%,
    #4e79e3 29%,
    #51752c 39%,
    #7c343d 67%,
    rgba(103, 80, 7, 0.87) 100%);
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: text_clip 10s linear infinite;
    display: inline-block;
}

@keyframes text_clip {
    to {
        background-position: 200% center;
    }
}
/*welcome section*/
.slow-spin {
    animation: fa-spin 8s infinite linear, color-change 8s infinite linear;
}
.wel_title{
    animation:  color-change 8s infinite linear;
}
@keyframes fa-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@keyframes color-change {
    0%, 100% {
        color: #383809; /* Start and end with the same color */
    }
    25% {
        color: #ff5733; /* First quarter color */
    }
    50% {
        color: #33ff57; /* Halfway color */
    }
    75% {
        color: #3357ff; /* Three-quarters color */
    }
}

.flot_container > .card {
    border-radius: var(--bb-radius);
    box-shadow: var(--bb-shadow);
    border: var(--bb-card-border);
}

.card-img-top {
    border-radius: 50%;
    box-shadow: var(--bb-shadow-sm);
}

.card-title {
    font-weight: 600;
    text-shadow: none;
}

.hero {
    background: #f8f9fa;
    padding: 30px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.features {
    /*padding: 40px 0;*/
}

.features .feature-item {
    text-align: center;
    /*padding: 20px;*/
}

.features .feature-item i {
    font-size: 2rem;
    margin-bottom: 10px;
}

@media (min-width: 576px) {
    .main-window_accordion {
        width: 40% !important;
    }
}

/*Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
    .main-window_accordion {
        width: 20% !important;
    }
}

.spinner-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 9999;
}

.spinner {
    border: 16px solid rgba(15, 23, 42, 0.08);
    border-top: 16px solid var(--bb-primary);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
}

.loading-text {
    font-size: 1.2em;
    color: var(--bb-primary);
    animation: pulse 2s infinite, colorChange 3s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

@keyframes colorChange {
    0%, 100% {
        color: var(--bb-primary);
    }
    50% {
        color: var(--bb-accent);
    }
}

.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9998;
}
