* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;

}


body {
    font-family: 'Josefin Sans', sans-serif;
    color: white;
}

.top-bar {
    background-color: #ff8c00;
    color: white;
    text-align: center;
    padding: 28px;
    font-size: 20px;
}

.top-bar a {
    color: white;
    font-weight: bold;
    text-decoration: underline;
}

/* Tablet view - max width 1028px */
@media (max-width: 1028px) {
    .top-bar {
        padding: 20px;
        font-size: 22px;
    }

    .top-bar a {
        font-size: 22px;
    }
}

/* Mobile view - max width 480px */
@media (max-width: 480px) {
    .top-bar {
        padding: 15px;
        font-size: 17px;
    }

    .top-bar a {
        font-size: 17px;
    }
}

@media (max-width: 415px) {
    .top-bar {
        padding: 15px;
        font-size: 18px;
    }

    .top-bar a {
        font-size: 18px;
    }
}



@media (max-width: 380px) {
    .top-bar {
        padding: 10px;
        font-size: 14px;
    }

    .top-bar a {
        font-size: 14px;
    }
}




.navbar {
    background-color: #000;
    padding: 40px 50px;
    /* 👈 Increased from 30px to 40px */
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 999;
    transition: background-color 0.3s ease;
}

.navbar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.navbar.white {
    background-color: white !important;
}


.navbar.white .nav-left nav a,
.navbar.white .nav-right a,
.navbar.white .logo,
.navbar.white .nav-link,
.navbar.white .chevron {
    color: black !important;
}

/* Make sure the SVG inside turns black too */
.navbar.white .chevron-icon {
    fill: black !important;
}

.navbar.sticky.white {
    background-color: white !important;
    color: black;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
}

.nav-left nav {
    display: flex;
    gap: 20px;
}

.nav-left nav a {
    color: white;
    text-decoration: none;
    font-size: 15px;
}

.nav-right a {
    margin-left: 20px;
    font-size: 14px;
    text-decoration: none;
    color: white;
}

.create-account {
    background-color: #ff8c00;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 600;
}


.chevron-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
    transform-origin: center;
}

.nav-link.active .chevron-icon {
    transform: rotate(180deg);
    fill: #22c55e;
    /* Tailwind green-500 or choose your green */
    transition: transform 0.3s ease, fill 0.3s ease;
}

.dropdown-container {
    position: relative;
    display: inline-block;
}

/* Initial state - hidden and slightly moved up */
.dropdown-menu {
    background-color: black;
    border-radius: 10px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 600px;
    position: absolute;
    top: calc(100% + 32px);
    /* 👈 Move dropdown lower */
    left: 0;

    z-index: 99;

    opacity: 0;
    transform: translateY(0);
    /* Optional if you don't want animation */
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.dropdown-menu.show {
    opacity: 1;
    pointer-events: auto;
}

.dropdown-row {
    display: flex;
    gap: 25px;
}

.dropdown-item {
    flex: 1;
    /* Each item in row takes equal width */
}

.nav-link {
    color: white;
    font-size: 16px;
    font-weight: 500;
    background: none;
    /* No background */
    border: none;
    /* No border */
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    /* Remove extra spacing */
    outline: none;
}

.dropdown-menu.show {
    display: flex;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon {
    width: 55px;
    height: 55px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.text-content h4 {
    margin: 0;
    font-size: 16px;
    color: white;
    font-weight: 600;
}

.text-content p {
    margin: 2px 0 0;
    font-size: 14px;
    color: #c4c4c4;
}

@media (max-width: 1028px) {
    .text-content p {
        display: none;
    }
}

@media (max-width: 1028px) {

    /* --- NAVBAR STRUCTURE --- */
    .navbar {
        position: relative;
        /* 👈 this is the missing piece */
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 20px;
        z-index: 999;
        /* optional: ensures navbar stays above menu items */
    }

    .nav-left {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 20px;
    }

    .nav-left nav {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        padding-left: 10px;
        /* moves links right a bit */
    }

    .nav-left nav a,
    nav a {
        font-size: 16px;
        width: 100%;
        padding: 12px 10px;
        color: white;
        text-decoration: none;
        display: flex;
    }

    .nav-right {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        margin-top: 25px;
        padding-left: 10px;
    }

    .nav-right a {
        margin-left: 0;
        font-size: 16px;
        width: 100%;
        text-decoration: none;
    }

    .create-account {
        text-align: center;
        padding: 10px;
        border-radius: 10px;
    }

    .nav-link {
        justify-content: space-between;
        width: 100%;
        padding: 12px 10px;
        color: rgb(168, 163, 163);
        /* hover style base */
    }

    /* --- DROPDOWN BASE --- */
    .dropdown-container {
        width: 100%;
        max-height: 60vh;
        /* or adjust to 70vh, 80vh etc */
        overflow-y: auto;
        padding-right: 6px;
        /* To avoid cutting off scrollbar */
    }

    .dropdown-container::-webkit-scrollbar {
        width: 6px;
    }

    .dropdown-container::-webkit-scrollbar-thumb {
        background-color: rgba(255, 255, 255, 0.3);
        border-radius: 3px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1 !important;
        pointer-events: auto;
        transform: none;
        width: 100%;
        padding: 20px 10px;
        background-color: #111;
        border-radius: 0;
        box-shadow: none;
        display: flex;
        flex-direction: column;
        gap: 25px;
        margin-top: 10px;
    }

    .dropdown-row {
        flex-direction: column;
        gap: 25px;
    }

    .dropdown-item {
        display: flex;
        align-items: center;
        flex: none;
        width: 100%;
        gap: 15px;
        padding-left: 10px;
    }

    .text-content h4 {
        font-size: 15px;
    }

    .text-content p {
        font-size: 13px;
    }

    /* --- ICON SIZE (generic small icon support) --- */
    .icon-small img {
        width: 15px;
        height: 15px;
    }

    /* --- HOVER STYLES --- */
    .dropdown-item:hover .text-content h4 {
        color: #22c55e;
        /* Tailwind green-500 */
    }

    /* --- LEARN DROPDOWN ONLY --- */
    .learn-dropdown {
        gap: 3px !important;
        padding: 15px 10px !important;
    }

    .learn-dropdown .dropdown-row {
        gap: 3px !important;
    }

    .learn-dropdown .dropdown-item {
        gap: 3px !important;
        padding-left: 5px;
    }

    .learn-dropdown .text-content h4 {
        font-size: 14px;
    }

    /* --- ICON COLORS & STYLING --- */
    .icon.icon-red {
        width: 30px;
        height: 30px;
        --tw-bg-opacity: 1;
        background-color: rgb(10 170 100 / var(--tw-bg-opacity));
        /* or any color you like */
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .icon.icon-red img {
        width: 20px;
        height: 20px;
        object-fit: contain;
        display: block;
    }

    .icon.icon-brown {
        width: 30px;
        height: 30px;
        --tw-bg-opacity: 1;
        background-color: rgb(46 72 218 / var(--tw-bg-opacity));
        /* or any color you like */
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .icon.icon-brown img {
        width: 20px;
        height: 20px;
        object-fit: contain;
        display: block;
    }

    /* Shared button styles (optional if you want to unify look) */
    .btn-login,
    .btn-create-account {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 15px;
        font-weight: 600;
        padding: 12px;
        border-radius: 8px;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    /* Log In - transparent button */
    .btn-login {
        background-color: transparent;
        color: white;
        border: 2px solid white;
    }

    /* Create Account - blue background */
    .btn-create-account {
        background-color: #ff8c00;
        /* Adjust blue as needed */
        color: white;
        border: none;
    }

    /* Optional hover effect */
    .btn-login:hover {
        background-color: white;
        color: black;
    }

    .btn-create-account:hover {
        opacity: 0.9;
    }

    .auth-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        /* 👈 Increased vertical space between buttons */
        width: 100%;
        margin-top: 20px;
        /* 👈 Pushes the entire block downward */
    }




}


@media (max-width: 480px) {

    .dropdown-item,
    .text-content,
    .text-content h4,
    .text-content p {
        padding-left: 0 !important;
        margin-left: 0 !important;
        text-align: left !important;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 12px;
        z-index: 999;
        text-align: left;
    }

    .nav-left {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 14px;
    }

    .nav-left nav {
        flex-direction: column;
        gap: 14px;
        width: 100%;
        padding-left: 6px;
        text-align: left;
    }

    .nav-left nav a,
    nav a {
        font-size: 14px;
        width: 100%;
        padding: 10px 8px;
        text-align: left;
        display: flex;
        justify-content: flex-start;
        color: white;
        text-decoration: none;
    }

    .nav-right {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
        margin-top: 20px;
        padding-left: 6px;
        text-align: left;
    }

    .nav-right a {
        font-size: 14px;
        width: 100%;
        margin-left: 0;
        text-align: left;
    }

    .create-account {
        text-align: left;
        padding: 8px;
        border-radius: 8px;
    }

    .nav-link {
        padding: 10px 8px;
        font-size: 14px;
        justify-content: space-between;
        width: 100%;
        text-align: left;
        color: rgb(168, 163, 163);
    }

    .dropdown-container {
        width: 100%;
        max-height: 50vh;
        overflow-y: auto;

    }

    .dropdown-container::-webkit-scrollbar {
        width: 4px;
    }

    .dropdown-container::-webkit-scrollbar-thumb {
        background-color: rgba(255, 255, 255, 0.2);
        border-radius: 2px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1 !important;
        pointer-events: auto;
        transform: none;
        width: 100%;
        padding: 15px 8px;
        background-color: #111;
        border-radius: 0;
        box-shadow: none;
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 8px;
        text-align: left;
    }

    .dropdown-row {
        flex-direction: column;
        gap: 20px;
    }

    .dropdown-item {
        display: flex;
        align-items: center;
        width: 100%;
        gap: 12px;
        padding-left: 0 !important;
        margin-left: 0 !important;

        text-align: left !important;
    }

    .text-content {
        padding-left: 0 !important;
        margin-left: 0 !important;
        text-align: left !important;
    }

    .text-content h4 {
        font-size: 13px;
        padding-left: 0 !important;
        margin-left: 0 !important;
        text-align: left !important;
        display: block;
    }

    .text-content p {
        font-size: 11.5px;
        text-align: left;
    }


    .icon-small img {
        width: 13px;
        height: 13px;
    }

    .dropdown-item:hover .text-content h4 {
        color: #22c55e;
    }

    /* --- LEARN DROPDOWN ONLY --- */
    .learn-dropdown {
        gap: 2px !important;
        padding: 10px 6px !important;
        text-align: left;
    }

    .learn-dropdown .dropdown-row {
        gap: 2px !important;
    }

    .learn-dropdown .dropdown-item {
        gap: 2px !important;
        padding-left: 4px;
        text-align: left;
    }

    .learn-dropdown .text-content h4 {
        font-size: 13px;
        text-align: left;
    }

    .icon.icon-red,
    .icon.icon-brown {
        width: 26px;
        height: 26px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .icon.icon-red img,
    .icon.icon-brown img {
        width: 17px;
        height: 17px;
        object-fit: contain;
        display: block;
    }

    .btn-login,
    .btn-create-account {
        display: block;
        width: 100%;
        text-align: left;
        font-size: 13.5px;
        font-weight: 600;
        padding: 10px;
        border-radius: 6px;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .btn-login {
        background-color: transparent;
        color: white;
        border: 2px solid white;
    }

    .btn-create-account {
        background-color: #ff8c00;
        color: white;
        border: none;
    }

    .btn-login:hover {
        background-color: white;
        color: black;
    }

    .btn-create-account:hover {
        opacity: 0.9;
    }

    .btn-login,
    .btn-create-account {
        display: block;
        width: 100%;
        text-align: center;
        /* ✅ center the text */
        font-size: 13.5px;
        font-weight: 600;
        padding: 10px;
        border-radius: 6px;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .btn-login {
        background-color: transparent;
        color: white;
        border: 2px solid white;
    }

    .btn-create-account {
        background-color: #ff8c00;
        color: white;
        border: none;
    }

    .btn-login:hover {
        background-color: white;
        color: black;
    }

    .btn-create-account:hover {
        opacity: 0.9;
    }

    .auth-buttons {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        margin-top: 16px;
        text-align: left;
    }

    .mobile-menu-wrapper {
        padding-left: 0 !important;
        margin-left: 0 !important;
        width: 100%;
    }

}

@media (max-width: 380px) {

    .navbar {
        padding: 16px 10px;
    }

    .nav-left nav a,
    nav a,
    .nav-right a,
    .nav-link {
        font-size: 13px;
        padding: 8px 6px;
    }

    .text-content h4 {
        font-size: 12.5px;
    }

    .text-content p {
        font-size: 11px;
    }

    .icon-small img {
        width: 12px;
        height: 12px;
    }

    .icon.icon-red,
    .icon.icon-brown {
        width: 24px;
        height: 24px;
    }

    .icon.icon-red img,
    .icon.icon-brown img {
        width: 15px;
        height: 15px;
    }





    .btn-login,
    .btn-create-account {
        font-size: 12.5px;
        padding: 8px;
        text-align: center;
        /* ✅ Center text */
        width: 100%;
        /* ✅ Full width for consistent alignment */
        display: block;
        /* Ensures block-level behavior */
    }

    .auth-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        /* ✅ Center buttons if they're not full-width */
        gap: 6px;
        margin-top: 12px;
    }

    .dropdown-menu {
        gap: 16px;
        padding: 12px 6px;
    }

    .dropdown-item {
        gap: 10px;
    }

    .learn-dropdown .dropdown-item {
        gap: 1px !important;
        padding-left: 2px;
    }

    .learn-dropdown .text-content h4 {
        font-size: 12.5px;
    }

    .mobile-menu-wrapper {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }

}

@media (max-width: 320px) {

    .navbar {
        padding: 14px 8px;
    }

    .nav-left nav a,
    nav a,
    .nav-right a,
    .nav-link {
        font-size: 12px;
        padding: 7px 5px;
    }

    .text-content h4 {
        font-size: 11.5px;
    }

    .text-content p {
        font-size: 10.5px;
    }

    .icon-small img {
        width: 11px;
        height: 11px;
    }

    .icon.icon-red,
    .icon.icon-brown {
        width: 22px;
        height: 22px;
    }

    .icon.icon-red img,
    .icon.icon-brown img {
        width: 14px;
        height: 14px;
    }

    .mobile-menu-wrapper .icon img {
        width: 40px;
        height: 40px;
    }

    .btn-login,
    .btn-create-account {
        font-size: 12px;
        padding: 7px;
        text-align: center;
        /* ✅ centers text inside the button */
        display: block;
        width: 100%;
    }

    .auth-buttons {
        gap: 5px;
        margin-top: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* ✅ centers buttons horizontally if width is less than 100% */
    }

    .dropdown-menu {
        gap: 14px;
        padding: 10px 5px;
    }

    .dropdown-item {
        gap: 8px;
    }

    .learn-dropdown .dropdown-item {
        gap: 1px !important;
        padding-left: 2px;
    }

    .learn-dropdown .text-content h4 {
        font-size: 12px;
    }

    .mobile-menu-wrapper {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }

}

/* Default: Show .mobile, hide .navbar */
.navbar {
    display: none;
}

.mobile {
    display: block;
}

/* Show .navbar on desktop (1024px and above) */
@media (min-width: 1024px) {
    .navbar {
        display: flex;
        /* or block depending on layout */
    }

    .mobile {
        display: none;
    }
}

@media (max-width: 1024px) {

    /* ========= MOBILE HEADER ========= */
    .mobile {
        background-color: #000;
        padding: 30px 24px;
        width: 100%;
        position: relative;
        z-index: 999;
    }

    .mobile.sticky {
        position: fixed;
        top: 0;
        left: 0;
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    .mobile.sticky.white {
        background-color: white !important;
        color: black;
    }

    .mobile.white {
        background-color: white !important;
    }

    /* ✅ Make logo text black when mobile is white */
    .mobile.white .logo,
    .mobile.sticky.white .logo {
        color: black !important;
    }

    /* Other white mode styling */
    .mobile.white .nav-left nav a,
    .mobile.white .nav-right a,
    .mobile.white .nav-link,
    .mobile.white .menu-toggle,
    .mobile.white .mobile-menu,
    .mobile.white .mobile-menu a,
    .mobile.white .mobile-menu span,
    .mobile.white .mobile-menu svg,
    .mobile.white .mobile-menu h4,
    .mobile.white .mobile-menu p {
        color: white !important;
        fill: black !important;
    }

    /* ✅ Menu background */
    .mobile.white .mobile-menu {
        background-color: #111;
    }

    /* ✅ Burger icon bars */
    .mobile.white .menu-toggle .bar {
        background-color: black !important;
    }

    /* ========= TOGGLE ICON ========= */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        width: 36px;
        height: 28px;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        gap: 6px;
        z-index: 999;
    }

    .bar {
        height: 4px;
        background-color: white;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .bar-1 {
        width: 100%;
    }

    .bar-2 {
        width: 80%;
    }

    .bar-3 {
        width: 50%;
    }

    .menu-toggle.open .bar-1 {
        transform: rotate(45deg) translate(5px, 5px);
        width: 100%;
    }

    .menu-toggle.open .bar-2 {
        opacity: 0;
    }

    .menu-toggle.open .bar-3 {
        transform: rotate(-45deg) translate(5px, -5px);
        width: 100%;
    }

    /* ========= NAV CONTAINER ========= */
    .nav-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo-img {
        height: 34px;
    }

    .flag-dropdown {
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
    }

    .flag-icon {
        height: 22px;
        width: 30px;
        object-fit: cover;
        border-radius: 3px;
    }

    .dropdown-arrow {
        color: white;
        font-size: 14px;
    }

    .mobile-menu-wrapper {
        position: absolute;
        top: 80px;
        /* ✅ set to height of your header */
        left: 0;
        width: 100%;
        max-height: calc(100vh - 80px);
        /* ✅ limit it to viewport - header */
        overflow-y: auto;
        /* ✅ scroll vertically inside */
        background-color: #111;
        z-index: 998;
        font-size: 15px;
        padding: 20px 16px;
        display: none;
        transition: height 0.7s ease, padding 0.4s ease;
    }

    .mobile-menu-wrapper.show {
        display: block;
    }

    .mobile-menu {
        padding: 24px;
        font-size: 16px;
        min-height: 110%;
        /* ✅ stretch full if needed */
    }
}

.no-scroll {
    overflow: hidden;
}


@media (max-width: 480px) {

    /* ========= MOBILE HEADER ========= */
    .mobile {
        background-color: #000;
        padding: 15px 12px;
        /* reduced padding */
        /* smaller padding */
        width: 100%;
        position: relative;
        z-index: 999;
    }

    .mobile.sticky {
        position: fixed;
        top: 0;
        left: 0;
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    .mobile.sticky.white {
        background-color: white !important;
        color: black;
    }

    .mobile.white {
        background-color: white !important;
    }

    /* ✅ Make logo text black when mobile is white */
    .mobile.white .logo,
    .mobile.sticky.white .logo {
        color: black !important;
    }

    /* Other white mode styling */
    .mobile.white .nav-left nav a,
    .mobile.white .nav-right a,
    .mobile.white .nav-link,
    .mobile.white .menu-toggle,
    .mobile.white .mobile-menu,
    .mobile.white .mobile-menu a,
    .mobile.white .mobile-menu span,
    .mobile.white .mobile-menu svg,
    .mobile.white .mobile-menu h4,
    .mobile.white .mobile-menu p {
        color: white !important;
        fill: black !important;
    }

    /* ✅ Menu background */
    .mobile.white .mobile-menu {
        background-color: #111;
    }

    /* ✅ Burger icon bars */
    .mobile.white .menu-toggle .bar {
        background-color: black !important;
    }

    /* ========= TOGGLE ICON ========= */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        width: 25px;
        height: 22px;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        gap: 5px;
        z-index: 999;
    }

    .bar {
        height: 3px;
        background-color: white;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .bar-1 {
        width: 100%;
    }

    .bar-2 {
        width: 70%;
    }

    .bar-3 {
        width: 40%;
    }

    .menu-toggle.open .bar-1 {
        transform: rotate(45deg) translate(4px, 4px);
        width: 100%;
    }

    .menu-toggle.open .bar-2 {
        opacity: 0;
    }

    .menu-toggle.open .bar-3 {
        transform: rotate(-45deg) translate(4px, -4px);
        width: 100%;
    }

    /* ========= NAV CONTAINER ========= */
    .nav-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo-img {
        height: 28px;
    }

    .flag-dropdown {
        display: flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
    }

    .flag-icon {
        height: 18px;
        width: 26px;
        object-fit: cover;
        border-radius: 3px;
    }

    .dropdown-arrow {
        color: white;
        font-size: 12px;
    }

    /* ========= MOBILE MENU DROPDOWN ========= */
    .mobile-menu-wrapper {
        position: absolute;
        top: 70px;
        /* 👈 slightly less than 80px to give more scroll room */
        left: 0;
        width: 100%;
        height: 0;
        max-height: calc(100vh - 70px);
        /* 🔥 extra scroll height */
        overflow-y: auto;
        background-color: #111;
        transition: height 0.5s ease, padding 0.3s ease;
        z-index: 998;
        font-size: 15px;
        padding: 0 16px;
        display: none;
        -webkit-overflow-scrolling: touch;
        /* ✅ smooth on iOS */
        transition: height 0.7s ease, padding 0.4s ease;
    }

    .mobile-menu-wrapper.show {
        display: block;
    }

    .mobile-menu {
        padding: 24px;
        font-size: 16px;
        min-height: 130%;
        padding-bottom: 60px;
        /* ✅ ensures bottom items are not cut off */
    }
}



@media (max-width: 380px) {

    /* ========= MOBILE HEADER ========= */
    .mobile {
        background-color: #000;
        padding: 18px 14px;
        width: 100%;
        position: relative;
        z-index: 999;
    }

    .mobile.sticky {
        position: fixed;
        top: 0;
        left: 0;
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    }

    .mobile.sticky.white {
        background-color: white !important;
        color: black;
    }

    .mobile.white {
        background-color: white !important;
    }

    /* ✅ Make logo text black when mobile is white */
    .mobile.white .logo,
    .mobile.sticky.white .logo {
        color: black !important;
    }

    /* Other white mode styling */
    .mobile.white .nav-left nav a,
    .mobile.white .nav-right a,
    .mobile.white .nav-link,
    .mobile.white .menu-toggle,
    .mobile.white .mobile-menu,
    .mobile.white .mobile-menu a,
    .mobile.white .mobile-menu span,
    .mobile.white .mobile-menu svg,
    .mobile.white .mobile-menu h4,
    .mobile.white .mobile-menu p {
        color: white !important;
        fill: black !important;
    }

    /* ✅ Menu background */
    .mobile.white .mobile-menu {
        background-color: #111;
    }

    /* ✅ Burger icon bars */
    .mobile.white .menu-toggle .bar {
        background-color: black !important;
    }

    /* ========= TOGGLE ICON ========= */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        width: 26px;
        height: 22px;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        gap: 4px;
        z-index: 999;
    }

    .bar {
        height: 3px;
        background-color: white;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .bar-1 {
        width: 100%;
    }

    .bar-2 {
        width: 70%;
    }

    .bar-3 {
        width: 40%;
    }

    .menu-toggle.open .bar-1 {
        transform: rotate(45deg) translate(3.5px, 3.5px);
        width: 100%;
    }

    .menu-toggle.open .bar-2 {
        opacity: 0;
    }

    .menu-toggle.open .bar-3 {
        transform: rotate(-45deg) translate(3.5px, -3.5px);
        width: 100%;
    }

    /* ========= NAV WRAPPER ========= */
    .nav-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo-img {
        height: 26px;
    }

    .flag-dropdown {
        display: flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
    }

    .flag-icon {
        height: 16px;
        width: 24px;
        object-fit: cover;
        border-radius: 3px;
    }

    .dropdown-arrow {
        color: white;
        font-size: 11px;
    }

    .mobile-menu-wrapper {
        position: absolute;
        top: 100%;
        /* 👈 starts right below the header container */
        left: 0;
        width: 100%;
        height: 0;
        overflow-y: auto;
        /* ✅ allows scroll if menu is long */
        background-color: #111;
        transition: height 0.4s ease-in-out, padding 0.3s ease;
        z-index: 998;
        font-size: 14px;
        padding: 0 14px;
        -webkit-overflow-scrolling: touch;
        /* ✅ iOS smooth scrolling */
        max-height: calc(100vh - 70px);
        /* ✅ prevent overflow beyond screen */
        transition: height 0.7s ease, padding 0.4s ease;
    }

    .mobile-menu-wrapper.show {
        height: auto;
        /* ✅ allow it to expand to fit content */
        padding: 20px 14px 60px;
        /* ✅ extra bottom padding to avoid cutoff */
    }
}

@media (max-width: 330px) {

    /* ====== MOBILE HEADER ====== */
    .mobile {
        background-color: #000;
        padding: 16px 12px;
        width: 100%;
        position: relative;
        z-index: 999;
    }

    .mobile.sticky {
        position: fixed;
        top: 0;
        left: 0;
        transform: translateY(0);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    }

    .mobile.sticky.white {
        background-color: white !important;
        color: black;
    }

    .mobile.white {
        background-color: white !important;
    }

    /* ✅ Make logo text black when mobile is white */
    .mobile.white .logo,
    .mobile.sticky.white .logo {
        color: black !important;
    }

    /* Other white mode styling */
    .mobile.white .nav-left nav a,
    .mobile.white .nav-right a,
    .mobile.white .nav-link,
    .mobile.white .menu-toggle,
    .mobile.white .mobile-menu,
    .mobile.white .mobile-menu a,
    .mobile.white .mobile-menu span,
    .mobile.white .mobile-menu svg,
    .mobile.white .mobile-menu h4,
    .mobile.white .mobile-menu p {
        color: white !important;
        fill: black !important;
    }

    /* ✅ Menu background */
    .mobile.white .mobile-menu {
        background-color: #111;
    }

    /* ✅ Burger icon bars */
    .mobile.white .menu-toggle .bar {
        background-color: black !important;
    }

    .mobile-menu-wrapper .icon img {
        width: 40px;
        height: 40px;
    }

    /* ====== TOGGLE ICON (HAMBURGER) ====== */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        width: 24px;
        height: 20px;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        gap: 3px;
        z-index: 999;
    }

    .bar {
        height: 3px;
        background-color: white;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .bar-1 {
        width: 100%;
    }

    .bar-2 {
        width: 65%;
    }

    .bar-3 {
        width: 35%;
    }

    .menu-toggle.open .bar-1 {
        transform: rotate(45deg) translate(3px, 3px);
        width: 100%;
    }

    .menu-toggle.open .bar-2 {
        opacity: 0;
    }

    .menu-toggle.open .bar-3 {
        transform: rotate(-45deg) translate(3px, -3px);
        width: 100%;
    }

    /* ====== LOGO & FLAG ====== */
    .logo-img {
        height: 24px;
    }

    .flag-dropdown {
        display: flex;
        align-items: center;
        gap: 5px;
        cursor: pointer;
    }

    .flag-icon {
        height: 14px;
        width: 22px;
        object-fit: cover;
        border-radius: 2px;
    }

    .dropdown-arrow {
        color: white;
        font-size: 10px;
    }

    /* ====== MOBILE MENU ====== */
    .mobile-menu-wrapper {
        position: absolute;
        top: 100%;
        /* 👈 starts just below the header */
        left: 0;
        width: 100%;
        height: 0;
        overflow-y: auto;
        /* ✅ scroll when content is tall */
        background-color: #111;
        transition: height 0.4s ease-in-out, padding 0.3s ease;
        z-index: 998;
        font-size: 13px;
        padding: 0 12px;
        max-height: calc(100vh - 60px);
        /* ✅ limit height to avoid screen overflow */
        -webkit-overflow-scrolling: touch;
        /* ✅ smooth iOS scroll */
        transition: height 0.7s ease, padding 0.4s ease;
    }

    .mobile-menu-wrapper.show {
        height: auto;
        /* ✅ expands to fit content */
        padding: 20px 12px 60px;
        /* ✅ extra space at bottom */
    }
}

.view-details {
    margin-top: 5px;
    text-align: center;
}

.view-details a {
    display: inline-block;
    padding: 10px 20px;
    background: #FF8C00;
    color: #fff;
    font-weight: 500;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s ease;
}

.view-details a:hover {
    background: #FFA500;
}

/* Tablet: smaller cards and full-width button if needed */
@media (max-width: 991px) {
    .property-card {
        padding: 14px;
    }

    .view-details a {

        font-size: 15px;
    }
}

/* Mobile: stacked content and larger button */
@media (max-width: 767px) {
    .property-card {
        padding: 12px;
    }

    .property-card h3 {
        font-size: 18px;
    }

    .property-middle {
        flex-direction: column;
        align-items: flex-start;
    }

    .view-details a {

        font-size: 16px;
        padding: 12px;
    }
}

/* Extra Small Screens: fine-tune spacing */
@media (max-width: 480px) {
    .property-card {
        padding: 10px;
    }

    .view-details a {
        font-size: 16px;
        padding: 14px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.filter-container {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 50px 60px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    max-width: 100%;
    position: relative;
    overflow: hidden;
}

.filter-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23ff6b35" opacity="0.1"/></svg>');
    background-size: 50px 50px;
    pointer-events: none;
}

.filter-header {
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
}

.sub-heading {
    color: #ff6b35;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.sub-heading::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #ff6b35 0%, #ff8c42 100%);
    border-radius: 2px;
}

.main-heading {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
    position: relative;
    z-index: 2;
}

.filter-box {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 16px;
    position: relative;
    flex: 1;
    min-width: 200px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.filter-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
    border-color: #ff6b35;
}

.filter-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b35, #ff8c42);
    border-radius: 12px 12px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filter-box:hover::before {
    opacity: 1;
}

.filter-box label {
    font-size: 11px;
    color: #ff6b35;
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.filter-box input,
.filter-box select {
    background: transparent;
    border: none;
    color: white;
    font-size: 14px;
    width: 100%;
    outline: none;
    padding-right: 35px;
    font-weight: 500;
}

.filter-box input::placeholder {
    color: #888;
    transition: color 0.3s ease;
}

.filter-box:hover input::placeholder {
    color: #aaa;
}

.filter-box select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%23ff6b35" d="M6 8L0 2h12z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff6b35;
    transition: all 0.3s ease;
}

.filter-box:hover .search-icon {
    color: #ff8c42;
    transform: translateY(-50%) scale(1.1);
}

.filter-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
}

.clear-filter {
    color: #ff6b35;
    font-size: 13px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.clear-filter::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ff6b35;
    transition: width 0.3s ease;
}

.clear-filter:hover {
    color: #ff8c42;
    transform: translateY(-1px);
}

.clear-filter:hover::before {
    width: 100%;
}

.apply-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: white;
    font-weight: 700;
    border: none;
    border-radius: 25px;
    padding: 12px 28px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.apply-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.apply-btn:hover::before {
    left: 100%;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.apply-btn:active {
    transform: translateY(0);
}

.show-all {
    margin-top: 5px;
}

.show-all a {
    color: white;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.show-all a:hover {
    color: #ff6b35;
    border-bottom-color: #ff6b35;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .filter-container {
        padding: 40px 40px;
    }

    .main-heading {
        font-size: 36px;
    }

    .filter-box {
        min-width: 180px;
    }
}

@media (max-width: 1028px) {
    .filter-container {
        padding: 35px 25px;
    }

    .main-heading {
        font-size: 32px;
        margin-bottom: 25px;
    }

    .filter-controls {
        gap: 15px;
    }

    .filter-box {
        min-width: 160px;
        flex: 1 1 30%;
    }

    .hide-duration {
        display: none;
    }

    .filter-actions {
        flex-direction: row;
        gap: 25px;
        align-items: center;
        margin-top: 15px;
        margin-left: 0;
    }

    .show-all {
        margin-top: 0;
    }

    .apply-btn {
        padding: 10px 24px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .filter-container {
        padding: 30px 20px;
    }

    .main-heading {
        font-size: 28px;
        text-align: center;
    }

    .sub-heading {
        text-align: center;
        font-size: 12px;
    }

    .sub-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .filter-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .filter-box {
        flex: 1 1 100%;
        min-width: 100%;
        margin-bottom: 8px;
    }

    .hide-on-mobile,
    .hide-type,
    .hide-price {
        display: none !important;
    }

    .filter-actions {
        flex-direction: row;
        justify-content: center;
        width: 100%;
        margin-top: 20px;
        gap: 30px;
    }

    .apply-btn {
        margin-top: 15px;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}

@media (max-width: 480px) {
    .filter-container {
        padding: 25px 16px;
    }

    .main-heading {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .sub-heading {
        font-size: 11px;
    }

    .filter-box {
        padding: 14px;
    }

    .filter-actions {
        gap: 20px;
        margin-top: 15px;
    }

    .clear-filter {
        font-size: 12px;
    }

    .show-all a {
        font-size: 11px;
    }

    .apply-btn {
        padding: 12px 24px;
        font-size: 13px;
        margin-top: 20px;
    }
}

@media (max-width: 380px) {
    .filter-container {
        padding: 20px 12px;
    }

    .main-heading {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .filter-box {
        padding: 12px;
    }

    .filter-actions {
        gap: 15px;
    }

    .apply-btn {
        padding: 10px 20px;
        font-size: 12px;
    }
}

@media (max-width: 320px) {
    .filter-container {
        padding: 16px 10px;
    }

    .main-heading {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .sub-heading {
        font-size: 10px;
    }

    .filter-box {
        padding: 10px;
    }

    .filter-box label {
        font-size: 10px;
    }

    .filter-box input,
    .filter-box select {
        font-size: 13px;
    }

    .filter-actions {
        gap: 12px;
        margin-top: 12px;
    }

    .clear-filter {
        font-size: 11px;
    }

    .show-all a {
        font-size: 10px;
    }

    .apply-btn {
        padding: 8px 16px;
        font-size: 11px;
        margin-top: 15px;
    }
}

/* Enhanced animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-container {
    animation: slideIn 0.6s ease-out;
}

.filter-box {
    animation: slideIn 0.6s ease-out;
    animation-delay: calc(var(--delay, 0) * 0.1s);
}

/* Loading state for dropdowns */
.filter-box select:focus {
    border-color: #ff6b35;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

.filter-box input:focus {
    outline: none;
}

.filter-box:focus-within {
    border-color: #ff6b35;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

.property-title {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.price {
    font-size: 0.68rem;
    margin-bottom: 0;
}

.price-amount {
    font-size: 0.78rem;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    line-height: 1.6;
}

.ezirent-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.header {
    text-align: center;
    margin-bottom: 3rem;
}

.brand-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    font-weight: 400;
}

.ezirent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.property-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.property-card:nth-child(1) {
    animation-delay: 0.1s;
}

.property-card:nth-child(2) {
    animation-delay: 0.2s;
}

.property-card:nth-child(3) {
    animation-delay: 0.3s;
}

.property-card:nth-child(4) {
    animation-delay: 0.4s;
}

.property-card:nth-child(5) {
    animation-delay: 0.5s;
}

.property-card:nth-child(6) {
    animation-delay: 0.6s;
}

.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 107, 53, 0.9);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.badge.popular {
    background: rgba(255, 107, 53, 0.9);
}

.image-container {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #f8f9fa;
}

.image-slider {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.image-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
    background: linear-gradient(45deg, #f0f0f0 25%, #e0e0e0 25%, #e0e0e0 50%, #f0f0f0 50%, #f0f0f0 75%, #e0e0e0 75%);
    background-size: 20px 20px;
}

.image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #ff6b35;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-btn:hover {
    background: #ff6b35;
    color: white;
    transform: scale(1.1);
}

.property-content {
    padding: 1.25rem;
}
.property-content a{
    text-decoration: none;
}

.property-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.4rem;
}

.location {
    display: flex;
    align-items: center;
    color: #666;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
}

.location .material-icons {
    color: #ff6b35;
    margin-right: 0.4rem;
    font-size: 16px;
}

.property-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #666;
    font-size: 0.8rem;
}

.dot {
    color: #ddd;
}

.shared-info {
    display: flex;
    align-items: center;
    background: #fff3f0;
    color: #ff6b35;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.shared-info .material-icons {
    font-size: 14px;
    margin-right: 0.25rem;
}

.price {
    font-size: 0.68rem;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price-amount {
    color: #ff6b35;
    font-weight: 700;
    font-size: 1rem;
}

/* OPTIMIZED COMPACT BUTTON SECTION */
.view-details {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    justify-content: space-between;
}

.btn {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: none;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    position: relative;
    overflow: hidden;
    min-height: 36px;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.btn:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

.btn:hover::before {
    left: 100%;
}

/* General Apply Button Style - Rounded and Centered */
.btn.apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    /* full pill shape */
    padding: 0.45rem 1.2rem;
    font-size: 0.78rem;
    font-weight: 600;
    min-height: 36px;
    line-height: 1;
    letter-spacing: 0.02em;
    white-space: nowrap;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.15);
}

/* First Button - Secondary Style */
.btn.apply-btn:first-child {
    background: #f1f5f9;
    color: #667eea;
    border: 1px solid #e2e8f0;
}

.btn.apply-btn:first-child:hover {
    background: #667eea;
    color: white;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.25);
}

/* Last Button - Primary Style */
.btn.apply-btn:last-child {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    border: none;
}

.btn.apply-btn:last-child:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(255, 107, 53, 0.3);
}

/* Icon Styling */
.btn .material-icons {
    font-size: 16px;
    margin-right: 0.35rem;
}

.btn .material-icons {
    font-size: 14px;
}

/* MOBILE RESPONSIVENESS - Tablet */
@media (max-width: 768px) {
    .ezirent-wrapper {
        padding: 1rem 0.5rem;
    }

    .brand-title {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .ezirent-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .property-card {
        border-radius: 14px;
        margin: 0 0.5rem;
    }

    .image-container {
        height: 200px;
    }

    .property-content {
        padding: 1rem;
    }

    .property-title {
        font-size: 0.9rem;
    }

    .price {
        font-size: 0.65rem;
        margin-bottom: 0.7rem;
    }

    .price-amount {
        font-size: 0.75rem;
    }

    .property-details {
        flex-direction: column;
        align-items: flex-start;
    }

    .shared-info {
        align-self: flex-end;
    }

    .btn {
        font-size: 0.6rem;
        padding: 0.4rem 0.5rem;
        min-height: 32px;
    }

    .btn .material-icons {
        font-size: 12px;
    }
}

/* MOBILE RESPONSIVENESS - Large Phones */
@media (max-width: 480px) {
    .brand-title {
        font-size: 1.8rem;
    }

    .ezirent-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.7rem;
    }

    .property-card {
        margin: 0;
        border-radius: 12px;
    }

    .image-container {
        height: 180px;
    }

    .nav-btn {
        width: 32px;
        height: 32px;
    }

    .property-content {
        padding: 0.9rem;
    }

    .property-title {
        font-size: 0.7rem !important;
    }

    .location {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }

    .meta {
        font-size: 0.65rem;
    }

    .price {
        font-size: 0.6rem;
        margin-bottom: 0.6rem;
    }

    .price-amount {
        font-size: 0.7rem;
    }

    .view-details {
        gap: 0.3rem;
    }

    .btn {
        font-size: 0.55rem;
        padding: 0.3rem 0.4rem;
        min-height: 30px;
        border-radius: 6px;
    }

    .btn .material-icons {
        font-size: 11px;
    }
}

/* MOBILE RESPONSIVENESS - Small Phones */
@media (max-width: 360px) {
    .property-content {
        padding: 0.8rem;
    }

    .property-title {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }

    .location {
        font-size: 0.7rem;
    }

    .price {
        font-size: 0.65rem;
        margin-bottom: 0.6rem;
    }

    .price-amount {
        font-size: 0.75rem;
    }

    .btn {
        font-size: 0.5rem;
        padding: 0.3rem 0.4rem;
        min-height: 28px;
        border-radius: 5px;
    }

    .btn .material-icons {
        font-size: 10px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn:hover::before {
        left: -100%;
    }

    .btn:active {
        transform: scale(0.96);
        transition: transform 0.1s ease;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ====== FOOTER ====== */
.footer-container {
    font-family: 'Josefin Sans', sans-serif;
    background-color: #000;
    color: #fff;
    padding: 40px 40px 20px;
    font-size: 15px;
    width: 100%;
    box-sizing: border-box;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
    align-items: start;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.footer-section {
    min-width: 0;
    width: 100%;
}

.footer-section h4 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 16px;
    letter-spacing: 0.5px;
    color: #fff;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
    cursor: pointer;
    transition: color 0.3s ease;
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
}

.footer-section ul li:hover {
    color: #ccc;
}

.footer-section p {
    margin-bottom: 8px;
    line-height: 1.5;
    color: #fff;
    font-size: 15px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 14px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.footer-bottom p {
    margin: 0;
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #333;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.social-icons a:hover {
    background-color: #555;
    transform: translateY(-2px);
}

.social-icons img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* ====== RESPONSIVE STYLES ====== */
/* Large tablets and small laptops */
@media (max-width: 1028px) {
    .footer-container {
        padding: 35px 30px 20px;
    }

    .footer-content {
        gap: 35px;
    }

    .social-icons a {
        width: 38px;
        height: 38px;
    }

    .social-icons img {
        width: 22px;
        height: 22px;
    }
}

/* Medium tablets */
@media (max-width: 768px) {
    .footer-container {
        padding: 30px 25px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .footer-section h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .footer-section ul li {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .footer-section p {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .social-icons {
        justify-content: flex-start;
        gap: 12px;
        margin-top: 12px;
    }

    .social-icons a {
        width: 36px;
        height: 36px;
    }

    .social-icons img {
        width: 20px;
        height: 20px;
    }
}

/* Large mobile devices */
@media (max-width: 640px) {
    .footer-container {
        padding: 30px 20px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        text-align: left;
    }

    .footer-section h4 {
        font-size: 15px;
        margin-bottom: 15px;
    }

    .footer-section ul li {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .footer-section p {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .social-icons {
        justify-content: flex-start;
        gap: 12px;
        margin-top: 15px;
    }

    .social-icons a {
        width: 36px;
        height: 36px;
    }

    .social-icons img {
        width: 18px;
        height: 18px;
    }

    .footer-bottom {
        font-size: 13px;
        padding-top: 20px;
        justify-content: center;
        text-align: center;
    }
}

/* Standard mobile devices */
@media (max-width: 480px) {
    .footer-container {
        padding: 30px 20px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        text-align: left;
    }

    .footer-section h4 {
        font-size: 15px;
        margin-bottom: 15px;
    }

    .footer-section ul li {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .footer-section p {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .social-icons {
        justify-content: flex-start;
        gap: 10px;
        margin-top: 15px;
    }

    .social-icons a {
        width: 34px;
        height: 34px;
    }

    .social-icons img {
        width: 16px;
        height: 16px;
    }

    .footer-bottom {
        font-size: 13px;
        padding-top: 20px;
        justify-content: center;
        text-align: center;
    }
}

/* Small mobile devices */
@media (max-width: 380px) {
    .footer-container {
        padding: 25px 15px 15px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        text-align: left;
    }

    .footer-section h4 {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .footer-section ul li {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .footer-section p {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .social-icons {
        justify-content: flex-start;
        gap: 8px;
        margin-top: 12px;
    }

    .social-icons a {
        width: 32px;
        height: 32px;
    }

    .social-icons img {
        width: 14px;
        height: 14px;
    }

    .footer-bottom {
        font-size: 12px;
        padding-top: 15px;
        justify-content: center;
        text-align: center;
    }
}

/* Very small mobile devices */
@media (max-width: 320px) {
    .footer-container {
        padding: 25px 12px 15px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        text-align: left;
    }

    .footer-section h4 {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .footer-section ul li {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .footer-section p {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .social-icons {
        justify-content: flex-start;
        gap: 6px;
        margin-top: 10px;
    }

    .social-icons a {
        width: 28px;
        height: 28px;
    }

    .social-icons img {
        width: 12px;
        height: 12px;
    }

    .footer-bottom {
        font-size: 11px;
        padding-top: 15px;
        justify-content: center;
        text-align: center;
    }
}