/* =====================================================
   INDEX PAGE CUSTOM STYLES
   ===================================================== */

/* =================== Village Section Styles =================== */

.village-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Optional hover zoom */
.hover-img-zoom:hover .village-img {
    transform: scale(1.1);
}

/* Village Listing Card Styles */
.listing-block-3 {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: 100%;
}

.listing-block-3:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.entry-content-wrapper {
    padding: 18px;
}

.entry-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.entry-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-title a:hover {
    color: #0a4d8c;
}

.entry-content p {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 5px;
}

.entry-content i {
    font-size: 14px;
    vertical-align: middle;
}

.entry-footer .btn-link {
    font-size: 13px;
    font-weight: 500;
    color: #0a4d8c;
    text-decoration: none;
    transition: all 0.3s ease;
}

.entry-footer .btn-link:hover {
    letter-spacing: 0.5px;
}

/* =================== Property Category Section =================== */
.property-category-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.property-category-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(10, 77, 140, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.property-category-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(249, 168, 37, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Category Badge */
.category-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(10, 77, 140, 0.1);
    color: #0a4d8c;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    margin-bottom: 20px;
}

/* Category Title */
.category-title {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.2;
}

/* Category Description */
.category-description {
    font-size: 16px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Category Card */
.category-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0a4d8c, #f9a825);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.category-card:hover::before {
    transform: scaleX(1);
}

/* Category Icon */
.category-icon-wrapper {
    margin-bottom: 24px;
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    transition: all 0.4s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
    border-radius: 25px;
}

.category-icon i {
    font-size: 36px;
    transition: all 0.3s ease;
}

/* Category Card Title */
.category-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.category-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-card-title a:hover {
    color: #0a4d8c;
}

/* Category Card Description */
.category-card-description {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Category Link */
.category-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #0a4d8c;
    text-decoration: none;
    padding: 8px 0;
    transition: all 0.3s ease;
    position: relative;
}

.category-link span {
    position: relative;
}

.category-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.category-link:hover {
    color: #f9a825;
    gap: 12px;
}

.category-link:hover i {
    transform: translateX(4px);
}

.category-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #f9a825;
    transition: width 0.3s ease;
}

.category-link:hover::after {
    width: 100%;
}

/* =================== Booking Banner Styles =================== */
.paraxify {
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.bg-white {
    background-color: #fff;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.bg-white:hover {
    transform: translateY(-3px);
}

/* =================== Property Agent Section =================== */
/* Agent Badge */
.member-block-2 .entry-thumbnail {
    position: relative;
}

.agent-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f9a825;
    color: #fff;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 20px;
    font-weight: 500;
    z-index: 2;
}

/* Agent Stats */
.agent-stats small {
    font-size: 11px;
    color: #6c757d;
}

.agent-stats i {
    font-size: 12px;
    margin-right: 2px;
}

/* =================== Blog Section =================== */
/* Featured Badge on Blog */
.entry-thumbnail {
    position: relative;
}

.featured-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f9a825;
    color: #fff;
    font-size: 10px;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 500;
    z-index: 2;
}

/* =================== View All Button =================== */
.btn-view-all {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: transparent;
    color: #8906e6;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #8906e6;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-view-all i {
    transition: transform 0.3s ease;
}

.btn-view-all:hover {
    background: #8906e6;
    color: #ffffff;
    border-color: #8906e6;
}

.btn-view-all:hover i {
    transform: translateX(6px);
}

/* =================== Partners Section Styles =================== */
.partners-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    position: relative;
    overflow: hidden;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(10, 77, 140, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.partners-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(249, 168, 37, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Partners Badge */
.partners-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(10, 77, 140, 0.1);
    color: #0a4d8c;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 30px;
    margin-bottom: 20px;
}

/* Partners Title */
.partners-title {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.2;
}

/* Partners Description */
.partners-description {
    font-size: 16px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Partners Grid */
.partners-grid {
    margin-top: 48px;
    position: relative;
    z-index: 1;
}

/* Partner Item */
.partner-item {
    padding: 15px;
}

/* Partner Card - Fixed Size Box */
.partner-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #8906e6;
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(10, 77, 140, 0.1);
}

.partner-card:hover::before {
    transform: scaleX(1);
}

/* Partner Link */
.partner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* Partner Logo Wrapper - Fixed Size Container */
.partner-logo-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Partner Logo - Fixed Size Image */
.partner-logo {
    max-width: 120px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: grayscale(0%);
}

.partner-card:hover .partner-logo {
    transform: scale(1.05);
}

/* Partner Placeholder - For missing logos */
.partner-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.placeholder-initials {
    width: 60px;
    height: 60px;
    background: #8906e6;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-transform: uppercase;
}

.placeholder-name {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    text-align: center;
}

/* View All Partners Button */
.btn-partners-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    background: transparent;
    color: #8906e6;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #8906e6;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-partners-view i {
    transition: transform 0.3s ease;
}

.btn-partners-view:hover {
    background: #8906e6;
    color: #ffffff;
    border-color: #8906e6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 77, 140, 0.2);
}

.btn-partners-view:hover i {
    transform: translateX(6px);
}

/* =================== Owl Carousel Customization =================== */
.partner-slider {
    margin: -15px;
}

.owl-carousel .owl-stage {
    display: flex;
    align-items: center;
}

.owl-carousel {
    display: flex;
    justify-content: center;
}

/* Owl Carousel Navigation */
.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 -20px;
}

.owl-carousel .owl-nav button {
    pointer-events: auto;
    width: 40px;
    height: 40px;
    background: #ffffff !important;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.owl-carousel .owl-nav button:hover {
    background: #0a4d8c !important;
    transform: scale(1.05);
}

.owl-carousel .owl-nav button span {
    font-size: 24px;
    color: #0a4d8c;
    line-height: 1;
}

.owl-carousel .owl-nav button:hover span {
    color: #ffffff;
}

/* Owl Carousel Dots */
.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 40px;
}

.owl-carousel .owl-dot {
    display: inline-block;
    margin: 0 6px;
}

.owl-carousel .owl-dot span {
    width: 8px;
    height: 8px;
    background: #cbd5e1;
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
}

/* =================== Responsive Design =================== */
@media (max-width: 1200px) {
    .category-title,
    .partners-title {
        font-size: 32px;
    }
    
    .partner-card {
        height: 140px;
        padding: 25px 15px;
    }
    
    .partner-logo {
        max-width: 100px;
        max-height: 60px;
    }
}

@media (max-width: 992px) {
    .property-category-section,
    .partners-section {
        padding: 60px 0;
    }
    
    .category-title,
    .partners-title {
        font-size: 28px;
    }
    
    .partner-card {
        height: 130px;
        padding: 20px 15px;
    }
    
    .partner-logo {
        max-width: 90px;
        max-height: 55px;
    }
}

@media (max-width: 768px) {
    .property-category-section,
    .partners-section {
        padding: 50px 0;
    }
    
    .category-title,
    .partners-title {
        font-size: 24px;
    }
    
    .category-description,
    .partners-description {
        font-size: 14px;
    }
    
    .entry-title {
        font-size: 16px;
    }
    
    .entry-content p {
        font-size: 12px;
    }
    
    .bg-white {
        padding: 25px !important;
    }
    
    .bg-white h3 {
        font-size: 20px;
    }
    
    .bg-white p {
        font-size: 14px;
    }
    
    .partner-card {
        height: 120px;
        padding: 20px 12px;
    }
    
    .partner-logo {
        max-width: 80px;
        max-height: 50px;
    }
    
    .owl-carousel .owl-nav {
        display: none;
    }
    
    .btn-partners-view,
    .btn-view-all {
        padding: 10px 28px;
        font-size: 14px;
    }
    
    .fact-counter .count {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .agent-stats {
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .property-category-section,
    .partners-section {
        padding: 40px 0;
    }
    
    .category-title,
    .partners-title {
        font-size: 22px;
    }
    
    .category-card {
        padding: 20px 16px;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
    }
    
    .category-icon i {
        font-size: 26px;
    }
    
    .partner-card {
        height: 110px;
        padding: 15px 10px;
    }
    
    .partner-logo {
        max-width: 70px;
        max-height: 45px;
    }
    
    .placeholder-initials {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .placeholder-name {
        font-size: 10px;
    }
}
/* ===== Responsive Fix (Only if needed) ===== */

/* Tablet */
@media (max-width: 991px) {
    .magazine-services-title {
        font-size: 32px;
    }

    .category-title {
        font-size: 26px;
    }

    .category-description {
        font-size: 15px;
    }
}

/* Mobile */
@media (max-width: 767px) {

    .magazine-services-banner {
        padding: 60px 15px;
        text-align: center;
    }

    .magazine-services-title {
        font-size: 26px;
        line-height: 1.3;
    }

    .page-title-wrapper h6 {
        font-size: 14px;
        padding: 0 10px;
    }

    .category-card {
        padding: 20px 15px;
    }

    .category-card-title {
        font-size: 18px;
    }

    .category-card-description {
        font-size: 14px;
    }

    .category-image-icon img {
        width: 120px !important;
    }
}

/* Small Mobile */
@media (max-width: 480px) {

    .magazine-services-title {
        font-size: 22px;
    }

    .category-title {
        font-size: 22px;
    }

    .category-card {
        padding: 15px;
    }
}