* {
    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 */
    }
}


/* Import Josefin Sans font */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

/* CSS Variables for consistent theming */
:root {
    --primary-orange: #FF6B35;
    --secondary-orange: #FF8A50;
    --accent-orange: #FF9500;
    --light-orange: #FFF4F0;
    --dark-orange: #E55A2B;
    --pure-white: #FFFFFF;
    --off-white: #FAFAFA;
    --light-gray: #F5F5F5;
    --medium-gray: #E0E0E0;
    --dark-gray: #666666;
    --pure-black: #000000;
    --text-black: #1A1A1A;
    --text-gray: #4A4A4A;
    --border-color: #E8E8E8;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Base styles */
* {
    font-family: 'Josefin Sans', sans-serif;
}

.Apartment {
    display: none;
}

.Apartment.visible {
    display: block;
}

.apartment-listing {
    max-width: 1400px;
    margin: 50px auto 0 auto;
    background: var(--pure-white);
    padding: 40px;
    box-shadow: var(--shadow-light);
    border-radius: 12px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-orange);
}

.title-section h1 {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-black);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.address {
    display: flex;
    align-items: center;
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 400;
}

.location-icon {
    width: 12px;
    height: 12px;
    margin-right: 6px;
    fill: var(--primary-orange);
}

.badges {
    display: flex;
    gap: 8px;
}

.badge {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-light);
}

.featured {
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-orange));
    color: var(--pure-white);
}

.for-rent {
    background: var(--text-black);
    color: var(--pure-white);
}

.price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-orange);
    text-shadow: 0 2px 4px rgba(255, 107, 53, 0.1);
}

.price-period {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-gray);
}

.main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.main-image {
    width: 100%;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    position: relative;
}

.main-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.1), transparent);
    z-index: 1;
    pointer-events: none;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-image:hover img {
    transform: scale(1.05);
}

.side-images {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.side-image {
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.side-image:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.more-photos {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-black);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--primary-orange);
}

.photo-icon {
    width: 14px;
    height: 14px;
    fill: var(--primary-orange);
}

@media (max-width: 480px) {
    .apartment-listing {
        display: flex;
        flex-direction: column-reverse;
        padding: 20px;
        margin: 20px auto 0 auto;
    }

    .main-content {
        display: flex;
        flex-direction: column;
    }

    .main-image {
        height: 300px;
        border-radius: 12px;
    }

    .side-images {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .side-image {
        flex: 1 1 48%;
        height: 140px;
        border-radius: 12px;
    }

    .header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-top: 20px;
        border-bottom: 2px solid var(--light-orange);
        padding-bottom: 15px;
    }
}

@media (max-width: 380px) {
    .apartment-listing {
        display: flex;
        flex-direction: column-reverse;
        padding: 15px;
    }

    .main-content {
        display: flex;
        flex-direction: column;
    }

    .main-image {
        height: 220px;
        border-radius: 10px;
    }

    .side-images {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .side-image {
        flex: 1 1 48%;
        height: 120px;
        border-radius: 10px;
    }

    .header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-top: 15px;
        border-bottom: 2px solid var(--light-orange);
        padding-bottom: 12px;
    }
}

@media (max-width: 320px) {
    .apartment-listing {
        display: flex;
        flex-direction: column-reverse;
        padding: 12px;
    }

    .main-content {
        display: flex;
        flex-direction: column;
    }

    .main-image {
        height: 180px;
        border-radius: 8px;
    }

    .side-images {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }

    .side-image {
        flex: 1 1 48%;
        height: 100px;
        border-radius: 8px;
    }

    .header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 12px;
        border-bottom: 2px solid var(--light-orange);
        padding-bottom: 10px;
    }
}

.property-details {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    padding: 30px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--light-orange), var(--pure-white));
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

@media (max-width: 480px) {
    .property-details {
        display: none;
    }
}

.detail-item {
    text-align: center;
    position: relative;
    padding: 0 15px;
}

.detail-item:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 10%;
    bottom: 10%;
    left: 0;
    width: 2px;
    background: var(--primary-orange);
    opacity: 0.3;
}

.detail-label {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-black);
    margin-bottom: 4px;
}

.detail-description {
    font-size: 12px;
    color: var(--dark-gray);
    font-weight: 400;
}

.detail-icon {
    width: 28px;
    height: 28px;
    margin: 0 auto 10px;
    fill: var(--primary-orange);
}

.property-details-section {
    max-width: 1300px;
    margin: 0 auto;
    background: var(--pure-white);
    padding: 50px 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.left-content {
    padding-right: 20px;
}

.description-section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-black);
    margin-bottom: 25px;
    letter-spacing: -0.5px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), var(--accent-orange));
    border-radius: 2px;
}

.description-text {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 400;
}

/* Modified media queries for proper mobile layout */
@media (max-width: 1028px) {
    .property-details-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .left-content {
        padding-right: 0;
        order: 1;
        /* Ensure left content comes first */
    }

    .right-content {
        order: 2;
        /* Place right content below left content */
    }

    .description-section {
        width: 100%;
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .description-text {
        font-size: 15px;
        line-height: 1.7;
    }
}

@media (max-width: 768px) {
    .property-details-section {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 40px 15px;
    }

    .left-content {
        padding-right: 0;
        order: 1;
    }

    .right-content {
        order: 2;
        margin-top: 20px;
        /* Add some separation */
    }

    .description-section {
        width: 100%;
        margin-bottom: 35px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .description-text {
        font-size: 14px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .property-details-section {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 15px;
    }

    .left-content {
        padding-right: 0;
        order: 1;
    }

    .right-content {
        order: 2;
        margin-top: 25px;
    }

    .description-section {
        width: 100%;
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .description-text {
        font-size: 14px;
        line-height: 1.6;
    }
}

@media (max-width: 380px) {
    .property-details-section {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px 10px;
    }

    .left-content {
        padding-right: 0;
        order: 1;
    }

    .right-content {
        order: 2;
        margin-top: 20px;
    }

    .description-section {
        width: 100%;
        margin-bottom: 25px;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .description-text {
        font-size: 13px;
        line-height: 1.5;
    }
}

@media (max-width: 320px) {
    .property-details-section {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 15px 8px;
    }

    .left-content {
        padding-right: 0;
        order: 1;
    }

    .right-content {
        order: 2;
        margin-top: 18px;
    }

    .description-section {
        width: 100%;
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .description-text {
        font-size: 12px;
        line-height: 1.5;
    }
}

.address-section {
    position: relative;
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.google-maps-btn {
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-orange));
    color: var(--pure-white);
    border: none;
    padding: 14px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.google-maps-btn:hover {
    background: linear-gradient(135deg, var(--dark-orange), var(--primary-orange));
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.map-icon {
    width: 16px;
    height: 16px;
    fill: var(--pure-white);
}

.address-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    row-gap: 25px;
}

.address-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.address-label {
    font-size: 15px;
    color: var(--text-black);
    font-weight: 600;
}

.address-value {
    font-size: 15px;
    color: var(--text-gray);
    font-weight: 400;
}

@media (max-width: 1028px) {
    .address-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        gap: 10px;
    }

    .google-maps-btn {
        font-size: 13px;
        padding: 12px 20px;
    }

    .address-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        row-gap: 15px;
    }

    .address-label,
    .address-value {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .address-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        gap: 10px;
    }

    .google-maps-btn {
        font-size: 12px;
        padding: 10px 16px;
    }

    .address-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        row-gap: 15px;
    }

    .address-label,
    .address-value {
        font-size: 13px;
    }
}

@media (max-width: 380px) {
    .address-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        gap: 10px;
    }

    .google-maps-btn {
        font-size: 12px;
        padding: 10px 16px;
    }

    .address-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        row-gap: 15px;
    }

    .address-label,
    .address-value {
        font-size: 13px;
    }
}

@media (max-width: 320px) {
    .address-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        gap: 10px;
    }

    .google-maps-btn {
        font-size: 12px;
        padding: 10px 16px;
    }

    .address-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        row-gap: 15px;
    }

    .address-label,
    .address-value {
        font-size: 13px;
    }
}

.right-content {
    background: linear-gradient(135deg, var(--light-orange), var(--pure-white));
    padding: 35px;
    border-radius: 20px;
    height: fit-content;
    color: var(--text-black);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
}

.rent-summary-card {
    width: 420px;
    border: 2px solid var(--primary-orange);
    border-radius: 20px;
    padding: 35px;
    color: var(--text-black);
    background: var(--pure-white);
    box-shadow: var(--shadow-light);
}

.rent-header {
    margin-bottom: 30px;
    border-bottom: 2px solid var(--light-orange);
    padding-bottom: 20px;
}

.rent-title {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 6px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rent-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-orange);
}

.rent-period {
    font-size: 14px;
    color: var(--text-gray);
    margin-left: 4px;
    font-weight: 400;
}

.section {
    margin-bottom: 30px;
}

.duration-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-black);
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.dropdown {
    position: relative;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-black);
    cursor: pointer;
    background: var(--pure-white);
    transition: all 0.3s ease;
    font-weight: 500;
}

.dropdown:hover {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.dropdown-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    fill: var(--primary-orange);
}

.charges {
    font-size: 14px;
    margin-bottom: 25px;
    font-weight: 500;
}

.charge-row {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.divider {
    border: none;
    border-top: 2px solid var(--primary-orange);
    margin: 15px 0;
    opacity: 0.3;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    margin-bottom: 30px;
    padding: 15px 0;
    border-top: 2px solid var(--primary-orange);
    color: var(--text-black);
}

.total-amount {
    font-weight: 700;
    color: var(--primary-orange);
}

.login-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-orange));
    color: var(--pure-white);
    border: none;
    padding: 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-btn:hover {
    background: linear-gradient(135deg, var(--dark-orange), var(--primary-orange));
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.alt-btn {
    width: 100%;
    background: var(--pure-white);
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
    padding: 14px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.alt-btn:hover {
    background: var(--primary-orange);
    color: var(--pure-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.info-text {
    font-size: 12px;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 6px;
    font-weight: 400;
}

.signup-text {
    font-size: 12px;
    text-align: center;
    color: var(--text-gray);
    font-weight: 400;
}

.signup-text a {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
}

.signup-text a:hover {
    text-decoration: underline;
}

/* Updated right-content media queries for mobile bottom positioning */
@media (max-width: 1028px) {
    .right-content {
        padding: 25px;
        border-radius: 16px;
        width: 100%;
        /* Full width on smaller screens */
        max-width: none;
        /* Remove width restrictions */
    }

    .rent-summary-card {
        width: 100%;
        padding: 25px;
        border-radius: 16px;
    }

    .rent-header {
        margin-bottom: 20px;
    }

    .rent-title {
        font-size: 13px;
    }

    .rent-amount {
        font-size: 20px;
    }

    .rent-period {
        font-size: 13px;
    }

    .section {
        margin-bottom: 20px;
    }

    .duration-label {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .dropdown {
        padding: 10px 14px;
        font-size: 13px;
    }

    .charges {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .charge-row {
        margin: 15px 0;
    }

    .total-row {
        margin-bottom: 20px;
    }

    .login-btn,
    .alt-btn {
        font-size: 13px;
        padding: 12px;
    }

    .info-text,
    .signup-text {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .right-content {
        padding: 20px;
        border-radius: 12px;
        width: 100%;
        max-width: none;
    }

    .rent-summary-card {
        width: 100%;
        padding: 20px;
        border-radius: 12px;
    }

    .rent-header {
        margin-bottom: 18px;
    }

    .rent-title {
        font-size: 12px;
    }

    .rent-amount {
        font-size: 18px;
    }

    .rent-period {
        font-size: 12px;
    }

    .section {
        margin-bottom: 18px;
    }

    .duration-label {
        font-size: 11px;
        margin-bottom: 5px;
    }

    .dropdown {
        padding: 10px 12px;
        font-size: 12px;
    }

    .charges {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .charge-row {
        margin: 15px 0;
    }

    .total-row {
        margin-bottom: 18px;
    }

    .login-btn,
    .alt-btn {
        font-size: 12px;
        padding: 12px;
    }

    .info-text,
    .signup-text {
        font-size: 11px;
    }
}

@media (max-width: 380px) {
    .right-content {
        padding: 15px;
        border-radius: 10px;
        width: 100%;
        max-width: none;
    }

    .rent-summary-card {
        width: 100%;
        padding: 15px;
        border-radius: 10px;
    }

    .rent-header {
        margin-bottom: 15px;
    }

    .rent-title {
        font-size: 11px;
    }

    .rent-amount {
        font-size: 16px;
    }

    .rent-period {
        font-size: 11px;
    }

    .section {
        margin-bottom: 15px;
    }

    .duration-label {
        font-size: 10px;
        margin-bottom: 4px;
    }

    .dropdown {
        padding: 8px 10px;
        font-size: 12px;
    }

    .charges {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .charge-row {
        margin: 12px 0;
    }

    .total-row {
        margin-bottom: 15px;
    }

    .login-btn,
    .alt-btn {
        font-size: 12px;
        padding: 10px;
    }

    .info-text,
    .signup-text {
        font-size: 11px;
    }
}

@media (max-width: 380px) {
    .right-content {
        padding: 15px;
        border-radius: 10px;
    }

    .rent-summary-card {
        width: 100%;
        padding: 15px;
        border-radius: 10px;
    }

    .rent-header {
        margin-bottom: 15px;
    }

    .rent-title {
        font-size: 11px;
    }

    .rent-amount {
        font-size: 16px;
    }

    .rent-period {
        font-size: 11px;
    }

    .section {
        margin-bottom: 15px;
    }

    .duration-label {
        font-size: 10px;
        margin-bottom: 4px;
    }

    .dropdown {
        padding: 8px 10px;
        font-size: 12px;
    }

    .charges {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .charge-row {
        margin: 12px 0;
    }

    .total-row {
        margin-bottom: 15px;
    }

    .login-btn,
    .alt-btn {
        font-size: 12px;
        padding: 10px;
    }

    .info-text,
    .signup-text {
        font-size: 10px;
    }
}

@media (max-width: 320px) {
    .right-content {
        padding: 12px;
        border-radius: 8px;
    }

    .rent-summary-card {
        width: 100%;
        padding: 12px;
        border-radius: 8px;
    }

    .rent-header {
        margin-bottom: 12px;
    }

    .rent-title {
        font-size: 10px;
    }

    .rent-amount {
        font-size: 15px;
    }

    .rent-period {
        font-size: 10px;
    }

    .section {
        margin-bottom: 12px;
    }

    .duration-label {
        font-size: 10px;
        margin-bottom: 3px;
    }

    .dropdown {
        padding: 6px 8px;
        font-size: 11px;
    }

    .charges {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .charge-row {
        margin: 10px 0;
    }

    .total-row {
        margin-bottom: 12px;
    }

    .login-btn,
    .alt-btn {
        font-size: 11px;
        padding: 8px;
    }

    .info-text,
    .signup-text {
        font-size: 10px;
    }
}


.property-full-details {
    max-width: 1400px;
    margin: -80px auto 0 auto;
    /* Move up by 20px */
    background: white;
    padding: 30px;
}

/* Address Section */
.address-section {
    margin-bottom: 50px;
    /* More spacing below */
}

/* Details Section */
.details-section {
    margin-bottom: 50px;
}

.details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.edit-link {
    color: #999;
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.edit-icon {
    width: 14px;
    height: 14px;
    fill: #999;
}

.details-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.details-table tr:first-child td {
    background: #e8f5e8;
    font-weight: 600;
    color: #333;
    padding: 14px 18px;
    font-size: 14px;
}

.details-table tr:not(:first-child) td {
    padding: 12px 18px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.details-table tr:last-child td {
    border-bottom: none;
}

.details-table td:first-child {
    color: #333;
    font-weight: 500;
    width: 160px;
}

.details-table td:nth-child(2) {
    color: #666;
    width: 120px;
}

.details-table td:nth-child(3) {
    color: #333;
    font-weight: 500;
    width: 120px;
}

.details-table td:last-child {
    color: #666;
    text-align: right;
}

.price-highlight {
    color: #8BC34A;
    font-weight: 600;
}

/* Additional Details Section */
.additional-details-section {
    margin-bottom: 50px;
}

.additional-details-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.additional-details-table td {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
}

.additional-details-table td:first-child {
    color: #333;
    font-weight: 500;
    width: 160px;
}

.additional-details-table td:nth-child(2) {
    color: #666;
    width: 120px;
}

.additional-details-table td:nth-child(3) {
    color: #333;
    font-weight: 500;
    width: 120px;
}

.additional-details-table td:last-child {
    color: #666;
    text-align: right;
}

.gallery-section {
    margin-top: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item:first-child {
    grid-row: span 2;
    aspect-ratio: 4/5;
}


@media (max-width: 480px) {
    .property-full-details {
        padding: 15px;
        margin: -40px auto 0 auto;
        /* Less negative margin on very small screens */
    }

    .address-section,
    .details-section,
    .additional-details-section {
        margin-bottom: 25px;
    }

    .details-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .edit-link {
        font-size: 12px;
    }

    .details-table tr:first-child td,
    .details-table tr:not(:first-child) td,
    .additional-details-table td {
        font-size: 12px;
        padding: 8px 12px;
    }

    .details-table td:first-child,
    .additional-details-table td:first-child {
        width: 120px;
    }

    .details-table td:nth-child(2),
    .additional-details-table td:nth-child(2),
    .details-table td:nth-child(3),
    .additional-details-table td:nth-child(3) {
        width: 90px;
    }


}


@media (max-width: 380px) {
    .property-full-details {
        padding: 12px;
        margin: -30px auto 0 auto;
        /* Slightly less negative margin */
    }

    .address-section,
    .details-section,
    .additional-details-section {
        margin-bottom: 20px;
    }

    .details-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .edit-link {
        font-size: 11px;
    }

    .details-table tr:first-child td,
    .details-table tr:not(:first-child) td,
    .additional-details-table td {
        font-size: 11px;
        padding: 7px 10px;
    }

    .details-table td:first-child,
    .additional-details-table td:first-child {
        width: 110px;
    }

    .details-table td:nth-child(2),
    .additional-details-table td:nth-child(2),
    .details-table td:nth-child(3),
    .additional-details-table td:nth-child(3) {
        width: 80px;
    }


}

@media (max-width: 320px) {
    .property-full-details {
        padding: 10px;
        margin: -20px auto 0 auto;
        /* Less negative margin on tiny screens */
    }

    .address-section,
    .details-section,
    .additional-details-section {
        margin-bottom: 18px;
    }

    .details-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .edit-link {
        font-size: 10px;
    }

    .details-table tr:first-child td,
    .details-table tr:not(:first-child) td,
    .additional-details-table td {
        font-size: 10px;
        padding: 6px 8px;
    }

    .details-table td:first-child,
    .additional-details-table td:first-child {
        width: 100px;
    }

    .details-table td:nth-child(2),
    .additional-details-table td:nth-child(2),
    .details-table td:nth-child(3),
    .additional-details-table td:nth-child(3) {
        width: 70px;
    }

}

/* ====== 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;
    }
}