/* Basic Reset */
body, h1, h2, h3, p, ul {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Mobile-First Base Styles */
body {
    font-size: 16px;
    line-height: 1.5;
}

/* Header Styling */
header {
    background-color: #9D9D9D; /* Nobel Grey */
    color: white;
    padding: 15px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 28px; /* Smaller for mobile */
    margin-bottom: 10px;
}

nav ul {
    list-style: none;
    margin-top: 10px;
}

nav ul li {
    display: block; /* Stack by default for mobile */
    margin: 8px 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 15px;
    display: block; /* Full-width tap target */
    transition: background-color 0.3s, color 0.3s;
}

nav ul li a:hover {
    background-color: #e6e6e6;
    color: #333;
    border-radius: 5px;
    text-decoration: none;
}

/* Section Styling */
section {
    padding: 20px; /* Reduced padding for mobile */
    text-align: center;
}

#welcome {
    background-color: #f4f4f4;
    padding: 30px 20px;
}

#buy {
    background-color: #e6f0fa;
}

#sell {
    background-color: #f9e6e6;
}

#let {
    background-color: #e6fae6;
}

#contact {
    background-color: #f4f4f4;
}

h2 {
    font-size: 24px; /* Smaller for mobile */
    margin-bottom: 15px;
    color: #333;
    position: relative;
}

h2::after {
    content: '';
    width: 40px;
    height: 3px;
    background-color: #9D9D9D;
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
}

p {
    font-size: 14px; /* Smaller for mobile */
    line-height: 1.6;
}

/* Content Section Styling */
.content-section {
    min-height: 60vh; /* Reduced height for mobile */
}

.section-content {
    display: flex;
    flex-direction: column; /* Stack by default for mobile */
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
}

.text-content {
    width: 100%;
    text-align: center;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
}

.text-content p {
    margin-bottom: 10px;
}

.text-content ul {
    list-style: disc;
    margin: 0 auto 10px auto;
    text-align: left;
    max-width: 90%;
}

.text-content ul li {
    margin-bottom: 8px;
}

.image-content {
    width: 100%;
    padding: 15px;
}

/* Image Styling */
.property-image {
    max-width: 100%;
    width: 100%; /* Ensure image fits container */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.property-image:hover {
    transform: scale(1.03); /* Reduced scale for mobile */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/