.houses-list h1{
    text-align: center;
    font-size: 66px;
    font-weight: bold;
    color:rgb(9, 58, 113);
    margin-bottom: 20px;
    font-family:Arial, Helvetica, sans-serif;
}
.p{
    text-align: center;
    font-size: 20px;
    font-family:Arial, Helvetica, sans-serif;
    margin-bottom: 20px;
}


.houses{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:80px;

}

.house-card{
    background: #fff;
    border: 1px solid #ffffff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(9, 58, 113, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 18px;
    transition: box-shadow 0.3s;

    }

    .house-card:hover {
        box-shadow: 0 12px 40px rgba(9, 58, 113, 0.28);
        transform: translateY(-4px) scale(1.03);
}

.house-card h3{
    font-size: 26px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500;
    color: #093a71;
    margin-bottom: 12px;
    margin-top:20px;
}

.house-card p{
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500;
    color: #093a71;
    margin-bottom: 12px;
    margin-top:20px;

}

.house-card button{
    background: linear-gradient(90deg, #093a71 0%, #3a8dde 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(9, 58, 113, 0.12);
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;

}
.house-card button:hover {
    background: linear-gradient(90deg, #3a8dde 0%, #093a71 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 24px rgba(9, 58, 113, 0.18);
}


.house-card img{
    width:300px;
    height:300px;
}


.projects {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
}

.projects h2 {
    font-size: 60px;
    color: #063c76;
    margin-bottom: 40px;
    font-family:Arial, Helvetica, sans-serif;
}

/* Grid Layout */
.project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 per row */
    gap: 20px;
}

.project-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.project-grid img:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1024px) {
    .project-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 per row */
    }
}

@media (max-width: 768px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 per row */
    }
}

@media (max-width: 480px) {
    .project-grid {
        grid-template-columns: 1fr; /* single column */
    }
}


@media (max-width: 1024px) {
    .houses {
        gap: 40px;
        flex-wrap: wrap;
    }
    .house-card img {
        width: 260px;
        height: 260px;
    }
    .houses-list h1 {
        font-size: 48px;
    }
}

/* Small tablets & large phones */
@media (max-width: 768px) {
    .houses {
        flex-direction: column;
        gap: 30px;
    }
    .house-card img {
        width: 90%;
        height: auto;
        max-width: 350px;
    }
    .house-card h3 {
        font-size: 22px;
    }
    .house-card p {
        font-size: 15px;
    }
    .house-card button {
        font-size: 16px;
        padding: 10px 24px;
    }
    .houses-list h1 {
        font-size: 36px;
    }
    .p {
        font-size: 18px;
    }
}

/* Phones */
@media (max-width: 480px) {
    .houses-list h1 {
        font-size: 28px;
    }
    .p {
        font-size: 16px;
    }
    .house-card img {
        width: 100%;
        height: auto;
    }
    .house-card h3 {
        font-size: 20px;
    }
    .house-card p {
        font-size: 14px;
    }
    .house-card button {
        font-size: 14px;
        padding: 8px 20px;
    }
}
