/* style/success-stories-community-engagement.css */
.page-success-stories-community-engagement {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Dark gray for general text */
    line-height: 1.6;
    background-color: #f8f9fa; /* Light background for readability */
}

.page-success-stories-community-engagement .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-success-stories-community-engagement .hero-section {
    background: linear-gradient(135deg, #007bff, #0056b3); /* Darker blue gradient */
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
}

.page-success-stories-community-engagement .hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-success-stories-community-engagement .hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    opacity: 0.9;
}

.page-success-stories-community-engagement .highlight {
    color: #ffc107; /* Auxiliary color for highlights */
}

.page-success-stories-community-engagement .btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em;
}

.page-success-stories-community-engagement .btn-primary {
    background-color: #ffc107; /* Auxiliary color for primary action */
    color: #000000; /* Dark text for contrast on yellow */
    border: 2px solid #ffc107;
}

.page-success-stories-community-engagement .btn-primary:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    transform: translateY(-2px);
}

.page-success-stories-community-engagement .btn-secondary {
    background-color: #007bff; /* Main color for secondary action */
    color: #ffffff;
    border: 2px solid #007bff;
    margin-top: 15px;
}

.page-success-stories-community-engagement .btn-secondary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

.page-success-stories-community-engagement section {
    padding: 60px 0;
    border-bottom: 1px solid #e9ecef;
}

.page-success-stories-community-engagement section:last-of-type {
    border-bottom: none;
}

.page-success-stories-community-engagement .section-title {
    font-size: 2.5em;
    color: #007bff; /* Main color for section titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-success-stories-community-engagement .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #ffc107;
    border-radius: 2px;
}

.page-success-stories-community-engagement .community-overview p, 
.page-success-stories-community-engagement .more-about-hay88 p {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-success-stories-community-engagement .image-wrapper {
    text-align: center;
    margin-top: 30px;
}

.page-success-stories-community-engagement .responsive-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-success-stories-community-engagement .story-card {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    padding: 30px;
}

.page-success-stories-community-engagement .story-card.reverse {
    flex-direction: row-reverse;
}

.page-success-stories-community-engagement .story-card .story-content {
    flex: 1;
    padding: 0 30px;
}

.page-success-stories-community-engagement .story-card.reverse .story-content {
    padding: 0 30px;
}

.page-success-stories-community-engagement .story-card .image-wrapper {
    flex: 1;
    padding: 0 30px;
    margin-top: 0;
}

.page-success-stories-community-engagement .story-card .responsive-image {
    max-height: 300px;
    object-fit: cover;
    width: 100%;
}

.page-success-stories-community-engagement .story-title {
    font-size: 1.8em;
    color: #007bff;
    margin-bottom: 15px;
}

.page-success-stories-community-engagement .story-card p {
    margin-bottom: 20px;
    text-align: justify;
}

.page-success-stories-community-engagement .event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-success-stories-community-engagement .event-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease;
}

.page-success-stories-community-engagement .event-card:hover {
    transform: translateY(-5px);
}

.page-success-stories-community-engagement .event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-success-stories-community-engagement .event-title {
    font-size: 1.4em;
    color: #007bff;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-success-stories-community-engagement .event-card p {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px;
    text-align: justify;
}

.page-success-stories-community-engagement .event-cta-text {
    text-align: center;
    font-size: 1.2em;
    margin-top: 40px;
    font-weight: bold;
    color: #007bff;
}

.page-success-stories-community-engagement .testimonials {
    background-color: #e9f5ff; /* Light blue background for testimonials */
}

.page-success-stories-community-engagement .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-success-stories-community-engagement .testimonial-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #ffc107;
}

.page-success-stories-community-engagement .testimonial-card .quote {
    font-style: italic;
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #555555;
}

.page-success-stories-community-engagement .testimonial-card .author {
    font-weight: bold;
    color: #007bff;
    text-align: right;
}

.page-success-stories-community-engagement .call-to-action {
    background: linear-gradient(135deg, #0056b3, #007bff); /* Darker blue gradient */
    color: #ffffff;
    text-align: center;
    padding: 80px 0;
}

.page-success-stories-community-engagement .cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-success-stories-community-engagement .cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    opacity: 0.9;
}

.page-success-stories-community-engagement .cta-buttons .btn {
    margin: 0 15px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-success-stories-community-engagement .hero-title {
        font-size: 2.8em;
    }
    .page-success-stories-community-engagement .hero-subtitle {
        font-size: 1.3em;
    }
    .page-success-stories-community-engagement .section-title {
        font-size: 2em;
    }
    .page-success-stories-community-engagement .story-card {
        flex-direction: column;
    }
    .page-success-stories-community-engagement .story-card.reverse {
        flex-direction: column;
    }
    .page-success-stories-community-engagement .story-card .story-content,
    .page-success-stories-community-engagement .story-card.reverse .story-content {
        padding: 0;
        margin-bottom: 20px;
    }
    .page-success-stories-community-engagement .story-card .image-wrapper,
    .page-success-stories-community-engagement .story-card.reverse .image-wrapper {
        padding: 0;
    }
    .page-success-stories-community-engagement .cta-title {
        font-size: 2.2em;
    }
    .page-success-stories-community-engagement .cta-description {
        font-size: 1.1em;
    }
    .page-success-stories-community-engagement .cta-buttons .btn {
        display: block;
        margin: 15px auto;
        width: 80%;
    }
}

@media (max-width: 768px) {
    .page-success-stories-community-engagement .hero-section {
        padding: 80px 0;
    }
    .page-success-stories-community-engagement .hero-title {
        font-size: 2.2em;
    }
    .page-success-stories-community-engagement .hero-subtitle {
        font-size: 1.1em;
    }
    .page-success-stories-community-engagement .btn {
        padding: 10px 20px;
        font-size: 1em;
    }
    .page-success-stories-community-engagement .section-title {
        font-size: 1.8em;
    }
    .page-success-stories-community-engagement .story-title {
        font-size: 1.5em;
    }
    .page-success-stories-community-engagement .event-grid {
        grid-template-columns: 1fr;
    }
    .page-success-stories-community-engagement .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .page-success-stories-community-engagement .cta-title {
        font-size: 1.8em;
    }
    .page-success-stories-community-engagement .cta-description {
        font-size: 1em;
    }
}