/* ==========================================================================
   HEADER / NAVBAR STYLES (Bootstrap 5 Integration)
   ========================================================================== */
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #050d1a;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.5;
}

.home-header {
    width: 100%;
    background-color: rgb(255, 252, 5);
    background: rgb(255, 252, 5) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 100;
}

.home-navbar {
    min-height: 76px;
    padding: 10px 0;
    background-color: rgb(255, 252, 5) !important;
    background: rgb(255, 252, 5) !important;
}

/* Logo Area / Placeholder */
.home-logo {
    display: flex;
    align-items: center;
}

.home-logo-link {
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.home-logo-placeholder {
    width: 180px;
    height: 52px;
    border: 2px dashed rgba(34, 34, 34, 0.4);
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: all 0.2s ease;
    overflow: hidden;
}

.home-logo-placeholder:hover {
    background-color: rgba(255, 255, 255, 0.55);
    border-color: #1a1a1a;
}

.home-logo-placeholder:has(img) {
    border: none;
    background-color: transparent;
    padding: 0;
}

.home-logo-placeholder img,
.home-logo-link img,
.home-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Nav Links */
.home-nav-links {
    gap: 24px;
}

.home-nav-item .nav-link {
    color: #1a1a1a !important;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 6px 4px !important;
    position: relative;
    transition: color 0.2s ease;
}

.home-nav-item .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2.5px;
    background-color: #1a1a1a;
    transition: width 0.25s ease;
    border-radius: 2px;
}

.home-nav-item .nav-link:hover::after,
.home-nav-item .nav-link.active::after {
    width: 100%;
}

.home-nav-item .nav-link:hover {
    color: #000000 !important;
}

/* Social Media Icons (Small, simple, colorful brand icons on yellow background) */
.home-social-links {
    gap: 16px;
}

.home-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 15px;
    line-height: 1;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0;
    width: auto;
    height: auto;
    box-shadow: none !important;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Facebook: Blue */
.home-social-icon.facebook,
.home-social-icon .fa-facebook-f,
.home-social-icon .fa-facebook {
    color: #1877F2;
}

/* Twitter / X: Dark/Black */
.home-social-icon.twitter,
.home-social-icon .fa-x-twitter,
.home-social-icon .fa-twitter {
    color: #000000;
}

/* Instagram: Instagram Brand Gradient / Pink-Purple */
.home-social-icon.instagram,
.home-social-icon .fa-instagram {
    color: #E4405F;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* YouTube: Red */
.home-social-icon.youtube,
.home-social-icon .fa-youtube {
    color: #FF0000;
}

/* Subtle Hover Effect */
.home-social-icon:hover {
    transform: scale(1.18);
    opacity: 0.85;
}

/* Mobile Hamburger Toggle */
.home-menu-toggle {
    color: #1a1a1a;
    padding: 4px 8px;
    background: transparent;
}

.home-menu-toggle:focus {
    box-shadow: none;
    outline: none;
}

/* ==========================================================================
   MOBILE FULL-SCREEN OFF-CANVAS MENU DRAWER (Slide in from Right)
   ========================================================================== */

/* Body Lock State when Mobile Menu is Open */
body.menu-open {
    overflow: hidden !important;
    height: 100vh !important;
    touch-action: none;
}

/* Hidden by default on Desktop */
.mobile-menu-drawer {
    display: none;
}

@media (max-width: 991.98px) {
    .home-navbar {
        min-height: 70px;
    }

    .mobile-menu-drawer {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        top: 0;
        right: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background-color: rgb(255, 252, 5);
        background: rgb(255, 252, 5) !important;
        z-index: 999999;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
        overflow-y: auto;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .mobile-menu-drawer.is-open {
        transform: translateX(0);
    }

    /* Top Bar inside Drawer */
    .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 20px;
        min-height: 70px;
        flex-shrink: 0;
    }

    .mobile-menu-close {
        color: #1a1a1a;
        background: transparent;
        cursor: pointer;
        padding: 6px 8px;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s ease;
    }

    .mobile-menu-close:hover {
        transform: scale(1.15);
    }

    /* Body Area with Vertically Centered Links */
    .mobile-menu-body {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 40px 24px 35px;
        box-sizing: border-box;
    }

    .mobile-menu-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 28px;
        margin: 0;
        padding: 0;
    }

    .mobile-menu-item {
        width: 100%;
        text-align: center;
    }

    .mobile-menu-link {
        display: inline-block;
        font-family: 'Poppins', 'Montserrat', sans-serif;
        font-size: 20px;
        font-weight: 700;
        color: #1a1a1a;
        text-decoration: none;
        padding: 6px 14px;
        position: relative;
        transition: color 0.2s ease, transform 0.2s ease;
    }

    .mobile-menu-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0%;
        height: 3px;
        background-color: #1a1a1a;
        transition: width 0.25s ease;
        border-radius: 2px;
    }

    .mobile-menu-link:hover::after,
    .mobile-menu-link.active::after {
        width: 100%;
    }

    .mobile-menu-link:hover {
        color: #000000;
    }

    /* Footer inside Drawer (Divider + Social Icons) */
    .mobile-menu-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 35px;
    }

    .mobile-menu-divider {
        width: 100%;
        max-width: 340px;
        height: 1px;
        background-color: rgba(0, 0, 0, 0.15);
        margin-bottom: 24px;
    }

    .mobile-menu-social {
        gap: 24px;
    }

    .mobile-menu-social .home-social-icon {
        font-size: 18px;
    }
}

@media (max-width: 575.98px) {
    .home-navbar {
        min-height: 66px;
    }

    .mobile-menu-header {
        padding: 10px 16px;
        min-height: 66px;
    }

    .home-logo-placeholder {
        width: 140px;
        height: 44px;
        font-size: 11px;
    }

    .mobile-menu-body {
        padding: 30px 16px 30px;
    }

    .mobile-menu-links {
        gap: 24px;
    }

    .mobile-menu-link {
        font-size: 18px;
    }

    .mobile-menu-social {
        gap: 20px;
    }
}
