/* Container equivalent to mx-auto prose-lg prose-slate */

.animate {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 1.5s;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform, opacity;
}

.ios-fix .animate {
    opacity: 1;
    transform: none;
}

/* Directions */
.fade-up {
    transform: translateY(32px);
}

.fade-down {
    transform: translateY(-32px);
}

.fade-left {
    transform: translateX(36px);
}

.fade-right {
    transform: translateX(-36px);
}

/* Active */
.animate.show {
    opacity: 1;
    transform: translate(0, 0);
}

.bg-svg {
    background: url('/images/background/BG.svg') no-repeat center;
    background-size: cover;
}

.gradient-black-fade-soft {
    background: #113385;
    background: linear-gradient(180deg, rgba(17, 51, 133, 0.57) 0%, rgba(41, 167, 241, 0) 16%, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0) 64%, rgba(41, 167, 241, 0) 80%, rgba(17, 51, 133, 0.57) 100%);
    border-radius: 11px;
}

:root {
    --yellow: #fed900;
    --gray-light: #f7f7f7;
    --blue-sky: #29a7f1;
    --blue-primary: #1f51c1;
    --blue-dark: #113385;
}

.link-underline {
    position: relative;
    display: inline-block;
}

.link-underline::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--blue-primary);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.link-underline:hover::after {
    width: 100%;
}

.link-underline svg {
    transition: transform 0.3s;
    transform: rotate(0deg);
}

.link-underline:hover svg {
    transform: rotate(180deg);
}

.link-underline-gray {
    position: relative;
    display: inline-block;
}

.link-underline-gray::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--gray-light);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.link-underline-gray:hover::after {
    width: 100%;
}

.link-underline-gray svg {
    transition: transform 0.3s;
    transform: rotate(0deg);
}

.link-underline-gray:hover svg {
    transform: rotate(180deg);
}

.dropdown {
    position: relative;
}

/* Dropdown arrow */
.dropdown .arrow {
    font-size: 12px;
    margin-left: 4px;
}

/* Dropdown menu */
.dropdown-menu {
    position: absolute;
    top: 140%;
    left: 7px;
    min-width: 250px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.25s ease;
    z-index: 50;
}

/* Dropdown items */
.dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    color: #111827;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

/* Hover state */
.dropdown-menu li a:hover {
    background: var(--gray-light);
    color: var(--blue-primary);
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bg-yellow {
    background-color: var(--yellow);
}

.hover\:bg-yellow:hover,
.bg-yellow {
    background-color: var(--yellow);
}



.bg-gray-light {
    background-color: var(--gray-light);
}

.hover\:bg-gray-light:hover,
.bg-gray-light {
    background-color: var(--gray-light);
}



.bg-blue-sky {
    background-color: var(--blue-sky);
}

.hover\:bg-blue-sky:hover,
.bg-blue-sky {
    background-color: var(--blue-sky);
}



.bg-blue-primary {
    background-color: var(--blue-primary);
}

.hover\:bg-blue-primary:hover,
.bg-blue-primary {
    background-color: var(--blue-primary);
}

.border-blue-primary {
    border-color: var(--blue-primary);
}


.bg-blue-dark {
    background-color: var(--blue-dark);
}

.hover\:bg-blue-dark:hover,
.bg-blue-dark {
    background-color: var(--blue-dark);
}

.border-blue-dark {
    border-color: var(--blue-dark);
}



.text-yellow {
    color: var(--yellow);
}

.hover\:text-yellow:hover,
.text-yellow {
    color: var(--yellow);
}



.text-gray-light {
    color: var(--gray-light);
}

.hover\:text-gray-light:hover,
.text-gray-light {
    color: var(--gray-light);
}



.text-blue-sky {
    color: var(--blue-sky);
}

.hover\:text-blue-sky:hover,
.text-blue-sky {
    color: var(--blue-sky);
}



.text-blue-primary {
    color: var(--blue-primary);
}

.hover\:text-blue-primary:hover,
.text-blue-primary {
    color: var(--blue-primary);
}



.text-blue-dark {
    color: var(--blue-dark);
}

.hover\:text-blue-dark:hover,
.text-blue-dark {
    color: var(--blue-dark);
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 260px;
    height: 420px;
    margin: 0 auto;
    perspective: 800px;
}

@media (max-width: 1024px) {
    .slider-container {
        perspective: 1200px;
    }
}

@media (max-width: 768px) {
    .slider-container {
        max-width: 150px;
        height: 250px;
    }
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 24px 0;
    border-radius: 18px;
    transition: transform 0.7s ease, opacity 0.7s ease;
    will-change: transform;
}

.product-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.prose {
    font-size: 1.125rem;
    /* ~18px (prose-lg) */
    line-height: 1.75rem;
    color: #1e293b;
    /* slate-800 */
}

/* Headings */
.prose h1 {
    font-size: 2rem;
    line-height: 2.5rem;
    margin: 2rem 0 1rem;
    font-weight: 700;
}

.prose h2 {
    font-size: 1.5rem;
    line-height: 2rem;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.prose h3 {
    font-size: 1.25rem;
    line-height: 1.75rem;
    margin: 1.25rem 0 0.75rem;
    font-weight: 600;
}

.prose h4,
.prose h5,
.prose h6 {
    font-size: 1.125rem;
    margin: 1rem 0 0.5rem;
    font-weight: 600;
}

/* Paragraphs & text */
.prose p {
    margin-bottom: 1rem;
}

.prose strong,
.prose b {
    font-weight: 700;
}

.prose em,
.prose i {
    font-style: italic;
}

.prose u {
    text-decoration: underline;
}

.prose small {
    font-size: 0.875rem;
}

.prose mark {
    background: #fef08a;
    padding: 0 0.2em;
}

.prose sub,
.prose sup {
    font-size: 0.75em;
}

/* Links */
.prose a {
    color: #2563eb;
    text-decoration: underline;
}

.prose a:hover {
    color: #1e40af;
}

/* Blockquote */
.prose blockquote {
    border-left: 4px solid #cbd5e1;
    padding-left: 1rem;
    font-style: italic;
    color: #475569;
    margin: 1.5rem 0;
}

/* Lists */
.prose ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.prose ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

/* Code */
.prose code {
    font-family: monospace;
    background: #f1f5f9;
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-size: 0.95em;
}

.prose pre {
    background: #f1f5f9;
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
    font-family: monospace;
    margin-bottom: 1rem;
}

.prose pre code {
    background: none;
    padding: 0;
    font-size: 0.9em;
}

/* Tables */
.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 1rem;
}

.prose th,
.prose td {
    border: 1px solid #cbd5e1;
    padding: 0.75rem 1rem;
    text-align: left;
}

.prose th {
    background: #f8fafc;
    font-weight: 600;
}

.prose caption {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Images & figures */
.prose img,
.prose video,
.prose iframe {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 6px;
}

.prose figure {
    margin: 1.5rem 0;
    text-align: center;
}

.prose figcaption {
    font-size: 0.875rem;
    color: #475569;
    margin-top: 0.5rem;
}

/* Horizontal line */
.prose hr {
    border: none;
    border-top: 1px solid #cbd5e1;
    margin: 2rem 0;
}

/* Forms */
.prose input,
.prose textarea,
.prose select,
.prose button {
    font: inherit;
    padding: 0.5rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
}

.prose button {
    background: #2563eb;
    color: white;
    border: none;
    cursor: pointer;
}

.prose button:hover {
    background: #1e40af;
}

.prose label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

/* Other elements */
.prose details {
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
}

.prose summary {
    font-weight: 600;
    cursor: pointer;
}

.prose time {
    color: #475569;
    font-style: italic;
}