.develogist-faq-section,
.develogist-faq-section .hd-chat-box,
.develogist-faq-section .hd-title,
.develogist-faq-section .accordion-body {
    text-align: right;
}

.develogist-faq-section .hd-chat-box {
    direction: rtl;
    position: relative;
    overflow: hidden;
    padding: 48px 38px;
    border-radius: 28px;
    background: linear-gradient(180deg, #0f1738 0%, #26335c 38%, #5b4478 68%, #1b1f45 100%);
    box-shadow: 0 24px 60px rgba(52, 40, 89, 0.26);
    isolation: isolate;
}

.develogist-faq-section .sky-cycle,
.develogist-faq-section .sky-horizon,
.develogist-faq-section .sky-sun,
.develogist-faq-section .sky-moon,
.develogist-faq-section .sky-stars {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.develogist-faq-section .sky-cycle {
    inset: 0;
    overflow: hidden;
}

.develogist-faq-section .sky-cycle::before,
.develogist-faq-section .sky-cycle::after {
    content: "";
    position: absolute;
    inset: 0;
}

.develogist-faq-section .sky-cycle::before {
    background: linear-gradient(180deg, #82d5ff 0%, #ffd28a 44%, #dd8778 72%, #6d4674 100%);
    animation: faqDaySky 6s linear infinite;
}

.develogist-faq-section .sky-cycle::after {
    background: linear-gradient(180deg, #0f1738 0%, #26335c 38%, #5b4478 68%, #1b1f45 100%);
    animation: faqNightSky 6s linear infinite;
}

.develogist-faq-section .sky-sun,
.develogist-faq-section .sky-moon {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    top: 13%;
    left: -12%;
    z-index: 1;
}

.develogist-faq-section .sky-sun {
    background: radial-gradient(circle, rgba(255, 252, 220, 1) 0%, rgba(255, 214, 120, 0.98) 42%, rgba(255, 169, 81, 0.45) 64%, rgba(255, 169, 81, 0) 76%);
    box-shadow: 0 0 50px rgba(255, 184, 91, 0.42);
    animation: faqSunTrack 6s linear infinite;
}

.develogist-faq-section .sky-moon {
    background: radial-gradient(circle at 32% 32%, rgba(255, 255, 255, 0.98) 0%, rgba(235, 242, 255, 0.95) 55%, rgba(203, 216, 255, 0.18) 72%, rgba(203, 216, 255, 0) 82%);
    box-shadow: 0 0 38px rgba(215, 227, 255, 0.28);
    opacity: 0;
    transform: scale(0.55);
    animation: faqMoonTrack 6s linear infinite;
}

.develogist-faq-section .sky-stars {
    inset: 0;
    opacity: 0;
    z-index: 1;
    background-image:
        radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.95) 0 1.5px, transparent 2px),
        radial-gradient(circle at 32% 18%, rgba(255, 255, 255, 0.75) 0 1px, transparent 1.5px),
        radial-gradient(circle at 58% 26%, rgba(255, 255, 255, 0.9) 0 1.4px, transparent 2px),
        radial-gradient(circle at 76% 16%, rgba(255, 255, 255, 0.8) 0 1px, transparent 1.5px),
        radial-gradient(circle at 84% 30%, rgba(255, 255, 255, 0.85) 0 1.2px, transparent 1.6px);
    animation: faqStarsShow 6s linear infinite;
}

.develogist-faq-section .sky-horizon {
    width: 130%;
    height: 42%;
    bottom: -14%;
    left: -15%;
    z-index: 1;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    background: linear-gradient(180deg, rgba(243, 162, 96, 0.2) 0%, rgba(70, 56, 112, 0.46) 52%, rgba(19, 23, 51, 0.88) 100%);
    filter: blur(4px);
    animation: faqHorizonWave 6s ease-in-out infinite;
}

.develogist-faq-section .hd-chat-box > :not(.sky-cycle) {
    position: relative;
    z-index: 1;
}

.develogist-faq-section .faq-accordion .accordion-button {
    text-align: right;
    font-weight: 600;
}

.develogist-faq-section .faq-accordion .accordion-button::after {
    margin-right: auto;
    margin-left: 0;
}

.develogist-faq-section .faq-accordion .accordion-body {
    line-height: 1.9;
}

.develogist-faq-section .hd-chat-box img {
    max-width: 320px;
}

@keyframes faqDaySky {
    0% { opacity: 1; }
    34% { opacity: 1; }
    52% { opacity: 0.28; }
    68% { opacity: 0; }
    82% { opacity: 0; }
    92% { opacity: 0.42; }
    100% { opacity: 1; }
}

@keyframes faqNightSky {
    0% { opacity: 0; }
    34% { opacity: 0; }
    56% { opacity: 0.78; }
    72% { opacity: 1; }
    88% { opacity: 0.46; }
    100% { opacity: 0; }
}

@keyframes faqSunTrack {
    0% { left: -12%; opacity: 0; transform: scale(0.55); }
    10% { left: 4%; opacity: 1; transform: scale(0.78); }
    28% { left: 34%; opacity: 1; transform: scale(1); }
    46% { left: 68%; opacity: 1; transform: scale(0.8); }
    56% { left: 84%; opacity: 0; transform: scale(0.55); }
    100% { left: 84%; opacity: 0; transform: scale(0.55); }
}

@keyframes faqMoonTrack {
    0%, 54% { left: -12%; opacity: 0; transform: scale(0.55); }
    64% { left: 4%; opacity: 0.92; transform: scale(0.78); }
    80% { left: 34%; opacity: 1; transform: scale(0.98); }
    100% { left: 84%; opacity: 0; transform: scale(0.55); }
}

@keyframes faqStarsShow {
    0%, 58% { opacity: 0; }
    72% { opacity: 0.35; }
    84% { opacity: 0.85; }
    100% { opacity: 0; }
}

@keyframes faqHorizonWave {
    0% { transform: translate3d(0, 0, 0) scaleX(1); }
    50% { transform: translate3d(-2%, -8px, 0) scaleX(1.03); }
    100% { transform: translate3d(0, 0, 0) scaleX(1); }
}
