/* style/user-community.css */
.page-user-community {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

.page-user-community__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-user-community__hero-section {
    background: linear-gradient(135deg, #007bff, #4da3ff);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-user-community__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-user-community__hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.page-user-community__hero-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin-top: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-user-community__section-title {
    font-size: 2.5em;
    color: #007bff;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-user-community__text-content {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #555;
    text-align: justify;
}

.page-user-community__intro-section,
.page-user-community__forum-areas,
.page-user-community__guidelines-section,
.page-user-community__cta-section,
.page-user-community__faq-section,
.page-user-community__more-info {
    padding: 60px 0;
    background-color: #fff;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-user-community__intro-section {
    background-color: #e6f2ff; /* Light blue background for intro */
}

.page-user-community__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-user-community__feature-item {
    text-align: center;
    padding: 25px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-user-community__feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-user-community__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 123, 255, 0.3));
}

.page-user-community__feature-item h3 {
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 15px;
}

.page-user-community__feature-item p {
    color: #666;
    font-size: 1em;
}

.page-user-community__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    text-align: center;
    white-space: nowrap;
}

.page-user-community__btn--primary {
    background-color: #007bff;
    color: #fff;
    border: 2px solid #007bff;
    margin: 10px;
}

.page-user-community__btn--primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.page-user-community__btn--secondary {
    background-color: #ffc107;
    color: #333;
    border: 2px solid #ffc107;
    margin: 10px;
}

.page-user-community__btn--secondary:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

.page-user-community__btn--link {
    background: none;
    color: #007bff;
    border: none;
    padding: 0;
    font-size: 1em;
    text-decoration: underline;
    margin-top: 10px;
}

.page-user-community__btn--link:hover {
    color: #0056b3;
    text-decoration: none;
}

.page-user-community__detail-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-user-community__detail-item {
    background-color: #f0f8ff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.1);
    border-left: 5px solid #007bff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-user-community__detail-item h3 {
    font-size: 1.6em;
    color: #007bff;
    margin-bottom: 15px;
}

.page-user-community__detail-item h3 a {
    color: #007bff;
    text-decoration: none;
}

.page-user-community__detail-item h3 a:hover {
    text-decoration: underline;
}

.page-user-community__detail-item p {
    color: #555;
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-user-community__content-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    margin: 50px auto 20px auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-user-community__guidelines-list {
    list-style-type: disc;
    padding-left: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-user-community__guidelines-list li {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #444;
}

.page-user-community__guidelines-list li strong {
    color: #007bff;
}

.page-user-community__guidelines-list li a {
    color: #007bff;
    text-decoration: none;
}

.page-user-community__guidelines-list li a:hover {
    text-decoration: underline;
}

.page-user-community__cta-section {
    text-align: center;
    background: linear-gradient(90deg, #007bff, #0056b3);
    color: #fff;
    padding: 80px 0;
    border-radius: 8px;
}

.page-user-community__cta-section .page-user-community__section-title {
    color: #fff;
}

.page-user-community__cta-section .page-user-community__section-title::after {
    background-color: #ffc107;
}

.page-user-community__cta-section .page-user-community__text-content {
    color: #e0e0e0;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-user-community__cta-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.page-user-community__cta-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-user-community__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px 25px;
    transition: all 0.3s ease;
}

.page-user-community__faq-item:hover {
    border-color: #007bff;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.1);
}

.page-user-community__faq-item h3 {
    color: #007bff;
    font-size: 1.4em;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-user-community__faq-item h3::after {
    content: '+';
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.page-user-community__faq-item.active h3::after {
    content: '-';
    transform: rotate(180deg);
}

.page-user-community__faq-item p {
    color: #555;
    font-size: 1em;
    padding-top: 10px;
    border-top: 1px solid #eee;
    display: none; /* Hidden by default */
}

.page-user-community__faq-item.active p {
    display: block;
}

.page-user-community__more-info p a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.page-user-community__more-info p a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-user-community__hero-title {
        font-size: 2.5em;
    }

    .page-user-community__hero-subtitle {
        font-size: 1.2em;
    }

    .page-user-community__section-title {
        font-size: 2em;
    }

    .page-user-community__features {
        grid-template-columns: 1fr;
    }

    .page-user-community__detail-list {
        grid-template-columns: 1fr;
    }

    .page-user-community__btn {
        width: 100%;
        margin: 10px 0;
    }

    .page-user-community__cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-user-community__hero-title {
        font-size: 2em;
    }

    .page-user-community__hero-subtitle {
        font-size: 1em;
    }

    .page-user-community__section-title {
        font-size: 1.8em;
    }

    .page-user-community__feature-item h3 {
        font-size: 1.3em;
    }

    .page-user-community__detail-item h3 {
        font-size: 1.4em;
    }
}