body, html {
    height: 100%;
    background: #f3f4f6;
}

/* Main container - fully responsive */
.edi-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
}

.main-content {
    min-height: 50vh;
    display: flex;
    align-items: center;
}

/* Responsive heading */
.page-title {
    text-align: center;
    margin: 2vh 0;
    font-size: clamp(1.5rem, 4vh, 2.5rem);
}

.card-border {
    border-radius: 12px;
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
    transition: all 0.3s ease;
}

.card-border:hover {
    color: #000000;
    background: #dedede;
    transform: scale(1.1);
    box-shadow: rgb(38, 57, 77) 0px 25px 40px -10px;
}

/* Equal height cards CSS */
.equal-height-row {
    display: flex;
    flex-wrap: wrap;
}

.equal-height-row .col-lg-3 {  /* Changed from col-lg-4 to col-lg-3 to match your HTML */
    display: flex;
    margin-bottom: 2rem;
}

.equal-height-row .card {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure full height */
}

.equal-height-row .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Distribute content evenly */
}

/* Make image container consistent */
.equal-height-row .card-img-top {
    height: 200px; /* Fixed height for all images */
    object-fit: cover; /* Maintain aspect ratio while filling the space */
    width: 100%;
}

/* Push button to bottom */
.equal-height-row .card-body .btn {
    margin-top: auto;
}

.card-image {
    height: 100px;
}