/* css/pages.css */

/* Help Container */
.help-container {
    padding: 0 10px 40px 10px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Page Header (Generic) */
.page-header {
    margin-bottom: 30px;
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.header-content h1 {
    font-size: 2rem;
    margin: 10px 0;
    font-weight: 700;
}

.header-content p {
    color: #94a3b8;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.contact-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.contact-card.whatsapp:hover {
    border-color: #22c55e;
}

.contact-card.whatsapp .icon-box {
    background: #dcfce7;
    color: #16a34a;
}

.contact-card.email:hover {
    border-color: #3b82f6;
}

.contact-card.email .icon-box {
    background: #dbeafe;
    color: #2563eb;
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.card-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #1e293b;
}

.card-info p {
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    color: #64748b;
}

.action-text {
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.8;
}

/* Section Common */
.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #334155;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.section-title i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.section-title h2 {
    margin: 0;
    font-size: 1.25rem;
}

/* Form Styles (for Contact) */
.page-form {
    background: white;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #475569;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.btn-submit {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-submit:hover {
    background-color: #047857;
}

/* Steps (for How it Works) */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    margin: 0 0 10px 0;
    color: #1e293b;
}

.step-content p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

/* Sitemap List */
.sitemap-tree ul {
    list-style: none;
    padding-left: 20px;
}

.sitemap-tree>ul {
    padding-left: 0;
}

.sitemap-tree li {
    margin-bottom: 10px;
    position: relative;
}

.sitemap-tree a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.sitemap-tree a:hover {
    color: var(--primary-color);
}

.sitemap-tree i {
    color: #94a3b8;
    width: 20px;
    text-align: center;
}

/* FAQ Specific (Kept generic here or in page) */
.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
}

.faq-item[open] {
    border-color: var(--primary-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.faq-item summary {
    list-style: none;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: #1e293b;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.toggle-icon {
    color: #94a3b8;
    transition: transform 0.3s;
}

.faq-item[open] .toggle-icon {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.answer {
    padding: 0 20px 20px 20px;
    color: #475569;
    line-height: 1.6;
    font-size: 0.95rem;
    border-top: 1px solid transparent;
}

.faq-item[open] .answer {
    border-top-color: #f1f5f9;
    padding-top: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

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