/* ===== Uppalakkar UAE Koottayma — base styles ===== */
:root {
    --red: #d81f28;
    --red-dark: #b5151d;
    --brown-dark: #2b1208;
    --brown: #3d1c0d;
    --gold: #f3b53c;
    --gold-light: #ffd97a;
    --cream: #fff8ef;
    --text-dark: #241008;
    --green: #1fa04b;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(43, 18, 8, 0.25);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 28px;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: baseline;
    gap: 12px;
    white-space: nowrap;
}

.brand-logo {
    font-family: 'Baloo Bhai 2', sans-serif;
    font-weight: 700;
    font-size: 26px;
    background: linear-gradient(180deg, #a85a1f, #6b320f);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-logo.small { font-size: 22px; filter: brightness(1.4); -webkit-background-clip: text; }

.brand-text {
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 14px;
    color: var(--text-dark);
    border-left: 2px solid #ddd;
    padding-left: 12px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    justify-content: center;
    flex-wrap: wrap;
}

.main-nav a {
    padding: 10px 18px;
    border-radius: 24px;
    font-weight: 500;
    font-size: 15px;
    color: #3a2a1c;
    transition: all 0.2s ease;
}

.main-nav a:hover { background: #fdeee0; }

.main-nav a.active {
    background: var(--red);
    color: #fff;
    box-shadow: 0 4px 12px rgba(216, 31, 40, 0.35);
}

.main-nav a.nav-frame-btn {
    background: var(--red);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(216, 31, 40, 0.35);
}
.main-nav a.nav-frame-btn:hover {
    background: #b51018;
    color: #fff;
}

/* Compact header buttons (about half the previous size) */
.btn.header-login-btn {
    padding: 5px 12px;
    font-size: 11.5px;
    border-radius: 16px;
    box-shadow: 0 3px 8px rgba(216, 31, 40, 0.3);
}
@media (min-width: 1025px) {
    .main-nav a.nav-frame-btn {
        padding: 5px 12px;
        font-size: 11.5px;
        border-radius: 16px;
        box-shadow: 0 3px 8px rgba(216, 31, 40, 0.3);
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #e4d9cb;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--brown);
    transition: background 0.2s ease;
}
.icon-btn:hover { background: #fdeee0; }

.icon-btn .dot {
    position: absolute;
    top: 8px;
    right: 9px;
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    border: 2px solid #fff;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--brown);
    border-radius: 2px;
}

/* ===== 3D countdown (inside hero) ===== */
.cd3-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.cd3-title {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'Baloo Bhai 2', sans-serif;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 6px;
    text-transform: uppercase;
    line-height: 1;
}
.cd3-title span {
    background: linear-gradient(180deg, #fff3c4 0%, #ffd25a 50%, #c9811f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 3px 0 rgba(90, 50, 0, 0.8)) drop-shadow(0 6px 10px rgba(0, 0, 0, 0.6));
}
.cd3-title::before,
.cd3-title::after {
    content: '';
    width: 70px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, transparent, #ffd25a);
}
.cd3-title::after { transform: scaleX(-1); }

.cd3-togo {
    padding: 8px 30px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #fff8ea 100%);
    border: 2px solid #e8b94a;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.cd3-togo span {
    font-family: 'Baloo Bhai 2', sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #8f1119;
}

.countdown-3d {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    perspective: 800px;
}

.cd3-unit {
    position: relative;
    min-width: 96px;
    padding: 20px 10px 18px;
    text-align: center;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fff8ea 100%);
    border: 2px solid #e8b94a;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

/* thin gold bar along the top of each tile */
.cd3-unit::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 5px;
    background: linear-gradient(90deg, #c9811f, #ffd25a 50%, #c9811f);
}

.cd3-num {
    position: relative;
    z-index: 1;
    display: block;
    font-family: 'Baloo Bhai 2', sans-serif;
    font-size: 58px;
    font-weight: 800;
    line-height: 1;
    color: #8f1119;
    font-variant-numeric: tabular-nums;
}

.cd3-label {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #ecd9ae;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8a5a2b;
}

.cd3-sep {
    font-family: 'Baloo Bhai 2', sans-serif;
    font-size: 44px;
    font-weight: 800;
    color: #ffd25a;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    margin-bottom: 26px;
}

@media (max-width: 860px) {
    .cd3-wrap { gap: 10px; }
    .cd3-title { font-size: 16px; letter-spacing: 2px; gap: 8px; }
    .cd3-title::before, .cd3-title::after { width: 22px; height: 2px; }
    .cd3-togo { padding: 5px 18px; }
    .cd3-togo span { font-size: 10px; letter-spacing: 3px; }
    .countdown-3d { gap: 6px; }
    .cd3-unit { min-width: 0; padding: 12px 8px 14px; border-radius: 12px; }
    .cd3-num { font-size: 30px; }
    .cd3-label { font-size: 8px; letter-spacing: 0.5px; margin-top: 5px; }
    .cd3-sep { font-size: 24px; margin-bottom: 14px; }
}

/* ===== Banner slider (above hero) ===== */
.banner-slider { position: relative; background: var(--brown-dark); line-height: 0; container-type: inline-size; }
.banner-slides { display: grid; }
.banner-slide { grid-area: 1 / 1; opacity: 0; transition: opacity .9s ease; }
.banner-slide.is-active { opacity: 1; z-index: 1; }
.banner-slide { position: relative; }
.banner-slide img { display: block; width: 100%; height: auto; }

/* Countdown sits in the empty skyline area of the first banner; sizes scale with the banner width (cqw). */
.banner-countdown { line-height: 1.2; display: flex; flex-direction: column; align-items: center; }
@media (min-width: 769px) {
    .banner-countdown {
        position: absolute;
        left: 41%;
        width: 50%;
        bottom: 4%;
        gap: 0.8cqw;
    }
    .banner-countdown .countdown-3d { gap: 0.8cqw; }
    .banner-countdown .cd3-unit { min-width: 5.8cqw; padding: 1.1cqw 0.5cqw 0.8cqw; border-radius: 0.9cqw; border-width: 0.15cqw; }
    .banner-countdown .cd3-unit::before { height: 0.28cqw; }
    .banner-countdown .cd3-num { font-size: 3.3cqw; }
    .banner-countdown .cd3-label { font-size: max(8px, 0.62cqw); margin-top: 0.4cqw; padding-top: 0.35cqw; letter-spacing: 0.12cqw; }
    .banner-countdown .cd3-sep { font-size: 2.2cqw; margin-bottom: 1.2cqw; }
    .banner-countdown .cd3-togo { padding: 0.3cqw 1.8cqw; border-width: 0.15cqw; }
    .banner-countdown .cd3-togo span { font-size: max(9px, 0.8cqw); letter-spacing: 0.3cqw; }
}
/* Phones: banner is small, so the countdown sits just below it instead of over it. */
@media (max-width: 768px) {
    .banner-countdown { padding: 14px 10px 20px; background: var(--brown-dark); }
}
.banner-slider .hero-dots { z-index: 2; }

/* ===== Sponsor logo slider ===== */
.sponsor-strip {
    background: #fff;
    border-bottom: 1px solid #f0e2cd;
    overflow: hidden;
    padding: 22px 0;
}
.sponsor-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 0 4px;
    font-family: 'Baloo Bhai 2', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--brown-dark);
}
.sponsor-heading::before,
.sponsor-heading::after {
    content: '';
    width: 46px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--gold));
}
.sponsor-heading::after { transform: scaleX(-1); }
.sponsor-track {
    display: flex;
    width: max-content;
    animation: sponsor-scroll var(--dur, 40s) linear infinite;
}
.sponsor-strip:hover .sponsor-track { animation-play-state: paused; }
.sponsor-strip { position: relative; touch-action: pan-y; }
.sponsor-strip.is-js .sponsor-track { animation: none; will-change: transform; cursor: grab; user-select: none; }
.sponsor-strip.is-js.dragging .sponsor-track { cursor: grabbing; }
.sponsor-strip.is-js img { -webkit-user-drag: none; user-select: none; }
.sponsor-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 44px; height: 44px;
    margin-top: -22px;
    display: none;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform .15s, background .15s;
}
.sponsor-arrow:hover { background: #b3161f; transform: scale(1.08); }
.sponsor-strip.is-js .sponsor-arrow { display: flex; }
.sponsor-prev { left: 14px; }
.sponsor-next { right: 14px; }
@media (max-width: 768px) {
    .sponsor-arrow { width: 36px; height: 36px; margin-top: -18px; }
    .sponsor-prev { left: 6px; }
    .sponsor-next { right: 6px; }
}
.sponsor-set { display: flex; flex-shrink: 0; }
.sponsor-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 260px;
    height: 150px;
    margin: 0 12px;
}
.sponsor-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform .2s;
}
.sponsor-logo:hover img { transform: scale(1.08); }
@keyframes sponsor-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% / var(--sets, 2))); }
}
@media (max-width: 768px) {
    .sponsor-strip { padding: 12px 0; }
    .sponsor-logo { width: auto; max-width: 170px; height: 100px; margin: 0 6px; }
}
@media (prefers-reduced-motion: reduce) {
    .sponsor-track { animation: none; }
    .sponsor-strip { overflow-x: auto; }
}

/* ===== Full-size view banner (below hero) ===== */
.fullview-section { background: var(--brown-dark); line-height: 0; }
.fullview-section img { display: block; width: 100%; height: auto; }

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 740px;
    background: var(--brown-dark);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .9s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img { display: block; width: 100%; height: auto; }

.hero-dots {
    position: absolute;
    left: 0; right: 0; bottom: 14px;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.hero-dot {
    width: 10px; height: 10px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.7);
    background: rgba(0,0,0,.35);
    cursor: pointer;
}
.hero-dot.is-active { background: #ffd25a; border-color: #ffd25a; }

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(ellipse at 20% 30%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.35) 100%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: center;
    padding: 60px 28px;
}

.hero-content {
    text-align: center;
}

/* Tagline under the logo: lifted into the sky area above the skyline (scales with the image). */
.hero-tagline {
    position: relative;
    top: clamp(-190px, -9vw, -70px);
    max-width: 560px;
    margin: 420px auto 0;
    font-size: 15px;
    line-height: 1.7;
    color: #fff;
    text-shadow: 0 2px 10px rgba(50, 15, 0, 0.85), 0 0 2px rgba(50, 15, 0, 0.6);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero-title {
    font-family: 'Baloo Bhai 2', sans-serif;
    font-weight: 700;
    font-size: clamp(48px, 7vw, 92px);
    line-height: 1.05;
    margin: 0;
    background: linear-gradient(180deg, #ffe9a8 0%, #f3b53c 55%, #c9811f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.35));
}

.hero-subtitle {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: var(--cream);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 6px;
}

.hero-subtitle::before,
.hero-subtitle::after {
    content: "";
    width: 70px;
    height: 2px;
    background: var(--gold);
    opacity: 0.8;
}

.hero-cta {
    margin-top: 36px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: var(--red);
    color: #fff;
    box-shadow: 0 10px 24px rgba(216, 31, 40, 0.4);
}
.btn-outline {
    background: transparent;
    color: var(--gold-light);
    border: 2px solid var(--gold);
}

/* ===== Scrolling member panel ===== */
.member-panel {
    position: relative;
    height: 600px;
    overflow: hidden;
    border-radius: var(--radius);
    z-index: 2;
}

.member-panel::before,
.member-panel::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    height: 60px;
    z-index: 3;
    pointer-events: none;
}
.member-panel::before {
    top: 0;
    background: linear-gradient(180deg, rgba(43,18,8,0.9), rgba(43,18,8,0));
}
.member-panel::after {
    bottom: 0;
    background: linear-gradient(0deg, rgba(43,18,8,0.9), rgba(43,18,8,0));
}

.member-scroll-track {
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: scrollUp 55s linear infinite;
}

.member-panel:hover .member-scroll-track {
    animation-play-state: paused;
}

@keyframes scrollUp {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.member-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: var(--shadow);
}

.member-card img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    flex-shrink: 0;
    border: 2px solid var(--gold-light);
}

.member-card .m-info {
    flex: 1;
    min-width: 0;
}

.member-card .m-info h4 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.member-card .m-info p {
    margin: 0;
    font-size: 13px;
    color: #7a6a5c;
    display: flex;
    align-items: center;
    gap: 4px;
}

.member-badge {
    background: var(--green);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    flex-shrink: 0;
}

/* ===== Generic section ===== */
.section {
    padding: 80px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 48px;
}

.section-head .eyebrow {
    color: var(--red);
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 13px;
    text-transform: uppercase;
}

.section-head h2 {
    font-family: 'Baloo Bhai 2', sans-serif;
    font-size: 38px;
    margin: 8px 0 0;
    color: var(--brown-dark);
}

.section-head p {
    color: #6b5a4c;
    max-width: 600px;
    margin: 14px auto 0;
}

.stats-strip {
    background: var(--brown-dark);
    color: var(--cream);
    padding: 44px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.stats-grid .num {
    font-family: 'Baloo Bhai 2', sans-serif;
    font-size: 40px;
    color: var(--gold);
}
.stats-grid .label {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 4px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.info-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 6px 20px rgba(43,18,8,0.08);
    transition: transform 0.25s ease;
}
.info-card:hover { transform: translateY(-6px); }

.info-card .icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--red), #ff5a5f);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 18px;
}

.info-card h3 {
    margin: 0 0 10px;
    font-size: 19px;
}
.info-card p {
    margin: 0;
    color: #6b5a4c;
    font-size: 14px;
    line-height: 1.6;
}

/* ===== Showcase (left title / right auto-scroll columns) ===== */
.showcase-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.showcase-content .eyebrow {
    color: var(--red);
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 13px;
    text-transform: uppercase;
}

.showcase-content h2 {
    font-family: 'Baloo Bhai 2', sans-serif;
    font-size: 44px;
    line-height: 1.15;
    margin: 12px 0 18px;
    color: var(--brown-dark);
}

.showcase-content > p {
    color: #6b5a4c;
    font-size: 15px;
    line-height: 1.8;
    max-width: 460px;
    margin: 0 0 30px;
}

.btn-outline-dark {
    background: transparent;
    color: var(--brown-dark);
    border: 2px solid #ddcdbb;
}
.btn-outline-dark:hover { border-color: var(--red); color: var(--red); }

.showcase-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 36px;
}
.showcase-tags span {
    background: #fff;
    border: 1px solid #e9ddcd;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #5a4a3c;
}

.showcase-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    height: 560px;
}

.showcase-col {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius);
}

.showcase-col::before,
.showcase-col::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    height: 50px;
    z-index: 3;
    pointer-events: none;
}
.showcase-col::before {
    top: 0;
    background: linear-gradient(180deg, var(--cream), rgba(255,248,239,0));
}
.showcase-col::after {
    bottom: 0;
    background: linear-gradient(0deg, var(--cream), rgba(255,248,239,0));
}

.showcase-track {
    display: flex;
    flex-direction: column;
    gap: 18px;
    animation: scrollUp 70s linear infinite;
}

.showcase-track.delayed {
    animation-duration: 80s;
    animation-direction: reverse;
}

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

.showcase-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 18px 14px 20px;
}

.showcase-card img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    display: block;
    border: 3px solid var(--gold-light);
    flex-shrink: 0;
}

.showcase-caption {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.showcase-caption strong {
    color: var(--brown-dark);
    font-size: 14px;
}
.showcase-caption span {
    color: #8a7866;
    font-size: 12px;
}

/* ===== Business network marquee (home) ===== */
.network-marquee-section { padding-top: 24px; padding-bottom: 60px; }
.network-marquee-section .section-head { padding: 0 24px; }
.network-marquee {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 60px, #000 calc(100% - 60px), transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 60px, #000 calc(100% - 60px), transparent);
}
.network-track {
    display: flex;
    width: max-content;
    padding: 10px 0 24px;
    animation: network-scroll var(--dur, 40s) linear infinite;
}
.network-marquee:hover .network-track { animation-play-state: paused; }
.network-set { display: flex; flex-shrink: 0; gap: 22px; padding-right: 22px; }
.network-track .team-card { width: 240px; flex-shrink: 0; display: block; }
@keyframes network-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% / var(--sets, 3))); }
}
@media (max-width: 640px) {
    .network-track .team-card { width: 200px; }
}

/* Board members marquee reuses the network marquee; cards are the vertical member cards from the Members page */
.board-marquee-section { padding-top: 0; padding-bottom: 60px; }
.board-marquee-section .section-head { padding: 0 24px; }
.board-marquee .member-vcard { width: 260px; flex-shrink: 0; }
.board-marquee .network-set { align-items: stretch; }
@media (max-width: 640px) {
    .board-marquee .member-vcard { width: 200px; }
}
@media (prefers-reduced-motion: reduce) {
    .network-track { animation: none; }
    .network-marquee { overflow-x: auto; }
}

/* ===== Events marquee (moving left, click to zoom) ===== */
.events-marquee-section {
    padding-bottom: 60px;
}

.events-marquee-section .section-head {
    padding: 0 24px;
}

.section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    text-align: left;
    gap: 24px;
}
.section-head-row .eyebrow { display: block; }
.section-head-row h2 { margin: 8px 0 0; }
.section-head-row p { margin: 14px 0 0; }

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 12px 22px;
    border-radius: 30px;
    border: 2px solid #e4d4bf;
    font-weight: 600;
    font-size: 14px;
    color: var(--brown-dark);
    transition: all 0.2s ease;
}
.view-all-link:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.events-marquee-section code {
    background: #f0e4d4;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 13px;
}

.events-marquee {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 60px, #000 calc(100% - 60px), transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 60px, #000 calc(100% - 60px), transparent);
}

.events-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: scrollLeft 36s linear infinite;
    padding: 6px 0 20px;
}

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

@keyframes scrollLeft {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-33.3333%); }
}

.event-card {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 360px;
    border-radius: 28px;
    overflow: hidden;
    border: none;
    padding: 0;
    cursor: pointer;
    background: #000;
    box-shadow: 0 8px 24px rgba(43,18,8,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card-grid {
    width: 100%;
}
.event-card-grid img {
    height: auto;
    max-height: 540px;
    object-fit: contain;
}

.events-listing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

@media (max-width: 640px) {
    .events-listing-grid {
        grid-template-columns: 1fr;
    }
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(43,18,8,0.25);
}

.event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    opacity: 0.95;
    transition: transform 0.4s ease;
}

.event-card:hover img {
    transform: scale(1.06);
}

.event-zoom-hint {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.event-card:hover .event-zoom-hint {
    opacity: 1;
    transform: scale(1);
}

.event-card-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 16px 18px;
    background: linear-gradient(0deg, rgba(0,0,0,0.8), rgba(0,0,0,0));
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
}

.event-card-caption strong {
    color: #fff;
    font-size: 15px;
}
.event-card-caption span {
    color: #f3b53c;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ===== Event lightbox ===== */
.event-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.event-lightbox.open {
    display: flex;
}

.event-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 10, 4, 0.78);
    backdrop-filter: blur(2px);
}

.event-lightbox-dialog {
    position: relative;
    background: #fff;
    border-radius: 18px;
    max-width: 920px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.event-lightbox-image {
    background: #000;
}
.event-lightbox-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-lightbox-details {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
}

.event-lightbox-details .eyebrow {
    color: var(--red);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 12px;
    text-transform: uppercase;
}

.event-lightbox-details h3 {
    font-family: 'Baloo Bhai 2', sans-serif;
    font-size: 26px;
    margin: 10px 0 14px;
    color: var(--brown-dark);
    line-height: 1.25;
}

.event-lightbox-details p {
    color: #6b5a4c;
    font-size: 14px;
    line-height: 1.75;
    margin: 0 0 22px;
}

.event-meta-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}
.event-meta-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: #4a3a2c;
    font-weight: 500;
}
.event-meta-list svg {
    color: var(--red);
    flex-shrink: 0;
}

.event-lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.event-lightbox-close:hover { background: var(--red); }

/* ===== Tabs (Members page) ===== */
.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 26px;
    border-radius: 30px;
    border: 2px solid #e4d4bf;
    background: #fff;
    font-weight: 600;
    font-size: 14px;
    color: #6b5a4c;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn:hover { border-color: var(--red); color: var(--red); }

.tab-btn.active {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    box-shadow: 0 8px 18px rgba(216, 31, 40, 0.3);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.member-tile {
    text-align: center;
}
.member-tile img {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 3px solid var(--gold-light);
    margin: 0 auto 16px;
}
.member-tile h3 {
    margin: 0 0 4px;
    font-size: 18px;
}
.member-tile .member-location {
    margin: 0 0 12px;
    color: #6b5a4c;
    font-size: 13px;
}
.role-badge {
    background: var(--brown-dark);
}

/* ===== Gallery (category tabs) ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: 0 6px 20px rgba(43,18,8,0.1);
    transition: transform 0.3s ease;
}
.gallery-item:hover { transform: translateY(-5px); }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 14px 16px;
    background: linear-gradient(0deg, rgba(0,0,0,0.78), rgba(0,0,0,0));
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.gallery-item-caption strong {
    color: #fff;
    font-size: 14px;
}
.gallery-item-caption span {
    color: #f3b53c;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.gallery-item.hidden { display: none; }
body.no-scroll { overflow: hidden; }

/* ===== History of Uppala ===== */
.history-timeline {
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.history-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
}

.history-block.reverse .history-image { order: 2; }
.history-block.reverse .history-text { order: 1; }

.history-image img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 10px 28px rgba(43,18,8,0.15);
}

.history-text h3 {
    font-family: 'Baloo Bhai 2', sans-serif;
    font-size: 26px;
    color: var(--brown-dark);
    margin: 0 0 14px;
}
.history-text p {
    color: #6b5a4c;
    font-size: 15px;
    line-height: 1.85;
    margin: 0;
}

.locations-section {
    background: #fff3e4;
}

.location-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(43,18,8,0.08);
    transition: transform 0.25s ease;
}
.location-card:hover { transform: translateY(-6px); }

.location-image img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.location-body {
    padding: 22px;
}
.location-body h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: var(--brown-dark);
}
.location-body p {
    margin: 0;
    color: #6b5a4c;
    font-size: 13.5px;
    line-height: 1.7;
}

/* ===== Global Members (horizontal auto-scroll) ===== */
.global-members-section {
    background: var(--brown-dark);
    padding: 70px 0;
}

.global-members-section .eyebrow {
    color: var(--gold);
}
.global-members-section .section-head-row h2 {
    color: #fff;
}
.global-members-section .section-head-row p {
    color: #cbb9a6;
}
.global-members-section .view-all-link {
    border-color: rgba(255,255,255,0.25);
    color: #fff;
}
.global-members-section .view-all-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--brown-dark);
}

.global-members-section .section-head-row {
    margin-bottom: 40px;
}

.global-marquee {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 60px, #000 calc(100% - 60px), transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 60px, #000 calc(100% - 60px), transparent);
}

.global-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scrollLeftReverse 40s linear infinite;
    padding: 4px 0 10px;
}

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

@keyframes scrollLeftReverse {
    0%   { transform: translateX(-33.3333%); }
    100% { transform: translateX(0); }
}

.global-card {
    flex: 0 0 auto;
    width: 300px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: var(--shadow);
}

.global-card img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    flex-shrink: 0;
    border: 2px solid var(--gold-light);
}

.global-card .m-info {
    flex: 1;
    min-width: 0;
}
.global-card .m-info h4 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.global-card .m-info p {
    margin: 0;
    font-size: 12.5px;
    color: #7a6a5c;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.global-badge {
    background: var(--gold);
    color: var(--brown-dark);
    flex-shrink: 0;
}

/* ===== Footer ===== */
.site-footer {
    position: relative;
    background:
        radial-gradient(ellipse at 15% 0%, rgba(243, 181, 60, 0.12), transparent 55%),
        linear-gradient(180deg, #2b1208 0%, #1a0a04 100%);
    color: #e8d9c9;
    border-top: 4px solid var(--gold);
}
.footer-cta { padding: 0 28px; }
.footer-cta-inner {
    max-width: 1200px;
    margin: -34px auto 0;
    padding: 26px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    border-radius: 20px;
    background: linear-gradient(135deg, #e0242c 0%, #a3131a 100%);
    border: 1px solid rgba(255, 210, 90, 0.5);
    box-shadow: 0 6px 0 #6d0b10, 0 18px 36px rgba(0, 0, 0, 0.45);
}
.footer-cta h3 {
    margin: 0;
    font-family: 'Baloo Bhai 2', sans-serif;
    font-size: 24px;
    color: #fff;
}
.footer-cta p { margin: 4px 0 0; color: #ffe3c4; font-size: 14px; }
.footer-cta-btn {
    background: linear-gradient(180deg, #ffe08a, #f3b53c);
    color: #3d1c0d;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 999px;
    box-shadow: 0 4px 0 #a87a14, 0 10px 18px rgba(0, 0, 0, 0.35);
    transition: transform .15s;
    white-space: nowrap;
}
.footer-cta-btn:hover { transform: translateY(-2px); }

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 28px 36px;
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 1.1fr;
    gap: 48px;
}
.footer-brand-sub {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold-light);
}
.footer-brand p {
    color: #b8a593;
    font-size: 14px;
    line-height: 1.8;
    margin-top: 14px;
    max-width: 380px;
}
.footer-links h4, .footer-contact h4 {
    position: relative;
    color: var(--gold-light);
    margin: 0 0 20px;
    padding-bottom: 12px;
    font-size: 15px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 36px; height: 3px;
    border-radius: 3px;
    background: var(--gold);
}
.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 20px;
}
.footer-links a {
    display: block;
    color: #d8c6b4;
    padding: 7px 0;
    font-size: 14px;
    transition: color .15s, transform .15s;
}
.footer-links a::before { content: 'A'; color: var(--gold); margin-right: 8px; }
.footer-links a:hover { color: var(--gold-light); transform: translateX(4px); }
.footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 14px;
    color: #b8a593;
    font-size: 14px;
    line-height: 1.6;
}
.footer-contact-row a { color: #d8c6b4; }
.footer-contact-row a:hover { color: var(--gold-light); }
.footer-ico {
    flex-shrink: 0;
    width: 34px; height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(243, 181, 60, 0.14);
    color: var(--gold-light);
}
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 20px 28px;
    font-size: 13px;
    color: #8a7866;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; }
    .member-panel { height: 420px; }
    .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px; box-shadow: var(--shadow); }
    .main-nav.open { display: flex; }
    .hamburger { display: flex; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom { justify-content: center; text-align: center; }
    .footer-cta-inner { padding: 22px 22px; }
    .footer-cta h3 { font-size: 20px; }
    .showcase-inner { grid-template-columns: 1fr; }
    .showcase-content > p { max-width: none; }
    .showcase-columns { height: 460px; }
    .event-lightbox-dialog { grid-template-columns: 1fr; max-height: 92vh; }
    .event-lightbox-image img { max-height: 280px; }
    .history-block,
    .history-block.reverse { grid-template-columns: 1fr; }
    .history-block.reverse .history-image,
    .history-block.reverse .history-text { order: initial; }
}

@media (max-width: 560px) {
    .event-card { width: 280px; }
    .event-card img { height: 160px; }
    .section-head-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
    .brand-text { display: none; }
    .hero-subtitle { letter-spacing: 3px; font-size: 15px; }
    .hero-subtitle::before, .hero-subtitle::after { width: 30px; }
}


@media (max-width: 768px) {
    .hero {
        /* Slides scale with viewport width so the full image always shows without side-cropping.
           mobile-bg.webp is 738x1200 (ratio 1.626). */
        min-height: calc(100vw * 1.626);
    }
    .hero-content > p {
        display: none;
    }
    .hero-cta {
        margin-top: calc(100vw * 1.12);
    }
}

/* ===== Auth / forms (register, login, member dashboard) ===== */
.auth-section { padding: 60px 0 90px; }
.auth-container { display: flex; justify-content: center; }
.auth-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 34px rgba(43,18,8,0.1);
    padding: 40px;
    width: 100%;
    max-width: 640px;
}
.auth-success { text-align: center; padding: 20px 0; }
.auth-success svg { color: var(--green); margin-bottom: 14px; }
.auth-success h2 { font-family: 'Baloo Bhai 2', sans-serif; margin: 0 0 10px; color: var(--brown-dark); }
.auth-success p { color: #6b5a4c; margin: 0 0 24px; line-height: 1.7; }
.auth-switch { text-align: center; margin-top: 20px; color: #6b5a4c; font-size: 14px; }
.auth-switch a { color: var(--red); font-weight: 600; }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13px; font-weight: 600; color: #4a3a2c; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group input[type="url"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e4d4bf;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    color: #2b1208;
    background: #fffaf3;
    box-sizing: border-box;
}
.form-group textarea { resize: vertical; }
.form-group input[type="file"] { font-size: 13px; }
.form-group input:disabled {
    background: #f0e6da;
    color: #8a7866;
    cursor: not-allowed;
}
.form-actions { display: flex; gap: 12px; margin-top: 10px; }

.otp-input {
    text-align: center;
    letter-spacing: 10px;
    font-size: 22px;
    font-weight: 700;
}

.auth-dev-note {
    background: #fdf2dc;
    border: 1px dashed #e0b35c;
    color: #8a5a0f;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 20px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: #b8a593;
    font-size: 13px;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e8d9c9;
}
.auth-divider span { white-space: nowrap; }

/* ===== Member dashboard ===== */
.dash-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.dash-status-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 14px;
    margin-bottom: 28px;
    font-size: 14px;
}
.dash-status-pending { background: #fdf2dc; color: #8a5a0f; }
.dash-status-approved { background: #e8f7ee; color: #166534; }
.dash-business-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.dash-business-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 4px 16px rgba(43,18,8,0.06);
}
.dash-business-item img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: contain;
    flex-shrink: 0;
    padding: 5px;
    background: #fff;
    border: 1px solid #f0e6da;
}
.dash-business-item .dbi-info { flex: 1; min-width: 0; }
.dash-business-item .dbi-info h4 { margin: 0 0 4px; font-size: 15px; }
.dash-business-item .dbi-info p { margin: 0; font-size: 12.5px; color: #8a7866; }
.dash-business-item .dbi-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ===== Vertical member cards (Members List) ===== */
.member-vcard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.member-vcard {
    position: relative;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(43,18,8,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}
.member-vcard:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(43,18,8,0.14); }
.member-vcard-cover {
    height: 90px;
    background: linear-gradient(135deg, var(--brown-dark), #6b320f);
}
.member-vcard-photo {
    position: absolute;
    left: 50%;
    top: 47px;
    transform: translateX(-50%);
    width: 86px;
    height: 86px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.member-vcard-body {
    padding: 54px 20px 24px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.member-vcard-body h3 { margin: 0 0 4px; font-size: 17px; color: var(--brown-dark); }
.member-vcard-body .mv-designation {
    margin: 0 0 6px;
    font-size: 12.5px;
    color: var(--red);
    font-weight: 600;
}

.member-vcard-body .mv-location {
    margin: 0 0 12px;
    font-size: 13px;
    color: #8a7866;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.member-vcard-body .mv-badge { margin: 0 auto 16px; }
.member-vcard-socials {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
}
.social-icon-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f5ede1;
    color: #6b5a4c;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}
.social-icon-link:hover { background: var(--red); color: #fff; }

/* ===== Business directory ===== */
.business-hero {
    background: linear-gradient(135deg, var(--brown-dark), #5a2a12);
    padding: 70px 0 50px;
    text-align: center;
}
.business-hero .eyebrow { color: var(--gold); }
.business-hero h2 { color: #fff; font-family: 'Baloo Bhai 2', sans-serif; font-size: 40px; margin: 10px 0 14px; }
.business-hero p { color: #d8c6b4; max-width: 560px; margin: 0 auto; }

/* ===== Business directory — new card design ===== */
.biz-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
@media (max-width: 900px) { .biz-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .biz-grid { grid-template-columns: 1fr; } }

.biz-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(43,18,8,.10);
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
    cursor: default;
}
.biz-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(43,18,8,.18);
}

/* Photo section */
.biz-card-photo {
    position: relative;
    height: 200px;
    background: #1a0a04;
    overflow: hidden;
}
.biz-card-photo > img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    opacity: .88;
    transition: transform .4s ease, opacity .3s;
}
.biz-card:hover .biz-card-photo > img { transform: scale(1.05); opacity: 1; }

/* Category pill */
.biz-card-cat {
    position: absolute;
    top: 12px; left: 12px;
    background: rgba(0,0,0,.55);
    color: var(--gold, #f3b53c);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

/* Logo badge sitting on the bottom edge of the photo */
.biz-card-logo {
    position: absolute;
    bottom: -22px; left: 18px;
    width: 52px; height: 52px;
    border-radius: 14px;
    background: #fff;
    border: 3px solid #fff;
    box-shadow: 0 4px 14px rgba(43,18,8,.18);
    overflow: hidden;
    flex-shrink: 0;
}
.biz-card-logo img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 4px;
}

/* Body */
.biz-card-body {
    padding: 32px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}
.biz-card-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--brown-dark, #2b1208);
    margin: 0;
    line-height: 1.3;
}
.biz-card-owner-name {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #8a7260;
    margin: 0;
}
.biz-card-owner-name svg { color: var(--red); flex-shrink: 0; }
.biz-card-desc {
    font-size: 13px;
    color: #6b5a4c;
    line-height: 1.6;
    margin: 4px 0 6px;
    flex: 1;
}
.biz-card-contacts {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 6px;
}
.biz-contact-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6b5a4c;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.biz-contact-chip svg { color: var(--red); flex-shrink: 0; }
a.biz-contact-chip:hover { color: var(--red); }

.biz-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
    padding: 10px 0;
    border: none;
    background: linear-gradient(135deg, var(--red, #d81f28), #a8111a);
    color: #fff;
    font: 600 13px 'Poppins', sans-serif;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity .2s, transform .15s;
}
.biz-view-btn:hover { opacity: .9; transform: scale(1.02); }

/* ===== Business popup ===== */
.biz-popup {
    position: fixed; inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.biz-popup.open { display: flex; }
.biz-popup-backdrop {
    position: absolute; inset: 0;
    background: rgba(20,10,4,.75);
    backdrop-filter: blur(4px);
}
.biz-popup-panel {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 24px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 70px rgba(0,0,0,.35);
    animation: bizPopIn .3s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes bizPopIn {
    from { opacity: 0; transform: scale(.88) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.biz-popup-close {
    position: absolute; top: 12px; right: 12px;
    width: 36px; height: 36px; border-radius: 50%;
    border: none; background: rgba(0,0,0,.45); color: #fff;
    font-size: 22px; line-height: 1; cursor: pointer; z-index: 2;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.biz-popup-close:hover { background: var(--red); }

.biz-popup-hero {
    position: relative;
    height: 180px;
    background: #1a0a04;
    border-radius: 24px 24px 0 0;
    overflow: visible;
}
.biz-popup-owner-photo {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 24px 24px 0 0;
    display: block;
    opacity: .9;
}
.biz-popup-logo-wrap {
    position: absolute;
    bottom: -26px; left: 20px;
    width: 60px; height: 60px;
    border-radius: 16px;
    background: #fff;
    border: 3px solid #fff;
    box-shadow: 0 6px 18px rgba(43,18,8,.2);
    overflow: hidden;
}
.biz-popup-logo-wrap img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 6px;
}
.biz-popup-body {
    padding: 38px 24px 28px;
}
.biz-popup-cat {
    display: inline-block;
    background: #fdf0e0;
    color: var(--red, #d81f28);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}
.biz-popup-body h2 {
    font-size: 22px;
    color: var(--brown-dark, #2b1208);
    margin: 0 0 4px;
    line-height: 1.25;
}
.biz-popup-owner {
    font-size: 13px;
    color: #8a7260;
    margin: 0 0 14px;
}
.biz-popup-desc {
    font-size: 14px;
    color: #5a4a3c;
    line-height: 1.7;
    margin: 0 0 20px;
}
.biz-popup-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.biz-popup-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: #4a3a2c;
    text-decoration: none;
    padding: 10px 14px;
    background: #fbf5ec;
    border-radius: 10px;
    transition: background .15s;
}
.biz-popup-chip svg { color: var(--red); flex-shrink: 0; }
a.biz-popup-chip:hover { background: #fde8dc; color: var(--red); }

@media (max-width: 640px) {
    .form-grid { grid-template-columns: 1fr; }
    .auth-card { padding: 26px; }
}

/* ===== Photo crop modal ===== */
.crop-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2vh 2vw;
}
.crop-modal.open { display: flex; }
.crop-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 10, 4, 0.8);
}
.crop-modal-dialog {
    position: relative;
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    max-width: 1600px;
    width: 96vw;
    max-height: 96vh;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.crop-modal-image-wrap {
    max-height: calc(96vh - 160px);
    overflow: hidden;
    border-radius: 12px;
    background: #111;
}
.crop-modal-image-wrap img {
    display: block;
    max-width: 100%;
    max-height: calc(96vh - 160px);
}
.crop-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.photo-preview-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 2px solid var(--gold-light);
    margin-top: 10px;
    display: none;
}

.photo-preview-logo {
    max-width: 160px;
    max-height: 90px;
    border-radius: 10px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e4d4bf;
    padding: 6px;
    margin-top: 10px;
    display: none;
}

/* ===== Event detail page ===== */
.event-detail-page {
    padding: 32px 0 90px;
}

.event-detail-topbar {
    margin-bottom: 28px;
}

.event-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 30px;
    border: 2px solid #e4d4bf;
    font-weight: 600;
    font-size: 14px;
    color: var(--brown-dark);
    background: #fff;
    transition: all 0.2s ease;
}
.event-back-btn:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    transform: translateX(-2px);
}

.event-detail-hero {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 44px;
    align-items: stretch;
    margin-bottom: 56px;
    background: #fff;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 10px 34px rgba(43,18,8,0.08);
}

.event-detail-image-btn {
    position: relative;
    display: block;
    width: 100%;
    min-height: 320px;
    padding: 0;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: #1c130c;
}

.event-detail-image-btn img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: contain;
    display: block;
}

.event-detail-view-full {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s ease;
}
.event-detail-image-btn:hover .event-detail-view-full {
    background: var(--red);
}

.event-detail-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 20px 20px 4px;
}

.event-detail-category {
    display: inline-block;
    width: fit-content;
    background: #fdf2dc;
    color: #8a5a0f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.event-detail-info h1 {
    font-family: 'Baloo Bhai 2', sans-serif;
    font-size: 34px;
    line-height: 1.2;
    color: var(--brown-dark);
    margin: 0 0 10px;
}

.event-detail-tagline {
    color: var(--red);
    font-weight: 600;
    font-size: 15px;
    margin: 0 0 22px;
}

.event-detail-meta {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0 0 24px;
    padding: 20px 0 24px;
    border-top: 1px solid #f0e6da;
    border-bottom: 1px solid #f0e6da;
}
.event-detail-meta li {
    font-size: 14.5px;
}
.event-detail-meta svg { color: var(--red); flex-shrink: 0; }

.event-detail-description {
    color: #6b5a4c;
    font-size: 14.5px;
    line-height: 1.9;
    margin: 0;
}

.event-register-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 34px rgba(43,18,8,0.1);
    padding: 44px;
    max-width: 760px;
    margin: 0 auto;
}

.event-fullimage-dialog {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}
.event-fullimage-dialog img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 12px;
    display: block;
}
.event-fullimage-dialog .event-lightbox-close {
    top: -16px;
    right: -16px;
}

/* ===== Registration modal (full-screen popup on event detail page) ===== */
.reg-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 0;
}
.reg-modal.open {
    display: flex;
}
.reg-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(20, 10, 4, 0.72);
    backdrop-filter: blur(3px);
}
.reg-modal-panel {
    position: relative;
    z-index: 1;
    background: #fdf8f2;
    width: 100%;
    min-height: 100dvh;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 56px;
}
.reg-modal-close {
    position: fixed;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.reg-modal-close:hover { background: var(--red); }
.reg-modal-header {
    padding: 20px 24px 0;
    text-align: center;
}
.reg-modal-header .eyebrow {
    color: var(--red);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 11px;
    text-transform: uppercase;
}
.reg-modal-header h2 {
    margin: 4px 0 0;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: var(--brown-dark, #2b1208);
    line-height: 1.25;
}

@media (max-width: 860px) {
    .event-detail-hero { grid-template-columns: 1fr; gap: 0; padding: 16px; margin-bottom: 40px; }
    .event-detail-image-btn { min-height: 0; margin-bottom: 20px; }
    .event-detail-image-btn img { min-height: 0; height: auto; }
    .event-detail-info { padding: 0 4px; }
    .event-register-card { padding: 28px; }
}

/* ===== Members page: 2-column grid on mobile ===== */
@media (max-width: 600px) {
    #tab-board .card-grid,
    .member-vcard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .member-vcard-cover { height: 68px; }
    .member-vcard-photo { width: 64px; height: 64px; top: 36px; }
    .member-vcard-body { padding: 42px 12px 18px; }
    .member-vcard-body h3 { font-size: 14px; }
    .member-vcard-body .mv-designation { font-size: 11px; }
    .member-vcard-body .mv-location { font-size: 11px; }
    .member-vcard-socials { gap: 6px; }
    .social-icon-link { width: 26px; height: 26px; }
    #tab-board .member-tile { padding: 16px; }
    #tab-board .member-tile img { width: 64px; height: 64px; margin-bottom: 10px; }
    #tab-board .member-tile h3 { font-size: 14px; }
}

/* ===== Directory search (Members / Business pages) ===== */
.directory-search {
    position: relative;
    max-width: 420px;
    margin: 0 auto 28px;
}
.directory-search svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #a89580;
    pointer-events: none;
}
.directory-search input {
    width: 100%;
    padding: 13px 16px 13px 46px;
    border: 1px solid #e4d4bf;
    border-radius: 30px;
    font-family: inherit;
    font-size: 14px;
    color: #2b1208;
    background: #fff;
    box-sizing: border-box;
    box-shadow: 0 4px 14px rgba(43,18,8,0.06);
}
.directory-search input:focus {
    outline: none;
    border-color: var(--red);
}

.footer-powered { display: inline-block; font-size: 0.9em; }
.footer-powered a { color: inherit; font-weight: 600; text-decoration: underline; }
.footer-powered a:hover { color: #f3b53c; }


/* ===== Team cards (business page) ===== */
.team-section { padding-top: 56px; padding-bottom: 8px; }
.team-head { text-align: center; margin-bottom: 40px; }
.team-head h2 { font-family: 'Baloo Bhai 2', sans-serif; font-size: 38px; color: var(--brown-dark); margin: 0; }
.team-head p { margin: 6px 0 0; font-size: 18px; color: #8a5a2b; letter-spacing: 0.5px; }
.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}
.team-card {
    background: #1d54b4;
    border-radius: 26px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    transition: transform .2s, box-shadow .2s;
    outline: none;
}
.team-card:hover, .team-card:focus-visible { transform: translateY(-5px); box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28); }
.team-card:focus-visible { box-shadow: 0 0 0 3px var(--gold), 0 18px 34px rgba(0, 0, 0, 0.28); }
.team-photo {
    aspect-ratio: 4 / 4.4;
    background: #e9edf3;
    border-radius: 26px;
    overflow: hidden;
}
.team-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 18px 18px 22px 20px;
    min-height: 112px;
}
.team-info h3 {
    margin: 0;
    font-family: 'Inter', 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.team-sub { margin: 8px 0 0; font-size: 12.5px; line-height: 1.4; opacity: .85; }
.team-verified { flex-shrink: 0; margin-top: 2px; }

@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
    .team-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
    .team-head h2 { font-size: 28px; }
}

/* Category filter chips + card tag */
.team-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -14px 0 28px; }
.team-chip {
    padding: 5px 14px;
    border-radius: 999px;
    border: 1.5px solid #e4d4bf;
    background: #fff;
    color: var(--brown-dark);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
}
.team-chip:hover { border-color: var(--red); color: var(--red); }
.team-chip.active { background: var(--red); border-color: var(--red); color: #fff; }
.team-card[hidden] { display: none; }
.team-popup-cat {
    display: inline-block;
    margin-bottom: 8px;
    padding: 3px 12px;
    border-radius: 999px;
    background: #fdeee0;
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
}

/* Team details popup */
.team-popup { display: none; position: fixed; inset: 0; z-index: 9500; align-items: center; justify-content: center; padding: 20px; }
.team-popup.open { display: flex; }
.team-popup-backdrop { position: absolute; inset: 0; background: rgba(20, 8, 3, 0.72); }
.team-popup-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    width: min(880px, 100%);
    max-height: 92vh;
    overflow: hidden;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}
.team-popup-close {
    position: absolute; top: 12px; right: 14px; z-index: 3;
    width: 38px; height: 38px;
    border: none; border-radius: 50%;
    background: rgba(0, 0, 0, 0.55); color: #fff;
    font-size: 26px; line-height: 1; cursor: pointer;
}
.team-popup-close:hover { background: var(--red); }
.team-popup-media { background: #e9edf3; display: flex; flex-direction: column; min-height: 0; }
.team-popup-media > img { display: block; width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: center top; }
.team-popup-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; background: #f4efe8; }
.team-popup-thumbs:empty { display: none; }
.team-popup-thumbs img {
    width: 58px; height: 58px; flex-shrink: 0;
    object-fit: cover; border-radius: 10px; cursor: pointer;
    border: 2px solid transparent; opacity: .75;
}
.team-popup-thumbs img.active { border-color: var(--red); opacity: 1; }
.team-popup-body { padding: 34px 32px; overflow-y: auto; }
.team-popup-body h2 { margin: 0; font-family: 'Baloo Bhai 2', sans-serif; font-size: 28px; color: var(--brown-dark); }
.team-popup-company { margin: 6px 0 0; font-weight: 600; color: #1d54b4; }
.team-popup-native { margin: 6px 0 0; font-size: 14px; color: #8a7866; }
.team-popup-native:empty, .team-popup-company:empty { display: none; }
.team-popup-desc { margin: 18px 0 0; line-height: 1.75; color: #4a3a2c; white-space: pre-line; }
.team-popup-contacts { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.team-popup-contacts a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%;
    color: #fff; transition: transform .15s;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}
.team-popup-contacts a:hover { transform: translateY(-3px); }
.team-popup-contacts .c-call { background: #1d54b4; }
.team-popup-contacts .c-wa { background: #25a244; }
.team-popup-contacts .c-mail { background: #d93a2b; }
.team-popup-contacts .c-li { background: #0a66c2; }
@media (max-width: 720px) {
    .team-popup { padding: 12px; }
    .team-popup-panel { grid-template-columns: 1fr; overflow-y: auto; }
    .team-popup-media > img { flex: none; height: 300px; }
    .team-popup-body { padding: 24px 22px 28px; overflow: visible; }
}


/* ===== Manual control for the home page marquees (arrows + drag/swipe) ===== */
.marquee-shell { position: relative; }
.marquee-shell > .events-marquee,
.marquee-shell > .network-marquee,
.marquee-shell > .global-marquee { touch-action: pan-y; }
.marquee-shell.is-js .events-track,
.marquee-shell.is-js .network-track,
.marquee-shell.is-js .global-track { animation: none; will-change: transform; cursor: grab; user-select: none; }
.marquee-shell.is-js.dragging .events-track,
.marquee-shell.is-js.dragging .network-track,
.marquee-shell.is-js.dragging .global-track { cursor: grabbing; }
.marquee-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 44px; height: 44px;
    margin-top: -22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform .15s, background .15s;
}
.marquee-arrow:hover { background: #b3161f; transform: scale(1.08); }
.marquee-prev { left: 14px; }
.marquee-next { right: 14px; }
@media (max-width: 768px) {
    .marquee-arrow { width: 36px; height: 36px; margin-top: -18px; }
    .marquee-prev { left: 6px; }
    .marquee-next { right: 6px; }
}

/* Phones / touch screens: no arrow buttons on the scrolling strips, swipe by touch instead. */
@media (max-width: 768px), (pointer: coarse) {
    .marquee-arrow,
    .sponsor-arrow,
    .sponsor-strip.is-js .sponsor-arrow { display: none; }
}


/* ===== Business page: mobile friendly ===== */
.biz-card[hidden] { display: none; }
.mf-hide { display: none !important; }
@media (max-width: 640px) {
    /* category chips: one horizontal row, swipe sideways */
    .team-filter, #businessTabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        gap: 8px;
        margin: 0 -16px 18px;
        padding: 4px 16px 8px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .team-filter::-webkit-scrollbar, #businessTabs::-webkit-scrollbar { display: none; }
    .team-chip, #businessTabs .tab-btn { flex: 0 0 auto; white-space: nowrap; scroll-snap-align: start; }
    #businessTabs .tab-btn { padding: 8px 18px; font-size: 13px; }

    .team-grid { max-width: 340px; margin: 0 auto; }
    .biz-grid { gap: 20px; }
    .team-card:hover, .biz-card:hover { transform: none; }
}
