/* ========================================
   COMMUNITY PAGE - PROFESSIONAL DESIGN
   Matching N86A Website Style
======================================== */

/* Global Community Styles */
.community-section,
.community-teaser-section {
    background-color: #fff6e4;
    padding: 0;
    min-height: calc(100vh - var(--header-height));
}

/* ========================================
   HERO SECTION
======================================== */
.community-hero-wrapper {
    background: linear-gradient(135deg, #ff6208 0%, #ff8a3d 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.community-hero-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
}

.community-hero-wrapper::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
}

.community-hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 20px;
    font-size: 14px;
    font-family: var(--font-medium);
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    margin-left: 8px;
}

.hero-title {
    font-size: 54px;
    font-family: var(--font-bold);
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title span {
    background: linear-gradient(90deg, #fff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========================================
   TEASER VIDEO SECTION
======================================== */
.teaser-video-section {
    padding: 80px 0;
    background: white;
    margin-top: -50px;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.video-wrapper-teaser {
    position: relative;
}

.video-container-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.video-container-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.decoration-dot {
    position: absolute;
    background: linear-gradient(135deg, #ff6208, #ff8a3d);
    opacity: 0.3;
}

.decoration-dot.dot-1 {
    width: 80px;
    height: 80px;
    top: -40px;
    right: -40px;
}

.decoration-dot.dot-2 {
    width: 60px;
    height: 60px;
    bottom: -30px;
    left: -30px;
}

.decoration-dot.dot-3 {
    width: 40px;
    height: 40px;
    top: 50%;
    right: -60px;
}

/* Teaser Content */
.teaser-content {
    padding-right: 40px;
}

.content-title {
    font-size: 36px;
    font-family: var(--font-bold);
    color: var(--black-primary);
    margin-bottom: 30px;
    position: relative;
}

.content-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff6208, #ff8a3d);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6208, #ff8a3d);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    color: white;
    font-size: 22px;
}

.benefit-text h5 {
    font-size: 16px;
    font-family: var(--font-semibold);
    color: var(--black-primary);
    margin-bottom: 5px;
}

.benefit-text p {
    font-size: 14px;
    color: var(--gray-text);
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 30px;
    background: #f8f9fa;
}

.price-note {
    margin-top: 15px;
    padding: 12px;
    background: white;
    font-size: 14px;
    color: var(--gray-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-note i {
    color: #ff6208;
}

/* ========================================
   QUESTIONS PREVIEW
======================================== */
.questions-preview-section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    background: #ff6208;
    color: white;
    padding: 6px 20px;
    font-size: 13px;
    font-family: var(--font-medium);
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    font-family: var(--font-bold);
    color: var(--black-primary);
}

.preview-question-card {
    background: white;
    overflow: hidden;
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.preview-question-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.preview-question-card .card-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.author-details h6 {
    font-size: 14px;
    font-family: var(--font-semibold);
    color: var(--black-primary);
    margin: 0;
}

.author-details span {
    font-size: 12px;
    color: var(--gray-text);
}

.preview-question-card .card-body {
    padding: 20px;
}

.question-title {
    font-size: 16px;
    font-family: var(--font-semibold);
    color: var(--black-primary);
    margin-bottom: 15px;
    line-height: 1.5;
}

.question-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--gray-text);
}

.question-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.question-meta i {
    font-size: 14px;
    color: #ff6208;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    padding: 20px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.preview-question-card:hover .card-overlay {
    transform: translateY(0);
}

.card-overlay i {
    font-size: 24px;
    margin-bottom: 8px;
}

.card-overlay p {
    margin: 0;
    font-size: 13px;
}

/* ========================================
   FULL ACCESS COMMUNITY
======================================== */
.community-header-section {
    background: white;
    padding: 60px 0;
    border-bottom: 2px solid #f0f0f0;
}

.header-content {
    padding-left: 40px;
}

.welcome-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6208, #ff8a3d);
    color: white;
    padding: 8px 20px;
    font-size: 13px;
    font-family: var(--font-medium);
    margin-bottom: 20px;
}

.welcome-badge i {
    margin-left: 8px;
}

.header-title {
    font-size: 48px;
    font-family: var(--font-bold);
    color: var(--black-primary);
    margin-bottom: 15px;
    line-height: 1.2;
}

.header-title span {
    color: #ff6208;
}

.header-subtitle {
    font-size: 18px;
    color: var(--gray-text);
    line-height: 1.6;
}

/* Header Stats */
.header-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    background: linear-gradient(135deg, #f8f9fa, white);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border: 1px solid #e7e7e7;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6208, #ff8a3d);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    color: white;
    font-size: 26px;
}

.stat-content h3 {
    font-size: 32px;
    font-family: var(--font-bold);
    color: var(--black-primary);
    margin: 0;
}

.stat-content p {
    font-size: 14px;
    color: var(--gray-text);
    margin: 0;
}

/* ========================================
   ACTION BAR
======================================== */
.community-action-bar {
    background: white;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.search-form {
    width: 100%;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    right: 20px;
    color: var(--gray-text);
    font-size: 18px;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 15px 120px 15px 50px;
    border: 2px solid #e7e7e7;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #ff6208;
    box-shadow: 0 0 0 4px rgba(255, 98, 8, 0.1);
}

.search-btn {
    position: absolute;
    left: 5px;
    background: #ff6208;
    color: white;
    border: none;
    padding: 10px 30px;
    font-family: var(--font-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #e55502;
}

.ask-question-btn {
    width: 100%;
    background: linear-gradient(135deg, #ff6208, #ff8a3d);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-family: var(--font-semibold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ask-question-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 98, 8, 0.3);
}

.ask-question-btn i {
    font-size: 20px;
}

/* ========================================
   TAGS FILTER
======================================== */
.tags-filter-section {
    background: white;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f8f9fa;
    color: var(--gray-dark);
    text-decoration: none;
    font-size: 14px;
    font-family: var(--font-medium);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tag-item:hover {
    background: #ff6208;
    color: white;
    transform: translateY(-2px);
}

.tag-item.active {
    background: #ff6208;
    color: white;
    border-color: #ff6208;
}

.tag-item i {
    font-size: 16px;
}

.tag-count {
    background: rgba(255, 255, 255, 0.3);
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
}

/* ========================================
   WEEKLY VIDEOS SHOWCASE
======================================== */
.weekly-videos-showcase {
    background: linear-gradient(135deg, #fff6e4, white);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.showcase-header {
    text-align: center;
    margin-bottom: 40px;
}

.showcase-title {
    font-size: 32px;
    font-family: var(--font-bold);
    color: var(--black-primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.showcase-title i {
    color: #ff6208;
    font-size: 36px;
}

.showcase-subtitle {
    font-size: 16px;
    color: var(--gray-text);
}

.video-showcase-card {
    background: white;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.video-showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.video-thumbnail-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    background: #000;
    cursor: pointer;
}

.video-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-showcase-card:hover .play-overlay {
    opacity: 1;
}

.play-btn-circle {
    width: 80px;
    height: 80px;
    background: rgba(255, 98, 8, 0.95);
    border: none;
    color: white;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn-circle:hover {
    background: #ff6208;
    transform: scale(1.1);
}

.video-duration {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 12px;
    font-size: 12px;
    backdrop-filter: blur(5px);
}

.video-info {
    padding: 20px;
}

.video-info h5 {
    font-size: 18px;
    font-family: var(--font-semibold);
    color: var(--black-primary);
    margin-bottom: 5px;
}

.video-info p {
    font-size: 14px;
    color: var(--gray-text);
    margin: 0;
}

/* ========================================
   QUESTIONS CONTAINER
======================================== */
.questions-container {
    margin-bottom: 40px;
}

.question-item-card {
    background: white;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.question-item-card:hover {
    border-color: #ff6208;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f8f9fa;
}

.author-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border: 3px solid #ff6208;
}

.author-name {
    font-size: 16px;
    font-family: var(--font-semibold);
    color: var(--black-primary);
    margin: 0;
}

.post-date {
    font-size: 13px;
    color: var(--gray-text);
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-date i {
    font-size: 12px;
}

.question-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    background: #f8f9fa;
    border: none;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: var(--gray-dark);
}

.action-btn:hover {
    background: #ff6208;
    color: white;
}

.action-btn.liked {
    background: #ff6208;
    color: white;
}

.question-body {
    margin-bottom: 20px;
}

.question-body .question-title {
    font-size: 22px;
    font-family: var(--font-bold);
    color: var(--black-primary);
    margin-bottom: 15px;
    line-height: 1.4;
}

.question-text {
    font-size: 16px;
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 20px;
}

.question-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.question-tag {
    display: inline-block;
    padding: 6px 14px;
    background: #fff6e4;
    color: #ff6208;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.question-tag:hover {
    background: #ff6208;
    color: white;
}

.question-stats {
    display: flex;
    gap: 25px;
    font-size: 14px;
    color: var(--gray-text);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-item i {
    color: #ff6208;
    font-size: 16px;
}

/* ========================================
   ANSWERS SECTION
======================================== */
.answers-container {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #f8f9fa;
}

.answers-header {
    margin-bottom: 25px;
}

.answers-header h5 {
    font-size: 20px;
    font-family: var(--font-semibold);
    color: var(--black-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.answers-header i {
    color: #ff6208;
}

.answer-item {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
    border-right: 4px solid #ff6208;
}

.answer-item.pinned {
    background: linear-gradient(135deg, #fff6e4, #ffffff);
    border-right-color: #ffc107;
}

.pinned-indicator {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ffc107;
    color: white;
    padding: 5px 12px;
    font-size: 12px;
    font-family: var(--font-semibold);
    display: flex;
    align-items: center;
    gap: 5px;
}

.expert-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.expert-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.expert-avatar i {
    color: white;
    font-size: 20px;
}

.expert-info h6 {
    font-size: 16px;
    font-family: var(--font-semibold);
    color: var(--black-primary);
    margin: 0;
}

.expert-badge {
    font-size: 13px;
    color: #28a745;
    display: flex;
    align-items: center;
    gap: 5px;
}

.answer-text {
    font-size: 15px;
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 20px;
}

.answer-video-section {
    margin-top: 20px;
}

.video-answer-btn {
    background: linear-gradient(135deg, #ff6208, #ff8a3d);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 15px;
    font-family: var(--font-semibold);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-answer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 98, 8, 0.3);
}

.video-answer-btn i {
    font-size: 20px;
}

/* ========================================
   SIDEBAR WIDGETS
======================================== */
.sidebar-widget {
    background: white;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.widget-header {
    background: linear-gradient(135deg, #ff6208, #ff8a3d);
    color: white;
    padding: 20px;
}

.widget-header h5 {
    font-size: 18px;
    font-family: var(--font-semibold);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-header i {
    font-size: 20px;
}

.widget-body {
    padding: 25px;
}

/* Activity Stats */
.activity-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.activity-icon {
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-icon i {
    font-size: 22px;
    color: #ff6208;
}

.activity-icon.answered {
    background: #d4edda;
}

.activity-icon.answered i {
    color: #28a745;
}

.activity-info {
    display: flex;
    flex-direction: column;
}

.activity-value {
    font-size: 24px;
    font-family: var(--font-bold);
    color: var(--black-primary);
}

.activity-label {
    font-size: 13px;
    color: var(--gray-text);
}

/* Trending Questions */
.trending-questions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trending-item {
    display: flex;
    gap: 15px;
}

.trending-number {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #ff6208, #ff8a3d);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-bold);
    font-size: 14px;
    flex-shrink: 0;
}

.trending-content {
    flex: 1;
}

.trending-title {
    font-size: 14px;
    font-family: var(--font-medium);
    color: var(--black-primary);
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.trending-title:hover {
    color: #ff6208;
}

.trending-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--gray-text);
}

.trending-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.trending-meta i {
    font-size: 11px;
}

/* Help Widget */
.help-widget {
    background: linear-gradient(135deg, #fff6e4, white);
    text-align: center;
    padding: 35px 25px;
}

.help-icon {
    width: 60px;
    height: 60px;
    background: white;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.help-icon i {
    font-size: 28px;
    color: #ff6208;
}

.help-widget h5 {
    font-size: 18px;
    font-family: var(--font-semibold);
    color: var(--black-primary);
    margin-bottom: 10px;
}

.help-widget p {
    font-size: 14px;
    color: var(--gray-text);
    margin-bottom: 20px;
}

.help-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff6208;
    text-decoration: none;
    font-family: var(--font-semibold);
    transition: gap 0.3s ease;
}

.help-link:hover {
    gap: 12px;
    color: #e55502;
}

/* ========================================
   EMPTY STATE
======================================== */
.empty-state-card {
    background: white;
    padding: 80px 40px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.empty-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #f8f9fa, white);
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-icon i {
    font-size: 48px;
    color: #ddd;
}

.empty-state-card h3 {
    font-size: 24px;
    font-family: var(--font-bold);
    color: var(--black-primary);
    margin-bottom: 10px;
}

.empty-state-card p {
    font-size: 16px;
    color: var(--gray-text);
    margin-bottom: 30px;
}

/* ========================================
   PAGINATION
======================================== */
.custom-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-list li {
    display: inline-block;
}

.page-number,
.page-nav {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid #e7e7e7;
    color: var(--gray-dark);
    text-decoration: none;
    font-family: var(--font-semibold);
    transition: all 0.3s ease;
}

.page-number:hover,
.page-nav:hover {
    background: #ff6208;
    border-color: #ff6208;
    color: white;
}

.page-number.active {
    background: #ff6208;
    border-color: #ff6208;
    color: white;
}

/* ========================================
   MODAL STYLES
======================================== */
.modal-content {
    border: none;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #ff6208, #ff8a3d);
    color: white;
    padding: 25px 30px;
    border: none;
}

.modal-title {
    font-size: 20px;
    font-family: var(--font-bold);
    color: white;
    display: flex;
    align-items: center;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.modal-header .btn-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    font-size: 14px;
    font-family: var(--font-semibold);
    color: var(--black-primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-label i {
    color: #ff6208;
}

.custom-input,
.custom-textarea {
    width: 100%;
    padding: 12px 18px;
    border: 2px solid #e7e7e7;
    font-size: 15px;
    transition: all 0.3s ease;
}

.custom-input:focus,
.custom-textarea:focus {
    outline: none;
    border-color: #ff6208;
    box-shadow: 0 0 0 4px rgba(255, 98, 8, 0.1);
}

.custom-textarea {
    resize: vertical;
    min-height: 120px;
}

.info-alert {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    padding: 15px;
    display: flex;
    gap: 12px;
}

.info-alert i {
    color: #0c5460;
    font-size: 18px;
}

.info-alert strong {
    display: block;
    margin-bottom: 5px;
    color: #0c5460;
}

.modal-footer {
    background: #f8f9fa;
    border: none;
    padding: 20px 30px;
}

.modal-footer .btn {
    padding: 10px 25px;
    font-family: var(--font-semibold);
    transition: all 0.3s ease;
}

.modal-footer .btn-light {
    background: white;
    border: 2px solid #e7e7e7;
    color: var(--gray-dark);
}

.modal-footer .btn-light:hover {
    background: #f8f9fa;
}

.modal-footer .btn-primary {
    background: linear-gradient(135deg, #ff6208, #ff8a3d);
    border: none;
    color: white;
}

.modal-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 98, 8, 0.3);
}

/* ========================================
   ANIMATIONS
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question-item-card {
    animation: fadeInUp 0.5s ease;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 42px;
    }

    .header-title {
        font-size: 36px;
    }

    .header-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .stat-card {
        padding: 20px;
    }
}

@media (max-width: 991px) {
    .community-hero-wrapper {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 36px;
    }

    .teaser-content {
        padding-right: 0;
        margin-top: 40px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .header-content {
        padding-left: 0;
        margin-bottom: 30px;
    }

    .header-stats {
        grid-template-columns: 1fr;
    }

    .community-action-bar .row {
        gap: 20px;
    }

    .tags-wrapper {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }

    .sidebar-widget {
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .teaser-video-section {
        padding: 40px 20px;
    }

    .questions-preview-section {
        padding: 40px 0;
    }

    .community-header-section {
        padding: 40px 0;
    }

    .header-title {
        font-size: 28px;
    }

    .community-action-bar {
        padding: 20px;
    }

    .search-input {
        padding: 12px 100px 12px 45px;
        font-size: 14px;
    }

    .search-btn {
        padding: 8px 20px;
        font-size: 14px;
    }

    .question-item-card {
        padding: 20px;
    }

    .question-body .question-title {
        font-size: 18px;
    }

    .question-text {
        font-size: 14px;
    }

    .question-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .question-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .activity-stats {
        grid-template-columns: 1fr;
    }

    .weekly-videos-showcase {
        padding: 25px 20px;
    }

    .showcase-title {
        font-size: 24px;
        flex-direction: column;
    }

    .modal-dialog {
        margin: 20px;
    }
}

@media (max-width: 575px) {
    .hero-badge {
        font-size: 12px;
        padding: 6px 15px;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
    }

    .page-number,
    .page-nav {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .tags-filter-section {
        padding: 15px;
    }

    .tag-item {
        padding: 8px 15px;
        font-size: 13px;
    }

    .answer-item {
        padding: 20px 15px;
    }
}