﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

main{
    overflow:hidden;
}

html {
  position: relative;
  min-height: 100%;
}
/*************************
    THEME STYLE 
    ***************************/
.theme-panel {
    position: fixed;
    bottom: 39% !important;
    left: 0 !important;
    width: 40px !important;
    background: rgba(255,255,255,0.95);
    padding: 1rem 0.6rem;
    border-radius: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.65rem; /* Less vertical gap for smaller buttons */
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
    z-index: 10000;
    align-items: center;
}

.color-btn {
    width: 28px; /* Smaller diameter */
    height: 28px;
    border: 3px solid #f2f2f2;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: border 0.3s, box-shadow 0.2s, transform 0.1s;
    background: none;
    padding: 0;
    display: block;
}

    .color-btn[title="Blue"] {
        background: #0C2340;
    }

    .color-btn[title="Green"] {
        background: #2a5135;
    }

    .color-btn[title="Maroon"] {
        background: #5f462b;
    }

    .color-btn:focus, .color-btn:hover {
        border: 3px solid #4a90e2;
        box-shadow: 0 4px 16px rgba(0,0,0,0.2);
        transform: scale(1.1);
        outline: none;
    }
/*********** SOCIAL ICONS AS IMAGES **************/
.social-icons {
    display: flex;
    align-items: center;
    margin-left: 4px;
}

    .social-icons a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: 8px;
        text-decoration: none;
    }

    .social-icons img {
        width: 14px;
        height: 14px;
        filter: brightness(0) invert(1); /* blanc */
        transition: opacity 0.2s ease;
    }

    /* Hover identical to links */
    .social-icons a:hover img {
        opacity: 0.7;
    }



/************ Style AUCOMPLETE ****************/
.ui-autocomplete-input, .ui-autocomplete-input:focus {
    border: 2px solid var(--primaryColor);
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--primaryColor) !important;
}
/* Autocomplete container */
.ui-autocomplete {
    z-index: 9999;
    background-color: #fff;
    border: 1px solid #ccc;
    max-height: 400px;
    max-width: 495px !important;
    overflow-y: auto;
    font-family: "Segoe UI", sans-serif;
    font-size: 13px;
    padding: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Each menu item */
.ui-menu-item {
    list-style: none;
    width: 100%;
    padding: 3px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    border-bottom: 1px solid #eee;
}

.ui-autocomplete-multiline {
    min-height: 45px;
}
/* Make <a> full height and flex-centered */
.ui-menu-item a {
    display: flex;
    align-items: center; 
    height: 36px;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
    font-size: 13px;
}

    /* Hover/active item */
    .ui-state-active,
    .ui-menu-item a:hover ui-menu-item,
    .ui-menu-item a:hover ui-menu-item .text-muted {
        background-color: var(--primaryColor);
        color: #fff !important;
    }

/* Group header */
.ui-autocomplete-category {
    font-weight: 500;
    font-size: 11px;
    color: #666;
    background-color: #f5f5f5;
    padding: 5px 10px;
    height: 30px;
    text-align: left;
    border-top: 1px solid #eaeaea;
    text-transform: capitalize;
}

    .ui-autocomplete-category:first-child {
        border-top: none;
    }


/************ Style CARD ****************/

.property-card {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
}

.property-image-slider {
    position: relative;
    width: 100%;
    height: 275px;
    overflow: hidden;
    background: #000;
}

    .property-image-slider .slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 405px;
        height: 275px;
        object-fit: cover;
        display: none;
    }

        .property-image-slider .slide.active {
            display: block;
        }
.heart-icon {
    position: absolute;
    top: 12px;
    right: 8px;
    width: 32px;
    height: 32px;
    z-index: 3;
    pointer-events: none;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    font-size: 24px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    z-index: 2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .slider-arrow.left {
        left: 10px;
    }

    .slider-arrow.right {
        right: 10px;
    }

.properties-section .row {
    margin-bottom: 35px;
}

.featured-card-col {
    padding: 0px 27.5px 0px 0px;
}

.property-image-slider .location {
    position: absolute;
    left: 16px;
    bottom: 0px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 1.0419rem;
    color: #fff;
    padding: 4px 12px;
    z-index: 3;
}
.property-image-slider .carousel-item img {
    transform: translateY(0);
    transition: transform 1s ease;
    will-change: transform;
}

.property-image-slider .carousel-item:hover img {
    transform: translateY(-15%) !important;
}
.property-body {
    position: relative;
    padding: 15px 13px 0px 13px;
    background: linear-gradient(to bottom, #000 0%, #222 100%);
    color: #fff;
}

.body-header-row {
    display: flex;
    align-items: flex-start;
    position: relative;
}


.property-agent-img {
    width: 65px;
    height: 85px;
    object-fit: cover;
    border-radius: 0;
    border: none;
    box-shadow: none;
    position: absolute;
    right: 0;
    top: -32px; /* Adjust this value to align with the City, ST label */
    z-index: 2;
}

/* Title and meta remain as before */
.property-title {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 1rem;
    line-height: 1.2;
    margin-bottom: 4px;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.4em;
    max-height: 2.4em;
    white-space: normal;
}

.property-meta {
    font-family: Arial, sans-serif;
    font-size: 0.875rem;
    color: #fff;
    margin-bottom: 10px;
}

/* Footer: price left, agent name right */
.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    margin-top: 16px;
}

.property-price {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 1rem;
    color: #fff;
}

.property-agent-name {
    font-family: Arial, sans-serif;
    font-size: 0.8331rem;
    color: #fff;
    margin-left: 8px;
}
.property-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.property-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.property-footer {
    margin-top: auto;
}
@media(max-width:991.98px){
    .property-image-slider {
        height: 273px;
    }

    .property-agent-img {
        width: 63px;
        height: 82px;
        bottom: 17px;
    }

    .property-title {
        font-size: 12pt;
        word-wrap: break-word;
        display: block;
    }

    .property-meta {
        font-size: 10pt;
    }

    .property-price {
        font-size: 12pt;
    }

}
/******************* Style Loader Home Page ******************/
.loader-container {
    background: #000;
    height: 200px;
}
.img_loader_component {
    width: 50px;
    height: 50px;
}
/********* BUTTON VIEW ALL *********/
.view-all-btn-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 35px;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.view-all-btn {
    display: inline-block;
    width: 160px;
    height: 40px;
    line-height: 40px;
    font-family: Arial, sans-serif;
    font-weight: normal;
    font-size: 1.25rem;
    color: #343a40;
    background: rgba(204, 204, 204, 0.8);
    backdrop-filter: blur(6px);
    border: none;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    margin: 0;
    padding: 0px;
}

/******* TITLES *******/
.section-title-line {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

    .section-title-line::before,
    .section-title-line::after {
        content: "";
        display: inline-block;
        width: 80px;
        height: 2px;
        background: #fff;
        margin: 0 16px;
    }

.section-title {
    font-family: "Arial Narrow", Arial, sans-serif;
    font-size: 2.5rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-weight: 400;
}

@media(max-width:991.98px){
    .section-title {
        font-size: 16pt;
        
    }
    .section-title-line::before,
    .section-title-line::after {
      
        width: 50px;
      
    }
    .view-all-btn {
        width: 110px;
        height: 37px;
        font-size: 12pt;
        margin-top: 35px;
        margin-bottom: 50px;
    }
    .view-all-btn-container{
        margin-top: 0px;
    }
}



.share-property-icon {
    width: 18px;
    height: 18px;
}

.share-property-text {
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 12pt;
    color: var(--primary-bg);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.share-property-menu {
    display: none;
    position: absolute;
    top: 25px;
    left: 0;
    width: 182px;
    height: auto;
    background: rgba(var(--primary-bg-rgb),0.8);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 12;
    overflow: hidden;
    flex-direction: column;
    padding: 6px 0;
}

.share-menu-item {
    font-family: Arial, sans-serif;
    font-size: 12pt;
    color: #fff;
    padding: 4px 12px;
    cursor: pointer;
    transition: background 0.15s;
    height: auto;
    line-height: 1.6;
    text-align: right;
}

    .share-menu-item:hover {
        background: rgba(255,255,255,0.08);
        height: auto;
    }

.gallery-heart-icon {
    width: 28px;
    height: 28px;
    align-self: flex-start;
}

/****************************************
    CONNECT BUTTON 

***************************************/


.connect-wrapper {
    position: fixed;
    bottom: 0;
    left: 2rem;
    z-index: 1050;
}

.connect-btn {
    width: 250px;
    height: 50px;
    background: rgba(204,204,204,0.85);
    backdrop-filter: blur(6px);
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.connect-text {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 1.331rem;
    color: var(--primary-bg);
}
 .connect-text::after {
    content: "▼";
}

/* MODAL FIX */

.modal-bottom {
    display: flex;
    align-items: flex-end;
    min-height: 100%;
    margin: 0;
    position: fixed;
    bottom: 50px;
    left: 2rem;
    max-width: 460px;
    width: 460px;
    height: 400px;
}
.modal.fade .modal-bottom {
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.modal.show .modal-bottom {
    transform: translateY(0);
}
.connect-text::after {
    display: inline-block;
    transition: transform 0.3s ease;
}

.connect-text.open::after {
    transform: rotate(180deg);
}

/* RESPONSIVE */

@media (max-width:768px) {

    .connect-wrapper {
        left: 10px;
        bottom: 10px;
    }

    .connect-btn {
        width: 200px;
    }

    .modal-dialog {
        max-width: 90%;
        margin: 10px;
    }
    #contactAgentModal .modal-dialog{
        max-width:100%;
    }
}

/* POPUP STYLE */

.contact-popup {
    width: 100%;
    background: rgba(204, 204, 204, 0.8);
    border-radius: 0px;
}

    /* HEADER */

    .contact-popup .modal-title {
        font-family: Arial;
        font-weight: bold;
        font-size: 20pt;
        color: #0C2340;
    }

    .contact-popup .close {
        border: none;
        background: transparent;
        font-size: 20pt;
        position: absolute;
        right: 0;
        top: 0;
        color: #343a40;
    }

    /* INPUTS */

    .contact-popup .form-control {
        background: #F5F5F5;
        border: none;
        font-size: 18pt;
        color: #0C2340;
        background: rgba(245, 245, 245, 0.5);
    }

        .contact-popup .form-control::placeholder {
            color: #0C2340;
        }

    .contact-popup .custom-control-label {
        font-family: Arial, sans-serif;
        font-weight: 400;
        font-size: 7pt;
        color: #343a40;
    }

        .contact-popup .custom-control-label a {
            font-family: Arial, sans-serif;
            font-weight: 400;
            font-size: 7pt;
            color: #343a40;
        }

    .contact-popup .input-popup {
        width: 425px;
        height: 50px;
    }

/* CHECKBOX */
/* CONTAINER CHECKBOX + LABEL */
/* Container */
.cb {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 11px;
}

    /* Hide native checkbox */
    .cb input {
        display: none;
    }

/* Box */
.cb-box {
    width: 60px;
    height: 15px;
    background: rgba(245, 245, 245, 0.33); /* #F5F5F550 */
    border-radius: 3px;
    margin-right: 8px;
    position: relative;
    margin-bottom: 50px;
}

/* Checked state */
.cb input:checked + .cb-box {
    background: var(--primary-bg);
    
}
.text-privacy-contact-form {
   color: var(--primary-bg);
}
/* Check mark */
.cb-box::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 2px;
    width: 8px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
}

/* Show check */
.cb input:checked + .cb-box::after {
    opacity: 1;
}

/* Text */
.cb-text {
    line-height: 1.2;
}
/* BUTTON */

.submit-btn-popup-connect {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 12pt;
    color: #f5f5f5 !important;
    width: 79px;
    height: 33px;
    background: var(--primary-bg) !important;
    border-radius: 6px;
    border: none;
    box-shadow: none;
    margin-bottom: 33px;
    margin-right: 2px;
}



/********************************* 
    
    SHARE BUTTON DETAILS
    
    *****************************/
.gallery-actions-topright {
    position: absolute;
    top: 16px;
    right: 25px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    z-index: 12;
    pointer-events: none;
}

    .gallery-actions-topright > * {
        pointer-events: auto;
    }
.share-property-btn {
    display: flex;
    align-items: center;
    width: 100%;
    height: 25px;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    padding: 0 6px;
    user-select: none;
    position: relative;
}
/********************************* 
    
    VIDEO MODAL DETAILS
    
    *****************************/
/* Modal overlay */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(var(--primary-bg-rgb), 0.8); /* var(--primary-bg) à 80% */
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease;
    z-index: 9999;
}

    /* Active state */
    .video-modal.active {
        visibility: visible;
        opacity: 1;
    }

/* Container video */
.video-container {
    position: relative;
    width: 1175px;
    max-width: 90%;
}

    /* Responsive ratio */
    .video-container iframe {
        width: 100%;
        height: 660px;
        border-radius: 8px;
    }

/* Close button */
.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    background: white;
    border: none;
    font-size: 28px;
    cursor: pointer;
    padding: 5px 12px;
    border-radius: 4px;
}

/* Button style */
.btn-video {
    padding: 12px 24px;
    background: var(--primary-bg);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
}


.fancybox-bg {
    background: var(--primary-bg) !important;
}

.unstyled-link {
    color: inherit;
    text-decoration: none;
}

    .unstyled-link:hover, .unstyled-link:focus {
        text-decoration: underline; /* or none, if you don't want any effect */
        color: inherit;
    }


/************** STYLE SELECT 2 **************/

.home-select .select2-container--default .select2-selection--single {
    box-shadow: none !important;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    color: #fff;
    cursor: pointer;
    height: 45px;
}

    .home-select .select2-container--default .select2-selection--single .select2-selection__placeholder {
        color: #fff;
        font-size: 20px;
        position: absolute;
        top: 9px;
        left: 11px;
    }

    .home-select .select2-container--default .select2-selection--single .select2-selection__rendered {
        color: #fff;
        line-height: 28px;
        font-size: 20px;
        padding-top: 5px;
        padding-right: 42px;
    }

    .home-select .select2-container--default .select2-selection--single .select2-selection__clear {
        cursor: pointer;
        float: right;
        font-weight: bold;
        position: absolute;
        color: rgba(0, 0, 0, 1);
        top: 5px;
        left: 4px;
        z-index: 1;
    }

    .home-select .select2-container--default .select2-selection--single .select2-selection__arrow {
        display: none;
    }

/****************************** Style PopUp life style section and About section*****************************************/

/* Overlay flouté */
.popup-overlay {
    position: fixed;
    inset: 0;
    margin: 0 auto;
    width: 940px;
    background: rgba(255, 255, 255, 0.5); /* Semi-transparent for effect visibility */
    backdrop-filter: blur(30px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow-y: scroll;
    max-height: 964px;
}

    .popup-overlay p {
        font-family: Arial, sans-serif;
        font-weight: 400;
        font-size: 1.6667rem;
        color: var(--primary-bg);
        max-height: calc(100vh - 120px);
        line-height: 2;
        position: relative;
        margin: 40px;
    }

    /* Bouton close */
    .close-btn {
        position: absolute;
        top: 15px;
        right: 20px;
        background: none;
        border: none;
        color: #495057;
        font-size: 32px;
        cursor: pointer;
    }

/* Mobile */
@media (max-width: 768px) {
    .popup-content {
        font-size: 18pt;
    }
}
/*************** Style Header Static Page ***************/

.static-header {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    z-index: 0;
}

    .static-header::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 130px;
        background: linear-gradient( to bottom, rgba(10, 61, 145, 0) 0%, rgba(16, 43, 77, 0.5) 45%, #0C2340 100% );
        z-index: 2;
    }
/* Contenu */
.header-content {
    position: relative;
    z-index: 3;
    padding: 15px;
    max-width: 1000px;
}

/* Titre principal */
.header-title {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 2.6669rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

/**************************** STYLE SEARCHBAR *********************/

/* Search box background */
.search-box {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(2px);
    border-radius: 6px 6px 6px 0;
    padding: 10px;
}

    /* Inputs */
    .search-box .form-control {
        box-shadow: none !important;
        background: transparent;
        border: 1px solid rgba(255,255,255,0.6) !important;
        color: #fff;
        cursor: pointer;
    }

        .search-box .form-control::placeholder {
            color: rgba(255,255,255,0.8);
        }

.input-searchbar {
    width: 495px;
    height: 45px;
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 15pt;
}
/* wrapper pour la flèche */
.select-wrapper {
    position: relative;
    width: 160px;
    height: 45px;
}

    /* select moderne */
    .select-wrapper select {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background: rgba(255,255,255,0.2);
        border: 1px solid rgba(255,255,255,0.6);
        color: #fff;
        height: 45px;
        font-size: 15pt;
        padding-right: 40px;
    }

    /* flèche custom */
    .select-wrapper::after {
        content: "▾" !important;
        position: absolute;
        top: 50%;
        right: 9px;
        transform: translateY(-50%);
        color: #fff;
        width: 43px;
        height: 43px;
        pointer-events: none;
        font-size: 16px;
        padding: 7px;
        background: rgba(28,28,28,0.62);
        border-radius: 0 6px 6px 0;
    }

    /* options */


    .select-wrapper select option {
        background: #1c1c1c;
        border-radius: 0 0 6px 6px;
        border: none;
        color: #fff;
        font-size: 14pt;
    }

        .select-wrapper select option:hover {
            background: #fff;
            color: #1c1c1c;
        }
/* Search button */
.btn-search {
    background: rgba(255,255,255,0.5) !important;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

    .btn-search img {
        width: 40px;
        height: 40px;
        display: block;
    }


.padding-searchbar {
    padding-right: 10px;
}

.home-select .select2-container {
    width: 160px !important;
}
.widget-searchbar {
    width: 932px;
    height: 65px;
    margin: 0 auto;
    z-index: 10;
}



/****************************** Style  lifestyle section *****************************************/

/* Image */
.image-container {
    position: relative;
    width: 565px; /* image width */
    height: 375px; /* tallest element */
}

.description {
    font-family: Arial, sans-serif;
    font-size: 1.25rem;
    line-height: 1.5;
}

.read-more-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}


/****************************** Style details and contact-us section *****************************************/

.padding-container-speacial {
    padding-right: 85px;
    padding-left: 85px;
}

.block-contact {
    flex: 1;
}

/* FORM */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin-bottom: 12px;
}

.message-textarea {
    width: 100%;
    height: 80px;
    padding: 10px;
    resize: none;
}

.contact-section {
    color: #fff;
    font-family: Arial, sans-serif;
    background: var(--primary-bg);
}

.contact-us-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

input,
.message-textarea {
    background: #d3d6d9;
    border: none;
    font-size: 14pt;
}

input {
    height: 40px;
    padding: 0 12px;
}

.message-textarea {
    width: 100%;
    height: 80px;
    padding: 10px;
    resize: none;
}

/* CONSENT */
.consent-row {
    display: flex;
    gap: 25px;
    margin-top: 25px;
    align-items: flex-start;
}

.consent-text {
    font-size: 11pt;
    line-height: 1.4;
    margin: 0;
}
/* Container checkbox */
.consent-check {
    position: relative;
    min-width: 24px;
    height: 24px;
    cursor: pointer;
    padding-right: 16px;
}


    /* Hide native checkbox */
    .consent-check input {
        opacity: 0;
        position: absolute;
        width: 24px;
        height: 24px;
        cursor: pointer;
        margin: 0;
    }

/* Custom checkbox */
.custom-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid #ffffff;
    display: inline-block;
    border-radius: 3px;
    background: transparent;
}

/* Checked state */
.consent-check input:checked + .custom-checkbox {
    background: #d3d6d9;
    border-color: #d3d6d9;
}

    /* Checkmark */
    .consent-check input:checked + .custom-checkbox::after {
        content: "";
        position: absolute;
        left: 7px;
        top: 3px;
        width: 6px;
        height: 12px;
        border: solid var(--primary-bg);
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

.submit-btn {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 8px 22px;
    font-size: 18pt;
    cursor: pointer;
    border-radius: 0.337rem;
}

.contact-info {
    border-left: 2px solid #fff;
    padding-left: 35px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.contact-grid-location {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

    .contact-link a {
        color: #fff;
        text-decoration: none;
    }

    .contact-link i {
        width: 22px;
        text-align: center;
        font-size: 20px;
    }

/* MOBILE contact-us */
@media (max-width: 767px) {

    .padding-container-speacial {
        padding-left: 30px;
        padding-right: 30px;
    }

    .contact-us-grid {
        flex-direction: column;
        gap: 30px;
    }

    .block-contact {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 12px;
    }

    input,
    .message-textarea {
        width: 100%;
        box-sizing: border-box;
        font-size: 14pt;
    }

    input {
        height: 45px;
    }

    .message-textarea {
        height: 100px;
    }

    .consent-row {
        display: grid;
        grid-template-columns: 24px 1fr;
        column-gap: 15px;
        row-gap: 30px;
        margin-top: 20px;
    }

    .consent-check {
        grid-column: 1;
    }

    .consent-text {
        grid-column: 2;
        margin: 0;
    }

    .submit-btn {
        grid-column: 1 / -1;
        justify-self: end;
        margin-top: 0;
        font-size: 15px;
    }

    .contact-info {
        width: 100%;
        border-left: none;
        /*border-top: 2px solid #fff;*/
        padding-left: 0;
        padding-top: 25px;
    }

    .contact-grid-location {
        flex-direction: column;
        gap: 15px;
    }

    .contact-link {
        margin-bottom: 12px;
    }

        .contact-link i {
            font-size: 18px;
        }
}


/****************************** Style Location section *****************************************/
.location-section {
    position: relative;
    background: var(--primary-bg);
    color: #ffffff;
    overflow: hidden;
}

.locations-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 30px;
}

.location-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 19/16;
}

    .location-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: .4s;
    }

    .location-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,.25);
    }

    .location-card:hover img {
        transform: scale(1.05);
    }


    .location-card span {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
        color: #fff;
        font-size: 1.2rem;
        font-weight: 700;
        z-index: 2;
    }

/* Mobile */
@media (max-width: 576px) {
    .locations-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width:992px) {

    .locations-grid {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, 1fr);
    }
}


/******************* Style Team Section ****************/
/* Layout */
.team-row {
    display: flex;
    justify-content: center;
    gap: 30px;
}

/* Card */
/* Card */
.team-card {
    position: relative;
    width: 345px;
    height: 465px;
    overflow: hidden;
    background: #000;
}

/* Main photo */
.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.team-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0.55) 70%, rgba(0, 0, 0, 0.85) 85%, rgba(0, 0, 0, 1) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Text over gradient */
.team-info {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    z-index: 2;
}

    .team-info h5 {
        font-family: Arial, sans-serif;
        font-size: 1.6669rem;
        font-weight: bold;
        margin: 0;
    }

    .team-info span {
        font-size: 1.1669rem;
        font-style: italic;
        opacity: 0.9;
    }
.pb-100 {
    padding-bottom: 100px;
}
.mb-45 {
    margin-bottom: 45px;
}


/*********************** SEARCH BAR MOBILE *****************/

/* ===============================
       CONTAINER
    ================================ */
.widget-searchbar-mobile {
    width: 100%;
    margin: 0px auto;
    position: relative;
    z-index: 10;
}

/* ===============================
       SEARCH BAR
    ================================ */
.search-box-mobile {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    border-radius: 0 6px 6px 6px;
    padding: 7px;
    width: 100%;
}

/* FORM */
.search-form-mobile {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* INPUT */
.input-searchbar-mobile {
    width: 495px;
    height: 45px;
    font-size: 15pt;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.6);
    color: #fff;
}

    .input-searchbar-mobile::placeholder {
        color: rgba(255,255,255,0.8);
    }

/* SELECT */
.search-row-mobile {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-search-mobile {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.5) !important;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn-search-mobile img {
        width: 22px;
        height: 22px;
    }

/* ===============================
       RESPONSIVE
    ================================ */
@media (max-width: 992px) {
    .widget-searchbar-mobile {
        width: 100%;
    }

    .search-form-mobile {
        flex-direction: column;
    }

    .input-searchbar-mobile,
    .select-wrapper, .search-row-mobile {
        width: 100%;
    }

    .ui-autocomplete {
        width: 353px !important;
    }
}

.home-select .select2-container {
    width: 145px !important;
}

/* style logo image theme 4  */
.logo_img {
    filter: brightness(0) invert(1) !important;
}
/********************** Style let's Connect Section ************/
.connect-agent-section {
    position: relative;
    background: var(--primary-bg);
    color: #ffffff;
    overflow: hidden;
    height: 420px;
}

    .connect-agent-section img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.connect-btn-team {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 460px;
    height: 90px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 3px solid #fff;
    border-radius: 18px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all .3s ease;
}

    .connect-btn-team:hover {
        background: rgba(255, 255, 255, 0.22);
        transform: translate(-50%, -50%) scale(1.03);
    }
/* Mobile version */
@media (max-width: 767px) {
    .connect-agent-section {
        height: 280px;
    }

    .connect-btn-team {
        width: 60%;
        max-width: 320px;
        height: 65px;
        font-size: 1.2rem;
        border-width: 2px;
        border-radius: 12px;
    }
}
/********************** Style card blog Section ************/

/* Card */
.article-card {
    width: 350px;
    height: 360px;
    margin: 0 auto;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* --- Card and Inner Styles --- */
.blog-card {
    width: 100%;
    margin: 0;
    color: #fff;
    background: none;
}

.blog-img {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* carré propre */
    overflow: hidden;
}

    .blog-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Optional overlay */
    .blog-img::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
    }

/* Center Title */
.blog-title {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: Arial, sans-serif;
    font-size: 1.1669rem;
    letter-spacing: 1px;
    text-align: center;
    z-index: 2;
    width: 100%;
}
/* Bottom Text */
.blog-text {
    position: absolute;
    bottom: 15px;
    left: 20px;
    right: 20px;
    font-family: "Arial Narrow", Arial, sans-serif;
    font-size: 1.125rem;
    line-height: 1.4;
    text-align: left;
    z-index: 2;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/********************** Style btn video ************/

.play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 95px;
    height: 70px;
    background: #ff0000;
    border-radius: 18px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

    .play-btn:hover {
        transform: translate(-50%,-50%) scale(1.08);
    }

/* Listing Card Badge */
.listing-badge {
    position: absolute;
    top: 20px;
    left: 0;
    z-index: 10;
    background: #ffffff;
    color: var(--primary-bg);
    font-size: 13pt;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 10px;    
    min-width: 130px;
    height: 35px;
    font-family: Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;  
}