/* =========================================
   Header
========================================= */

.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;

    background: #fff;
    border-bottom: 1px solid #e5e9ef;

    transition: all 0.3s ease;
}

/* Optional: shadow when sticky */
.site-header.scrolled {
    box-shadow: 0 8px 25px rgba(17, 24, 39, 0.08);
}

.site-header .navbar {
    min-height: 83px;
    padding: 0;
}

.header-container {
    position: relative;
    min-height: 83px;
}


/* =========================================
   Logo
========================================= */

.site-logo {
    position: absolute;
    left: 0;
    top: 0;
    width: 230px;
    height: 85px;
    background: #fff;
    display: flex;
    align-items: center;
    padding: 0 12px;
    z-index: 2;
    margin: 0;
}

.site-logo img {
    width: 205px;
    height: auto;
    display: block;
}


/* =========================================
   Navigation
========================================= */

.site-header .navbar-nav {
    height: 83px;
    gap: 4px;
}

.site-header .nav-link {
    color: #303744;
    font-size: 15px;
    font-weight: 600;
    padding: 8px 10px !important;
    transition: color 0.2s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: #1260e8;
}


/* =========================================
   Register Button
========================================= */

.nav-register {
    margin-left: 8px;
}

.btn-register {
    background: #1461e8;
    border: 1px solid #1461e8;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    padding: 13px 19px;
    border-radius: 10px;
    line-height: 1.2;
    transition: all 0.2s ease;
}

.btn-register:hover {
    background: #0d50c9;
    border-color: #0d50c9;
    color: #fff;
}


/* =========================================
   Mobile Toggle
========================================= */

.navbar-toggler {
    border: 0;
    padding: 8px;
    font-size: 24px;
    color: #303744;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    box-shadow: none;
}


/* =========================================
   Tablet
========================================= */

@media (max-width: 1199.98px) {

    .site-logo {
        width: 210px;
    }

    .site-logo img {
        width: 190px;
    }

    .site-header .nav-link {
        font-size: 14px;
        padding-left: 7px !important;
        padding-right: 7px !important;
    }

    .btn-register {
        padding: 12px 15px;
    }

}


/* =========================================
   Mobile
========================================= */

@media (max-width: 991.98px) {

    .site-header .navbar {
        min-height: 75px;
    }

    .header-container {
        min-height: 75px;
    }

    .site-logo {
        position: relative;
        width: auto;
        height: 74px;
        padding: 0;
    }

    .site-logo img {
        width: 190px;
    }

    .navbar-toggler {
        margin-left: auto;
    }

    .site-header .navbar-collapse {
        background: #fff;
        border-top: 1px solid #e5e9ef;
        margin-left: -12px;
        margin-right: -12px;
        padding: 10px 15px 15px;
    }

    .site-header .navbar-nav {
        height: auto;
        align-items: stretch !important;
        gap: 0;
    }

    .site-header .nav-item {
        border-bottom: 1px solid #f0f1f3;
    }

    .site-header .nav-link {
        display: block;
        padding: 12px 5px !important;
        font-size: 15px;
    }

    .nav-register {
        margin-left: 0;
        border-bottom: 0 !important;
        padding-top: 10px;
    }

    .btn-register {
        display: inline-block;
    }
}


/* =========================================
   Small Mobile
========================================= */

@media (max-width: 575.98px) {

    .site-logo img {
        width: 165px;
    }

    .site-logo {
        height: 70px;
    }

    .site-header .navbar {
        min-height: 70px;
    }

    .header-container {
        min-height: 70px;
    }

}

.trainers-header-register-menu {
    min-width: 230px;
    padding: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.trainers-header-register-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 7px;
    color: #172033;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.trainers-header-register-option i {
    width: 18px;
    color: #1764e8;
    text-align: center;
}

.trainers-header-register-option:hover {
    background: #f0f6ff;
    color: #1764e8;
}

.trainers-header-register-option:hover i {
    color: #1764e8;
}