@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;0,900;1,400&family=Poppins:wght@300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@200;500&family=Playfair+Display:ital,wght@0,400;0,500;0,700;0,900;1,400&display=swap');

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
body{
    background-color: rgb(240, 240, 240);
    margin: 0;
    width: 100%  !important;
}
#nav{
    z-index: 99;
    --state-close:scale(0);
    --state-search:scale(1);
    --state-menu:translatey(-150%);
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3,max-content);
    background-color: rgb(8, 53, 90);
    height: 90px;
    margin: 0;
    align-items: center;
    justify-content: space-between;
    font-family: 'Times New Roman', Times, serif;
    color: white;
    position: fixed;
    top: 24px;
    border-bottom: 4px solid rgb(175, 150, 96);
}
#language-toggle {
    position: fixed; /* Fixes the div to the viewport */
    bottom: 20px; /* Space from the bottom */
    left: 20px; /* Space from the left */
    background-color: rgba(255, 255, 255, 0.8); /* Slightly transparent white background */
    padding: 10px; /* Padding around the buttons */
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Shadow for depth */
    z-index: 1000; /* Ensure it appears above other content */
}

#language-toggle button {
    background-color: #004080; /* Dark blue background */
    color: white; /* White text */
    border: none; /* No border */
    padding: 8px 12px; /* Padding for the buttons */
    margin: 5px; /* Space between buttons */
    border-radius: 4px; /* Slightly rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease; /* Smooth background color transition */
}

#language-toggle button:hover {
    background-color: #003366; /* Darker blue on hover */
}

.phone-title{
    font-size: 72px;
    display:none;
}

#nav:target{
    --state-close:scale(1);
    --state-search:scale(0);
    --state-menu:translatey(0);
}   

.nav-logo{
    margin-left: 30px;
    font-size: 34px;
    font-weight: bolder;
    grid-column: 1;
    grid-row: 1;
    z-index: 1;
}
.nav-logo a{
    z-index: 8;
    text-decoration: none;
    color: white;
    transition: 0.8s;
}

.nav-logo a:hover{
    color:rgb(175, 150, 96); 
}


.nav-links {
    z-index: 2;
    margin-right: 10px;
    height: 100%;
}

.nav-links ul{
    margin: 0px;
    display: flex;
    height: 100%;
}

.nav-links li{
    margin-top: 28px;
    padding: auto;
    display: inline;
    font-family: 'Playfair Display', serif;
    list-style: none;
    margin-inline: 10px;
}

.nav-links a:after{
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: rgb(175, 150, 96);
    transition: width .8s;
}
.nav-links a:hover::after {
    color: rgb(175, 150, 96);
    width: 100%;
}
.nav-links a:hover{
    color: white;
}

.nav-links a{
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    text-decoration: none;
    color: white;
    font-size: 20px;
}

.header-links{
    position:fixed;
    top:0;
    font-family: 'Playfair Display', serif;
    background-color: rgb(8, 53, 90);
    color:white;
    width: 100%;
    padding: 2px;
    text-align: center;
    transition: opacity 0.5s ease;
    z-index:2;
}

.header-links.hidden{
    opacity:0;
    display:none !important;
    transition: opacity 0.5s ease;
}
.top0{
    top:0 !important;
    transition: opacity 0.5s ease;
}

.header-links ul{
    margin: auto;

}

.header-links li{ 
    margin-inline: 8px; 
    color: rgb(8, 53, 90);
    font-size: 16px; 
    display: inline;
    list-style: none;
}

.icon-more{
    display: none;
    grid-column: 1;
    grid-row: 1;
    cursor: pointer;
}

.collapse-icon-search, .collapse-icon-close-2{
    margin-right: 30px;
    width: 50px;
    cursor: pointer;
    grid-column: 3/-1;
    grid-row: 1/1;
}

.collapse-icon-search{
    transform: var(--state-search);
}

.collapse-icon-close-2{
    transform: var(--state-close);
}
.collapse-icon-search img, .collapse-icon-close-2 img{
    width: 30px;
}

.search-bar{
    z-index: 3;
    background-color: rgb(175, 150, 96);
    position: absolute;
    width: 400px;
    height: 240px;
    right: 60px;
    top: 90px;
    transform: var(--state-menu);
    transition: .3s transform;
}

.search-bar img{
    width: 100%;
}

.search-bar-box{
    width: 100%;
    display: flex;
    margin-top: 20px;
}

.search-bar-box img{
    margin-left: 20px;
    width: 25px;
    display: inline;
}  

.search-bar-input{
    background-color: #ff606000;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    margin: auto;
    margin-left: 0;
    color: white;
    width: 80%;
    border:0;
    outline: none;
    border-bottom: 2px solid white;
    
}
.search-bar .search-bar-input::placeholder{
    color: white;
}
.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
}

/*Pagination*/

.pagination .page-item .page-link {
    background-color: #f0f0f0; /* Color de fondo por defecto */
    color: #333; /* Color del texto */
}

.pagination .page-item.active .page-link {
    background-color: rgb(8, 53, 90); /* Color de fondo para el enlace activo */
    border-color: rgb(8, 53, 90); /* Color del borde para el enlace activo */
    color: #fff; /* Color del texto para el enlace activo */
}

.pagination .page-item .page-link:hover {
    background-color: #e9ecef; /* Color de fondo al pasar el ratón */
    color: #333; /* Color del texto al pasar el ratón */
}


/*tablehead*/

.thead-dark{
    border-bottom: solid 3px rgb(175, 150, 96);
}

.table tbody td a{
    color: rgb(8, 53, 90) !important;
}



/*Agent profile*/

.card {
    background-color: rgb(8, 53, 90) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.card-body {
    padding: 20px;
}

.card-title {
    color: rgb(255, 255, 255) !important;
    font-size: 1.5rem;
    font-weight: bold;
}

.card-text {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.img-fluid {
    border: 3px solid rgb(175, 150, 96);
    padding: 5px;
    max-width: 200px;
}

@media (max-width: 768px) {
    .col-md-4, .col-md-8 {
        text-align: center;
    }

    .img-fluid {
        max-width: 150px;
    }

    .row {
        flex-direction: column;
    }

    .card-body {
        text-align: center;
    }
}


@media (max-width: 1200px){

    .section-2{
        margin-top: 40px !important;
        width: 90%!important;
    }

    .search-container>h1{
        font-size: 50px !important;
    }

    .text-info{
        display: grid!important;
        grid-template-rows: 2!important;

    }

    .text-info-section{
        min-width: 100%!important;
        grid-row: 1!important;
    }

    .text-info-section h2{
        font-size: 36px!important;
    }

    .text-info-section p{
        font-size: 26px!important;
    }

    .text-info img{
        margin-inline: auto;
        width: 640px!important;
        grid-row: 2;
    }
    .text-separator{
        min-width: 80px!important;
    }
    .text-info-section-1 p{
        
        padding-left: 15px!important;
    }

    .text-benefits{
        display: block !important;
        margin-bottom: 40px !important;
        height: auto !important;
    }
    .text-title-w-img{
        width: 100% !important;
    }
    .text-title-w-img h2{
        font-size: 120px !important;
    }
    .text-info-section-3{
        width: 100% !important;
    }
    .section-3 h3{
        font-size: 80px;
    }
}

@media (max-width: 800px) {
    .icon-more{
        z-index: 3;
        display: grid;
        grid-column: 1;
        grid-row: 1;
        cursor: pointer;
        --state-close1:scale(0);
        --state-others:scale(1);
        --state-menu:translate(-100%);
    }

    .nav-links{
        display: none;
    }
    .search-bar{
        right: 0px;
    }
    .nav-links-dropdown ul{
        background-color: rgb(8, 53, 90);
        position: absolute;
        top: 90px;
        left: 0;
        padding-top: 10px;
        margin: 0;
        width: 330px;
        height: 570px;
        display: grid;
        align-content: flex-start;
        padding-left: 0;
        list-style: none;
        transform: var(--state-menu);
        transition: .3s transform;
        box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
    }
    .nav-links-dropdown li{
        margin: 10px;
    }
    .link-item{
        display: flex;
        width: 90%;
        height: 90px;
        margin: auto;
        background-color: white;
        border-radius: 5px;
        text-align: center;
        border-left: 8px solid rgb(175, 150, 96);
    }

    .link-item img{
        width: 60px;
        padding-left: 8px;
    }

    .nav-links-dropdown a{
        padding-top: 30px;
        padding-left: 8px;
        text-decoration: none;
        color: rgb(8, 53, 90);
        font-family: 'Poppins', sans-serif;
        transition: 0.8s;
    }
    .bg{
        background:rgb(8, 53, 90);
    }
    .nav-links-dropdown a:hover::after {
        width: 100%;
    }

    .nav-links-dropdown a:after{
        content: '';
        display: block;
        width: 0;
        height: 4px;
        background: rgb(8, 53, 90);
        transition: width .8s;
    }

    .nav-links-dropdown a:hover{
        color:rgb(8, 53, 90);
    }

    .icon-more:target{
        --state-close1:scale(1);
        --state-others:scale(0);
        --state-menu:translate(0)
    }

    .collapse-icon-more{
        grid-row: 1;
        grid-column: 1;
        transform: var(--state-others);
    }
    
    .collapse-icon-close-1{
        grid-row: 1;
        grid-column: 1;
        transform: var(--state-close1);
    }

    .nav-logo{
        margin-left: 0;
        grid-column: 2;
        grid-row: 1;
    }

    #nav:target{
        --state-close:scale(1);
        --state-search:scale(0);
    }   

    .collapse-icon-more, .collapse-icon-close-1{
        display: inline;
        width: 50px;
        margin-left: 30px;
    }
    .collapse-icon-more img, .collapse-icon-close-1 img{
        width: 30px;
    }

    .collapse-icon-search{
        margin-right: 0 !important;
    }

    .search-container{
        display:none; !important;
    }
    .search-container>h1{
        font-size: 28px !important;
    }

    .search-container img{
        width: 24px !important;
        margin-top: 0px;
        margin-left: 5%;
    }
    .search-container .search-bar-input{
        font-size: 14px !important;
        color: white;
        margin-top: 12px !important;
        margin-bottom: auto;
    }
    .phone-title{
        border-top:solid 3px rgb(175, 150, 96);
        padding:10px;
        
        display:block;
    }
    .phone-title > h1{
        font-size: 40px !important;
    }

    .section-2{
        margin-top: 20px !important;
        width: 90%!important;
    }

    .text-info{
        display: grid!important;
        grid-template-rows: 2!important;

    }

    .text-info-section{
        min-width: 100%!important;
        grid-row: 1!important;
    }

    .text-info-section h2{
        font-size: 28px!important;
    }

    .text-info-section p{
        font-size: 20px!important;
    }

    .text-info img{
        width: 80%!important;
        grid-row: 2;
    }
    .text-separator{
        min-width: 40px!important;
    }
    .text-info-section-1 p{
        padding-left: 15px!important;
    }
    .text-benefits{
        display: block !important;
        margin-bottom: 40px !important;
        height: auto !important;
    }
    .text-title-w-img{
        width: 100% !important;
    }
    .text-title-w-img h2{
        font-size: 70px !important;
    }
    .text-title-w-img h2{
        font-size: 70px !important;
    }
    .text-info-section-3{
        width: 100% !important;
    }
    .text-info-section-3 p{
        padding-top: 0px !important;
        font-size: 20px !important;
    }
    .text-info-section-3 a{
        margin-left: 0 !important;
        font-size: 20px !important;
    }
    .section-3 h3{
        font-size: 60px !important;
        margin-top: 0 !important;
    }
    .video-container iframe{
        width: 100% !important;
        max-height: 234px!important;

    }
    .video-container::after{
        height: 60px !important;
    }
    .section-4-content{
        display: block !important;
    }
    .section-4-item{
        width: 100% !important;
    }
    .external-links{
        display: block !important;
    }
    .about-us, .categories-container{
        width: 100% !important;
    }
    .categories-container{
        display: block !important;
        text-align: center;
    }
    .category{
        width: 100% !important ;
    }
    .category ul{
        list-style: none !important;
        padding-left: 0 !important;
    }
    .promotion-banner h2{
        font-size: 42px !important;
    }
    .search-properties{
        width: 90% !important;
        height: 80px !important;
        left: 5% !important;
    }
    .search-properties input{
        font-size: 16px !important;
    }
    .search-properties input::placeholder{
        font-size: 16px !important;
    }
    .property-highlights h3{
        font-size:24px !important;
    }
    .property-highlights p{
        font-size:20px !important;
    }
    .card-list{
        display: block !important;
    }
    .house-item{
        margin-top: 20px !important;
        width: 100% !important;
    }
    .brochure img{
        display: none;
    }
    .brochure li{
        padding-bottom: 10px !important;
    }

    /* Mortgage */
    .mortgage-banner{
        height: 250px !important;
    }
    .mortgage-banner h1{
        font-size: 32px !important;
        text-align: center;
    }
    .mortgage-container{
        width: 90% !important;
    }
    .buying-advice{
        margin-top: -120px !important;
    }
    .buying-advice h1{
        font-size: 32px !important;
    }
    .buying-advice p{
        font-size: 16px !important;
    }
    .buying-advice p::after{
        top: 52% !important;
    }
    .buying-advice img{
        width: 100% !important;
    }
    .first-steps-side-a{
        width: 100% !important;
    }
    .first-steps-side-a, .first-steps-side-b{
        display: block !important;
    }
    .first-steps-side-a h2, .first-steps-side-a p{
        width: 100% !important;
    }
    .first-steps-side-a h2::after{
        width: 60% !important;
    }
    .first-steps-side-b-phrase{
        width: 90% !important;
        margin-inline: auto !important;
        margin-top: 0 !important;
    }
    .first-steps-side-b-text{
        width: 100% !important;
    }
    .first-steps-side-b-text ul{
        list-style: circle !important;
    }
    .first-steps-side-c{
        display: block !important;
        padding-bottom: 30px !important;
    }
    .first-steps-side-c img, .first-steps-side-c-text{
        width: 100% !important;
    }
    .first-steps-side-c-text a{
        margin-left: 50% !important;
        margin-bottom: 20px !important;
    }
    .first-steps-side-c-text p{
        padding-bottom: 10px !important;
    }
    .aplying-mortgage-text, .aplying-mortgage-text img{
        width: 100% !important;
    }
    .aplying-mortgage-text{
        margin-bottom: 150px !important;
    }
    .aplying-mortgage-steps{
        display: block !important;
    }
    .aplying-mortgage-step{
        width: 100% !important;
        margin-top: -120px !important;
    }
    .sell-title{
        height: 350px !important;
    }
    .sell-title h2{
        font-size: 60px !important;
    }
    .sell-title p{
        font-size: 24px !important;
    }
    .sell-banner{
        display: block !important;
    }
    .sell-banner img{
        margin-top: -50px !important;
        width: 90% !important;
        margin-inline: 5% !important;
    }
    .sell-invitation{
        margin-top: 40px !important;
    }
    .sell-invitation p, .sell-invitation h2{
        width: 80% !important;
        margin-left: 10% !important;
    }
    .sell-invitation a{
        font-size: 24px !important;
        margin-left: 0 !important;
    }
    .sell-advantage-a, .sell-advantage-b{
        display: block !important;
    }
    .sell-advantage-a{
        margin-bottom: 30px !important;
    }
    .sell-advantage-a img{
        width: 100% !important;
        height: auto !important;
    }
    .sell-advantage-a-text{
        width: 100% !important;
        margin-left: 0 !important;
    }
    .sell-advantage-a-text p{
        padding-top: 10px !important;
        font-size: 16px !important;
        margin-bottom: 0 !important;
    }
    .sell-advantage-a-text h1{
        padding-top: 20px;
        text-align: center;
    }
    .sell-advantage-b{
        margin-left: 0 !important;
    }
    .sell-advantage-b img{
        width: 100% !important;
    }
    .sell-advantage-b-text{
        width: 100% !important;
        margin-left: 0 !important;
    }
    .sell-advantage-b-text h1{
        font-size: 32px !important;
        text-align: center !important;
    }
    .sell-advantage-b-text ul {
        padding-left: 0 !important;
        columns: 1 !important;
        padding-top: 10px;
        list-style: none;
        font-size: 20px !important;
        text-align: center;
    }
    .sell-marketing{
        margin-top: 150px !important;
    }
    .sell-marketing-img{
        width: 80% !important;
        margin-inline: auto !important;
    }
    .sell-marketing-img img{
        margin-left: 0 !important;
    }
    .sell-marketing-text-container{
        width: 90% !important;
        display: block !important;
    }
    .sell-marketing-a, .sell-marketing-b{
        width: 100% !important;
        margin-left: 0 !important;
    }
    .sell-marketing-a p{
        padding-top: 10px !important;
    }
    .sell-marketing-b{
        position: relative;
    }
    .sell-marketing-b h1{
        padding-top: 50px !important;
        text-align: center;
    }
    .sell-marketing-b p{
        font-size: 16px !important;
    }
    .sell-marketing-b h1::after{
        position: absolute;
        content: " ";
        left: 0%;
        top: 5%;
        width: 100%;
        height: 3px;
        background-color: rgb(175, 150, 96);
    }
    .sell-details{
        width: 90% !important;
    }
    .sell-method-details p{
        font-size: 16px !important;
    }
    .sell-method-links{
        display: block !important;
    }
    .sell-method-link{
        width: 80% !important;
    }
    .contact-us{
        display: block !important;
    }
    .contact-us-side-a, .contact-us-side-b{
        width: 100% !important;
        margin-left: 0 !important;
    }
    .contact-us-side-a p{
        font-size: 16px !important;
    }
    .contact-us-side-b h2{
        padding-bottom: 20px !important;
    }
    .agent-banner h1{
        font-size: 80px !important;
    }
}

.section-1{
    z-index: 1;
    position: relative;
    margin-top: 114px;
    display: grid;
    width: 100%;
    align-items: center;
    grid-template-columns: repeat(1);
    background: rgba(87, 87, 87, 0.36);
}
.search-container{
    background-color: rgba(8, 53, 90, 0.527);
    align-content: center;
    width: 90%;
    margin: auto;
    z-index: 2;
    border-radius: 5px;
    box-shadow: 2px 2px 2px;
}

.search-container .search-bar-input{
    font-size: 30px;
    border-bottom: 4px solid rgb(175, 150, 96);
    color: white;
   
    margin-bottom: auto;
}

.search-container .search-bar-input::placeholder{
    color: white;
}

.search-container img{
    width: 50px;
    margin-top: 0px;
    margin-left: 5%;
}

.search-container, .banner{
    position: relative;
    grid-row: 1/1;
    grid-column: 1/1;
}

.section-1 #carouselExampleSlidesOnly{
    z-index: 1;
}
/*contenido*/

.section-2{
    margin-top: 80px;
    margin-bottom: 230px;
    margin-inline: auto;
    width: 75%; 
    display: flex;
}

.text-info{
    display: flex;

}
.text-info-section{
    color: rgb(8, 53, 90);
    font-family: 'Playfair Display', serif;
    font-size: large;
    display: block;
    max-width: 60%;
}

.text-info-section h2{
    font-size: 46px;
    font-weight: bolder;
}

 .text-info img{
    width: 40%;
    height: fit-content;
 }

.text-info-section-1{
    display: flex;
}

.text-info-section-1 p{
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: lighter;
    line-height: 35px;
    color: rgb(99, 99, 99);
    padding-top: 20px;
    padding-left: 30px;
    width: 80%;
}

.text-separator{
    border-top: solid 4px rgb(175, 150, 96);
    text-align: justify;
    min-width: 90px;
    margin-top: 40px;
}

.chat-with-us{
    z-index: 3;
    display: block;
    width: 68px;
    height: 68px;
    position: fixed;
    bottom: 20px;
    right: 30px;
    background-color: rgb(8, 53, 90);
    border-radius: 8px;
    border: 4px solid rgb(175, 150, 96);
    transition: 0.8s;
}

.chat-with-us:hover{
    background-color: rgb(175, 150, 96);
}

.chat-with-us .chat-img{
    width: 60px;
    height: 60px;
    grid-column: 2;
}

.chat-with-us .chat-img img{
    margin: 5px;
    width: 50px;
}
.section-3{
    width: 100%;
    align-items: center;
    text-align: center;
    background-color: rgb(8, 53, 90); 
    padding-bottom: 60px;
}

.section-3 h3{
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    color: white;
    margin-top: 340px;
}

.section-3 p{
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color:#ffffff;
}

.section-3 a{
    text-decoration: none;
    color: rgb(175, 150, 96);
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    border: solid 2px rgb(175, 150, 96);
    border-radius: 5px;
    padding-inline: 8px;
    padding-bottom: 2px;
    transition: .8s;
}

.section-3 a:hover{
    background-color: rgb(175, 150, 96);
    color:white;
    border: solid 2px rgb(175, 150, 96);
}

.text-benefits{
    width: 100%;
    align-items: center;
    display: flex;
    height: 400px;
    background-color: rgb(8, 53, 90);
}

.text-title-w-img{
    display: block;
    margin-inline-start: auto;
    background-image: linear-gradient(to bottom,rgba(3, 3, 3, 0.178),rgb(8, 53, 90)),url('../images/luxuryhouse2.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    align-items: center;
    width: 600px;
    height: 400px;
}

.text-title-w-img h2{
    font-family: 'Playfair Display', serif;
    font-size: 90px;
    padding-right: 5px;
    color: rgb(255, 255, 255);
    text-align: end;

}

.text-info-section-3{
    margin-inline-end: auto;
    padding-left: 10px;
    color: white;
    font-size: 26px;
    width: 600px;
    border-left: solid 4px rgb(175, 150, 96);
}
.text-info-section-3 > p{
    text-align: start;
    font-size: 29px;
    padding-left: 8px;
    padding-top: 90px;
    padding-bottom: 20px;
}
.text-info-section-3 a{
    justify-content: center;
    text-decoration: none;
    padding-inline: 8px;
    padding-bottom: 2px;
    color: rgb(175, 150, 96);
    margin-left: 8px;
    right: 0px;
    border: solid 2px rgb(175, 150, 96);
    border-radius: 5px;
    transition: .8s;
}

.text-info-section-3 a:hover{
    background-color: rgb(175, 150, 96);
    color:white;
    border: rgb(175, 150, 96);
}

.video-container{
    margin-top: 60px;
    display: flex;
    position: relative;
    align-items: center;
    width: 100%;
    padding-bottom: 50px;
}

.video-container > iframe{
    margin-inline: auto;
}

.video-container::after{
    background-color: #c29b40;  
    content: " ";
    height: 100px;
    position: absolute;
    z-index: 6;
    width: 2px;
    left: 50%;
    right: 50%;
    top: -50px;
}

.section-4{
    align-items: center;
    text-align: center;
    font-family: 'Playfair Display', serif;
    color: rgb(8, 53, 90);
    width: 60%;
    margin-inline: auto;
    margin-top: 40px;
    margin-bottom: 40px;
}

.section-4-title{
    margin-bottom: 40px;
}

.section-4-title p{
    color: rgb(99, 99, 99);
    font-size: 20px;
}

.section-4-content{
    display:  flex;
    width: 100%;
}

.section-4-item{
    margin-top: 50px;
    margin-inline: auto;
    width: 30%;
}

.section-4-item h2{
    margin-top: 20px;
}

.section-4-item > img{
    width:100%;
    border-radius: 10px;
}

footer{
    background-color: rgb(8, 53, 90);
}

.internal-links, .external-links{
    padding-top: 10px;
    font-family:'Playfair Display', serif;
    display: flex;
    width: 90%;
    margin-inline: auto;
    color: white;
    /* border-top: #ffffff solid 4px; */
}

.about-us{
    margin-inline: auto;
    width: 20%;
}

.categories-container{
    display: flex;
    margin-inline: auto;
    width: 60%;
}

.category{
    margin-inline: auto;
    width: 30%;
}

.category h4{
    color: #c29b40;
}

.external-links a{
    color: white;
    text-decoration: none;
}

.external-links a:hover{
    color: white;
    border-bottom: solid 2px white;
}

.external-links ul{
    margin-top: 20px;
}

.external-links li{
    margin-bottom: 5px;
}

.external-links li > a{
    text-decoration: none;
}

.external-links li > a:hover{
    text-decoration: solid;
}

.copyright{
    width: 90%;
    margin-inline: auto;
    text-align: center;
    color: white;
    padding-bottom: 20px;
}

.webpages-body{
    margin-top: 90px;
    font-family: 'Playfair Display', serif;
}

.promotion-banner{
    display: block;
    width: 100%;
}

.promotion-banner h2{
    font-family: 'Playfair Display', serif;
    font-size: 100px;
    color: white;
    position: absolute;
    right: 20px;
}

.promotion-banner img{
    width: 100%;
}
.search-properties-anchor{
    display: block;
    position: relative;
}

.search-properties{
    width: 80%;
    height: 120px;
    position: absolute;
    bottom: 0px;
    right: 10%;
    left: 10%;
    bottom: -30px;
    display: flex;
    align-items: center;
    background-color: rgb(8, 53, 90);
    border-radius: 10px;
}
.search-properties input{
    width: 90%;
    height: 50px;
    margin-left: 5%;
    border: 0;
    border-bottom: white solid 4px;
    background-color: #c29b4000;
    outline: none;
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 32px;
}
.search-properties input::placeholder{
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 32px;

}
.property-highlights{
    width: 80%;
    margin-inline: auto;
    margin-top: 60px;
    margin-bottom: 60px;
    text-align: center;
}

.property-highlights h3{
    color: rgb(8, 53, 90);
    font-family: 'Playfair Display', serif;
    font-size: 32px;
}

.property-highlights p{
    font-family: 'Playfair Display', serif;
    font-size: 24px;
}

.brochure{
    width: 80%;
    margin-inline: auto;
    display: flex;
    text-align: center;
}

.brochure img{
    margin-inline: auto;
    width: 300px;
    height: fit-content;

}

.brochure-text{
    margin-inline: auto;
    width: 900px;
}
.brochure-text h3{
    font-family: 'Playfair Display', serif;
    font-style: 32px;
    color: rgb(8, 53, 90);
}
.brochure-text ul{
    text-align: left;
}
.card-list{
    width: 80%;
    margin-inline: auto;
    display: flex;
}
.house-item{
    margin-inline: auto;
    width: 30%;
    border: solid 1px rgb(226, 226, 226);
}
.house-item p, .house-item h4, .house-item a{
    margin-left: 20px; 
    font-family:'Playfair Display', serif;   
}

.house-details{
    margin-top: 15px;
    margin-bottom: 20px;
}
.house-item img{
    width: 100%;
}
.properties{
    margin-bottom: 80px;
}

.house-item a{
    text-decoration: none;
    color: white;
    font-size: 20px;
    background-color: rgb(8, 53, 90);
    border: solid 4px rgb(8, 53, 90);
    border-radius: 8px;
    transition: .8s;
}
.house-item a:hover{
    color: white;
    background-color: rgb(175, 150, 96);
    border: solid 4px rgb(175, 150, 96);
}
.sell-title{
    width: 100%;
    text-align: center;
    color: white;
    font-family: 'Playfair Display', serif; 
    background-color: rgb(5, 35, 59);
    height: 500px;
}
.sell-title h2{
    padding-top: 30px;
    font-size: 60px;
}
.sell-title p{
    font-size: 24px;
}
.sell-banner{
    position: relative;
}
.sell-banner img{
    width: 60%;
    margin-left: 20%;
    left: 20%;
    margin-top: -280px;
}
.sell-invitation{
    margin-top: 80px;
    width: 100%;
    text-align: center;
    font-family: 'Playfair Display', serif;
}
.sell-invitation p{
    width: 50%;
    margin-inline: auto;
    margin-bottom: 50px ;
}
.sell-invitation h2{
    color: rgb(8, 53, 90);
    font-weight: bold;
}
.sell-invitation a{
    text-decoration: none;
    font-size: 32px;
    color: white;
    padding: 10px;
    background-color: rgb(8, 53, 90);
    font-weight: bold;
    transition: .8s;
}
.sell-invitation a:hover{
    color: white;
    background-color: rgb(175, 150, 96);
}
.sell-advantage{
    margin-top: 120px;
    width: 70%;
    margin-inline: auto;
}
.sell-advantage-a{
    width: 100%;
    display: flex;
    font-family: 'Playfair Display', serif;
    margin-bottom: -50px;
}
.sell-advantage-a img{
    z-index: 3;
    width: 40%;
}
.sell-advantage-a-text{
    width: 50%;
    margin-left: 5%;
}
.sell-advantage-a-text h1{
    color: rgb(8, 53, 90);
}
.sell-advantage-a-text p{
    font-size: 24px;
}
.sell-advantage-b{
    margin-left: 80px;
    width: 100%;
    display: flex;
    font-family: 'Playfair Display', serif;
}
.sell-advantage-b img{
    width: 40%;
}
.sell-advantage-b-text{
    width: 50%;
    color: rgb(8, 53, 90);
    margin-left: 5%;
}
.sell-advantage-b-text ul {
    columns: 2;
    padding-top: 10px;
    -webkit-columns: 2;
    -moz-columns: 2;
    list-style: none;
}
.sell-advantage-b-text p{
    font-size: 20px;
}
.sell-marketing{
    margin-top: 320px;
    width: 100%;
    background-color: rgb(8, 53, 90);
}
.sell-marketing-img{
    width: 50%;
    margin-inline: auto;
}
.sell-marketing-img img{
    width: 100%;
    margin-top: -100px;
    margin-left: -20%;
}
.sell-marketing-text-container{
    width: 60%;
    margin-inline: auto;
    font-family: 'Playfair Display', serif;
    color: white;
    margin-top: 60px;
    display: flex;
}
.sell-marketing-a{
    width: 30%;
}
.sell-marketing-a p{
    padding-top: 40px;
    border-top: solid 4px rgb(175, 150, 96);
    font-size: 20px;
}
.sell-marketing-a a{
    font-size: 20px;
    color: white;
    text-decoration: none;
    border-bottom: solid 2px white;
}
.sell-marketing-a a:hover{
    color: white;
}
.sell-marketing-b{
    width: 60%;
    margin-left: 10%;
}
.sell-marketing-b p{
    padding-top: 20px;
    font-size: 20px;
    padding-bottom: 80px;
}
.sell-details{
    margin-top: 40px;
    width: 70%;
    margin-inline:auto;
    font-family: 'Playfair Display', serif;
    text-align: center;
}
.sell-method-details p{
    font-size: 20px;
}
.sell-method-details h1{
    color: rgb(8, 53, 90);
}
.sell-method-links{
    display: flex;
}
.sell-method-link{
    margin-inline:auto;
}
.contact-us{
    margin-top: 120px;
    width: 80%;
    display: flex;
    margin-inline: auto;
    font-family: 'Playfair Display', serif;
}
.contact-us p{
    font-size: 20px;
}
.contact-us-side-a{
    width: 40%;
}
.contact-us-side-a h2, .contact-us-side-b h2{
    color: rgb(8, 53, 90);
}
.contact-us-side-a p{
    margin-top: 20px;
}
.contact-us-side-b{
    width: 50%;
    margin-left: 10%;
}
.contact-us-side-b h2{
    padding-bottom: 50px;
}
.form-side-a, .form-side-b{
    width: 100%;
    display: flex;
    margin-bottom: 20px;
}
.form-name, .form-email{
    width: 46%;
    margin-right: 4%;
}
.form-name input, .form-lastname input, .form-email input, .form-phone input{
    width: 100%;
}
.form-lastname, .form-phone{
    width: 46%;
    margin-left: 4%;
}
.form-side-a input, .form-side-b input{
    border: 0;
    border-bottom: rgb(124, 124, 124) solid 2px;
    background-color: #c29b4000;
    outline: none;
    color: auto;
    font-family: 'Playfair Display', serif;
}
.form-side-c{
    width: 100%; 
}
.form-side-c textarea{
    width: 100%;
    height: 200px;
}
.form-side-c textarea:hover{
    border-color: rgb(8, 53, 90);
}
.form-side-c p{
    font-size: 15px;
}
.form-side-c button{
    margin-top: 20px;
    background-color: rgb(8, 53, 90);
    color: white;
    font-size: 20px;
    border: 0;
    border-radius: 5px;
}
.mortgage-banner{
    width: 100%;
    height: 400px;
    background-color: rgb(5, 35, 59);
    color: white;
}
.mortgage-banner h1{
    padding-left: 5%;
    padding-top: 20px;
    font-size: 60px;
}
.mortgage-container{
    width: 80%;
    margin-inline: auto;
    background-color: white;
}
.buying-advice{
    text-align: center;
    margin-top: -200px;
    position: relative;
}
.buying-advice h1{
    padding-top: 60px;
    font-size: 60px;
    color: rgb(8, 53, 90);
}
.buying-advice p{
    font-size: 24px;
    width: 60%;
    margin-inline: auto;
    margin-bottom: 80px;
}
.buying-advice p::after{
    content: " ";
    position: absolute;
    width: 3px;
    height: 60px;
    background-color: rgb(175, 150, 96);
    right: 50%;
    top: 34%;
}
.buying-advice img{
    width: 60%;
    margin-inline: auto;
}
.first-steps{
    position: relative;
    margin-top: 80px;
}
.first-steps-side-a, .first-steps-side-b{
    display: flex;
    width: 100%;
    position: relative;
}
.first-steps-side-a h2{
    width: 40%;
    padding-left: 10%;
}
.first-steps-side-a h2::after{
    position: absolute;
    width: 30%;
    height: 3px;
    background-color: rgb(175, 150, 96);
    content: " ";
    top: 40px;
    left: 10%;
}
.first-steps-side-a p{
    padding-top: 20px;
    padding-inline: 50px;
    width:60%
}
.first-steps-side-b-phrase{
    width: 30%;
    margin-left: 10%;
    font-size: 24px;
    background-color: rgb(8, 53, 90);
    color: white;
    margin-top: -100px;
}
.first-steps-side-b-phrase p{
    padding: 10px;
}
.first-steps-side-b-text{
    width: 60%;
}
.first-steps-side-b-text p{
    padding-inline: 50px;
}
.first-steps-side-b-text ul{
    list-style: none;
    border-left: solid 3px rgb(175, 150, 96);
    margin-inline: 50px;
}
.first-steps-side-c{
    display: flex;
    width: 100%;
    background-color: rgb(8, 53, 90);
    color: white;
    align-items: center;
    margin-top: 80px;
    position: relative;
}
.first-steps-side-c img{
    width: 30%;
}
.first-steps-side-c-text{
    padding-inline: 20px;
    font-size: 32px;
}
.first-steps-side-c-text::after{
    content: " ";
    position: absolute;
    width: 80%;
    height: 3px;
    background-color: rgb(175, 150, 96);
    top: 10%;
    left: 0%;
}
.first-steps-side-c-text p{
    padding-bottom: 50px;
}
.first-steps-side-c-text a{
    background-color: rgb(175, 150, 96);
    text-decoration: none;
    color: white;
    font-size: 24px;
    padding: 10px;
    border-radius: 10px;
    margin-left: 75%;
}
.first-steps-side-c-text a:hover{
    color: white;
}
.aplying-mortgage{
    margin-top: 80px;
    width: 100%;
}
.aplying-mortgage-title{
    width: 100%;
    text-align: center;
}
.aplying-mortgage-title h2{
    width: 80%;
    margin-inline: auto;
    border-bottom: rgb(175, 150, 96) solid 3px;
    margin-bottom: 10px;
}
.aplying-mortgage-text{
    width: 80%;
    margin-inline: auto;
    text-align: center;
    font-size: 20px;
}
.aplying-mortgage-text img{
    width: 80%;
    margin-inline: auto;
    margin-bottom: 60px;
}
.aplying-mortgage-text h3{
    color: rgb(8, 53, 90);
}
.aplying-mortgage-steps{
    width: 80%;
    margin-inline:auto;
    display: flex;

}
.aplying-mortgage-step{
    width: 50%;
    padding: 20px;
    border-left: rgb(175, 150, 96) solid 3px;
    margin-bottom: 80px;
    margin-top: 40px;
}
.agent-banner{
    width: 100%;
    color: white;
}
.agent-banner img{
    width: 100%;
}
.agent-banner h1{
    position: absolute;
    font-size: 140px;
}

.vertical-text-container {
    position: fixed;
    z-index:3;
    right: 10px;
    top: 50%;
    padding:2px;
    transform: translateY(-50%);
    font-size: 12px;
    color: #333;
    letter-spacing: 2px;
    line-height: 1.0;
    font-weight: 300;
    background:rgba(219, 219, 219, 0.5);
    border-right:2px solid rgb(175, 150, 96);
}

.vertical-text {
    display: block;
    padding: 5px 0;
    transition: color 0.3s ease;
    color:rgb(8, 53, 90);
}

.vertical-text-container:hover .vertical-text {
    color: rgb(175, 150, 96);
}
.horizontal-text-container {
    font-size: 24px;
    color: #333;
    font-weight: 300;
    transition: opacity 0.5s ease;
}

.horizontal-text-container.hidden {
    display:none;
}