/* Jhaji Enterprises — Bootstrap theme + light custom layout */
:root {
    --bs-primary: #1d4ed8;
    --bs-primary-rgb: 29, 78, 216;
    --je-accent: #0ea5e9;
    --je-muted: #64748b;
    --je-footer-bg: #0f172a;
}

body {
    font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--bs-primary);
    color: #fff;
    padding: 0.5rem 1rem;
    z-index: 1080;
}

.skip-link:focus {
    left: 0.5rem;
    top: 0.5rem;
}

/* Logo: intrinsic ~117×120, displayed smaller for crisp layout */
.je-brand-logo {
    height: 40px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    flex-shrink: 0;
}

.je-brand-logo--footer {
    height: 44px;
    max-width: 160px;
}

.hero-gradient {
    background: linear-gradient(160deg, #eff6ff 0%, #fff 45%, #f8fafc 100%);
}

.stat-pill {
    text-align: center;
    padding: 0.75rem;
}

.stat-pill strong {
    display: block;
    font-size: 1.25rem;
    color: var(--bs-primary);
}

.stat-pill span {
    font-size: 0.75rem;
    color: var(--je-muted);
}

.pill-tag {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    margin: 0.25rem 0.25rem 0.25rem 0;
    background: #eff6ff;
    color: #1e40af;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.site-footer {
    background: var(--je-footer-bg);
    color: #94a3b8;
    padding-top: 3rem;
    margin-top: auto;
}

.site-footer h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #e2e8f0;
}

.site-footer a {
    color: #94a3b8;
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

main {
    min-height: 50vh;
}

.icon-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--je-accent);
    margin-bottom: 0.5rem;
}

/* Work showcase carousel (below navbar) */
.je-hero-carousel {
    --je-carousel-h: min(52vh, 520px);
}

.je-hero-carousel--compact {
    --je-carousel-h: min(36vh, 320px);
}

.je-hero-carousel .carousel-inner,
.je-hero-carousel .carousel-item,
.je-hero-carousel .carousel-item img {
    height: var(--je-carousel-h);
}

.je-hero-carousel .carousel-item img {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.je-hero-carousel .carousel-caption {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2.25rem 1.5rem 1.5rem;
    text-align: left;
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.92) 0%,
        rgba(15, 23, 42, 0.5) 55%,
        transparent 100%
    );
}

.je-hero-carousel .carousel-caption h2 {
    font-size: clamp(1.15rem, 2.5vw, 1.65rem);
    font-weight: 700;
    margin-bottom: 0.35rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.je-hero-carousel .carousel-caption p {
    font-size: 0.9rem;
    margin-bottom: 0;
    max-width: 40rem;
    opacity: 0.95;
}

@media (max-width: 575.98px) {
    .je-hero-carousel .carousel-caption {
        padding: 1.5rem 1rem 1rem;
    }

    .je-hero-carousel .carousel-caption h2 {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }

    .je-hero-carousel .carousel-caption p {
        font-size: 0.8rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

.je-hero-carousel .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 4px;
}
