.public-website {
    --portal-navy: #143553;
    --portal-navy-deep: #0e2942;
    --portal-blue: #205d94;
    --portal-blue-soft: #6f96bf;
    --portal-orange: #e69027;
    --portal-cream: #f7f3ec;
    --portal-card: rgba(255, 255, 255, 0.94);
    --portal-border: rgba(19, 53, 83, 0.12);
    --portal-shadow: 0 24px 50px rgba(16, 42, 72, 0.12);
    background:
        radial-gradient(circle at left top, rgba(255, 204, 132, 0.34), transparent 28%),
        radial-gradient(circle at right 18%, rgba(82, 145, 205, 0.24), transparent 22%),
        linear-gradient(180deg, #f8fbff 0%, #fcfaf6 55%, #f4f8ff 100%);
    color: #203245;
    font-family: "Hind Vadodara", "Segoe UI", sans-serif;
    min-height: 100vh;
}

.portal-container {
    max-width: 1220px;
    padding-left: 24px;
    padding-right: 24px;
}

.public-main {
    position: relative;
    overflow-x: clip;
}

.portal-header {
    position: relative;
    z-index: 20;
}

.portal-topbar {
    background: var(--portal-navy);
    color: #f6fbff;
}

.portal-topbar .portal-container,
.portal-brandbar .portal-container {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.portal-topbar .portal-container {
    gap: 16px;
    min-height: 54px;
}

.portal-topbar__left,
.portal-topbar__right {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    min-width: 0;
}

.portal-topbar__link {
    align-items: center;
    color: #fff;
    display: inline-flex;
    font-size: 14px;
    font-weight: 500;
    gap: 8px;
    min-width: 0;
    text-decoration: none;
}

.portal-topbar__link--icon {
    min-width: 16px;
}

.portal-topbar__link:hover,
.portal-topbar__link:focus {
    color: #fff;
    opacity: 0.92;
    text-decoration: none;
}

.portal-topbar__link--plain {
    color: rgba(255, 255, 255, 0.92);
}

.portal-topbar__dot {
    background: rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    display: inline-block;
    height: 5px;
    width: 5px;
}

.portal-round-badge {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    color: #fff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    gap: 8px;
    min-height: 34px;
    padding: 0 14px;
}

.portal-brandbar {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(19, 53, 83, 0.08);
    box-shadow: 0 18px 40px rgba(17, 44, 73, 0.08);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.portal-brandbar.is-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 46px rgba(17, 44, 73, 0.14);
}

.portal-brandbar .portal-container {
    gap: 24px;
    min-height: 176px;
    padding-top: 26px;
    padding-bottom: 26px;
}

.portal-brand {
    align-items: center;
    color: var(--portal-navy);
    display: inline-flex;
    gap: 18px;
    flex: 1 1 auto;
    text-decoration: none;
}

.portal-brand:hover,
.portal-brand:focus {
    color: var(--portal-navy);
    text-decoration: none;
}

.portal-brand__mark {
    align-items: center;
    background: linear-gradient(180deg, #fff, #edf4fb);
    border-radius: 22px;
    box-shadow: 0 18px 35px rgba(16, 42, 72, 0.1);
    display: inline-flex;
    flex: 0 0 auto;
    justify-content: center;
    min-height: 110px;
    min-width: 110px;
    padding: 14px;
}

.portal-brand__mark img {
    height: 82px;
    width: auto;
}

.portal-brand__text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.portal-brand__text small,
.portal-brand__text span,
.portal-brand__text em,
.portal-brand__text strong {
    display: block;
    font-style: normal;
}

.portal-brand__text small {
    color: var(--portal-orange);
    font-family: "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portal-brand__text strong {
    color: var(--portal-navy);
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: clamp(1.95rem, 3vw, 2.6rem);
    font-weight: 700;
    line-height: 1.04;
}

.portal-brand__text span {
    color: #46627e;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.35;
}

.portal-brand__text em {
    color: #7d8ea3;
    font-size: 15px;
    font-weight: 500;
}

.portal-brand-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-end;
    min-width: 240px;
}

.portal-cta {
    align-items: center;
    border-radius: 14px;
    box-shadow: 0 18px 32px rgba(17, 44, 73, 0.14);
    color: #fff;
    display: inline-flex;
    font-size: 16px;
    font-weight: 700;
    justify-content: center;
    min-height: 58px;
    min-width: 112px;
    padding: 0 28px;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.portal-cta:hover,
.portal-cta:focus {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.portal-cta--register {
    background: linear-gradient(135deg, #356fa7, #4f85bb);
}

.portal-cta--login {
    background: linear-gradient(135deg, #d97d14, #efa43a);
}

.portal-navband {
    background: linear-gradient(90deg, #1f5c92, #1b6f7f);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.portal-navbar {
    padding: 0;
}

.portal-nav {
    align-items: center;
    gap: 10px;
    min-height: 62px;
}

.portal-nav .nav-item {
    display: block;
}

.portal-nav .nav-link {
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.95);
    display: inline-flex;
    font-size: 15px;
    font-weight: 700;
    justify-content: center;
    padding: 10px 12px;
    text-decoration: none;
    transition: background 0.22s ease, color 0.22s ease;
}

.portal-nav .nav-item.active .nav-link,
.portal-nav .nav-link:hover,
.portal-nav .nav-link:focus {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.portal-navbar__toggle {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 12px;
    margin: 10px 0;
    padding: 8px 12px;
}

.portal-navbar__toggle .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.portal-footer {
    background: var(--portal-navy-deep);
    margin-top: 40px;
    padding: 26px 0;
}

.portal-footer__content {
    align-items: center;
    color: #fff;
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) auto auto;
}

.portal-footer__brand,
.portal-footer__meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.portal-footer__brand strong {
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: 1.2rem;
}

.portal-footer__brand span,
.portal-footer__meta span {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.portal-footer__brand a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.portal-footer__links {
    display: inline-flex;
    gap: 14px;
}

.portal-footer__links a {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.portal-ip-chip {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    display: inline-flex;
    gap: 6px;
    min-height: 40px;
    padding: 0 14px;
}

.portal-ip-chip strong {
    color: #fff;
}

.portal-support-widget {
    align-items: center;
    background: linear-gradient(90deg, #176191, #1d8d73);
    border: 0;
    border-radius: 999px;
    bottom: 22px;
    box-shadow: 0 22px 42px rgba(16, 42, 72, 0.26);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    gap: 12px;
    min-height: 62px;
    outline: none;
    padding: 8px 14px 8px 10px;
    position: fixed;
    right: 22px;
    text-decoration: none;
    z-index: 30;
}

.portal-support-widget:hover,
.portal-support-widget:focus {
    color: #fff;
    text-decoration: none;
}

.portal-chatbot {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 31;
}

.portal-support-widget__mark,
.portal-support-widget__icon {
    align-items: center;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    display: inline-flex;
    font-size: 17px;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.portal-support-widget__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.portal-support-widget__text strong {
    font-size: 18px;
    line-height: 1;
}

.portal-support-widget__text small {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 600;
}

.portal-chatbot__panel {
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 28px;
    bottom: 78px;
    box-shadow: 0 28px 56px rgba(16, 42, 72, 0.24);
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    right: 0;
    transform: translateY(18px) scale(0.96);
    transition: opacity 0.22s ease, transform 0.22s ease;
    width: 356px;
}

.portal-chatbot__body::-webkit-scrollbar {
    width: 8px;
}

.portal-chatbot__body::-webkit-scrollbar-thumb {
    background: rgba(29, 108, 142, 0.3);
    border-radius: 999px;
}

.portal-chatbot.is-open .portal-chatbot__panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.portal-chatbot__header {
    align-items: flex-start;
    background: linear-gradient(90deg, #175c90, #1b8b74);
    color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 18px 18px 16px;
}

.portal-chatbot__identity {
    align-items: flex-start;
    display: flex;
    gap: 12px;
}

.portal-chatbot__badge {
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    color: #175c90;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 24px;
    font-weight: 700;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.portal-chatbot__title {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 2px;
}

.portal-chatbot__title strong {
    font-size: 1.6rem;
    line-height: 1;
}

.portal-chatbot__title small {
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    font-weight: 600;
}

.portal-chatbot__title em {
    align-items: center;
    color: rgba(255, 255, 255, 0.92);
    display: inline-flex;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    gap: 8px;
    margin-top: 6px;
}

.portal-chatbot__title em span {
    background: #73e490;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(115, 228, 144, 0.18);
    display: inline-block;
    height: 10px;
    width: 10px;
}

.portal-chatbot__close {
    align-items: center;
    background: rgba(255, 255, 255, 0.16);
    border: 0;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 18px;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.portal-chatbot__body {
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 320px;
    overflow-y: auto;
    padding: 18px;
}

.portal-chatbot__message {
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.6;
    max-width: 86%;
    padding: 14px 16px;
}

.portal-chatbot__message--user {
    align-self: flex-end;
    background: linear-gradient(180deg, #1b5d90, #1a8a74);
    border-bottom-right-radius: 8px;
    color: #fff;
}

.portal-chatbot__message--bot {
    align-self: flex-start;
    background: #fff;
    border: 1px solid rgba(19, 53, 83, 0.08);
    border-bottom-left-radius: 8px;
    box-shadow: 0 10px 24px rgba(16, 42, 72, 0.08);
    color: #445d78;
}

.portal-chatbot__composer {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr auto;
    padding: 14px 18px 18px;
}

.portal-chatbot__input {
    background: #f7fbff;
    border: 2px solid rgba(68, 120, 178, 0.22);
    border-radius: 16px;
    color: #23425f;
    font-size: 15px;
    min-height: 50px;
    outline: none;
    padding: 0 16px;
}

.portal-chatbot__input:focus {
    border-color: rgba(52, 111, 174, 0.55);
    box-shadow: 0 0 0 4px rgba(52, 111, 174, 0.12);
}

.portal-chatbot__send {
    background: linear-gradient(90deg, #185d91, #1a8a73);
    border: 0;
    border-radius: 18px;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    min-height: 50px;
    min-width: 92px;
    padding: 0 18px;
}

@media (max-width: 1199.98px) {
    .portal-brandbar .portal-container,
    .portal-footer__content {
        align-items: flex-start;
        flex-direction: column;
        grid-template-columns: 1fr;
    }

    .portal-topbar .portal-container {
        align-items: flex-start;
        flex-direction: column;
    }

    .portal-topbar__right {
        width: 100%;
    }

    .portal-navbar {
        min-height: 60px;
    }

    .portal-navbar .navbar-collapse {
        width: 100%;
    }

    .portal-nav {
        align-items: stretch;
        gap: 0;
        padding-bottom: 16px;
        padding-top: 6px;
        width: 100%;
    }

    .portal-nav .nav-link {
        border-radius: 14px;
        display: block;
        justify-content: flex-start;
        padding: 12px 14px;
    }
}

@media (max-width: 767.98px) {
    .portal-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .portal-topbar .portal-container {
        min-height: auto;
        gap: 8px;
        padding-bottom: 12px;
        padding-top: 12px;
    }

    .portal-topbar__left {
        gap: 8px 10px;
    }

    .portal-topbar__dot {
        display: none;
    }

    .portal-topbar__link {
        font-size: 13px;
    }

    .portal-round-badge {
        font-size: 12px;
        min-height: 32px;
        padding: 0 12px;
    }

    .portal-brandbar .portal-container {
        align-items: flex-start;
        min-height: auto;
        padding-bottom: 18px;
        padding-top: 18px;
    }

    .portal-brand {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        width: 100%;
    }

    .portal-brand__mark {
        min-height: 92px;
        min-width: 92px;
    }

    .portal-brand__mark img {
        height: 66px;
    }

    .portal-brand__text strong {
        font-size: clamp(1.45rem, 8vw, 1.85rem);
        line-height: 1.12;
        word-break: break-word;
    }

    .portal-brand__text span {
        font-size: 0.98rem;
    }

    .portal-brand__text small,
    .portal-brand__text em {
        font-size: 13px;
    }

    .portal-brand-actions {
        gap: 12px;
        min-width: 0;
        width: 100%;
    }

    .portal-cta {
        flex: 1 1 0;
        font-size: 15px;
        min-height: 52px;
        min-width: 0;
        padding: 0 18px;
    }

    .portal-navband .portal-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .portal-navbar__toggle {
        margin: 8px 0;
    }

    .portal-footer {
        margin-top: 28px;
        padding: 22px 0;
    }

    .portal-footer__content {
        gap: 14px;
    }

    .portal-footer__links {
        flex-wrap: wrap;
        gap: 10px 14px;
    }

    .portal-ip-chip {
        font-size: 13px;
        min-height: 38px;
        padding: 0 12px;
    }

    .portal-support-widget {
        bottom: 16px;
        gap: 10px;
        min-height: 58px;
        max-width: calc(100vw - 32px);
        padding: 8px 12px 8px 10px;
        right: 16px;
    }

    .portal-chatbot {
        bottom: 16px;
        right: 16px;
    }

    .portal-chatbot__panel {
        border-radius: 24px;
        bottom: 72px;
        width: min(360px, calc(100vw - 32px));
    }

    .portal-support-widget__text small {
        display: none;
    }

    .portal-chatbot__header {
        padding: 16px;
    }

    .portal-chatbot__badge {
        font-size: 20px;
        height: 46px;
        width: 46px;
    }

    .portal-chatbot__title strong {
        font-size: 1.35rem;
    }

    .portal-chatbot__title small,
    .portal-chatbot__title em {
        font-size: 12px;
    }

    .portal-chatbot__body {
        max-height: 260px;
        padding: 14px;
    }

    .portal-chatbot__message {
        font-size: 14px;
        max-width: 92%;
        padding: 12px 14px;
    }

    .portal-chatbot__composer {
        gap: 10px;
        grid-template-columns: 1fr;
        padding: 12px 14px 14px;
    }

    .portal-chatbot__send,
    .portal-chatbot__input {
        width: 100%;
    }
}

@media (max-width: 479.98px) {
    .portal-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .portal-topbar__left {
        align-items: center;
        flex-wrap: wrap;
    }

    .portal-topbar__link--plain {
        line-height: 1.4;
    }

    .portal-brandbar .portal-container {
        gap: 16px;
        padding-bottom: 16px;
        padding-top: 16px;
    }

    .portal-brand {
        gap: 12px;
    }

    .portal-brand__mark {
        min-height: 78px;
        min-width: 78px;
        padding: 10px;
    }

    .portal-brand__mark img {
        height: 56px;
    }

    .portal-brand__text strong {
        font-size: 1.28rem;
    }

    .portal-brand__text span {
        font-size: 0.9rem;
    }

    .portal-brand-actions {
        flex-direction: column;
    }

    .portal-cta {
        width: 100%;
    }

    .portal-support-widget {
        min-height: 54px;
        right: 12px;
    }

    .portal-support-widget__mark,
    .portal-support-widget__icon {
        height: 36px;
        width: 36px;
    }

    .portal-support-widget__text strong {
        font-size: 16px;
    }

    .portal-chatbot {
        bottom: 12px;
        right: 12px;
    }

    .portal-chatbot__panel {
        bottom: 66px;
        width: calc(100vw - 24px);
    }
}
