/* Styles that were component-scoped on the original site */

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateZ(0); }
}
.fade-in-up { animation: 1s cubic-bezier(.25, .46, .45, .94) fadeInUp; }

/* Our Journey */
.border-color {
    border-image: linear-gradient(90deg, #27488d, #ffffff1a);
    opacity: .2;
    border-image-slice: 1;
}
.mySwiper { width: 100%; }
.journey-scrollbar::-webkit-scrollbar { display: none; }

/* Awards: scrollbar on the left on desktop */
.awards-scrollbar { direction: rtl; }
.awards-scrollbar-content { direction: ltr; }
@media screen and (max-width: 1279px) {
    .awards-scrollbar { direction: ltr; }
}

/* Privacy / Terms: sidebar scrollbar on the left on desktop */
html { scroll-behavior: smooth; }
.scroll-mt-8 { scroll-margin-top: 2rem; }
.legal-scrollbar { direction: rtl; }
.legal-scrollbar > * { direction: ltr; }
@media screen and (max-width: 1279px) {
    .legal-scrollbar { direction: ltr; }
}

/* Privacy / Terms: rich text written in the admin editor */
.legal-content > * + * { margin-top: .75rem; }
.legal-content h1, .legal-content h2, .legal-content h3 { font-weight: 600; line-height: 1.25; }
.legal-content h1 { font-size: 1.5em; }
.legal-content h2 { font-size: 1.3em; }
.legal-content h3 { font-size: 1.15em; }
.legal-content ul { list-style: disc; padding-left: 1.5rem; }
.legal-content ol { list-style: decimal; padding-left: 1.5rem; }
.legal-content li + li { margin-top: .25rem; }
.legal-content a { text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { opacity: .7; }

/* Form error message */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(-2px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in { animation: .2s ease-in-out fadeIn; }

/* Mobile menu */
body.menu-open [data-menu-overlay] { opacity: 1; pointer-events: auto; }
/* Tailwind v4's translate-x-full sets the `translate` property, not `transform`. */
body.menu-open [data-menu-panel] { translate: 0 0; }
body.menu-open [data-menu-toggle] { background-color: var(--color-primary-800); color: #fff; }

/* Scrollbars (page, mobile menu, lists), same as cbg.com.bd: thin navy thumb, transparent track */
::-webkit-scrollbar { width: 15px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background-color: #1f2a6d;
    background-clip: content-box;
    border: 5px solid transparent;
    border-radius: 999px;
    min-height: 40px;
}
::-webkit-scrollbar-thumb:hover { background-color: #141c4d; }
