/* ==========================================================
   Open Dashboard Page Styles
   Figma: HVetc2422papKdaKgc63l5 — node 1658-20548
   ========================================================== */

/* ----- Page wrapper ----- */
.od-page {
    min-height: 100vh;
    background: url('../img/landing/landing_bg.jpeg') no-repeat center top;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
}

/* ── Open Dashboard navbar: override base layout ── */
/* .od-page .landing-navbar {
    background: transparent;
    padding: 8px 56px;
    border-bottom: none;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
} */

.od-page .landing-navbar .lang-switcher {
    color: var(--lp-text-dark);
}

.od-page .landing-navbar .lang-switcher span {
    color: var(--lp-text-dark);
    font-size: 16px;
    font-weight: 400;
}

/* Active nav item — bottom border */
.od-page .landing-navbar .nav-links a.nav-active--border {
    background: transparent;
    color: var(--lp-text-dark);
    border: none;
    border-radius: 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--lp-primary);
}

.od-page .landing-navbar .nav-links a.nav-active--border:hover {
    border-radius: 100px;
    border: 1px solid transparent;
    border-bottom: none;
    padding-bottom: 10px;
    background: var(--lp-primary);
    color: var(--lp-white);
}

/* Login button */
.btn-login-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #683091;
    color: #ffffff !important;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 8px rgba(104, 48, 145, 0.2), 0 4px 12px rgba(104, 48, 145, 0.08);
    transition: background 0.2s, box-shadow 0.2s;
}

.btn-login-nav:hover {
    background: #55277a;
    color: #ffffff !important;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(104, 48, 145, 0.3);
}



/* ==========================================================
   Toolbar: Breadcrumb + Search
   ========================================================== */
.od-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 30px;
    background: transparent;
    border-bottom: none;
}

/* --- Breadcrumb --- */
.od-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
}

.od-breadcrumb__home {
    display: flex;
    align-items: center;
    color: #683091;
    text-decoration: none;
    transition: color 0.2s;
}

.od-breadcrumb__home:hover {
    color: #683091;
}

.od-breadcrumb__home svg {
    width: 24px;
    height: 24px;
}

.od-breadcrumb__chevron {
    display: flex;
    align-items: center;
}

.od-breadcrumb__label {
    font-family: 'Inter', 'Noto Sans Bengali', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #5d5d5d;
    line-height: normal;
    white-space: nowrap;
}

/* --- Search --- */
.od-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #ededed;
    border-radius: 8px;
    padding: 8px 12px;
    width: 284px;
    height: 43px;
}

.od-search-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.od-search-input {
    flex: 1 0 0;
    border: none;
    outline: none;
    font-family: 'Manrope', 'Noto Sans Bengali', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #0b0b0b;
    line-height: 1.5;
    background: transparent;
    min-width: 0;
}

.od-search-input::placeholder {
    color: #6d6d6d;
}

/* ==========================================================
   Cards Section
   ========================================================== */
.od-cards-section {
    flex: 1;
    padding: 24px 30px;
}

/* ----- Card outer link (full-card clickable) ----- */
.od-card-outer-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.od-card-outer-link:hover {
    text-decoration: none;
    color: inherit;
}

/* ----- Card outer (translucent wrapper) ----- */
.od-card-outer {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 18px;
    padding: 10px;
    height: 100%;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.od-card-outer:hover {
    background: linear-gradient(135deg, rgba(104, 48, 145, 0.18), rgba(209, 21, 126, 0.12));
    border-color: rgba(104, 48, 145, 0.25);
    box-shadow: 0 6px 20px rgba(104, 48, 145, 0.15);
}

/* ----- Card inner (solid white) ----- */
.od-card-inner {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ----- Card body (fills inner) ----- */
.od-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    width: 100%;
}

/* ----- Category label ----- */
.od-card-category {
    font-family: 'Inter', 'Noto Sans Bengali', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    text-align: center;
    line-height: 1.4;
    margin: 0;
    width: 100%;
}

/* ----- Logo wrapper ----- */
.od-card-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    flex-shrink: 0;
}

.od-card-logo {
    width: 100%;
    height: 50px;
    object-fit: contain;
}

/* ----- Description ----- */
.od-card-description {
    font-family: 'Inter', 'Noto Sans Bengali', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #444444;
    line-height: 1.6;
    text-align: center;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ----- Divider ----- */
.od-card-divider {
    width: 100%;
    border: none;
    border-top: 1px solid #e8e8e8;
    margin: 0;
}

/* ----- View Details link ----- */
.od-card-link {
    font-family: 'Inter', 'Noto Sans Bengali', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #683091;
    text-align: center;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    display: block;
    width: 100%;
    transition: color 0.2s, opacity 0.2s;
    line-height: 1.4;
    padding: 4px 0;
}

.od-card-link:hover {
    color: #55277a;
    text-decoration: underline;
}

/* ==========================================================
   Footer inside open-dashboard page
   ========================================================== */
.od-page .landing-footer {
    margin-top: 0;
    padding: 16px 30px;
    border-top: 1px solid #ebebeb;
}

/* ==========================================================
   Responsive
   ========================================================== */
/* @media (max-width: 1199.98px) {
    .od-page .landing-navbar {
        padding: 8px 36px;
    }
} */

@media (max-width: 991px) {
    /* .od-page .landing-navbar {
        padding: 8px 24px;
    } */

    .od-toolbar {
        padding: 8px 16px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .od-page .landing-footer {
        padding: 16px;
    }

    .od-search-wrap {
        width: 100%;
        max-width: 320px;
    }

    .od-cards-section {
        padding: 16px;
    }
}

@media (max-width: 767.98px) {
    .od-page .landing-navbar {
        /* padding: 8px 16px; */
        flex-wrap: wrap;
    }

    .btn-login-nav {
        font-size: 14px;
        padding: 8px 16px;
    }
}

@media (max-width: 575px) {
    .btn-login-nav {
        font-size: 13px;
        padding: 7px 12px;
    }

    .od-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .od-search-wrap {
        max-width: 100%;
    }

    .od-breadcrumb {
        padding: 4px 0;
    }
}
