html,
body {
    overflow-x: hidden;
}

svg:not(:root) {
    overflow: visible;
}

.elementor-icon {
    line-height: 0;
}

.e-btn .elementor-button-wrapper {
    display: inline-flex;
    width: 100%;
}

.e-btn span.elementor-button-icon {
    font-size: 20px;
    display: inline-flex;
}

.swiper-navigation-button {
    transition: all .5s ease;
}

.swiper-navigation-button:hover {
    background: var(--e-global-color-secondary) !important;
}

.swiper-navigation-button:hover svg path {
    stroke: #fff;
}

.textpath-animation {
    animation: text-circle 10s infinite linear forwards;
    transform-origin: center;
}

@keyframes text-circle {
    to {
        transform: rotate(360deg);
    }
}

.animated-headline-2 svg {
    top: 70px !important;
}

@media (max-width: 1024px) {
    .animated-headline-2 svg {
        top: 60px !important;
    }
}

@media (max-width: 767.98px) {
    .reason-box-responsive {
        max-width: 500px;
    }

    .animated-headline-2 svg {
        top: 40px !important;
    }
}

.my-menu ul.sub-menu {
    top: 55px !important;
    left: 31px !important;
}

.my-menu ul li a svg {
    margin-left: 10px !important;
    float: none !important;
}

.my-menu li a {
    position: relative !important;
    display: flex !important;
}

.my-menu li a::before {
    position: absolute !important;
    content: '';
    left: 0;
    bottom: 8px;
    background: var(--e-global-color-secondary);
    z-index: 99;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left;
    transition: all .4s;
}

.my-menu li.menu-item-has-children a::before {
    width: calc(100% - 24px);
}

.my-menu li a:hover::before {
    transform: scaleX(1);
}

@media (max-width: 1024px) {
    .my-menu li a::before {
        bottom: -2px;
    }
}

.course-item:hover .course-img img {
    height: 224px;
}

.course-item .course-img img {
    transition: all .6s ease;
}

.course-enroll-button {
    height: 0;
    visibility: hidden;
    opacity: 0;
    transition: all .6s ease;
}

.course-item:hover .course-enroll-button {
    height: 68px;
    opacity: 1;
    visibility: visible;
}

.event-box-wrapper {
    overflow-y: scroll;
    box-sizing: content-box;
    scrollbar-width: none;
    height: 676px !important;
}

@media (max-width: 767.98px) {
    .event-box-wrapper {
        height: auto !important;
    }
}

.icon-arrow-anim svg path {
    animation: dash-arrow 5s infinite;
    fill: none;
    stroke: #AB0C2F;
    stroke-width: .9;
    stroke-dasharray: 1500;
    stroke-dashoffset: 1500;
}

@keyframes dash-arrow {
    0% {
        stroke-dashoffset: 1500;
    }
    15% {
        stroke-dashoffset: 0;
        fill: #AB0C2F;
    }
    85% {
        opacity: 1;
    }
    90% {
        opacity: 0;
    }
    100% {
        stroke-dashoffset: 1500;
        opacity: 0;
    }
}

.video-icon .ekit-video-popup-btn svg {
    width: 24px;
}

.video-icon .ekit-wid-con {
    width: 92px;
    height: 92px;
    border: 1px solid #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: all .5s;
}

.video-icon .ekit-wid-con:hover {
    border-color: var(--e-global-color-secondary);
}

.department-box:hover .department-box-icon {
    transform: skewX(10deg) scale(1.1);
}

.department-box .department-box-icon {
    transition: all .4s ease;
}

.instructor-slider span.elementskit-profile-info {
    display: flex !important;
    flex-direction: column-reverse;
    gap: 4px;
}

.instructor-slider .elementskit-commentor-content {
    margin-bottom: 0 !important;
}

.instructor-slider .elementskit-client_logo {
    display: flex !important;
}

.elementskit-client_logo img {
    height: 310px !important;
    object-fit: cover;
    border-radius: 8px;
}

@media (max-width: 767.98px) {
    .elementskit-client_logo img {
        width: 100% !important;
        height: auto !important;
    }

    .ekit-wid-con .elementskit-testimonial-slider .swiper-button-next,
    .ekit-wid-con .elementskit-testimonial-slider .swiper-button-prev {
        display: flex !important;
    }
}

@media (min-width: 768px) and (max-width: 1024.98px) {
    .elementskit-client_logo img {
        height: 255px !important;
        width: 100% !important;
    }
}

.icon-circle-anim {
    animation: dash-circle 7s infinite;
    fill: none;
    stroke: #AB0C2F;
    stroke-width: .9;
    stroke-dasharray: 1500;
    stroke-dashoffset: 1500;
}

@keyframes dash-circle {
    0% {
        stroke-dashoffset: 1500;
    }
    15% {
        stroke-dashoffset: 0;
    }
    85% {
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 1500;
        opacity: 0;
    }
}

.testimonial-slider .elementskit-profile-info {
    display: flex !important;
    flex-direction: column;
    padding-left: 12px;
    border-left: 2px solid var(--e-global-color-secondary);
}

.testimonial-slider .swiper-navigation-button.swiper-button-prev {
    left: auto !important;
    right: 48px;
}

@media (max-width: 767.98px) {
    .testimonial-slider .swiper-navigation-button {
        bottom: -76px !important;
        transform: translate(0) !important;
        top: auto;
    }
}

@media (min-width: 768px) and (max-width: 1024.98px) {
    .testimonial-slider .swiper-navigation-button {
        bottom: -86px !important;
        transform: translate(0) !important;
        top: auto;
    }
}

.blog .wpr-button-effect {
    display: flex !important;
}

.blog .wpr-grid-extra-icon-right {
    font-size: 20px;
}

.blog img {
    height: 292px !important;
    object-fit: cover;
}

.blog .wpr-cv-inner {
    position: absolute !important;
    top: 12px !important;
    left: 12px;
}

.blog-list .wpr-grid-media-wrap {
    width: 260px !important;
}

.blog-list .wpr-grid-item-below-content {
    width: calc(100% - 280px) !important;
    align-content: center;
}

.blog-list img {
    height: 200px !important;
}

.blog-list .wpr-grid article:last-child {
    border-width: 0 !important;
}

@media (max-width: 1024px) {
    .blog img {
        height: 250px !important;
    }

    .blog-list .wpr-grid-media-wrap {
        width: 38% !important;
    }

    .blog-list .wpr-grid-item-below-content {
        width: calc(100% - 38% - 20px) !important;
    }

    .blog-list img {
        height: 200px !important;
    }
}

@media (max-width: 767px) {
    .blog-list .wpr-grid-media-wrap {
        width: 100% !important;
    }

    .blog-list .wpr-grid-item-below-content {
        width: 100% !important;
    }

    .blog-list img {
        height: 250px !important;
    }

    .blog-list .wpr-grid-item-below-content {
        min-height: 100% !important;
    }
}

.btn-red .elementor-button {
    position: relative;
    overflow: hidden;
}

.btn-red .elementor-button span {
    position: relative;
    z-index: 1;
}

.btn-red .elementor-button::before {
    content: '';
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--e-global-color-primary);
    transition: width 0.5s, height 0.5s;
    z-index: 0;
}

.btn-red .elementor-button:hover::before {
    width: 400px;
    height: 400px;
}

ul.elementor-icon-list-items {
    padding: 0 !important;
    list-style-type: none;
}

button.metform-btn.metform-submit-btn.admission-from {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
