/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif; /* Arabic-friendly font */
}

body {
    background-color: #f3f4ed; /* Light background color */
    color: #333; /* Dark text color */
    direction: rtl; /* Right-to-left text direction */
}

.container {
    width: 90%; /* Full width container */
    margin: 0 auto; /* Center the container */
}

/* Header */
header {
    /*background-color: #2a4d69; /* Dark blue background for header */
    background-color: #2a4d69;
    padding: 20px 0; /* Vertical padding */

    color: white; /* White text */
    text-align: center; /* Centered text */
}

header h1 {
    font-size: 2.5rem; /* Title size */
}

nav ul {
    list-style: none; /* Remove bullet points */
}

nav ul li {
    display: inline-block; /* Horizontal list */
    margin: 0 15px; /* Spacing between items */
}

nav ul li a {
    color: white; /* Link color */
    text-decoration: none; /* Remove underline */
    font-size: 1.2rem; /* Font size */
    transition: color 0.3s; /* Transition effect on hover */
}

nav ul li a:hover {
    color: #f4b41a; /* Hover color */
}

/* Hero Section */
.hero {
    background-image: url('hero-background.jpg'); /* Background image */
    background-size: cover; /* Cover the area */
    background-position: center; /* Center the image */
    height: 400px; /* Fixed height */
    display: flex; /* Flexbox layout */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    color: white; /* Text color */
    text-align: center; /* Center text */
    position: relative; /* Positioning context */
}

.hero::before {
    content: ""; /* Overlay effect */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay */
}

.hero-content {
    position: relative; /* Positioning context for content */
    z-index: 1; /* Layering order */
}

.hero h2 {
    font-size: 3rem; /* Title size */
    margin-bottom: 10px; /* Spacing */
}

.hero p {
    font-size: 1.5rem; /* Paragraph size */
}

/* Definition Box */
.definition-box {
    background-color: #ffffff; /* White background */
    padding: 20px; /* Padding inside box */
    margin: 30px 0; /* Margin around box */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow effect */
    border-radius: 10px; /* Rounded corners */
    border: 1px solid #ddd; /* Light border */
}

.definition-box h2 {
    color: #2a4d69; /* Dark blue title */
    margin-bottom: 10px; /* Spacing */
}

.definition-box p {
    font-size: 1.2rem; /* Paragraph size */
    color: #555; /* Gray text */
}

/* Property Images */
.property-images {
    display: flex; /* Flexbox layout */
    gap: 20px; /* Space between images */
}

.property-images img {
    width: 30%; /* Image width */
    border-radius: 10px; /* Rounded corners */
    transition: transform 0.3s; /* Transition effect on hover */
}

.property-images img:hover {
    transform: scale(1.05); /* Scale effect on hover */
}
.amir-image{
    width: 50px; /* Image width */
    height: 50px;
    border-radius: 10px; /* Rounded corners */
    transition: transform 0.3s; /* Transition effect on hover */
}

/* Form Styles */
form {
    display: flex; /* Flexbox layout */
    flex-direction: column; /* Vertical layout */
    align-items: center; /* Center items */
    background-color: #f9f9f9; /* Light form background */
    padding: 30px; /* Padding inside form */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Shadow effect */
}

label {
    font-size: 1.1rem; /* Label size */
    margin-bottom: 10px; /* Spacing */
}

input {
    width: 80%; /* Input width */
    padding: 10px; /* Padding inside input */
    margin-bottom: 20px; /* Margin below input */
    border: 1px solid #ddd; /* Light border */
    border-radius: 5px; /* Rounded corners */
}

#properties {
    margin-top: 20px; /* Margin above properties box */
    background-color: #ecf0f1; /* Light gray background */
    padding: 15px; /* Padding inside properties box */
    border-radius: 5px; /* Rounded corners */
}

button {
    padding: 10px 20px; /* Padding around button text */
    background-color: #f4b41a; /* Button background color */
    border: none; /* Remove border */
    color: white; /* Button text color */
    font-size: 1.2rem; /* Button text size */
    cursor: pointer; /* Pointer cursor */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s; /* Transition effect on hover */
}

button:hover {
    background-color: #2a4d69; /* Dark blue on hover */
}

/* Footer */
footer {
    background-color: #2a4d69; /* Dark blue background */
    color: white; /* Footer text color */
    text-align: center; /* Center text */
    padding: 20px 0; /* Vertical padding */
    margin-top: 50px; /* Space above footer */
}

footer p {
    margin: 0; /* Remove margin from footer text */
}
