/* NIGERIA.css - Matching UAE.css styling exactly */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HERO HEADER - Full width golden background */
.hero {
    background: grey;
    color: whitesmoke;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Properties grid with 4 cards per row */
.property-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    padding-bottom: 100px;
}

/* Property card with consistent height and flexbox */
.property-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.property-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e3c72;
}

/* Content area with flexible layout */
.property-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.property-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: black;
}

.property-location, .property-size {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: #666;
    font-size: 0.9rem;
}

.property-location i, .property-size i {
    margin-right: 8px;
    color: #1e3c72;
}

/* Price styling */
.property-price {
    margin: 15px 0;
    text-align: center;
}

.price-amount {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 5px;
}

.price-type {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.property-description {
    margin: 15px 0;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 1;
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

/* YELLOW feature text like UAE.css */
.property-features span {
    background: #f0f5ff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: black; /* Yellow text like UAE.css */
    display: flex;
    align-items: center;
}

.property-features i {
    margin-right: 5px;
}

/* View Details Button */
.view-details-btn {
    width: 100%;
    padding: 12px;
    background: #1e3c72;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: auto;
}

.view-details-btn:hover {
    background: #2a5298;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .property-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }
}

@media (max-width: 900px) {
    .property-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .property-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}