
body {
    background-color: var(--off-white);
}

/* Page Header Styles */
.page-header {
    padding: 2.5rem 0;
    text-align: center;
    background-color: var(--primary-light);
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
}

.page-header h1 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.page-header p {
    color: var(--text-color-muted);
    font-size: 1.1rem;
}

/* Sponsored Lands Section */
.sponsored-lands {
    margin-bottom: 2.5rem;
}

.section-title {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.sponsored-badge {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.2rem 0.7rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    margin-right: 0.8rem;
    font-weight: 500;
}

.sponsored-lands-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-light);
}

.sponsored-lands-slider::-webkit-scrollbar {
    height: 6px;
}

.sponsored-lands-slider::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

.sponsored-lands-slider::-webkit-scrollbar-track {
    background-color: var(--bg-light);
}

.sponsored-land-card {
    flex: 0 0 auto;
    width: 360px;
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--primary-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sponsored-land-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(39, 174, 96, 0.15);
}

.sponsored-badge-corner {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    border-bottom-right-radius: var(--radius-sm);
    z-index: 1;
}

/* Lands Grid Section Styles */
.lands-section {
    margin-bottom: 3rem;
}

.lands-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.lands-header h2 {
    font-size: 1.3rem;
    color: var(--text-color);
    font-weight: 600;
}

.lands-sort {
    display: flex;
    align-items: center;
}

.lands-sort label {
    margin-left: 0.8rem;
    color: var(--text-color-muted);
}

.sort-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    color: var(--text-color);
    background-color: white;
}

.lands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.land-card {
    background-color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.land-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.new-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 1;
}




.land-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.land-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.land-card:hover .land-image img {
    transform: scale(1.05);
}

.land-area {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
}

.land-details {
    padding: 1.2rem;
}

.land-details h3 {
    margin-bottom: 0.7rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.4;
}

.land-location {
    margin-bottom: 0.8rem;
    color: var(--text-color-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.land-location i {
    margin-left: 0.4rem;
    color: var(--primary-color);
}

.land-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.land-features span {
    background-color: var(--bg-light);
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-color-muted);
    display: flex;
    align-items: center;
}

.land-features span i {
    margin-left: 0.4rem;
    color: var(--primary-color);
}

.land-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.land-btn {
    width: 100%;
    padding: 0.7rem;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background-color: white;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    transition: var(--transition);
    text-decoration: none;
}

.next-page {
    width: auto;
    padding: 0 1rem;
}

.page-link.active,
.page-link:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .sponsored-lands-slider {
        flex-wrap: nowrap;
    }
    
    .sponsored-land-card {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .lands-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .lands-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .lands-grid {
        grid-template-columns: 1fr;
    }
    
    .sponsored-land-card {
        width: 100%;
    }
}