/* JYS Jatni custom styles (on top of Tailwind) */

[x-cloak] {
    display: none !important;
}

h1, h2, h3, h4 {
    font-family: Montserrat, system-ui, sans-serif;
    letter-spacing: -0.015em;
}

/* Orange-over-green double line, taken from the logo ("== YUVA SHAKTI ==") */
.brand-rule {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    width: 28px;
    flex-shrink: 0;
}

.brand-rule::before,
.brand-rule::after {
    content: "";
    display: block;
    height: 3px;
    border-radius: 2px;
}

.brand-rule::before { background: #F7700C; }
.brand-rule::after  { background: #0A8040; }

/* Small label above section headings */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0A8040;
}

/* Soft dotted texture for light sections */
.dots {
    background-image: radial-gradient(rgba(11, 52, 116, 0.09) 1px, transparent 1px);
    background-size: 18px 18px;
}

/* Partner ticker on the home page */
.ticker {
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker 45s linear infinite;
}

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

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

@media (prefers-reduced-motion: reduce) {
    .ticker-track {
        animation: none;
        flex-wrap: wrap;
        width: auto;
        justify-content: center;
    }

    .ticker-track [aria-hidden="true"] {
        display: none;
    }
}

/* Header base line: orange over green, like the stripes in the logo */
.brand-band {
    height: 4px;
    background: linear-gradient(to bottom, #F7700C 0 50%, #0A8040 50% 100%);
}
