@charset "utf-8";
/* CSS Document */

/* General Body Styling (Scoped to AANHPI Content) */
#aanhpi-content {
    background-color: #0E2240; /* Deep blue background */
    color: #ffffff; /* White text for contrast */
    font-family: Arial, sans-serif; /* Use a clean, readable font */
}

#aanhpi-content .hero img {
    border-bottom: 5px solid #FEC524; /* Adds a golden trim below the hero image */
}

/* Card Styling (Scoped to AANHPI Content) */
#aanhpi-content .card {
    background-color: #ffffff; /* White background for contrast */
    border: 1px solid #FEC524; /* Subtle golden border */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    border-radius: 8px; /* Rounded corners */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    display: flex; /* Flexbox for alignment */
    flex-direction: column; /* Arrange elements vertically */
    justify-content: space-between; /* Push content and button apart */
    height: 100%; /* Ensure consistent height */
}

#aanhpi-content .card:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}

/* Card Image */
#aanhpi-content .card-img-top {
    border-bottom: 3px solid #8B2131; /* Adds a red accent below the image */
    border-radius: 8px 8px 0 0; /* Match card's rounded corners */
}

/* Card Body */
#aanhpi-content .card-body {
    display: flex;
    flex-direction: column; /* Stack content and buttons */
    justify-content: space-between; /* Distribute content and buttons evenly */
    flex: 1; /* Allow the card body to grow */
}

/* Card Titles */
#aanhpi-content .card-title {
    color: #0E2240; /* Deep blue title for contrast */
    font-weight: bold;
    text-transform: uppercase; /* Makes the titles stand out */
    border-bottom: 3px solid #FEC524; /* Adds a golden underline */
    padding-bottom: 8px;
    font-size: 1.25rem; /* Slightly larger for emphasis */
    text-align: center; /* Center aligns the title */
}

/* Card Text */
#aanhpi-content .card-text {
    color: #333333; /* Neutral text color for readability */
    font-size: 0.9rem;
    line-height: 1.5; /* Comfortable spacing */
    flex-grow: 1; /* Ensures text fills available space */
    margin-bottom: 1rem; /* Adds spacing above the button */
}

/* Align Buttons Side by Side */
#aanhpi-content .btn-group {
    display: flex; /* Flexbox for buttons */
    justify-content: center; /* Center-align buttons */
    gap: 10px; /* Add spacing between buttons */
    margin-top: auto; /* Push the button group to the bottom of the card */
}

#aanhpi-content .btn {
    margin: 0; /* Reset any margins on buttons */
}

/* Buttons */
#aanhpi-content .btn-primary {
    background-color: #8B2131; /* Red background */
    border: none;
    color: #ffffff; /* White text */
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease;
}

#aanhpi-content .btn-primary:hover {
    background-color: #FEC524; /* Golden background on hover */
    color: #0E2240; /* Deep blue text on hover */
    transform: scale(1.05); /* Slight enlargement */
}
.my-3 {
    margin-top: 1rem !important;
    margin-bottom: 1px !important;
}
.my-5 {
    margin-bottom: 0 !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #aanhpi-content .card-title {
        font-size: 1.1rem; /* Slightly smaller on mobile */
    }
    #aanhpi-content .btn-primary {
        padding: 8px 16px;
    }
}
