/* Banner styles */
#page-title {
    background-size: cover;
    background-position: center;
}

.text-banner {
    font-size: 24px;
    font-weight: 700;
    position: absolute;
    padding-left: 20px;
}

.text-banner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background-color: #264596;
}

.max-width-1400 {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Breadcrumb styles */
.breadcrumb-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.breadcrumb-text strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Main content styles */
.program-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.program-content p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

/* Support programs title */
.support-programs {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    text-align: left;
    padding: 10px 0;
}

/* FAQ list styles */
.don-vi-list {
    margin-bottom: 30px;
}

.don-vi-item {
    background: white;
    border: 1px solid #d7d7d7;
    border-radius: 20px;
    margin-bottom: 15px;
    overflow: hidden;
}

.don-vi-header {
    padding: 15px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    background: #f2f5ff;
}

.don-vi-icon {
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.don-vi-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.don-vi-header h3 {
    flex: 1;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #264596;
}

.don-vi-arrow {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3498db;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.don-vi-content {
    padding: 20px 25px;
    border-top: 1px solid #d7d7d7;
    display: none;
    background: #f2f5ff;
}

/* FAQ item styles */
.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    color: #264596;
    font-weight: 600;
    font-size: 14px;
    padding: 10px;
    margin: 0;
    border-radius: 12px;
}

.faq-answer {
    color: #000;
    background-color: #fff;
}

/* Responsive styles */
@media (max-width: 768px) {
    .max-width-1400 {
        padding: 0 10px;
    }
    
    .text-banner {
        font-size: 2rem;
    }
    
    .don-vi-header {
        padding: 15px;
    }
    
    .don-vi-icon {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    
     .don-vi-header h3 {
         font-size: 1.1rem;
     }
}

/* =============================================
   FAQ Functionality - Chức năng đóng/mở câu hỏi
   ============================================= */

/* FAQ Question clickable styling - Trạng thái ban đầu */
.faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background: #fff;
    padding: 16px;
    margin: 0;
    border-radius: 12px;
    border: 1px solid #d7d7d7;
}

/* Active state for FAQ question - Khi mở ra liền với content bên dưới */
.faq-question.active {
    border: 1px solid #d7d7d7;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    margin-bottom: 0;
}

.faq-arrow {
    font-size: 16px;
    transition: transform 0.3s ease;
    margin-left: 10px;
}

.faq-answer {
    display: none; /* Ẩn mặc định */
    background: #fff;
    border: 1px solid #d7d7d7;
    border-radius: 0 0 12px 12px;
    padding: 15px;
    margin-top: 0;
}

/* FAQ Answer styling when expanded */
.faq-answer p {
    margin-bottom: 10px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}