* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font-dm: 'DM Sans', sans-serif;
    --font-inter: 'Inter', sans-serif;
    --font-roboto: 'Roboto', sans-serif;
    --font-sora: 'Sora', sans-serif;
}

/* ================= TOP INFO BAR ================= */
.top-info-bar {
    background: #b11e1e;
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    padding: 6px 0;
    font-size: 14px;
    font-family: var(--font-dm);
}

.info-track {
    display: inline-block;
    padding-left: 100%;
    animation: scrollText 50s linear infinite;
}

.info-track span {
    margin-right: 40px;
}

@keyframes scrollText {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ================= HEADER ================= */
.urban-header {
    background: #ffffff;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

/* Logo */
.logo img {
    height: 55px;
}

/* ================= DESKTOP NAV ================= */
.urban-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.urban-nav ul li a {
    text-decoration: none;
    color: #00163A;
    font-size: 16px;
    font-weight: 500;
    font-family: var(--font-dm);
    position: relative;
    padding-bottom: 6px;
    transition: color 0.3s ease;
}

/* Smooth underline */
.urban-nav ul li a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #000;
    transition: width 0.4s ease;
    transform: translateX(-50%);
}

.urban-nav ul li a:hover::after,
.urban-nav ul li a.active::after {
    width: 100%;
}

.urban-nav ul li a:hover,
.urban-nav ul li a.active {
    color: #000;
}

/* ================= ICONS ================= */
.header-icons a {
    color: #333;
    font-size: 20px;
    margin-left: 18px;
    transition: 0.3s;
}

.header-icons a:hover {
    color: #b11e1e;
}

/* Hamburger */
.mobile-toggle {
    background: none;
    border: none;
    font-size: 26px;
    margin-left: 15px;
    cursor: pointer;
}

/* ================= OFFCANVAS MOBILE MENU ================= */
.offcanvas {
    width: 260px;
}

.offcanvas-header {
    border-bottom: 1px solid #eee;
}

.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    margin-bottom: 20px;
}

.mobile-nav li a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 500;
}

.mobile-nav li a.active {
    color: #b11e1e;
}



.profile-wrapper {
    position: relative;
    display: inline-block;
}

.profile-icon {
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-icon img {
    width: 20px;
    height: 20px;
}

.profile-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    width: 240px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 9999;
    overflow: hidden;
}

.profile-dropdown.active {
    display: block;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.profile-avatar {
    width: 36px;
    height: 36px;
    background: #e9e9e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.profile-email {
    font-size: 14px;
    font-weight: 600;
    word-break: break-all;
}

.profile-dropdown ul {
    list-style: none;
    padding: 10px 0;
    margin: 0;
}

.profile-dropdown ul li {
    padding: 10px 18px;
}

.profile-dropdown ul li a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    display: block;
}

.profile-dropdown ul li a:hover {
    background: #f5f5f5;
}

.profile-dropdown .divider {
    height: 1px;
    background: #eee;
    margin: 8px 0;
}

.profile-dropdown .logout {
    color: #d9534f;
    font-weight: 600;
}


/* ================= RESPONSIVE HEADER ================= */

/* .logo img {
    height: 55px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

@media (max-width: 767px) {
    .logo img {
        height: 42px;
        max-width: 140px;
        object-fit: contain;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 38px;
        max-width: 120px;
    }
} */

/* ===== MAIN HEADER LOGO ===== */
.logo img {
    height: 60px;
    /* Desktop size */
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

@media (max-width: 991px) {
    .logo img {
        height: 50px;
        max-width: 160px;
    }
}

@media (max-width: 767px) {
    .logo img {
        height: 44px;
        max-width: 140px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 40px;
        max-width: 70px;
    }
}

.offcanvas-title img {
    height: 40px ;
    max-width: 70px;
    object-fit: contain;
}
/* ---------- Large Desktop ---------- */
@media (min-width: 1400px) {
    .urban-nav ul {
        gap: 40px;
    }
}

/* ---------- Laptop / Small Desktop ---------- */
@media (max-width: 1200px) {
    .logo img {
        height: 50px;
    }

    .urban-nav ul {
        gap: 28px;
    }

    .urban-nav ul li a {
        font-size: 15px;
    }
}

/* ---------- Tablet ---------- */
@media (max-width: 991px) {

    .top-info-bar {
        font-size: 13px;
        padding: 5px 0;
    }

    .logo img {
        height: 46px;
    }

    .header-icons a {
        font-size: 18px;
        margin-left: 14px;
    }

    .profile-icon {
        width: 34px;
        height: 34px;
    }

    body.has-sticky {
        padding-top: 115px;
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {

    .top-info-bar {
        font-size: 12px;
        padding: 4px 0;
    }

    .urban-header {
        padding: 8px 0;
    }

    .logo img {
        height: 42px;
    }

    .header-icons a {
        font-size: 17px;
        margin-left: 12px;
    }

    .mobile-toggle {
        font-size: 24px;
        margin-left: 10px;
    }

    /* Profile dropdown full width feel */
    .profile-dropdown {
        width: 220px;
        top: 48px;
    }

    body.has-sticky {
        padding-top: 105px;
    }
}

/* ---------- Small Mobile ---------- */
@media (max-width: 480px) {

    .top-info-bar {
        font-size: 11px;
    }

    .logo img {
        height: 38px;
    }

    .header-icons a {
        font-size: 16px;
        margin-left: 10px;
    }

    .mobile-toggle {
        font-size: 22px;
    }

    .profile-dropdown {
        width: 200px;
    }

    body.has-sticky {
        padding-top: 95px;
    }
}