/* ================================
   GLOBAL FONT & RESET
==================================*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
a,
li,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif !important;
    letter-spacing: .3px;
}

ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

/* ================================
   TOP HEADER BAR
==================================*/
.topheader-section {
    background-color: rgb(11, 35, 90);
    padding: 15px 0;
}

.contact-icons {
    gap: 12px;
}

.contact-icons a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.contact-icons i {
    color: white;
    font-size: 18px;
    margin-right: 6px;
}

/* ================================
   MAIN LOGO + NAVBAR
==================================*/
/* Logo Section */
.logo-section {
    position: sticky;
    top: 0;
    z-index: 10;
    background: white;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

/* Logo Image */
.header-logo {
    width: 240px;
    height: 75px;
}

/* Navbar Links */
.logo-section .navbar-nav .nav-link {
    font-size: 17px;
    font-weight: 600;
    color: black;
    padding: 12px 18px;
    position: relative;
    transition: 0.3s ease-in-out;
}

/* Mega menu full width */
.mega-menu {
    left: 0 !important;
    right: 0 !important;
    padding: 20px 0;
    border-top: 3px solid #0d6efd;
}

/* Dropdown item spacing */
.mega-menu .dropdown-item {
    padding: 8px 0;
    font-weight: 500;
}

/* Hover effect */
.mega-menu .dropdown-item:hover {
    background: transparent;
    color: #0d6efd;
}

.mega-menu i {
    font-size: 30px;
    margin-top: 3px;
}

.mega-menu h4 {
    font-size: 18px;
    line-height: 36px;
    margin-bottom: 0px;
}

.mega-menu p {
    font-size: 14px;
    line-height: 22px;
}

.mega-menu h4:hover {
    color: orangered;
}

.mega-menu a {
    text-decoration: none;
    color: rgb(11, 35, 90);
}

/* Dropdown Arrow Style */
.training-arrow {
    font-size: 12px;
    transition: 0.3s;
}

/* Rotate arrow when dropdown opens */
.nav-item.dropdown.show .training-arrow {
    transform: rotate(180deg);
}

/* Join Button */
.logo-section .join-button {
    background: rgb(11, 35, 90);
    color: white !important;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 8px;
    transition: 0.3s;
    border: 2px solid transparent;
}

.logo-section .join-button:hover {
    background: white !important;
    color: rgb(11, 35, 90) !important;
    border-color: rgb(11, 35, 90);
}

/* Dropdown Menu Box */
.logo-section .dropdown-menu {
    border-radius: 10px;
    padding: 8px 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

/* Dropdown Items */
.logo-section .dropdown-menu .dropdown-item {
    font-size: 18px;
    font-weight: 500;
    padding: 10px 18px;
    color: #000;
    transition: 0.3s;
    border-radius: 6px;
}

/* Hover Effect */
.logo-section .dropdown-menu .dropdown-item:hover {
    background: rgb(11, 35, 90);
    color: #fff;
}

/* Active (When Clicking) */
.logo-section .dropdown-menu .dropdown-item:active {
    background: rgb(11, 35, 90);
    color: #fff;
}


/* ================================
   OFFCANVAS MOBILE MENU
==================================*/
.offcanvas-start {
    width: 270px !important;
}

.offcanvas .nav-link {
    color: #000;
    padding: 12px 10px;
    font-weight: 600;
    font-size: 18px;
    border-bottom: 1px solid #ddd;
}

.offcanvas .nav-link:hover {
    color: rgb(11, 35, 90);
}

/* ================================
   ANNOUNCEMENT SECTION
==================================*/
.header-bottom-section {
    background: linear-gradient(45deg, white 25%, rgb(11, 35, 90) 25%);
    padding: 10px 0;
    border-top: 4px solid rgb(11, 35, 90);
    border-bottom: 4px solid rgb(11, 35, 90);
}

.header-bottom-section .announcement {
    display: flex;
    gap: 60px;
}

.header-bottom-section p {
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 700;
    color: rgb(11, 35, 90);
}

.header-bottom-section marquee {
    color: white;
    font-weight: 600;
    font-size: 18px;
}

/* ===== Trainer Icon Nav Item ===== */
.logo-section .navbar .nav-item:last-child .nav-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #0b235a;
    /* light background */
    color: white;
    /* icon color */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
}

/* Icon size */
.logo-section .navbar .nav-item:last-child .nav-link i {
    font-size: 18px;
}

/* Hover effect */
.logo-section.navbar .nav-item:last-child .nav-link:hover {
    background: #0b235a;
    color: #ffffff;
    transform: scale(1.05);
}

/* Remove dropdown arrow */
.logo-section .navbar .nav-item:last-child .dropdown-toggle::after {
    display: none;
}

/* Dropdown menu alignment & style */
.logo-section .navbar .nav-item:last-child .dropdown-menu {
    min-width: 230px;
    border-radius: 12px;
    padding: 10px 0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Join button inside dropdown */
.logo-section .navbar .nav-item:last-child .join-button {
    border-radius: 8px;
    padding: 10px 14px;
    font-weight: 600;
    transition: 0.3s ease;
}

/* Join button hover */
.logo-section .navbar .nav-item:last-child .join-button:hover {
    background: #0b235a;
    color: #ffffff;
}


/* ================================
   RESPONSIVE DESIGN
==================================*/

@media screen and (max-width: 1399px) {
    .logo-section .navbar-nav .nav-link {
        font-size: 16px;
        padding: 12px 10px;
    }

    .header-logo {
        width: 210px;
        height: 65px;
    }

    .header-bottom-section p,
    .header-bottom-section marquee {
        font-size: 16px;
    }
}

@media screen and (max-width: 1199px) {
    .logo-section .navbar-nav .nav-link {
        font-size: 15px;
        padding: 7px 3px;
    }

    .topheader-section {
        padding: 12px 0;
    }

}

@media screen and (max-width: 992px) {
    .header-bottom-section {
        background: linear-gradient(45deg, white 35%, rgb(11, 35, 90) 35%);
        padding: 8px 0px;
    }

    .topheader-section {
        padding: 10px 0;
    }
}

@media screen and (max-width: 767px) {
    .header-bottom-section {
        background: linear-gradient(45deg, white 45%, rgb(11, 35, 90) 25%);
    }

    .header-bottom-section .announcement {
        gap: 25px;
    }
}

@media screen and (max-width: 575px) {
    .header-logo {
        width: 180px;
        height: 60px;
    }

    .header-bottom-section p,
    .header-bottom-section marquee {
        font-size: 14px;
    }
}