/**
 * For9a English Pixel-Perfect Clone Stylesheet
 * File: public/Website/css/for9a-clone.css
 */

/* ─── Hero Typography & Spacing ───────────────────────── */
.hero-settle {
    animation: heroSettle 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* ─── Hero 5-Card Fan Collage ─────────────────────────── */
.hero-fan {
    perspective: 1200px;
}

.hero-fan-card {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    transform: rotate(var(--fan-rot, 0deg));
    transform-origin: 50% 100%;
}

.hero-fan-card:hover {
    transform: translateY(-12px) rotate(0deg) scale(1.08) !important;
    z-index: 30 !important;
    box-shadow: 0 25px 35px -5px rgba(234, 88, 12, 0.25), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.hero-fan-float {
    animation: fanFloat var(--float-dur, 5s) ease-in-out infinite alternate;
    animation-delay: var(--float-delay, 0s);
}

@keyframes fanFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(calc(var(--float, 6px) * -1)); }
}

.hero-bob {
    animation: heroBob var(--bob-dur, 3.5s) ease-in-out infinite alternate;
}

@keyframes heroBob {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-8px) rotate(4deg); }
}

/* ─── Marquee Animation ───────────────────────────────── */
.org-marquee {
    overflow: hidden;
    user-select: none;
    position: relative;
    width: 100%;
}

.org-marquee-track {
    display: flex;
    width: max-content;
    animation: orgScroll 35s linear infinite;
}

.org-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes orgScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ─── How It Works (Three Steps) ───────────────────────── */
.how-band {
    background: radial-gradient(circle at 50% 0%, #FFF8F2 0%, #ffffff 75%);
}

.how-tile {
    background: #FFF1E7;
    border: 1px solid #FED7AA;
    box-shadow: 0 8px 20px -4px rgba(255, 105, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-step:hover .how-tile {
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 14px 28px -4px rgba(255, 105, 0, 0.25);
    background: #ff6900;
    color: #ffffff;
}

.how-step:hover .how-tile svg path {
    stroke: #ffffff;
}

/* ─── Category & Destination Cards ─────────────────────── */
.for9a-cat-card {
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.for9a-cat-card:hover {
    border-color: #ff6900;
    box-shadow: 0 10px 25px -5px rgba(255, 105, 0, 0.12);
    transform: translateY(-2px);
}

/* ─── Accordion Collapse Transitions ───────────────────── */
[x-cloak] {
    display: none !important;
}

/* ─── FAQ Section Layout & Spacing (Exact For9a Specification) ─── */
.faq-section {
    padding-top: 4rem;
    padding-bottom: 5rem;
    background-color: #ffffff;
}

.faq-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
    align-items: start !important;
}

@media (min-width: 1024px) {
    .faq-grid {
        grid-template-columns: 5fr 7fr !important;
        gap: 3.5rem !important;
    }
}

.faq-left {
    display: flex;
    flex-direction: column;
}

.faq-title {
    font-size: 2.25rem;
    line-height: 1.25;
    font-weight: 800;
    color: #111827;
    margin-top: 0;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.faq-subtitle {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #4b5563;
    margin-bottom: 1.75rem;
}

.faq-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.75rem;
    border: 2px solid #ff6900;
    color: #ff6900;
    background-color: transparent;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.2s ease;
    width: fit-content;
    margin-bottom: 2rem;
}

.faq-contact-btn:hover {
    background-color: #ff6900;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(255, 105, 0, 0.25);
}

.faq-image-card {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.faq-image-card img {
    width: 100%;
    height: 15rem;
    object-fit: cover;
    display: block;
}

.faq-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    overflow: hidden;
    background-color: #ffffff;
    transition: all 0.25s ease;
    margin-bottom: 0.75rem;
}

.faq-item:hover {
    border-color: #fed7aa;
}

.faq-trigger {
    width: 100%;
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-weight: 700;
    font-size: 1.05rem;
    color: #111827;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: color 0.2s ease;
}

.faq-trigger:hover {
    color: #ff6900;
}

.faq-content {
    border-top: 1px solid #fed7aa;
    padding: 0.75rem 1.5rem 1.25rem 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #4b5563;
}

/* ─── For9a Filter Sidebar & Discovery Styles ───────────── */
.for9a-filter-card {
    background-color: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 1.5rem !important;
    padding: 1.5rem 1.75rem !important;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04) !important;
}

.for9a-filter-title {
    font-size: 1.125rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.for9a-filter-label {
    display: block !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #64748b !important;
    margin-bottom: 0.5rem !important;
}

.for9a-filter-input,
.for9a-filter-select {
    width: 100% !important;
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 0.875rem !important;
    padding: 0.65rem 0.875rem !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    transition: all 0.2s ease !important;
}

.for9a-filter-input:focus,
.for9a-filter-select:focus {
    outline: none !important;
    border-color: #ff6900 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(255, 105, 0, 0.15) !important;
}

.for9a-active-tag {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.375rem !important;
    background-color: #FFF1E7 !important;
    border: 1px solid #FED7AA !important;
    color: #c2410c !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 9999px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
}

.for9a-active-tag:hover {
    background-color: #ffedd5 !important;
    color: #9a3412 !important;
    border-color: #fdba74 !important;
}

.for9a-filter-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    width: 100% !important;
    background-color: #ff6900 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 0.875rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding: 0.85rem 1.25rem !important;
    border-radius: 0.875rem !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(255, 105, 0, 0.25) !important;
    transition: all 0.2s ease !important;
}

.for9a-filter-btn:hover {
    background-color: #ea580c !important;
    box-shadow: 0 6px 20px rgba(255, 105, 0, 0.35) !important;
    transform: translateY(-1px) !important;
}

/* ─── For9a Pagination Styling ──────────────────────────── */
.pagination {
    display: flex !important;
    align-items: center !important;
    gap: 0.375rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.pagination .page-item .page-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 2.5rem !important;
    height: 2.5rem !important;
    padding: 0 0.75rem !important;
    border-radius: 0.75rem !important;
    border: 1px solid #e2e8f0 !important;
    background-color: #ffffff !important;
    color: #475569 !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.pagination .page-item.active .page-link {
    background-color: #ff6900 !important;
    border-color: #ff6900 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(255, 105, 0, 0.25) !important;
}

.pagination .page-item .page-link:hover {
    border-color: #ff6900 !important;
    color: #ff6900 !important;
    background-color: #FFF1E7 !important;
}

.pagination .page-item.disabled .page-link {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}


