:root {
    --theme-colour: #830b34;
    --theme-colour-subtle: #D2093C;
    --theme-colour-darker: #43061b;
    --theme-colour-green: #09DB12;
    --clr-body-heading: #1E1E1E;
}

a:hover {
    color: var(--theme-colour);
}

.bg-brand {
    background: var(--theme-colour);
}

.bg-brand-subtle {
    background: var(--theme-colour-subtle);
}

.bg-brand-dark {
    background: var(--theme-colour-darker);
}

.text-brand {
    color: var(--theme-colour);
}

.text-brand-green {
    color: var(--theme-colour-green);
}

.text-brand-subtle {
    color: var(--theme-colour-subtle);
}

.pt-200 {
    padding-top: 200px;
}

.fix {
    overflow: hidden;
}

/* Header top */
.header-top {
    height: 35px;
}

.header-top-list li:not(:last-child) {
    margin-right: 15px;
    padding-right: 25px;
}

.header-top-list li:not(:last-child)::before {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
    height: 16px;
    content: "";
    z-index: 1;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .header-top-list li:not(:last-child) {
        margin-right: 0;
        padding-right: 10px;
    }
}

/* Header menu */
.header-sticky.sticky {
    position: fixed;
    z-index: 99;
    animation: 300ms ease-in-out 0s normal none 1 running stickySlideDown;
}

@keyframes stickySlideDown {
    0% {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.header-left {
    height: 80px;
}

.main-menu ul .menu-has-child {
    position: relative;
    z-index: 99;
    text-align: start;
}

.main-menu ul li {
    display: inline-block;
    margin-right: 40px;
}

.main-menu ul li:last-child {
    margin-right: 0;
}

.main-menu ul li:is(.menu-has-child)>a::after {
    display: inline-block;
    font-family: "Font Awesome 6 Pro";
    content: "\f107";
    font-size: 12px;
    font-weight: 500;
    margin-left: 5px;
}

.main-menu ul li a {
    font-size: 16px;
    color: #2C2C2C;
    padding: 10px 0;
    font-weight: 500;
    display: block;
}

.main-menu ul li .submenu {
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    width: 240px;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s linear 0s;
    -moz-transition: all 0.3s linear 0s;
    -ms-transition: all 0.3s linear 0s;
    -o-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
    box-shadow: 0 9px 19px rgba(0, 0, 0, 0.1);
}

.main-menu ul li .submenu li {
    display: block;
    margin-right: 0;
    position: relative;
    z-index: 99;
}

.main-menu ul li .submenu li a {
    padding: 10px 25px;
    color: var(--clr-body-heading);
    -webkit-transition: all 0.4s linear 0s;
    -moz-transition: all 0.4s linear 0s;
    -ms-transition: all 0.4s linear 0s;
    -o-transition: all 0.4s linear 0s;
    transition: all 0.4s linear 0s;
}

.main-menu ul li .submenu li .submenu {
    left: 100%;
    top: 0;
}

.main-menu ul li .submenu li:hover>a {
    background-color: var(--theme-colour);
    color: #fff;
}

.main-menu ul li .submenu li:not(:last-child) {
    border-bottom: 1px solid #f2f2f2;
}

.main-menu ul li:hover>.submenu {
    opacity: 1;
    visibility: visible;
}

.main-menu ul li:hover>a {
    color: var(--theme-colour);
}

.header-menu-bar-icon {
    font-size: 25px;
    display: block;
    color: var(--clr-body-heading);
    cursor: pointer;
    -webkit-transition: all 0.3s linear 0s;
    -moz-transition: all 0.3s linear 0s;
    -ms-transition: all 0.3s linear 0s;
    -o-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
}

.header-menu-bar-icon,
.header-menu-bar-icon:hover {
    color: var(--theme-colour);
}

/* Footer */
.footer-social ul li a {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: #0A0A0A;
    background-color: rgba(10, 10, 10, 0.1);
}

.footer-social ul li a:hover {
    background: var(--theme-colour);
    color: #fff;
    border-color: transparent;
}

/* Hero Slider */
.h7_slider-active-nav .swiper-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

/* Post Item */
.post-img img {
    transition: all 0.6s linear 0s;
}

.post-img:hover img {
    transform: scale(1.2);
}


/* Brand Button */
.btn-brand {
    background: var(--theme-colour);
    color: #fff;
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 25px;
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize;
    cursor: pointer;
    margin-bottom: 0;
    text-align: center;
    touch-action: manipulation;
    transition: all 0.3s ease 0s;
    white-space: nowrap;
    border: none;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-brand::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 500px;
    height: 200px;
    background-color: var(--theme-colour-subtle);
    border-color: transparent;
    border-radius: 100px;
    transform: translate(-40px, -80px) scale(0.1);
    opacity: 0;
    z-index: -1;
    -webkit-transition: all 0.5s linear 0s;
    -moz-transition: all 0.5s linear 0s;
    -ms-transition: all 0.5s linear 0s;
    -o-transition: all 0.5s linear 0s;
    transition: all 0.5s linear 0s;
}

.btn-brand:hover {
    color: #fff;
}

.btn-brand:hover::after {
    opacity: 0.5;
    transform-origin: 100px 100px;
    transform: scale(1) translate(-10px, -70px);
}

/* Gallery */
.gallery-item {
    position: relative;
    z-index: 1;
}

.gallery-item:hover .gallery-content {
    opacity: 1;
    visibility: visible;
}

.gallery-content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s linear 0s;
    -moz-transition: all 0.3s linear 0s;
    -ms-transition: all 0.3s linear 0s;
    -o-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
}

.gallery-content::before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    content: "";
    background: rgba(30, 30, 30, 0.6);
    z-index: 1;
}

.gallery-content a {
    width: 90px;
    height: 90px;
    background: #fff;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 20px;
    color: var(--theme-colour);
    z-index: 99;
}

/* Pagination */
.pagination li a {
    width: 45px;
    height: 45px;
    place-items: center;
    display: grid;
    font-size: 14px;
    font-weight: 500;
    color: var(--theme-colour);
}

.pagination li a:hover {
    background-color: var(--theme-colour-subtle);
    color: #fff;
}

/* Blog Detail */
.blog-post-img {
    position: relative;
    margin-bottom: -40px;
    z-index: -1;
}

/* Tuition */

.tuition-title {
    position: relative;
    z-index: 1;
    color: #FFF;
    font-size: 26px;
    font-weight: 700;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 50px;
}

.tuition-title::before {
    position: absolute;
    left: 0;
    bottom: 0;
    content: "";
    width: 100%;
    height: 1px;
    background: var(--theme-colour);
}

.tuition-list {
    border-bottom: 1px solid var(--theme-colour);
}

.tuition-list li {
    color: #FFF;
    font-size: 16px;
    line-height: 22px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    padding-left: 16px;
}

.tuition-list li:last-child {
    margin-bottom: 0;
}

.tuition-list li::before {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    content: "";
    width: 6px;
    height: 6px;
    background: var(--theme-colour-green);
    border-radius: 50%;
}

/* Profile Card */
.profile-item:hover .profile-content {
    box-shadow: 5px 0px 0px 0px var(--theme-colour) inset;
}

.profile-item:hover .profile-img img {
    transform: scale(1.1);
}

.profile-img img {
    transition: all 0.5s linear 0s;
}

.profile-content {
    width: calc(100% - 60px);
    bottom: 30px;
    transition: all 0.5s linear 0s;
}