/* ./css/infohome.css */

/* The main container for our new info section */
#info-section {
    text-align: center;
    padding: 20px 20px;
    /* THEME: A very light green, matching the hue of your navigation bar */
    background-color: #f8f9fa; 
    border-radius: 10px;
    /* margin-top: 0px; */
}

/* A container for the cards to enable a flexible layout */
.info-cards-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 10px;
}

/* Styling for each individual card */
.info-card {
    background-color: #9fdbca;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 30px;
    text-align: center;
    
    /* THEME: Added a top border using the main navigation color for a formal accent */
    border-top: 4px solid #055f46;
    border-bottom: 6px solid #055f46;


    flex-basis: 200px; 
    flex-grow: 1;
    max-width: 250px;
    
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* The "interactive" part: the card lifts up and the shadow grows on hover */
.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* The "interactive emoji" icon */
.info-card-icon {
    font-size: 2.5rem; /* Adjusted slightly to fit perfectly in the new circle */
    margin-bottom: 20px;
    line-height: 1;

    /* THEME: Added a background circle to make the icon a deliberate design element */
    background-color: #e6f0ee; /* A light, complementary green */
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

/* Styling for the card's title */
.info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    /* THEME: This color already matches your navigation bar, which is perfect */
    color: #024936; 
}

/* Styling for the card's description text */
.info-card p {
    font-size: 1rem;
    color: #002d72;
    line-height: 1.6;
}

/* Welcome Hero Section */
#welcome-hero {
    text-align: center;
    padding: 10px 10px;
    background-color: #e6f0ee; /* A light, complementary green from the icon background */
    border-radius: 10px;
    margin: 10px 0; /* Vertical margin for spacing */
    border-left: 5px solid #055f46;
    border-right: 5px solid #055f46;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.welcome-content h1 {
    /* font-size: 2.5rem; */
    color: #024936; /* Matching the card titles for consistency */
    margin-bottom: 15px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.welcome-content p {
    font-size: 1.15rem;
    color: #002d72; /* Matching the card text for consistency */
    line-height: 1.7;
    max-width: 800px; /* Keeps the paragraph readable on wide screens */
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .welcome-content h1 {
        margin-bottom: 2px;
        /* Drastically reduces the space below the main heading */
        font-size: 1.15rem;

    }

    .welcome-content p {
        font-size: 1rem;
        margin-top: 0;
        /* Removes the space above the paragraph */

    }

    #welcome-hero {
        padding: 10px 15px;
    }
}