body {
    font-family: 'Cairo', sans-serif; /* Arabic-friendly font */
    font-size: 16px;
    line-height: 1.8; /* Improved readability */
    color: #333;
    margin: 0;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Sticky nav */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #111;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

nav.scrolled {
    background-color: #222;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 15px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 16px; /* Standardized font size */
    font-weight: 600; /* Semi-bold for better visibility */
    text-transform: capitalize; /* Clean and modern look */
    transition: color 0.3s ease, transform 0.3s ease;
}

nav a:hover {
    color: #f9c000;
    transform: scale(1.1);
}

section {
    padding: 60px 20px;
    text-align: center;
}

.hero {
    background-color: #eee;
    padding: 80px 20px;
}

.services, .properties {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.box {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 300px;
}

footer {
    margin-top: auto;
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 30px;
}

section {
    padding: 60px 20px;
    text-align: center;
}

.hero {
    background-color: #eee;
    padding: 80px 20px;
}

.services, .properties {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.box {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 300px;
}

footer {
    margin-top: auto;
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 30px;
}

/* Properties grid layout */
.properties {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px;
}

.box {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    background-color: #f9f9f9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.box h3 {
    margin-bottom: 10px;
    color: #333;
}

.box p {
    margin-bottom: 15px;
    color: #555;
}

/* Visit button styling */
.visit-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px; /* Standardized button text size */
    font-weight: 600; /* Semi-bold for emphasis */
    text-transform: capitalize; /* Clean and modern look */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.visit-button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Gallery styling */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.gallery-item {
    text-align: center;
    width: 300px;
}

.gallery-item img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-item p {
    margin-top: 10px;
    font-weight: bold;
    color: #333;
}

/* Testimonials styling */
.testimonials {
    background-color: #f9f9f9;
    padding: 40px 20px;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonial {
    margin-bottom: 20px;
    font-style: italic;
    color: #555;
}

.testimonial span {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #333;
}

/* Banner styling */
.banner {
    background-color: #222;
    color: #f9c000;
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.banner h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.filter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-form select {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #f9c000;
    border-radius: 5px;
    background-color: #333;
    color: #f9c000;
    outline: none;
}

filter-form select:focus {
    border-color: #fff;
}

/* Filter button styling */
.filter-button {
    background-color: #f9c000; /* Gold color */
    color: #fff; /* White text */
    border: 2px solid #111; /* Black border */
    padding: 12px 25px; /* Adjusted padding for better appearance */
    border-radius: 30px; /* Rounded button */
    cursor: pointer;
    font-size: 18px; /* Slightly larger font size */
    font-weight: bold; /* Bold text for emphasis */
    text-transform: uppercase; /* Uppercase text for a modern look */
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.filter-button:hover {
    background-color: #111; /* Black background on hover */
    color: #f9c000; /* Gold text on hover */
    transform: scale(1.1); /* Slightly enlarge on hover */
}

/* Price range inputs */
.filter-form input[type="number"] {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 150px;
    text-align: center;
    margin: 5px;
}

.filter-form input[type="number"]:focus {
    border-color: #f9c000;
    outline: none;
}

/* Filtered Properties Section */
.filtered-properties {
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.filtered-properties h2 {
    margin-bottom: 20px;
    color: #333;
}

.properties {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.box {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
}

.box h3 {
    margin-bottom: 10px;
    color: #333;
}

.box p {
    margin-bottom: 15px;
    color: #555;
}

.visit-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px; /* Standardized button text size */
    font-weight: 600; /* Semi-bold for emphasis */
    text-transform: capitalize; /* Clean and modern look */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.visit-button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Static header */
header {
    position: static;
    background-color: #111;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

header h1 {
    font-size: 28px; /* Increased font size for prominence */
    font-weight: 700; /* Bold for emphasis */
    color: #fff; /* White text for contrast */
    text-transform: uppercase; /* Professional uppercase styling */
    margin: 0;
}

/* Logo and header styling */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

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

/* Price range slider */
.price-range {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
}

.price-range input[type="range"] {
    width: 80%;
    margin: 10px 0;
    -webkit-appearance: none;
    appearance: none;
    background: #ccc;
    height: 5px;
    border-radius: 5px;
    outline: none;
}

.price-range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #f9c000;
    border-radius: 50%;
    cursor: pointer;
}

.price-display {
    font-size: 16px;
    font-weight: bold;
    color: #f9c000;
    margin-top: 10px;
}

/* Footer logo styling */
footer .logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-direction: row; /* Align logo and text horizontally */
    margin-bottom: 10px;
}

footer .logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

footer h1 {
    font-size: 20px; /* Adjusted size for balance */
    font-weight: 700; /* Bold for emphasis */
    text-transform: uppercase; /* Professional uppercase styling */
    color: #fff;
    margin: 0;
}

footer p {
    font-size: 14px; /* Slightly smaller for secondary text */
    font-weight: 400; /* Normal weight for readability */
    color: #ccc; /* Softer color for footer text */
    margin: 0;
    text-align: center;
    margin-top: 10px;
}

/* Section headings */
section h2 {
    font-size: 24px; /* Larger font size for section titles */
    font-weight: 700; /* Bold for emphasis */
    color: #222; /* Darker color for contrast */
    margin-bottom: 20px; /* Added spacing for better layout */
}

/* Paragraph styling */
section p, footer p {
    font-size: 16px; /* Standardized font size */
    font-weight: 400; /* Normal weight for readability */
    color: #555; /* Softer color for secondary text */
}

/* Button font styling */
button, .filter-button, .visit-button {
    font-size: 16px; /* Standardized button text size */
    font-weight: 600; /* Semi-bold for emphasis */
    text-transform: capitalize; /* Clean and modern look */
}

/* Property image styling */
.property-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Price styling */
.original-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}

.discounted-price {
    color: #f00;
    font-weight: bold;
}

/* Location link styling */
.location {
    margin-top: 10px;
}

.location-link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.location-link:hover {
    color: #0056b3;
}

/* Contact button styling */
.contact-button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-button:hover {
    background-color: #218838;
    transform: scale(1.05);
}

/* WhatsApp button styling */
.whatsapp-button {
    background-color: #25d366;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.whatsapp-button:hover {
    background-color: #1ebe57;
    transform: scale(1.05);
}

/* Booking form styling */
form#booking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
    text-align: right;
}

form#booking-form label {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

form#booking-form input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
}

form#booking-form input:focus {
    border-color: #007bff;
}

.submit-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.submit-button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Contact buttons styling */
.contact-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.contact-buttons button {
    width: 200px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* WhatsApp button */
.whatsapp-button {
    background-color: #25d366;
    color: white;
}

.whatsapp-button:hover {
    background-color: #1ebe57;
    transform: scale(1.05);
}

/* Facebook button */
.facebook-button {
    background-color: #1877f2;
    color: white;
}

.facebook-button:hover {
    background-color: #145dbf;
    transform: scale(1.05);
}

/* Instagram button */
.instagram-button {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.instagram-button:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

/* TikTok button */
.tiktok-button {
    background-color: #010101;
    color: white;
}

.tiktok-button:hover {
    background-color: #333333;
    transform: scale(1.05);
}

/* Contact info styling */
.contact-info {
    text-align: center;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.contact-info .phone-number {
    color: #007bff;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

.contact-info .phone-number:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Team section styling */
.team {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.team-member {
    text-align: center;
    width: 200px;
}

.team-photo {
    width: 100%;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.team-member h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.team-member p {
    font-size: 14px;
    color: #555;
}

/* Details button styling */
.details-button {
    background-color: #ffc107;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 10px;
}

.details-button:hover {
    background-color: #e0a800;
    transform: scale(1.05);
}

/* Responsive Design */

/* Large screens (desktops and laptops) */
@media (min-width: 1024px) {
    body {
        font-size: 18px; /* Slightly larger font for better readability */
    }

    .logo {
        width: 70px;
        height: 70px;
    }

    header h1 {
        font-size: 32px;
    }

    nav a {
        font-size: 18px;
    }

    .box {
        width: 350px;
    }
}

/* Medium screens (tablets) */
@media (min-width: 768px) and (max-width: 1023px) {
    body {
        font-size: 16px;
    }

    .logo {
        width: 60px;
        height: 60px;
    }

    header h1 {
        font-size: 28px;
    }

    nav {
        flex-wrap: wrap; /* Allow navigation links to wrap */
        gap: 20px;
    }

    .box {
        width: 300px;
    }

    .properties {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Small screens (mobile phones) */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .logo {
        width: 50px;
        height: 50px;
    }

    header h1 {
        font-size: 24px;
        text-align: center;
    }

    nav {
        flex-direction: column; /* Stack navigation links vertically */
        gap: 10px;
    }

    .box {
        width: 100%; /* Full width for smaller screens */
        margin: 0 auto;
    }

    .properties {
        grid-template-columns: 1fr; /* Single column layout */
    }

    .banner h2 {
        font-size: 20px;
    }

    .filter-form {
        flex-direction: column; /* Stack form elements vertically */
        gap: 15px;
    }

    .filter-form select,
    .filter-form input[type="number"],
    .filter-button {
        width: 100%; /* Full width for form elements */
    }

    .floating-contact {
        font-size: 40px; /* Larger size for better visibility */
        padding: 20px 25px;
    }
}

/* Extra small screens (very small phones) */
@media (max-width: 480px) {
    header h1 {
        font-size: 20px;
    }

    .banner h2 {
        font-size: 18px;
    }

    .box {
        padding: 15px;
    }

    footer p {
        font-size: 12px;
    }
}

/* Details page styling */
.details-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.details-header {
    text-align: center;
    margin-bottom: 20px;
}

.details-header h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.details-header p {
    font-size: 18px;
    color: #555;
}

.details-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.details-images img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.details-actions {
    text-align: center;
    margin-top: 20px;
}

.details-actions button {
    margin: 10px;
}

/* Slider styling */
.image-slider {
    position: relative;
    max-width: 100%;
    margin: 20px auto;
    overflow: hidden;
    display: flex;
    justify-content: center; /* Center the slider horizontally */
    align-items: center; /* Center the slider vertically */
    height: 500px; /* Match the max-height of the images */
}

.slider-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-image {
    min-width: 100%;
    max-height: 500px; /* Ensure the height matches the slider container */
    object-fit: cover;
    display: none;
}

.slider-image.active {
    display: block;
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
}

.slider-button.prev {
    left: 10px;
}

.slider-button.next {
    right: 10px;
}

/* Slider indicators */
.slider-indicators {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.indicator {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: #007bff;
}

/* Related properties styling */
#related-properties {
    margin-top: 40px;
}

.related-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Typography improvements */
h1, h2, h3 {
    font-family: 'Poppins', sans-serif; /* Modern font for headings */
    font-weight: 700; /* Bold for emphasis */
    color: #222; /* Darker color for contrast */
}

p, li {
    font-size: 16px;
    color: #555; /* Softer color for secondary text */
}

ul {
    list-style-type: disc;
    padding-left: 20px;
}

button {
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    font-weight: 600;
}

/* Property features styling */
.property-features ul {
    margin-top: 20px;
    padding-left: 20px;
    text-align: right;
}

.property-features ul li {
    margin-bottom: 10px;
    color: #444;
    font-size: 16px;
    line-height: 1.6;
}

/* Floating contact button */
.floating-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

floating-contact:hover {
    background-color: #1ebe57;
    transform: scale(1.1);
}

/* Contact options container */
.contact-options {
    position: fixed;
    bottom: 80px;
    right: 20px;
    display: none;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.contact-options.active {
    display: flex;
}

.contact-options .contact-box {
    background-color: #fff;
    color: #333;
    border-radius: 10px;
    padding: 10px 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-align: center;
}

.contact-options .contact-box:hover {
    background-color: #f9c000;
    transform: scale(1.05);
}

/* Map section styling */
.map-section {
    margin: 40px 0;
    text-align: center;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Scroll animations */
[data-scroll] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-scroll].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Action buttons container */
.action-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 15px;
}

.action-buttons button {
    flex: 1; /* Ensure buttons take equal space */
    max-width: 48%; /* Ensure buttons are equal in size */
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

/* Adjust button styles for better alignment */
.whatsapp-button, .visit-button {
    flex: 1; /* Ensure equal width */
    text-align: center;
}

/* Details button styling */
.details {
    margin-top: 10px;
}

.details-button {
    background-color: #ffc107;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    text-transform: capitalize;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.details-button:hover {
    background-color: #e0a800;
    transform: scale(1.05);
}

/* General Styles */
body {
    font-family: 'Cairo', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

header {
    background-color: #111;
    color: white;
    padding: 20px;
    text-align: center;
}

header .logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

header nav {
    margin-top: 15px;
}

header nav a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease;
}

header nav a:hover, header nav a.active {
    color: #f9c000;
}

/* Hero Section */
.hero {
    background: url('images/hero-bg.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #f9c000;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #e0a800;
    transform: scale(1.05);
}

/* Features Section */
.features {
    padding: 60px 20px;
    text-align: center;
}

.features h2 {
    font-size: 28px;
    margin-bottom: 40px;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
}

.card img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    color: #555;
}

/* Card hover effect */
.card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Footer */
footer {
    background-color: #111;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

footer .logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

footer p {
    font-size: 14px;
    color: #ccc;
}

.back-to-top {
    background-color: #f9c000;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.back-to-top:hover {
    background-color: #e0a800;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .cta-button {
        font-size: 16px;
        padding: 10px 20px;
    }

    .features h2 {
        font-size: 24px;
    }

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

    .card p {
        font-size: 12px;
    }
}

/* Sold property styling */
.box.sold {
    position: relative;
    opacity: 0.6; /* Dim the box to indicate it's sold */
    pointer-events: none; /* Disable interactions */
}

.sold-banner {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: red;
    color: white;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    z-index: 1;
}

.box.sold .details-button,
.box.sold .whatsapp-button,
.box.sold .visit-button {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
}

/* Instagram Button Styling */
.Btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: transparent;
    position: relative;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.3s;
}

.svgContainer {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    backdrop-filter: blur(4px);
    letter-spacing: 0.8px;
    border-radius: 10px;
    transition: all 0.3s;
    border: 1px solid rgba(156, 156, 156, 0.466);
}

.BG {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    z-index: -1;
    border-radius: 9px;
    pointer-events: none;
    transition: all 0.3s;
}

.Btn:hover .BG {
    transform: rotate(35deg);
    transform-origin: bottom;
}

.Btn:hover .svgContainer {
    background-color: rgba(156, 156, 156, 0.466);
}

/* WhatsApp Button Styling */
.Btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: transparent;
    position: relative;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.3s;
}

.svgContainer {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    backdrop-filter: blur(4px);
    letter-spacing: 0.8px;
    border-radius: 10px;
    transition: all 0.3s;
    border: 1px solid rgba(156, 156, 156, 0.466);
}

.BG {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: #00d757;
    z-index: -1;
    border-radius: 9px;
    pointer-events: none;
    transition: all 0.3s;
}

.Btn:hover .BG {
    transform: rotate(35deg);
    transform-origin: bottom;
}

.Btn:hover .svgContainer {
    background-color: rgba(156, 156, 156, 0.466);
}

.BG.instagram-bg {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* Logout button styling */
.Btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition-duration: .3s;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.199);
    background-color: rgb(5, 65, 65);
}

.sign {
    width: 100%;
    transition-duration: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sign svg {
    width: 17px;
}

.sign svg path {
    fill: white;
}

.text {
    position: absolute;
    right: 0%;
    width: 0%;
    opacity: 0;
    color: white;
    font-size: 1.2em;
    font-weight: 600;
    transition-duration: .3s;
}

.Btn:hover {
    width: 125px;
    border-radius: 40px;
    transition-duration: .3s;
}

.Btn:hover .sign {
    width: 30%;
    transition-duration: .3s;
    padding-left: 20px;
}

.Btn:hover .text {
    opacity: 1;
    width: 70%;
    transition-duration: .3s;
    padding-right: 10px;
}

.Btn:active {
    transform: translate(2px, 2px);
}


