.container-header {
    margin-top: 90px;
    min-height: 555px; /* Use min-height instead of fixed height */
    background-color: #f0f0f0; /* Optional: Background color for visibility */
    padding-bottom: 80px; /* Add padding to prevent overlap */
}

.banner-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 20px; /* Add padding for spacing */
    text-align: center; /* Center text */
    max-width: px;
}

.container-header h1 {
    font-size: 3rem; /* Use responsive units */
    font-weight: bold;
}

.container-header p {
    font-size: 1.2rem; /* Use responsive units */
    margin-bottom: 1rem; /* Add margin */
}

.container-header button {
    font-size: 1.2rem; /* Responsive font size */
    height: 55px;
    width: 187px;
    background-color: #1D73BE; /* Button background color */
    color: white; /* Text color */
    cursor: pointer; /* Cursor pointer on hover */
    border-radius: 0%;
    margin-top: 20px; /* Add margin to separate from text */
}

.container-header button:hover {
    background-color: black; /* Darker background on hover */
}

.container-keyfeatures {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 50px 70px;
    padding-top: 20px;
}

.container-keyfeatures h1 {
    font-size: 3rem; /* Use responsive units */
    font-weight: bold;
    text-align: center; /* Center align text */
}

.container-keyfeatures .text-left p {
    font-size: 1.2rem; /* Use responsive units */
    text-align: center; /* Center align text */
}

.container-keyfeatures .card {
    min-height: 100px; /* Increase minimum height */
    border: none !important;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08); /* Custom shadow */
    transition: transform 0.3s; /* Smooth transition */
    display: flex;
    flex-direction: row; /* Ensure row layout */
    padding: 15px; /* Add padding */
    opacity: 0; /* Start hidden */
    transform: translateY(50px); /* Start slightly lower */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out; /* Smooth transition */
}

.container-keyfeatures .image-container {
    padding: 0 10px; /* Adjust padding */
}

.card-img {
    width: auto !important; /* Prevents stretching to 100% width */
    height: 86px; /* Sets a fixed height */
    object-fit: contain; /* Maintains aspect ratio */    
}

.card-body {
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allow body to grow */
}

.card-body h2 {
    font-size: 1.5rem; /* Use responsive units */
    margin-bottom: 0.5rem; /* Add margin */
}

.card-body p {
    font-size: 1rem; /* Use responsive units */
}

/* Media Queries for Mobile Devices */
@media (max-width: 768px) {
    .container-header h1 {
        font-size: 2rem; /* Adjust font size for smaller screens */
    }

    .container-header p {
        font-size: 1rem; /* Adjust font size for smaller screens */
    }

    .container-keyfeatures .card {
        flex-direction: column; /* Stack content vertically */
        text-align: center; /* Center text */
        align-items: center; /* Center align */
        padding: 20px; /* Add padding */
    }
    
    .container-keyfeatures .image-container {
        margin-bottom: 10px; /* Add margin for spacing */
    }
}
/* Keyframes for the float-in animation */
@keyframes floatIn {
    0% {
        opacity: 0;
        transform: translateY(50px); /* Start slightly lower */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* End at original position */
    }
}

/* Active state for cards - float-in animation */
.container-keyfeatures .card.float-in {
    opacity: 1; /* Fade in */
    transform: translateY(0); /* Move to the original position */
}

/* Optional: Stagger animation for each card for a nicer effect */
.container-keyfeatures .card:nth-child(1).float-in {
    transition-delay: 0.2s;
}

.container-keyfeatures .card:nth-child(2).float-in {
    transition-delay: 0.4s;
}

.container-keyfeatures .card:nth-child(3).float-in {
    transition-delay: 0.6s;
}

.container-keyfeatures .card:nth-child(4).float-in {
    transition-delay: 0.8s;
}