/**
 * Ramirez Adventures - FAQ Page Stylesheet
 */

.ra-faq-page {
    font-family: 'Roboto', sans-serif;
    color: #334155;
    background-color: #f8fafc;
    padding-bottom: 80px;
    margin-top: 100px; /* offset fixed header */
}

/* Hero Section */
.ra-faq-hero {
    position: relative;
    background: url('../../../uploads/2026/06/bg-tours.jpg') center/cover no-repeat;
    padding: 100px 20px;
    text-align: center;
    color: #ffffff;
}

.ra-faq-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 48, 71, 0.9) 0%, rgba(6, 130, 133, 0.8) 100%);
    z-index: 1;
}

.ra-faq-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.ra-faq-badge {
    display: inline-block;
    background-color: #f58025;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: bold;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(245, 128, 37, 0.3);
}

.ra-faq-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    text-transform: uppercase;
    margin: 0 0 15px 0;
    letter-spacing: 1px;
    color: #ffffff;
}

.ra-faq-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #e2e8f0;
    margin: 0;
}

/* Grid Layout */
.ra-faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 0 20px;
}

.ra-faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

@media (min-width: 992px) {
    .ra-faq-grid {
        grid-template-columns: 7fr 4fr;
    }
}

/* Left Content: Sections & Accordions */
.ra-faq-section {
    margin-bottom: 50px;
}

.ra-faq-section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    text-transform: uppercase;
    color: #0e3047;
    margin-bottom: 25px;
    border-bottom: 3px solid #068285;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ra-faq-section-title i {
    color: #f58025;
}

/* Accordion Element */
.ra-accordion-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ra-accordion-item:hover {
    box-shadow: 0 8px 20px rgba(14, 48, 71, 0.05);
    border-color: #cbd5e1;
}

.ra-accordion-item.active {
    border-color: #068285;
    box-shadow: 0 10px 25px rgba(6, 130, 133, 0.08);
}

.ra-accordion-header {
    width: 100%;
    padding: 22px 25px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0e3047;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: color 0.2s ease;
}

.ra-accordion-header:hover {
    color: #068285;
}

.ra-accordion-icon {
    font-size: 0.95rem;
    color: #068285;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0fdfa;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.ra-accordion-item.active .ra-accordion-icon {
    background: #068285;
    color: #ffffff;
    transform: rotate(180deg);
}

.ra-accordion-body {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid transparent;
}

.ra-accordion-item.active .ra-accordion-body {
    max-height: 1000px;
    padding: 0 25px 25px 25px;
    opacity: 1;
    border-color: #f1f5f9;
}

.ra-accordion-body p {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #475569;
    margin: 0 0 15px 0;
}

.ra-accordion-body p:last-child {
    margin: 0;
}

.ra-accordion-body ul {
    margin: 0 0 15px 20px;
    padding: 0;
}

.ra-accordion-body li {
    font-size: 0.98rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 8px;
}

/* Comparison Table */
.ra-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 10px 0;
    font-size: 0.92rem;
}

.ra-comparison-table th, 
.ra-comparison-table td {
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.ra-comparison-table th {
    background-color: #0e3047;
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ra-comparison-table tr:nth-child(even) {
    background-color: #f8fafc;
}

.ra-highlight-yes {
    color: #068285;
    font-weight: bold;
    background-color: #f0fdfa !important;
}

.ra-highlight-no {
    color: #94a3b8;
    background-color: #fafafa;
}

/* Right Side: AI Search Sidebar */
.ra-faq-sidebar {
    position: sticky;
    top: 120px;
    z-index: 10;
}

.ra-ai-faq-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(14, 48, 71, 0.04);
}

.ra-ai-faq-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.ra-ai-avatar {
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0e3047 0%, #068285 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(6, 130, 133, 0.2);
}

.ra-ai-faq-header h3 {
    margin: 0;
    font-family: 'Oswald', sans-serif;
    font-size: 1.35rem;
    text-transform: uppercase;
    color: #0e3047;
    letter-spacing: 0.5px;
}

.ra-ai-badge {
    display: inline-block;
    background-color: #f0fdfa;
    color: #068285;
    font-size: 0.72rem;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid #ccfbf1;
    margin-top: 3px;
}

.ra-ai-card-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #475569;
    margin: 0 0 20px 0;
}

/* Input form */
.ra-ai-form {
    margin-bottom: 20px;
}

.ra-ai-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.ra-ai-input-wrap input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    color: #0e3047;
}

.ra-ai-input-wrap input:focus {
    outline: none;
    border-color: #068285;
    box-shadow: 0 0 0 4px rgba(6, 130, 133, 0.15);
}

.ra-ai-submit-btn {
    position: absolute;
    right: 6px;
    background: #068285;
    color: #ffffff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ra-ai-submit-btn:hover {
    background: #f58025;
    transform: scale(1.05);
}

/* Response Box */
.ra-ai-response-box {
    background: #fafdfd;
    border: 1.5px solid #ccfbf1;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    min-height: 60px;
    position: relative;
    animation: fadeIn 0.3s ease-out;
}

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

.ra-ai-bubble-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #0e3047;
}

/* Typing animation */
.ra-ai-typing {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
}

.ra-typing-dot {
    width: 8px;
    height: 8px;
    background: #068285;
    border-radius: 50%;
    animation: bounce 1.3s infinite ease-in-out;
}

.ra-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.ra-typing-dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1.0); }
}

/* Trust Factors List */
.ra-ai-trust-factors {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ra-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #475569;
}

.ra-trust-item i {
    color: #f58025;
    font-size: 1rem;
    width: 20px;
}
