/* Reset styles */
body,
html {
    margin: 0;
    padding: 0;
}

/* Global styles */
body {
    font-family: Arial, sans-serif;
}

.container {
    max-width: 65%;
    margin: auto;
    padding: 0 20px;
    margin-right: 25%;
    padding-left: 10%;
    padding-right: 10%

}

/* Header styles */
header {
    background-color: #fff;
    padding: 30px 0;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
    position: fixed; /* Make the header fixed */
    width: 100%; /* Ensure it takes the full width */
    top: 0; /* Stick it to the top */
    z-index: 1000; /* Ensure it's above body content but below the contact form */
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header img {
    width: 34%; /* Set the logo width to 18% of the header */
}

nav ul {
    list-style: none;
    padding-top: 20%;
    margin: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.2s ease;
}

nav ul li a:hover {
    color: #3b8281;
    font-weight: bold;
}

/* Add margin to the top of the sections to compensate for the fixed header */
.hero,
#about,
#properties,
#contact {
    margin-top: 12%; /* Adjust based on the height of your header */
}

/* Hero section styles */
.hero {
    background-image: url('hero-image.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    color: #344355;;
    margin-bottom: 20px;
}

.hero p {
    font-size: 24px;
    color: #666;
    margin-bottom: 40px;
}

.cta-btn {
    display: inline-block;
    background-color: #00bfff;
    color: white;
    font-size: 18px;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #009acd;
}

/* About section styles */
#about {
    padding: 100px 0;
}

#about h2 {
    font-size: 36px;
    color: #344355;
    margin-bottom: 30px;
}

#about p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.testimonials blockquote {
    font-style: italic;
    color: #666;
}

.testimonials cite {
    font-weight: bold;
}

/* Properties section styles */
#properties {
    padding: 100px 0;
    background-color: #f9f9f9;
}

#properties h2 {
    font-size: 36px;
    color: #344355;
    margin-bottom: 30px;
}

.property-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    transition: transform 0.3s ease;
}

.property-card:hover {
    transform: translateY(-10px);
}

.property-card img {
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.property-details {
    padding: 20px;
}

.property-details h3 {
    font-size: 24px;
    color: #344355;
    margin-bottom: 10px;
}

.property-details p {
    font-size: 18px;
    color: #666;
    margin-bottom: 10px;
}

.property-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 10px;
}

.property-details ul li {
    color: #666;
}

.property-details .cta-btn {
    display: block;
    background-color: #00bfff;
    color: white;
    font-size: 18px;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.property-details .cta-btn:hover {
    background-color: #009acd;
}

@keyframes bounce {
    0% {
        transform: scale(0.92); /* Start with a slightly smaller scale */
    }
    50% {
        transform: scale(1.07); /* Increase slightly more than the normal size */
    }
    100% {
        transform: scale(1.0); /* Return to the normal size */
    }
}

/* Contact section styles */
#contact {
    padding: 100px 0;
}

.contact-form {
    /* Existing styles */
    position: fixed;
    top: 0;
    right: 0;
    width: 25%;
    height: 100%;
    background-color: #3b8281;
    color: white;
    padding: 40px;
    box-sizing: border-box;
    z-index: 1100; /* Ensure the contact form is above the header */
    transition: transform 0.3s ease; /* Smooth transition */
}

.contact-form.bounce {
    animation: bounce 0.6s ease;
}

.contact-form h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.contact-form p {
    font-size: 18px;
    margin-bottom: 20px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form form input,
.contact-form form textarea {
    font-size: 16px;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
}

.contact-form form button {
    font-size: 18px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #00bfff;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form form button:hover {
    background-color: #009acd;
}

.contact-info {
    margin-top: 20px;
}

.contact-info p {
    font-size: 16px;
    margin: 5px 0;
}

/* Footer styles */
footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
}

footer nav ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

footer nav ul li {
    display: inline;
    margin-right: 20px;
}

footer nav ul li a {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}

footer nav ul li a:hover {
    color: #3b8281;
}

.social-links a {
    color: white;
    margin-right: 10px;
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: #3b8281;
}

/* Responsive styles */
@media (max-width: 768px) {
    header img {