.headerIndex{
    width:100%;
    min-height:260px;
    padding:14px 18px;
    box-sizing:border-box;

    position:relative;
    overflow:hidden;

    /* background image stays subtle */
    background:
        url('images/property-banner.jpg');
    background-size:cover;
    background-position:center;

    color:#fff;

    border-radius:0 0 24px 24px;
}

/* Dark overlay for readability */
.headerIndex::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;

    /* Base dark overlay */
    background:rgba(0,0,0,0.45);

    /* Animated gradient lighting layer */
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,152,0,0.25), transparent 35%),
        radial-gradient(circle at 80% 20%, rgba(255,87,34,0.20), transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(255,255,255,0.08), transparent 45%);

    animation: glowMove 10s ease-in-out infinite alternate;
}

@keyframes glowMove{
    0%{
        background-position: 0% 0%, 100% 0%, 50% 100%;
        filter: blur(0px);
        opacity: 0.9;
    }

    50%{
        background-position: 20% 10%, 80% 30%, 60% 70%;
        filter: blur(1px);
        opacity: 1;
    }

    100%{
        background-position: 40% 20%, 60% 40%, 40% 90%;
        filter: blur(0px);
        opacity: 0.95;
    }
}

.headerIndex::after{
    content:"";
    position:absolute;
    inset:-50%;
    z-index:0;

    background:linear-gradient(
        120deg,
        transparent 40%,
        rgba(255,255,255,0.08) 50%,
        transparent 60%
    );

    transform:rotate(10deg);
    animation: lightSweep 8s linear infinite;
}

@keyframes lightSweep{
    0%{
        transform:translateX(-40%) rotate(10deg);
    }
    100%{
        transform:translateX(40%) rotate(10deg);
    }
}

/* Glass floating container */
.top-header,
.translator-row,
.header-text{
    position:relative;
    z-index:1;
}

/* ===== Glass Top Bar ===== */
.top-header{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:10px 14px;
    border-radius:16px;

    background:rgba(255,255,255,0.10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border:1px solid rgba(255,255,255,0.18);

    box-shadow:0 6px 18px rgba(0,0,0,0.25);
}

/* Logo */
.logo-area h1{
    margin:0;
    font-size:22px;
    font-weight:800;
    line-height:1;
}

/* Gradient text */
#grad{
    background:linear-gradient(45deg,#ff9800,#ff5722);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

/* Icons */
.header-actions{
    display:flex;
    align-items:center;
    gap:14px;
}

.header-actions i{
    font-size:20px;
    cursor:pointer;
    transition:.25s ease;
    color:#fff;
    opacity:0.9;
}

.header-actions i:hover{
    transform:translateY(-2px);
    opacity:1;
}

.user-icon i{
    font-size:26px;
}

/* ===== Translator Glass Chip ===== */
.translator-row{
    margin-top:10px;
    display:flex;
    justify-content:flex-end;
}

.translator-row > *{
    padding:6px 10px;
    border-radius:12px;

    background:rgba(255,255,255,0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border:1px solid rgba(255,255,255,0.15);
}

/* ===== Hero Glass Card ===== */
.header-text{
    margin-top:18px;
    text-align:center;

    padding:22px 18px;
    border-radius:18px;

    background:rgba(255,255,255,0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border:1px solid rgba(255,255,255,0.15);

    box-shadow:0 8px 25px rgba(0,0,0,0.25);
}

.header-text h1{
    font-size:34px;
    margin-bottom:10px;
    font-weight:700;
}

.header-text p{
    max-width:600px;
    margin:0 auto 16px;
    font-size:15px;
    line-height:1.6;
    color:#f1f1f1;
}

/* CTA Button */
.browse-btn{
    display:inline-block;
    padding:10px 26px;
    background:linear-gradient(135deg,#ff5722,#ff9800);
    color:#fff;
    text-decoration:none;
    border-radius:50px;
    font-weight:600;
    transition:.25s ease;
    box-shadow:0 6px 15px rgba(0,0,0,0.25);
}

.browse-btn:hover{
    transform:translateY(-2px) scale(1.02);
    box-shadow:0 10px 20px rgba(0,0,0,0.3);
}

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

    .headerIndex{
        min-height:220px;
        padding:10px 12px;
    }

    .top-header{
        flex-direction:column;
        gap:10px;
        text-align:center;
    }

    .header-text{
        padding:16px;
    }

    .header-text h1{
        font-size:24px;
    }

    .header-text p{
        font-size:13px;
    }

    .header-actions{
        justify-content:center;
    }
}


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

.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;
}

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