@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* ---------------------------------- */
/* 1. CSS Variables   */
/* ---------------------------------- */
:root {
    /* Colors */
    --primary-purple: #9333ea;
    --primary-pink: #ec4899;
    --secondary-orange: #ff6b6b;
    --text-black: #00000;
    --text-dark: #1f2937;
    --text-muted: #4b5563;
    --text-light: #dbeafe;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;

    /* Typography */
    --font-family: "Poppins", sans-serif;

    /* Effects */
    --border-radius-md: 0.75rem;
    --border-radius-lg: 1rem;
    --card-shadow-lg: 0px 10px 15px 0px #0000001a;
    --card-shadow: 0px 4px 6px 0px #0000001a;
    --transition: all 0.4s ease;
}

/* ---------------------------------- */
/* 2. Global Styles & Resets          */
/* ---------------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
}

html,
body {
    overflow-x: hidden;
    font-family: var(--font-family);
}

.home-page .container {
    max-width: 1173px;
}

.title {
    font-family: var(--font-family);
    font-size: 30px;
    line-height: 40px;
    font-weight: 700;
    margin-bottom: var(--border-radius-md);
    color: var(--text-dark);
}

.subt {
    font-size: 17px;
    line-height: 24px;
    font-weight: 400;
    color: var(--text-muted);
    font-family: var(--font-family);
}

.form-select:focus {
    outline: 0;
    box-shadow: none;
}

.green-gradient {
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
}

.blue-gradient {
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
}

.orange-gradient {
    background: linear-gradient(90deg, #f97316 0%, #ea580c 100%);
}

/* ---------------------------------- */
/* 3. Common/Utility Classes          */
/* ---------------------------------- */

/* --- Buttons --- */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    text-decoration: none;
    border: none !important;
    cursor: pointer;
    height: 3rem;
    transition: var(--transition);
    display: inline-block;
}

button.btn.btn-primary {
    background: linear-gradient(90deg, #3342ea 0%, #6027db 100%);
    border-radius: var(--border-radius-md);
    color: var(--text-light);
    transition: var(--transition);
}

button.btn.btn-primary-outline {
    background: #155dfc1a;
    color: #155dfc;
    border: 1px solid #155dfc4d !important;
    border-radius: 6px !important;
}

button.btn.btn-primary-outline:hover {
    background: #155dfc33;
    color: #155dfc;
    transform: translateY(-2px);
}

.btn-primary:hover {
    opacity: 0.9;
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(127, 0, 255, 0.2),
        0 4px 6px -2px rgba(127, 0, 255, 0.1);
}

.btn-secondary {
    background-color: var(--secondary-orange);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: #ff4747;
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-light-outline {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-light-outline:hover {
    background-color: var(--text-light);
    color: var(--primary-purple);
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

a {
    text-decoration: none !important;
}

/* --- Cards --- */
.card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card-title {
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.card-text {
    color: var(--text-muted);
}

.card-service {
    display: flex;
    flex-direction: column;
}

/* --- Forms --- */
.form-input {
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    width: 100%;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(127, 0, 255, 0.1);
}

/* --- Icons --- */
.icon {
    width: 48px;
    height: 48px;
    color: var(--primary-purple);
    margin-bottom: var(--spacing-md);
}

/* --- HEADER CSS ---  */

.navbar.scrolled {
    box-shadow: var(--card-shadow-lg);
    transition: var(--transition);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

header nav.navbar img.img-fluid.header_logo {
    max-width: 210px;
}

.header_logo {
    margin-right: 0.9rem;
}

.navbar-nav {
    gap: 1.4rem;
}

header nav.navbar a.nav-link.active{
            color: var(--primary-purple);
}

.navbar a.nav-link {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #374151;
    font-family: var(--font-family);
    transition: var(--transition);
}

.navbar a.nav-link:hover {
    color: var(--primary-purple);
}

header .navbar button.btn.btn-primary {
    height: 39px;
    font-weight: 600;
    font-size: 13px;
    line-height: 100%;
    text-align: center;
    color: var(--bg-white);
    padding: 9px 24px;
    border-radius: 2rem !important;
    font-family: var(--font-family);
    background: linear-gradient(90deg, #9333ea 0%, #db2777 100%);
}

/* --- BANNER CSS --- */

.banner_section {
    padding: 100px 0 140px;
    position: relative;
    background: linear-gradient(45deg, #667eea 50%, #764ba2 120.71%);
    overflow: hidden;
}

.banner_img {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100% !important;
    width: 100%;
    z-index: 0;
    object-fit: cover;
}

.search_box {
    margin-top: 5rem;
    gap: 1rem;
}

.banner_title {
    font-family: SF Pro;
    font-weight: bolder;
    color: var(--bg-white);
    font-size: 40px;
    line-height: 60px;
    font-family: var(--font-family);
}

p.banner_subtitle {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #f9fafb;
}

.search_box {
    background: #ffffff66;
    padding: 24px 24px 19px 24px;
    width: fit-content;
    margin: 5rem auto 0;
    border-radius: var(--border-radius-lg);
}

.banner_section select.form-select {
        font-size: 15px;
    color: #374151;
    width: 235px;
    height: 56px;
    font-weight: 400;
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius-md);
}

.banner_section .search_box .btn {
    width: 240px;
    height: 56px;
    border-radius: var(--border-radius-md);
    background: linear-gradient(90deg, #ec4899 0%, #9333ea 100%);
}

/* --- SECOND SECTION CSS --- */

.choose_us {
    padding: 4rem 0;
}

.choose_box {
    padding: 20px 20px 23px 20px;
    height: 100%;
    background: var(--bg-white);
    box-shadow: 0px 10px 15px 0px #0000001a;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.choose_box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.choose_ic {
    box-shadow: var(--card-shadow-lg);
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-lg);
    margin-bottom: 1rem;
}

.choose_title {
    font-size: 17px;
    line-height: normal;
    font-weight: 700;
    margin: 24px 0 5px;
    color: var(--text-dark);
    font-family: var(--font-family);
}

.choose_subtitle {
    font-size: 14px;
    line-height: normal;
    font-weight: 400;
    color: var(--text-muted);
    font-family: var(--font-family);
    margin: 0;
}

/* --- TRENDING PROJECTS CSS ---  */
.trending_projects {
    padding: 3rem 0;
}

.swiper.projectsSwiper {
    width: 100%;
    height: 100%;
    padding: 2rem 0.5rem 4rem;
}

.swiper-button-prev,
.swiper-button-next {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ea479b;
    transition: var(--transition);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: #c42e7c;
}

.swiper-button-prev i,
.swiper-button-next i {
    color: var(--bg-white);
}

.swiper-navigation-icon,
.swiper-navigation-icon {
    display: none;
}

.property-card {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    background-color: var(--bg-white);
    transition: var(--transition);
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.property_img img {
    height: 224px;
    object-fit: cover;
}

.property_type {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 2px 6px;
    border-radius: 0.5rem;
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--card-shadow);
}

.property_content {
    padding: 15px 20px 20px 20px;
}

.property_content button {
    font-size: 13px;
    height: 40px;
    border-radius: 8px !important;
}

.property_content h4 {
    font-size: 18px;
    line-height: 30px;
    font-weight: 600;
    color: var(--text-dark);
    font-family: var(--font-family);
    margin: 0;
}

.property_content a {
    font-family: Poppins;
    font-weight: 600;
    font-size: 12px;
    line-height: 100%;
    color: #155dfc;
    white-space: nowrap;
}

.location {
    font-size: 14px;
    line-height: 24px;
    color: var(--text-muted);
    font-weight: 400;
}

.price {
    font-size: 14px;
    color: #006045;
    font-weight: 500;
}

ul.property_details li span {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
}

ul.property_details li span:first-child {
    width: 48%;
}

ul.property_details li span:nth-child(2) {
    flex: 1;
}

ul.property_details li strong {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

/* --- SERVICES SECTION CSS ---  */

.services_section {
    padding: 2rem 0 0;
}

.services_section button {
    width: 251px;
    margin-top: 2rem;
}

.services_section .services_row {
    margin-top: 5rem;
}

.service_box {
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-right: 2rem;
}

.service_icon {
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow-lg);
}

.service_icon img {
    width: 20px;
}

.service_content h5 {
    font-size: 17px;
    line-height: 32px;
    font-weight: 600;
    margin: 0;
    color: var(--text-dark);
    font-family: var(--font-family);
}

.service_content p {
    font-size: 14px;
    color: var(--text-muted);
}

/* --- READY TO LIVE CSS --- */
.live_ur_plot {
    padding: 2rem 0;
}

.live_ur_plot_inner {
    background: linear-gradient(90deg, #4e33ea 27.4%, #db2777 77.4%);
    border-radius: 24px;
    padding: 48px 64px;
    position: relative;
    overflow: hidden;
}

.live_ur_plot .live_plot_img {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
}

.live_ur_plot_inner h2 {
    font-size: 40px;
    line-height: 48px;
    font-weight: 600;
    color: var(--bg-white);
    font-family: var(--font-family);
}

.live_ur_plot_inner p {
    font-size: 17px;
    line-height: 28px;
    font-weight: 400;
    color: var(--bg-light);
    font-family: var(--font-family);
}

button.btn.btn-white {
    color: rgba(147, 51, 234, 1);
    background: #fff;
    width: 292px;
    height: 60px;
    border-radius: 50px !important;
    font-family: Poppins;
    font-weight: 500;
    font-size: 20px;
    margin-top: 1rem;
    transition: var(--transition);
}

button.btn.btn-white:hover {
    background: #f3e8ff;
    color: rgba(147, 51, 234, 1);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(127, 0, 255, 0.2),
        0 4px 6px -2px rgba(127, 0, 255, 0.1);
}

/* --- Pegination Styling --- */

nav ul.pagination .page-item a.page-link{
    color: var(--text-dark);
     width: 38px;
    text-align: center;
    margin-left:5px;
    border-radius: 50%;
}

nav ul.pagination .page-item a.page-link.active{
    background: linear-gradient(90deg, #3342ea 0%, #6027db 100%) !important;
    color: #fff;
}

/* --- FOOTER CSS ---  */

.footer {
    padding: 4rem 0;
    background-color: #111827;
    color: var(--bg-light);
}

.footer_about p {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: var(--bg-light);
    font-family: var(--font-family);
    margin: 1rem 0;
}

.social_ic li {
    background: #9333ea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social_ic li a {
    display: contents;
}

.social_ic li:hover {
    background: #7e22ce;
}

.footer_links h5 {
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: var(--bg-white);
    margin-bottom: 1rem;
    font-family: var(--font-family);
}

ul.quick_links {
    padding: 0;
}

.quick_links li a {
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
    color: #9ca3af;
    transition: var(--transition);
    font-family: var(--font-family);
}

.quick_links li img {
    margin-right: var(--border-radius-md);
}

.quick_links li a:hover {
    color: var(--bg-white);
    text-decoration: underline;
}

.footer_bottom {
    padding-top: 2rem;
    margin-top: 2rem;
    color: #9ca3af;
    border-top: 1px solid #1f2937;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

/* -------------------------------------------------------- */
/*      Projects Page / Property List Page Styles  --------*/
/* ------------------------------------------------------ */

main {
    margin: 20px 0;
    padding: 0 25px;
}

.property-list-main-wrapper {
    gap: 20px;
}

.property-lists-box {
    max-width: 1018px;
    width: 100%;
}

.property-lists-filter-aside {
    flex: 1;
}

.filter-card {
    padding: 20px;
    box-shadow: 0px 1px 2px 0px #0000000d;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.filter-card h4 {
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    font-family: var(--font-family);
}

.filter-title {
    font-weight: 500;
    font-size: 15px;
    line-height: normal;
    color: #111827;
    font-family: var(--font-family);
}

#search-filters-form .h6 {
    font-weight: 500;
    font-size: 12px;
    line-height: 100%;
    color: #374151;
    font-family: var(--font-family);
}

#search-filters-form .form-check .form-check-input {
    width: 12px;
    height: 12px;
    margin-left: -1.3em;
    border-radius: 1px;
    margin-top: 8px;
}

.filter-card select.form-select {
    font-size: 12px;
    /* width: 272px; */
    height: 35px;
    border-radius: 6px;
    color: var(--text-black);
    border: 1px solid #d1d5db;
    width: 100%;
}

.filter-card select.form-select option {
    color: black;
    font-family: var(--font-family);
}

#search-filters-form label {
    font-size: 11px;
    font-weight: 500;
    color: #374151;
}

#search-filters-form .form-check label.form-check-label {
    font-weight: 400;
    color: #374151;
    margin-bottom: 0.4rem;
}

.filter-card #search-filters-form button.btn {
    font-size: 13px;
    font-weight: 500;
    line-height: 29px;
    padding: 0;
    height: 33px;
    border-radius: 5px;
}

.filter-card #search-filters-form button.btn.btn-apply:hover {
    background: #1e40af;
    color: white;
}

button#clear-filters-btn {
    color: var(--text-dark);
    background: #f3f4f6;
    border-radius: 6px !important;
}

button#clear-filters-btn:hover {
    background: #e5e7eb;
    color: var(--text-dark);
}

/* --- RIGHT SIDE CSS ---  */

.search-results-header {
    box-shadow: 0px 1px 2px 0px #0000000d;
    border: 1px solid #e5e7eb;
    padding: 14px 24px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.search-results-header h5 {
    font-weight: 500;
    font-size: 14px;
    line-height: 28px;
    font-family: var(--font-family);
}

.search-results-header p {
    font-size: 12px;
    line-height: 24px;
    font-weight: 400;
}

.search-results-header select#sortbyprice {
    font-size: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    height: 34px;
    width: 179px;
}

.result-cards-header {
    padding: 20px;
}

.result-cards-content {
    flex-grow: 1;
}

.result-cards-img {
    max-width: 260px;
    width: 100%;
    cursor: pointer;
}

.result-cards-img img {
    height: 185px;
    object-fit: cover;
}

.property-pills {
    position: absolute;
    top: 10px;
    left: 9px;
    background: var(--bg-white);
    color: #313131;
    padding: 3px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    box-shadow: var(--card-shadow);
    z-index: 3;
}

.result-cards-content h3 {
    font-family: Poppins;
    font-weight: 600;
    font-size: 18px;
    color: #1f2937;
    line-height: 27px;
    margin: 0;
}

.result-cards-content h3 span {
    margin-left: 6px;
    font-size: 10px;
    font-weight: 400;
    line-height: normal;
    text-align: center;
    border-radius: 10px;
    padding: 3px 8px;
    color: var(--bg-white);
    font-family: var(--font-family);
}

p.locationTxt {
    font-weight: 400;
    font-size: 12px;
    margin-top: 4px;
    color: #4b5563;
    font-family: var(--font-family);
    display: flex;
    align-items: center;
    gap: 4px;
}

p.locationTxt a {
    font-size: 12px;
    font-weight: 500;
    color: #155dfc;
    margin-left: 3px;
}

.result-cards-box {
    border: 1px solid #f3f4f6;
    border-radius: 1rem;
    box-shadow: var(--card-shadow-lg);
    transition: var(--transition);
    margin-bottom: 20px;
}

button.btn-primary-outline.view-price {
    font-family: Poppins;
    font-size: 12px;
    padding: 6px 7px;
    line-height: 100%;
    font-weight: 600;
    display: block;
    transition: var(--transition);
}

.actn_btn_grp {
    width: 162px;
}

button.btn.btn-primary-outline.view-price {
    height: 31px;
    margin-bottom: 9px;
}

button.project-layout-btn {
    color: #1869da;
    font-size: 12px;
    font-weight: 600;
    background: transparent;
    border: none;
    transition: var(--transition);
}

button.project-layout-btn:hover {
    text-decoration: underline;
    color: #0b4abf;
}

.result-cards-content h6,
.project_history h6 {
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
    margin: 0;
    color: #4b5563;
}

.result-cards-content h6 span,
.project_history h6 span {
    font-weight: 600;
}

.rera_received {
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    color: #006045;
    display: inline-block;
    margin-bottom: 0.3rem;
    font-family: var(--font-family);
}

.project_history {
    max-width: 350px;
    width: 100%;
}

.ph_pills {
    gap: 0.7rem;
    width: 100%;
}

ul.ph_pills li {
    font-size: 13px;
    font-weight: 500;
    line-height: 30px;
    color: #364153;
    border-radius: 9px;
    text-align: left;
    padding-left: 7px;
    white-space: nowrap;
}

ul.ph_pills li:nth-child(even) {
    width: 119px;
}

ul.ph_pills li:nth-child(odd) {
    width: 177px;
}

ul.ph_pills li img {
    margin-right: 0.2rem;
}

ul.amenities {
    border: 2px solid #f0ecf4;
    border-radius: 12px;
    padding: 12px 12px 0 12px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.amenities-box {
    max-width: 373px;
}

.result-cards-content .amenities-box h6 {
    font-size: 12px;
    line-height: 18px;
    font-weight: 500;
}

ul.amenities li {
    font-weight: 500;
    font-size: 10px;
    line-height: 16px;
    color: #364153;
    font-family: var(--font-family);
    margin-bottom: 11px;
}

ul.amenities li img{
    width: 14px;
}

ul.amenities li:nth-child(2),
ul.amenities li:nth-child(5) {
    padding-left: 1rem;
}

/* CARD FOOTER CSS  */

.result-cards-footer {
    background: #f9f4ff;
    border-radius: 0 0 14px 14px;
}

.result-footer-left {
    padding: 12px 22px 15px 20px;
    flex: 1;
    border-right: 1px solid #e5e7eb;
}

.result-cards-footer-inner h4 {
    font-weight: 500;
    font-size: 14px;
    line-height: 23px;
    color: #101828;
    font-family: var(--font-family);
}

.result-cards-footer-inner h4 span {
    background: #dbeafe;
    padding: 5px 7px;
    border-radius: 7px;
    font-weight: 500;
    font-size: 9px;
    color: #193cb8;
    line-height: 14px;
    margin-left: 10px;
    text-align: center;
    font-family: var(--font-family);
}

.form-check .form-check-input {
    margin-top: 6px;
}

.result-cards-footer-inner form.inpGrpFrm .form-check label {
    font-size: 12px;
}

.result-footer-right {
    padding: 0 2rem;
    max-width: 218px;
}

.result-footer-right button.btn.raise-request {
    padding: 9px 27px;
    color: white;
    font-family: Poppins;
    font-weight: 600;
    font-size: 12px;
    height: 41px;
    text-align: center;
    border-radius: 10px !important;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

form.inpGrpFrm {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

/* ---------------------------------- */
/* ---- Modal CSS Variables  -------- */
/* ---------------------------------- */

.modalSection {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    /* justify-content: center;
    align-items: center; */
}

/*.modalContent {*/
/*    background-color: var(--bg-white);*/
/*    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);*/
/*    border-radius: 1rem;*/
/*    width: 100%;*/
/*    max-width: 500px;*/
/*    height: max-content;*/
/*    box-sizing: border-box;*/
/*    opacity: 1;*/
/*    transition: opacity 0.3s ease-out, transform 0.3s ease-out;*/
/*    overflow: hidden;*/
/*    margin: 0 auto;*/
/*}*/

.modalContent {
    border-radius: 1rem;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    opacity: 1;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    overflow: auto;
    margin: 0 auto;
}



.listPlotModalSection .modalContent {
    max-width: 775px;
    /*margin: 0 auto;*/
}

.listPlotModalSection .modalContent .modalWrapper {
    max-width: 775px;
    width: 100%;
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
}

.modalSection.priceModalSection .modalContent .modalWrapper {
    max-width: 536px;
    width: 90%;
    background-color: var(--bg-white);
    height: auto;
    border-radius: 12px;
    overflow: hidden;
}

.modalContent.is-open {
    animation: open-modal 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes open-modal {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.modalContent .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    margin-bottom: 5px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h2 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--text-dark);
}

.close-btn {
    color: #aaa;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
    transition: var(--transition);
}

.modalContent .modal-body,
.modalContent .modal-footer {
    padding: 15px 20px;
}

.modalContent .modal-footer {
    background: #f9f4ff;
    border-top: 1px solid #e5e7eb;
}

.basic-details-title {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.modalContent .form-group label {
    display: block;
    font-size: 12px;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 500;
}

.modalContent .form-group input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    box-sizing: border-box;
    color: #000000;
    font-weight: 400;
}

.modalContent select.form-select {
    font-size: 13px;
    color: #000000;
    font-weight: 400;
    height: 37px;
    border: 1px solid #ddd;
}

select.form-select {
    width: 100%;
    height: 46px;
    border-radius: 8px;
}

.authorization-text {
    font-size: 11px;
    color: #666;
    line-height: 1.4;
    padding-top: 10px;
    margin: 0;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 15px;
}

.modalSection .modal-footer button.btn.btn-primary.request-btn,
.modalSection .modal-footer button.cancel-btn {
    padding: 9px 25px;
    height: 41px;
    font-size: 16px;
    font-weight: 400 !important;
    border: none;
    border-radius: 6px !important;
    cursor: pointer;
    transition: var(--transition);
}

.modalSection .modal-footer button.btn.btn-primary.request-btn {
    background: #1447e6;
}

.modalContent .modal-footer button {
    flex: 1;
}

.modalSection.listPlotModalSection .modalContent .modal-footer button {
    flex: none;
}

.modalSection .modal-footer button.cancel-btn {
    border: 1px solid #d1d5db;
    color: #374151;
    background-color: transparent;
}

.modalSection .modal-footer button.cancel-btn:hover {
    background-color: #fff;
    transform: translateY(-2px);
}

.cancel-btn {
    background-color: #fff;
    color: #4a4a4a;
    border: 1px solid #ddd;
}

.cancel-btn:hover {
    background-color: #f0f0f0;
}

/* IMAGE POPUP SLIDER CSS  */

.modal.imagePopupSlider {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.3);
}

.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: 0;
    background: var(--bg-white);
}

.imagePopupSlider .swiper {
    width: 100%;
    height: 100%;
}

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

.imagePopupSlider .modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    max-width: 700px;
    position: relative;
    border-radius: 8px;
}

.imagePopupSlider .close-btn {
    font-size: 18px;
    color: #464646;
    text-align: right;
    padding: 0;
    margin-bottom: .5rem;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.imagePopupSlider .mySwiper {
    width: 100%;
    height: 400px;
}

.imagePopupSlider .swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#closeFilter {
    display: none;
}

button#filterBtn {
        width: 47px;
        height: 47px;
        border: none;
        background: #ebeaea;
        box-shadow: 4px 2px 10px rgba(0 0 0 / 20%);
        border-radius: 50%;
        position: fixed;
        z-index: 999;
        bottom: 25px;
        right: 25px;
        opacity: 0;
    }

/* ---------------------------------- */
/*           MEDIA QUERIES            */
/* ---------------------------------- */

@media (max-width: 1200px) {
    form.inpGrpFrm {
        grid-template-columns: repeat(3, 1fr);
    }

    .result-cards-footer-inner form .form-check {
        margin-right: 1rem;
    }

    .result-cards-content h3 {
        flex-wrap: wrap;
    }

    form.inpGrpFrm {
        grid-template-columns: repeat(4, 1fr);
    }

    .result-cards-header {
        padding: 1rem;
    }

    .project_history ul.ph_pills li {
        padding: 0 15px;
        width: max-content !important;
    }
}

@media (max-width: 998px) {
    .navbar-nav {
        gap: 0.4rem;
    }
    .navbar button {
        padding: 8px 16px;
        font-size: 14px;
        margin-top: 1.2rem;
    }

    .search_box {
        width: 100%;
    }

    .view_price {
        margin-top: 0.8rem;
    }

    .banner_title {
        font-size: 42px;
        line-height: 48px;
    }

    .navbar-collapse {
        display: none;
        transition: all 0.9s ease-in-out;
    }

    .navbar-collapse.show {
        display: block;
        background: var(--bg-white);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 2rem;
        box-shadow: var(--card-shadow);
        z-index: 10;
        transition: all 0.9s ease-in-out;
    }

    .property-lists-box {
        max-width: 468px;
    }

    .result-cards-header {
        flex-wrap: wrap;
    }

    .result-cards-header h5 {
        margin-bottom: 1rem;
    }

    .result-cards-header select#sortbyprice {
        width: 100%;
    }

    .result-cards-img,
    .result-cards-img img {
        width: 100%;
        max-width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 8px 8px 0 0;
    }

    .result-footer-left,
    .result-footer-right {
        padding: 15px 15px;
        border: none;
    }

    form.inpGrpFrm {
        grid-template-columns: repeat(3, 1fr);
    }

    form.inpGrpFrm {
        grid-template-columns: repeat(3, 1fr);
    }

    .result-cards-footer-inner form .form-check {
        margin-right: 1rem;
    }

    .result-cards-footer-inner {
        flex-wrap: wrap;
    }

    .project_history,
    .amenities-box {
        max-width: 100%;
        width: 100%;
    }

    .phase_box {
        margin-bottom: 1rem;
    }

    .filter-card {
        padding: 25px 15px 15px;
    }

    .search-results-header {
        padding: 15px 15px;
    }

    .property_content button {
        padding: 0;
    }

    .property_content {
        padding: 15px 15px;
    }

    .modalSection.listPlotModalSection {
        padding: 0 1rem;
    }
}

@media (max-width: 668px) {
    main {
        padding: 0 15px;
    }

    #closeFilter {
        display: block;
    }

    .trending_projects,
    .choose_us {
        padding: 2rem 0;
    }

    .banner_section {
        padding: 70px 0 100px;
    }

    .banner_title,
    .live_ur_plot_inner h2 {
        font-size: 24px;
        line-height: 31px;
    }
    
    button#filterBtn{
        opacity: 1;
    }

    p.banner_subtitle,
    .live_ur_plot_inner p {
        font-size: 14px;
        line-height: 22px;
    }

    .banner_section .search_box .btn {
        width: 100%;
        height: 46px;
        font-size: 14px;
    }

    .search_box {
        margin-top: 2rem;
        flex-direction: column;
    }

    .box {
        width: 100%;
    }

    .service_box {
        padding-right: 0;
    }

    .search_box .btn,
    select.form-select {
        width: 100%;
    }

    .choose_box {
        text-align: center;
    }

    .choose_box .icon {
        margin-left: auto;
        margin-right: auto;
    }

    .title {
        font-size: 20px;
        line-height: 27px;
    }

    .subt {
        font-size: 14px;
        line-height: 22px;
    }

    .choose_ic {
        box-shadow: var(--card-shadow-lg);
        width: 54px;
        height: 54px;
    }

    .choose_title {
        font-size: 16px;
    }

    .choose_ic img {
        width: 20px;
    }

    .slider-btn {
        margin-top: 2rem;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 28px !important;
        height: 28px !important;
        font-size: 10px;
    }

    .property-card {
        border-radius: 0.5rem;
    }

    .property_img img {
        height: 184px;
    }

    .live_ur_plot_inner {
        padding: 48px 14px;
    }

    button.btn.btn-white {
        width: max-content;
        height: 40px;
        padding: 0 15px;
        font-size: 16px;
        margin-top: 0rem;
    }

    .search-results-header select#sortbyprice {
        width: 100%;
    }

    .result-cards-header {
        padding: 1rem;
    }

    .result-cards-content h3 {
        font-size: 16px;
        font-weight: 600;
        flex-wrap: wrap;
    }

    .result-cards-content h3 span {
        margin-left: 7px;
        font-size: 10px;
    }
    

    ul.amenities li {
        width: 46%;
    }

    form.inpGrpFrm {
        grid-template-columns: repeat(2, 1fr);
    }

    .result-cards-footer-inner form .form-check {
        margin-right: 1.5rem;
    }

    .result-cards-footer-inner h4 {
        margin-bottom: 1.3rem;
        font-size: 16px;
    }

    .modal-header h2 {
        font-size: 16px;
    }

    .modalSection {
        padding: 0 1rem;
    }

    .result-footer-right button.btn.raise-request {
        width: 100%;
    }

    .footer {
        padding: 4rem 0 2rem;
    }

    .form-row {
        flex-direction: column;
    }

    .modalSection .form-group {
        flex: none;
        width: 100%;
    }

    ul.amenities li:nth-child(2),
    ul.amenities li:nth-child(5) {
        padding-left: 0;
    }

    .banner_section select.form-select {
        font-size: 14px;
        width: 100%;
        height: 46px;
    }

    .filter-card {
        padding: 25px 15px 15px;
        border: none;
    }

    .imagePopupSlider .modal-content {
        padding: 15px;
        width: 90%;
    }

    button#filterBtn {
        opacity: 1;
    }

    .property-lists-filter-aside {
        position: fixed;
        background: #fff;
        bottom: -200%;
        width: 100%;
        left: 50%;
        transform: translateX(-50%);
        overflow-y: auto;
        box-shadow: 3px 4px 15px rgba(0 0 0 / 30%);
        border-radius: 6px;
        /*height: 500px;*/
        height: 100%;
        z-index: 9999;
        transition: bottom 0.4s ease-in-out;
    }

    button#closeFilter {
        position: absolute;
        background: #fff;
        right: 15px;
        border: none;
        top: 25px;
    }

    .property-lists-filter-aside.show {
        bottom: 0;
    }

    .result-cards-img, .result-cards-img img{
        height: 190px;
 }
 
 .listPlotModalSection .modalContent .modalWrapper, .modalWrapper {
    height: 90%;
    overflow-y: auto;
    border-radius: 10px;
}

header nav.navbar img.img-fluid.header_logo {
    max-width: 180px;
}
.modalSection .modal-footer button.btn.btn-primary.request-btn, .modalSection .modal-footer button.cancel-btn{
    font-size:14px;
}
}
