* {
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #000;
    --secondary-color: #fff;
    --tertiary-color: #666;
    --quaternary-color: #f0f0f0;
    --quinary-color: #e0e0e0;
    --senary-color: #d0d0d0;
    --seventh-color: #dcdcdc;
    --gray-color: #808080;
    --maincolor: #000435;
    --theme-gold: #BF9746;
    --theme-brown: #3C2D25;
    --theme-lightBrown: #7B5523;
    --theme-darkYellow: #956C28;


}

.main-color {
    color: var(--maincolor);
}

.btn-luxury {
    background: linear-gradient(135deg, #c38c34 0%, #f1cb82 50%, #e2c169 100%);
}

.gray-color {
    color: var(--tertiary-color);
}

.project-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s;
    display: flex !important;
    flex-direction: column;
    height: 100%;
    /*flex: 1;*/
    width: 100%;
}

/* Ensure rows stretch columns to equal height */
.residential-projects .row,
.commercial-projects .row {
    display: flex !important;
    flex-wrap: wrap;
    align-items: stretch !important;
}

/* Make columns flex containers */
.residential-projects .row>.col-md-4,
.commercial-projects .row>.col-md-4 {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
}

/* Make anchor tags stretch to full column height */
.residential-projects .col-md-4>a,
.commercial-projects .col-md-4>a {
    display: flex !important;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    width: 100%;
    flex: 1;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    flex-shrink: 0;
}

.project-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.project-location {
    color: #666;
    margin-bottom: 15px;
}

.project-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.project-detail-item {
    flex: 1;
    min-width: 120px;
    margin: 5px 0;
}

.project-detail-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
}

.project-detail-value {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.view-project-btn {
    width: 100%;
    padding: 12px;
    background: var(--maincolor);
    color: white;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: background 0.3s;
    margin-top: auto;
    flex-shrink: 0;
}

.view-project-btn:hover {
    background: var(--primary-color);
    color: white;
}