/* Media query for mobile devices */
@media (max-width: 768px) {
    #additional-features {
        width: 100% !important; /* Set full width */
        padding: 10px; /* Adjust padding as needed */
        margin: 0 auto; /* Centering might still be desired */
        box-sizing: border-box; /* Ensures padding does not add to the width */
    }

    #additional-features h2 {
        width: 100%; /* Set full width */
        margin: 0; /* Remove margins if necessary */
        padding: 10px 0; /* Optional: Add some vertical padding */
        box-sizing: border-box; /* Ensures padding does not add to the width */
    }

    #additional-features p {
        width: 100%; /* Set full width */
        margin: 10px 0; /* Adjust margins as needed */
        padding: 0 15px; /* Add horizontal padding for better text alignment */
        box-sizing: border-box; /* Ensures padding does not add to the width */
    }

    .feature-parent-card {
        width: 100% !important;
    }
}

#additional-features {
    text-align: center;
    padding: 20px;
    margin: auto;
    width: 80%;
}

.feature-parent-card {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px #888888;
    width: 75%;
    margin: 0 auto; /* Center the parent card */
}

#additional-features h2, #additional-features p {
    margin-bottom: 20px;
}


.feature-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; /* Space between the cards */
}

.feature-card {
    display: flex;
    align-items: center;
    background-color: #444;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    height: 100px; /* Adjust height to make the card thin */
    cursor: pointer;
}

.feature-card img {
    width: 33%;
    height: 100%;
    object-fit: cover;
}

.feature-button {
    border: none;
    background-color: #444;
    color: white;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    text-align: left;
    text-decoration: none; /* Ensure links have no underline */
    width: 67%;
    display: block;
    height: 100%; /* Ensure the button height matches the card */
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.feature-button:hover {
    background-color: #555;
    transform: scale(1.05);
    color: #ff7b00; /* Change text color to #ff7b00 on hover */
    text-decoration: none;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .feature-container {
        grid-template-columns: 1fr; /* Stack the feature cards vertically */
    }
}
