/* Card Wrapper */
.card-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Adjust the gap between cards */
    justify-content: space-between;
    margin: 0 auto;
    padding: 20px;
}

/* Individual Card Item */
.card-item {
    flex: 1 1 calc(33.333% - 20px); /* 3 cards per row, with gaps */
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-item:hover {
    transform: translateY(-10px);
}

/* Card Content */
.card-content {
    padding: 20px;
}

.card-content figure {
    margin: 0 0 15px 0;
    text-align: center;
}

.card-content img {
    max-width: 100%;
    height: auto;
}

.card-content h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #333;
}

.card-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Card Button */
.card-button {
    text-align: center;
    margin-top: 20px;
}

.card-button .view-more-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    color: #fff;
    background-color: #007bff;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.card-button .view-more-btn:hover {
    background-color: #0056b3;
}
/* Style for the section */
section {
    padding: 20px;
    background-color: #f9f9f9; /* Optional: Set a background color */
}

/* Style for the container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Style for the h2 title */
h2 {
    font-size: 2.5rem; /* Adjust the font size as needed */
    color: #333; /* Set the text color */
    text-align: center; /* Center align the text */
    margin-bottom: 20px; /* Add space below the title */
    font-weight: bold; /* Make the text bold */
    text-transform: uppercase; /* Optional: Transform text to uppercase */
    line-height: 1.2; /* Adjust line height for better readability */
}

/* Style for the card-wrapper (to control card layout) */
.card-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Adjust the space between cards */
    justify-content: center; /* Center align cards horizontally */
}

/* Style for card-item */
.card-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 300px; /* Adjust the max-width of cards */
}
