/* --- RESET & VARIABLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
}

:root {
    --law-xt-gold: #b59449;
    --law-xt-dark: #12191b;
    --law-xt-white: #ffffff;
    --law-xt-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* --- HEADER --- */
.law-xt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 80px;
    background-color: var(--law-xt-white);
    position: fixed;
    z-index: 1000;
    width: 100%;
    top: 0;
    box-shadow: none;
}

.law-header-logo {
    height: 100px;
    width: auto;
}

/* --- DESKTOP NAVIGATION --- */
.law-xt-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 100px; /* Gap links ke beech */
    align-items: center;
}

.law-xt-nav-link {
    text-decoration: none;
    color: var(--law-xt-gold);
    font-weight: 500;
    padding: 0 20px;
    height: 80px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.law-xt-nav-link:hover,
.law-xt-nav-link.law-xt-active {
    background-color: var(--law-xt-dark);
    color: var(--law-xt-gold);
}

/* --- HAMBURGER ICON --- */
.law-xt-hamburger {
    display: none; /* Desktop par hidden */
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.law-xt-bar {
    width: 28px;
    height: 3px;
    background-color: var(--law-xt-gold);
    transition: all 0.3s ease;
}

/* --- MOBILE RESPONSIVE (768px) --- */
@media (max-width: 768px) {
    .law-xt-header {
        height: 70px;
        padding: 0 20px;
    }

    .law-header-logo {
        height: 60px;
    }

    .law-xt-hamburger {
        display: flex; /* Mobile par dikhega */
    }

    /* Hamburger to 'X' Animation */
    .law-xt-hamburger.active .law-xt-bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .law-xt-hamburger.active .law-xt-bar:nth-child(2) {
        opacity: 0;
    }
    .law-xt-hamburger.active .law-xt-bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Mobile Menu Sidebar */
    .law-xt-nav-list {
        position: fixed;
        top: 70px; /* Header ke thik niche */
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--law-xt-white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 20px 0;
        gap: 0;
        
        /* Animation: Slide left to right */
        transform: translateX(-100%);
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 2px 5px 15px rgba(0,0,0,0.1);
    }

    .law-xt-nav-list.active {
        transform: translateX(0);
        visibility: visible;
    }

    .law-xt-nav-item {
        width: 100%;
    }

    .law-xt-nav-link {
        height: 60px;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        padding: 0 30px;
    }
}