:root {
    --primary-color: #FFD700;
    --primary-color-rgb: 255, 215, 0;
    --secondary-color: #b8860b;
    --background-color: #1a1a1a;
    --background-color-rgb: 26, 26, 26;
    --website-background-color: #0a0a0a;
    --text-color: #ffffff;
    --accent-color: #c5a300;
    --accent-color-rgb: 197, 163, 0;
    --border-radius: 0.5rem;
    --section-background-color: #1a1a1a;
    --section-background-color-rgb: 26, 26, 26;
    --navbar-color: #1a1a1a;
    --navbar-scrolled-color: #0a0a0a;
    --button-text-color: #000000;
    --link-color: #FFD700;
    --link-hover-color: #c5a300;
    --card-background-color: #1a1a1a;
    --card-background-color-rgb: 26, 26, 26;
    --card-border-color: #FFD700;
    --card-border-color-rgb: 255, 215, 0;
    --card-text-color: #ffffff;
    --card-hover-background: #2a2a2a;
}

.hero-section {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: visible;
    background-color: var(--website-background-color);
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
    right: 0;
}

.hero-section > .absolute {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-section video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-section .bg-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-section h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 90%;
    margin-bottom: 1.5rem;
}

@media (min-width: 480px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .hero-section h1 {
        font-size: 3.5rem;
    }

    .hero-section p {
        font-size: 1.25rem;
        max-width: 600px;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.hero-section > * {
    position: relative;
    z-index: 2;
}

.btn-gold {
    background-color: var(--primary-color, #FFD700);
    color: var(--button-text-color, #000);
    font-weight: bold;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    box-shadow: 0 4px 6px rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
}

@keyframes wave {
    0% {
        transform: translateY(0) scale(1);
    }
    25% {
        transform: translateY(-3px) scale(1.02);
    }
    50% {
        transform: translateY(2px) scale(0.98);
    }
    75% {
        transform: translateY(-1px) scale(1.01);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

.animate-wave {
    animation: wave 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.search-tab {
    transition: all 0.3s ease;
    transform-origin: center;
}

.search-tab.active {
    background-color: #FFD700;
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 4px 6px rgba(255, 215, 0, 0.2);
}

.bg-gold {
    background-color: #FFD700;
}

.search-input:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

/* Add new styles for input elements */
input[type="text"], select {
    background-color: rgba(0, 0, 0, 0.6) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    transition: all 0.2s ease;
}

@media (max-width: 640px) {
    .hero-section .grid {
        gap: 0.75rem;
    }

    .hero-section input[type="text"],
    .hero-section select {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }

    .hero-section button {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
}

input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

input[type="text"]:focus, select:focus {
    background-color: rgba(0, 0, 0, 0.8) !important;
    border-color: #FFD700 !important;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2) !important;
}

option {
    background-color: #1a1a1a;
    color: #fff;
}

.stats-item {
    transition: transform 0.3s ease;
}

.stats-item:hover {
    transform: translateY(-3px);
}

@media (max-width: 640px) {
    .hero-section .stats-grid {
        gap: 0.5rem;
        padding: 0 0.5rem;
    }

    .hero-section .stats-item {
        padding: 0.25rem;
    }

    .hero-section .stats-number {
        font-size: 0.875rem;
    }

    .hero-section .stats-label {
        font-size: 0.625rem;
    }
}

.btn-gold:hover {
    background-color: #c5a300;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 215, 0, 0.3);
}

.btn-gold:active {
    transform: translateY(0);
}

.btn-black {
    background-color: var(--background-color, #1a1a1a);
    color: var(--text-color, #ffffff);
    font-weight: bold;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--primary-color, #FFD700);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-black:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn-black:active {
    transform: translateY(0);
}

@keyframes gold-glow {
    0% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.5); }
    100% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.3); }
}

.btn-gold:hover,
.btn-black:hover {
    animation: gold-glow 1.5s infinite;
}

.slider-container {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    display: flex;
    gap: 1.5rem;
    overflow-x: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: fit-content;
    max-width: 100%;
    position: relative;
    padding: 0 60px;
    scroll-behavior: smooth;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: auto;
    margin-right: auto;
}

.slider-container:hover {
    cursor: grab;
}

.slider-container:active {
    cursor: grabbing;
}

.slider-container-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-container-wrapper::before,
.slider-container-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.slider-container-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, var(--website-background-color) 0%, rgba(var(--website-background-color), 0) 100%);
}

.slider-container-wrapper::after {
    right: 0;
    background: linear-gradient(270deg, var(--website-background-color) 0%, rgba(var(--website-background-color), 0) 100%);
}

.slider-container::-webkit-scrollbar {
    display: none; /* Chrome Safari */
}

.slider-item {
    display: inline-block;
    scroll-snap-align: start;
    width: 16rem;
}

.truncate-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.property-card {
    width: 20rem; /* Fixed width for all cards */
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(var(--primary-color-rgb), 0.1);
    background: linear-gradient(145deg, var(--section-background-color), var(--secondary-color));
    border: 1px solid rgba(var(--primary-color-rgb), 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(var(--primary-color-rgb), 0.2);
    border-color: rgba(var(--primary-color-rgb), 0.3);
    background: linear-gradient(145deg, var(--section-background-color), var(--accent-color));
}

.property-card .image-container {
    height: 12rem; /* Fixed height for images */
    overflow: hidden;
    position: relative; /* Required for absolute positioning of the offer type */
}

.property-card .image-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    margin: 0; /* Remove image margins */
}

.property-card .card-content {
    padding: 1rem;
    background-color: rgba(var(--section-background-color-rgb), 0.9);
}

.property-card .card-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.property-card .card-content p {
    color: var(--text-color);
    font-size: 0.875rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.property-card .card-content .price {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.25rem;
    margin-top: 0.5rem;
}

.property-card .card-content .location {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.offer-type {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-color: var(--primary-color);
    color: var(--button-text-color);
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(var(--primary-color-rgb), 0.2);
    box-shadow: 0 2px 4px rgba(var(--primary-color-rgb), 0.1);
    transition: all 0.2s ease;
}

.offer-type:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(var(--primary-color-rgb), 0.2);
}

/* Contact Section Styles */
.contact-container {
    width: 100%;
    max-width: 48rem;
    margin: 0 auto;
    padding: 1rem;
}

@media (min-width: 768px) {
    .contact-container {
        padding: 0 1rem;
    }
}

.contact-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #f3f4f6;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.contact-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color, #FFD700), var(--accent-color, #c5a300));
    border-radius: 2px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
        gap: 3rem;
    }
}

.contact-info-cards {
    background-color: rgba(var(--website-background-color), 0.95);
    backdrop-filter: blur(16px);
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 215, 0, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.contact-form-container {
    position: static;
}

@media (min-width: 768px) {
    .contact-form-container {
        position: sticky;
        top: 2rem;
    }
}

.contact-form-container {
    background-color: rgba(var(--website-background-color), 0.95);
    backdrop-filter: blur(16px);
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 215, 0, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.contact-form {
    display: grid;
    gap: 1.25rem;
}

.contact-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #e5e7eb;
    margin-bottom: 0.5rem;
}

.contact-input-group {
    position: relative;
}

.contact-input {
    width: 100%;
    padding: 0.875rem;
    border-radius: 0.75rem;
    background-color: rgba(55, 65, 81, 0.4);
    border: 1px solid rgba(107, 114, 128, 0.3);
    color: #ffffff;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    appearance: none;
    -webkit-appearance: none;
}

.contact-input:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.15);
    background-color: rgba(55, 65, 81, 0.6);
}

.country-code-select {
    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='currentColor' 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 0.5rem center;
    background-size: 0.75rem;
    padding: 0.875rem 1.5rem 0.875rem 0.875rem;
    width: 100%;
    flex-shrink: 0;
    text-overflow: ellipsis;
}

@media (min-width: 480px) {
    .country-code-select {
        max-width: 110px;
    }
}

.phone-input {
    flex: 1;
    min-width: 0;
}

.phone-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

@media (min-width: 480px) {
    .phone-input-group {
        flex-direction: row;
        align-items: center;
    }
}

.phone-input-group .contact-input {
    flex: 1;
    min-width: 0;
}

.contact-input:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.15);
    background-color: rgba(55, 65, 81, 0.6);
}

.contact-input::placeholder {
    color: rgba(209, 213, 219, 0.4);
}

.contact-textarea {
    width: 100%;
    min-height: 120px;
    padding: 0.875rem;
    border-radius: 0.75rem;
    background-color: rgba(55, 65, 81, 0.4);
    border: 1px solid rgba(107, 114, 128, 0.3);
    color: #ffffff;
    transition: all 0.3s ease;
    resize: vertical;
    font-size: 0.875rem;
}

.contact-submit-btn {
    width: 100%;
    padding: 0.875rem;
    border-radius: 0.75rem;
    background: linear-gradient(45deg, var(--primary-color, #FFD700), var(--accent-color, #c5a300));
    color: #000;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(var(--primary-color-rgb, 255, 215, 0), 0.3);
}

.contact-info-cards {
    display: grid;
    gap: 1.25rem;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(var(--website-background-color), 0.8);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
    flex-wrap: wrap;
}

@media (min-width: 480px) {
    .contact-info-card {
        flex-wrap: nowrap;
    }
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.1);
}

.contact-icon-container {
    flex-shrink: 0;
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: linear-gradient(45deg, #FFD700, #c5a300);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #000;
}

.contact-info-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #f3f4f6;
    margin-bottom: 0.25rem;
}

.contact-info-link {
    font-size: 0.875rem;
    color: #d1d5db;
    transition: color 0.3s ease;
}

.contact-info-link:hover {
    color: var(--primary-color, #FFD700);
}

@media (min-width: 768px) {
    .contact-container {
        max-width: 64rem;
    }

    .contact-heading {
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1.5fr 1fr;
        gap: 3rem;
    }

    .contact-form-container {
        padding: 2rem;
    }

    .contact-info-cards {
        gap: 1.5rem;
    }
}
