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

:root {
    --primary-height: 228px;
    --header-total: 288px;
    --link-border-color: #1e90ff;
    --active-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --active-color: #ffffff;
    --primary-blue: #148dc3;
    --primary-green: #2aa661;
    --accent-purple: #764ba2;

    /* Light mode colors */
    --bg-color: #ffffff;
    --text-color: #333333;
    --card-bg: rgba(255, 255, 255, 0.95);
    --navbar-bg: rgba(255, 255, 255, 0.98);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --border-color: rgba(0, 0, 0, 0.08);

    /* Font families */
    --font-primary: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, sans-serif;
    --font-heading: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    --font-logo: "Montserrat", "Gill Sans", "Gill Sans MT", Calibri,
        "Trebuchet MS", sans-serif;
    --font-accent: "Playfair Display", "Franklin Gothic Medium", "Arial Narrow",
        Arial, sans-serif;
    --font-bold: "Poppins", sans-serif;
}

.dark-mode {
    /* Dark mode colors */
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --card-bg: rgba(30, 30, 30, 0.95);
    --navbar-bg: rgba(30, 30, 30, 0.98);
    --shadow-color: rgba(102, 126, 234, 0.3);
    --border-color: rgba(255, 255, 255, 0.1);
    --primary-blue: #4fc3f7;
    --primary-green: #81c784;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-color);
    min-height: 100vh;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    font-weight: 600;
    /* Made all text bolder */
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

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

@keyframes loadingSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes loadingPulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

@keyframes loadingBar {
    0% {
        transform: scaleX(0);
    }

    50% {
        transform: scaleX(0.5);
    }

    100% {
        transform: scaleX(1);
    }
}

@keyframes slideAd {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }

    10% {
        opacity: 1;
        transform: translateX(0);
    }

    90% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-30px);
    }
}

/* Loading Screen Styles - Hidden by default */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: none !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-screen.hidden {
    display: none !important;
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(20, 141, 195, 0.2);
    border-top: 5px solid var(--primary-blue);
    border-radius: 50%;
    animation: loadingSpin 1s linear infinite;
    margin-bottom: 1.5rem;
}

.loading-text {
    font-size: 1.2rem;
    font-weight: 700;
    /* Bolder */
    color: var(--primary-blue);
    margin-bottom: 1rem;
    animation: loadingPulse 1.5s ease-in-out infinite;
    font-family: var(--font-bold);
}

.loading-bar {
    width: 200px;
    height: 6px;
    background: rgba(20, 141, 195, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    width: 100%;
    background: linear-gradient(
        90deg,
        var(--primary-blue),
        var(--primary-green)
    );
    border-radius: 3px;
    transform-origin: left;
    animation: loadingBar 2s ease-in-out;
}

/* Main Navbar */
.navbar {
    background: var(--navbar-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 2rem;
    /* Reduced padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 180px;
    /* Reduced height */
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.logo-section {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    animation: fadeInLeft 0.8s ease-out 0.2s both;
}

.logo-container {
    width: 280px;
    /* Reduced width */
    height: 140px;
    /* Reduced height */
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo-image {
    width: 180%;
    /* Reduced size */
    height: 130%;
    /* Reduced size */
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    margin-left: -25%;
    /* Adjusted margin */
}

.center-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    /* Reduced gap */
    max-width: 500px;
    /* Reduced max-width */
    margin-left: -10%;
    /* Adjusted margin */
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.main-title {
    font-size: 3rem;
    /* Reduced size */
    font-weight: 800;
    background: linear-gradient(
        135deg,
        #1592ce 0%,
        #2aa661 50%,
        rgba(255, 0, 0, 0.364) 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    /* Reduced letter spacing */
    position: relative;
    transition: all 0.3s ease;
    text-shadow: 0 2px 20px rgba(102, 126, 234, 0.3);
    font-family: var(--font-bold);
    animation: pulse 3s infinite;
}

.main-title:hover {
    transform: scale(1.02);
    letter-spacing: 3px;
    /* Reduced hover effect */
    animation: none;
}

.buttons-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    /* Reduced gap */
    width: 100%;
    justify-content: center;
}

.action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    /* Reduced gap */
    font-size: 1rem;
    /* Reduced font size */
    font-weight: 700;
    /* Bolder */
    color: #ffffff;
    padding: 1rem 1.8rem;
    /* Reduced padding */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    box-shadow: 0 2px 12px var(--shadow-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-family: var(--font-bold);
    border-radius: 8px;
    animation: bounceIn 0.8s ease-out 0.6s both;
    min-width: 160px;
    /* Reduced min-width */
}

.action-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.7s ease;
}

.action-button:hover::before {
    left: 100%;
}

.action-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.5);
}

.action-button i {
    font-size: 1.1rem;
    /* Reduced icon size */
    transition: transform 0.3s ease;
}

.action-button:hover i {
    transform: scale(1.2) rotate(10deg);
}

.action-button.buy-btn,
.action-button.sell-btn {
    background: linear-gradient(
        135deg,
        var(--primary-blue) 0%,
        rgba(0, 128, 0, 0.588) 100%
    );
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    /* Reduced gap */
    background: var(--card-bg);
    padding: 1rem 2rem;
    /* Reduced padding */
    box-shadow: 0 2px 12px var(--shadow-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 120px;
    /* Reduced height */
    flex-shrink: 0;
    position: relative;
    animation: fadeInRight 0.8s ease-out 0.8s both;
    border-radius: 12px;
}

.profile-image-container {
    position: relative;
    width: 100px;
    /* Reduced size */
    height: 100px;
    /* Reduced size */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

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

.profile-social-icons {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    /* Reduced gap */
    padding: 0.4rem;
    /* Reduced padding */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 1;
    transition: all 0.3s ease;
}

.profile-social-icons a {
    color: white;
    font-size: 0.9rem;
    /* Reduced size */
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
    width: 24px;
    /* Reduced size */
    height: 24px;
    /* Reduced size */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    text-decoration: none;
}

.profile-social-icons a:hover {
    background: rgb(18, 171, 231);
    transform: translateY(-3px) scale(1.1);
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    /* Reduced gap */
    position: relative;
}

.profile-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
    /* Reduced margin */
}

.profile-info-title {
    font-size: 0.9rem;
    /* Reduced size */
    color: rgb(9, 134, 183);
    font-weight: 700;
    /* Bolder */
    padding: 0.4rem 0.8rem;
    /* Reduced padding */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    font-family: var(--font-bold);
    border-radius: 6px;
}

.profile-info-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.7s ease;
}

.profile-info-title:hover::before {
    left: 100%;
}

.theme-toggle {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.4rem;
    /* Reduced size */
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.3rem;
    background: rgb(195, 99, 99);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.theme-toggle:hover {
    color: var(--primary-green);
    background: rgba(18, 171, 231, 0.1);
}

.profile-name {
    font-weight: 700;
    /* Bolder */
    font-size: 0.9rem;
    /* Reduced size */
    color: var(--primary-blue);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* Reduced gap */
    transition: all 0.3s ease;
    font-family: var(--font-bold);
}

.profile-name:hover {
    color: var(--primary-green);
    transform: translateX(3px);
}

.profile-phone {
    font-size: 0.9rem;
    /* Reduced size */
    color: var(--primary-blue);
    margin-left: -6px;
    font-weight: 700;
    /* Bolder */
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* Reduced gap */
    transition: all 0.3s ease;
    font-family: var(--font-bold);
}

.profile-phone:hover {
    color: var(--primary-green);
    transform: translateX(3px);
}

.profile-name i,
.profile-phone i {
    font-size: 1rem;
    /* Reduced size */
    transition: transform 0.3s ease;
}

.profile-name:hover i,
.profile-phone:hover i {
    transform: rotate(360deg);
}

.profile-avatar-mobile {
    display: none;
    position: relative;
    z-index: 1002;
}

.avatar-button-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.avatar-button {
    width: clamp(56px, 12vw, 68px);
    height: clamp(56px, 12vw, 68px);
    border-radius: 50%;
    border: 3px solid var(--primary-blue);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(18, 171, 231, 0.3);
    object-fit: cover;
    display: block;
}

.avatar-button:hover {
    border-color: var(--primary-green);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 128, 0, 0.4);
}

.dropdown-indicator {
    position: absolute;
    bottom: -2px;
    right: 2px;
    background: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.dropdown-indicator i {
    font-size: 0.7rem;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.avatar-button-wrapper:hover .dropdown-indicator {
    background: var(--primary-blue);
}

.avatar-button-wrapper:hover .dropdown-indicator i {
    color: white;
}

.dropdown-menu.active .dropdown-indicator i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    padding: 0.8rem;
    min-width: 220px;
    /* Reduced width */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1003;
    border: 1px solid rgba(18, 171, 231, 0.1);
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 16px;
    width: 16px;
    height: 16px;
    background: var(--card-bg);
    transform: rotate(45deg);
    border-top: 1px solid rgba(18, 171, 231, 0.1);
    border-left: 1px solid rgba(18, 171, 231, 0.1);
    z-index: 1003;
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-header {
    padding: 0.7rem 0.5rem;
    /* Reduced padding */
    border-bottom: 2px solid rgba(18, 171, 231, 0.2);
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
    font-weight: 700;
    /* Bolder */
    font-size: 0.9rem;
    /* Reduced size */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-bold);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    /* Reduced gap */
    padding: 0.7rem 0.5rem;
    /* Reduced padding */
    border-radius: 8px;
    transition: all 0.2s ease;
    color: var(--text-color);
    font-weight: 700;
    /* Bolder */
    font-family: var(--font-bold);
    font-size: 0.9rem;
    /* Reduced size */
    margin-bottom: 0.3rem;
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-item:hover {
    background: linear-gradient(
        135deg,
        rgba(18, 171, 231, 0.1),
        rgba(0, 128, 0, 0.1)
    );
    color: var(--primary-green);
    transform: translateX(4px);
}

.dropdown-item i {
    font-size: 0.9rem;
    /* Reduced size */
    width: 18px;
    /* Reduced width */
    text-align: center;
    color: var(--primary-blue);
    transition: all 0.2s ease;
}

.dropdown-item:hover i {
    color: var(--primary-green);
    transform: scale(1.1);
}

.dropdown-item-text {
    flex: 1;
}

/* Secondary Navbar - Updated for horizontal scrolling */
.secondary-navbar {
    background: var(--navbar-bg);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 12px var(--shadow-color);
    display: flex;
    justify-content: flex-start;
    /* Changed from center to flex-start */
    align-items: center;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    height: 50px;
    /* Reduced height */
    padding: 0 1rem;
    /* Reduced padding */
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out 1s both;
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
    /* Enable horizontal scrolling */
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
}

.secondary-navbar::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome/Safari */
}

.secondary-navbar:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.menu {
    list-style: none;
    display: flex;
    gap: 0.8rem;
    /* Reduced gap */
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    /* Prevent shrinking */
}

.menu li {
    position: relative;
    flex-shrink: 0;
    /* Prevent shrinking */
}

.menu li a {
    font-size: 0.9rem;
    /* Reduced font size */
    font-weight: 700;
    /* Bolder */
    color: var(--primary-blue);
    text-decoration: none;
    padding: 0.6rem 1rem;
    /* Reduced padding */
    border-radius: 8px;
    border: 1px solid var(--link-border-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
    font-family: var(--font-bold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* Reduced gap */
    white-space: nowrap;
    flex-shrink: 0;
    /* Prevent shrinking */
}

.menu li a i {
    font-size: 1rem;
    /* Reduced size */
    transition: transform 0.3s ease;
}

.menu li a:hover i,
.menu li a.active i {
    transform: scale(1.1);
    color: var(--active-color);
}

.menu li a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
    z-index: -1;
}

.menu li a:hover::before,
.menu li a.active::before {
    left: 100%;
}

.menu li a:hover,
.menu li a.active {
    background: var(--active-bg);
    color: var(--active-color);
    border-color: var(--link-border-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.join-agents {
    font-size: 0.9rem;
    /* Reduced font size */
    font-weight: 700;
    /* Bolder */
    color: white;
    text-decoration: none;
    padding: 0.6rem 1rem;
    /* Reduced padding */
    border: 1px solid var(--link-border-color);
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
    font-family: var(--font-bold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* Reduced gap */
    white-space: nowrap;
    border-radius: 8px;
    flex-shrink: 0;
    /* Prevent shrinking */
}

.join-agents::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
    z-index: -1;
}

.join-agents:hover::before {
    left: 100%;
}

.join-agents:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
    border-color: var(--link-border-color);
}

.join-agents i {
    font-size: 1rem;
    /* Reduced size */
    color: var(--active-color);
    transition: transform 0.3s ease;
}

.join-agents:hover i {
    transform: scale(1.1);
}

/* Mobile Menu Styles */
.mobile-menu-bar {
    display: none;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.mobile-social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.mobile-social-icons a {
    color: var(--primary-blue);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.mobile-social-icons a:hover {
    color: var(--primary-green);
    transform: scale(1.1);
}

.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    padding: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.hamburger-menu:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.hamburger-menu span {
    width: 24px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.hamburger-menu span:nth-child(2) {
    margin: 4px 0;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-sidebar {
    position: fixed;
    left: -100%;
    top: 230px;
    /* Adjusted for reduced navbar height */
    width: 280px;
    height: calc(100vh - 230px);
    /* Adjusted for reduced navbar height */
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
    z-index: 998;
    transition: left 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow-y: auto;
    padding: 1.5rem 0;
    border-radius: 0 12px 12px 0;
}

.mobile-sidebar.active {
    left: 0;
}

.mobile-sidebar-overlay {
    position: fixed;
    top: 230px;
    /* Adjusted for reduced navbar height */
    left: 0;
    width: 100%;
    height: calc(100vh - 230px);
    /* Adjusted for reduced navbar height */
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 997;
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--primary-blue);
    font-weight: 700;
    /* Bolder */
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    font-family: var(--font-bold);
}

.mobile-menu-item:hover,
.mobile-menu-item.active {
    background: linear-gradient(90deg, rgba(18, 171, 231, 0.15), transparent);
    border-left-color: var(--primary-blue);
    color: var(--primary-green);
    transform: translateX(5px);
}

.mobile-menu-item i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}

.mobile-menu-item:hover i {
    transform: scale(1.15);
}

/* Main Content Section */
.main-content {
    display: flex;
    min-height: calc(100vh - 230px);
    /* Adjusted for reduced navbar height */
    padding: 2rem;
    gap: 2rem;
    animation: fadeInUp 0.8s ease-out 1.2s both;
    flex: 1;
}

/* Left Navigation Panel */
.left-panel {
    flex: 4;
    background: var(--card-bg);
    padding: 2rem;
    box-shadow: 0 2px 12px var(--shadow-color);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin-left: 0;
    width: 100%;
    animation: fadeInLeft 0.8s ease-out 1.4s both;
    overflow-y: auto;
    height: fit-content;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    /* Bolder */
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: var(--font-accent);
    position: relative;
}

/* Search Container Styles */
.search-container {
    width: 100%;
    margin-bottom: 2rem;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 1.2rem 1.5rem;
    font-size: 1.2rem;
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--text-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-family: var(--font-bold);
    font-weight: 600;
    /* Bolder */
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 6px 20px rgba(0, 128, 0, 0.2);
    transform: translateY(-2px);
}

.search-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-blue);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.search-input:focus + .search-icon {
    color: var(--primary-green);
    transform: translateY(-50%) scale(1.1);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.search-results.active {
    display: block;
    animation: fadeInUp 0.3s ease-out;
}

.search-result-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    /* Bolder */
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: linear-gradient(90deg, rgba(18, 171, 231, 0.1), transparent);
    transform: translateX(5px);
}

.search-result-item i {
    color: var(--primary-blue);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.search-result-item .result-text {
    flex: 1;
    font-weight: 600;
    /* Bolder */
}

.search-result-item .result-category {
    font-size: 0.8rem;
    color: var(--primary-green);
    background: rgba(42, 166, 97, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    /* Bolder */
}

.no-results {
    padding: 1.5rem;
    text-align: center;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    /* Bolder */
}

.no-results i {
    font-size: 2.5rem;
    color: #ccc;
}

/* Property Listings Section */
.property-listings {
    display: none;
    width: 100%;
}

.property-listings.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.property-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-button {
    padding: 0.8rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    /* Bolder */
    font-family: var(--font-bold);
}

.filter-button.active {
    background: linear-gradient(
        135deg,
        var(--primary-blue) 0%,
        var(--primary-green) 100%
    );
    color: white;
    border-color: transparent;
}

.filter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.property-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.property-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.property-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.property-card:hover .property-image {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-green);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    /* Bolder */
    z-index: 2;
    font-family: var(--font-bold);
}

.property-badge.sale {
    background: var(--primary-blue);
}

.property-badge.rent {
    background: var(--primary-green);
}

.property-badge.hot {
    background: #ff6b6b;
}

.property-badge.featured {
    background: #ffc107;
    color: #333;
}

.property-content {
    padding: 1.5rem;
}

.property-title {
    font-size: 1.3rem;
    font-weight: 700;
    /* Bolder */
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    font-family: var(--font-bold);
}

.property-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    /* Bolder */
}

.property-location i {
    color: var(--primary-blue);
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    /* Bolder */
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-family: var(--font-bold);
}

.property-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.property-detail {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-color);
    font-weight: 600;
    /* Bolder */
}

.property-detail i {
    color: var(--primary-blue);
}

.property-agent {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.agent-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.agent-info {
    flex: 1;
}

.agent-name {
    font-weight: 700;
    /* Bolder */
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-family: var(--font-bold);
}

.agent-phone {
    font-size: 0.8rem;
    color: var(--text-color);
    font-weight: 600;
    /* Bolder */
}

.property-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.property-action-button {
    flex: 1;
    padding: 0.6rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    /* Bolder */
    font-size: 0.8rem;
    text-align: center;
    font-family: var(--font-bold);
}

.property-action-button:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
}

.property-action-button.secondary {
    background: transparent;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
}

.property-action-button.secondary:hover {
    background: var(--primary-blue);
    color: white;
}

/* Property Detail View */
.property-detail-view {
    display: none;
    width: 100%;
}

.property-detail-view.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.property-detail-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.property-detail-gallery {
    flex: 1;
    position: relative;
}

.property-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

.property-thumbnails {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.property-thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.property-thumbnail.active {
    opacity: 1;
    border: 2px solid var(--primary-blue);
}

.property-detail-info {
    flex: 1;
}

.property-detail-title {
    font-size: 2rem;
    font-weight: 700;
    /* Bolder */
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-family: var(--font-bold);
}

.property-detail-price {
    font-size: 2rem;
    font-weight: 700;
    /* Bolder */
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-family: var(--font-bold);
}

.property-detail-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    /* Bolder */
}

.property-detail-location i {
    color: var(--primary-blue);
}

.property-detail-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.property-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    /* Bolder */
}

.property-feature i {
    color: var(--primary-blue);
    font-size: 1.2rem;
    width: 24px;
}

.property-detail-description {
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 600;
    /* Bolder */
}

.property-detail-agent {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.agent-detail-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.agent-detail-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.agent-detail-info h3 {
    margin-bottom: 0.3rem;
    color: var(--primary-blue);
    font-family: var(--font-bold);
    font-weight: 700;
    /* Bolder */
}

.agent-detail-rating {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 0.5rem;
}

.agent-detail-rating i {
    color: #ffc107;
}

.agent-contact {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.contact-button {
    flex: 1;
    padding: 0.8rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    /* Bolder */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-bold);
}

.contact-button:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
}

/* Right Panel with Agent Slider - Small */
.right-panel {
    flex: 1;
    background: var(--card-bg);
    padding: 2rem;
    box-shadow: 0 2px 12px var(--shadow-color);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    max-width: 350px;
    border-radius: 12px;
    margin-right: 0;
    width: 100%;
    animation: fadeInRight 0.8s ease-out 1.4s both;
    height: fit-content;
}

.agent-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    /* Bolder */
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: var(--font-accent);
    position: relative;
}

.agent-slider-container {
    position: relative;
    flex: 1;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(240, 248, 255, 0.8) 100%
    );
    padding: 1.5rem;
    height: 320px;
    border-radius: 12px;
}

.dark-mode .agent-slider-container {
    background: linear-gradient(
        135deg,
        rgba(30, 30, 30, 0.8) 0%,
        rgba(50, 50, 50, 0.8) 100%
    );
}

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

.agent-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 1rem;
    text-align: left;
    animation: fadeInUp 0.8s ease-out;
}

.agent-image-container {
    position: relative;
    margin-bottom: 1.2rem;
    align-self: center;
}

.agent-image {
    width: 200px;
    height: 180px;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.agent-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.agent-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--primary-green);
    color: white;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    animation: pulse 2s infinite;
    border-radius: 50%;
}

/* Hide verification text on desktop, show only on mobile */
.agent-verification {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff6b6b;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    /* Bolder */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: bounceIn 0.8s ease-out;
    display: none;
    /* Hidden on desktop by default */
}

.agent-verification.verified {
    background: var(--primary-green);
}

/* Show verification icon only on mobile */
.agent-verification-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff6b6b;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    /* Bolder */
    animation: bounceIn 0.8s ease-out;
    display: none;
    /* Hidden on desktop by default */
}

.agent-verification-icon.verified {
    background: var(--primary-green);
}

.agent-name {
    font-size: 1.3rem;
    font-weight: 700;
    /* Bolder */
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-family: var(--font-bold);
    text-align: left;
    transition: all 0.3s ease;
    margin-left: 0;
}

.agent-name:hover {
    color: var(--primary-green);
    transform: translateX(5px);
}

.agent-role {
    font-size: 1rem;
    color: var(--primary-green);
    margin-bottom: 0.6rem;
    font-weight: 700;
    /* Bolder */
    text-align: left;
    margin-left: 0;
    font-family: var(--font-bold);
}

.agent-phone {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: left;
    transition: all 0.3s ease;
    margin-left: 0;
    font-weight: 600;
    /* Bolder */
}

.agent-phone:hover {
    color: var(--primary-blue);
    transform: translateX(3px);
}

.agent-location {
    font-size: 0.9rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: left;
    transition: all 0.3s ease;
    margin-left: 0;
    font-weight: 600;
    /* Bolder */
}

.agent-location:hover {
    color: var(--primary-blue);
    transform: translateX(3px);
}

.agent-rating {
    display: flex;
    gap: 0.2rem;
    margin-top: 0.5rem;
    text-align: left;
    justify-content: flex-start;
    margin-left: 0;
}

.agent-rating i {
    color: #ffc107;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.agent-rating:hover i {
    transform: scale(1.2);
}

.slider-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    padding: 0 1rem;
    z-index: 10;
}

.slider-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--primary-blue) 0%,
        var(--primary-green) 100%
    );
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    animation: float 3s ease-in-out infinite;
}

.slider-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    animation: none;
}

.slider-btn i {
    font-size: 0.9rem;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

/* Advertisement Slider */
.ad-slider-container {
    margin-top: 1.5rem;
    height: 220px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(240, 248, 255, 0.9) 100%
    );
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    position: relative;
}

.dark-mode .ad-slider-container {
    background: linear-gradient(
        135deg,
        rgba(30, 30, 30, 0.9) 0%,
        rgba(50, 50, 50, 0.9) 100%
    );
}

.ad-slider {
    display: flex;
    height: 100%;
    position: relative;
}

.ad-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: slideAd 15s infinite;
}

.ad-slide:nth-child(1) {
    animation-delay: 0s;
}

.ad-slide:nth-child(2) {
    animation-delay: 5s;
}

.ad-slide:nth-child(3) {
    animation-delay: 10s;
}

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

.ad-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 1.2rem;
    text-align: center;
}

.ad-title {
    font-size: 1.2rem;
    font-weight: 700;
    /* Bolder */
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-family: var(--font-bold);
}

.ad-description {
    font-size: 0.9rem;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 600;
    /* Bolder */
}

.ad-cta {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    /* Bolder */
    transition: all 0.3s ease;
    font-family: var(--font-bold);
}

.ad-cta:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
}

/* Mobile Styles (up to 767px) */
@media (max-width: 767px) {
    body {
        padding-top: 0;
    }

    .navbar {
        padding: 0.6rem 0.8rem;
        height: 70px;
        position: fixed;
        top: 0;
    }

    .logo-section {
        margin-left: 0;
    }

    .logo-container {
        width: 140px;
        height: 70px;
    }

    .logo-image {
        width: 180%;
        height: 180%;
        margin-left: -50%;
    }

    .center-section {
        margin-left: -6%;
        gap: 0.4rem;
        max-width: 280px;
    }

    .main-title {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }

    .buttons-row {
        gap: 0.6rem;
        width: 100%;
    }

    .action-button {
        font-size: 0.75rem;
        padding: 0.5rem 0.8rem;
        gap: 0.4rem;
        border-radius: 8px;
        min-width: auto;
    }

    .action-button i {
        font-size: 0.8rem;
    }

    .action-button span {
        display: none;
    }

    .action-button.buy-btn::after {
        content: "Rutanda";
        font-size: 0.75rem;
    }

    .action-button.sell-btn::after {
        content: "Buy/Sell";
        font-size: 0.75rem;
    }

    .profile-section {
        display: none;
    }

    .profile-avatar-mobile {
        display: block;
    }

    .avatar-button {
        width: 50px;
        height: 50px;
        border-width: 2px;
    }

    .dropdown-indicator {
        display: none;
    }

    .dropdown-menu {
        position: fixed;
        top: 70px;
        right: 0.8rem;
        min-width: 240px;
        padding: 0.8rem;
        z-index: 1003;
    }

    .dropdown-menu::before {
        right: 16px;
    }

    .dropdown-header {
        padding: 0.7rem 0.5rem;
        font-size: 0.85rem;
    }

    .dropdown-item {
        padding: 0.8rem 0.6rem;
        font-size: 0.9rem;
    }

    .dropdown-item i {
        font-size: 0.95rem;
    }

    /* Mobile Navigation */
    .secondary-navbar {
        height: 50px;
        padding: 0 1rem;
        justify-content: space-between;
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
        top: 70px;
        position: fixed;
    }

    .menu {
        display: none;
    }

    .mobile-menu-bar {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .mobile-social-icons {
        gap: 0.8rem;
    }

    .mobile-social-icons a {
        font-size: 1.1rem;
    }

    .join-agents {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .hamburger-menu {
        width: 36px;
        height: 36px;
        padding: 6px;
    }

    .hamburger-menu span {
        width: 20px;
        height: 2.5px;
    }

    .mobile-sidebar {
        top: 120px;
        height: calc(100vh - 120px);
    }

    .mobile-sidebar-overlay {
        top: 120px;
        height: calc(100vh - 120px);
    }

    /* Mobile Main Content */
    .main-content {
        flex-direction: column;
        padding: 1rem;
        gap: 1.5rem;
        margin-top: 120px;
    }

    .left-panel,
    .right-panel {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
        margin: 0;
    }

    /* Mobile Property Listings */
    .property-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .property-card {
        width: 100%;
        margin: 0;
    }

    .property-detail-header {
        flex-direction: column;
    }

    .property-main-image {
        height: 250px;
    }

    .property-detail-features {
        grid-template-columns: 1fr;
    }

    .property-filters {
        justify-content: center;
    }

    .filter-button {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }

    /* Mobile Agent Slider Improvements */
    .agent-slider-container {
        height: 280px;
        padding: 1rem;
    }

    .agent-slide {
        align-items: flex-start;
        padding: 0.5rem;
    }

    .agent-image-container {
        align-self: center;
    }

    .agent-image {
        width: 130px;
        height: 130px;
    }

    .agent-name {
        font-size: 1.1rem;
        text-align: left;
        margin-left: 0;
    }

    .agent-role {
        font-size: 0.9rem;
        text-align: left;
        margin-left: 0;
    }

    .agent-phone,
    .agent-location {
        font-size: 0.8rem;
        text-align: left;
        margin-left: 0;
    }

    /* Show verification icon only on mobile */
    .agent-verification {
        display: none;
        /* Keep text hidden on mobile too */
    }

    .agent-verification-icon {
        display: flex;
        /* Show icon on mobile */
    }

    .ad-slider-container {
        height: 130px;
    }

    .ad-title {
        font-size: 1rem;
    }

    .ad-description {
        font-size: 0.8rem;
    }

    .right-panel {
        max-width: 100%;
    }
}

/* Very Small Mobile Devices (up to 480px) */
@media (max-width: 480px) {
    .navbar {
        padding: 0.5rem 0.7rem;
    }

    .logo-container {
        width: 120px;
        height: 60px;
    }

    .center-section {
        max-width: 240px;
        gap: 0.3rem;
        margin-left: -12%;
    }

    .main-title {
        font-size: 1.1rem;
        letter-spacing: 0.8px;
    }

    .buttons-row {
        gap: 0.5rem;
    }

    .action-button {
        font-size: 0.7rem;
        padding: 0.45rem 0.7rem;
        border-radius: 8px;
    }

    .action-button i {
        font-size: 0.75rem;
    }

    .action-button.buy-btn::after,
    .action-button.sell-btn::after {
        font-size: 0.7rem;
    }

    .avatar-button {
        width: 46px;
        height: 46px;
        border-width: 2px;
    }

    .dropdown-menu {
        top: 70px;
        min-width: 220px;
        right: 0.7rem;
        padding: 0.7rem;
    }

    .dropdown-menu::before {
        right: 14px;
    }

    .dropdown-header {
        font-size: 0.8rem;
        padding: 0.6rem 0.4rem;
    }

    .dropdown-item {
        padding: 0.7rem 0.5rem;
        font-size: 0.85rem;
    }

    .dropdown-item i {
        font-size: 0.9rem;
    }

    .hamburger-menu {
        width: 36px;
        height: 36px;
        padding: 6px;
        border-radius: 8px;
    }

    .hamburger-menu span {
        width: 20px;
        height: 2.5px;
        border-radius: 2px;
    }

    .mobile-sidebar {
        width: 260px;
    }

    .mobile-menu-item {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }

    .mobile-menu-item i {
        font-size: 1.1rem;
    }

    .left-panel,
    .right-panel {
        padding: 1.5rem;
    }

    .property-detail-title {
        font-size: 1.5rem;
    }

    .property-detail-price {
        font-size: 1.5rem;
    }

    .agent-contact {
        flex-direction: column;
    }

    .agent-slider-container {
        height: 260px;
    }

    .agent-image {
        width: 220px;
        height: 150px;
        border: none;
    }

    .agent-name {
        font-size: 1rem;
    }

    .agent-role {
        font-size: 0.85rem;
    }

    .agent-phone,
    .agent-location {
        font-size: 0.75rem;
    }

    .ad-slider-container {
        height: 120px;
    }

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

    .ad-description {
        font-size: 0.75rem;
    }
}

/* New Styles for Independent Navigation Sections */
.navigation-section {
    display: none;
    width: 100%;
}

.navigation-section.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.section-search-container {
    margin-bottom: 2rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-bold);
    font-size: 0.9rem;
    font-weight: 600;
    /* Bolder */
}

.breadcrumb-item {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    /* Bolder */
}

.breadcrumb-item:hover {
    color: var(--primary-green);
}

.breadcrumb-separator {
    color: var(--text-color);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    /* Bolder */
    color: var(--primary-blue);
    margin-bottom: 0;
    text-align: left;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-family: var(--font-bold);
    font-weight: 600;
    /* Bolder */
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.section-item {
    background: linear-gradient(
        135deg,
        var(--primary-blue) 0%,
        var(--primary-green) 100%
    );
    border-radius: 12px;
    padding: 1.5rem;
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.section-item::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.7s ease;
}

.section-item:hover::before {
    left: 100%;
}

.section-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.section-item-title {
    font-size: 1.3rem;
    font-weight: 700;
    /* Bolder */
    margin-bottom: 0.5rem;
    font-family: var(--font-bold);
}

.section-item-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    font-weight: 600;
    /* Bolder */
}

.section-item-count {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    /* Bolder */
}

.section-item-icon {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 2rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.section-item:hover .section-item-icon {
    transform: scale(1.2) rotate(10deg);
    opacity: 1;
}

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

.nav-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 0.8rem;
    background: linear-gradient(
        135deg,
        var(--primary-blue) 0%,
        var(--primary-green) 100%
    );
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-height: 100px;
    position: relative;
    overflow: hidden;
    animation: bounceIn 0.8s ease-out;
    border: none;
    cursor: pointer;
    width: 100%;
}

.nav-button:nth-child(1) {
    animation-delay: 1.5s;
}

.nav-button:nth-child(2) {
    animation-delay: 1.6s;
}

.nav-button:nth-child(3) {
    animation-delay: 1.7s;
}

.nav-button:nth-child(4) {
    animation-delay: 1.8s;
}

.nav-button:nth-child(5) {
    animation-delay: 1.9s;
}

.nav-button:nth-child(6) {
    animation-delay: 2s;
}

.nav-button::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;
}

.nav-button:hover::before {
    left: 100%;
}

.nav-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.nav-button i {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.nav-button:hover i {
    transform: scale(1.1) rotate(5deg);
}

.nav-button span {
    font-size: 1rem;
    font-weight: 700;
    /* Bolder */
    font-family: var(--font-bold);
    line-height: 1.2;
}

/* Mobile Styles - Single column layout */
@media (max-width: 767px) {
    .nav-buttons-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .nav-button {
        padding: 1.5rem 1rem;
        min-height: 80px;
        width: 100%;
        margin: 0 auto;
    }

    .nav-button:hover {
        transform: translateY(-2px) scale(1.01);
    }

    .nav-button i {
        font-size: 2rem;
    }

    .nav-button span {
        font-size: 1.1rem;
    }
}

/* Very Small Mobile Devices */
@media (max-width: 480px) {
    .nav-buttons-grid {
        gap: 0.7rem;
    }

    .nav-button {
        padding: 1.2rem 0.6rem;
        min-height: 55px;
    }

    .nav-button i {
        font-size: 1.8rem;
    }

    .nav-button span {
        font-size: 1rem;
    }
}

/* Back Navigation */
.back-navigation {
    margin-bottom: 1.5rem;
    display: none;
}

.back-navigation.active {
    display: block;
    animation: fadeInLeft 0.5s ease-out;
}

.back-button {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    /* Bolder */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: var(--font-bold);
}

.back-button:hover {
    transform: translateX(-5px);
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.4);
}

.back-button i {
    transition: transform 0.3s ease;
}

.back-button:hover i {
    transform: translateX(-3px);
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    animation: none;
    background: #128c7e;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(
        135deg,
        var(--primary-blue) 0%,
        var(--primary-green) 100%
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* Agents Page Styles */
.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.agent-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
}

.agent-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.agent-card-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.agent-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.agent-card:hover .agent-card-image {
    transform: scale(1.05);
}

.agent-card-content {
    padding: 1.5rem;
}

.agent-card-name {
    font-size: 1.3rem;
    font-weight: 700;
    /* Bolder */
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    font-family: var(--font-bold);
}

.agent-card-role {
    font-size: 1rem;
    color: var(--primary-green);
    margin-bottom: 0.8rem;
    font-weight: 700;
    /* Bolder */
    font-family: var(--font-bold);
}

.agent-card-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    /* Bolder */
}

.agent-card-location i {
    color: var(--primary-blue);
}

.agent-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.agent-card-button {
    flex: 1;
    padding: 0.6rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    /* Bolder */
    font-size: 0.8rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    font-family: var(--font-bold);
}

.agent-card-button:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
}

.agent-card-button.whatsapp {
    background: #25d366;
}

.agent-card-button.whatsapp:hover {
    background: #128c7e;
}

/* Agent Detail View */
.agent-detail-view {
    display: none;
    width: 100%;
}

.agent-detail-view.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.agent-detail-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.agent-detail-image-container {
    flex: 1;
    position: relative;
}

.agent-detail-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
}

.agent-detail-info {
    flex: 1;
}

.agent-detail-name {
    font-size: 2rem;
    font-weight: 700;
    /* Bolder */
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-family: var(--font-bold);
}

.agent-detail-role {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-weight: 700;
    /* Bolder */
    font-family: var(--font-bold);
}

.agent-detail-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    /* Bolder */
}

.agent-detail-location i {
    color: var(--primary-blue);
}

.agent-detail-contact {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.agent-detail-phone,
.agent-detail-email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    /* Bolder */
}

.agent-detail-phone i,
.agent-detail-email i {
    color: var(--primary-blue);
}

.agent-detail-description {
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 600;
    /* Bolder */
}

.agent-detail-properties {
    margin-top: 2rem;
}

.agent-detail-properties-title {
    font-size: 1.5rem;
    font-weight: 700;
    /* Bolder */
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-family: var(--font-bold);
}

/* Footer Styles */
.footer {
    background: var(--primary-blue);
    color: white;
    padding: 3rem 2rem;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    max-width: 200px;
    height: auto;
}

.footer-description {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 600;
    /* Bolder */
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    /* Bolder */
    margin-bottom: 1.5rem;
    position: relative;
    font-family: var(--font-bold);
}

.footer-title::after {
    content: "";
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 50px;
    height: 2px;
    background: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    /* Bolder */
}

.footer-links a:hover {
    color: var(--primary-green);
    transform: translateX(5px);
}

.footer-contact-info {
    list-style: none;
}

.footer-contact-info li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    /* Bolder */
}

.footer-contact-info i {
    font-size: 1.2rem;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    /* Bolder */
}

/* Mobile Footer Styles */
@media (max-width: 767px) {
    .footer {
        padding: 2rem 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-section {
        width: 100%;
    }

    .footer-links a {
        margin-left: 0;
    }
}

/* Search functionality improvements */
.search-container {
    position: relative;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.search-suggestions.active {
    display: block;
    animation: fadeInUp 0.3s ease-out;
}

.search-suggestion-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    /* Bolder */
}

.search-suggestion-item:last-child {
    border-bottom: none;
}

.search-suggestion-item:hover {
    background: linear-gradient(90deg, rgba(18, 171, 231, 0.1), transparent);
    transform: translateX(5px);
}

.search-suggestion-item i {
    color: var(--primary-blue);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.search-suggestion-item .suggestion-text {
    flex: 1;
    font-weight: 600;
    /* Bolder */
}

.search-suggestion-item .suggestion-category {
    font-size: 0.8rem;
    color: var(--primary-green);
    background: rgba(42, 166, 97, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    /* Bolder */
}

/* Materials Section Styles */
.materials-section {
    display: none;
    width: 100%;
}

.materials-section.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Desktop: 3 columns, Tablet: 2 columns, Mobile: 1 column */
@media (min-width: 1024px) {
    .materials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1023px) and (min-width: 768px) {
    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .materials-grid {
        grid-template-columns: 1fr;
    }
}

.material-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
}

.material-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.material-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.material-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.material-card:hover .material-image {
    transform: scale(1.05);
}

.material-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-green);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    /* Bolder */
    z-index: 2;
    font-family: var(--font-bold);
}

.material-badge.featured {
    background: #ffc107;
    color: #333;
}

.material-badge.hot {
    background: #ff6b6b;
}

.material-content {
    padding: 1.5rem;
}

.material-title {
    font-size: 1.3rem;
    font-weight: 700;
    /* Bolder */
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    font-family: var(--font-bold);
}

.material-description {
    color: var(--text-color);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    /* Bolder */
    line-height: 1.5;
}

.material-price {
    font-size: 1.5rem;
    font-weight: 700;
    /* Bolder */
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-family: var(--font-bold);
}

.material-agent {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.agent-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.agent-info {
    flex: 1;
}

.agent-name {
    font-weight: 700;
    /* Bolder */
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-family: var(--font-bold);
}

.agent-phone {
    font-size: 0.8rem;
    color: var(--text-color);
    font-weight: 600;
    /* Bolder */
}

.material-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.material-action-button {
    flex: 1;
    padding: 0.6rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    /* Bolder */
    font-size: 0.8rem;
    text-align: center;
    font-family: var(--font-bold);
}

.material-action-button:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
}

.material-action-button.whatsapp {
    background: #25d366;
}

.material-action-button.whatsapp:hover {
    background: #128c7e;
}

/* Material Detail View */
.material-detail-view {
    display: none;
    width: 100%;
}

.material-detail-view.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.material-detail-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.material-detail-gallery {
    flex: 1;
    position: relative;
}

.material-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

.material-thumbnails {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.material-thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.material-thumbnail.active {
    opacity: 1;
    border: 2px solid var(--primary-blue);
}

.material-detail-info {
    flex: 1;
}

.material-detail-title {
    font-size: 2rem;
    font-weight: 700;
    /* Bolder */
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-family: var(--font-bold);
}

.material-detail-price {
    font-size: 2rem;
    font-weight: 700;
    /* Bolder */
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-family: var(--font-bold);
}

.material-detail-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-weight: 600;
    /* Bolder */
}

.material-detail-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.material-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    /* Bolder */
}

.material-feature i {
    color: var(--primary-blue);
    font-size: 1.2rem;
    width: 24px;
}

.material-detail-agent {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.agent-detail-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.agent-detail-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.agent-detail-info h3 {
    margin-bottom: 0.3rem;
    color: var(--primary-blue);
    font-family: var(--font-bold);
    font-weight: 700;
    /* Bolder */
}

.agent-detail-rating {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 0.5rem;
}

.agent-detail-rating i {
    color: #ffc107;
}

.agent-contact {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.contact-button {
    flex: 1;
    padding: 0.8rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    /* Bolder */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-bold);
}

.contact-button:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
}

/* Coming Soon Section */
.coming-soon-section {
    display: none;
    width: 100%;
    text-align: center;
    padding: 3rem 2rem;
}

.coming-soon-section.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.coming-soon-icon {
    font-size: 4rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.coming-soon-title {
    font-size: 2.5rem;
    font-weight: 700;
    /* Bolder */
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-family: var(--font-bold);
}

.coming-soon-description {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-weight: 600;
    /* Bolder */
    line-height: 1.6;
}

.coming-soon-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    /* Bolder */
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    font-family: var(--font-bold);
}

.coming-soon-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination-button {
    padding: 0.6rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    /* Bolder */
    font-family: var(--font-bold);
}

.pagination-button.active {
    background: linear-gradient(
        135deg,
        var(--primary-blue) 0%,
        var(--primary-green) 100%
    );
    color: white;
    border-color: transparent;
}

.pagination-button:hover:not(.disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pagination-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mobile Material Image Enhancement */
@media (max-width: 767px) {
    .material-image-container {
        height: 250px;
    }

    .material-main-image {
        height: 300px;
    }

    .material-detail-header {
        flex-direction: column;
    }

    .material-detail-features {
        grid-template-columns: 1fr;
    }
}

/* Additional responsive improvements for desktop */
@media (min-width: 768px) and (max-width: 1200px) {
    .navbar {
        padding: 1.2rem 1.5rem;
        height: 160px;
    }

    .logo-container {
        width: 240px;
        height: 120px;
    }

    .center-section {
        max-width: 450px;
        margin-left: -8%;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .action-button {
        font-size: 0.9rem;
        padding: 0.9rem 1.5rem;
        min-width: 140px;
    }

    .profile-section {
        padding: 0.8rem 1.5rem;
        height: 110px;
    }

    .profile-image-container {
        width: 90px;
        height: 90px;
    }
}

/* Ensure all text elements have proper font families and weights */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    /* Bolder */
}

p,
span,
div,
a,
button,
input,
textarea,
select,
label {
    font-family: var(--font-primary);
    font-weight: 600;
    /* Bolder */
}

/* Special font for accent elements */
.accent-text {
    font-family: var(--font-accent);
    font-weight: 600;
    /* Bolder */
}

/* Bold text utility classes */
.text-bold {
    font-weight: 700 !important;
}

.text-semibold {
    font-weight: 600 !important;
}

/* Ensure all buttons have bold text */
button,
.button,
.btn,
.action-button,
.nav-button,
.filter-button,
.pagination-button,
.contact-button,
.property-action-button,
.material-action-button,
.agent-card-button {
    font-weight: 700 !important;
    font-family: var(--font-bold) !important;
}

/* Secondary Navbar - Centered with horizontal scrolling only on desktop */
.secondary-navbar {
    background: var(--navbar-bg);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 12px var(--shadow-color);
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    height: 50px;
    padding: 0 1rem;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out 1s both;
    border-bottom: 1px solid var(--border-color);
}

.secondary-navbar:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.menu {
    list-style: none;
    display: flex;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
}

.menu li {
    position: relative;
}

.menu li a {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--link-border-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
    font-family: var(--font-bold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.menu li a i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.menu li a:hover i,
.menu li a.active i {
    transform: scale(1.1);
    color: var(--active-color);
}

.menu li a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
    z-index: -1;
}

.menu li a:hover::before,
.menu li a.active::before {
    left: 100%;
}

.menu li a:hover,
.menu li a.active {
    background: var(--active-bg);
    color: var(--active-color);
    border-color: var(--link-border-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.join-agents {
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    padding: 0.6rem 1rem;
    border: 1px solid var(--link-border-color);
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
    font-family: var(--font-bold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: 8px;
}

.join-agents::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
    z-index: -1;
}

.join-agents:hover::before {
    left: 100%;
}

.join-agents:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
    border-color: var(--link-border-color);
}

.join-agents i {
    font-size: 1rem;
    color: var(--active-color);
    transition: transform 0.3s ease;
}

.join-agents:hover i {
    transform: scale(1.1);
}

/* Horizontal scrolling only on desktop tablets (768px and above) */
@media (min-width: 768px) {
    .secondary-navbar {
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .secondary-navbar::-webkit-scrollbar {
        display: none;
    }

    .menu {
        flex-shrink: 0;
    }

    .menu li {
        flex-shrink: 0;
    }

    .menu li a {
        flex-shrink: 0;
    }

    .join-agents {
        flex-shrink: 0;
    }
}

/* Disable horizontal scrolling on very large screens */
@media (min-width: 1200px) {
    .secondary-navbar {
        overflow-x: visible;
    }
}

/* Mobile styles remain completely unchanged */
@media (max-width: 767px) {
    .secondary-navbar {
        height: 50px;
        padding: 0 1rem;
        justify-content: space-between;
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
        top: 70px;
        position: fixed;
        overflow-x: visible;
        /* Ensure no horizontal scrolling on mobile */
    }

    .menu {
        display: none;
        /* Keep the original mobile menu hidden */
    }

    .mobile-menu-bar {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .mobile-social-icons {
        display: flex;
        gap: 0.8rem;
        align-items: center;
    }

    .mobile-social-icons a {
        font-size: 1.1rem;
    }

    .join-agents {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .hamburger-menu {
        width: 36px;
        height: 36px;
        padding: 6px;
    }

    .hamburger-menu span {
        width: 20px;
        height: 2.5px;
    }
}

/* New Styles for Featured Properties Slider */
.featured-slider-container {
    margin-top: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.featured-slider {
    display: flex;
    transition: transform 0.5s ease;
    height: 400px;
}

.featured-slide {
    min-width: 100%;
    position: relative;
    overflow: hidden;
}

.featured-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 2rem;
}

.featured-slide-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: var(--font-bold);
}

.featured-slide-description {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    font-weight: 600;
}

.featured-slide-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-family: var(--font-bold);
}

.featured-slide-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.featured-slide-badge {
    padding: 0.4rem 0.8rem;
    background: var(--primary-blue);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font-bold);
}

.featured-slide-badge.featured {
    background: #ffc107;
    color: #333;
}

.featured-slide-badge.hot {
    background: #ff6b6b;
}

.featured-slide-actions {
    display: flex;
    gap: 1rem;
}

.featured-slide-button {
    padding: 0.8rem 1.5rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    font-family: var(--font-bold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-slide-button:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
}

.featured-slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    transform: translateY(-50%);
    z-index: 10;
}

.featured-slider-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--primary-blue) 0%,
        var(--primary-green) 100%
    );
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    animation: float 3s ease-in-out infinite;
}

.featured-slider-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    animation: none;
}

.featured-slider-btn i {
    font-size: 1rem;
}

.featured-slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.featured-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.featured-slider-dot.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

/* Hot Deals Materials Slider */
.hot-deals-slider-container {
    margin-top: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hot-deals-slider {
    display: flex;
    transition: transform 0.5s ease;
    height: 300px;
}

.hot-deals-slide {
    min-width: 100%;
    position: relative;
    overflow: hidden;
}

.hot-deals-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hot-deals-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 1.5rem;
}

.hot-deals-slide-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: var(--font-bold);
}

.hot-deals-slide-description {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    font-weight: 600;
}

.hot-deals-slide-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-family: var(--font-bold);
}

.hot-deals-slide-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.hot-deals-slide-badge {
    padding: 0.3rem 0.6rem;
    background: var(--primary-blue);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--font-bold);
}

.hot-deals-slide-badge.hot {
    background: #ff6b6b;
}

.hot-deals-slide-actions {
    display: flex;
    gap: 0.8rem;
}

.hot-deals-slide-button {
    padding: 0.6rem 1.2rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    font-family: var(--font-bold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.hot-deals-slide-button:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
}

.hot-deals-slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    transform: translateY(-50%);
    z-index: 10;
}

.hot-deals-slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--primary-blue) 0%,
        var(--primary-green) 100%
    );
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    animation: float 3s ease-in-out infinite;
}

.hot-deals-slider-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    animation: none;
}

.hot-deals-slider-btn i {
    font-size: 0.9rem;
}

.hot-deals-slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.hot-deals-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hot-deals-slider-dot.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

/* Mobile slider styles */
@media (max-width: 767px) {
    .featured-slider {
        height: 300px;
    }

    .featured-slide-content {
        padding: 1.5rem;
    }

    .featured-slide-title {
        font-size: 1.5rem;
    }

    .featured-slide-description {
        font-size: 0.9rem;
    }

    .featured-slide-price {
        font-size: 1.3rem;
    }

    .featured-slide-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .featured-slide-button {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .hot-deals-slider {
        height: 250px;
    }

    .hot-deals-slide-content {
        padding: 1rem;
    }

    .hot-deals-slide-title {
        font-size: 1.2rem;
    }

    .hot-deals-slide-description {
        font-size: 0.8rem;
    }

    .hot-deals-slide-price {
        font-size: 1.1rem;
    }

    .hot-deals-slide-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hot-deals-slide-button {
        padding: 0.5rem 1rem;
        font-size: 0.7rem;
    }
}

/* Rating stars in sliders */
.slide-rating {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 0.5rem;
}

.slide-rating i {
    color: #ffc107;
    font-size: 0.9rem;
}

/* Plots Section Styles */
.plots-section {
    display: none;
    width: 100%;
}

.plots-section.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.plots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.plot-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
}

.plot-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.plot-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.plot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.plot-card:hover .plot-image {
    transform: scale(1.05);
}

.plot-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-green);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    /* Bolder */
    z-index: 2;
    font-family: var(--font-bold);
}

.plot-badge.sale {
    background: var(--primary-blue);
}

.plot-badge.featured {
    background: #ffc107;
    color: #333;
}

.plot-badge.hot {
    background: #ff6b6b;
}

.plot-content {
    padding: 1.5rem;
}

.plot-title {
    font-size: 1.3rem;
    font-weight: 700;
    /* Bolder */
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    font-family: var(--font-bold);
}

.plot-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    /* Bolder */
}

.plot-location i {
    color: var(--primary-blue);
}

.plot-price {
    font-size: 1.5rem;
    font-weight: 700;
    /* Bolder */
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-family: var(--font-bold);
}

.plot-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.plot-detail {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-color);
    font-weight: 600;
    /* Bolder */
}

.plot-detail i {
    color: var(--primary-blue);
}

.plot-agent {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.plot-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.plot-action-button {
    flex: 1;
    padding: 0.6rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    /* Bolder */
    font-size: 0.8rem;
    text-align: center;
    font-family: var(--font-bold);
}

.plot-action-button:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
}

.plot-action-button.secondary {
    background: transparent;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
}

.plot-action-button.secondary:hover {
    background: var(--primary-blue);
    color: white;
}

/* Plot Detail View */
.plot-detail-view {
    display: none;
    width: 100%;
}

.plot-detail-view.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.plot-detail-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.plot-detail-gallery {
    flex: 1;
    position: relative;
}

.plot-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

.plot-thumbnails {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.plot-thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.plot-thumbnail.active {
    opacity: 1;
    border: 2px solid var(--primary-blue);
}

.plot-detail-info {
    flex: 1;
}

.plot-detail-title {
    font-size: 2rem;
    font-weight: 700;
    /* Bolder */
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-family: var(--font-bold);
}

.plot-detail-price {
    font-size: 2rem;
    font-weight: 700;
    /* Bolder */
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-family: var(--font-bold);
}

.plot-detail-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    /* Bolder */
}

.plot-detail-location i {
    color: var(--primary-blue);
}

.plot-detail-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.plot-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    /* Bolder */
}

.plot-feature i {
    color: var(--primary-blue);
    font-size: 1.2rem;
    width: 24px;
}

.plot-detail-description {
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 600;
    /* Bolder */
}

.plot-detail-agent {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Improved Agent Image Display */
.agent-image-container-improved {
    position: relative;
    margin-bottom: 1.2rem;
    align-self: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.agent-image-improved {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.agent-image-improved:hover {
    transform: scale(1.05);
}

.agent-verification-improved {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff6b6b;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    /* Bolder */
    animation: bounceIn 0.8s ease-out;
}

.agent-verification-improved.verified {
    background: var(--primary-green);
}

.agent-badge-improved {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--primary-green);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    /* Bolder */
    z-index: 2;
    font-family: var(--font-bold);
}

/* Mobile improvements for agent images */
@media (max-width: 767px) {
    .agent-image-container-improved {
        width: 150px;
        height: 150px;
        margin: 0 auto 1rem;
    }

    .agent-image-improved {
        height: 150px;
    }

    .agent-verification-improved {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }

    .agent-badge-improved {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
}

/* Enhanced Slider Styles */
.featured-slider-container {
    margin-top: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    height: 500px;
    /* Increased height for desktop */
}

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

.featured-slide {
    min-width: 100%;
    position: relative;
    overflow: hidden;
}

.featured-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 2rem;
}

.featured-slide-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: var(--font-bold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.featured-slide-description {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

.featured-slide-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-family: var(--font-bold);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

.featured-slide-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.featured-slide-badge {
    padding: 0.4rem 0.8rem;
    background: var(--primary-blue);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font-bold);
}

.featured-slide-badge.featured {
    background: #ffc107;
    color: #333;
}

.featured-slide-badge.hot {
    background: #ff6b6b;
}

.featured-slide-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.featured-slide-button {
    padding: 0.8rem 1.5rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    font-family: var(--font-bold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-slide-button:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
}

.featured-slider-controls {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    z-index: 10;
}

.featured-slider-btn {
    width: 40px;
    /* Smaller buttons on desktop */
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--primary-blue) 0%,
        var(--primary-green) 100%
    );
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    animation: float 3s ease-in-out infinite;
}

.featured-slider-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    animation: none;
}

.featured-slider-btn i {
    font-size: 1rem;
}

.featured-slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    z-index: 5;
}

.featured-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.featured-slider-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Hot Deals Materials Slider */
.hot-deals-slider-container {
    margin-top: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    height: 350px;
    /* Increased height for desktop */
}

.hot-deals-slider {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.hot-deals-slide {
    min-width: 100%;
    position: relative;
    overflow: hidden;
}

.hot-deals-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hot-deals-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 1.5rem;
}

.hot-deals-slide-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: var(--font-bold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.hot-deals-slide-description {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

.hot-deals-slide-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-family: var(--font-bold);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

.hot-deals-slide-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.hot-deals-slide-badge {
    padding: 0.3rem 0.6rem;
    background: var(--primary-blue);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--font-bold);
}

.hot-deals-slide-badge.hot {
    background: #ff6b6b;
}

.hot-deals-slide-actions {
    display: flex;
    gap: 0.8rem;
}

.hot-deals-slide-button {
    padding: 0.6rem 1.2rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    font-family: var(--font-bold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.hot-deals-slide-button:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
}

.hot-deals-slider-controls {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    z-index: 10;
}

.hot-deals-slider-btn {
    width: 35px;
    /* Smaller buttons on desktop */
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--primary-blue) 0%,
        var(--primary-green) 100%
    );
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    animation: float 3s ease-in-out infinite;
}

.hot-deals-slider-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    animation: none;
}

.hot-deals-slider-btn i {
    font-size: 0.9rem;
}

.hot-deals-slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    z-index: 5;
}

.hot-deals-slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hot-deals-slider-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Rating stars in sliders */
.slide-rating {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 0.5rem;
    align-items: center;
}

.slide-rating i {
    color: #ffc107;
    font-size: 0.9rem;
}

.slide-rating span {
    margin-left: 0.5rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

/* Mobile Styles for Sliders */
@media (max-width: 767px) {
    .featured-slider-container {
        height: 400px;
        /* Better height for mobile */
    }

    .hot-deals-slider-container {
        height: 300px;
        /* Better height for mobile */
    }

    .featured-slide-content {
        padding: 1.5rem 1rem 4rem 1rem;
        /* More bottom padding for controls */
    }

    .hot-deals-slide-content {
        padding: 1rem 0.8rem 3.5rem 0.8rem;
        /* More bottom padding for controls */
    }

    /* Improved title visibility on mobile */
    .featured-slide-title {
        font-size: 1.4rem;
        margin-bottom: 0.3rem;
        line-height: 1.3;
    }

    .hot-deals-slide-title {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
        line-height: 1.3;
    }

    .featured-slide-description {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
        line-height: 1.4;
    }

    .hot-deals-slide-description {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
        line-height: 1.4;
    }

    .featured-slide-price {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .hot-deals-slide-price {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    /* Action buttons - icons only on mobile */
    .featured-slide-actions {
        flex-direction: row;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .hot-deals-slide-actions {
        flex-direction: row;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .featured-slide-button,
    .hot-deals-slide-button {
        padding: 0.8rem;
        min-width: 44px;
        /* Minimum touch target size */
        height: 44px;
        justify-content: center;
    }

    .featured-slide-button span,
    .hot-deals-slide-button span {
        display: none;
        /* Hide text on mobile */
    }

    .featured-slide-button i,
    .hot-deals-slide-button i {
        font-size: 1.2rem;
        margin: 0;
    }

    /* Navigation controls - positioned at bottom corners */
    .featured-slider-controls,
    .hot-deals-slider-controls {
        bottom: 0.5rem;
        padding: 0 0.8rem;
    }

    .featured-slider-btn,
    .hot-deals-slider-btn {
        width: 36px;
        height: 36px;
        position: relative;
        z-index: 20;
    }

    .featured-slider-btn i,
    .hot-deals-slider-btn i {
        font-size: 0.9rem;
    }

    /* Dots positioning */
    .featured-slider-dots,
    .hot-deals-slider-dots {
        bottom: 1rem;
    }

    .featured-slider-dot {
        width: 6px;
        height: 6px;
    }

    .hot-deals-slider-dot {
        width: 5px;
        height: 5px;
    }

    /* Badges size adjustment for mobile */
    .featured-slide-badges,
    .hot-deals-slide-badges {
        margin-bottom: 0.8rem;
    }

    .featured-slide-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }

    .hot-deals-slide-badge {
        padding: 0.2rem 0.5rem;
        font-size: 0.65rem;
    }
}

/* Very Small Mobile Devices */
@media (max-width: 480px) {
    .featured-slider-container {
        height: 350px;
    }

    .hot-deals-slider-container {
        height: 250px;
    }

    .featured-slide-content {
        padding: 1rem 0.8rem 3.5rem 0.8rem;
    }

    .hot-deals-slide-content {
        padding: 0.8rem 0.6rem 3rem 0.6rem;
    }

    .featured-slide-title {
        font-size: 1.2rem;
    }

    .hot-deals-slide-title {
        font-size: 1rem;
    }

    .featured-slide-description {
        font-size: 0.8rem;
    }

    .hot-deals-slide-description {
        font-size: 0.75rem;
    }

    .featured-slider-btn,
    .hot-deals-slider-btn {
        width: 32px;
        height: 32px;
    }

    .featured-slider-btn i,
    .hot-deals-slider-btn i {
        font-size: 0.8rem;
    }

    .featured-slide-button,
    .hot-deals-slide-button {
        padding: 0.7rem;
        min-width: 40px;
        height: 40px;
    }

    .featured-slide-button i,
    .hot-deals-slide-button i {
        font-size: 1.1rem;
    }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 1024px) {
    .featured-slider-container {
        height: 450px;
    }

    .hot-deals-slider-container {
        height: 320px;
    }

    .featured-slide-button span,
    .hot-deals-slide-button span {
        display: inline;
        /* Show text on tablets */
    }

    .featured-slide-button,
    .hot-deals-slide-button {
        justify-content: flex-start;
        padding: 0.7rem 1.2rem;
    }
}

/* Large Desktop Screens */
@media (min-width: 1200px) {
    .featured-slider-container {
        height: 550px;
    }

    .hot-deals-slider-container {
        height: 400px;
    }

    .featured-slide-content {
        padding: 3rem;
    }

    .featured-slide-title {
        font-size: 2.2rem;
    }

    .featured-slide-description {
        font-size: 1.2rem;
    }

    .featured-slide-price {
        font-size: 1.8rem;
    }

    .hot-deals-slide-content {
        padding: 2rem;
    }

    .hot-deals-slide-title {
        font-size: 1.8rem;
    }

    .hot-deals-slide-description {
        font-size: 1.1rem;
    }

    .hot-deals-slide-price {
        font-size: 1.6rem;
    }

    /* Even smaller buttons on large desktop */
    .featured-slider-btn {
        width: 35px;
        height: 35px;
    }

    .hot-deals-slider-btn {
        width: 30px;
        height: 30px;
    }
}

/* Enhanced text readability */
.featured-slide-title,
.hot-deals-slide-title,
.featured-slide-description,
.hot-deals-slide-description,
.featured-slide-price,
.hot-deals-slide-price {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Ensure proper contrast and readability */
.featured-slide-content *,
.hot-deals-slide-content * {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Smooth transitions for better UX */
.featured-slider,
.hot-deals-slider,
.featured-slide,
.hot-deals-slide,
.featured-slide-image,
.hot-deals-slide-image,
.featured-slide-content,
.hot-deals-slide-content {
    transition: all 0.3s ease;
}

/* Improved touch targets for mobile */
@media (max-width: 767px) {
    .featured-slider-btn,
    .hot-deals-slider-btn,
    .featured-slide-button,
    .hot-deals-slide-button,
    .featured-slider-dot,
    .hot-deals-slider-dot {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    /* Prevent text selection on buttons */
    .featured-slide-button,
    .hot-deals-slide-button {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
}

/* Perfect positioning for controls */
.featured-slider-controls .featured-slider-btn:first-child,
.hot-deals-slider-controls .hot-deals-slider-btn:first-child {
    /* Left button */
    margin-right: auto;
}

.featured-slider-controls .featured-slider-btn:last-child,
.hot-deals-slider-controls .hot-deals-slider-btn:last-child {
    /* Right button */
    margin-left: auto;
}

/* Enhanced Agent Image Styles for Mobile */
@media (max-width: 767px) {
    /* Agent Slider Improvements for Mobile */
    .agent-slider-container {
        height: 380px !important;
        /* Increased height for better visibility */
        padding: 1rem;
        background: linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(240, 248, 255, 0.95) 100%
        ) !important;
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        margin-bottom: 1.5rem;
    }

    .dark-mode .agent-slider-container {
        background: linear-gradient(
            135deg,
            rgba(30, 30, 30, 0.95) 0%,
            rgba(50, 50, 50, 0.95) 100%
        ) !important;
    }

    .agent-image-container-improved {
        width: 100% !important;
        max-width: 280px !important;
        height: 200px !important;
        margin: 0 auto 1.5rem !important;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        position: relative;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .agent-image-improved {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        transition: all 0.4s ease;
        filter: brightness(0.95);
    }

    .agent-image-container-improved:hover .agent-image-improved {
        transform: scale(1.08);
        filter: brightness(1.05);
    }

    .agent-image-container-improved:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    }

    /* Enhanced Verification Badge */
    .agent-verification-improved {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.9rem !important;
        top: 12px;
        right: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        border: 2px solid white;
        animation: pulse 2s infinite;
    }

    /* Enhanced Agent Badge */
    .agent-badge-improved {
        bottom: 12px;
        left: 12px;
        font-size: 0.8rem !important;
        padding: 0.5rem 1rem !important;
        border-radius: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        background: linear-gradient(
            135deg,
            var(--primary-green) 0%,
            #25a65b 100%
        ) !important;
        border: 2px solid rgba(255, 255, 255, 0.3);
    }

    /* Agent Info Styling */
    .agent-slide {
        padding: 1rem 0.5rem;
        text-align: center;
    }

    .agent-name {
        font-size: 1.4rem !important;
        font-weight: 800 !important;
        margin-bottom: 0.5rem !important;
        background: linear-gradient(
            135deg,
            var(--primary-blue) 0%,
            var(--primary-green) 100%
        );
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 2px 10px rgba(20, 141, 195, 0.3);
    }

    .agent-role {
        font-size: 1rem !important;
        font-weight: 700 !important;
        color: var(--primary-green) !important;
        margin-bottom: 0.8rem !important;
        padding: 0.3rem 1rem;
        background: rgba(42, 166, 97, 0.1);
        border-radius: 20px;
        display: inline-block;
    }

    .agent-phone,
    .agent-location {
        font-size: 0.95rem !important;
        margin-bottom: 0.6rem !important;
        padding: 0.4rem 0;
        transition: all 0.3s ease;
        border-radius: 8px;
    }

    .agent-phone:hover,
    .agent-location:hover {
        background: rgba(20, 141, 195, 0.1);
        transform: translateX(5px);
        padding-left: 0.8rem;
    }

    .agent-rating {
        margin-top: 0.8rem !important;
        justify-content: center;
    }

    .agent-rating i {
        font-size: 1.1rem !important;
        color: #ffc107;
        text-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
    }

    /* Slider Controls Enhancement */
    .slider-controls {
        top: 50%;
        transform: translateY(-50%);
        padding: 0 0.5rem;
    }

    .slider-btn {
        width: 44px !important;
        height: 44px !important;
        background: linear-gradient(
            135deg,
            var(--primary-blue) 0%,
            var(--primary-green) 100%
        ) !important;
        box-shadow: 0 6px 20px rgba(20, 141, 195, 0.4);
        border: 2px solid rgba(255, 255, 255, 0.8);
        animation: float 3s ease-in-out infinite;
    }

    .slider-btn:hover {
        transform: scale(1.15);
        box-shadow: 0 8px 25px rgba(20, 141, 195, 0.6);
    }

    .slider-btn i {
        font-size: 1.1rem !important;
    }

    /* Agent Cards in Grid - Mobile Enhancement */
    .agent-card {
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        background: var(--card-bg);
        margin-bottom: 1.5rem;
    }

    .agent-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    }

    .agent-card-image-container {
        height: 220px !important;
        position: relative;
        overflow: hidden;
    }

    .agent-card-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .agent-card:hover .agent-card-image {
        transform: scale(1.1);
    }

    .agent-card-content {
        padding: 1.5rem;
    }

    .agent-card-name {
        font-size: 1.3rem !important;
        font-weight: 800 !important;
        margin-bottom: 0.5rem;
        background: linear-gradient(
            135deg,
            var(--primary-blue) 0%,
            var(--primary-green) 100%
        );
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .agent-card-role {
        font-size: 1rem !important;
        color: var(--primary-green) !important;
        font-weight: 700 !important;
        margin-bottom: 1rem;
    }

    .agent-card-location {
        font-size: 0.95rem !important;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .agent-card-actions {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        margin-top: 1.2rem;
    }

    .agent-card-button {
        padding: 0.8rem 1.2rem !important;
        font-size: 0.9rem !important;
        border-radius: 10px;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        font-weight: 700 !important;
    }

    .agent-card-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    }

    /* Agent Detail View Mobile Enhancement */
    .agent-detail-image-container {
        width: 970% !important;
        max-width: 280px !important;
        height: 400px !important;
        margin: 0 auto 2rem !important;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    }

    .agent-detail-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }

    .agent-detail-name {
        font-size: 1.8rem !important;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .agent-detail-role {
        font-size: 1.2rem !important;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    /* Enhanced Social Proof Elements */
    .agent-stats {
        display: flex;
        justify-content: space-around;
        margin: 1.5rem 0;
        padding: 1rem;
        background: rgba(20, 141, 195, 0.1);
        border-radius: 16px;
    }

    .stat-item {
        text-align: center;
    }

    .stat-number {
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--primary-blue);
        display: block;
    }

    .stat-label {
        font-size: 0.8rem;
        color: var(--text-color);
        font-weight: 600;
    }

    /* Call-to-Action Enhancement */
    .agent-cta-section {
        background: linear-gradient(
            135deg,
            var(--primary-blue) 0%,
            var(--primary-green) 100%
        );
        padding: 1.5rem;
        border-radius: 16px;
        text-align: center;
        margin: 2rem 0;
        color: white;
    }

    .cta-title {
        font-size: 1.3rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .cta-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        opacity: 0.9;
    }

    /* Premium Badge Styles */
    .premium-badge {
        position: absolute;
        top: 12px;
        left: 12px;
        background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
        color: #333;
        padding: 0.4rem 0.8rem;
        border-radius: 20px;
        font-size: 0.7rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
        z-index: 2;
    }

    /* Online Status Indicator */
    .online-status {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 12px;
        height: 12px;
        background: #00ff00;
        border-radius: 50%;
        border: 2px solid white;
        box-shadow: 0 2px 8px rgba(0, 255, 0, 0.5);
        animation: pulseOnline 2s infinite;
    }

    @keyframes pulseOnline {
        0% {
            box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7);
        }

        70% {
            box-shadow: 0 0 0 10px rgba(0, 255, 0, 0);
        }

        100% {
            box-shadow: 0 0 0 0 rgba(0, 255, 0, 0);
        }
    }

    /* Enhanced Hover Effects */
    .agent-card::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.7s ease;
        z-index: 1;
    }

    .agent-card:hover::before {
        left: 100%;
    }

    /* Responsive Typography */
    .agent-section-title {
        font-size: 1.8rem !important;
        text-align: center;
        margin-bottom: 1.5rem;
        background: linear-gradient(
            135deg,
            var(--primary-blue) 0%,
            var(--primary-green) 100%
        );
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 4px 15px rgba(20, 141, 195, 0.3);
    }
}

/* Extra Small Devices (phones under 480px) */
@media (max-width: 480px) {
    .agent-image-container-improved {
        max-width: 100% !important;
        height: 180px !important;
        margin: 0 auto 1.2rem !important;
    }

    .agent-slider-container {
        height: 360px !important;
    }

    .agent-card-image-container {
        height: 200px !important;
    }

    .agent-detail-image-container {
        height: 220px !important;
        max-width: 100% !important;
    }

    .agent-name {
        font-size: 1.3rem !important;
    }

    .agent-card-name {
        font-size: 1.2rem !important;
    }

    .agent-section-title {
        font-size: 1.6rem !important;
    }
}

/* Tablet Devices (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .agent-image-container-improved {
        max-width: 220px !important;
        height: 180px !important;
    }

    .agent-slider-container {
        height: 350px !important;
    }

    .agent-card-image-container {
        height: 200px !important;
    }
}

/* Enhanced Animation Keyframes */
@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(20, 141, 195, 0.5);
    }

    50% {
        box-shadow: 0 0 20px rgba(20, 141, 195, 0.8);
    }

    100% {
        box-shadow: 0 0 5px rgba(20, 141, 195, 0.5);
    }
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply animations to agent elements */
.agent-card {
    animation: slideInFromBottom 0.6s ease-out;
}

.agent-image-container-improved {
    animation: slideInFromBottom 0.8s ease-out 0.2s both;
}

/* Success Stories Section */
.success-stories {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(
        135deg,
        rgba(42, 166, 97, 0.1) 0%,
        rgba(20, 141, 195, 0.1) 100%
    );
    border-radius: 16px;
}

.story-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    text-align: center;
}

.story-item {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-green);
}

.story-text {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.story-client {
    font-size: 0.8rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-align: right;
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: space-around;
    margin: 1.5rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.trust-item {
    text-align: center;
    flex: 1;
    min-width: 100px;
}

.trust-icon {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.trust-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
}

/* Enhanced Loading States */
.agent-image-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Dark mode adjustments */
.dark-mode .agent-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode .success-stories {
    background: linear-gradient(
        135deg,
        rgba(42, 166, 97, 0.15) 0%,
        rgba(20, 141, 195, 0.15) 100%
    );
}

.dark-mode .story-item {
    background: rgba(30, 30, 30, 0.8);
    border-left: 4px solid var(--primary-green);
}
