html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

/* HERO SECTION FIX — Match Pic 1 */
.hero-section {
    padding-top: 120px;
    padding-bottom: 80px;
    background: radial-gradient(circle at top left, #5b6477 0, #343b48 30%, #181b22 65%, #111318 100%);
    color: #ffffff;
}

/* Logo sizing like Pic 1 */
.hero-logo img {
    width: 180px;
}

/* Title text styling */
.hero-title {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.1;
    max-width: 500px;
}

.hero-subtitle {
    margin-top: 10px;
    font-size: 18px;
    opacity: 0.9;
}

/* Make card animate when mouse is NEAR it (not just on it) */
.arfi-card-hover-area article {
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.arfi-card-hover-area article:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

body {
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0f172a; /* simple fallback */
    color: #f9fafb;
}

/* Limit width like the design */
.arfi-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: 1.5rem;
}

/* Hero card outline style like PDF */
.arfi-outline-card {
    border-radius: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: radial-gradient(circle at top left, rgba(255,255,255,0.08), rgba(255,255,255,0.01));
    backdrop-filter: blur(7px);
}

/* Light grey background sections (2–5) */
.arfi-section-light {
    background: linear-gradient(to bottom, #f5f5f7, #e4e5ea);
    color: #111827;
}

.arfi-section-light-soft {
    background: linear-gradient(to bottom, #f4f4f6, #f8f8fa);
    color: #111827;
}

/* Event cards background overlay */
.event-card-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75),
        rgba(0, 0, 0, 0.1)
    );
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* =========================
   TOP BAR
   ========================= */

.arfi-topbar {
    background: rgba(248, 250, 252, 0.92);
    backdrop-filter: blur(10px);
    transition: transform 240ms ease, opacity 240ms ease;
}

.arfi-topbar-hide {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.arfi-topbar-icon {
    color: #475569;
    transition: color 180ms ease;
}

.arfi-topbar-icon:hover {
    color: #0f172a;
}

/* =========================
   FULL-WIDTH MAIN BAR
   ========================= */

.arfi-mainbar {
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    backdrop-filter: blur(12px);
    will-change: transform;
    transition: box-shadow 220ms ease, padding 220ms ease;
}

.arfi-mainbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
}

.arfi-mainbar-spacer {
    height: 0px;
}

.arfi-mainbar.is-sticky {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 60;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.arfi-mainbar.is-compact .arfi-mainbar-inner {
    padding: 10px 0;
}

.arfi-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* center nav pill */
.arfi-pill {
    flex: 1;
    max-width: 760px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 10px 12px;
    border-radius: 18px;
    background: rgba(241, 245, 249, 0.95);
    border: 1px solid rgba(226, 232, 240, 1);
}

.arfi-pill-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.arfi-pill-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 9999px;

    color: #475569;
    font-weight: 600;
    font-size: 14px;

    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.arfi-pill-link:hover {
    background: rgba(15, 23, 42, 0.06);
    color: #0f172a;
    transform: translateY(-1px);
}

.arfi-pill-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.arfi-icon-btn {
    height: 44px;
    width: 44px;
    border-radius: 9999px;
    border: 1px solid rgba(226, 232, 240, 1);
    background: rgba(255, 255, 255, 0.9);
    color: #0f172a;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    transition: background-color 180ms ease, transform 180ms ease;
}

.arfi-icon-btn:hover {
    background: rgba(15, 23, 42, 0.06);
    transform: translateY(-1px);
}

.arfi-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 44px;
    padding: 0 18px;
    border-radius: 9999px;

    background: #0b5ed7;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;

    box-shadow: 0 10px 22px rgba(11, 94, 215, 0.22);
    transition: transform 180ms ease, filter 180ms ease;
    text-decoration: none;
}

.arfi-cta-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.arfi-call {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-left: 16px;
    border-left: 1px solid rgba(226, 232, 240, 1);
}

.arfi-call-badge {
    height: 44px;
    width: 44px;
    border-radius: 9999px;
    background: rgba(11, 94, 215, 0.10);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* =========================
   NEW: Section chip (same style as "About Us")
   This fixes your Event/Partners label style.
   ========================= */
.arfi-section-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 8px 18px;
    border-radius: 9999px;

    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.25);

    color: #2563eb;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
}

/* =========================
   NEW: About images (make smaller)
   This fixes your "first image too big" issue.
   ========================= */
.arfi-about-image-card {
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 1);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.arfi-about-image {
    width: 100%;
    height: 260px;            /* smaller default */
    object-fit: cover;
    display: block;
}

/* bigger screens: still not too huge */
@media (min-width: 1024px) {
    .arfi-about-image {
        height: 240px;        /* keeps them compact on desktop */
    }
}

/* =========================
   Tabs
   ========================= */
.arfi-tab-btn {
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    color: #2563eb;
    background: transparent;
    border: 1px solid transparent;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.arfi-tab-btn:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.18);
}

.arfi-tab-btn.is-active {
    color: #0f172a;
    background: #ffffff;
    border-color: rgba(226, 232, 240, 1);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

/* =========================
   SECTION 1 VIDEO BACKGROUND
   ========================= */
#section-1 video {
    filter: brightness(0.85); /* make text readable */
}