.navbar .navbar-nav .nav-item .nav-link {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.navbar .navbar-nav .nav-item .nav-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background-color: #0a2d60;
    z-index: -1;
    transition: height 0.35s ease;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.navbar .navbar-nav .nav-item .nav-link:hover::before,
.navbar .navbar-nav .nav-item .nav-link.active::before {
    height: 100%;
}

.navbar .navbar-nav .nav-item .nav-link:hover,
.navbar .navbar-nav .nav-item .nav-link.active {
    font-weight: 700;
    color: #fff !important;
}

/* login button hover  */
.gradient-button a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a2d60;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;   
    overflow: hidden;     
    z-index: 1;

    transition: color 0.3s ease;
}

/* single hover overlay */
.gradient-button a::before {
    content: "";
    position: absolute;
    inset: 0;

    background: #ffffff;
    transform: scaleX(0);
    transform-origin: center;

    transition: transform 0.35s ease;
    z-index: -1;
}

/* hover */
.gradient-button a:hover::before {
    transform: scaleX(1);
}

.gradient-button a:hover {
    color: #212529;
}
.gradient-button a:hover img {
    filter: brightness(0);
}
/* Default State */
.BG-event .gradient-button a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;      /* White background */
    color: #0a2d60;           /* Blue text */
    text-decoration: none;
    border-radius: 6px;
    overflow: hidden;
    z-index: 1;

    transition: color 0.3s ease;
}

/* Hover Overlay */
.BG-event .gradient-button a::before {
    content: "";
    position: absolute;
    inset: 0;

    background: #0a2d60;      /* Blue overlay */
    transform: scaleX(0);
    transform-origin: center;

    transition: transform 0.35s ease;
    z-index: -1;
}

/* Hover Animation */
.BG-event .gradient-button a:hover::before {
    transform: scaleX(1);
}

/* Text color change on hover */
.BG-event .gradient-button a:hover {
    color: #ffffff;
}

/* Optional: Image color invert */
.BG-event .gradient-button a:hover img {
    filter: brightness(0) invert(1);
}



/* model cross icons */
/* base close button */
.custom-close {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;

    color: #fff;
    font-size: 22px;
    font-weight: 600;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

/* hover effect */
.custom-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* remove focus ring completely */
.custom-close:focus,
.custom-close:active {
    box-shadow: none !important;
    outline: none !important;
}

/* OUTER WRAPPER (BORDER) */
.submit-btn-wrap {
    padding: 2px;                  /* space for border */
    border-radius: 12px;
    background: #0a2d60;
    display: inline-block;
}

/* BUTTON */
.submit-btn {
    position: relative;
    background: #0a2d60;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;

    padding: 10px 70px;            /* 🔥 SAME padding as you asked */
    border: none;
    border-radius: 10px;           /* 12 - 2 = 10 */

    cursor: pointer;
    overflow: hidden;
    z-index: 1;

    transition: color 0.3s ease;
}

/* SINGLE HOVER LAYER (NO CUT ISSUE) */
.submit-btn::before {
    content: "";
    position: absolute;
    inset: 0;

    background: #ffffff;
    transform: scaleX(0);
    transform-origin: center;

    transition: transform 0.35s ease;
    border-radius: 10px;
    z-index: -1;
}

/* HOVER EFFECT */
.submit-btn:hover::before {
    transform: scaleX(1);
}

.submit-btn:hover {
    color: #0a2d60;
}

#closeLoginModal {
    transition: transform 0.5s ease;
    transform-origin: center;
}

#closeLoginModal:hover {
    transform: rotate(360deg) translateX(6px);
}
#closeRegisterModal {
    transition: transform 0.5s ease;
    transform-origin: center;
}

#closeRegisterModal:hover {
    transform: rotate(360deg) translateX(6px);
}

/* Mobile sidebar arrow animation */
.sidebar-arrow {
    transition: transform 0.3s ease;
}

/* When sidebar is OPEN */
.sidebar-toggle-btn[aria-expanded="true"] .sidebar-arrow {
    transform: rotate(180deg);
}

/* When sidebar is CLOSED */
.sidebar-toggle-btn[aria-expanded="false"] .sidebar-arrow {
    transform: rotate(0deg);
}


/* disabled wrapper */
.gradient-button.btn-disabled {
    opacity: 0.5;
    pointer-events: none;   /* fully blocked */
}

/* disabled link */
.gradient-button .disabled-link {
    cursor: not-allowed;
}

/* stop hover animation when disabled */
.gradient-button.btn-disabled a::before {
    display: none;
}

.gradient-button-inactive {
  background-color: white !important;
  color: #0a2d60 !important;
  font-weight: 400 !important;
}
.scorm-container {
    background: #000;      /* match player bg */
    padding: 0;
}

.scorm-container iframe {
    width: 100%;
    height: 70vh;          /* responsive height */
    min-height: 500px;
    border: none;
    display: block;
}
/* arrow btn code  */
/* ================= DOWN ARROW ================= */

/* ================= COMMON ARROW STYLE ================= */
.home-banner,
.event-section {
    position: relative;
}

.scroll-down-btn,
.scroll-up-btn {
    position: absolute;
    width: 45px;
    height: 75px;
    background: #ffffff;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    border: 1px solid #0a2d60;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

/* Icon style */
.scroll-down-btn i,
.scroll-up-btn i {
    color: #0a2d60 !important;
    font-size: 18px;
    font-weight: bold;
}

/* ================= DOWN ARROW (Banner) ================= */

.scroll-down-btn {
    right: 30px;
    bottom: -35px;   /* slightly outside banner */
}

.scroll-down-btn:hover {
    transform: translateY(5px);
}

/* ================= UP ARROW (Event Section) ================= */

.scroll-up-btn {
    right: 30px;
    top: -35px;      /* slightly above event section */
}

.scroll-up-btn:hover {
    transform: translateY(-5px);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
    .scroll-down-btn,
    .scroll-up-btn {
        width: 40px;
        height: 65px;
        right: 20px;
    }
}

@media (max-width: 768px) {
    .scroll-down-btn,
    .scroll-up-btn {
        width: 38px;
        height: 60px;
        right: 15px;
    }

    .scroll-down-btn i,
    .scroll-up-btn i {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .scroll-down-btn,
    .scroll-up-btn {
        width: 35px;
        height: 55px;
        right: 12px;
    }

    .scroll-down-btn {
        bottom: -28px;
    }

    .scroll-up-btn {
        top: -28px;
    }
}
.scroll-down-btn {
    right: 30px;
    bottom: 20px;   /* instead of -35px */
}


