body {
    margin: 0;
    font-family: "proxima-nova", sans-serif;
    color: #000;
    font-size: 20px;
    overflow-x: hidden;
}

.hero {
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px 50px;
    box-sizing: border-box;
    position: relative; /* Needed for absolute positioning of the curve */
    opacity: 0.9; /* Adjust this value to decrease opacity */
}

/* Add the curve */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('./images/v-shape.png') no-repeat center bottom;
    background-size: cover;
  }

/* Rest of the CSS remains the same */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 30px; 
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-weight: bold
}

.hiring {
    background-color: #ffffff;
    color: rgb(0, 0, 0) !important;
    padding: 10px 15px;
    border-radius: 5px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
}




@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: rgba(0, 0, 0, 0.8);
        position: absolute;
        top: 60px;
        left: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .hamburger {
        display: flex;
    }
}

.hero-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content h1 {
    font-size: 4em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.search-bar {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    max-width: 800px;
    margin-bottom: 30px;
}

.search-tabs button {
    background-color: #f0f0f0;
    border: none;
    padding: 10px 20px;
    margin-right: 5px;
    cursor: pointer;
    border-radius: 5px;
}

.search-tabs button.active {
    background-color: #000000;
    color: white;
}

.search-input {
    display: flex;
    margin-top: 10px;
}

.search-input input[type="text"] {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
}

.search-input button.search-button {
    background-color: #000000;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.learn-more {
    color: white;
    text-decoration: none;
    /* background-color: rgba(0, 0, 0, 0.5);  */
    padding: 10px 20px;
    border-radius: 5px;
}

/* .scroll-down {
    position: relative;
    bottom: 0;
    margin-top:20px;
    
}

.scroll-down img {
    height: 30px;
    
} */







/* Featured Listings Section */
.featured-listings {
    text-align: center;
    margin: 50px 0;
}

.featured-listings h2 {
    font-size: 42px;
    font-weight: bold;
    position: relative;
    display: inline-block;
    margin-bottom: 50px;
    margin-left: -800px;
    margin-top: 40px;
    font-family: "proxima-nova", sans-serif; 
}

/* Underline */
.featured-listings h2::after {
    content: "";
    width: 165px;
    height: 4px;
    background-color: black;
    display: block;
    margin: 10px auto 0;
    margin-left: 1px;
}

/* Grid Layout */
.listing-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Individual Card */
.card {
    position: relative;
    overflow: hidden;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    height: 360px;
    /* width: 320px; */
}

/* Image Styling */
.card img {
    width: 100%;
    height: 100%; /* Increased Image Size */
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

/* Hover Effect */
.card:hover img {
    transform: scale(1.05);
}

/* Overlay Content */
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* background: rgba(0, 0, 0, 0.6); */
    color: rgb(255, 255, 255);
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price {
    font-size: 22px;
    font-weight: bold;
    color: white;
    margin-left: -210px;
    margin-bottom: -3px;
}

.card-description {
    font-size: 14px;
    color: white;
    margin: 5px 0;
    margin-left: -160px;
    font-weight: bold;
}

.listing-details-container {
    display: flex;
    justify-content: space-between; /* Space between text and button */
    align-items: start; /* Vertically align text and button */
}

.listing-text {
    flex-grow: 1; /* Allow text to take up available space */
    align-items: start;
    font-weight: bold;
   

}

.details-p {
    margin-left: -60px;
    font-size: 12px;
    font-weight: lighter;
    font-style: italic;
    
    
    
}
.features-{
    font-weight: bold;
    font-size: 12px;
    margin-left: -100px;

}


/* Button */
.view-btn {
    background-color: black;
    color: white;
    padding: 8px 12px;
    text-align: center;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
    margin-left: 30px;
}

.view-btn:hover {
    background-color: gray;
}

/* Navigation */
.navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

/* Counter */
.counter {
    font-size: 18px;
    font-weight: lighter;
}

/* Navigation Buttons */
.nav-btn {
    /* background-color: black; */
    color: rgb(0, 0, 0);
    border: none;
    padding: 10px 15px;
    /* cursor: pointer; */
    font-size: 18px;
}

.nav-btn:hover {
    background-color: gray;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .listing-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .listing-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .featured-listings h2 {
        font-size: 26px;
    }

    .price {
        font-size: 20px;
    }

    .view-btn {
        padding: 8px 12px;
    }
}



/* Find home section */
.home-worth-section {
    background-image: url('images/back.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 150px 20px;
    position: relative;
}

.home-worth-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.home-worth-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 4em;
    margin-bottom: 30px;
    line-height: 1.2;
}

.address-input-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.address-input, .unit-input {
    padding: 15px;
    border: none;
    border-radius: 5px;
    margin-right: 10px;
    width: 300px;
    font-size: 1em;
}

.unit-input {
    width: 200px;
}

.find-out-button {
    background-color: black;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
}

.recaptcha-text {
    font-size: 0.8em;
    margin-bottom: 20px;
}

.recaptcha-text a {
    color: white;
    text-decoration: underline;
}

.join-text {
    font-size: 1.2em;
}

@media (max-width: 768px) {
    .address-input-container {
        flex-direction: column;
        align-items: center;
    }
    
    .address-input, .unit-input {
        width: 90%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .find-out-button {
        width: 90%;
    }
}



/* top areas section */
.top-areas {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px;
}

.top-areas-header {
    text-align: left;
    margin-bottom: 30px;
}

.top-areas-header h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
    margin-left: 20px;
    
}

.underline {
    width: 180px;
    height: 3px;
    background-color: black;
    margin-left: 30px;
}

.slider-container {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    flex: 0 0 calc(60% - 20px);
    position: relative;
    display: flex;
    justify-content: center;
    margin: 0 10px;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.slide-content h2 {
    font-size: 2em;
    margin-bottom: 5px;
}

.slide-content p {
    font-size: 1.2em;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 10px 15px;
    font-size: 1.5em;
    cursor: pointer;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Preview effect */
.slide img {
    transition: transform 0.3s ease;
}

.slide.prev-preview img,
.slide.next-preview img {
    transform: scale(0.8);
    opacity: 0.5;
}

.slide.prev-preview,
.slide.next-preview {
    flex: 0 0 calc(20% - 20px);
    position: relative;
    pointer-events: none;
}

/* Adjust left preview clipping */
.slide.prev-preview img {
    clip-path: polygon(20% 100%, 0 100%); /* Show only 20% from the right */
}

/* Adjust right preview clipping */
.slide.next-preview img {
    clip-path: polygon(100% 100%, 80% 100%); /* Show only 20% from the left */
}






/* testimonial */
.carousel-container {
    width: 80%;
    margin: 50px auto;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    flex: 0 0 100%;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.prev-button, .next-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 10px 15px;
    font-size: 1.5em; /* Increased font size for arrows */
    cursor: pointer;
}

.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}





/* approve */
.pre-approved-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
    font-family: sans-serif;
}

.left-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.image-container img {
    max-width: 80%;
    height: 600px;
    width: 500px;
  
    margin-left: 50px;
}

.approval-card {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
}

.approval-header {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.check-icon img {
    max-width: 50px;
    margin: 10px auto;
}




.right-content {
    flex: 1;
    padding-left: 50px;
    position: relative;
}

.dots-pattern {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    grid-template-columns: repeat(8, 5px); /* Adjust dot size and spacing */
    grid-gap: 5px;
    z-index: 0;
}

.dot {
    width: 5px;
    height: 5px;
    background-color: black;
    border-radius: 50%;
}

.right-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    z-index: 1;
    position: relative;
}

.right-content p {
    line-height: 1.6;
    margin-bottom: 30px;
    z-index: 1;
    position: relative;
}

.start-button {
    background-color: black;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    z-index: 1;
    position: relative;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pre-approved-section {
        flex-direction: column;
        padding: 20px;
    }
    .right-content {
        padding-left: 0;
        margin-top: 30px;
    }
}






/* Footer Container */
footer {
    background: #000;
    padding: 40px;
    width: 100%;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: auto;
}

/* Left Section - Menu */
.footer-menu ul {
    list-style: none;
    
}

.footer-menu ul li {
    margin-bottom: 10px;
    margin-left: -70px;
}

.footer-menu ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.footer-menu ul li a:hover {
    color: #bbb;
}

/* Middle Section - Contact Form */
.footer-form {
    flex: 2;
    text-align: center;
    max-width: 600px;
    margin-bottom: 50px;
}
.message-{
    width: 575px;
}

.footer-form h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: white;
    margin-left: -340px;
}
.btn-submit{
    margin-left: 395px;
    width: 200px;
}

.form-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    background: #222;
    border: 1px solid #444;
    color: #fff;
    border-radius: 5px;
}

textarea {
    height: 100px;
}

button {
    background: #fff;
    color: #000;
    padding: 10px;
    width: 100%;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

button:hover {
    background: #ddd;
}

/* Right Section - Company Info */
.footer-info {
    text-align: center;
    font-weight: lighter;
    font-size: 14px;
    color: white;
}

.footer-info img {
    width: 100px;
    margin-bottom: 15px;
 
}

.footer-info p {
    margin-bottom: 10px;
}

/* Bottom Section */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    border-top: 1px solid #444;
    padding-top: 15px;
    max-width: 1200px;
    margin: auto;
}

.bottom-left p {
    font-size: 14px;
    color: #bbb;
}

.bottom-right a {
    color: #fff;
    font-size: 20px;
    margin-left: 10px;
    text-decoration: none;
}

.bottom-right a:hover {
    color: #bbb;
}


.property-details {
    max-width: 80%;
    margin-left: 10%;
}

.row {
    max-width: 80%;
    margin-left: 10%;
}

.highlite {
    font-size: 42px;
    font-weight: bold;
    position: relative;
    display: inline-block;
    margin-top: 40px;
    font-family: "proxima-nova", sans-serif;
    text-align: left;
}

/* Underline */
.highlite::after {
    content: "";
    width: 165px;
    height: 4px;
    background-color: black;
    display: block;
    margin: 10px auto 0;
    margin-left: 1px;
}



/* Responsive embed container for 16:9 videos */
.embed-responsive {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 ratio (9/16 = 0.5625) */
    overflow: hidden;
  }
  
  .embed-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }