/********** Template CSS **********/
:root {
    --primary: #5B1F6F;
    --yellow: #F6A313;
    --light: #FFFFFF;
    --dark: #5B1F6F;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
p,
a,
span,
li,
input,
button,
select,
textarea,
.btn,
.navbar-nav {
    font-family: 'Montserrat', sans-serif;
}

.fa,
.fas,
.far,
.fal,
.fad {
    font-family: "Font Awesome 5 Free" !important;
}

.fa,
.fas {
    font-weight: 900 !important;
}

.fab {
    font-family: "Font Awesome 5 Brands" !important;
    font-weight: 400 !important;
}

[class^="bi-"],
[class*=" bi-"] {
    font-family: "bootstrap-icons" !important;
}

body {
    color: #5B1F6F;
    background-color: #FFFFFF;
}

img {
    border-radius: 8px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    color: #5B1F6F;
}

.text-primary {
    color: #5B1F6F !important;
}

.text-secondary,
.text-warning {
    color: #FD9C2B !important;
}

.bg-primary {
    background-color: #5B1F6F !important;
}

.bg-dark {
    background-color: #5B1F6F !important;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    background-color: #FD9C2B;
    border-color: #FD9C2B;
    color: #5B1F6F;
    border-radius: 50% !important;
}

.back-to-top:hover {
    background-color: #5B1F6F;
    border-color: #5B1F6F;
    color: #FFFFFF;
}

/*** 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;
}

/*** Button ***/
.btn {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary {
    background-color: #5B1F6F;
    border-color: #5B1F6F;
    color: #FFFFFF;
}

.btn.btn-primary:hover {
    background-color: #FD9C2B;
    border-color: #FD9C2B;
    color: #5B1F6F;
}

.btn.btn-secondary {
    background-color: #FD9C2B;
    border-color: #FD9C2B;
    color: #5B1F6F;
}

.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: 0px;
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #5B1F6F;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 700 !important;
    outline: none;
}

.dropdown-item {
    font-weight: 700 !important;
    color: #5B1F6F;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: #5B1F6F !important;
}

.dropdown-item:active,
.dropdown-item.active {
    color: #FD9C2B !important;
    background-color: transparent !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .show>.nav-link {
    color: #5B1F6F !important;
}

.navbar-light .navbar-nav .nav-link:active,
.navbar-light .navbar-nav .nav-link.active {
    color: #FD9C2B !important;
}

@media (max-width: 1399.98px) {

    .navbar.navbar-expand-lg>.container,
    .navbar.navbar-expand-lg>.container-fluid,
    .navbar.navbar-expand-xxl>.container,
    .navbar.navbar-expand-xxl>.container-fluid {
        flex-wrap: wrap;
    }

    .navbar.navbar-expand-lg .navbar-collapse,
    .navbar.navbar-expand-xxl .navbar-collapse {
        display: none !important;
        flex-basis: 100%;
        flex-grow: 1;
    }

    .navbar.navbar-expand-lg .navbar-collapse.show,
    .navbar.navbar-expand-xxl .navbar-collapse.show {
        display: block !important;
    }

    .navbar.navbar-expand-lg .navbar-toggler,
    .navbar.navbar-expand-xxl .navbar-toggler {
        display: block !important;
    }

    .navbar.navbar-expand-lg .navbar-nav,
    .navbar.navbar-expand-xxl .navbar-nav {
        flex-direction: column;
        border-top: 1px solid #EEEEEE;
    }

    .navbar.navbar-expand-lg .navbar-nav .nav-link,
    .navbar.navbar-expand-xxl .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar.navbar-expand-lg a.btn,
    .navbar.navbar-expand-xxl a.btn {
        display: none !important;
    }

    .dropdown-submenu>.dropdown-menu {
        position: static;
        float: none;
        display: block;
        padding-left: 20px;
        border: none;
        background-color: transparent;
        box-shadow: none;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: #5B1F6F;
    font-weight: 500;
}

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

@media (min-width: 1400px) {
    .dropdown-submenu {
        position: relative;
    }

    .navbar .nav-item>.dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .dropdown-menu.fade-down {
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
    }

    .navbar .nav-item:hover>.dropdown-menu {
        top: 100%;
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }

    .dropdown-submenu>.dropdown-menu {
        position: absolute;
        top: 0 !important;
        left: 100%;
        margin-top: -0.5rem;
        display: none;
        border: none !important;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
        background-color: #FFFFFF;
        min-width: 200px;
        transform: none !important;
        opacity: 0;
        visibility: hidden;
        transition: none;
    }

    .dropdown-submenu:hover>.dropdown-menu,
    .dropdown-submenu>.dropdown-menu.show {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        top: 0 !important;
    }
}

/*** Hero Banner ***/
.hero-header {
    position: relative;
    width: 100%;
    min-height: 560px;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    overflow: hidden;
}

.hero-header .hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 4.8rem 0 3.8rem;
}

.hero-container {
    width: 100%;
    padding-left: clamp(1.5rem, 9.6vw, 9.6%);
    padding-right: clamp(1.5rem, 4vw, 4rem);
}

.hero-title {
    font-size: clamp(2.8rem, 3.8vw, 3.8rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
}

.hero-title-primary {
    color: var(--primary, #5B1F6F);
}

.hero-title-accent {
    color: var(--yellow, #FD9C2B);
}

.hero-accent-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 22px;
}

.hero-accent-line .line-purple {
    width: 72px;
    height: 5px;
    background-color: var(--primary, #5B1F6F);
    border-radius: 3px;
}

.hero-accent-line .line-gold {
    width: 50px;
    height: 5px;
    background-color: var(--yellow, #FD9C2B);
    border-radius: 3px;
}

.hero-desc {
    color: #4A4A4A;
    font-size: clamp(0.95rem, 1.05vw, 1.1rem);
    line-height: 1.55;
    max-width: 660px;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero-desc-line {
    display: block;
    white-space: nowrap;
}

.btn-hero {
    background-color: var(--primary, #5B1F6F);
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 28px;
    border-radius: 6px;
    border: none;
    box-shadow: 0 4px 14px rgba(91, 31, 111, 0.28);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-hero:hover,
.btn-hero:focus {
    background-color: #451455;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 31, 111, 0.38);
}

.hero-action {
    margin-bottom: clamp(2.6rem, 3.6vw, 3.5rem);
}

.hero-stats {
    gap: 1rem 2.5rem;
    max-width: 600px;
}

.hero-stat-item {
    display: flex;
    align-items: center;
}

.hero-stat-icon {
    font-size: 2rem;
    color: var(--primary, #5B1F6F);
    line-height: 1;
}

.hero-stat-number {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary, #5B1F6F);
    line-height: 1.1;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: #555555;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 1399.98px) {
    .hero-header {
        min-height: auto;
    }

    .hero-header .hero-bg-img {
        object-position: 75% center;
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.93) 65%, rgba(255, 255, 255, 0.45) 100%);
        padding: 3rem 0;
    }

    .hero-container {
        padding-left: clamp(1.5rem, 5vw, 3rem);
        padding-right: clamp(1.5rem, 4vw, 3rem);
    }

    .hero-title {
        font-size: clamp(2.4rem, 4.5vw, 3.2rem);
    }

    .hero-desc {
        max-width: 100%;
        font-size: 1.05rem;
    }

    .hero-stats {
        gap: 1.25rem 2.2rem;
    }
}

@media (max-width: 575.98px) {
    .hero-container {
        padding-left: clamp(0.75rem, 3.5vw, 1.25rem);
        padding-right: clamp(0.75rem, 3.5vw, 1.25rem);
    }

    .hero-overlay {
        background: rgba(255, 255, 255, 0.96);
        padding: 2rem 0;
    }

    .hero-title {
        font-size: clamp(2rem, 7.5vw, 2.6rem);
    }

    .hero-desc {
        font-size: clamp(0.68rem, 2.95vw, 0.92rem);
        line-height: 1.45;
        margin-bottom: 1.5rem;
    }

    .hero-action {
        margin-bottom: 2rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .hero-stat-item {
        margin-right: 0 !important;
        min-width: 130px;
    }
}

/*** Header carousel ***/
@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-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;
    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(91, 31, 111, .75), rgba(91, 31, 111, .75)), url(../img/wing.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(91, 31, 111, .7);
}

.breadcrumb-item a {
    color: #FD9C2B;
}

.breadcrumb-item.active {
    color: #FFFFFF;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #FFFFFF;
    content: "|";
}

/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    font-size: clamp(1.2rem, 1.45vw, 1.35rem);
    font-weight: 700;
    margin-bottom: 1.25rem !important;
    /* One space between main heading and content / sub heading */
}

.sub-heading,
.subheading {
    font-weight: 700 !important;
    color: #5B1F6F;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.25rem !important;
    /* One space */
}

.section-title.text-start {
    padding-right: 80px !important;
}

.section-title.text-start::before {
    display: none !important;
}

.section-title.text-start::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 68px;
    height: 18px;
    background: url("../img/section-title-lines.svg") no-repeat center right;
    background-size: contain;
    z-index: 1;
}

.section-title.text-center {
    padding-left: 80px !important;
    padding-right: 80px !important;
}

.section-title.text-center::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
    width: 68px;
    height: 18px;
    background: url("../img/section-title-lines.svg") no-repeat center right;
    background-size: contain;
    z-index: 1;
}

.section-title.text-center::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 68px;
    height: 18px;
    background: url("../img/section-title-lines.svg") no-repeat center right;
    background-size: contain;
    z-index: 1;
}

@media (max-width: 575.98px) {
    .section-title {
        font-size: 1.15rem;
    }

    .section-title.text-start {
        padding-right: 58px !important;
    }

    .section-title.text-start::after {
        width: 48px;
        height: 14px;
    }

    .section-title.text-center {
        padding-left: 52px !important;
        padding-right: 52px !important;
    }

    .section-title.text-center::before,
    .section-title.text-center::after {
        width: 44px;
        height: 14px;
    }
}

/*** Service ***/
.service-item {
    background: #EFEDF0;
    transition: .5s;
}

.service-item i {
    color: #FD9C2B !important;
}

.service-item:hover {
    margin-top: -10px;
    background: var(--primary);
}

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

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

/*** Categories & Courses ***/
.category img,
.course-item img {
    transition: .5s;
}

.category a:hover img,
.course-item:hover img {
    transform: scale(1.1);
}

.category small {
    color: #FD9C2B !important;
}

/*** Team ***/
.team-item img {
    transition: .5s;
}

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

/*** Airplane Bullet Icons & List Alignment ***/
.row.gy-2.gx-4 p.mb-0,
p:has(> .fa-arrow-right.text-primary),
p:has(> .bullet-airplane),
.bullet-item {
    position: relative;
    padding-left: 28px;
    margin-bottom: 0;
    line-height: 1.6;
}

.row.gy-2.gx-4 p.mb-0 span[style*="padding-left"] {
    padding-left: 0 !important;
}

.fa-arrow-right.text-primary,
.fa-check.text-primary,
.bullet-airplane {
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    background: url('../img/airplane-bullet-gold.svg') no-repeat center center;
    background-size: contain;
    margin-right: 0 !important;
    color: transparent !important;
    display: inline-block;
    flex-shrink: 0;
}

.fa-arrow-right.text-primary::before,
.fa-check.text-primary::before,
.bullet-airplane::before {
    content: "" !important;
    display: none !important;
}

/*** Footer ***/
.footer {
    background-color: #5B1F6F !important;
    color: #FFFFFF;
}

.footer img {
    border-radius: 0;
}

.footer h3,
.footer h4,
.footer .h4 {
    color: #FD9C2B;
}

.footer p,
.footer span {
    color: #FFFFFF;
}

.footer a {
    color: #FFFFFF;
}

.footer a:hover {
    color: #FD9C2B;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FD9C2B;
    font-weight: normal;
    border: 1px solid #FD9C2B;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: #5B1F6F;
    background-color: #FD9C2B;
}

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

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105\f105";
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900;
    margin-right: 10px;
    color: #FD9C2B;
    letter-spacing: .75px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
    color: #FD9C2B;
}

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

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

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

.footer .footer-menu a:hover {
    color: #FD9C2B;
}

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

/* Category Card Enhancements */
.category-card {
    display: block;
    border-radius: 8px; /* Or use Bootstrap rounded-3 */
}

.category-card img {
    transition: transform 0.6s ease;
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(to bottom, transparent 0%, rgba(91, 31, 111, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    transition: all 0.3s ease;
    height: 50%;
    z-index: 1;
}

.category-card:hover .category-overlay {
    padding-bottom: 30px; /* Slight lift effect */
    background: linear-gradient(to bottom, transparent 0%, rgba(91, 31, 111, 0.95) 100%);
}

.category-overlay h5 {
    position: relative;
    font-size: 1.25rem;
    font-weight: 700;
}

/* Add a gold underline effect on hover */
.category-overlay h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 3px;
    background-color: var(--yellow, #FD9C2B);
    transition: width 0.3s ease;
}

.category-card:hover .category-overlay h5::after {
    width: 40px; /* Expands on hover */
}