/* ===== Sticky Header ===== */
.df-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: all 0.3s ease;
}

.df-header.scrolled {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background-color: #dcdedf;
}

/* Container */
.df-container {
    max-width: 1200px;
    margin: auto;
    padding: 5px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.df-logo img {
    width: 35%;
    height: auto;
}

/* Menu */
.df-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.df-menu li a {
    text-decoration: none;
    color: #14212A;
    font-weight: 500;
    font-size: 16px;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}

.df-menu li a:hover,
.df-menu li.current-menu-item a,
.df-menu li.current_page_item a {
    color: #0B7BEA;
}

.df-menu li.current-menu-item a::after,
.df-menu li.current_page_item a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #0B7BEA;
    border-radius: 2px;
}

.df-menu li:last-child a {
    background: #0B7BEA;
    color: #fff;
    padding: 10px 18px;
    border-radius: 4px;
    transition: background 0.3s;
}

.df-menu li:last-child a:hover {
    background: #065bb5;
}

/* Hamburger */
.df-hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    transition: all 0.3s ease;
}

.df-hamburger span {
    width: 25px;
    height: 3px;
    background: #14212A;
    transition: all 0.3s ease;
}

.df-hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.df-hamburger.open span:nth-child(2) {
    opacity: 0;
}
.df-hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* MOBILE */
@media (max-width: 768px) {
    .df-hamburger {
        display: flex;
        z-index: 10000;
    }

    /* Mobile menu with smooth animation */
    .df-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .df-nav.active {
        max-height: 500px; /* adjust if menu is longer */
    }

    .df-menu {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .df-logo img {
        max-width: 30%;
        height: auto;
    }
}

/* Body padding to prevent overlap */
body {
    padding-top: 70px;
}
