/* Default Light Mode Styles */
body {
    background-color: #ECF0F1 !important;
    display: flex;
    flex-direction: column;
}

/* Ensure the footer is always at the bottom */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.container {
    flex: 1;
}

footer {
    flex-shrink: 0;
    background-color: #343a40;
    color: white;
    text-align: center;
    padding: 15px;
}



/* Button Group Styling */
.btn-group .btn {
    transition: all 0.3s ease-in-out;
}

.btn-group .btn:hover {
    background-color: #0056b3;
}

/* Button Container */
.button-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background-color: inherit; /* Match card background */
    display: flex;
    justify-content: space-between; /* Space buttons evenly */
    gap: 10px; /* Add gap between buttons */
}

.button-container .btn {
    flex: 1; /* Make buttons take equal space */
}

/* Card Styling */
.card {
    background-color: #e4f49d;
    margin-bottom: 20px;
    height: 500px;
    display: flex;
    flex-direction: column;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-text, .tech-stack, .challenges {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    line-clamp: 2;
    -webkit-box-orient: vertical;
}


.project-img {
    height: 180px;
    object-fit: cover;
}

/* Fade-in Animation */
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}