/* style/index-zowin-latest-activities-glance.css */

/* Biến CSS cho màu sắc */
:root {
    --page-primary-color: #1A2B3C;
    --page-accent-color: #FFD700;
    --page-text-light: #FFFFFF;
    --page-text-dark: #333333;
    --page-background-light: #F8F8F8;
    --page-background-dark: #111827; /* Darker shade for contrast */
}

.page-index-zowin-latest-activities-glance {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--page-text-dark);
    line-height: 1.6;
    background-color: var(--page-background-light);
}

.page-index-zowin-latest-activities-glance .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-index-zowin-latest-activities-glance .hero-section {
    background: linear-gradient(135deg, var(--page-primary-color) 0%, #3a4a5c 50%, var(--page-accent-color) 100%);
    color: var(--page-text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-zowin-latest-activities-glance .hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--page-accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.page-index-zowin-latest-activities-glance .hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-index-zowin-latest-activities-glance .hero-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    margin-top: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-index-zowin-latest-activities-glance .btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.1em;
}

.page-index-zowin-latest-activities-glance .btn-primary {
    background-color: var(--page-accent-color);
    color: var(--page-primary-color);
    border: 2px solid var(--page-accent-color);
}

.page-index-zowin-latest-activities-glance .btn-primary:hover {
    background-color: #e6c200; /* Slightly darker gold */
    border-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-index-zowin-latest-activities-glance .btn-secondary {
    background-color: var(--page-primary-color);
    color: var(--page-accent-color);
    border: 2px solid var(--page-accent-color);
    padding: 10px 25px;
    font-size: 1em;
}

.page-index-zowin-latest-activities-glance .btn-secondary:hover {
    background-color: var(--page-accent-color);
    color: var(--page-primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.page-index-zowin-latest-activities-glance .btn-small {
    padding: 8px 20px;
    font-size: 0.9em;
    border-radius: 30px;
}

.page-index-zowin-latest-activities-glance .btn-lg {
    padding: 15px 40px;
    font-size: 1.2em;
    border-radius: 60px;
}

.page-index-zowin-latest-activities-glance .section-title {
    font-size: 2.5em;
    color: var(--page-primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-index-zowin-latest-activities-glance .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-accent-color);
    border-radius: 2px;
}

.page-index-zowin-latest-activities-glance .introduction-section,
.page-index-zowin-latest-activities-glance .featured-activities-section,
.page-index-zowin-latest-activities-glance .why-zowin-section,
.page-index-zowin-latest-activities-glance .how-to-participate-section,
.page-index-zowin-latest-activities-glance .tips-section,
.page-index-zowin-latest-activities-glance .faq-section,
.page-index-zowin-latest-activities-glance .cta-section {
    padding: 60px 0;
}

.page-index-zowin-latest-activities-glance .introduction-section p,
.page-index-zowin-latest-activities-glance .tips-section p,
.page-index-zowin-latest-activities-glance .cta-section p {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 20px auto;
}

.page-index-zowin-latest-activities-glance .activity-card {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    background-color: var(--page-text-light);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-zowin-latest-activities-glance .activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-index-zowin-latest-activities-glance .activity-card.reverse {
    flex-direction: row-reverse;
}

.page-index-zowin-latest-activities-glance .activity-image {
    width: 50%;
    height: 350px;
    object-fit: cover;
}

.page-index-zowin-latest-activities-glance .activity-content {
    width: 50%;
    padding: 40px;
}

.page-index-zowin-latest-activities-glance .activity-title {
    font-size: 1.8em;
    color: var(--page-primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.page-index-zowin-latest-activities-glance .activity-content p {
    margin-bottom: 15px;
    color: var(--page-text-dark);
}

.page-index-zowin-latest-activities-glance .activity-content ul {
    list-style: disc inside;
    margin-bottom: 15px;
    padding-left: 20px;
    color: var(--page-text-dark);
}

.page-index-zowin-latest-activities-glance .activity-content ul li {
    margin-bottom: 5px;
}

.page-index-zowin-latest-activities-glance .why-zowin-section {
    background-color: var(--page-background-dark);
    color: var(--page-text-light);
    text-align: center;
}

.page-index-zowin-latest-activities-glance .why-zowin-section .section-title {
    color: var(--page-accent-color);
}

.page-index-zowin-latest-activities-glance .why-zowin-section .section-title::after {
    background-color: var(--page-text-light);
}

.page-index-zowin-latest-activities-glance .reason-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-index-zowin-latest-activities-glance .reason-item {
    background-color: var(--page-primary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-index-zowin-latest-activities-glance .reason-item:hover {
    transform: translateY(-10px);
    background-color: #2a3d4f; /* Slightly lighter primary for hover */
}

.page-index-zowin-latest-activities-glance .reason-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(1.2); /* Make icons brighter on dark background */
}

.page-index-zowin-latest-activities-glance .reason-item h3 {
    font-size: 1.5em;
    color: var(--page-accent-color);
    margin-bottom: 15px;
}

.page-index-zowin-latest-activities-glance .reason-item p {
    color: rgba(255, 255, 255, 0.8);
}

.page-index-zowin-latest-activities-glance .how-to-participate-section {
    background-color: var(--page-background-light);
}

.page-index-zowin-latest-activities-glance .steps-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 60px auto;
    max-width: 900px;
    counter-reset: step-counter;
}

.page-index-zowin-latest-activities-glance .steps-list li {
    position: relative;
    padding-left: 80px;
    margin-bottom: 40px;
    text-align: left;
}

.page-index-zowin-latest-activities-glance .steps-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: var(--page-accent-color);
    color: var(--page-primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-zowin-latest-activities-glance .step-title {
    font-size: 1.5em;
    color: var(--page-primary-color);
    margin-bottom: 10px;
}

.page-index-zowin-latest-activities-glance .step-title + p {
    color: var(--page-text-dark);
    margin-bottom: 15px;
}

.page-index-zowin-latest-activities-glance .process-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    margin: 40px auto 0 auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-index-zowin-latest-activities-glance .tips-section {
    background-color: var(--page-primary-color);
    color: var(--page-text-light);
}

.page-index-zowin-latest-activities-glance .tips-section .section-title {
    color: var(--page-accent-color);
}

.page-index-zowin-latest-activities-glance .tips-section .section-title::after {
    background-color: var(--page-text-light);
}

.page-index-zowin-latest-activities-glance .tips-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto;
}

.page-index-zowin-latest-activities-glance .tips-list li {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px 30px;
    margin-bottom: 15px;
    border-left: 5px solid var(--page-accent-color);
    border-radius: 5px;
    font-size: 1.1em;
    color: var(--page-text-light);
    transition: background-color 0.3s ease;
}

.page-index-zowin-latest-activities-glance .tips-list li:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-index-zowin-latest-activities-glance .tips-list li strong {
    color: var(--page-accent-color);
}

.page-index-zowin-latest-activities-glance .faq-section {
    background-color: var(--page-background-light);
}

.page-index-zowin-latest-activities-glance .faq-item {
    background-color: var(--page-text-light);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.page-index-zowin-latest-activities-glance .faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-index-zowin-latest-activities-glance .faq-question {
    font-size: 1.4em;
    color: var(--page-primary-color);
    padding: 20px;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.page-index-zowin-latest-activities-glance .faq-question::after {
    content: '+';
    font-size: 1.5em;
    color: var(--page-accent-color);
    transition: transform 0.3s ease;
}

.page-index-zowin-latest-activities-glance .faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-index-zowin-latest-activities-glance .faq-answer {
    padding: 0 20px 20px;
    margin: 0;
    font-size: 1.1em;
    color: var(--page-text-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-index-zowin-latest-activities-glance .faq-answer.active {
    max-height: 200px; /* Adjust as needed */
    padding: 20px;
}

.page-index-zowin-latest-activities-glance .cta-section {
    background-color: var(--page-primary-color);
    color: var(--page-text-light);
    text-align: center;
    padding: 80px 0;
}

.page-index-zowin-latest-activities-glance .cta-section .section-title {
    color: var(--page-accent-color);
}

.page-index-zowin-latest-activities-glance .cta-section .section-title::after {
    background-color: var(--page-text-light);
}

@media (max-width: 992px) {
    .page-index-zowin-latest-activities-glance .hero-title {
        font-size: 2.8em;
    }
    .page-index-zowin-latest-activities-glance .hero-subtitle {
        font-size: 1.2em;
    }
    .page-index-zowin-latest-activities-glance .activity-card {
        flex-direction: column;
    }
    .page-index-zowin-latest-activities-glance .activity-card.reverse {
        flex-direction: column;
    }
    .page-index-zowin-latest-activities-glance .activity-image,
    .page-index-zowin-latest-activities-glance .activity-content {
        width: 100%;
    }
    .page-index-zowin-latest-activities-glance .activity-image {
        height: 250px;
    }
    .page-index-zowin-latest-activities-glance .section-title {
        font-size: 2em;
    }
    .page-index-zowin-latest-activities-glance .reason-grid {
        grid-template-columns: 1fr;
    }
    .page-index-zowin-latest-activities-glance .steps-list li {
        padding-left: 60px;
    }
    .page-index-zowin-latest-activities-glance .steps-list li::before {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
    }
    .page-index-zowin-latest-activities-glance .step-title {
        font-size: 1.3em;
    }
}

@media (max-width: 576px) {
    .page-index-zowin-latest-activities-glance .hero-section {
        padding: 60px 0;
    }
    .page-index-zowin-latest-activities-glance .hero-title {
        font-size: 2em;
    }
    .page-index-zowin-latest-activities-glance .hero-subtitle {
        font-size: 1em;
    }
    .page-index-zowin-latest-activities-glance .btn-primary {
        padding: 10px 25px;
        font-size: 1em;
    }
    .page-index-zowin-latest-activities-glance .section-title {
        font-size: 1.8em;
    }
    .page-index-zowin-latest-activities-glance .activity-content {
        padding: 25px;
    }
    .page-index-zowin-latest-activities-glance .activity-title {
        font-size: 1.5em;
    }
    .page-index-zowin-latest-activities-glance .reason-item h3 {
        font-size: 1.3em;
    }
    .page-index-zowin-latest-activities-glance .faq-question {
        font-size: 1.2em;
        padding: 15px;
    }
    .page-index-zowin-latest-activities-glance .faq-answer {
        font-size: 1em;
        padding: 0 15px 15px;
    }
}