body {
    font-family: 'Poppins', sans-serif;
    background-color: #F8F9FA;
    color: #333;
    margin: 0;
    padding: 0;
}


.top-bar{

    padding:10px; 
    text-align:center;  
}

.top-bar a {
    color: black;
    font-size: 20px;
    margin: 0 10px;
    transition: 0.3s;
}
.top-bar a:hover {
    color: #0004ff;
}


.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(2, 32, 116, 0.8); /* Slight transparency */
    color: white;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    z-index: 1000;
    margin-bottom:10px; 
}

.hero {
    position: relative;
    width: 100%;
    min-height: 70vh;
    overflow: hidden; /* Prevents scrolling */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the entire section */
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white; /* Ensure text is visible */
/*    background: rgba(129, 129, 129, 0.5); /* Optional dark overlay */
    padding: 20px;
    border-radius: 10px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #F59E0B;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}


.hero h1 {
    font-size: 48px;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 20px;
    max-width: 600px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.search-box {
    margin-top: 20px;
}

.search-box input {
    padding: 10px;
    width: 50%;
    border-radius: 5px;
    border: none;
    color: black;
}

.search-box button {
    background-color: #000cb9;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    margin-left: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

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

.container {
   /* flex-wrap: wrap; /* Ensures items wrap properly */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 10px;
    justify-content: center;
    align-items: center;
    max-width: 1200px; /* Adjust width as needed */
    margin: 0 auto; /* Centers the container */
    text-align: center; /* Ensures text inside is centered */
}

.call2Action {
    min-height: 5vh; /* Ensures the call2Action section has enough height */ 
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: left;
    text-align: left;
    padding: 5px;
}

.call2Action h1 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #1E3A8A;
    margin-bottom: 10px;
}

/* Steps section */
.steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.step {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    width: 300px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s;
    position: relative;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.15);
}

/* Icons */
.icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: #E5E7EB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon img {
    width: 50px;
    height: auto;
}

/* Headings & Text */
.step h4 {
    color: #1E3A8A;
    font-size: 20px;
    font-weight: bold;
}

.step p {
    color: #555;
    font-size: 16px;
}



.call2Action h4 {
    font-size: 28px;
    font-weight: lighter;
    
}

.call2Action p {
    font-size: 20px;
    max-width: 600px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.row {
    min-height: 5vh; /* Ensures the call2Action section has enough height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
}



.property-card {
        border-radius: 10px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        text-align: center;
        padding: 15px;
        transition: transform 0.3s;
    }
    .property-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 10px;
    }
    .property-card:hover {
        transform: scale(1.05);
    }


.property-info {
    padding: 15px;
}

.property-info h3 {
    font-size: 20px;
    font-weight: bold;
}

.property-info .location {
    color: gray;
    font-size: 14px;
}

.property-info .price {
    color: #F59E0B;
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}

.property-info button {
    background-color: #1E3A8A;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.property-info button:hover {
    background-color: #142C6E;
}



.services {
    min-height: 70vh;
    background: url('images/modern.jpeg.jpeg') no-repeat center center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Keeps the background steady */
    color: white;
    padding: 60px 20px; /* Proper padding */
    width: 100%;
    position: relative;
}

/* Overlay to improve readability */
.services::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1;
}

.services .row {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

.services h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.offers {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 20px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    max-width: 800px;
}

.offers:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.offers h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.offers i {
    font-size: 1rem;
    font-style: normal;
    color: #555;
}


.tips {
    min-height: 80vh;
    background: url('images/modern.jpeg') no-repeat center center;
    background-size: cover;
    color: black;
    padding: 20px 10px;
    text-align: center;
}

.tips .row {
    max-width: 1100px;
    margin: auto;
}

.tips h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    color: #2c3e50; /* Consistent dark text */
}

/* Grid layout for proper alignment */
.tips .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
}

/* Individual Tips */
.tip-1 {
    background: rgba(255, 255, 255, 0.9);
    color: black;
    padding: 10px; 
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-align: left;
    position: relative;
    overflow: hidden;
}

/* Hover Effects */
.tip-1:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.tip-1 h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: #333;
    position: relative;
    font-weight: bold;
}

.tip-1 i {
    font-size: 1rem;
    font-style: normal;
    color: #555;
    position: relative;
}



.footer {
    background: #1E3A8A;
    color: white;
    padding: 40px 20px;
    text-align: center;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}
.contact-info, .quick-links, .social-media {
    flex: 1;
    min-width: 250px;
}
.quick-links ul {
    list-style: none;
    padding: 0;
}
.quick-links ul li a {
    color: white;
    text-decoration: none;
    display: block;
    transition: 0.3s;
}
.quick-links ul li a:hover {
    text-decoration: underline;
}
.social-media a {
    color: white;
    font-size: 20px;
    margin: 0 10px;
    transition: 0.3s;
}
.social-media a:hover {
    color: #FFD700;
}
.copyright {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.8;
}


.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: rgb(255, 255, 255);
    background: none;
    border: none;
    outline: none;
}

 .cookie-banner {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background: #222;
        color: white;
        padding: 15px;
        border-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: 500px;
        z-index: 1000;
    }
    .cookie-banner button {
        margin-left: 10px;
        padding: 5px 10px;
        border: none;
        cursor: pointer;
        background: #0d6efd;
        color: white;
        border-radius: 3px;
    }
    .cookie-banner button:hover {
        background: #0056b3;
    }

/*Listings*/

 .filters {
            display: flex;
            gap: 12px;
            background: white;
            padding: 12px;
            border-radius: 8px;
            box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
            overflow-x: auto;
        }

        select {
            padding: 8px;
            border: 1px solid #ccc;
            border-radius: 6px;
            font-size: 14px;
            cursor: pointer;
            transition: 0.2s;
        }

        select:hover {
            border-color: #007bff;
        }

        .results {
            margin-top: 15px;
            padding: 10px;
            background: white;
            border-radius: 6px;
            box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
        }

        select {
    padding: 8px;
    border: none; /* No border at all */
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    background: white; /* Clean white background */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none; /* Removes focus border */
}

select:hover, select:focus {
    background: #f8f8f8; /* Subtle hover effect */
}


.property-card {
    width: calc(33.33% - 20px); /* Adjust for 3 columns */
    min-width: 300px; /* Prevents shrinking too much */
    max-width: 400px; /* Controls width */
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.property-details {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.property-details img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.property-details p {
    font-size: 18px;
    margin: 10px 0;
}


 .swiper-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }


        .property-slider .swiper-slide img {
    width: 100%;
    height: 250px; /* Adjust as needed */
    object-fit: cover; /* Ensures images scale properly */
    border-radius: 10px;
}


/* Change color of navigation arrows */
.swiper-button-next,
.swiper-button-prev {
    color: #ff0000; /* Change to your preferred color */
}


select {
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    background-color: rgb(230, 241, 255); /* White background */
    color: #000 !important; /* Black text for best visibility */
    font-weight: bold;
    outline: none;
    cursor: pointer;
}

select:focus {
    background-color: #e0f0ff; /* Light blue on focus */
   
}

option {
    background-color: white;
    color: #000 !important; /* Force black text */
}




/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: #1E3A8A;
        position: absolute;
        top: 60px;
        left: 0;
        padding: 10px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .navbar {
        padding: 10px 20px;
    }

    .steps-carousel {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 10px;
        padding: 20px;
        scroll-behavior: smooth;
    }


    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step {
        width: 90%;
    }

     .offers {
        max-width: 90%;
        padding: 15px;
    }

    .services h2 {
        font-size: 1.5rem;
    }

    .offers h2 {
        font-size: 1.5rem;
    }

    .tips h1 {
        font-size: 2rem;
    }

    .tips .row {
        display: block;
    }

    .tip-1 {
        margin-bottom: 20px;
    }

     .property-card {
        width: 100%; /* Stack items for smaller screens */
    }
}



