@charset "utf-8";

* {
    margin: 0;
    box-sizing: border-box;
    padding: 0;
}

:root {
    --header-height: 65px;
}

body {
    overflow-x: hidden;
    width: 100%;
    min-width: 320px;
    margin: 0 auto;
}

section {
    position: relative;
}

.container {
    max-width: 1280px;
    padding-right: 4.5rem;
    padding-left: 4.5rem;
}

/* HEADER  HEADER  HEADER  HEADER  HEADER  HEADER  HEADER  HEADER  HEADER  HEADER  HEADER  HEADER HEADER HEADER HEADER  */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-width: 320px;
    height: var(--header-height);
    background: #0000004d;
    z-index: 99;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

header .logo {
    display: flex;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    justify-content: center;
    align-items: center;
    display: table-cell;
}

.gnb {
    position: absolute;
    top: 0;
    left: 3.66rem;
    height: 100%;
    z-index: 100000 !important;
}

.btn-gnb {
    position: relative;
    width: 50px;
    height: 100%;
    background-size: 100% auto;
    z-index: 100000 !important;
}

.btn-gnb {
    background: url("/assets/images/btn-gnb.png") no-repeat center;
}

.gnb.active .btn-gnb {
    position: fixed;
    top: 0;
    left: 40px;
    width: 80px;
    height: 100%;
    background: url("/assets/images/btn-gnb_activee.png") no-repeat;
    z-index: 100000 !important;
}

.close-nav {
    position: absolute;
    top: 28px !important;
    left: 4.5rem !important;
}

.no-scroll {
    overflow: hidden;
    height: 100vh;
}

nav.nav-overlay {
    z-index: 9999 !important;
}

nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(22, 22, 22, 0.95) !important;
    font-size: 16px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(-10px);
}

nav ul {
    width: 400px;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 50px;
}

.main_nav li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.main_nav li a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 55px;
    width: 100%;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s;
    font-weight: 400;
}

.main_nav li a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Stagger the animation for each menu item */
.gnb.active .main_nav li:nth-child(1) {
    transition-delay: 0.1s;
}
.gnb.active .main_nav li:nth-child(2) {
    transition-delay: 0.2s;
}
.gnb.active .main_nav li:nth-child(3) {
    transition-delay: 0.3s;
}
.gnb.active .main_nav li:nth-child(4) {
    transition-delay: 0.4s;
}

.gnb.active .main_nav li:nth-child(5) {
    transition-delay: 0.4s;
}

.gnb.active .main_nav li:nth-child(6) {
    transition-delay: 0.4s;
}

.gnb.active .main_nav li:nth-child(7) {
    transition-delay: 0.4s;
}

.gnb.active .main_nav li:nth-child(8) {
    transition-delay: 0.4s;
}

/* USER ICON FOR DASHBOARD  */
.active-dashboard {
    position: absolute;
    top: 0;
    right: 4.3rem;
    height: 100%;
    z-index: 100000 !important;
}

/* Banner  */

.bh .item {
    background: no-repeat center;
    background-size: cover;
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Slide Items */
.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: margin-left 0.5s ease-in-out;
    margin-left: 100%;
}

.slide-item:first-child {
    margin-left: 0%;
    /* First slide starts visible */
}

.bh .slide-wrapper .slide-item:nth-child(1) {
    background-color: #f1ebe6 !important;
}

.bh .slide-wrapper .slide-item:nth-child(2) {
    background-color: #ff7828;
}

.bh .slide-wrapper .slide-item:nth-child(3) {
    background-color: #dcd2fc;
}

.bh .slide-wrapper .slide-item:nth-child(4) {
    background-color: #e66e9b;
}

.slide-item img {
    width: 41%;
    /* height: 520px; */
    object-fit: cover;
}

/* Navigation Buttons */
.bh .slide-obj {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.bh .slide-obj .btn-prev,
.bh .slide-obj .btn-next {
    position: absolute;
    top: 50%;
    width: 90px;
    height: 90px;
    margin-top: -45px;
    cursor: pointer;
    display: block;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.bh .slide-obj .btn-prev {
    left: 20px;
}

.bh .slide-obj .btn-next {
    right: 20px;
}

.bh .slide-obj .btn-prev:disabled,
.bh .slide-obj .btn-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: scale(1);
}

.bh .slide-obj .arrow {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.bh .slide-obj .arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border-top: 3px solid white;
    border-right: 3px solid white;
    transform: translate(-50%, -50%);
}

.bh .slide-obj .btn-prev .arrow::before {
    transform: translate(-30%, -50%) rotate(-135deg);
}

.bh .slide-obj .btn-next .arrow::before {
    transform: translate(-70%, -50%) rotate(45deg);
}

/* Pagination */
.slide-pagination {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    pointer-events: auto;
    z-index: 22;
}

.pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dot.active {
    background: white;
    transform: scale(1.1);
}
