/*Featured Design Starts Here*/
 /* CARD */
.modern-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.modern-card:hover {
    transform: translateY(-6px);
}

/* IMAGE */
.modern-card-image {
    padding: 14px;
}

.modern-card-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 20px;
    /* Hover Effect */
    transition: transform 0.3s ease;
}

.modern-card-image img:hover{
    transform: scale(1.3);
}

/* BODY */
.modern-card-body {
    padding: 20px;
}

/* LOCATION ROW */
.modern-location-row {
    justify-content: space-between;
    font-size: 14px;
    color: #777;
    margin-bottom: 8px;
}

.modern-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 14px;
}

.modern-title a {
    text-decoration: none;
    color: #111;
}

/* AMENITIES */
.modern-amenities {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.modern-amenities span {
    background: #eee;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* BOTTOM ROW */
.modern-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.modern-price {
    font-size: 20px;
    font-weight: 700;
}

.modern-price span {
    font-size: 14px;
    font-weight: 400;
    color: #777;
}

.modern-btn {
    background: linear-gradient(135deg, #ffcc00, #ff9900);
    /*background: #ffc107;*/
    color: #000;
    padding: 6px 10px;
    border-radius: 14px;
    text-decoration: none;
    transition: 0.3s;
    font-size: 14px;
}

.modern-btn:hover {
    background: #155ac0;
    color:#fff;
}

/* BADGES */
.featured-badge-featured {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #ff6b4a;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}
/* Smooth transition */
.featured-slider .swiper-slide {
    transition: all 0.4s ease;
    transform: scale(0.9);
}

/* Active (center) slide */
.featured-slider .swiper-slide-active {
    transform: scale(1.05);
    margin-top: 10px;
}

/* Optional: make side slides slightly visible */
.featured-slider .swiper-slide-prev,
.featured-slider .swiper-slide-next {
    transform: scale(0.85);
    
}
.swiper-button-next,
.swiper-button-prev {
    background: transparent;
    width: 30px;
    height: 30px;
    color: #000;
    font-weight: 700;
    margin: -10px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
}
@media screen and (max-width: 767px) {
    .modern-price {
        font-size: 15px;
        
    }
    .modern-btn {
        padding: 6px 10px;
    }
    .custom-nav {
        display: none !important;
    }
    .mb-50 {
        margin-bottom: 20px;
    }
    .mb-50 {
        margin-bottom: 20px;
    }
}
@media (min-width: 1441px) {
.container, .container-xxl{
    max-width: 1320px !important;
}
}
.theme-bg-gray{
    background:#eeeff2;
    padding: 20px;
}
   /*Featured Design Ends here*/
   /*Trending design starts here*/
   .custom-property-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    /*box-shadow: 0 4px 8px rgb(11 12 12 / 92%);*/
    transition: 0.3s;
    padding: 5px;
}

.trending-card-image {
    position: relative;
}

.trending-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    transition: .5s;
}
.trending-card-image:hover img {
    transform: scale(1.1);
}

/* Badges */
.card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
}

.badge {
    padding: 5px 10px;
    font-size: 11px;
    border-radius: 5px;
    margin-right: 5px;
    color: #fff;
}

.featured { background: #ff6b2c; }
.sale { background: #00bcd4; }
.rent { background: #6c63ff; }

/* Content */
.card-content {
    padding: 15px;
}

.card-content h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

.trending-location {
    font-size: 13px;
    color: #777;
}

.trending-price {
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0;
}

.trending-desc {
    font-size: 13px;
    color: #666;
    
}

/* Bottom Icons */
.card-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-top: 10px;
    color: #00bcd4;
}
.card-header {
    padding: 15px 15px 5px;
}

.card-header .trending-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 3px;
}

.card-header .trending-location {
    font-size: 13px;
    color: #888;
}

/* price row */
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price span {
    font-size: 13px;
    color: #888;
}

.badge.small {
    font-size: 10px;
    padding: 4px 8px;
}
/*Trending Design Ends here*/
/* Apartment villa plot style start here */ 
    /* MAIN CARD */
.modern-apartment-card {
    display: block;
    border-radius: 30px;
    overflow: hidden;
    background: #fff;
    padding: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
    transition: 0.4s ease;
    text-decoration: none;
}

.modern-apartment-card:hover {
    transform: translateY(-8px);
}

/* IMAGE */
.modern-apartment-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.modern-apartment-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.modern-apartment-image img:hover{
    transform: scale(1.3);
}
/* 🔥 Top Right Price */
.modern-price-top {
    position: absolute;
    top: 0px;
    right: 0px;
    background: linear-gradient(135deg, #244fa0, #183b84);
    color: #fff;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 0px 20px 0px 20px;
    z-index: 3;
    backdrop-filter: blur(6px);
}

/* GRADIENT OVERLAY */
.modern-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.4) 40%,
        rgba(0,0,0,0.1) 70%,
        rgba(0,0,0,0) 100%);
}

/* CONTENT INSIDE IMAGE */
.modern-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: #fff;
}

/* TITLE */
.modern-apartment-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 14px;
    color: #fff;
}

/* AMENITIES */
.modern-amenity {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.modern-amenity span {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* LOCATION ROW */
.modern-location {
    /*display: flex;*/
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 15px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .modern-apartment-image img {
        height: 300px;
    }
}
/* Tabs container */
.custom-tabs {
    border-bottom: 1px solid #eee;
}

/* Tab button */
.custom-tabs .nav-link {
    border: none;
    background: transparent;
    text-align: center;
    color: #888;
    font-weight: 500;
    padding: 10px 25px;
    transition: 0.3s;
}

/* Icon */
.tab-icon {
    font-size: 20px;
    margin-bottom: 5px;
}

/* Active tab */
.custom-tabs .nav-link.active {
    color: #0d1b2a;
    position: relative;
}

/* Underline animation */
.custom-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 20%;
    width: 60%;
    height: 2px;
    background: #0d1b2a;
}

/* Hover */
.custom-tabs .nav-link:hover {
    color: #000;
}

.content-subtitle{
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
}
/* Apartment villa plot style end here */

/*Project Card Design start here*/
.project-card {
    display: block;
    text-decoration: none;
}

.project-card-image {
    position: relative;
    height: 260px;
    border-radius: 25px;
    overflow: hidden;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transition: transform 0.4s ease;
}

.project-card-image:hover {
    transform: scale(1.02);
}

/* Top overlay gradient */
.project-card-overlay {
    position: absolute;
    inset: 0;
    padding: 30px;
    

    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    border-radius: 25px;   /* ADD THIS */
    
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.35) 40%,
        rgba(0,0,0,0.05) 80%
    );
}

.project-card-overlay h4 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 20px
}
.project-card-image::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    background: inherit;
    z-index: -1;
}

.project-card-overlay span {
    color: #fff;
    font-weight: 500;
    font-size: 16px;
}
/*Project Card design End here*/
/*Recommended Card design start here*/
.recommended-card {
    border-radius: 16px 0px 16px;
    overflow: hidden;
    position: relative;
    height: 420px;
}

.card-image {
    position: relative;
    height: 100%;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badge */
.badge-status {
    position: absolute;
    top: 0px;
    left: 0px;
    background: #204eab;
    color: #fff;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 16px 0px 16px;
    z-index: 2;
}

/* Bottom gradient overlay */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.1)
    );
    color: #fff;
}

/* Text styles */
.project-title {
    font-size: 22px;
    font-weight: 700;
   color:#fff;
}

.meta {
    font-size: 14px;
    margin-bottom: 6px;
    opacity: 0.9;
    color: #fff;
}

.meta i {
    margin-right: 6px;
}

.rec-price {
    font-size: 15px;
    color:#fff;
    font-weight: 700;
}

/*.price span {*/
/*    color: #ffc107;*/
/*    font-weight: 700;*/
/*}*/

/* Button */
.rec-btn-enquire {
    float: right;
    display: inline-block;
    background: #ffc107;
    color: #000;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.rec-btn-enquire:hover {
    background: #155ac0;
    color:#fff;
}

.property-type-img img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
}

.property-cat-item {
    transition: all 0.3s ease;
}

.property-cat-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.property-icon {
    padding: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff !important;
    border-radius: 50px;
    border: 1px dashed var(--primary) !important;
}
/*** Category ***/
        .property-cat-item div {
            background: #FFFFFF;
            border: 1px dashed rgba(114, 11, 34, 0.3);
            transition: .5s;
        }

        .property-cat-item:hover div {
            background: #fef7f6;
            border-color: transparent;
        }

        .property-cat-item div * {
            transition: .5s;
        }

        .property-cat-item:hover div * {
            color: #1e516f !important;
        }
/*Recommended card design end here*/

/*Post Property area start here*/
/* Phone */
.help-number {
    font-size: 36px;
    font-weight: 700;
    color: #1e2a78;
    margin-top: 10px;
    text-align: center;
}

.help-number a {
    color: inherit;
    text-decoration: none;
}
/* Buttons */
.help-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 15px 15px;
    border-radius: 12px;
}

/* Common button */
.help-btn {
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s;
}

/* Call button */
.call-btn {
    background: #21c4c4;
    color: #fff;
}

.call-btn:hover {
    background: #1bb1b1;
}
    /* WhatsApp button */
.whatsapp-btn {
    background: #25D366;
    color: #fff;
}

.whatsapp-btn:hover {
    background: #1ebe5d;
}
/*Post Property area design end here*/
