* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    background-color: #FAF9F6;
}

    .content{
        display: grid;
    }

        /* Navigation Bar */
        .navigation-bar {
            width: 100%;
            background-color: ghostwhite;
            position: sticky;
            top: -50px;
            transition: transform 0.3s ease;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        }

            /* Top Bar */
            .navigation-topbar {
                min-height: 50px;
                width: 100%;
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 10px 30px;
                background-color: ghostwhite;
                border-bottom: 1px solid #e0e0e0;
                flex-wrap: wrap;
                gap: 10px;
            }

                .contact-email {
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    font-size: 14px;
                    color: #555;
                    transition: color 0.3s;
                }

                    .contact-email:hover {
                        color: #D27D2D;
                    }

                .social-media-contact {
                    display: flex;
                    align-items: center;
                    gap: 0;
                }

                    .social-icon {
                        width: 60px;
                        height: 32px;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        transition: transform 0.3s;
                        cursor: pointer;
                        border-right: 1px solid #ddd;
                    }

                        .social-icon:hover {
                            transform: translateY(-2px);
                        }

                        .social-icon img {
                            width: 24px;
                            height: 24px;
                        }

                    .phone-contact {
                        display: flex;
                        align-items: center;
                        gap: 5px;
                        text-decoration: none;
                        color: #555;
                        font-size: 14px;
                        font-weight: 500;
                        padding-left: 15px;
                        transition: color 0.3s;
                    }

                        .phone-contact:hover {
                            color: #D27D2D;
                        }

            /* Main Navigation */
            .navigation-menu {
                min-height: 80px;
                width: 100%;
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 15px 40px;
                background-color: ghostwhite;
            }

                .menu-info {
                    text-align: center;
                }

                    .menu-info a {
                        text-decoration: none;
                        color: #333;
                        font-size: 16px;
                        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
                        font-weight: 600;
                        line-height: 1.6;
                        transition: color 0.3s;
                    }

                    .menu-info a:hover {
                        color: #D27D2D;
                    }

            /* Hamburger Menu Button */
            .hamburger {
                display: none;
                flex-direction: column;
                gap: 5px;
                cursor: pointer;
                padding: 10px;
            }

            .hamburger span {
                width: 30px;
                height: 3px;
                background-color: #333;
                transition: 0.3s;
            }

            .hamburger.active span:nth-child(1) {
                transform: rotate(45deg) translate(8px, 8px);
            }

            .hamburger.active span:nth-child(2) {
                opacity: 0;
            }

            .hamburger.active span:nth-child(3) {
                transform: rotate(-45deg) translate(8px, -8px);
            }

                /* Menu Items */
                .menu ul {
                    display: flex;
                    gap: 40px;
                    list-style: none;
                    align-items: center;
                }

                .menu ul li {
                    position: relative;
                }

                    .menu ul li a,
                    .menu ul li p {
                        text-decoration: none;
                        color: #333;
                        font-size: 15px;
                        font-weight: 500;
                        cursor: pointer;
                        padding: 8px 0;
                        transition: color 0.3s;
                        position: relative;
                    }

                    .menu ul li a::after,
                    .menu ul li p::after {
                        content: '';
                        position: absolute;
                        bottom: 0;
                        left: 0;
                        width: 0;
                        height: 2px;
                        background-color: #D27D2D;
                        transition: width 0.3s;
                    }

                    .menu ul li a:hover,
                    .menu ul li p:hover {
                        color: #D27D2D;
                    }

                    .menu ul li a:hover::after,
                    .menu ul li p:hover::after {
                        width: 100%;
                    }

            /* Dropdown Menu */
            .sub-menu {
                display: none;
                position: absolute;
                top: 100%;
                left: -20px;
                background-color: white;
                min-width: 200px;
                border-radius: 8px;
                box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
                padding: 10px 0;
                margin-top: 0;
                opacity: 0;
                transform: translateY(-10px);
                transition: opacity 0.3s, transform 0.3s;
            }

                .menu ul li:hover .sub-menu {
                    display: block;
                    opacity: 1;
                    transform: translateY(0);
                }

                .sub-menu ul {
                    display: flex;
                    flex-direction: column;
                    gap: 0;
                }

                    .sub-menu ul li {
                        width: 100%;
                    }

                    .sub-menu ul li a {
                        display: block;
                        padding: 12px 24px;
                        font-size: 14px;
                        color: #555;
                        transition: background-color 0.2s, color 0.2s;
                    }

                    .sub-menu ul li a::after {
                        display: none;
                    }

                    .sub-menu ul li a:hover {
                        background-color: #f8f8f8;
                        color: #D27D2D;
                        padding-left: 28px;
                    }

        /* Mobile Styles */
        @media (max-width: 1024px) {
            .navigation-topbar {
                padding: 10px 20px;
                font-size: 12px;
            }

            .social-media-contact {
                gap: 10px;
            }

            .social-icon {
                width: 28px;
                height: 28px;
            }

            .social-icon img {
                width: 20px;
                height: 20px;
            }

            .phone-contact {
                font-size: 12px;
                padding-left: 10px;
            }

            .navigation-menu {
                padding: 15px 20px;
            }

            .hamburger {
                display: flex;
            }

            .menu {
                position: fixed;
                top: 80px;
                right: -100%;
                width: 300px;
                height: calc(100vh - 130px);
                background-color: white;
                transition: right 0.3s;
                box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
                overflow-y: auto;
            }

            .menu.active {
                right: 0;
            }

            .menu ul {
                flex-direction: column;
                gap: 0;
                padding: 20px 0;
            }

            .menu ul li {
                width: 100%;
                border-bottom: 1px solid #f0f0f0;
            }

            .menu ul li a,
            .menu ul li p {
                display: block;
                padding: 15px 30px;
                font-size: 16px;
            }

            .menu ul li a::after,
            .menu ul li p::after {
                display: none;
            }

            .sub-menu {
                position: static;
                box-shadow: none;
                border-radius: 0;
                margin-top: 0;
                padding: 0;
                background-color: #f8f8f8;
            }

            .menu ul li:hover .sub-menu {
                display: none;
            }

            .menu ul li.active .sub-menu {
                display: block;
                opacity: 1;
                transform: none;
            }
        }

        @media (max-width: 600px) {
            .navigation-topbar {
                display: none;
            }

            .navigation-bar {
                position: sticky;
                top: 0;
                left: 0;
                right: 0;
            }

            .navigation-menu {
                padding: 15px 20px;
                min-height: 70px;
            }

            .menu {
                position: absolute; /* Use absolute instead of fixed */
                top: 100%; /* Place it just below the navigation-menu */
                right: -60%; /* Hide it to the right initially */
                width: 60%; /* Only cover half the screen */
                height: calc(100vh - 70px); /* Height excluding navbar */
                background-color: ghostwhite;
                transition: right 0.3s ease;
                z-index: 900; /* lower than navbar */
                border-left: 1px solid #D27D2D;
            }

            .menu ul li a,
            .menu ul li p {
                padding: 14px 25px;
                font-size: 15px;
            }

            .sub-menu ul li a {
                padding: 10px 40px;
                font-size: 13px;
            }

            .sub-menu ul li a:hover {
                padding-left: 45px;
            }
        }
        
        /**/                    
.body_content {
    min-height: 700px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background-color: ghostwhite;
}

.main-container {
    width: 100%;
    max-width: 600px;
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-title {
    text-align: center;
    font-size: 32px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-bottom: 30px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus {
    outline: none;
    border-color: #D27D2D;
}

.check_box {
    margin-bottom: 25px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
}

.check_box legend {
    padding: 0 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.For_sale_box,
.For_rent_box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.check_box input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.check_box label {
    margin: 0;
    font-size: 14px;
    cursor: pointer;
    font-weight: normal;
}

#submit {
    width: 100%;
    height: 50px;
    background-color: #D27D2D;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    margin-top: 10px;
    transition: background-color 0.3s;
}

#submit:hover {
    background-color: #b1651e;
}