/*==============================
Action Buttons 
==============================*/

.card-actions{

    position:absolute;

    top:15px;

    right:15px;

    display:flex;

    gap:8px;

}

.card-action-btn{

    width:38px;

    height:38px;

    border:none;

    border-radius:50%;

    background:rgba(255,255,255,.9);

    cursor:pointer;

}

/*==================================
SAVE PROPERTY CSS 
==================================*/

.save-property-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .25s;
}

.save-property-btn svg{

    width:20px;

    height:20px;

      
    fill: black;
    
    
    transition:.25s;
    
    display: block;

}

.save-property-btn.saved{

    background:#ffffff;

}

.save-property-btn.saved svg{

    fill:#e53935;
       
}

.heart-pop{

    animation:heartPop .35s;

}

@keyframes heartPop{

    0%{

        transform:scale(.7);

    }

    50%{

        transform:scale(1.25);

    }

    100%{

        transform:scale(1);

    }

}

/* ==========================
   Saved Properties Button
========================== */

.saved-link{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:10px 18px;
    background:#ffffff;
    color:#333;
    text-decoration:none;
    border:1px solid #e5e7eb;
    border-radius:50px;
    font-size:15px;
    font-weight:600;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
    transition:.3s ease;
    position: absolute;
    position: fixed;
    left:5px;
    bottom:100px;
    z-index:9999;
}

.saved-link:hover{
    background:#198754;
    color:#fff;
    border-color:#198754;
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(25,135,84,.25);
}

.saved-icon{
    font-size:18px;
    line-height:1;
}

.saved-count{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:24px;
    height:24px;
    padding:0 8px;
    background:#dc3545;
    color:#fff;
    font-size:12px;
    font-weight:700;
    border-radius:999px;
    line-height:1;
    transition:.3s;
}

.saved-link:hover .saved-count{
    background:#fff;
    color:#dc3545;
}

.saved-link:active{
    transform:scale(.97);
}

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

    .saved-link{
        padding:8px 14px;
        gap:8px;
        font-size:14px;
    }

    .saved-icon{
        font-size:16px;
    }

    .saved-count{
        min-width:22px;
        height:22px;
        font-size:11px;
    }

}


/*==================================
TOAST
==================================*/

#ifh-toast{

    position:fixed;

    left:50%;

    bottom:28px;

    transform:translateX(-50%) translateY(80px);

    background:#212529;

    color:#fff;

    padding:14px 22px;

    border-radius:50px;

    font-weight:600;

    z-index:99999;

    opacity:0;

    transition:.3s;

    pointer-events:none;

}

#ifh-toast.show{

    opacity:1;

    transform:translateX(-50%) translateY(0);

}


/*New SHARE PANEL CSS*/
.share-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.55);

    z-index:9998;

}

.share-modal{

    position:fixed;

    left:50%;

    bottom:20px;

    transform:translateX(-50%);

    width:360px;

    max-width:95vw;

    background:#fff;

    border-radius:22px;

    padding:18px;

    z-index:9999;

    box-shadow:0 25px 60px rgba(0,0,0,.35);

    animation:shareUp .25s ease;

}

@keyframes shareUp{

    from{

        transform:translate(-50%,40px);

        opacity:0;

    }

    to{

        transform:translate(-50%,0);

        opacity:1;

    }

}

.share-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:18px;

}

.share-header h3{

    margin:0;

    font-size:20px;

}

.share-close{

    border:none;

    background:none;

    font-size:28px;

    cursor:pointer;

}

.share-grid{

    display: grid;

    grid-template-columns:repeat(3,1fr);

    gap:16px;

}

.share-item{

    border:none;

    background:none;

    cursor:pointer;

    display:flex;

    flex-direction:column;

    align-items:center;

}

.share-item span{

    margin-top:8px;

    font-size:13px;

}

.share-icon{

    width:60px;

    height:60px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:28px;

    color:#fff;

}

.whatsapp{

    background:#25D366;

}

.facebook{

    background:#1877F2;

}

.twitter{

    background:#111;

}

.telegram{

    background:#229ED9;

}

.email{

    background:#6c757d;

}

.copy{

    background:#198754;

}

.more{

    background:#ff9800;

}








/* ==========================================================
   FOOTER
========================================================== */

.site-footer{
    background:#0f172a;
    color:#cbd5e1;
    padding:70px 0 25px;
    position:relative;
    overflow:hidden;
}

.site-footer::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:4px;
    background:linear-gradient(90deg,#228B22,#16a34a,#22c55e);
}

/* ==========================================================
   LOGO
========================================================== */

.footer-logo{
    display:inline-flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    margin-bottom:20px;
}

.footer-logo img{
    width:48px;
    height:48px;
    object-fit:contain;
}

.footer-logo span{
    font-size:1.45rem;
    font-weight:700;
    color:#ffffff;
    letter-spacing:.3px;
}

/* ==========================================================
   DESCRIPTION
========================================================== */

.footer-description{
    margin:0 0 25px;
    line-height:1.8;
    color:#94a3b8;
    font-size:.96rem;
    max-width:340px;
}

/* ==========================================================
   TITLES
========================================================== */

.site-footer h5{
    color:#ffffff;
    font-size:1.1rem;
    font-weight:700;
    margin-bottom:20px;
    position:relative;
    padding-bottom:10px;
}

.site-footer h5::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:45px;
    height:3px;
    border-radius:30px;
    background:#228B22;
}

/* ==========================================================
   LINKS
========================================================== */

.footer-links{
    list-style:none;
    margin:0;
    padding:0;
}

.footer-links li{
    margin-bottom:12px;
}

.footer-links li:last-child{
    margin-bottom:0;
}

.footer-links a{
    color:#cbd5e1;
    text-decoration:none;
    transition:all .3s ease;
    display:inline-block;
    position:relative;
}

.footer-links a:hover{
    color:#22c55e;
    transform:translateX(6px);
}

/* ==========================================================
   SOCIAL ICONS
========================================================== */

.footer-social{
    display:flex;
    align-items:center;
    gap:12px;
    margin-top:15px;
}

.footer-social a{
    width:42px;
    height:42px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    color:#ffffff;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.08);
    transition:all .3s ease;
}

.footer-social a:hover{
    background:#228B22;
    border-color:#228B22;
    transform:translateY(-5px);
}

.footer-social i{
    font-size:1.15rem;
}

/* ==========================================================
   FOOTER BOTTOM
========================================================== */

.footer-bottom{
    margin-top:55px;
    padding-top:25px;
    border-top:1px solid rgba(255,255,255,.12);
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
    color:#94a3b8;
    font-size:.95rem;
}

/* ==========================================================
   BACK TO TOP
========================================================== */

.back-to-top{
    position:fixed;
    right:25px;
    bottom:25px;
    width:50px;
    height:50px;
    border:none;
    outline:none;
    border-radius:50%;
    background:#228B22;
    color:#fff;
    font-size:1.2rem;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    opacity:0;
    visibility:hidden;
    transform:translateY(20px);
    transition:all .3s ease;
    z-index:999;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
}

.back-to-top.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.back-to-top:hover{
    background:#166534;
    transform:translateY(-5px);
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:991.98px){

    .site-footer{
        padding:60px 0 25px;
    }

    .footer-bottom{
        justify-content:center;
        text-align:center;
    }

}

@media (max-width:767.98px){

    .site-footer{
        text-align:center;
    }

    .footer-logo{
        justify-content:center;
    }

    .footer-description{
        margin-left:auto;
        margin-right:auto;
    }

    .footer-social{
        justify-content:center;
    }

    .site-footer h5::after{
        left:50%;
        transform:translateX(-50%);
    }

}

