/* public/css/contact.css - Complete contact page styling */

/* Contact Hero Section */
.contact-hero {
    padding: 140px 0 80px;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.15) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--primary-color);
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--primary-light);
}

.breadcrumb i {
    font-size: 10px;
}

.hero-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-size-lg);
}

.stat-text {
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    font-weight: 600;
}

/* Contact Channels */
.contact-channels {
    padding: var(--section-padding);
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.channel-card {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    border: 2px solid var(--border-primary);
    padding: 30px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.channel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: var(--transition-slow);
}

.channel-card:hover::before {
    left: 100%;
}

.channel-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.channel-card.telegram {
    border-color: #0088cc;
}

.channel-card.telegram:hover {
    border-color: #0088cc;
    box-shadow: 0 20px 40px rgba(0, 136, 204, 0.15);
}

.channel-card.zalo {
    border-color: #0068ff;
}

.channel-card.zalo:hover {
    border-color: #0068ff;
    box-shadow: 0 20px 40px rgba(0, 104, 255, 0.15);
}

.channel-card.youtube {
    border-color: #ff0000;
}

.channel-card.youtube:hover {
    border-color: #ff0000;
    box-shadow: 0 20px 40px rgba(255, 0, 0, 0.15);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.channel-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    color: white;
    position: relative;
}

.telegram .channel-icon {
    background: linear-gradient(135deg, #0088cc, #006699);
}

.zalo .channel-icon {
    background: linear-gradient(135deg, #0068ff, #0052cc);
}

.youtube .channel-icon {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}

.channel-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
}

.channel-badge.popular {
    background: linear-gradient(135deg, #ff6b35, #ff8a65);
    color: white;
    animation: badge-pulse 2s infinite;
}

.channel-badge.recommended {
    background: linear-gradient(135deg, #22c55e, #4ade80);
    color: white;
}

.channel-badge.educational {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
}

@keyframes badge-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.card-content h3 {
    font-size: var(--font-size-xl);
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 700;
}

.channel-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.channel-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.feature i {
    width: 20px;
    color: var(--primary-color);
    font-size: var(--font-size-sm);
}

.feature span {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.channel-info {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item .label {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.info-item .value {
    color: var(--text-primary);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.value.online {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #22c55e;
}

.value.online i {
    font-size: 8px;
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0.3;
    }
}

.card-footer {
    text-align: center;
}

.btn-telegram {
    background: linear-gradient(135deg, #0088cc, #006699);
    border-color: #0088cc;
    color: white;
    width: 100%;
    margin-bottom: 12px;
}

.btn-telegram:hover {
    background: linear-gradient(135deg, #006699, #004466);
    transform: translateY(-2px);
}

.btn-zalo {
    background: linear-gradient(135deg, #0068ff, #0052cc);
    border-color: #0068ff;
    color: white;
    width: 100%;
    margin-bottom: 12px;
}

.btn-zalo:hover {
    background: linear-gradient(135deg, #0052cc, #003d99);
    transform: translateY(-2px);
}

.btn-youtube {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    border-color: #ff0000;
    color: white; 
    margin-bottom: 12px;
}

.btn-youtube:hover {
    background: linear-gradient(135deg, #cc0000, #990000);
    transform: translateY(-2px);
}

.channel-note {
    color: var(--text-muted);
    font-size: var(--font-size-xs);
    margin: 0;
    font-style: italic;
}

/* Quick Contact */
.quick-contact {
    padding: var(--section-padding);
}

.quick-contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.quick-contact-info h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: 16px;
    color: var(--text-primary);
}

.quick-contact-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-highlights {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.highlight-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.highlight-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-size-lg);
    flex-shrink: 0;
}

.highlight-content h4 {
    font-size: var(--font-size-base);
    margin-bottom: 4px;
    color: var(--text-primary);
}

.highlight-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: var(--font-size-sm);
    line-height: 1.4;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.quick-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 2px solid var(--border-primary);
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.quick-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: var(--transition-slow);
}

.quick-btn:hover::before {
    left: 100%;
}

.quick-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.telegram-btn {
    border-color: #0088cc;
}

.telegram-btn:hover {
    border-color: #0088cc;
    background: rgba(0, 136, 204, 0.05);
}

.zalo-btn {
    border-color: #0068ff;
}

.zalo-btn:hover {
    border-color: #0068ff;
    background: rgba(0, 104, 255, 0.05);
}

.youtube-btn {
    border-color: #ff0000;
}

.youtube-btn:hover {
    border-color: #ff0000;
    background: rgba(255, 0, 0, 0.05);
}

.btn-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    color: white;
    flex-shrink: 0;
}

.telegram-btn .btn-icon {
    background: linear-gradient(135deg, #0088cc, #006699);
}

.zalo-btn .btn-icon {
    background: linear-gradient(135deg, #0068ff, #0052cc);
}

.youtube-btn .btn-icon {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}

.btn-content {
    flex: 1;
    text-align: left;
}

.btn-title {
    display: block;
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.btn-subtitle {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.btn-arrow {
    color: var(--text-muted);
    font-size: var(--font-size-lg);
    transition: var(--transition-normal);
}

.quick-btn:hover .btn-arrow {
    color: var(--primary-color);
    transform: translateX(4px);
}

.contact-note {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: var(--radius-lg);
}

.note-icon {
    color: #f59e0b;
    font-size: var(--font-size-lg);
    flex-shrink: 0;
    margin-top: 2px;
}

.note-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

/* FAQ */
.contact-faq {
    padding: var(--section-padding);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.faq-question:hover {
    background: rgba(0, 212, 255, 0.02);
}

.faq-question h4 {
    font-size: var(--font-size-base);
    color: var(--text-primary);
    margin: 0;
    flex: 1;
    padding-right: 16px;
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition-normal);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--bg-secondary);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 20px;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Stats */
.contact-stats {
    padding: var(--section-padding);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-primary);
    padding: 30px;
    text-align: center;
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.stat-card .stat-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: var(--font-size-2xl);
}

.stat-card .stat-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-card .stat-number {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-card .stat-label {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

/* Team Section */
.contact-team {
    padding: var(--section-padding);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-primary);
    padding: 30px;
    text-align: center;
    transition: var(--transition-normal);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.member-avatar {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: var(--font-size-2xl);
}

.member-info h4 {
    font-size: var(--font-size-lg);
    margin-bottom: 4px;
    color: var(--text-primary);
}

.member-role {
    color: var(--primary-color);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: 12px;
}

.member-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: var(--font-size-sm);
}

.member-channels {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.channel-tag {
    padding: 4px 12px;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
}

.channel-tag.telegram {
    background: rgba(0, 136, 204, 0.1);
    color: #0088cc;
    border: 1px solid rgba(0, 136, 204, 0.3);
}

.channel-tag.zalo {
    background: rgba(0, 104, 255, 0.1);
    color: #0068ff;
    border: 1px solid rgba(0, 104, 255, 0.3);
}

.channel-tag.youtube {
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-xl);
    max-width: 420px;
    /* SỬA TỪ 500px THÀNH 420px */
    width: 90%;
    max-height: 75vh;
    /* SỬA TỪ 80vh THÀNH 75vh */
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 24px 0;
    position: relative;
}

.modal-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-size-xl);
}

.modal-icon.telegram {
    background: linear-gradient(135deg, #0088cc, #006699);
}

.modal-icon.zalo {
    background: linear-gradient(135deg, #0068ff, #0052cc);
}

.modal-icon.youtube {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}

.modal-header h3 {
    font-size: var(--font-size-xl);
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

.modal-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    border-radius: var(--radius-lg);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
}

/* QR Section */
.qr-section {
    text-align: center;
    margin-bottom: 30px;
}

.qr-code {
    margin-bottom: 16px;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border: 2px dashed var(--border-primary);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--bg-secondary);
    transition: var(--transition-normal);
    cursor: pointer;
}

.qr-placeholder:hover {
    border-color: var(--primary-color);
    background: rgba(0, 212, 255, 0.05);
}

.qr-placeholder.telegram-qr {
    border-color: #0088cc;
    color: #0088cc;
}

.qr-placeholder.zalo-qr {
    border-color: #0068ff;
    color: #0068ff;
}

.qr-placeholder i {
    font-size: 48px;
}

.qr-placeholder span {
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.qr-instruction {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: var(--font-size-sm);
}

.qr-note {
    color: var(--text-muted);
    font-size: var(--font-size-xs);
    font-style: italic;
    margin: 0;
}

/* Contact Actions */
.contact-actions {
    margin-bottom: 30px;
}

.btn-full {
    width: 100%;
    margin-bottom: 12px;
}

.username {
    text-align: center;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    margin: 0;
    font-family: monospace;
}

.zalo-info {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 16px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item .label {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.info-item .value {
    color: var(--text-primary);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

/* Guidelines */
.contact-guidelines {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 24px;
}

.guidelines-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: #d97706;
    font-size: var(--font-size-sm);
}

.guidelines-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.guideline-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: var(--font-size-sm);
    line-height: 1.4;
}

.guideline-item.important {
    color: #ef4444;
    font-weight: 600;
}

.guideline-item i {
    color: #f59e0b;
    margin-top: 2px;
    flex-shrink: 0;
}

.guideline-item.important i {
    color: #ef4444;
}

/* Example Message */
.example-message {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 20px;
}

.example-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--primary-color);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.example-content {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: 12px;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.4;
}

/* Support Types */
.support-types {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.support-type {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-primary);
    transition: var(--transition-normal);
}

.support-type:hover {
    border-color: var(--primary-color);
    background: rgba(0, 212, 255, 0.02);
}

.type-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-size-base);
    flex-shrink: 0;
}

.type-icon.technical {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.type-icon.sales {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.type-icon.training {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.type-content h4 {
    font-size: var(--font-size-sm);
    margin-bottom: 4px;
    color: var(--text-primary);
}

.type-content p {
    color: var(--text-secondary);
    font-size: var(--font-size-xs);
    margin: 0;
    line-height: 1.3;
}

/* YouTube Specific */
.channel-preview {
    text-align: center;
    margin-bottom: 24px;
}

.channel-thumb {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
    gap: 8px;
}

.channel-thumb i {
    font-size: 40px;
}

.channel-thumb span {
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.channel-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.channel-stats .stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}

.channel-stats .stat i {
    color: var(--primary-color);
}

.video-categories {
    margin-top: 24px;
}

.video-categories h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-size: var(--font-size-base);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.category-item:hover {
    background: rgba(0, 212, 255, 0.05);
    color: var(--text-primary);
}

.category-item i {
    color: var(--primary-color);
}

.youtube-note {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: var(--radius-lg);
    margin-top: 20px;
}

.youtube-note .note-icon {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.youtube-note .note-content p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.4;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: var(--font-size-2xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-base);
    }

    .hero-stats {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }

    .stat-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .channels-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .channel-card {
        padding: 24px;
    }

    .quick-contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        max-width: 90%;
        max-height: 85vh;
    }

    .modal-header {
        padding: 18px 18px 0;
        /* Giảm padding */
    }

    .modal-body {
        padding: 18px;
        /* Giảm padding */
    }

    .qr-placeholder {
        width: 150px;
        /* Giảm kích thước QR */
        height: 150px;
    }

    .qr-placeholder i {
        font-size: 32px;
        /* Giảm icon size */
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .channel-stats {
        gap: 14px;
    }

    .guidelines-content {
        gap: 8px;
    }

    .support-types {
        gap: 8px;
    }

}


@media (max-width: 480px) {
    .channel-card {
        padding: 20px;
    }

    .channel-icon {
        width: 60px;
        height: 60px;
        font-size: var(--font-size-xl);
    }

    .quick-btn {
        padding: 16px;
    }

    .btn-icon {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-lg);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-card .stat-icon {
        width: 60px;
        height: 60px;
        font-size: var(--font-size-xl);
    }

    .contact-highlights {
        gap: 20px;
    }

    .highlight-icon {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-base);
    }

    .modal-content {
        width: 95%;
        margin: 15px auto;
        max-height: 90vh;
    }

    .modal-header {
        padding: 14px 14px 0;
    }

    .modal-body {
        padding: 14px;
    }

    .modal-icon {
        width: 45px;
        height: 45px;
        font-size: var(--font-size-base);
    }

    .qr-placeholder {
        width: 130px;
        height: 130px;
    }

    .channel-thumb {
        width: 90px;
        height: 90px;
    }

    .channel-thumb i {
        font-size: 28px;
    }
}

/* Animation */
.channel-card,
.stat-card,
.team-member {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.channel-card:nth-child(1) {
    animation-delay: 0.1s;
}

.channel-card:nth-child(2) {
    animation-delay: 0.2s;
}

.channel-card:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-card:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-card:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-card:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-card:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Animation */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.modal.active .modal-content {
    animation: modalFadeIn 0.3s ease;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

    .channel-card,
    .stat-card,
    .team-member,
    .badge-pulse,
    .blink {
        animation: none;
    }
}

/* Print styles */
@media print {

    .contact-hero::before,
    .modal {
        display: none;
    }

    .channel-card,
    .stat-card,
    .team-member {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

@media (min-width: 1024px) {
    .modal-content {
        max-width: 650px!important;
        background-color: red;
    }

    .modal-header {
        padding: 20px 20px 0;
    }

    .modal-body {
        padding: 20px;
    }

    .qr-placeholder {
        width: 170px;
        height: 170px;
    }

    .qr-placeholder i {
        font-size: 40px;
    }
}
.modal-content {
    /* Existing styles... */
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 212, 255, 0.3) transparent;
}

/* Webkit Scrollbar (Chrome, Safari, Edge) */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(0, 212, 255, 0.5));
    border-radius: 10px;
    transition: all 0.3s ease;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.5), rgba(0, 212, 255, 0.7));
}

/* Hoặc ẩn scrollbar hoàn toàn */
.modal-content.no-scrollbar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.modal-content.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Gradient fade effect cho content */
.modal-body {
    position: relative;
}

.modal-body::after {
    content: '';
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(transparent, var(--bg-card));
    pointer-events: none;
    z-index: 1;
}

/* Custom scrollbar cho mobile */
@media (max-width: 768px) {
    .modal-content::-webkit-scrollbar {
        width: 4px;
    }
    
    .modal-content::-webkit-scrollbar-thumb {
        background: rgba(0, 212, 255, 0.4);
    }
}

/* Smooth scroll behavior */
.modal-content {
    scroll-behavior: smooth;
}

/* Alternative: Ẩn scrollbar và thêm scroll indicator */
.modal-scroll-indicator {
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0 var(--radius-2xl) var(--radius-2xl) 0;
    z-index: 10;
}

.modal-scroll-progress {
    width: 100%;
    background: var(--gradient-primary);
    border-radius: inherit;
    transition: height 0.1s ease;
    height: 0%;
} 