/* Import Google Fonts (Add this to the top of your CSS file) */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* Programs Section */
.programs-section {
    background-color: white;
    padding: 50px 20px;
    text-align: center; /* Center text for the section */
    font-family: 'Roboto', sans-serif; /* Apply the font to the section */
}

.programs-container {
    max-width: 1230px;
    margin: 0 auto;
}

/* Title Style */
.section-title {
    font-size: 2.5rem;
    color: #ff7a59;
    margin-bottom: 30px;
    font-weight: 700; /* Bold weight for the title */
}

/* Grid Container */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /*number of grids */
    gap: 20px;
}

/* Grid Item */
.grid-item {
    display: flex;
    flex-direction: column; /* Stack image, text, and button vertically */
    padding: 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
    align-items: center; /* Center content */
    text-align: center; /* Center text within the grid item */
    font-family: 'Roboto', sans-serif; /* Apply the font to grid items */
}

/* Image Styles */
.grid-item img {
    width: 100%; /* Change to 100% for full container width */
    height: 200px; /* Fixed height */
    object-fit: cover; /* Cover the space while maintaining aspect ratio */
    border-radius: 8px; /* Optional, if you want rounded corners */
    margin-bottom: 20px; /* Space between image and text */
}

/* Grid Content */
.grid-content {
    text-align: justify; /* Center text and button */
}

/* Title and Paragraph */
.grid-content h3 {
    margin-top: 0;
    font-size: 1.5rem; /* Adjusted font size for titles */
    font-weight: 700; /* Bold weight for h3 */
}

.grid-content p {
    margin: 10px 0;
    font-size: 1rem; /* Font size for paragraphs */
    line-height: 1.5; /* Improve line spacing for readability */
}

/* Button Styles */
.grid-btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    transition: background-color 0.3s;
}

/* Button Color Classes */
.grid-btn.orange {
    background-color: rgb(196, 113, 80);
}

.grid-btn.yellow {
    background-color: rgb(202, 214, 68);
    color: black;
}

.grid-btn.blue {
    background-color: rgb(62, 191, 224);
}

.grid-btn.green {
    background-color: rgb(141, 211, 141);
}

.grid-btn.indigo {
    background-color: #3f51b5; /* Indigo color */
}

.grid-btn.violet {
    background-color: #9b4d96; /* Violet color */
}

.grid-btn:hover {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr; /* Stack items in a single column */
    }
}


@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .grid-item {
        margin-bottom: 20px;
    }
}
