@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');
:root {
    --primary: #000347;
    --secondary: #FFAE92;
    --white: #fff;
    --black: #000;
    --gray:#A2A2A2;
    --light-gray: #EFEFEF;
    --dark-gray:#313131;
    --error:red;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
*{
    box-sizing: border-box;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


html {
    font-size: 16px;
    overflow-x: hidden;
}

html, body {
    padding: 0;
    margin: 0;
    border: 0;
}
body {
    font-family: 'Poppins', sans-serif;
    max-width: 1280px;
    margin: 0 auto;
    font-size: .75rem;
    color: var(--primary);
}



/*Start css from here*/

/*Headig*/
h1,h2,h3,h4,h5,h6,
.h1,.h2,.h3,.h4,.h5,.h6 {
    color: inherit;
    margin-top: 0;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

h1,.h1{
    font-size: 2rem;
    line-height: 2.5rem;
} 
h2,.h2{
    font-size: 1.5rem;
    line-height: 1.8rem;

} 
h3,.h3{
    font-size: 1.5rem;
    line-height: 2rem;
} 

/*property-info-header*/
.property-info-header h1{
    margin-bottom: 0;
}
.property-address{
    margin-bottom: 2rem;
}
.property-info{
    padding: 2rem 1rem 0;
}
.property-info-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--primary);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

/*property-valuation-info*/
.property-valuation-info{
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2,1fr);
    margin-bottom: 2rem;
    align-items: stretch;
}

.valuation-details{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100%;
}

.valuation-details .card{
    border-radius: 1.25rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.valuation-details .card.primary{
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
}

.valuation-details .card.secondary{
    background-color: var(--secondary);
    color: var(--primary);
}

.valuation-details .h4{ 
    font-size: 1rem;
    letter-spacing: 0.125rem;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: .5rem;
}
.valuation-details .display{
    font-size: 1.75rem;
    line-height: 1.875rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0;
}
.valuation-details .expert p{
    font-size: 1rem;
    line-height: 1.5rem;
    text-align: center;
    max-width: 25rem;
    margin: 0 auto 0;
}
.valuation-details .expert .action{
    margin-top: 1rem;
}
.valuation-image{
    padding-top: 70%;
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
}
.valuation-image .image{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.valuation-image .image img{
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: auto;
    transform: translateX(-50%);
}

.view-street{
    border-radius: 0.625rem;
    height: 2.375rem;
    line-height: 2.375rem;
    font-size: .75rem;
    letter-spacing: 0.125rem;
    text-transform: uppercase;
    position: absolute;
    bottom: 1rem;
    left: 1.5rem;
    z-index: 1;
    text-decoration: none;
    background-color: var(--white);
    padding: 0 1.5rem;
    font-weight: 500;
    color: var(--black);
}


/*property-key-info*/
.property-key-info{
    padding: 4rem;
    background-color: var(--light-gray);
    border-radius: 1.25rem;
}
.section-title{
    text-align: center;
    margin-bottom: 3rem;
}

.key-info{
    display: grid;
    gap: 3rem 1rem;
    grid-template-columns: repeat(3,1fr);
}
.key-item{
    display: flex;
    align-items: center;
}
.key-img{
    width: 6.938rem;
    height: 6.938rem;
    border-radius: 1.25rem;
    background-color: var(--white);
    display: inline-block;
    text-align: center;
    line-height:9rem;
    margin-right: 2rem;
    position: relative;
}
.key-img svg{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.key-details{
    flex:1;
}
.key-img:hover{
    background-color: var(--secondary);
}
.key-details .key-title,
.key-details .key-subheading{
    font-size: .75rem;
    line-height: 1.125rem;
    color: var(--primary);
}
.key-details .key-value{
    font-size: 1.5rem;
    line-height: 1.8rem;
    color: var(--primary);
    font-weight: 500;
    margin: .5rem 0;
}

/*property-map*/
.property-map{
    margin: 4rem 0;
}
.map-section{
    /* padding-top: 56.25%; */
    border-radius: 1.25rem;
    overflow: hidden;
    position: relative;
}
.map-section .map{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.map-section .map img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*property-map*/
.property-action{
    border-radius: 1.25rem;
    background-color: var(--primary);
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(2,1fr);
}
.action-content{
    padding: 3rem;
    color: var(--white);
    padding-right: 10rem;
}
.action-content p{
    font-size: 1.25rem;
    line-height: 1.875rem;
    font-weight: 400;
}
.action-image{
    position: relative;
}

.action-image img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}   
.action{
    margin: 0 -.5rem;
    margin-top: 2rem;
}
.action > div{
    display: inline-block;
    padding: 0 .5rem;
}

.button{
    height: 3.5rem;
    border-radius: 0.313rem;
    display: inline-block;
    text-decoration: none;
    line-height: 3.5rem;
    padding: 0 1.5rem;
    font-size: .875rem;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    border: none;
    
}
.button span{
    margin-left: .2rem;
}
.button.full-width{
    width: 100%;
    text-align: center;
}
.button.secondary{
    background-color: var(--secondary);
    color: var(--primary);
}
.button.white{
    background-color: var(--white);
    color: var(--primary);
}
.button.primary{
    background-color: var(--primary);
    color: var(--white);
}
.error{
    color: var(--error);
}

/*property-footer*/
.property-footer{
    text-align: center;
    padding: 2rem 0;
}
.loader {
    width: 35px;
    height: 35px;
    vertical-align: middle;
    border: 5px solid #FFF;
    border-bottom-color: #FF3D00;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    }
    @keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
    } 

/*modal*/
.loader-ajax {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    width: 50px;
    height: 50px;
    z-index: 999;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent black background */
    display: none;
    z-index: 999; /* Ensure the backdrop is above other content */
}
.modal{
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
}
.modal-image{
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
}
.modal-image img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.modal-content{
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    padding: 3rem 1rem;
    display: flex;
    align-items: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;


}
.modal-content .container{
    max-width: 30rem;
    margin: 0 auto;
}

.modal-content .logo{
    margin-bottom: 2rem;
}
.modal-content .logo img{
    max-width: 16rem;
}

/* step form */

.subheading{
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: 0.125rem;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: .5rem;
}

.description{
    font-size: .75rem;
    font-weight: 400; 
    line-height: 1.125rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}


.form-input {
    height: 3.5rem;
    line-height: 3.5rem;
    border-radius: 0.313rem;
    background-color: var(--light-gray);
    box-shadow: none;
    border: 1px solid var(--light-gray);
    width: 100%;
    font-size: 1rem;
    color: var(--primary);
    padding: 0 1.5rem;
    font-family: 'Poppins', sans-serif;
}
.form-input.error{
    border-color: var(--error);
}
.form-input:focus{
    color: var(--primary);
} 
.form-input::placeholder {
    color: var(--gray);
}

.form-group{
    margin-bottom: 1rem;
}
.address-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.25rem;
}
.clear-selection {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}
.clear-selection:hover,
.clear-selection:focus {
    text-decoration: underline;
}
.btn[disabled] {
    opacity: .5;
    pointer-events: none;
}

.tab-status {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}
  
.tab-status span {
    background-color: var(--primary);
    border: 0.2rem solid var(--light-gray);
    border-radius: 50%;
    font-size: 0!important;
    height: 1.5rem;
    padding: 0;
    position: relative;
    text-align: center;
    transition: all .3125s ease;
    width: 1.5rem;
    margin-right: 1rem;
    position: relative;
}
.tab-status span::before {
    border-top: 0.1625rem solid var(--light-gray);
    content: "";
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 1.3rem;
}

.tab-status span:first-child::before{
    display: none;
}
  
.tab-status span.active {
    background-color: var(--light-gray);
    color: white;
}
  
.hidden {
    display: none;
}

.pagination{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.gdpr input{
    display: none;
}
.gdpr label{
    padding-left: 1.5rem;
    position: relative;
    display: inline-block;
    font-size: .75rem;
    line-height: 1.125rem;
    color: var(--dark-gray);
    cursor: pointer;

}
.gdpr label a{
    color: var(--dark-gray);
}
.gdpr label span{
    position: relative;
    top: -0.3rem;
}
.gdpr label::before{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 0.75rem;
    height: 0.75rem;
    background-color: #D9D9D9;
}

.gdpr label::after{
    position: absolute;
    content: '';
    border-bottom: 0.15rem solid var(--primary);
    border-right: 0.15rem solid var(--primary);
    content: "";
    display: inline-block;
    height: 0.55rem;
    left: 0.213rem;
    opacity: 0;
    top: 0rem;
    transform: rotate(45deg);
    width: 0.275rem;
}
.gdpr input:checked ~ label::after{
    opacity: 1;
}

.tenure-wrap{
    display: flex;
    flex-wrap: nowrap;
    border-radius: 0.313rem;
    overflow: hidden;
}
.tenure-wrap .form-toggle{
    flex:1;
    position: relative;
}
.tenure-wrap .form-toggle input[type="radio"]{
    display: none;    
}  
.tenure-wrap .form-toggle label{
    display: block;
    text-align: center;
    position: relative;
    border-radius: 0;
    cursor: pointer;
} 
.tenure-wrap .form-toggle label span{
    color: #878787;
    z-index: 2;
    position: relative;
    font-size: .875rem;
}
.tenure-wrap .form-toggle label::before{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    -webkit-transition: all .3125s;
    transition: all .3125s;
    border-radius: 0.313rem;
    opacity: 0;
}
.tenure-wrap .form-toggle input[type="radio"]:checked ~ label::before{
    opacity: 1;
    transform: translateX(0) !important;
}
.tenure-wrap .form-toggle input[type="radio"]:checked ~ label span{
    color: #fff;
}


.tenure-wrap .form-toggle:first-child label::before{
    transform: translateX(101%) !important;
}

.tenure-wrap .form-toggle:last-child label::before{
    transform: translateX(-101%);
}

.search-container {
    position: relative;
    width: 300px; /* Adjust width as needed */
    margin: 0 auto;
}
.search-results {
    width: 100%;
    max-height: 200px; /* Set a maximum height for results */
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 5px 5px;
    text-align: center;
    font-size: 14px;
    display: none;
}
/* Style individual search results */
.search-results .result-item {
    padding: 10px;
    cursor: pointer;
}
.search-results .result-item:hover {
    background-color: #f0f0f0;
}

/*Media Query*/

@media only screen and (min-width: 576px) {
    h1,.h1{
        font-size: 2.5rem;
        line-height: 3rem;
    }
    h2,.h2{
        font-size: 1.5rem;
        line-height: 1.8rem;
    }
    h3,.h3{
        font-size: 2rem;
        line-height: 2.4rem;
    }    
}
@media only screen and (min-width: 1280px) {
    .modal-content .logo {
        margin-bottom: 6rem;
    }
    .modal-content{
        padding: 3rem;
    }
}

@media only screen and (max-width: 1280px) {
    .property-key-info{
        padding: 2rem;
    }
    .action-content{
        padding: 2rem;
    }
    .key-info{
        gap: 3rem 1rem;
        grid-template-columns: repeat(2,1fr);
    
    }
}
@media only screen and (max-width: 1199px) {
    .key-info{
        gap: 3rem 1rem;
        grid-template-columns: repeat(2,1fr);
    }
    .modal-image{
        display: none;
    }
    .modal-content{
        width: 100%;
        display: block;
    }
}
@media only screen and (max-width: 900px) {
    .property-valuation-info{
        grid-template-columns: repeat(1,1fr);
    }
    .property-action{
        grid-template-columns: repeat(1,1fr);
    }
    .action-image{
        padding-top: 56.25%;
    }
    .property-info-header{
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    .key-img{
        width: 5rem;
        height: 5rem;
        line-height: 7rem;
    }
    .action-content{
        order: 2;
    }
    .property-info-header h1{
        margin-top: 2rem;
    }
}
@media only screen and (max-width: 768px) {
    .key-img{
        width: 4rem;
        height: 4rem;
        line-height: 6rem;
        margin-right: 1rem;
    } 
    .key-img svg{
        width: 2rem;
    }
    .key-details .key-value{
        font-size: 1rem;
        line-height: 1.5rem;
    }
    .modal{
        position: static;
        min-height: 100vh;
        height: auto;
    }
    .modal-content{
        position: relative;
        width: 100%;
        height: auto;
        min-height: 100vh;
        padding: 2rem 1rem 4rem;
        overflow-y: visible;
    }
}

@media only screen and (max-width: 576px) {
    .property-valuation-info{
        gap: 1rem;
    }
    .valuation-details .card{
        margin-bottom: 1rem;
        padding: 1rem;
    }
    .valuation-details .display{
        font-size: 1.2rem;
    }
    .valuation-details .expert p{
        font-size: .875rem;
        line-height: 1.2rem;
    }
    .button{
        font-size: .75rem;
        padding: 0 1rem;
    }
    .property-key-info{
        padding: 1rem;
    }
    .key-info {
        gap: 2rem .5rem;
    }  
    .key-details .key-value{
        font-size: .875rem;
        line-height: 1.1rem;
    }
    .key-img{
        width: 3rem;
        height: 3rem;
        line-height: 5rem;
        margin-bottom: .5rem;
    }
    .key-img svg{
        width: 1.5rem;
    }
    .action-content{
        padding: 1rem;
    }
    .action-content p{
        font-size: .875rem;
        line-height: 1.2rem;
    }
    .action{
        margin-top: 1rem;
    }
    .property-map{
        margin: 2.5rem 0;
    }
    .section-title{
        margin-bottom: 1rem;
    }
    .key-item{
        display: block;
    }
    .property-info-header h1{
        font-size: 1.5rem;
        line-height: 1.8rem;
        margin-top: 1rem;
        margin-bottom: 0;
    }
    .property-info-header,
    .property-address{
        margin-bottom: 1rem;
    }
    .view-street{
        left: 1rem;
        bottom: .8rem;
    }
    .pagination{
        display: block;
    }
    .pagination .button{
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }
    .form-input{
        padding: 0 1rem;
    }
}
