* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navigation Bar */
.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    color: white;
    z-index: 100;
}
/* Logo Image Styling */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px; /* Adjust this value based on your logo height */
    width: auto;  /* Maintains aspect ratio */
    display: block;
}

/* Mobile Responsiveness for Logo */
@media (max-width: 600px) {
    .logo-img {
        height: 35px; /* Makes the logo slightly smaller on phones */
    }
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 14px;
    font-weight: 500;
}

.header-right { display: flex; align-items: center; gap: 20px; }
.add-listing-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(26, 61, 91, 0.7), rgba(26, 61, 91, 0.7)), 
                url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-text h1 { font-size: 56px; margin-bottom: 20px; }
.hero-text p { max-width: 700px; font-size: 18px; line-height: 1.6; opacity: 0.9; }

/* Search Widget */
.search-widget {
    position: absolute;
    bottom: -40px;
    width: 80%;
    max-width: 1100px;
}

.tabs { display: flex; }
.tab {
    padding: 12px 35px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    background: #0056b3;
    color: white;
    transition: 0.3s;
}
.tab:first-child { border-radius: 6px 0 0 0; }
.tab.active { background: white; color: black; }

.search-bar {
    background: white;
    padding: 25px;
    border-radius: 0 6px 6px 6px;
    display: flex;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.input-group { flex: 1; text-align: left; }
.input-group label { display: block; color: #333; font-size: 12px; font-weight: bold; margin-bottom: 8px; }
.input-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    outline: none;
}

.search-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 0 35px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    align-self: flex-end;
    height: 43px;
}


/* Responsive adjustments */
@media (max-width: 900px) {
    .nav-links, .phone { display: none; }
    .search-bar { flex-direction: column; }
    .search-widget { bottom: -200px; }
    .hero-text h1 { font-size: 36px; }
}
/* Properties by Area Section */
.properties-area {
    background-color: #f8fbff;
    padding: 100px 0 60px 0; /* Extra top padding to account for the search widget overlap */
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header h2 {
    font-size: 32px;
    color: #222;
    margin-bottom: 15px;
}

.section-header p {
    color: #777;
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.area-grid-container {
    background: white;
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.area-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.area-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.area-item img {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    object-fit: cover;
}

.area-info h3 {
    font-size: 16px;
    color: #333;
    margin: 0;
    font-weight: 600;
}

.area-info span {
    font-size: 14px;
    color: #888;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .area-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .area-grid { grid-template-columns: repeat(2, 1fr); }
    .properties-area { padding-top: 220px; } /* More space for the mobile search bar */
}

@media (max-width: 480px) {
    .area-grid { grid-template-columns: 1fr; }
}
.latest-properties { padding: 60px 0; background-color: #f8fbff; text-align: center; }
.property-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.p-tab { background: white; border: 1px solid #eee; padding: 12px 25px; border-radius: 4px; cursor: pointer; transition: 0.3s; color: #555; font-weight: 500; }
.p-tab.active, .p-tab:hover { background: #007bff; color: white; border-color: #007bff; }

.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 40px; text-align: left; }
.property-card { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.property-thumb { position: relative; height: 220px; }
.property-thumb img { width: 100%; height: 100%; object-fit: cover; }

.tag-featured { position: absolute; top: 10px; left: 10px; background: #77c720; color: white; padding: 3px 10px; font-size: 11px; border-radius: 3px; }
.status-tags { position: absolute; top: 10px; right: 10px; display: flex; gap: 5px; }
.status-tags span { padding: 3px 10px; font-size: 11px; border-radius: 3px; color: white; }
.tag-sales { background: #007bff; }
.tag-active { background: #00b0ff; }
.tag-rentals { background: #222; }
.tag-open { background: #ff9800; }

.property-content { padding: 20px; }
.property-content h3 { font-size: 18px; margin-bottom: 8px; color: #333; }
.price { color: #007bff; font-weight: bold; font-size: 18px; margin-bottom: 12px; }
.property-content p { font-size: 14px; color: #777; line-height: 1.5; height: 42px; overflow: hidden; margin-bottom: 15px; }
.property-specs { display: flex; gap: 15px; border-top: 1px solid #eee; padding-top: 15px; color: #777; font-size: 13px; }

.property-footer { padding: 15px 20px; border-top: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
.agent { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #555; }
.agent img { width: 30px; height: 30px; border-radius: 50%; }
.footer-actions { display: flex; gap: 12px; color: #ccc; cursor: pointer; }
.footer-actions i:hover { color: #007bff; }

.load-more-btn { background: #007bff; color: white; border: none; padding: 14px 35px; border-radius: 4px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.load-more-btn:hover { background: #0056b3; }

@media (max-width: 992px) { .property-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .property-grid { grid-template-columns: 1fr; } }

/* Testimonials Section Styling */
.testimonials-section {
    padding: 80px 0;
    background-color: #f0f7ff;
    text-align: center;
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 50px auto 0;
    padding: 0 60px;
}

.testimonial-slider-container {
    overflow: hidden;
}

.testimonial-slider-track {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Card Alignment Logic */
.testimonial-card {
    min-width: calc(33.333% - 20px); /* Shows 3 per row */
    background: #ffffff;
    padding: 40px;
    border-radius: 4px;
    text-align: left; /* Aligns everything inside to the left */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.t-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.t-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.t-name {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin: 0;
}

.t-role {
    font-size: 14px;
    color: #00b0ff; /* Blue role color */
    margin-top: 2px;
}

.t-text {
    font-size: 15px;
    color: #5c727d;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.t-stars {
    color: #ffb400; /* Gold Stars */
    font-size: 13px;
    display: flex;
    gap: 5px;
}

/* Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}

.slider-nav:hover { background: #007bff; color: white; }
.prev-btn { left: 0; }
.next-btn { right: 0; }

/* Pagination Dots */
.slider-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: #007bff;
    width: 25px;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
    .testimonial-card { min-width: calc(50% - 15px); }
}
@media (max-width: 650px) {
    .testimonial-card { min-width: 100%; }
    .testimonial-slider-wrapper { padding: 0 10px; }
    .slider-nav { display: none; }
}
/* Footer Styling */
.site-footer {
    background-color: #042d57; /* Your specified blue */
    color: white;
    padding: 80px 0 0 0;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr; /* Matches the layout proportions */
    gap: 40px;
    padding-bottom: 50px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-logo {
    height: 40px; /* Adjust based on your logo design */
    margin-bottom: 20px;
    display: block;
    filter: brightness(0) invert(1); /* Makes the logo white if it's dark */
}

.footer-column p {
    line-height: 1.8;
    color: #cbd5e0; /* Slightly dimmed white for readability */
    margin-bottom: 20px;
}

/* Links & Lists */
.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #cbd5e0;
    text-decoration: none;
    transition: 0.3s;
}

.footer-column ul li a:hover {
    color: #ff9800; /* Orange accent on hover */
    padding-left: 5px;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: white;
    font-size: 16px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #ff9800;
    transform: translateY(-3px);
}

/* Contact Section */
.contact-info p {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info i {
    color: #ff9800; /* Gold/Orange icons like in the image */
    margin-top: 5px;
}

/* Footer Bottom Bar */
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2); /* Slightly darker bar */
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .highlight {
    color: #ff9800; /* Orange text for brand name */
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .footer-column {
        margin-bottom: 20px;
    }
}





















/* Premium Contact Section */
.contact-premium {
    padding: 100px 0;
    background: #fdfdfd;
}

.container-split {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.split-card {
    display: flex;
    background: #fff;
    border-radius: 20px; /* Softer corners */
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(4, 45, 87, 0.1);
    min-height: 650px;
}

/* 50% Split Logic */
.split-img, .split-form {
    width: 50%;
    flex: 0 0 50%;
}

.split-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-form {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-title h2 {
    font-size: 30px;
    color: #042d57; /* Your Brand Blue */
    margin-bottom: 8px;
    font-weight: 700;
}

.form-title p {
    color: #777;
    font-size: 15px;
    margin-bottom: 35px;
}

/* New Input Design */
.field-row {
    display: flex;
    gap: 25px;
}

.field-box {
    flex: 1;
    margin-bottom: 22px;
}

.field-box label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #042d57;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    color: #adb5bd;
    font-size: 14px;
    transition: 0.3s;
}

.input-wrapper input, 
.input-wrapper textarea {
    width: 100%;
    padding: 14px 15px 14px 45px; /* Extra padding for the icon */
    border: 1px solid #e9ecef;
    background: #fff;
    border-radius: 10px;
    font-size: 15px;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
}

.input-wrapper input:focus, 
.input-wrapper textarea:focus {
    border-color: #007bff;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.1);
}

.input-wrapper input:focus + i,
.input-wrapper textarea:focus + i {
    color: #007bff;
}

.text-area-wrapper i {
    top: 18px; /* Align icon to top for textarea */
}

/* Premium Button Design */
.premium-btn {
    width: 100%;
    background: #007bff;
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.premium-btn:hover {
    background: #042d57; /* Swaps to brand blue on hover */
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(4, 45, 87, 0.2);
}

/* Responsive */
@media (max-width: 992px) {
    .split-card { flex-direction: column; }
    .split-img, .split-form { width: 100%; flex: 0 0 100%; }
    .split-img { height: 300px; }
    .split-form { padding: 40px 25px; }
}

@media (max-width: 600px) {
    .field-row { flex-direction: column; gap: 0; }
}