  /* Main Container Styles */
  .section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Education and Events Wrapper */
.education-events-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 992px) {
    .education-events-wrapper {
        flex-direction: row;
    }
}

.education-section, .events-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.section-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.section-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
}

.education-image {
    background-image: url('../img//830e46322b.jpg');
}

.events-image {
    background-image: url('../img//event.jpg');
}

h2 {
    color: #006f3c;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

p {
    color: #333;
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 15px;
}

.button {
    display: inline-block;
    background-color: #006f3c;
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    text-align: center;
    margin-top: 10px;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    align-self: flex-start;
}

.button:hover {
    background-color: #005230;
}

.divider {
    height: 1px;
    background-color: #e8e8e8;
    margin: 40px 0;
}

/* Community Section Styles */
.community-section {
    padding: 40px 0;
}

.community-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.community-block {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.community-content {
    flex: 1;
    min-width: 300px;
}

.community-image-container {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.community-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    object-fit: cover;
    max-height: 400px;
}

/* Reviews Section Styles */
.reviews-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #042e18;
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #555;
    font-size: 1.1rem;
}

/* Reviews Grid */
.reviews-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.review-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    width: calc(33.333% - 20px); /* For 3 cards */
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.reviewer-info {
    display: flex;
    align-items: center;
}

.avatar-container {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 2px solid #e1e8ed;
}

.reviewer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-details {
    text-align: left;
}

.reviewer-name {
    font-weight: 700;
    margin: 0 0 5px;
    color: #2c3e50;
    font-size: 1rem;
}

.reviewer-location {
    color: #7f8c8d;
    margin: 0;
    font-size: 0.85rem;
}

.review-rating {
    color: #f1c40f;
    font-size: 1rem;
}

.review-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #34495e;
    margin-bottom: 15px;
}

.review-product {
    font-size: 0.85rem;
    color: #7f8c8d;
    background-color: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
    display: inline-block;
}

.review-product span {
    font-weight: 600;
    color: #3498db;
}

.review-cta-container {
    text-align: center;
}

.review-cta-button {
    display: inline-block;
    background-color: #042e18;
    color: white;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.review-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(46, 204, 113, 0.4);
}

/* Responsive styles */
@media (max-width: 992px) {
    .review-card {
        width: calc(50% - 20px); /* 2 cards on medium screens */
    }
}

@media (max-width: 768px) {
    .review-card {
        width: 100%; /* 1 card on small screens */
    }
    
    .community-block {
        flex-direction: column;
    }
    
    .community-image-container {
        order: -1; /* This places the image above the content on mobile */
        width: 100%;
    }
    
    .community-image {
        width: 100%;
    }
}