/* Consultation & Support Page Styles */

/* Hero Section */
.consultation-hero-section {
    position: relative;
    min-height: 45vh;
    background: url('/upload/images/banner1.png') center/cover no-repeat;
    overflow: hidden;
    padding: 80px 0 60px;
    display: flex;
    align-items: center;
    margin-top: 0;
}

.consultation-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 0;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Main Section */
.consultation-main-section {
    background: #f8f9fa;
    min-height: 600px;
}

/* Support Tabs */
.support-tabs-wrapper {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.support-tabs {
    border-bottom: 2px solid #e9ecef;
    padding: 0;
    margin: 0;
    background: #f8f9fa;
}

.support-tabs .nav-item {
    margin: 0;
}

.support-tabs .nav-link {
    border: none;
    border-radius: 0;
    padding: 15px 20px;
    color: #495057;
    font-weight: 600;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.support-tabs .nav-link:hover {
    background: #e9ecef;
    color: #667eea;
}

.support-tabs .nav-link.active {
    background: white;
    color: #667eea;
    border-bottom-color: #667eea;
}

.support-tabs .nav-link i {
    margin-right: 8px;
    font-size: 1.1rem;
}

/* Tab Content */
.support-tab-content {
    padding: 30px;
}

.tab-panel-inner {
    max-width: 100%;
}

.tab-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.tab-title i {
    color: #667eea;
    margin-right: 10px;
}

/* Forms */
.consultation-form,
.feedback-form {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.consultation-form .form-label,
.feedback-form .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.consultation-form .form-control,
.feedback-form .form-control {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 10px 15px;
    transition: all 0.3s;
}

.consultation-form .form-control:focus,
.feedback-form .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Rating Input */
.rating-input {
    display: flex;
    gap: 5px;
    align-items: center;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.rating-input input[type="radio"] {
    display: none;
}

.rating-input .star-label {
    font-size: 2rem;
    color: #dee2e6;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
}

.rating-input .star-label:hover,
.rating-input .star-label:hover ~ .star-label,
.rating-input input[type="radio"]:checked ~ .star-label,
.rating-input .star-label.active {
    color: #ffc107;
}

/* FAQ Section */
.faq-section {
    margin-top: 30px;
}

.faq-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.faq-title i {
    color: #667eea;
    margin-right: 10px;
}

.accordion-item {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    color: #495057;
    background: white;
    border: none;
}

.accordion-button:not(.collapsed) {
    background: #f8f9fa;
    color: #667eea;
}

.accordion-body {
    background: white;
    padding: 20px;
    line-height: 1.8;
}

/* Feedback Section */
.feedback-section {
    margin-top: 30px;
}

.feedback-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.feedback-title i {
    color: #667eea;
    margin-right: 10px;
}

/* Policy Content */
.policy-content,
.security-content,
.rules-content {
    line-height: 1.8;
}

.policy-content h4,
.security-content h4,
.rules-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-top: 25px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.policy-content ul,
.security-content ul,
.rules-content ul {
    padding-left: 25px;
    margin-bottom: 20px;
}

.policy-content li,
.security-content li,
.rules-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Security Commitment Card */
.security-commitment-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
}

.commitment-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.security-commitment-card h4 {
    color: white;
    border: none;
    margin-top: 0;
    padding: 0;
}

.security-commitment-card p {
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Response Time Info */
.response-time-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.time-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
}

.time-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.time-item i {
    font-size: 1.5rem;
    color: #667eea;
    margin-top: 5px;
}

/* Support Methods */
.support-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.method-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
}

.method-card:hover {
    background: #e9ecef;
    transform: translateY(-5px);
}

.method-card i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 10px;
}

.method-card h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.method-card p {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* Content Sidebar */
.content-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.sidebar-title i {
    color: #667eea;
    margin-right: 10px;
}

.sidebar-subtitle {
    color: #6c757d;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.sidebar-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-bottom: 25px;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.section-title i {
    color: #667eea;
    margin-right: 10px;
}

/* Article Items */
.article-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.article-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.article-link {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.article-link:hover {
    color: #667eea;
}

.article-image {
    flex-shrink: 0;
    width: 100px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    flex: 1;
}

.article-title {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.article-link:hover .article-title {
    color: #667eea;
}

.article-excerpt {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 8px;
    line-height: 1.5;
}

.article-meta {
    font-size: 0.85rem;
    color: #adb5bd;
}

.article-meta i {
    margin-right: 5px;
}

/* Tips List */
.tips-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.tip-item i {
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.tip-item strong {
    display: block;
    color: #333;
    margin-bottom: 5px;
}

.tip-item p {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Contact Info Card */
.contact-info-card {
    background: #515151;
    color: white;
    padding: 25px;
    border-radius: 12px;
}

.contact-info-card .card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 15px;
}

.contact-info-card .card-title i {
    margin-right: 10px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    font-size: 1.5rem;
    margin-top: 5px;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.contact-item p {
    margin-bottom: 0;
    font-size: 1rem;
}

.contact-item a {
    color: white;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 991px) {
    .content-sidebar {
        position: static;
        margin-top: 30px;
    }

    .support-tabs .nav-link {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .support-tab-content {
        padding: 20px;
    }
}

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .support-tabs {
        flex-wrap: wrap;
    }

    .support-tabs .nav-link {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .support-tabs .nav-link i {
        display: none;
    }

    .support-methods {
        grid-template-columns: 1fr;
    }

    .article-link {
        flex-direction: column;
    }

    .article-image {
        width: 100%;
        height: 200px;
    }

    .rating-input {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .consultation-hero-section {
        min-height: 200px;
        padding: 40px 0;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .support-tab-content {
        padding: 15px;
    }

    .consultation-form,
    .feedback-form {
        padding: 15px;
    }

    .tab-title {
        font-size: 1.2rem;
    }
}

