/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #f0f0f0;
    background-color: #1e1e1e;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: #bbbaba;
    transition: color 0.3s ease;
}

a:hover {
    color: #2c6be0;
}

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

section {
    padding: 80px 0;
}

button, .view-property-btn, .view-all-btn, .learn-more-btn, .submit-btn {
    cursor: pointer;
    border: none;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Header Styles */
header {
    background-color: #000000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 120px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    position: relative;
}

nav ul li a.active, nav ul li a:hover {
    color: #2c6be0;
}

nav ul li a.active::after, nav ul li a:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #2c6be0;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: #f0f0f0;
    margin: 3px 0;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: #bbbaba;
    text-align: center;
    padding: 150px 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.search-box input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.search-box button {
    padding: 15px 30px;
    background-color: #2c6be0;
    color: #2a2a2a;
    border-radius: 0 4px 4px 0;
    font-size: 1rem;
}

.search-box button:hover {
    background-color: #1a5bc8;
}

/* Featured Properties Section */
.featured-properties {
    background-color: #212020;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.property-card {
    background-color: #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.property-image {
    position: relative;
    height: 250px;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #2c6be0;
    color: #2a2a2a;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.property-details {
    padding: 20px;
}

.property-location {
    color: #bbdddccc;
    margin-bottom: 10px;
}

.property-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c6be0;
    margin-bottom: 15px;
}

.property-features {
    display: flex;
    margin-bottom: 20px;
}

.property-features span {
    margin-right: 15px;
    font-size: 0.9rem;
    color: #bbdddccc;
}

.view-property-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2c6be0;
    color: #2a2a2a;
    border-radius: 4px;
    font-weight: 500;
}

.view-property-btn:hover {
    background-color: #1a5bc8;
    color: #2a2a2a;
}

.view-all-btn-container {
    text-align: center;
}

.view-all-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: #2c6be0;
    border: 2px solid #2c6be0;
    border-radius: 4px;
    font-weight: 500;
}

.view-all-btn:hover {
    background-color: #2c6be0;
    color: #2a2a2a;
}

/* Services Section */
.services {
    background-color: #2c2c2c;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* About Us Section */
.about-us {
    background-color: #2a2a2a;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
}

.learn-more-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #2c6be0;
    color: #2a2a2a;
    border-radius: 4px;
    font-weight: 500;
}

.learn-more-btn:hover {
    background-color: #1a5bc8;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials {
    background-color: #2c2c2c;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author p {
    margin: 0;
}

/* Contact Section */
.contact {
    background-color: #2a2a2a;
}

.contact-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
}

.contact-form-container {
    background-color: #2c2c2c;
    padding: 40px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #bbbbbb;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
}

.submit-btn {
    padding: 12px 30px;
    background-color: #2c6be0;
    color: #2a2a2a;
    border-radius: 4px;
    font-weight: 500;
}

.submit-btn:hover {
    background-color: #1a5bc8;
}

.contact-info {
    padding: 20px;
}

.contact-info p {
    margin-bottom: 15px;
}

/* Footer */
footer {
    background-color: #000000;
    color: #2a2a2a;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 170px;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #bbbbbddd;
}

.footer-links ul li a:hover {
    color: #2a2a2a;
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 4px 0 0 4px;
}

.newsletter-form button {
    padding: 12px 20px;
    background-color: #2c6be0;
    color: #2a2a2a;
    border-radius: 0 4px 4px 0;
}

.newsletter-form button:hover {
    background-color: #1a5bc8;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.social-links a {
    display: inline-block;
    margin-left: 15px;
    color: #bbbbbddd;
    font-size: 1.2rem;
}

.social-links a:hover {
    color: #2a2a2a;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 100px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-box input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .search-box button {
        border-radius: 4px;
    }
    
    .property-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        margin-top: 20px;
    }
    
    .social-links a {
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .services-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}