body{
    background-color:white !important;
}

.custom-btn1 {
    border-radius: 10px;
    padding: 8px 25px !important;
    background-color: var(--primary) !important;
    opacity: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none; 
    transition: background-color 0.3s ease;
}

.top {
    top: 0;
    left: 0;
    width: 0;
    height: 5px;
    background: linear-gradient(90deg,
            transparent 50%,
            var(--primary),
            var(--primary));
}

.bottom {
    right: 0;
    bottom: 0;
    height: 5px;
    background: linear-gradient(90deg,
            var(--primary),
            var(--primary),
            transparent 50%);
}

.right {
    top: 0;
    right: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(180deg,
            transparent 30%,
            var(--primary),
            var(--primary));
}

.left {
    left: 0;
    bottom: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(180deg,
            var(--primary),
            var(--primary),
            transparent 70%);
}

.top {
    animation: animateTop 3s ease-in-out infinite;
}

.bottom {
    animation: animateBottom 3s ease-in-out infinite;
}

.right {
    animation: animateRight 3s ease-in-out infinite;
}

.left {
    animation: animateLeft 3s ease-in-out infinite;
}
@keyframes animateTop {
    25% {
        width: 100%;
        opacity: 1;
    }

    30%,
    100% {
        opacity: 0;
    }
}

@keyframes animateBottom {

    0%,
    50% {
        opacity: 0;
        width: 0;
    }

    75% {
        opacity: 1;
        width: 100%;
    }

    76%,
    100% {
        opacity: 0;
    }
}

@keyframes animateRight {

    0%,
    25% {
        opacity: 0;
        height: 0;
    }

    50% {
        opacity: 1;
        height: 100%;
    }

    55%,
    100% {
        height: 100%;
        opacity: 0;
    }
}

@keyframes animateLeft {

    0%,
    75% {
        opacity: 0;
        bottom: 0;
        height: 0;
    }

    100% {
        opacity: 1;
        height: 100%;
    }
}


.banner>a {
    overflow: hidden;
    border: 5px solid #fff;
    height: 200px;
    background-size: cover;
}

.banner>a:hover {
    transition: all .5s ease;
    background-color: var(--secondary);
}

.banner>a:hover img {
    filter: grayscale(1);
    transform: scale(1.3);
    filter: blur(0px);
}

.banner>a strong {
    text-align: center;
    font-size: 21px;
}

.banner>a:hover strong {
    transition: all .5s ease;
    font-size: 18px;
}

.banner-item-title {
    left: 50%;
    top: 50%;
    z-index: 1000;
    transform: translate(-50%, -50%);
}

#hero {
    background-color: #FFF;
}

#hero>div {
    background-color: var(--secondary);
}

#hero img.hero-img {
    border-radius: 14px;
}

#hero .hero-images {
    background-image: url("/assets/images/blob.svg");
    background-repeat: no-repeat;
    background-position: center;
}

.hero-wave {
    transform: translateY(-1px);
}

.rounded-10 {
    border-radius: 10px !important;
}

.course-card {
    border-radius: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.course-card-img {
    height: 200px;
    overflow: hidden;
}
.course-card-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.course-card:hover .course-card-img img {
    transform: scale(1.08);
}

.course-card-title {
    font-size: 1.1rem;
    line-height: 1.4;
}
.course-card-text {
    font-size: 0.9rem;
    min-height: 50px;
}

.btn-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.25s ease;
}
.btn-cart:hover {
    transform: scale(1.1);
}
.btn-cart-loading {
    pointer-events: none;
    opacity: 0.7;
}

.parcours-card {
    border-radius: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.parcours-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.parcours-card-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}
.parcours-card-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.parcours-card:hover .parcours-card-img img {
    transform: scale(1.08);
}

.second-section-img{
    height: 332px;
    border-radius: 10px;
    width: 100%;
    object-fit: cover;
}

@media (max-width: 991.98px) {


    .custom-btn1 {
        width: 100% !important;
        display: flex;
        justify-content: center;
        margin-top: 24px;
    }

    .blog-card-img {
        height: 196px !important;
    }

    .title-1{
        font-size:24px !important;
    }

    .imgHero{
        display: none;
    }

    .marginBetween{
        margin-top:48px !important;
    }
    .par{
        font-size: 13px !important
    }
    .btn-card{
        padding:10px 15px !important;
        font-size:14px !important; 
        font-weight:500 !important;
        border-radius:10px !important;
    }

}


.row .col-lg-6,
.row .col-sm-6 {
    display: flex;
}
.row .col-lg-6 > *,
.row .col-sm-6 > * {
    width: 100%;
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.25s ease;
    background-color: #fff;
}
.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card img {
    object-fit: cover;
    height: 220px;
    width: 100%;
    border-radius: 0.75rem;
}

.item7-card-desc {
    font-size: 14px;
    line-height: 1.5;
}
.item7-card-desc i {
    color: #6c757d;
}

@media (min-width: 1280px) {
    #custom-padding-lg {
        padding-top: 30px;
    }

    .custom-btn {
        width: 272px;
        height: 49px;
        border-radius: 10px;
        padding: 8px 25px !important;
        background-color: var(--primary) !important;
        opacity: 1;
        gap: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        /* remove underline for <a> */
        transition: background-color 0.3s ease;
    }

}

.custom-btn {
    border-radius: 10px;
    padding: 8px 25px !important;
    background-color: var(--primary) !important;
    opacity: 1;
    line-height: 2;
    gap: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    /* remove underline for <a> */
    transition: background-color 0.3s ease;
}

@media (max-width: 991.98px) {
    .hero-images {
        display: none !important;
    }

    .custom-btn {
        width: 100% !important;
        justify-content: center;
        text-align: center;
        display: flex;
        padding: 10px 20px;
    }
    .titleH {
        font-size:24px !important;
        margin-bottom:16px;
    }
    .titleS {
        font-size:14px !important;
    }

}