.headerIndex{
    width:100%;
    min-height:220px;
    padding:20px;
    box-sizing:border-box;
    border-radius:0 0 30px 30px;
    position:relative;
    overflow:hidden;

    background:
        linear-gradient(rgba(0,0,0,.55),
        rgba(0,0,0,.65)),
        url('images/new-property-bg.jpg');

    background-size:cover;
    background-position:center;
}

/* Animated glow */
.headerIndex::before{
    content:'';
    position:absolute;
    width:300px;
    height:300px;
    background:rgba(255,255,255,.12);
    border-radius:50%;
    top:-100px;
    right:-100px;
    filter:blur(50px);
    animation:floatGlow 8s infinite alternate;
}

@keyframes floatGlow{
    from{
        transform:translateY(0) translateX(0);
    }
    to{
        transform:translateY(40px) translateX(-40px);
    }
}

/* Top bar */
.top-bar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:15px;
    position:relative;
    z-index:2;
}

.brand h1{
    margin:0;
    font-size:28px;
    color:#fff;
    font-weight:800;
    letter-spacing:1px;
}

#grad{
    background:linear-gradient(90deg,#fff,#ffd700);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.header-actions{
    display:flex;
    align-items:center;
    gap:15px;
    background:rgba(255,255,255,.12);
    backdrop-filter:blur(12px);
    padding:10px 15px;
    border-radius:50px;
    border:1px solid rgba(255,255,255,.15);
}

.header-actions i{
    color:#fff;
    cursor:pointer;
    font-size:22px;
    transition:.3s;
}

.header-actions i:hover{
    transform:translateY(-3px);
    color:#ffd700;
}

.user-icon{
    font-size:28px !important;
}

/* Hero content */
.header-content{
    position:relative;
    z-index:2;
    max-width:650px;
    margin-top:35px;
}

.tagline{
    display:inline-block;
    padding:8px 18px;
    border-radius:30px;
    background:rgba(255,255,255,.12);
    backdrop-filter:blur(10px);
    color:#fff;
    font-size:14px;
    margin-bottom:15px;
}

.header-content h2{
    color:#fff;
    font-size:42px;
    margin:10px 0;
    line-height:1.2;
    font-weight:800;
}

.header-content p{
    color:#e6e6e6;
    font-size:16px;
    line-height:1.7;
    max-width:550px;
}

/* Mobile */
@media(max-width:768px){

    .headerIndex{
        min-height:190px;
        padding:15px;
    }

    .top-bar{
        flex-direction:column;
        align-items:flex-start;
    }

    .header-actions{
        width:100%;
        justify-content:space-between;
    }

    .brand h1{
        font-size:24px;
    }

    .header-content{
        margin-top:25px;
    }

    .header-content h2{
        font-size:28px;
    }

    .header-content p{
        font-size:14px;
    }
}

/*===================================*/
/*=====================================*/

.ad-panel{
    position:relative;
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    margin:20px 0;
    border:1px solid #e8e8e8;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    animation:adFadeIn .4s ease;
}

/* Header */

.ad-panel-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 16px;
    background:linear-gradient(135deg,#f8f9fa,#ffffff);
    border-bottom:1px solid #eee;
}

.ad-panel-title{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:14px;
    font-weight:700;
    color:#555;
    text-transform:uppercase;
    letter-spacing:.5px;
}

.ad-panel-title i{
    color:#ff9800;
    font-size:18px;
}

/* Close Button */

.ad-close-btn{
    width:36px;
    height:36px;
    border:none;
    border-radius:50%;
    background:#f3f3f3;
    color:#777;
    cursor:pointer;
    transition:.3s ease;
}

.ad-close-btn:hover{
    background:#ff4d4f;
    color:#fff;
    transform:rotate(90deg);
}

.ad-close-btn i{
    font-size:16px;
}

/* Body */

.ad-panel-body{
    padding:15px;
}

/* Entrance Animation */

@keyframes adFadeIn{
    from{
        opacity:0;
        transform:translateY(15px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* Mobile */

@media(max-width:768px){

    .ad-panel{
        border-radius:12px;
        margin:15px 0;
    }

    .ad-panel-header{
        padding:10px 14px;
    }

    .ad-panel-body{
        padding:12px;
    }
}

/*=======================================*/
.modern-card-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 14px;
    border-radius:14px;
    background:rgba(255,255,255,0.75);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    margin-bottom:8px;
}

.head-left{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
}

.property-avatar{
    width:40px;
    height:40px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:bold;
    color:#fff;
    background:linear-gradient(135deg,#4facfe,#00f2fe);
    text-transform:uppercase;
    flex-shrink:0;
}

.head-text{
    overflow:hidden;
}

.property-title{
    font-size:16px;
    font-weight:700;
    margin:0;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.head-actions{
    display:flex;
    align-items:center;
    gap:12px;
    font-size:18px;
    color:#555;
}

.head-actions .closePost{
    font-size:22px;
    cursor:pointer;
    color:rgba(0,0,0,0.4);
    transition:0.2s;
}

.head-actions .closePost:hover{
    color:red;
    transform:scale(1.1);
}

.modern-description{
    padding:10px 14px;
    font-size:14px;
    line-height:1.5;
    color:#333;
    background:#fff;
    border-radius:0 0 14px 14px;
}

.see-more{
    display:inline-block;
    margin-top:6px;
    color:#007bff;
    cursor:pointer;
}

/*========================================*/


/*==========================================*/

.property-description{
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.9;
    color: #333;
    text-align: left;

    /* Preserve spaces and line breaks */
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;

    /* Styling */
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e9ecef;

    /* Better readability */
    letter-spacing: 0.2px;
    margin-top: 15px;
}
@media (max-width:768px){
    .property-description{
        font-size: 15px;
        line-height: 1.8;
        padding: 18px;
    }
}

.property-description::first-letter{
    font-size: 1.4em;
    font-weight: 600;
}


/*===========================================*/

/*===============================*/

.animate-myDIV{
    color:#16a34a;
    animation:bounceArrow 1.5s infinite;
}

@keyframes bounceArrow{
    0%,100%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(6px);
    }
}

/*=========================================*/
.property-meta{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:15px;
    padding:10px 0;
    font-size:13px;
    color:#666;
}

.meta-item{
    display:flex;
    align-items:center;
    gap:6px;
    background:#f8f9fa;
    padding:6px 12px;
    border-radius:50px;
    font-weight:500;
}

.meta-item i{
    color:#0d6efd;
    font-size:13px;
}

.location-group{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:10px;
}

.location-pill{
    display:flex;
    align-items:center;
    gap:6px;
    padding:8px 14px;
    border-radius:50px;
    text-decoration:none;
    background:rgba(13,110,253,.08);
    color:#333;
    font-size:13px;
    font-weight:600;
    transition:.3s;
}

.location-pill:hover{
    background:#0d6efd;
    color:#fff;
    transform:translateY(-2px);
    text-decoration:none;
}

.location-pill i{
    font-size:12px;
}

.country-flag{
    width:20px;
    height:14px;
    border-radius:3px;
    object-fit:cover;
    box-shadow:0 1px 4px rgba(0,0,0,.15);
}
/*====================================={=={{======*/
.hiddenDIV{
    margin-top:15px;
}

.agent-card{
    background:#fff;
    border-radius:18px;
    padding:20px;
    box-shadow:0 5px 25px rgba(0,0,0,.08);
    border:1px solid rgba(0,0,0,.05);
}

.agent-header{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:18px;
}

.agent-avatar .profile{
    width:65px;
    height:65px;
    border-radius:50%;
    object-fit:cover;
    border:3px solid #0d6efd;
}

.avatar-placeholder{
    width:65px;
    height:65px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    font-weight:bold;
    color:#fff;
    background:linear-gradient(135deg,#0d6efd,#00c6ff);
}

.agent-info h4{
    margin:0;
    font-size:18px;
    font-weight:700;
    color:#222;
}

.agent-info a{
    text-decoration:none;
}

.agent-info small{
    color:#777;
}

.info-box{
    display:flex;
    align-items:flex-start;
    gap:10px;
    background:#f8f9fa;
    padding:12px;
    border-radius:12px;
    margin-bottom:18px;
    color:#555;
}

.info-box i{
    color:#0d6efd;
    margin-top:3px;
}

.show-contact-btn{
    width:100%;
    border:none;
    border-radius:50px;
    padding:14px;
    background:linear-gradient(135deg,#0d6efd,#007bff);
    color:#fff;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.show-contact-btn:hover{
    transform:translateY(-2px);
}

.contacts{
    margin-top:20px;
}

.contact-item{
    display:flex;
    align-items:center;
    gap:12px;
    padding:14px;
    border-radius:12px;
    background:#f8f9fa;
    margin-bottom:10px;
}

.contact-item i{
    width:20px;
    text-align:center;
    color:#0d6efd;
    font-size:18px;
}

.contact-item.whatsapp i{
    color:#25D366;
}

.contact-item a{
    text-decoration:none;
    color:#333;
    font-weight:600;
}

.website a{
    color:#0d6efd;
}

/*===============================================*/


