:root {
    /* --primary: #FE5D37; */
    --primary: #ffdc0e;
    --secondary: #ee0505;
    --light: #FFF5F3;
    --dark: #103741;
    --primary-l: #cfe2ff;
    --primary-d: #084298;
    --white: #fff;
    --white-d: #e9ecef;
    --hue: 210;
}

body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

@font-face {
    font-family: 'Michegar';
    src: url('../lib/font/Michegar.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    unicode-range: U+0041-005A, U+0061-007A;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/* section */
section,
.section {
    scroll-margin-top: 90px;
    overflow: clip;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
# Chat icon
--------------------------------------------------------------*/

.whatsapp_float {
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 1000;
}

.whatsapp-icon {
  width: 60px;
  height: 60px;
  border-radius: 20%;
  box-shadow: 0 2px 10px rgba(255, 210, 11, 0.938);
  transition: transform 0.3s ease;
}

.whatsapp-icon:hover {
  transform: scale(1.1);
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Heading ***/
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    /* font-family: 'Lobster Two', cursive; */
    font-family: "Times New Roman", Times, serif;
    /* font-family: 'Michegar', Arial, sans-serif; */
    font-weight: 700;
}

h5,
h6,
.h5,
.h6 {
    font-weight: 600;
}

.font-secondary {
    /* font-family: 'Lobster Two', cursive; */
    font-family: "Times New Roman", Times, serif;
    /* font-family: 'Michegar', Arial, sans-serif; */

}

textarea {
    resize: none;
}

/*** Navbar ***/
.navbar .navbar-nav .nav-link {
    padding: 30px 15px;
    color: var(--dark);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 991.98px) {
    .navbar {
        height: 120px;
    }

    .navbar-brand img {
        height: 100px;
    }

    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
        font-size: 25px;
        text-align: center;
    }

    .navbar-collapse {
        border-radius: 10px;
        width: 100%;
        border: 2px solid var(--primary);
        background-color: #fff;
    }

    /* .navbar .navbar-nav {
        border-radius: 10px;
        width: 100%;
        border: 2px solid var(--primary);
        background-color: #fff;
    } */

    .navbar-toggler-icon {
        width: 50px !important;
        height: 50px !important;
    }

    .nav-item {
        border: 1px solid var(--primary);
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: calc(100% - 15px);
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;

    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel::before,
.header-carousel::after,
.page-header::before,
.page-header::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 10px;
    top: 0;
    left: 0;
    /* background: url(../img/bg-header-top.png) center center repeat-x; */
    z-index: 1;
}

.header-carousel::after,
.page-header::after {
    height: 19px;
    top: auto;
    bottom: 0;
    /* background: url(../img/bg-header-bottom.png) center center repeat-x; */
}


.owl-carousel-div {
    background: rgba(0, 0, 0, .45);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        /* object-fit: cover; */
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Facility ***/
/* .facility-item .facility-icon {
    position: relative;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.facility-item .facility-icon::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-icon span {
    position: absolute;
    content: "";
    width: 15px;
    height: 30px;
    top: 0;
    left: 0;
    border-radius: 50%;
}

.facility-item .facility-icon span:last-child {
    left: auto;
    right: 0;
}

.facility-item .facility-icon i {
    position: relative;
    z-index: 2;
}

.facility-item .facility-text {
    position: relative;
    min-height: 300px;
    padding: 30px;
    border-radius: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
}

.facility-item .facility-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-text * {
    position: relative;
    z-index: 2;
}

.facility-item:hover .facility-icon::before,
.facility-item:hover .facility-text::before {
    background: transparent;
}

.facility-item * {
    transition: .5s;
}

.facility-item:hover * {
    color: #FFFFFF !important;
} */

/* Facility Item */
.facility-item {
    cursor: pointer;
    transition: all 0.5s ease;
}

/* Icon Container */
.facility-item .facility-icon {
    position: relative;
    margin: 0 auto 20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.5s ease;
}

.facility-item .facility-icon::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.9);
    transition: 0.5s;
    z-index: 1;
}

.facility-item .facility-icon i {
    position: relative;
    z-index: 2;
    font-size: 3rem;
}

/* Text Box */
.facility-item .facility-text {
    position: relative;
    min-height: 300px;
    padding: 30px;
    border-radius: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.5s ease;
}

.facility-item .facility-text::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.9);
    transition: 0.5s;
    z-index: 1;
}

.facility-item .facility-text * {
    position: relative;
    z-index: 2;
}

.facility-item:hover .facility-icon::before,
.facility-item:hover .facility-text::before {
    background: transparent;
}

.facility-item:hover h3,
.facility-item:hover p,
.facility-item:hover i {
    color: #fff !important;
}



/*** About ***/
.about-img img {
    transition: .5s;
}

.about-img img:hover {
    background: var(--primary) !important;
}


/*** Classes ***/
.classes-item {
    transition: .5s;
}

.classes-item:hover {
    margin-top: -10px;
}

.courses:hover {
    background: var(--primary) !important;
}

/*** Team ***/
.team-item .team-text {
    position: absolute;
    width: 250px;
    height: 250px;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #FFFFFF;
    border: 17px solid var(--light);
    border-radius: 250px;
    transition: .5s;
}

.team-item:hover .team-text {
    border-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgba(0, 185, 142, .3) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

.div-600 {
    max-width: 600px;
}

/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 45px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    border-color: var(--primary);
    background: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 16px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary) !important;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255, 255, 255, 0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: #FFFFFF;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: var(--primary) !important;
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* 
.cursor {
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%);
    border-radius: 50%;
    background: transparent;
    pointer-events: none;
    z-index: 111;
    border: 2px solid #f70404;
    transition: all 0.2s ease-out;
    animation: moveCursor1 .5s infinite alternate;
}

.expand {
    background: transparent;
    animation: moveCursor2 .5s forwards;
    border: 1px solid yellow;
}

@keyframes moveCursor1 {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(.8);
    }
}

@keyframes moveCursor2 {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(2.5);
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
} */


.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 2.5rem;
    height: 2.5rem;
    z-index: 9999999;
    pointer-events: none;
}

.cursor div {
    position: absolute;
    display: grid;
    place-items: center;
    z-index: 99999;
}

.cursor div div {
    border: 2px solid #ee0505;
    border-radius: 50%;
    animation: pulse 2.5s linear infinite;
    box-shadow: 0 0 50px 5px #0142f3f8;
}

.cursor div:nth-child(1),
.cursor div:nth-child(2) {
    width: 100%;
    height: 100%;
}

.cursor div:nth-child(1) {
    transition: transform 0.2s ease-out;
}

.cursor div:nth-child(2) {
    transition: transform 0.1s ease-out;
}

.cursor div:nth-child(2) div {
    background: #fff;
    border-radius: 50%;
    width: 4px;
    height: 4px;
}




/* contact- page  */

.contact-card {
    border: 10px ridge #ffdc0e;
    border-radius: 10px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-card .icon span {
    color: #ffdc0e;
    border: 1px dashed #ffdc0e;
    border-radius: 100px;
    font-size: 35px;
    padding: 10px;
    margin: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-card h2 {
    color: #ffdc0e;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 600;
    margin: 15px 0 10px;
}

.contact-card .icon h4 {
    font-size: 16px;
    color: #2a254d;
    font-weight: 500;
}

.contact-card .icon h4 a {
    text-decoration: none;
    font-size: 18px;
    color: #2a254d;
    font-weight: 500;
}


/* stats */
.stats {
    background: url('../image/stats.png') center/cover no-repeat;
    min-height: 500px;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

.stats-body {
    border: 8px ridge var(--primary);
    border-radius: 10px;
}

.stats-card {
    font-weight: bold !important;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-8px);
}

.stats-card .icon {
    font-size: 50px;
    margin-bottom: 10px;
}

.stats-card h3 {
    font-weight: bold;
    font-family: 'Times New Roman', Times, serif;
}

.stats-card p {
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
}

/* ✅ Mobile optimization */
@media (max-width: 767px) {
    .stats {
        padding: 40px 0;
        min-height: auto;
        text-align: center;
    }

    .stats-card .icon {
        font-size: 40px;
    }

    .stats-card h2 {
        font-size: 28px;
    }
}


/* capmany logo */
.company {
    background-color: #ffdc0e !important;
}

.company-slider .owl-item {
    padding: 10px;
    cursor: grab;
}

.company-slider .owl-item:active {
    cursor: grabbing;
}

.company-card {
    perspective: 1000px;
    height: 120px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: 12px;
}

.company-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    backface-visibility: hidden;
}

.card-front {
    border: 1px solid #ab0c2f;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
}

.card-front img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.6s ease-in-out;
}

.company-card:hover .card-front img {
    transform: scale(1.05);
}

.card-back {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #fff;
    transform: rotateY(180deg);
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-back .name {
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* ✅ Responsive heights */
@media (max-width: 992px) {
    .company-card {
        height: 100px;
    }
}

@media (max-width: 768px) {
    .company-card {
        height: 90px;
    }
}

@media (max-width: 576px) {
    .company-card {
        height: 80px;
    }
}


/* Conatact */
.contact {
    background-color: #ffdc0e;
}

.form-body {
    background-color: #ffffff;
    color: #000;
    border-radius: 10px;
}

.form-body h4 {
    font-weight: bold;
    color: #ffdc0e;
}

.form-body p {
    font-weight: 600;
    color: #000;

}

/* Notify Section */
.notify {
    background: #ffdc0e;
    padding: 20px 0;
    color: #fff;
    font-weight: 600;
}

.notify h2 {
    font-size: 20px;
    margin: 0;
}

.schedule {
    padding: 15px 28px;
    font-size: 18px;
    text-transform: uppercase;
    color: #fff;
    border-radius: 5px;
    font-weight: bold;
    background-color: #ab0c2f;
    border: 2px ridge #1e3c72;
    transition: all 0.3s ease;
}

.schedule:focus,
.schedule:active,
.schedule:hover {
    background-color: #ffdc0e !important;
    border-color: #ab0c2f !important;
    color: #fff !important;
    text-decoration: none;
    box-shadow: none;
}

.modal-backdrop {
    opacity: 0 !important;
}

.modal-content {
    /* border: 10px solid #ffdc0e!important; */
    border: 10px ridge #ffdc0e;
}

/* preloader */



.book,
.book__pg-shadow,
.book__pg {
    animation: cover 7s ease-in-out infinite;
}

.book {
    background-color: var(--primary-l);
    border-radius: 0.25em;
    box-shadow:
        0 0.25em 0.5em hsla(0, 0%, 0%, 0.3),
        0 0 0 0.25em var(--primary) inset;
    padding: 0.25em;
    perspective: 37.5em;
    position: relative;
    width: 8em;
    height: 6em;
    transform: translate3d(0, 0, 0);
    transform-style: preserve-3d;
}

.book__pg-shadow,
.book__pg {
    position: absolute;
    left: 0.25em;
    width: calc(50% - 0.25em);
}

.book__pg-shadow {
    animation-name: shadow;
    background-image: linear-gradient(-45deg, hsla(0, 0%, 0%, 0) 50%, hsla(0, 0%, 0%, 0.3) 50%);
    filter: blur(0.25em);
    top: calc(100% - 0.25em);
    height: 3.75em;
    transform: scaleY(0);
    transform-origin: 100% 0%;
}

.book__pg {
    animation-name: pg1;
    background-color: var(--white);
    background-image: linear-gradient(90deg, hsla(var(--hue), 10%, 90%, 0) 87.5%, hsl(var(--hue), 10%, 90%));
    height: calc(100% - 0.5em);
    transform-origin: 100% 50%;
}

.book__pg--2,
.book__pg--3,
.book__pg--4 {
    background-image:
        repeating-linear-gradient(hsl(var(--hue), 10%, 10%) 0 0.125em, hsla(var(--hue), 10%, 10%, 0) 0.125em 0.5em),
        linear-gradient(90deg, hsla(var(--hue), 10%, 90%, 0) 87.5%, hsl(var(--hue), 10%, 90%));
    background-repeat: no-repeat;
    background-position: center;
    background-size: 2.5em 4.125em, 100% 100%;
}

.book__pg--2 {
    animation-name: pg2;
}

.book__pg--3 {
    animation-name: pg3;
}

.book__pg--4 {
    animation-name: pg4;
}

.book__pg--5 {
    animation-name: pg5;
}

/* Dark theme */
@media (prefers-color-scheme: dark) {
    :root {
        --bg: hsl(var(--hue), 10%, 30%);
        --fg: hsl(var(--hue), 10%, 90%);
    }
}

/* Animations */
@keyframes cover {

    from,
    5%,
    45%,
    55%,
    95%,
    to {
        animation-timing-function: ease-out;
        background-color: var(--primary-l);
    }

    10%,
    40%,
    60%,
    90% {
        animation-timing-function: ease-in;
        background-color: var(--primary-d);
    }
}

@keyframes shadow {

    from,
    10.01%,
    20.01%,
    30.01%,
    40.01% {
        animation-timing-function: ease-in;
        transform: translate3d(0, 0, 1px) scaleY(0) rotateY(0);
    }

    5%,
    15%,
    25%,
    35%,
    45%,
    55%,
    65%,
    75%,
    85%,
    95% {
        animation-timing-function: ease-out;
        transform: translate3d(0, 0, 1px) scaleY(0.2) rotateY(90deg);
    }

    10%,
    20%,
    30%,
    40%,
    50%,
    to {
        animation-timing-function: ease-out;
        transform: translate3d(0, 0, 1px) scaleY(0) rotateY(180deg);
    }

    50.01%,
    60.01%,
    70.01%,
    80.01%,
    90.01% {
        animation-timing-function: ease-in;
        transform: translate3d(0, 0, 1px) scaleY(0) rotateY(180deg);
    }

    60%,
    70%,
    80%,
    90%,
    to {
        animation-timing-function: ease-out;
        transform: translate3d(0, 0, 1px) scaleY(0) rotateY(0);
    }
}

@keyframes pg1 {

    from,
    to {
        animation-timing-function: ease-in-out;
        background-color: var(--white);
        transform: translate3d(0, 0, 1px) rotateY(0.4deg);
    }

    10%,
    15% {
        animation-timing-function: ease-out;
        background-color: var(--white);
        transform: translate3d(0, 0, 1px) rotateY(180deg);
    }

    20%,
    80% {
        animation-timing-function: ease-in;
        background-color: var(--white-d);
        transform: translate3d(0, 0, 1px) rotateY(180deg);
    }

    85%,
    90% {
        animation-timing-function: ease-in-out;
        background-color: var(--white);
        transform: translate3d(0, 0, 1px) rotateY(180deg);
    }
}

@keyframes pg2 {

    from,
    to {
        animation-timing-function: ease-in;
        background-color: var(--white-d);
        transform: translate3d(0, 0, 1px) rotateY(0.3deg);
    }

    5%,
    10% {
        animation-timing-function: ease-in-out;
        background-color: var(--white);
        transform: translate3d(0, 0, 1px) rotateY(0.3deg);
    }

    20%,
    25% {
        animation-timing-function: ease-out;
        background-color: var(--white);
        transform: translate3d(0, 0, 1px) rotateY(179.9deg);
    }

    30%,
    70% {
        animation-timing-function: ease-in;
        background-color: var(--white-d);
        transform: translate3d(0, 0, 1px) rotateY(179.9deg);
    }

    75%,
    80% {
        animation-timing-function: ease-in-out;
        background-color: var(--white);
        transform: translate3d(0, 0, 1px) rotateY(179.9deg);
    }

    90%,
    95% {
        animation-timing-function: ease-out;
        background-color: var(--white);
        transform: translate3d(0, 0, 1px) rotateY(0.3deg);
    }
}

@keyframes pg3 {

    from,
    10%,
    90%,
    to {
        animation-timing-function: ease-in;
        background-color: var(--white-d);
        transform: translate3d(0, 0, 1px) rotateY(0.2deg);
    }

    15%,
    20% {
        animation-timing-function: ease-in-out;
        background-color: var(--white);
        transform: translate3d(0, 0, 1px) rotateY(0.2deg);
    }

    30%,
    35% {
        animation-timing-function: ease-out;
        background-color: var(--white);
        transform: translate3d(0, 0, 1px) rotateY(179.8deg);
    }

    40%,
    60% {
        animation-timing-function: ease-in;
        background-color: var(--white-d);
        transform: translate3d(0, 0, 1px) rotateY(179.8deg);
    }

    65%,
    70% {
        animation-timing-function: ease-in-out;
        background-color: var(--white);
        transform: translate3d(0, 0, 1px) rotateY(179.8deg);
    }

    80%,
    85% {
        animation-timing-function: ease-out;
        background-color: var(--white);
        transform: translate3d(0, 0, 1px) rotateY(0.2deg);
    }
}

@keyframes pg4 {

    from,
    20%,
    80%,
    to {
        animation-timing-function: ease-in;
        background-color: var(--white-d);
        transform: translate3d(0, 0, 1px) rotateY(0.1deg);
    }

    25%,
    30% {
        animation-timing-function: ease-in-out;
        background-color: var(--white);
        transform: translate3d(0, 0, 1px) rotateY(0.1deg);
    }

    40%,
    45% {
        animation-timing-function: ease-out;
        background-color: var(--white);
        transform: translate3d(0, 0, 1px) rotateY(179.7deg);
    }

    50% {
        animation-timing-function: ease-in;
        background-color: var(--white-d);
        transform: translate3d(0, 0, 1px) rotateY(179.7deg);
    }

    55%,
    60% {
        animation-timing-function: ease-in-out;
        background-color: var(--white);
        transform: translate3d(0, 0, 1px) rotateY(179.7deg);
    }

    70%,
    75% {
        animation-timing-function: ease-out;
        background-color: var(--white);
        transform: translate3d(0, 0, 1px) rotateY(0.1deg);
    }
}

@keyframes pg5 {

    from,
    30%,
    70%,
    to {
        animation-timing-function: ease-in;
        background-color: var(--white-d);
        transform: translate3d(0, 0, 1px) rotateY(0);
    }

    35%,
    40% {
        animation-timing-function: ease-in-out;
        background-color: var(--white);
        transform: translate3d(0, 0, 1px) rotateY(0deg);
    }

    50% {
        animation-timing-function: ease-in-out;
        background-color: var(--white);
        transform: translate3d(0, 0, 1px) rotateY(179.6deg);
    }

    60%,
    65% {
        animation-timing-function: ease-out;
        background-color: var(--white);
        transform: translate3d(0, 0, 1px) rotateY(0);
    }
}

/* faq */
.faq {
    background-color: var(--primary);
}

.faq ul li i {
    color: var(--secondary);
    margin-right: 5px;
    font-weight: bold;
}


/* .contact,.testimonial,
.faq,.footer {
    height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
} */


/* SEO Audit code  */
.marn-150 {
    margin-top: -150px;
}

.min-hight {
    min-height: 400px;
}

/* course details */

 
.top-section {
    position: relative;
    background-image: url("../image/english.jpg");
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.top-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.top-section .container {
    position: relative;
    z-index: 2;

}

.top-section h2 {
    font-weight: bold;
    color: #fff;
}

.top-section .btn {
    border-radius: 50%;
    /* circular button */
    font-weight: bold;
}

@media (max-width: 768px) {
    .top-section {
        height: 250px;
    }

    .top-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .top-section {
        height: 200px;
    }

    .top-section h2 {
        font-size: 1.2rem;
    }

    .top-section .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* content details */

.course-details .title img {
    object-fit: cover;
}

@media (max-width: 767px) {
    .course-details .col-md-8 {
        justify-content: flex-start;
    }

    .course-details .col-md-4 {
        text-align: left;
    }
}


.color-2 {
  /* width: 395px; */
  height: 60px;
  background-color: #ab0c2f;
  color: #fff;
  border: 3px solid #ac0c30;
  text-transform: uppercase;
  border-radius: 5px;
  font-weight: 700;

}

.color-2:hover {
  text-align: center;
  border-radius: 5px;
  transition: all .4s ease-in-out;
  text-transform: uppercase;
  color: #ac0c30;
  background-color: #ffffff !important;
  padding: 8px 20px;
  font-weight: 700;
  font-size: 16px;
  border: 3px solid #ac0c30;
}

 
.course-details-title {
  color: var(--primary);
  font-size: 22px !important;
  /* margin: 0 0 32px; */
  font-weight: 600;
}
@media (max-width: 767px) {
  .course-details-title {
    font-size: 18px;
  }
  .course-details .title img {
    width: 35px !important;
    height: 35px !important;
  }
}
.course-details-rating {
  display: flex;
  align-items: center;
  font-size: 15px;
  color: var(--primary);
  letter-spacing: 2px;
  margin: 0 0 0 17px;
}

.course-details-review {
  font-size: 15px;
  color: #1e3c72;
  margin-left: 2px;
  letter-spacing: 0;
  font-weight: 800;
}

.details-card-right {
  position: relative;
  background-color: var(--eduact-white);
  border-radius: 14px;
  padding: 25px 30px 30px;
  box-shadow: 0 0 60px 0 rgba(2, 2, 2, .07);
}

.details-card-right .title {
  color: #fff;
  background-color: #004f76;
  padding: 10px;
  font-size: 20px;
  font-weight: 400;
  text-align: center;
  border-radius: 5px;
  margin-bottom: 0;
}

.details-card-right-list {
  padding: 20px 10px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 5px 7px #ddd;
}

.details-card-right-list li {
  display: flex;
  align-items: center;
  text-transform: capitalize;
  border-bottom: 1px dashed #d6d6d6;
  padding: 10px 0;
}

.details-card-right-list li span {
  margin-left: auto;
  color: #000;
}

.details-card-right-list li i {
  color: #ac0c30;
  display: inline-block;
  margin-right: 11px;
}

.details-card-button {
  margin-top: 10px;
  width: 100%;
  text-align: center;
  padding: 10px 32px;
  background-color: #ac0c30;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 500;
  text-transform: capitalize;
  display: inline-block;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 2;
}

.details-card-button:hover {
  background-color: #ac0c30;
  color: #fff;
}

.details-card-button-latest {
  margin-top: 10px;
  width: 100%;
  text-align: center;
  padding: 10px 32px;
  background-color: #004f76;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 500;
  text-transform: capitalize;
  display: inline-block;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 2;
}

.latest-course i {
  color: #ac0c30;
}

.latest-course li {
  color: #fff !important;
  margin-bottom: 5px;
  box-shadow: 0 5px 7px #ad8f8f;
  border-radius: 5px;
  padding: 14px 10px;
  font-size: 15px;
}

.latest-course li a {
  font-weight: 600;
  color: #000;
  text-decoration: none;
}

/* mobile */
@media (max-width: 991px) {
  .dropdown-menu.mega-menu {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
  }
.modal-backdrop{
  opacity: 0 !important;
}
  .top-bar {
    height: 80px;
  }

  .hero {
    padding-top: 40px;
  }

  .carousel-item img {
    height: 250px !important;
  }
}
.modal-content {
  border: 10px solid var(--primary) !important;
}


#courseTab .nav-link {
  background-color: white;
  color: #ab0c2f !important;
  border: 3px solid #1e3c72;
  border-radius: 8px;
  font-weight: 500;
  padding: 10px 25px 10px 25px;
}

/* Active state */
#courseTab .nav-link.active {
  background-color: #1e3c72;
  color: white !important;

}

.modal-content-tab1 h3 {
  color:var(--primary);
  font-weight: 400;
  font-size: 28px;
}

.modal-content-tab1 h4 {
  font-weight: 400;
  font-size: 18px;
  color: #004f76;
  margin-bottom: 10px;
  margin-top: 35px;
}

.modal-content-tab1 p {
  font-weight: 500;
  line-height: 22px;
  letter-spacing: .32px;
  margin: 0 0 19px;
  text-align: justify;
}

.modal-content-tab1 ul li {
  display: block;
  position: relative;
  padding: 0 0 0 32px;
  font-size: 15px;
  line-height: 22px;
  font-weight: 500;
  color: #000;
  margin: 0 0 14px;
  text-align: justify;
}

.accordion-body li i {
  color: var(--primary);
  font-weight: bold !important;
  font-size: 18px;
  margin-right: 5px;
}

.modal-content-tab1 ul li::before {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 20px;
  background-image: url('../image/icon/check-solid.svg');
  background-repeat: no-repeat;
  background-size: contain;
  margin-right: 10px;
  top: 2px;
  background-color:var(--primary);
  border-radius: 50%;
  background-size: 60% 60%;
  background-position: 50%;
  padding: 8px;
}

.modal-content-tab1 h2 {
  font-weight: bold;
  color: #2a254d;
  text-transform: uppercase;
}