﻿.main-slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.home-blur-container {
    position: relative;
    background: rgba(40, 126, 136, 0.1); /* rgba(255, 255, 255, 0.3); */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px; /* Adjust as needed */
    border-radius: 10px; /* Optional: for rounded corners */
}

.banner__one-content h2 {
    color: var(--text-heading-color);
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.7);
    animation: colorAndShadowCycle 12s infinite ease-in-out;
    /*animation: shinyColorAndShadowCycle 8s infinite ease-in-out;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;*/
}

@keyframes colorAndShadowCycle {
    0% {
        color: var(--text-heading-color);
        text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.7);
    }

    25% {
        color: rgba(255, 255, 255, 0.8); /* Brighter text */
        text-shadow: 2px 2px 4px rgba(0, 0, 255, 0.5); /* Darker shadow for contrast */
    }

    50% {
        color: var(--text-heading-color);
        text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9); /* Stronger original contrast */
    }

    75% {
        color: rgba(255, 255, 255, 0.5); /* Dimmer text */
        text-shadow: 2px 2px 4px rgba(0, 0, 255, 0.7); /* Darker shadow */
    }

    100% {
        color: var(--text-heading-color);
        text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.7);
    }
}

@keyframes shinyColorAndShadowCycle {
    0% {
        color: var(--text-heading-color);
        text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.7);
        background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
        background-size: 200%;
        -webkit-background-clip: text;
        color: transparent;
    }

    33% {
        color: rgba(255, 255, 255, 0.8);
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        background-position: 100%;
    }

    66% {
        color: rgba(255, 255, 255, 0.5);
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
        background-position: 0%;
    }

    100% {
        color: var(--text-heading-color);
        text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.7);
        background-position: 100%;
    }
}

.banner__one-content p {
    color: #fff;
}
/*who and why and swiper styling*/
.why-choose-us__one-quality .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0px;
    overflow-x: hidden;
}

.why-choose-us__one-quality-single {
    flex: 1;
    min-width: 150px; /* Adjust as needed */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: -5px;
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

    .swiper-slide img {
        margin-bottom: 15px; /* Adjust spacing as needed */
    }

.why-choose-us__one-quality-single .icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 116px;
    height: 116px;
    border: 3px solid transparent;
    border-radius: 50%;
    top: 5px;
}

    .why-choose-us__one-quality-single .icon::before {
        content: "";
        position: absolute;
        top: -3px;
        left: -9px;
        width: 114px;
        height: 114px;
        background: url('../images/home/whytoattend.gif') no-repeat center center;
        background-size: cover;
        z-index: 0;
    }

@media (max-width: 575px) {
}

@keyframes animate-odd {
    0% {
        background: var(--color-5);
        color: var(--text-white);
    }

    50% {
        background: var(--bg-white);
        color: var(--primary-color-1);
    }

    100% {
        background: var(--color-5);
        color: var(--text-white);
    }
}

@keyframes animate-even {
    0% {
        background: var(--bg-white);
        color: var(--primary-color-1);
    }

    50% {
        background: var(--color-5);
        color: var(--text-white);
    }

    100% {
        background: var(--bg-white);
        color: var(--primary-color-1);
    }
}

/* Apply animation to the icons */
.odd .icon i {
    animation: animate-odd 9s infinite alternate ease-in-out;
}

.even .icon i {
    animation: animate-even 12s infinite alternate ease-in-out;
}

/*div as gif class*/
@media (max-width: 199px) {
    .why-choose-us__one-quality-single .icon::before {
        top: -7px;
        left: -2px;
    }
}

@media (min-width: 200px) and (max-width: 480px) {
    .why-choose-us__one-quality-single .icon::before {
        top: -7px;
        left: -2px;
    }
}

@media (min-width: 481px) and (max-width: 539px) {
    .why-choose-us__one-quality-single .icon::before {
        top: -7px;
        left: -2px;
    }
}

@media (min-width: 540px) and (max-width: 574px) {
    .why-choose-us__one-quality-single .icon::before {
        top: -3px;
        left: -9px;
    }
}

@media (min-width: 575px) and (max-width: 768px) {
    .why-choose-us__one-quality-single .icon::before {
        top: -3px;
        left: -9.5px;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .why-choose-us__one-quality-single .icon::before {
        left: -9px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .why-choose-us__one-quality-single .icon::before {
        left: -10px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .why-choose-us__one-quality-single .icon::before {
        left: -10px;
    }
}

@media (min-width: 1400px) {
    .why-choose-us__one-quality-single .icon::before {
        left: -12px;
    }
}

.swiper-wrapper {
    padding: 10px;
    border: 2px solid var(--primary-color-1);
    transition: 0.5s ease-in-out;
}