/* styles.css */

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.navbar {
    background-color: #ffffff;
    color: #003366;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-icon {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 100px;
    margin-right: 20px;
    margin-bottom: 0;
}
.logo p{
    font-size: 15px;
    margin-top: 0px;
    text-align: center;
    font-weight: bolder;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    flex-grow: 1;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: #003366;
    font-weight: 500;
    transition: ease-in-out 0.3s;
}

.nav-links a:hover{
    color: #007BFF;
    font-weight: bolder;
}

.signup-btn {
    background-color: #007BFF;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}


.hero {
    height: 60vh;
    background: url('images/heroo.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero-content{
    background-color: rgba(0, 59, 126, 0.5); /* Black with 50% opacity */
    padding: 20px;
    border-radius: 10px;
}
.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.search-bar {
    margin-top: 20px;
}

.search-bar input {
    padding: 10px;
    width: 300px;
    border: none;
    border-radius: 5px 0 0 5px;
}

.search-btn {
    padding: 10px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.properties {
    padding: 40px 20px;
    text-align: center;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.property-card {
    border: 1px solid #000000;
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.property-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.property-info {
    padding: 15px;
}

.property-info h3 {
    margin: 0;
    color: #003366;
}

.view-more-btn {
    padding: 12px 25px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Newsletter Section */
.newsletter {
    background-color: #29ABE2;
    padding: 40px 20px;
    text-align: center;
    border-radius: 15px;
    margin: 30px auto;
    max-width: 700px;
}

.newsletter h2 {
    color: #fff;
    margin-bottom: 10px;
}

.newsletter p {
    color: #f0f0f0;
    margin-bottom: 25px;
}

.newsletter-input {
    display: flex;
    justify-content: center;
    border-radius: 30px;
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input input {
    padding: 15px;
    border: none;
    flex: 1;
    background-color: #e0e0e0;
    font-size: 1rem;
    color: #333;
    outline: none;
}

.newsletter-input button {
    padding: 15px 30px;
    border: none;
    background-color: #003366;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

/* Testimonials Section */
.testimonials {
    padding: 40px 20px;
    background-color: #f7f7f7;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.testimonials h2 {
    margin-bottom: 30px;
    color: #003366;
}

.testimonials-slider {
    display: flex;
    width: 100%;
    transition: transform 0.15s ease-in-out Smooth transition ;
}

.testimonial-card {
    flex: 0 0 50%;
    box-sizing: border-box;
    padding: 20px;
    margin: 0 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #b9b9b9;
    text-align: left;
}

.testimonial-card p {
    font-style: italic;
    color: #333;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.testimonial-author .name {
    font-weight: bold;
    color: #003366;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-500%);
    }
}

/* Buttons for navigation */
.prev-btn,
.next-btn {
    background-color: #003366;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 24px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    z-index: 10;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.testimonials-slider-container {
    overflow: hidden; /* Hide overflowing testimonials */
    width: 90%;
    margin: auto;
}





.footer {
    background-color: #003366;
    color: #fff;
    padding: 30px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li a {
    text-decoration: none;
    color: #fff;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #fff;
    padding-top: 10px;
}





/*Login page*/

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #cccccc;
}

.login-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 400px;
    overflow: hidden;
}

.logo {
    width: 100px;
    margin: 10px auto;
    display: block;
}

.login-image {
    background-image: url('images/heroo.jpg');
    background-size: cover;
    color: #fff;
    padding: 60px 20px;
    background-position: center;
}

.login-image h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.login-image p {
    font-size: 0.9em;
}

.login-buttons {
    background-color: #2196F3;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.login-buttons button {
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.register-btn {
    background-color: #e0e0e0;
    color: #000;
}

.register-btn:hover {
    background-color: #ccc;
}

.signin-btn {
    background-color: #0D47A1;
    color: #fff;
}

.signin-btn:hover {
    background-color: #08306b;
}




/*PROPERTIES PAGE*/




.property-section {
    padding: 20px;
}
.property-buttons {
    margin-bottom: 20px;
}
.filter-btn {
    margin-right: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #ccc;
}
.filter-btn.active {
    background-color: #2196F3;
    color: #fff;
}
.property-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.property-card {
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    position: relative;
}
.property-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}
.property-card h3 {
    margin: 10px;
}
.property-card p, .property-card small {
    margin: 0 10px 10px;
}

/* SOLD Label Styling */
.sold-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background: red;
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    border-radius: 5px;
    font-size: 14px;
}


/*SEARCH RESULTS*/

#searchContainer {
    margin-top: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
}

#searchResults {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}



/*PROPERTY LISTINGS*/

.property-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}
.image-slider {
    width: 100%;
    max-width: 600px;
    margin-bottom: 20px;
}
.image-slider img {
    width: 100%;
    border-radius: 10px;
}
.details-info {
    text-align: left;
    margin-bottom: 20px;
}
.details-info h2 {
    color: #2196F3;
    margin-bottom: 10px;
}
.details-info p {
    margin: 5px 0;
    color: #333;
}
.whatsapp-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 20px;
    background-color: #25D366;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}
.whatsapp-btn:hover {
    background-color: #1da851;
}



/*REGISTER PAGE*/
.registration-form {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background-color: #f2f2f2;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.registration-form h2 {
    text-align: center;
    margin-bottom: 20px;
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}
.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}
.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #2196F3;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}
.submit-btn:hover {
    background-color: #1976D2;
}

/*LOGIN FORM*/
.login-form {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background-color: #f2f2f2;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.login-form h2 {
    text-align: center;
    margin-bottom: 20px;
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}
.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}
.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #2196F3;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}
.submit-btn:hover {
    background-color: #1976D2;
}




/*ABOUT US PAGE*/


.about-us {
    max-width: 800px;
    margin: 50px auto;
    text-align: center;
    padding: 20px;
    background-color: rgb(186, 186, 221);
}
.ceo-message {
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.ceo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ceo-text {
    width: 60%;
    padding-right: 20px;
}

.ceo-text h4{
    font-family: 'Great Vibes';
}
.ceo-image img {
    width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.talk{
    color: #f8f8f8;
    background-color: blue;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    transition: .3s ease-in-out;
}
.talk:hover{
    background-color: rgb(1, 1, 105);
}


/*CONTACT US CSS*/

.contact {
    text-align: center;
    padding: 50px;
    background-color: #f9f9f9;
}
.contact h2 {
    font-size: 28px;
    color: #333;
}
.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 30px;
}
.contact-form {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 26px;
}

.contact-form label {
    display: block;
    font-size: 16px;
    color: #555;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    margin-bottom: 15px;
    transition: 0.3s ease-in-out;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.contact-form textarea {
    resize: none;
    height: 150px;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.contact-form button:hover {
    background-color: #0056b3;
}



/*INSURANCE PAGE*/
/* Reset and General Styling */
.insurancebody {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e9eff6;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Insurance Form Container */
.insurance-form-container {
    max-width: 420px;
    width: 90%;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    text-align: center;
    overflow: hidden;
}

/* Header */
.insurance-form-header {
    background: #1f2a5c;
    color: white;
    padding: 18px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    position: relative;
}

/* Close Button */
.insurance-form-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

/* Form Styling */
#insurance-booking-form {
    display: flex;
    flex-direction: column;
    padding: 25px;
}

#insurance-booking-form label {
    font-size: 14px;
    color: #333;
    text-align: left;
    margin-bottom: 5px;
}

#insurance-booking-form input, 
#insurance-booking-form select, 
#insurance-booking-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-bottom: 2px solid #ccc;
    background: transparent;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease-in-out;
}

#insurance-booking-form input:focus, 
#insurance-booking-form select:focus, 
#insurance-booking-form textarea:focus {
    border-bottom: 2px solid #1f2a5c;
}

/* Submit Button */
#insurance-submit-btn {
    padding: 12px;
    background: #1f2a5c;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(31, 42, 92, 0.3);
}

#insurance-submit-btn:hover {
    background: #142042;
}

/* Confirmation Message */
#insurance-confirmation-message {
    display: none;
    background: #d4edda;
    color: #155724;
    font-weight: bold;
    padding: 12px;
    border-radius: 6px;
    margin-top: 15px;
}


/*SURVEYING PAGE*/
/* Reset and General Styling */
.surveybody {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e9eff6;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Survey Form Container */
.survey-form-container {
    max-width: 420px;
    width: 90%;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    text-align: center;
    overflow: hidden;
    margin-bottom: 60px;
    margin-top: 10px;
}

/* Header */
.survey-form-header {
    background: #1f2a5c;
    color: white;
    padding: 18px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    position: relative;
}

/* Close Button */
.survey-form-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

/* Form Styling */
#survey-booking-form {
    display: flex;
    flex-direction: column;
    padding: 25px;
}

#survey-booking-form label {
    font-size: 14px;
    color: #333;
    text-align: left;
    margin-bottom: 5px;
}

#survey-booking-form input, 
#survey-booking-form select, 
#survey-booking-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-bottom: 2px solid #ccc;
    background: transparent;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease-in-out;
}

#survey-booking-form input:focus, 
#survey-booking-form select:focus, 
#survey-booking-form textarea:focus {
    border-bottom: 2px solid #1f2a5c;
}

/* Submit Button */
#survey-submit-btn {
    padding: 12px;
    background: #1f2a5c;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(31, 42, 92, 0.3);
}

#survey-submit-btn:hover {
    background: #142042;
}

/* Confirmation Message */
#survey-confirmation-message {
    display: none;
    background: #d4edda;
    color: #155724;
    font-weight: bold;
    padding: 12px;
    border-radius: 6px;
    margin-top: 15px;
}


/* Responsive Styles for hamburger icon on mobile*/
@media screen and (max-width: 768px) {
    .menu-icon {
        display: block; /* Show hamburger icon on mobile */
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: #ffffff;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .nav-links.show {
        display: flex; /* Show menu when active */
    }
}



/* =========== GLOBAL STYLES =========== */
@media screen and (min-width: 769px) {
    .nav-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background-color: white;
        padding: 15px 30px;
        position: relative; /* Fix for desktop */
        height: auto;
        box-shadow: none;
    }

    .nav-links {
        display: flex; /* Ensure nav-links are visible on desktop */
        flex-direction: row;
        position: relative;
        background: none;
        box-shadow: none;
    }

    .property-buttons {
        position: static; /* Avoid sticky effects on desktop */
        display: flex;
        justify-content: flex-start;
        gap: 15px;
    }
}

/* =========== RESPONSIVE: HOMEPAGE =========== */
@media screen and (max-width: 768px) {
    .nav-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 10px 15px;
        z-index: 1000;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        height: 60px;
    }

    .menu-icon {
        font-size: 24px;
        cursor: pointer;
        flex: 1;
        display: flex;
        align-items: center;
    }

    .logo {
        flex: 2;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .logo img {
        max-width: 120px;
        height: auto;
    }

    .signup-btn {
        padding: 8px 20px;
        background-color: #007bff;
        color: white;
        text-decoration: none;
        border-radius: 5px;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        min-width: 100px;
        margin-left: auto;
        margin-right: 20px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 10px;
        text-align: center;
    }

    .hero {
        height: 50vh;
        padding: 20px;
        margin-top: 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .search-bar input {
        width: 70%;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-input {
        flex-direction: column;
    }

    .newsletter-input input {
        width: 100%;
        border-radius: 5px;
        margin-bottom: 10px;
    }

    .newsletter-input button {
        width: 100%;
        border-radius: 5px;
    }
    
        .testimonials-slider-container {
            overflow: hidden;
            width: 100%;
            position: relative;
        }
    
        .testimonials-slider {
            display: flex;
            transition: transform 0.5s ease-in-out;
        }
    
        .testimonial-card {
            flex: 0 0 100%;
            width: 100%;
            box-sizing: border-box;
            scroll-snap-align: start;
            margin: 1px; /* Remove unwanted margins */
        padding: 20px; /* Adjust padding if needed */
        }

        .prev-btn,
    .next-btn {
        opacity: 0.5; /* Reduce opacity */
    }

    
    
    
}

/* =========== RESPONSIVE: properties.html =========== */
@media (max-width: 768px) {
    .property-buttons {
        position: sticky;
        top: 0;
        background-color: #ffffff;
        padding: 10px;
        z-index: 1000;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .filter-btn {
        flex: 1 1 calc(50% - 10px);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .filter-btn {
        flex: 1 1 100%;
    }
}

/* =========== RESPONSIVE: about us.html =========== */
@media (max-width: 768px) {
    .ceo-container {
        flex-direction: column;
        text-align: center;
    }

    .ceo-text {
        width: 100%;
        padding-right: 0;
    }

    .ceo-image img {
        width: 80%;
        max-width: 300px;
        margin-top: 20px;
    }

    .talk {
        display: block;
        width: fit-content;
        margin: 20px auto;
    }
}

/* =========== RESPONSIVE: contact us.html =========== */
@media screen and (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 20px;
    }

    .contact-form,
    .contact-info {
        width: 90%;
        text-align: center;
    }
}
