:root {
    --brand: #1e6bd6;
    --brand-dark: #1657b3;
    --soft: #eef4ff;
    --line: #cfe0ff;
    --card: #ffffff;
    --muted: #6b7280;
    --footer: #1657b3;
}

/* ======= GLOBAL RESET ======= */
html,
body {
    height: 100%;
}

body {
    background: #ffffff;
    color: #111827;
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
}

/* NO BORDER RADIUS (project requirement) */
* {
    border-radius: 0 !important;
}



/*END HEADER TOP*/


.uniondesk-bar {
    background-color: #a4188d;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    height: 40px;
}


.logo {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: -0.5px;
}

.leaf {
    color: var(--primary-);
    margin-right: 5px;
}

.market-text {
    font-weight: lighter;
    color: var(--accent);
}

.buy-now-btn {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.buy-now-btn:hover {
    background-color: var(--primary-color);
    color: white;
}


.card {
    border-radius: 0 !important;
}

.card-header {
    border-radius: 0 !important;
    background-color: var(--brand);
    color: #fff;
    font-weight: 800;
}

.btn--primary {
    border-radius: 0 !important;
    background-color: #1e6bd6 !important;
    color: #fff !important;
}

img {
    border-radius: 0 !important;
}

.btn {
    border-radius: 0 !important;
}

/* ======= PAGE BACKGROUND (whole home) ======= */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        repeating-linear-gradient(0deg, rgba(17, 24, 39, .09) 0 1px, transparent 1px 52px),
        repeating-linear-gradient(90deg, rgba(17, 24, 39, .09) 0 1px, transparent 1px 52px);
    opacity: .28;
    pointer-events: none;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 14% 66%, rgba(59, 130, 246, .45) 0 6px, transparent 7px),
        radial-gradient(circle at 86% 24%, rgba(124, 58, 237, .55) 0 6px, transparent 7px),
        radial-gradient(circle at 90% 28%, rgba(250, 204, 21, .65) 0 6px, transparent 7px),
        radial-gradient(circle at 74% 86%, rgba(234, 88, 12, .60) 0 6px, transparent 7px),
        radial-gradient(circle at 34% 16%, rgba(250, 204, 21, .55) 0 6px, transparent 7px),
        radial-gradient(circle at 22% 82%, rgba(59, 130, 246, .40) 0 6px, transparent 7px);
    opacity: .7;
}

/* Container padding correction */
.container {
    padding-left: 14px;
    padding-right: 14px;
}

/* ======= TOPBAR ======= */
.topbar {
    background: var(--brand);
    color: #fff;
    font-size: .9rem;
}

.topbar .topbar-inner {
    padding: .45rem .75rem;
    display: flex;
    gap: .75rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* ======= HEADER ======= */
.brand-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.brand-header .inner {
    padding: .85rem .75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.brand-title {
    line-height: 1.2;
}

.brand-title h1 {
    font-size: 1.35rem;
    margin: 0;
    font-weight: 800;
    color: #111827;
}

.brand-title p {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
}

.brand-logos img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--line);
    padding: 6px 0px;
}


.mainnav {
    background: var(--brand);
}

.mainnav .navbar-nav .nav-link {
    color: #eaf2ff;
    padding: .75rem .9rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.mainnav .navbar-nav .nav-link:hover,
.mainnav .navbar-nav .nav-link.active {
    background: rgba(255, 255, 255, .14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .25);
}


.mainnav .dropdown-menu {
    margin-top: 0;
    border: 1px solid rgba(255, 255, 255, .22);
    background: #ffffff;
    min-width: 240px;
    padding: 6px 0;
}

.mainnav .dropdown-item {
    padding: .55rem .9rem;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
}

.mainnav .dropdown-item:hover {
    background: var(--soft);
    color: #111827;
}

.mainnav .dropdown-toggle::after {
    margin-left: .5rem;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0;
}

.dropdown-submenu>.dropdown-item::after {
    content: "›";
    float: right;
    font-weight: 900;
    opacity: .75;
}

@media (max-width: 991.98px) {
    .dropdown-submenu>.dropdown-menu {
        left: 0;
        top: 0;
        margin-left: 0;
        border-left: 0;
    }
}


/* ======= SECTION HEAD/BOX ======= */
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .6rem .75rem;
    background: var(--brand);
    color: #fff;
    font-weight: 800;
    border: 1px solid var(--line);
    border-bottom: 0;
    border-left: 4px solid rgba(255, 255, 255, .75);
}

.section-box {
    background: var(--card);
    border: 1px solid var(--line);
    padding: .95rem;
}

/* ======= HERO GRID ======= */
.hero-grid {
    display: grid;
    grid-template-columns: 1.65fr .85fr .85fr;
    gap: 1rem;
}

.hero-slider {
    border: 1px solid var(--line);
    overflow: hidden;
    background: #fff;
}

.hero-profile {
    border: 1px solid var(--line);
    background: #fff;
    overflow: hidden;
    text-align: center;
}

.hero-profile .avatar {
    width: 86px;
    height: 86px;
    margin: 1rem auto .6rem;
    background: #e5e7eb;
    border: 2px solid var(--brand);
}

.hero-profile .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-profile h6 {
    margin: 0;
    font-weight: 800;
}

.hero-profile p {
    margin: .2rem 0 1rem;
    color: var(--muted);
    font-size: .9rem;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
}

/* ======= SIDEBAR ======= */
.side-box {
    background: #fff;
    border: 1px solid var(--line);
    overflow: hidden;
}

.side-box .side-head {
    background: var(--brand);
    color: #fff;
    font-weight: 800;
    padding: .6rem .75rem;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.side-box .side-body {
    padding: .85rem .75rem;
}

/* ======= SERVICES ======= */
.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: 1rem .75rem;
    border: 1px solid var(--line);
    height: 100%;
    background: #fff;
    transition: .15s ease;
}

.service-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(17, 24, 39, .08);
}

.service-item i {
    font-size: 1.4rem;
    color: var(--brand);
}

.service-item span {
    font-weight: 800;
}

/* ======= MEMBERS ======= */
.member-card {
    border: 1px solid var(--line);
    background: #fff;
    height: 100%;
    text-align: center;
    padding: 1rem;
}

.member-card .m-avatar {
    width: 72px;
    height: 72px;
    margin: 0 auto .65rem;
    background: #e5e7eb;
    border: 2px solid var(--brand);
}

.member-card .m-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-card h6 {
    margin: 0;
    font-weight: 800;
}

.member-card p {
    margin: .25rem 0 0;
    color: var(--muted);
    font-size: .9rem;
}

/* ======= GALLERY ======= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.gallery-item {
    border: 1px solid var(--line);
    overflow: hidden;
    background: #fff;
}

.gallery-item .thumb {
    background: #e5e7eb;
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 2rem;
    border-bottom: 1px solid var(--line);
}

.gallery-item .cap {
    padding: .65rem .75rem;
    font-weight: 800;
    text-align: center;
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ======= VISITORS ======= */
.visitor-card {
    border: 1px solid var(--line);
    padding: 1rem;
    text-align: center;
    background: #fff;
}

.visitor-card h6 {
    margin: 0;
    font-weight: 800;
}

.visitor-card .num {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--brand);
    margin-top: .35rem;
}

/* ======= FOOTER ======= */
footer {
    background: var(--footer);
    color: #fff;
    margin-top: 2rem;
    border-top: 6px solid rgba(255, 255, 255, .12);
}

footer .f-inner {
    padding: 2rem 0;
}

footer a {
    color: #fff;
    opacity: .95;
}

footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

.f-title {
    font-weight: 900;
    margin-bottom: .6rem;
}

.f-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .35rem;
}

.f-list i {
    width: 18px;
}

/* Page spacing */
.page-wrap {
    padding: 1.25rem 0 0;
}


.holding-search {
    margin-top: 14px;
    margin-bottom: 22px;
}

.holding-search-box {
    background: var(--brand);
    padding: 14px 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 40px;
}

.holding-search-box .label {
    color: #fff;
    font-weight: 800;
    white-space: nowrap;
}

.holding-search-box input {
    border: 0;
    outline: 0;
    padding: 8px 14px;
    min-width: 160px;
}

.holding-search-box button {
    border: 0;
    background: #8b5aa8;
    color: #fff;
    padding: 8px 18px;
    font-weight: 700;
    cursor: pointer;
    width: 100px !important;
}

@media(max-width:768px) {
    .holding-search-box {
        flex-wrap: wrap;
        border-radius: 14px;
    }

    .holding-search-box input {
        width: 100%;
    }

    .holding-search-box button {
        width: 100%;
    }
}