/* CSS Variables - Matte Black & Enhanced Silver Theme */
:root {
    --primary-color: #0d0d0d;
    --accent-color: #1a1a1a;
    --text-color: #e8e8e8; /* Brighter text */
    --bg-color: #0d0d0d;
    --silver-color: #d4d4d4; /* More vibrant silver */
    --dark-silver: #a8a8a8; /* Brighter dark silver */
    --matte-black: #0d0d0d;
    --light-silver: #f0f0f0; /* Brighter light silver */
    --card-bg: #1a1a1a;
    --border-color: #404040; /* Lighter border */

    /* Viewport height for mobile browsers */
    --vh: 1vh;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size for rem calculations */
}

/* Responsive font scaling */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
}

@media (min-width: 1200px) {
    html {
        font-size: 18px;
    }
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    touch-action: manipulation;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(192, 192, 192, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(192, 192, 192, 0.03) 0%, transparent 50%);
}

/* Fixed image background container with parallax effect */
.fixed-image-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 120vh; /* Increased height for parallax effect */
    z-index: -100;
    overflow: hidden;
    will-change: transform;
}

.hero-background-image {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.7) contrast(1.2) grayscale(30%);
    will-change: transform;
}

/* Mobile optimization for background */
@media (max-width: 768px) {
    .fixed-image-bg {
        position: fixed;
        height: 100vh; /* Reduced height on mobile for better performance */
        will-change: auto; /* Disable will-change on mobile */
    }

    .hero-background-image {
        transform: translate3d(-50%, -50%, 0);
        will-change: auto;
        image-rendering: optimizeSpeed;
        filter: brightness(0.6) contrast(1.1) grayscale(40%); /* Darker on mobile for better text readability */
    }
}

/* Very small screens (iPhone SE, etc.) */
@media (max-width: 375px) {
    .fixed-image-bg {
        height: 100vh;
    }

    .hero-background-image {
        filter: brightness(0.5) contrast(1.0) grayscale(50%);
    }
}

.fixed-image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.6) 0%, rgba(26, 26, 26, 0.5) 50%, rgba(13, 13, 13, 0.7) 100%);
    z-index: -99;
}

/* Mobile overlay fix */
@media (max-width: 768px) {
    .fixed-image-overlay {
        position: fixed;
        height: 100vh;
    }
}

/* Add padding for fixed navbar */
.privacy-policy-page {
    padding-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive container padding */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
}

@media (max-width: 375px) {
    .container {
        padding: 0 10px;
    }
}





/* Header */
.header {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(192, 192, 192, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Add padding to main content to compensate for fixed header */
main {
    padding-top: 80px;
}

/* Ensure hero section starts from top */
.hero {
    min-height: 100vh;
    padding-top: 0;
    box-sizing: border-box;
}

/* Mobile header adjustments */
@media (max-width: 768px) {
    .header {
        background: rgba(13, 13, 13, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }

    /* Add padding to main content to compensate for fixed header */
    main {
        padding-top: 80px;
    }

    /* Ensure hero section starts from top */
    .hero {
        min-height: 100vh;
        padding-top: 0;
        box-sizing: border-box;
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    min-height: 70px; /* Ensure consistent header height */
}

/* Responsive header adjustments */
@media (max-width: 768px) {
    .header-content {
        padding: 0.8rem 0;
        min-height: 60px;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0.6rem 0;
        min-height: 55px;
    }
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-svg {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.4);
    filter: drop-shadow(0 2px 8px rgba(192, 192, 192, 0.3));
}

/* Responsive logo */
@media (max-width: 768px) {
    .logo-svg {
        width: 50px;
        height: 50px;
    }

    .company-name {
        font-size: 1.3rem;
    }

    .company-tagline {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .logo-svg {
        width: 45px;
        height: 45px;
    }

    .company-name {
        font-size: 1.1rem;
    }

    .company-tagline {
        font-size: 0.7rem;
    }
}

@media (max-width: 375px) {
    .logo-svg {
        width: 40px;
        height: 40px;
    }

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

    .company-tagline {
        font-size: 0.65rem;
    }
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-silver);
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.company-tagline {
    font-size: 0.9rem;
    color: var(--silver-color);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.tagline {
    font-size: 0.9rem;
    color: var(--silver-color);
    font-weight: 500;
}



.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--silver-color);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 6px;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    background: rgba(192, 192, 192, 0.1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--silver-color);
}

.cta-button {
    background: linear-gradient(135deg, var(--silver-color), var(--dark-silver));
    color: var(--matte-black);
    border: 2px solid var(--silver-color);
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.4);
    text-decoration: none;
    display: inline-block;
    text-shadow: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 192, 192, 0.6);
    background: linear-gradient(135deg, #ffffff, var(--silver-color));
    border-color: #ffffff;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 1001;
    min-width: 44px; /* Touch-friendly minimum size */
    min-height: 44px;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
    background: rgba(192, 192, 192, 0.1);
    outline: none;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--silver-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--matte-black);
    transition: right 0.3s ease;
    z-index: 1002;
    padding: 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}



.mobile-menu.active {
    right: 0;
}

.mobile-menu-content {
    padding-top: 4rem;
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}



.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--silver-color);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--matte-black);
    padding: 0.5rem;
    border-radius: 50%;
    width: 48px; /* Larger touch target */
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(192, 192, 192, 0.3);
    z-index: 1003; /* Higher z-index */
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.mobile-menu-close:hover,
.mobile-menu-close:active {
    background: var(--light-silver);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.5);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

/* Mobile Main Navigation */
.mobile-main-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(44, 62, 80, 0.1);
}

.mobile-main-nav-item {
    background: linear-gradient(135deg, var(--card-bg), var(--accent-color));
    color: var(--silver-color);
    border-radius: 12px;
    padding: 1.2rem 1rem;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.1);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.mobile-main-nav-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(192, 192, 192, 0.2);
    background: linear-gradient(135deg, var(--accent-color), var(--card-bg));
    border-color: var(--silver-color);
}

.mobile-main-nav-item i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--silver-color);
}

.mobile-main-nav-item span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--silver-color);
    line-height: 1.2;
    text-align: center;
}

/* Mobile Menu Grid */
.mobile-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.mobile-menu-item {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.mobile-menu-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(192, 192, 192, 0.15);
    border-color: var(--silver-color);
}

.mobile-menu-item i {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--silver-color);
}

.mobile-menu-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--silver-color);
    line-height: 1.2;
    text-align: center;
}

.mobile-menu-item.full-width {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    padding: 1.2rem 1.5rem;
    min-height: auto;
}

.mobile-menu-item.full-width i {
    margin-right: 1rem;
    margin-bottom: 0;
    font-size: 1.5rem;
}

.mobile-menu-item.full-width span {
    font-size: 1rem;
    text-align: left;
}

/* Mobile Menu Item as Link */
.mobile-menu-item[href] {
    text-decoration: none;
    color: inherit;
}

.mobile-menu-item[href]:hover {
    text-decoration: none;
    color: inherit;
}

/* Special Items */
.mobile-menu-item.special-item.job-positions {
    background: linear-gradient(135deg, var(--silver-color), var(--dark-silver));
    color: var(--matte-black);
    border-color: var(--silver-color);
}

.mobile-menu-item.special-item.job-positions i,
.mobile-menu-item.special-item.job-positions span {
    color: var(--matte-black);
}

.mobile-menu-item.special-item.become-advisor {
    background: linear-gradient(135deg, var(--accent-color), var(--card-bg));
    color: var(--silver-color);
    border-color: var(--silver-color);
}

.mobile-menu-item.special-item.become-advisor i,
.mobile-menu-item.special-item.become-advisor span {
    color: var(--silver-color);
}



/* Mobile Social Links */
.mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(44, 62, 80, 0.1);
}

.mobile-social-links .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    border-radius: 50%;
    color: var(--silver-color);
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.08);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.mobile-social-links .social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(192, 192, 192, 0.15);
    background: var(--silver-color);
    color: var(--matte-black);
}



/* Mobile Menu Responsive */
@media (max-width: 480px) {
    .mobile-main-nav-item {
        padding: 0.8rem 0.4rem;
        min-height: 65px;
    }

    .mobile-main-nav-item i {
        font-size: 1.2rem;
    }

    .mobile-main-nav-item span {
        font-size: 0.65rem;
        line-height: 1.1;
    }

    .mobile-menu-item {
        padding: 0.8rem 0.4rem;
        min-height: 70px;
    }

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

    .mobile-menu-item span {
        font-size: 0.7rem;
        line-height: 1.1;
    }

    .mobile-menu-item.full-width {
        padding: 0.8rem 0.8rem;
    }

    .mobile-menu-item.full-width span {
        font-size: 0.8rem;
    }

    .mobile-social-links .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .mobile-main-nav {
        gap: 0.6rem;
    }

    .mobile-main-nav-item {
        padding: 0.6rem 0.3rem;
        min-height: 60px;
    }

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

    .mobile-main-nav-item span {
        font-size: 0.6rem;
    }

    .mobile-menu-grid {
        gap: 0.6rem;
    }

    .mobile-menu-item {
        padding: 0.6rem 0.3rem;
        min-height: 65px;
    }

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

    .mobile-menu-item span {
        font-size: 0.65rem;
    }

    .mobile-social-links .social-link {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
}



.mobile-cta-button {
    width: 100%;
    background: linear-gradient(135deg, var(--silver-color), var(--dark-silver));
    color: var(--matte-black);
    border: none;
    padding: 15px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: block;
    text-align: center;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100); /* Mobile viewport fix */
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    z-index: 1;
    background: transparent;
}









.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3rem); /* Responsive font size */
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: 0.5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.group-text {
    font-size: 0.8em;
    letter-spacing: 3px;
    margin-top: -0.5rem;
}

.hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-color);
    margin-bottom: 2rem;
    font-style: italic;
    text-align: center;
    position: relative;
    padding: 0 80px;
}

.hero-tagline::before,
.hero-tagline::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background: var(--silver-color);
}

.hero-tagline::before {
    left: 0;
}

.hero-tagline::after {
    right: 0;
}

/* Responsive hero title adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 1.5rem;
    }

    .hero-tagline {
        padding: 0 40px;
        font-size: clamp(0.9rem, 2vw, 1.1rem);
    }

    .hero-tagline::before,
    .hero-tagline::after {
        width: 30px;
    }

    .unified-search-section {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }

    .search-tabs-unified {
        gap: 0.8rem;
    }

    .search-tab-unified {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .filters-grid-unified {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.8rem;
    }

    .search-actions-unified {
        gap: 0.8rem;
    }

    .action-btn-unified {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .hero-tagline {
        padding: 0 20px;
        font-size: clamp(0.8rem, 3vw, 1rem);
        margin-bottom: 1.5rem;
    }

    .hero-tagline::before,
    .hero-tagline::after {
        width: 20px;
    }

    .unified-search-section {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }

    .search-tabs-unified {
        flex-direction: column;
        gap: 0.5rem;
    }

    .search-tab-unified {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .filters-grid-unified {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .search-actions-unified {
        flex-direction: column;
        gap: 0.8rem;
    }

    .filter-actions-unified {
        flex-direction: column;
        gap: 0.8rem;
    }
}

@media (max-width: 375px) {
    .hero-title {
        font-size: clamp(1.3rem, 8vw, 1.8rem);
        margin-bottom: 0.5rem;
    }
}

.golden-text {
    color: var(--silver-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.white-text {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Unified Search Section Styles */
.unified-search-section {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid rgba(192, 192, 192, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.search-tabs-unified {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.search-tab-unified {
    background: transparent;
    border: 2px solid var(--silver-color);
    color: var(--silver-color);
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.search-tab-unified:hover {
    background: var(--silver-color);
    color: var(--bg-color);
}

.search-tab-unified.active {
    background: var(--silver-color);
    color: var(--bg-color);
}

.main-search-bar-unified {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 0.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(192, 192, 192, 0.2);
}

.search-input-unified {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    color: var(--text-color);
    font-size: 1rem;
    outline: none;
}

.search-input-unified::placeholder {
    color: rgba(192, 192, 192, 0.7);
}

.search-icon-btn-unified {
    background: var(--silver-color);
    border: none;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    color: var(--bg-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-icon-btn-unified:hover {
    background: #a0a0a0;
}

.search-actions-unified {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.action-btn-unified {
    background: transparent;
    border: 1px solid var(--silver-color);
    color: var(--silver-color);
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.action-btn-unified:hover {
    background: var(--silver-color);
    color: var(--bg-color);
}

.filters-panel-unified {
    display: none;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(192, 192, 192, 0.2);
}

.filters-panel-unified.active {
    display: block;
}

.filters-grid-unified {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.filter-group-unified {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group-unified label {
    color: var(--silver-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.filter-select-unified {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(192, 192, 192, 0.3);
    border-radius: 8px;
    padding: 0.8rem;
    color: var(--text-color);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.filter-select-unified:focus {
    border-color: var(--silver-color);
    background: rgba(255, 255, 255, 0.15);
}

.filter-select-unified option {
    background: var(--bg-color);
    color: var(--text-color);
}

.filter-actions-unified {
    display: flex;
    gap: 1rem;
    justify-content: center;
    grid-column: 1 / -1;
}

.apply-filters-btn,
.clear-filters-btn {
    padding: 0.8rem 2rem;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.apply-filters-btn {
    background: var(--silver-color);
    color: var(--bg-color);
}

.apply-filters-btn:hover {
    background: #a0a0a0;
}

.clear-filters-btn {
    background: transparent;
    color: var(--silver-color);
    border: 1px solid var(--silver-color);
}

.clear-filters-btn:hover {
    background: var(--silver-color);
    color: var(--bg-color);
}

/* Modern Search Banner */
.modern-search-banner {
    background: transparent;
    border-radius: 15px;
    padding: 0;
    margin-bottom: 2rem;
    overflow: hidden;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Modern Search Tabs */
.search-tabs-modern {
    display: flex;
    padding: 20px 20px 0 20px;
    gap: 0;
    justify-content: center;
}

.search-tab-modern {
    padding: 12px 32px;
    background: var(--accent-color);
    border: 2px solid var(--silver-color);
    color: var(--silver-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px 8px 0 0;
    position: relative;
    z-index: 2;
    outline: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    min-width: 120px;
    text-align: center;
}

.search-tab-modern:first-child {
    border-right: none;
    border-radius: 8px 0 0 0;
}

.search-tab-modern:last-child {
    border-radius: 0 8px 0 0;
}

.search-tab-modern.active {
    background: var(--silver-color);
    color: var(--matte-black);
    border-color: var(--silver-color);
    z-index: 3;
}

.search-tab-modern:hover:not(.active) {
    background: var(--dark-silver);
    border-color: var(--dark-silver);
    color: var(--matte-black);
}

/* Modern Search Form */
.search-form-modern {
    background: var(--matte-black);
    border: 2px solid var(--silver-color);
    border-top: none;
    border-radius: 0 0 20px 20px;
    padding: 30px;
    margin-top: -2px;
    position: relative;
    z-index: 1;
}

.search-filters-modern {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr auto;
    gap: 20px;
    align-items: end;
}

.mobile-only-fields {
    display: none;
}



.value-group, .size-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.value-inputs, .size-inputs {
    display: flex;
    gap: 8px;
    width: 100%;
}

.value-input, .size-input {
    padding: 12px 16px;
    border: 2px solid var(--silver-color);
    border-radius: 8px;
    font-size: 14px;
    background: var(--accent-color);
    color: var(--silver-color);
    transition: all 0.3s ease;
    cursor: text;
    font-weight: 500;
    height: 48px;
    flex: 1;
    box-sizing: border-box;
}

.value-input:focus, .size-input:focus {
    outline: none;
    background: var(--matte-black);
    border-color: var(--light-silver);
    box-shadow: 0 0 0 3px rgba(192, 192, 192, 0.2);
    color: var(--light-silver);
}

.value-input:hover, .size-input:hover {
    background: var(--matte-black);
    border-color: var(--light-silver);
}

.value-input::placeholder, .size-input::placeholder {
    color: var(--dark-silver);
    font-weight: 400;
}

/* Filter Elements */
.filter-group-modern {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.filter-label-modern {
    font-size: 14px;
    color: var(--silver-color);
    margin-bottom: 8px;
    font-weight: 600;
    padding-left: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
    display: block;
}

.filter-select-modern {
    padding: 12px 40px 12px 16px;
    border: 2px solid var(--silver-color);
    border-radius: 8px;
    font-size: 14px;
    background: var(--accent-color);
    color: var(--silver-color);
    transition: all 0.3s ease;
    appearance: none;
    cursor: pointer;
    font-weight: 500;
    height: 48px;
    width: 100%;
    box-sizing: border-box;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c0c0c0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.filter-select-modern:focus {
    outline: none;
    background: var(--matte-black);
    border-color: var(--light-silver);
    box-shadow: 0 0 0 3px rgba(192, 192, 192, 0.2);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8e8e8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}

.filter-select-modern:hover {
    background: var(--matte-black);
    border-color: var(--light-silver);
}

.area-input-modern {
    padding: 10px 12px;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    background: #f8f9fa;
    color: #333;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 500;
    height: 38px;
    border: 1px solid transparent;
}

.area-input-modern:focus {
    outline: none;
    background: white;
    border-color: #c0c0c0;
    box-shadow: 0 0 0 3px rgba(192, 192, 192, 0.1);
}

.area-input-modern:hover {
    background: white;
    border-color: #ddd;
}



.search-button-modern {
    padding: 12px 24px;
    border: 2px solid var(--silver-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    background: var(--silver-color);
    color: var(--matte-black);
    cursor: pointer;
    transition: all 0.3s ease;
    height: 48px;
    min-width: 120px;
    box-sizing: border-box;
}

.search-button-modern:hover {
    background: var(--light-silver);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.5);
}

/* Text visibility for desktop/mobile */
.mobile-text, .mobile-option {
    display: none;
}

.desktop-text, .desktop-option {
    display: inline;
}





/* Modern Filter Groups */
.filter-group-modern {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label-modern {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 0;
}

.filter-select-modern {
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.filter-select-modern:focus {
    outline: none;
    border-color: #c0c0c0;
    box-shadow: 0 0 0 3px rgba(192, 192, 192, 0.1);
}

.filter-select-modern:hover {
    border-color: #ccc;
}

/* Value and Size Input Groups */
.value-group, .size-group {
    min-width: 140px;
}

.value-inputs, .size-inputs {
    display: flex;
    gap: 8px;
}

.value-input, .size-input {
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    color: #333;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 0;
}

.value-input::placeholder, .size-input::placeholder {
    color: #999;
}

.value-input:focus, .size-input:focus {
    outline: none;
    border-color: #c0c0c0;
    box-shadow: 0 0 0 3px rgba(192, 192, 192, 0.1);
}

.value-input:hover, .size-input:hover {
    border-color: #ccc;
}



/* Responsive Design for Modern Search Banner */
@media (max-width: 1024px) {
    .search-filters-modern {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .search-button-modern {
        grid-column: 1 / -1;
        justify-self: stretch;
        margin-top: 15px;
    }

    .value-group, .size-group {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .modern-search-banner {
        margin: 0 10px;
        max-width: none;
        border-radius: 12px;
        border: 2px solid var(--silver-color);
    }

    .search-tabs-modern {
        padding: 15px 15px 0 15px;
        gap: 5px;
    }

    .search-tab-modern {
        flex: 1;
        padding: 15px 20px;
        background: var(--accent-color);
        border: 2px solid var(--silver-color);
        color: var(--silver-color);
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 600;
        font-size: 16px;
        border-radius: 10px 10px 0 0;
        position: relative;
        z-index: 2;
        outline: none;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        text-align: center;
    }

    .search-tab-modern.active {
        background: #c0c0c0;
        color: #0d0d0d;
        border-color: #c0c0c0;
        z-index: 3;
    }

    .search-tab-modern:hover:not(.active) {
        background: #f8f9fa;
        border-color: #c0c0c0;
    }



    .search-form-modern {
        padding: 20px 15px;
        border-radius: 0 0 15px 15px;
        border: none;
    }

    .search-filters-modern {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .filter-group-modern {
        width: 100%;
        margin-bottom: 0;
    }

    .value-group, .size-group {
        display: none;
    }





    /* Reorder elements for mobile */
    .filter-group-modern:nth-child(1) { order: 1; } /* Category */
    .filter-group-modern:nth-child(2) { order: 2; } /* Regions */
    .filter-group-modern:nth-child(3) { order: 3; } /* Search Button at bottom */

    .filter-label-modern {
        display: none;
    }

    .filter-select-modern {
        width: 100%;
        padding: 15px 20px;
        border: 2px solid var(--silver-color);
        border-radius: 10px;
        font-size: 16px;
        font-weight: 500;
        background: var(--accent-color);
        color: var(--silver-color);
        appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c3e50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 15px center;
        background-size: 20px;
        padding-right: 50px;
        cursor: pointer;
        transition: all 0.3s ease;
        box-sizing: border-box;
        height: auto;
    }

    .filter-select-modern:focus {
        outline: none;
        border-color: #c0c0c0;
        box-shadow: 0 0 0 3px rgba(192, 192, 192, 0.1);
    }

    .area-input-modern {
        width: 100%;
        padding: 15px 20px;
        border: 2px solid var(--silver-color);
        border-radius: 10px;
        font-size: 16px;
        font-weight: 500;
        background: var(--accent-color);
        color: var(--silver-color);
        cursor: pointer;
        transition: all 0.3s ease;
        box-sizing: border-box;
        height: auto;
    }

    .area-input-modern:focus {
        outline: none;
        border-color: #c0c0c0;
        box-shadow: 0 0 0 3px rgba(192, 192, 192, 0.1);
    }



    .search-button-modern {
        width: 100%;
        padding: 15px 20px;
        border: none;
        border-radius: 10px;
        font-size: 16px;
        font-weight: 600;
        background: var(--silver-color);
        color: var(--matte-black);
        cursor: pointer;
        transition: all 0.3s ease;
        box-sizing: border-box;
        height: auto;
        min-width: auto;
    }

    .search-button-modern:hover {
        background: var(--light-silver);
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(192, 192, 192, 0.5);
    }

    /* Show mobile text, hide desktop text */
    .mobile-text, .mobile-option {
        display: inline;
    }

    .desktop-text, .desktop-option {
        display: none;
    }
}

@media (max-width: 480px) {
    .search-filters-modern {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .search-tabs-modern {
        padding: 8px 8px 0 8px;
        gap: 4px;
    }

    .search-form-modern {
        padding: 12px 8px;
    }

    .search-tab-modern {
        padding: 8px 16px;
        font-size: 12px;
        flex: 1;
        text-align: center;
        min-width: auto;
    }

    .modern-search-banner {
        margin: 0 8px;
        border-radius: 10px;
        border: 1px solid var(--silver-color);
    }

    .filter-group-modern {
        margin-bottom: 10px;
    }

    .filter-label-modern {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .filter-select-modern,
    .value-input,
    .size-input {
        padding: 8px 10px;
        font-size: 14px;
        height: auto;
        min-height: 40px;
    }

    .search-button-modern {
        padding: 10px;
        font-size: 14px;
        margin-top: 8px;
        min-height: 40px;
    }
}

/* Extra small devices (iPhone SE, etc.) */
@media (max-width: 375px) {
    .modern-search-banner {
        margin: 0 5px;
        border-radius: 8px;
    }

    .search-tabs-modern {
        padding: 6px 6px 0 6px;
        gap: 2px;
    }

    .search-form-modern {
        padding: 10px 6px;
    }

    .search-tab-modern {
        padding: 6px 12px;
        font-size: 11px;
    }

    .filter-select-modern,
    .value-input,
    .size-input,
    .search-button-modern {
        padding: 6px 8px;
        font-size: 13px;
        min-height: 36px;
    }
}





/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--silver-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
    color: var(--dark-silver);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--silver-color);
    margin-bottom: 1rem;
}

.services-section .section-title {
    color: var(--silver-color);
    position: relative;
}

.services-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--silver-color), var(--dark-silver));
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--dark-silver);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--accent-color) 100%);
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    position: relative;
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--silver-color), var(--dark-silver));
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(192, 192, 192, 0.3);
}

.service-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: var(--matte-black);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.3), rgba(26, 26, 26, 0.2));
    pointer-events: none;
    z-index: 1;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 0;
    position: relative;
    z-index: 2;
}

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

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.3s ease;
    z-index: 2;
}

.service-card:hover .service-overlay {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.1), rgba(26, 26, 26, 0.05));
}

.service-button {
    background: linear-gradient(135deg, var(--silver-color), var(--dark-silver));
    color: var(--matte-black);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(192, 192, 192, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.95;
}

.service-card:hover .service-button {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 192, 192, 0.5);
    background: linear-gradient(135deg, var(--light-silver), var(--silver-color));
    opacity: 1;
}

/* Popular Properties Section */
.popular-properties {
    padding: 4rem 0;
    background: var(--accent-color);
    position: relative;
    z-index: 2;
}

.popular-properties .properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.popular-properties .loading-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-color);
}

.popular-properties .loading-state i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--silver-color);
}

.popular-properties .view-all-container {
    text-align: center;
    margin-top: 2rem;
}

.popular-properties .view-all-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--silver-color), var(--light-silver));
    color: var(--matte-black);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.3);
}

.popular-properties .view-all-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 192, 192, 0.5);
    background: linear-gradient(135deg, var(--light-silver), var(--silver-color));
}

/* Popular Areas Section (Legacy - keeping for compatibility) */
.popular-areas {
    padding: 4rem 0;
    background: var(--accent-color);
    position: relative;
    z-index: 2;
}

/* Scroll indicator for mobile */
.areas-scroll-indicator {
    display: none;
    text-align: center;
    margin-top: 1rem;
    color: var(--silver-color);
    font-size: 0.9rem;
    opacity: 0.8;
}

.areas-scroll-indicator i {
    margin: 0 0.5rem;
    animation: bounce-horizontal 2s infinite;
}

@keyframes bounce-horizontal {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(0);
    }
    40% {
        transform: translateX(-5px);
    }
    60% {
        transform: translateX(5px);
    }
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 3rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1200px) {
    .areas-grid {
        grid-template-columns: repeat(6, 1fr);
        max-width: 1200px;
        gap: 1.2rem;
    }
}

.area-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.area-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.area-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

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

.area-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    padding: 2rem 1.5rem 1.5rem;
    pointer-events: none;
}

.area-overlay h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.5px;
}

.property-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(192, 192, 192, 0.2);
    border-color: var(--silver-color);
}

.property-image {
    width: 100%;
    height: 250px;
    background: #ddd;
    position: relative;
    overflow: hidden;
}

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

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--silver-color);
    color: var(--matte-black);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #d4af37;
    color: white;
    padding: 8px 10px;
    border-radius: 50%;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

.property-card {
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.property-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.property-content {
    padding: 1.5rem;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--silver-color);
    margin-bottom: 0.5rem;
}

.property-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--light-silver);
    margin-bottom: 0.5rem;
}

.property-location {
    color: var(--dark-silver);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--dark-silver);
}

.property-feature {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.view-all-button {
    background: linear-gradient(135deg, var(--silver-color), var(--dark-silver));
    color: var(--matte-black);
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

.view-all-button:hover {
    transform: translateY(-2px);
}

/* Trust the Experts Section */
.trust-experts-section {
    position: relative;
    padding: 8rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.trust-experts-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.trust-experts-bg-image {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.7) contrast(1.2) grayscale(30%);
}

.trust-experts-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.6) 0%, rgba(26, 26, 26, 0.5) 50%, rgba(13, 13, 13, 0.7) 100%);
    z-index: -1;
}

.trust-experts-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.trust-experts-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--silver-color);
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.trust-experts-text {
    color: #e8e8e8;
    font-size: 0.95rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.trust-experts-text p {
    margin-bottom: 1.5rem;
}

.trust-experts-text p:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: var(--silver-color);
}

/* Mobile optimization */
@media (max-width: 768px) {
    .trust-experts-section {
        padding: 4rem 0;
        min-height: 50vh;
    }

    .trust-experts-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .trust-experts-text {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .trust-experts-bg-image {
        filter: brightness(0.6) contrast(1.1) grayscale(40%);
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--accent-color), var(--card-bg));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    color: var(--light-silver);
}

.cta-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary,
.cta-secondary {
    padding: 20px 40px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 2px solid var(--silver-color);
    text-decoration: none;
    display: inline-block;
}

.cta-primary {
    background: var(--silver-color);
    color: var(--matte-black);
}

.cta-secondary {
    background: transparent;
    color: var(--silver-color);
}

.cta-primary:hover,
.cta-secondary:hover {
    transform: translateY(-2px);
}

/* Find Us Section */
.find-us-section {
    padding: 6rem 0;
    background: var(--accent-color);
}

.find-us-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-info-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    height: fit-content;
}

.contact-card-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.location-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--silver-color), var(--dark-silver));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--matte-black);
    font-size: 1.5rem;
}

.contact-card-header h3 {
    color: var(--silver-color);
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--accent-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.contact-detail i {
    color: var(--silver-color);
    font-size: 1.1rem;
    margin-top: 0.2rem;
    min-width: 20px;
}

.contact-detail strong {
    color: var(--silver-color);
    display: block;
    margin-bottom: 0.3rem;
}

.directions-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--silver-color), var(--dark-silver));
    color: var(--matte-black);
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    transition: transform 0.3s ease;
    text-align: center;
}

.directions-btn:hover {
    transform: translateY(-2px);
    color: var(--matte-black);
    background: linear-gradient(135deg, var(--light-silver), var(--silver-color));
}

/* Footer */
.footer {
    background: var(--matte-black);
    color: var(--silver-color);
    padding: 3rem 0 1rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-logo-section {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-logo-svg {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    flex-shrink: 0;
}

/* Responsive footer logo */
@media (max-width: 768px) {
    .footer-logo-svg {
        width: 50px;
        height: 50px;
    }
}

.footer-company-info h3 {
    color: var(--silver-color);
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-company-info .tagline {
    color: var(--dark-silver);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-company-info .description {
    color: var(--dark-silver);
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer-section h4 {
    color: var(--silver-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

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

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--dark-silver);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--silver-color);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--dark-silver);
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--silver-color);
    width: 16px;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(192, 192, 192, 0.1);
    border-radius: 6px;
    color: var(--silver-color);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--silver-color);
    color: var(--matte-black);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--dark-silver);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark-silver);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--silver-color);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-logo-section {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Touch-friendly interactive elements */
button,
.cta-button,
.search-button-modern,
.mobile-menu-item,
.mobile-main-nav-item,
.nav-link,
a {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Ensure minimum touch target size */
button,
.cta-button,
.search-button-modern {
    min-height: 44px;
    min-width: 44px;
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    /* Optimize scrolling */
    body {
        -webkit-overflow-scrolling: touch;
        overflow-scrolling: touch;
    }

    /* Reduce animations on mobile for better performance */
    *, *::before, *::after {
        animation-duration: 0.3s !important;
        transition-duration: 0.3s !important;
    }

    /* Improve touch responsiveness */
    button,
    .cta-button,
    .search-button-modern,
    .mobile-menu-item,
    .mobile-main-nav-item {
        min-height: 48px; /* Larger touch targets on mobile */
    }
}

/* Tablet Design */
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        padding: 0 24px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 4vw, 3rem);
    }

    .search-filters-modern {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 16px;
    }

    .search-button-modern {
        grid-column: 1 / -1;
    }
}

/* Mobile Design */
@media (max-width: 768px) {
    /* Hide desktop navigation */
    .nav {
        display: none;
    }

    /* Hide CTA button on mobile, show only hamburger menu */
    .header-cta .cta-button {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        /* Improve touch target */
        min-width: 48px;
        min-height: 48px;
        justify-content: center;
        align-items: center;
        background: rgba(192, 192, 192, 0.1);
        border-radius: 8px;
        padding: 8px;
        transition: background 0.3s ease;
    }

    .mobile-menu-toggle:hover,
    .mobile-menu-toggle:active {
        background: rgba(192, 192, 192, 0.2);
    }

    .header-cta {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .hero-title {
        font-size: 2rem;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        text-align: center;
        padding: 0 1rem;
    }

    .search-filters {
        flex-direction: column;
        gap: 0;
        padding: 12px;
    }

    .filter-group {
        min-width: auto;
        padding: 12px 15px;
    }

    .filter-group:not(:last-of-type) {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }



    .filter-select {
        padding: 12px 30px 12px 12px;
        background-size: 13px;
        background-position: right 10px center;
        height: 36px;
    }

    .search-form {
        margin: 0 1rem 1.5rem 1rem;
        max-width: 100%;
    }

    .search-tabs {
        margin-bottom: 1rem;
    }

    .search-tab {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .filter-group {
        padding: 8px 12px;
        border-right: none;
    }

    .find-us-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info-card {
        order: -1;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card {
        margin: 0 auto;
        max-width: 400px;
    }

    .areas-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 1rem;
        margin: 2rem 0;
        padding: 0 1rem 1rem 1rem;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }

    .areas-grid::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

    .areas-grid .area-card {
        flex: 0 0 200px;
        min-width: 200px;
        height: 200px;
    }

    .areas-scroll-indicator {
        display: block;
    }

    .area-overlay h3 {
        font-size: 1.1rem;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .popular-properties .properties-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .hero-title {
        font-size: clamp(1.4rem, 6vw, 1.8rem);
    }

    .search-form {
        padding: 1.2rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .cta-section {
        padding: 1.5rem;
    }

    .cta-content h3 {
        font-size: 1.4rem;
    }

    .areas-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 0.8rem;
        margin: 1.5rem 0;
        padding: 0 1rem 1rem 1rem;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }

    .areas-grid::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

    .areas-grid .area-card {
        flex: 0 0 160px;
        min-width: 160px;
        height: 160px;
    }

    .areas-scroll-indicator {
        display: block;
        font-size: 0.8rem;
    }

    .area-overlay h3 {
        font-size: 1rem;
        padding: 1.2rem 0.8rem 0.8rem;
    }
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 0;
    }

    .hero-title {
        font-size: clamp(1.5rem, 4vh, 2rem);
        margin-bottom: 0.5rem;
    }

    .modern-search-banner {
        margin-bottom: 1rem;
    }

    .hero-stats {
        margin-top: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
}

/* Very small screens in landscape */
@media (max-height: 400px) and (orientation: landscape) {
    .header-content {
        padding: 0.4rem 0;
        min-height: 50px;
    }

    .logo-svg {
        width: 35px;
        height: 35px;
    }

    .company-name {
        font-size: 0.9rem;
    }

    .company-tagline {
        font-size: 0.6rem;
    }
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-intro {
    margin-bottom: 3rem;
}

.about-intro h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.value-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.value-content h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.value-content p {
    color: #666;
    line-height: 1.6;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: var(--accent-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--dark-silver);
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--silver-color);
    transform: translateY(-5px);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--silver-color);
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: var(--dark-silver);
    font-weight: 500;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-card {
    background: var(--accent-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 2px solid var(--dark-silver);
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--silver-color);
    color: var(--matte-black);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-details h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-details p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.3rem;
}

.contact-details a {
    color: #c0c0c0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #a0a0a0;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 600;
}

.contact-form-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #c0c0c0;
}

.contact-submit-btn {
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    align-self: flex-start;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Responsive Design for About and Contact Sections */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .map-info-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .location-marker {
        margin: 0 auto;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .value-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .about-intro h3 {
        font-size: 1.5rem;
    }

    .contact-form h3 {
        font-size: 1.5rem;
    }
}

/* Page Hero Section */
.page-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5)),
                url('https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.page-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* Team Section */
.team-section {
    padding: 6rem 0;
    background: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    justify-content: center;
    max-width: 400px;
    margin: 3rem auto 0;
}

.team-member {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.member-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #c0c0c0;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info h4 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.member-role {
    color: #c0c0c0;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.member-description {
    color: #666;
    line-height: 1.6;
}

/* Map Section */
.map-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.map-section .map-container {
    margin-top: 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 450px;
}

.map-section .map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-info-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-info-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.location-marker {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.location-details h4 {
    color: #c0c0c0;
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.location-details p {
    margin: 0.3rem 0;
    color: #666;
    line-height: 1.5;
}

.directions-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 1rem;
    transition: transform 0.3s ease;
}

.directions-link:hover {
    transform: translateY(-2px);
    color: white;
}

.map-info {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.map-info i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.map-info h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.map-info p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    margin-top: 1rem;
    transition: background 0.3s ease;
}

.map-link:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Contact Form Enhancements */
.form-description {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-note {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
    margin-top: 0.5rem;
}

.checkbox-group {
    margin: 1.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    width: auto;
}

.checkbox-label a {
    color: #c0c0c0;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .member-photo {
        width: 120px;
        height: 120px;
    }

    .map-placeholder {
        height: 300px;
    }

    .map-info {
        padding: 1.5rem;
    }

    .map-info i {
        font-size: 2rem;
    }

    .map-info h4 {
        font-size: 1.2rem;
    }

    /* Video optimizations for mobile */
    .hero-video {
        /* Reduce quality on mobile for faster loading */
        max-width: 100vw;
        max-height: 100vh;
        object-fit: cover;
    }

    /* Ensure page hero backgrounds work on mobile */

    .video-loading {
        padding: 1.5rem;
    }

    .loading-spinner {
        width: 30px;
        height: 30px;
    }


}
/* Video autoplay fix - removed duplicate */

/* Page hero backgrounds - Default background for all page heroes */

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* =================================
   ASSIGNMENT PAGE STYLES (MERGED)
   ================================= */

/* Assignment Page Specific Styles */

/* Hero Section */
.assignment-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    color: white;
}

.assignment-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.assignment-hero .hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
}

.assignment-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.assignment-hero .hero-content {
    position: relative;
    z-index: 2;
}

.assignment-hero .hero-title {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.3;
    max-width: 800px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Introduction Section */
.introduction {
    padding: 4rem 0;
    background: white;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

.intro-text strong {
    color: #c0c0c0;
    font-weight: 600;
}

/* Personal Guidance Section */
.personal-guidance {
    padding: 3rem 0;
    background: #f8f9fa;
}

.guidance-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.guidance-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

.guidance-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Why Choose Assignment Section */
.why-choose-assignment {
    padding: 4rem 0;
    background: white;
}

.why-choose-assignment .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.why-choose-assignment .feature-item {
    text-align: left;
    padding: 2rem;
    border-radius: 15px;
    background: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-assignment .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.why-choose-assignment .feature-icon {
    width: 60px;
    height: 60px;
    background: var(--silver-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(255, 195, 0, 0.3);
}

.why-choose-assignment .feature-icon i {
    font-size: 1.5rem;
    color: var(--matte-black);
}

.why-choose-assignment .feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--silver-color);
    margin-bottom: 1rem;
}

.why-choose-assignment .feature-description {
    color: var(--dark-silver);
    line-height: 1.6;
}

/* Start Form Button */
.start-form-button {
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 25px rgba(192, 192, 192, 0.3);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0 auto;
}

.start-form-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(192, 192, 192, 0.4);
}

.start-form-button i {
    font-size: 1.3rem;
}







/* =================================
   ΠΡΟΣΘΗΚΕΣ ΓΙΑ VIDEO & BACKGROUNDS
   ================================= */

/* Video background improvements - removed duplicate */

/* About page hero background - Modern office building/business team */
.about-page .page-hero {
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5)),
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Contact page hero background - Handshake/Business meeting */
.contact-page .page-hero {
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5)),
                url('https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Remove overlay background for about and contact pages to show background images */
.about-page .hero-overlay,
.contact-page .hero-overlay {
    background: none;
}

/* Properties page styles */
.properties-page .page-hero {
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5)),
                url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}



.properties-listing {
    padding: 4rem 0;
    background: #f8f9fa;
}

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

.filter-tabs {
    display: inline-flex;
    background: white;
    border-radius: 25px;
    padding: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.filter-tab {
    padding: 12px 24px;
    border: none;
    background: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.filter-tab.active {
    background: #c0c0c0;
    color: white;
}

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

.property-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.property-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #c0c0c0;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.property-content {
    padding: 1.5rem;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #c0c0c0;
    margin-bottom: 0.5rem;
}

.property-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.property-location {
    color: #666;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-features {
    display: flex;
    gap: 1rem;
    color: #666;
}

.property-features span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Property Card Enhancements */
.property-description {
    margin: 1rem 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.property-description p {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.amenity-tag {
    background: #f8f9fa;
    color: #666;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid #e9ecef;
}

.amenity-more {
    background: #c0c0c0;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

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

.contact-btn,
.details-btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.contact-btn {
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
    color: white;
}

.contact-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(192, 192, 192, 0.3);
}

.details-btn {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #e9ecef;
}

.details-btn:hover {
    background: #e9ecef;
    color: #333;
}

/* Filter Tabs Improvements */
.filter-tabs {
    display: inline-flex;
    background: white;
    border-radius: 25px;
    padding: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.filter-tab {
    padding: 12px 24px;
    border: none;
    background: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #666;
    min-width: 100px;
}

.filter-tab.active {
    background: #c0c0c0;
    color: white;
    box-shadow: 0 2px 8px rgba(192, 192, 192, 0.3);
}

.filter-tab:hover:not(.active) {
    background: #f8f9fa;
    color: #333;
}

/* Properties Grid Animation - FORCE VISIBILITY */
.property-card {
    opacity: 1 !important;
    transform: none !important;
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.property-card.visible {
    opacity: 1 !important;
    transform: none !important;
}

/* Override any AOS or animation library styles */
.property-card[data-aos] {
    opacity: 1 !important;
    transform: none !important;
}

/* Load More Button */
.view-all-button {
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.3);
}

.view-all-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 192, 192, 0.4);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .filter-tabs {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 2rem;
    }

    .filter-tab {
        width: 100%;
        margin: 2px 0;
        border-radius: 8px;
    }

    .properties-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .page-hero {
        background-attachment: scroll !important;
    }

    .properties-page .page-hero {
        background-attachment: scroll !important;
    }

    .about-page .page-hero {
        background-attachment: scroll !important;
    }

    .contact-page .page-hero {
        background-attachment: scroll !important;
    }

    .property-actions {
        flex-direction: column;
    }

    .contact-btn,
    .details-btn {
        width: 100%;
    }

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





/* =================================
   PRIVACY POLICY PAGE
   ================================= */

.privacy-content {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.privacy-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.privacy-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
}

.privacy-section {
    margin-bottom: 3rem;
    opacity: 1;
    transform: none;
    /* animation: fadeInUp 0.6s ease forwards; */
}

/* Animation delays removed - not needed anymore */
/* .privacy-section:nth-child(1) { animation-delay: 0.1s; }
.privacy-section:nth-child(2) { animation-delay: 0.2s; }
.privacy-section:nth-child(3) { animation-delay: 0.3s; }
.privacy-section:nth-child(4) { animation-delay: 0.4s; }
.privacy-section:nth-child(5) { animation-delay: 0.5s; }
.privacy-section:nth-child(6) { animation-delay: 0.6s; }
.privacy-section:nth-child(7) { animation-delay: 0.7s; }
.privacy-section:nth-child(8) { animation-delay: 0.8s; }
.privacy-section:nth-child(9) { animation-delay: 0.9s; } */

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

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-section h2 {
    color: #c0c0c0;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #c0c0c0;
    position: relative;
    font-weight: 700;
}

.privacy-section h2::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
    border-radius: 2px;
}

.privacy-section h2 i {
    color: #c0c0c0;
    margin-right: 0.75rem;
    font-size: 1.5rem;
    vertical-align: middle;
}

.privacy-section p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
    font-size: 1.05rem;
    text-align: justify;
}

.privacy-section ul {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

.privacy-section li {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #555;
    position: relative;
    padding-left: 2rem;
    font-size: 1.05rem;
}

.privacy-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #c0c0c0;
    font-weight: bold;
    font-size: 1.2rem;
}

.privacy-section li strong {
    color: #c0c0c0;
    font-weight: 600;
}

.contact-info {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    color: #c0c0c0;
}

.contact-info i {
    color: #c0c0c0;
    width: 24px;
    font-size: 1.2rem;
}

.contact-info strong {
    color: #c0c0c0;
    font-weight: 600;
}

/* Privacy Policy Page Header */
.privacy-policy-page .page-header {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(52, 73, 94, 0.8)),
                url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 8rem 0 6rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.privacy-policy-page .page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.1), rgba(244, 208, 63, 0.1));
    z-index: 1;
}

.privacy-policy-page .page-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.privacy-policy-page .page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #fff, #f8f9fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-policy-page .page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Back to Top Button for Privacy Policy */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

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

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Privacy Policy Mobile */
@media (max-width: 768px) {
    .privacy-content {
        padding: 4rem 0;
    }

    .privacy-wrapper {
        padding: 2.5rem 2rem;
        margin: 0 1rem;
        border-radius: 15px;
    }

    .privacy-section h2 {
        font-size: 1.5rem;
    }

    .privacy-section p,
    .privacy-section li {
        font-size: 1rem;
    }

    .contact-info {
        padding: 1.5rem;
    }

    .contact-info p {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .privacy-policy-page .page-header {
        padding: 6rem 0 4rem;
        background-attachment: scroll;
    }

    .privacy-policy-page .page-header h1 {
        font-size: 2.5rem;
    }

    .privacy-policy-page .page-header p {
        font-size: 1.1rem;
    }

    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .privacy-wrapper {
        padding: 2rem 1.5rem;
        margin: 0 0.5rem;
    }

    .privacy-section h2 {
        font-size: 1.3rem;
    }

    .privacy-section li {
        padding-left: 1.5rem;
    }
}

/* ===== PROPERTIES API STYLES ===== */

/* Loading indicator */
.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: #666;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #c0c0c0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* No results message */
.no-results {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    padding: 4rem 2rem;
}

.no-results-content {
    text-align: center;
    color: #666;
}

.no-results-content i {
    font-size: 4rem;
    color: #c0c0c0;
    margin-bottom: 1rem;
}

.no-results-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

/* Error message */
.error-message {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    padding: 4rem 2rem;
}

.error-content {
    text-align: center;
    color: #721c24;
    background: #f8d7da;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #f5c6cb;
}

.error-content i {
    font-size: 3rem;
    color: #dc3545;
    margin-bottom: 1rem;
}

.error-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.error-content .btn-primary {
    margin-top: 1rem;
}

/* Property card enhancements */
.property-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.property-badge.sale {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.property-badge.rent {
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
    color: white;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

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

.property-actions .btn-primary,
.property-actions .btn-secondary {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.property-actions .btn-primary {
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
    color: white;
}

.property-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.property-actions .btn-secondary {
    background: transparent;
    color: #c0c0c0;
    border: 2px solid #c0c0c0;
}

.property-actions .btn-secondary:hover {
    background: #c0c0c0;
    color: white;
    transform: translateY(-2px);
}

/* Filter tabs active state */
.filter-tab.active {
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
    color: white;
    transform: translateY(-2px);
}

/* FORCE PROPERTY CARDS TO BE VISIBLE - OVERRIDE EVERYTHING */
.property-card,
.property-card[data-aos],
.property-card[data-aos="fade-up"],
.property-card.aos-animate,
.property-card.aos-init,
div.property-card {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  display: block !important;
}

/* Override AOS library completely */
[data-aos="fade-up"] {
  opacity: 1 !important;
  transform: none !important;
}

/* Properties grid must be visible */
.properties-grid {
  opacity: 1 !important;
  visibility: visible !important;
  display: grid !important;
}