:root {
    --front-primary: #1fa2a6;
    --front-secondary: #f4b41a;
    --front-deep: #1f2a44;
    --front-muted: #62758f;
    --front-light: #f5fbff;
    --front-card: #ffffff;
    --front-shadow: 0 24px 50px rgba(31, 42, 68, 0.12);
    --front-radius: 24px;
    --front-font-heading: 'Unbounded', 'Manrope', sans-serif;
    --front-font-body: 'Manrope', 'Unbounded', sans-serif;
}

.frontend-body {
    font-family: var(--front-font-body);
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    background-image:
        linear-gradient(160deg, rgba(245, 251, 255, 0.92), rgba(232, 242, 248, 0.9)),
        linear-gradient(25deg, rgba(244, 180, 26, 0.16), rgba(31, 162, 166, 0.18)),
        url("../../img/idul-fitri.png");
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: cover, cover, cover;
    background-position: center top, center top, center top;
    background-attachment: scroll, scroll, fixed;
    background-blend-mode: normal, multiply, soft-light;
    min-height: 100vh;
    overflow-x: hidden;
}

body.front-menu-open {
    overflow: hidden;
    touch-action: none;
}

html.front-menu-open,
body.front-menu-open {
    height: 100%;
    overflow: hidden;
}

body.front-menu-open {
    position: fixed;
    width: 100%;
}

body.front-menu-open .front-nav-panel {
    touch-action: pan-y;
}

body.front-menu-open .front-header {
    opacity: 1;
    pointer-events: auto;
}

[data-bs-theme='dark'] .frontend-body {
    color: var(--bs-body-color);
    background-color: #0f1720;
    background-image:
        linear-gradient(160deg, rgba(15, 23, 32, 0.92), rgba(15, 23, 32, 0.95)),
        linear-gradient(20deg, rgba(31, 162, 166, 0.22), rgba(12, 18, 26, 0.42)),
        url("../../img/idul-fitri.png");
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: cover, cover, cover;
    background-position: center top, center top, center top;
    background-attachment: scroll, scroll, fixed;
    background-blend-mode: normal, multiply, soft-light;
}

@media (max-width: 991.98px) {

    .frontend-body,
    [data-bs-theme='dark'] .frontend-body {
        background-attachment: scroll, scroll, scroll;
    }
}

.frontend-main {
    position: relative;
}

.front-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    overflow: visible;
}

.has-scrolled .front-header {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 30px rgba(31, 42, 68, 0.12);
}

[data-bs-theme='dark'] .has-scrolled .front-header {
    background: rgba(12, 18, 26, 0.85);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.45);
}

.front-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.front-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.front-brand-logo {
    width: auto;
    height: 42px;
    object-fit: contain;
}

.front-brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.front-brand-title {
    font-family: var(--front-font-heading);
    font-weight: 600;
}

.front-brand-subtitle {
    font-size: 0.8rem;
    color: var(--front-muted);
}

.front-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.front-menu-toggle {
    display: none;
}

.front-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.front-nav-panel {
    display: block;
    color: var(--front-deep);
}

[data-bs-theme='dark'] .front-nav-panel {
    color: #e6eef5;
}

.front-nav-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.live-streaming-float {
    position: fixed;
    left: 16px;
    bottom: 248px;
    z-index: 999;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    width: 60px;
    height: 60px;
    padding: 0.5rem;
    border-radius: 14px;
    background: #ff0033;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 14px 24px rgba(255, 0, 51, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: liveStreamingBounce 1.8s ease-in-out infinite;
}

.live-streaming-float i {
    font-size: 1.35rem;
}

.live-streaming-float:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 20px 34px rgba(255, 0, 51, 0.38);
}

.live-streaming-float::after {
    content: '';
    position: absolute;
    inset: -16px;
    border-radius: 28px;
    background: rgba(255, 0, 51, 0.28);
    border: 2px solid rgba(255, 0, 51, 0.55);
    opacity: 0;
    animation: liveStreamingPulse 0.95s ease-out infinite;
}

.live-streaming-float::before {
    content: '';
    position: absolute;
    inset: -26px;
    border-radius: 36px;
    background: rgba(255, 0, 51, 0.2);
    border: 2px solid rgba(255, 0, 51, 0.55);
    opacity: 0;
    animation: liveStreamingPulse 0.95s ease-out infinite;
    animation-delay: 0.4s;
}

.call-center-float {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 999;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 180px;
    height: 50px;
    padding: 0;
    background: transparent;
    text-decoration: none;
    box-shadow: none;
    transition: transform 0.2s ease;
}

.call-center-float img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.call-center-float:hover {
    transform: translateY(-2px);
}

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

.chatbot-float {
    position: fixed;
    left: 16px;
    bottom: 88px;
    z-index: 999;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 70px;
    height: 70px;
    padding: 0;
    background: transparent;
    text-decoration: none;
    box-shadow: none;
    transition: transform 0.2s ease;
}

.chatbot-float img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.chatbot-float:hover {
    transform: translateY(-2px);
}

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

.survei-float-trigger {
    position: fixed;
    left: 16px;
    bottom: 168px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    width: 56px;
    height: 56px;
    padding: 0;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.survei-float-trigger img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.survei-float-trigger:hover {
    transform: translateY(-2px);
}

.survei-float-panel {
    position: fixed;
    left: 16px;
    right: auto;
    bottom: 235px;
    z-index: 1001;
    width: min(360px, calc(100vw - 2rem));
    border-radius: 10px;
    border: 1px solid rgba(31, 162, 166, 0.28);
    background: #ffffff;
    box-shadow: 0 28px 48px rgba(31, 42, 68, 0.1);
    padding: 1rem;
    opacity: 0;
    transform: translateY(14px) scale(0.97);
    transform-origin: bottom left;
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.survei-float-panel.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.survei-float-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.survei-float-header h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--front-deep);
}

.survei-float-close {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 999px;
    background: rgba(31, 42, 68, 0.08);
    color: #5a697f;
    cursor: pointer;
}

.survei-float-lead {
    margin: 0.2rem 0 0.5rem;
    font-size: 0.84rem;
    color: var(--front-muted);
}

.survei-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 0.2rem;
    margin-bottom: 0.75rem;
}

.survei-stars input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.survei-stars label {
    font-size: 1.4rem;
    color: #c8d3e1;
    cursor: pointer;
    line-height: 1;
    transition: color 0.15s ease, transform 0.15s ease;
}

.survei-stars label:hover,
.survei-stars label:hover~label {
    color: #ffb648;
}

.survei-stars input:checked~label {
    color: #ffb648;
}

.survei-float-form .form-control {
    border-radius: 12px;
    border-color: #d5dfeb;
    min-height: 96px;
}

.survei-float-form .btn {
    border-radius: 12px;
    font-weight: 700;
}

.survei-form-message {
    font-size: 0.83rem;
}

[data-bs-theme='dark'] .survei-float-panel {
    background: #151d29;
    border-color: rgba(108, 151, 202, 0.3);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.5);
}

[data-bs-theme='dark'] .survei-float-header h3 {
    color: #edf3fa;
}

[data-bs-theme='dark'] .survei-float-close {
    background: rgba(255, 255, 255, 0.12);
    color: #d7e5f4;
}

[data-bs-theme='dark'] .survei-float-lead {
    color: #a8bbd0;
}

[data-bs-theme='dark'] .survei-stars label {
    color: #4a617a;
}

[data-bs-theme='dark'] .survei-float-form .form-control {
    background: #0f1722;
    border-color: #33465d;
    color: #e9f1f8;
}

@keyframes liveStreamingBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@media (max-width: 767.98px) {
    .survei-float-trigger {
        left: 16px;
        bottom: 164px;
        width: 52px;
        height: 52px;
    }

    .survei-float-panel {
        left: 12px;
        right: auto;
        bottom: 218px;
        width: min(310px, calc(100vw - 1.5rem));
    }
}

@keyframes liveStreamingPulse {
    0% {
        opacity: 1;
        transform: scale(0.82);
    }

    65% {
        opacity: 0;
        transform: scale(1.3);
    }

    100% {
        opacity: 0;
        transform: scale(1.3);
    }
}

@media (max-width: 576px) {

    .astral-accessibility-widget,
    #astral-accessibility,
    astral-accessibility,
    [data-astral-accessibility],
    [data-astral-widget] {
        bottom: 12px !important;
        left: 72px !important;
        right: auto !important;
    }

    .live-streaming-float {
        left: 12px;
        bottom: 142px;
        width: 48px;
        height: 48px;
        font-size: 0.58rem;
    }

    .call-center-float {
        right: 0.75rem;
        bottom: 0.75rem;
        width: 154px;
        height: 42px;
        font-size: 0.64rem;
    }

    .chatbot-float {
        left: 12px;
        bottom: 76px;
        width: 56px;
        height: 56px;
    }

    .survei-float-trigger {
        left: 72px;
        bottom: 12px;
        width: 48px;
        height: 48px;
    }

    .survei-float-panel {
        left: 10px;
        right: 10px;
        width: auto;
        max-width: calc(100vw - 20px);
        bottom: 72px;
        transform-origin: bottom left;
    }
}

.front-nav-link {
    position: relative;
    text-decoration: none;
    color: var(--front-deep);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    padding-bottom: 0.35rem;
}

.front-nav-icon {
    margin-right: 0.5rem;
    font-size: 0.95rem;
}

[data-bs-theme='dark'] .front-nav-link {
    color: #e6eef5;
}

.front-nav-link:hover {
    color: var(--front-primary);
}

.front-nav-link.active,
.front-nav-list>li.active>.front-nav-link {
    color: var(--front-primary);
    font-weight: 600;
}

.front-nav-list>li.active>.front-nav-link::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 4px;
    height: 2px;
    border-radius: 999px;
    background: #1fa2a6;
}

.front-nav .dropdown-item.active {
    color: #1fa2a6;
    background: rgba(31, 162, 166, 0.12);
}

.front-nav .dropdown-menu {
    border: 0;
    border-radius: 10px;
    padding: 0.5rem;
    box-shadow: 0 16px 40px rgba(31, 42, 68, 0.15);
}

.front-nav .dropdown-menu.dropdown-mega {
    padding: 1rem 1.25rem;
    min-width: 520px;
}

.front-nav .dropdown-mega-wrap {
    list-style: none;
    margin: 0;
    padding: 0;
}

.front-nav .dropdown-mega-grid {
    display: grid;
    gap: 1rem 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.front-nav .dropdown-mega-col .dropdown-header {
    padding: 0;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--front-deep);
}

.front-nav .dropdown-mega-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.front-nav .dropdown-menu .dropdown {
    position: relative;
}

.front-nav .dropdown-menu .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
}

.front-nav .dropdown-menu .dropdown-toggle::after {
    margin-left: auto;
}

.front-nav .dropdown-item {
    border-radius: 10px;
    font-weight: 600;
}

.front-nav .dropdown-item:hover {
    background: rgba(31, 162, 166, 0.12);
    color: var(--front-primary);
}

[data-bs-theme='dark'] .front-nav .dropdown-menu {
    background: rgba(18, 26, 36, 0.98);
    color: #e6eef5;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

[data-bs-theme='dark'] .front-nav .dropdown-mega-col .dropdown-header {
    color: #e6eef5;
}

[data-bs-theme='dark'] .front-nav .dropdown-item {
    color: #e6eef5;
}

[data-bs-theme='dark'] .front-nav .dropdown-item:hover {
    background: rgba(31, 162, 166, 0.2);
    color: #a7f3d0;
}

@media (min-width: 992px) {
    .front-menu-toggle {
        display: none !important;
    }

    .front-nav .dropdown-menu .dropdown {
        position: relative;
    }

    .front-nav .dropdown-menu .dropdown::after {
        content: '';
        position: absolute;
        top: 0;
        right: -0.5rem;
        width: 0.75rem;
        height: 100%;
    }

    .front-nav .dropdown-menu .dropdown-menu {
        top: -0.25rem;
        left: 100%;
        margin-left: 0;
        transform: translateX(0.2rem);
    }

    .front-nav .dropdown-menu .dropdown:hover>.dropdown-menu {
        display: block;
    }

    .front-hero-grid--split {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    }
}

@media (max-width: 991.98px) {
    .front-nav .dropdown-menu.dropdown-mega {
        min-width: 100%;
    }

    .front-nav .dropdown-mega-grid {
        grid-template-columns: 1fr;
    }

    .front-nav .dropdown-menu .dropdown-menu .dropdown-item {
        padding-left: 2rem;
    }
}

.front-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(31, 162, 166, 0.2);
    background: #fff;
    color: var(--front-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

[data-bs-theme='dark'] .front-icon-btn {
    background: rgba(18, 26, 36, 0.9);
    border-color: rgba(148, 163, 184, 0.2);
    color: #a7f3d0;
}

.front-icon-btn:hover {
    background: var(--front-primary);
    color: #fff;
}

.front-icon-btn.dropdown-toggle::after {
    display: none;
}

.front-search-dropdown {
    min-width: 420px;
    border: 1px solid rgba(31, 162, 166, 0.16);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    background: #fff;
}

.front-search-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.front-search-head h6 {
    font-weight: 700;
    color: var(--front-deep);
}

.front-search-head small {
    color: var(--front-muted);
}

.front-search-kbd {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--front-muted);
    border: 1px solid rgba(31, 162, 166, 0.2);
    padding: 0.1rem 0.4rem;
    border-radius: 6px;
}

.front-search-form .input-group {
    border: 1px solid rgba(31, 162, 166, 0.2);
    border-radius: 999px;
    padding: 0.2rem;
    background: rgba(31, 162, 166, 0.05);
}

.front-search-form .input-group-text {
    border: 0;
    color: var(--front-primary);
}

.front-search-form .form-control {
    border: 0;
    background: transparent;
    min-width: 180px;
    font-weight: 600;
}

.front-search-form .form-control:focus {
    box-shadow: none;
}

.front-search-form .btn {
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-weight: 600;
}

.front-search-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.65rem;
    font-size: 0.8rem;
    color: var(--front-muted);
}

.front-search-footer a {
    text-decoration: none;
    font-weight: 600;
    color: var(--front-primary);
}

.front-search-footer a:hover {
    text-decoration: underline;
}

[data-bs-theme='dark'] .front-search-dropdown {
    background: rgba(18, 26, 36, 0.96);
    border-color: rgba(31, 162, 166, 0.3);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

[data-bs-theme='dark'] .front-search-head h6 {
    color: #e6eef5;
}

[data-bs-theme='dark'] .front-search-head small,
[data-bs-theme='dark'] .front-search-footer {
    color: #9fb1c7;
}

[data-bs-theme='dark'] .front-search-kbd {
    border-color: rgba(127, 227, 230, 0.3);
    color: #a7f3f3;
}

[data-bs-theme='dark'] .front-search-form .input-group {
    background: rgba(15, 23, 32, 0.8);
    border-color: rgba(31, 162, 166, 0.4);
}

[data-bs-theme='dark'] .front-search-form .input-group-text,
[data-bs-theme='dark'] .front-search-footer a {
    color: #7fe3e6;
}

@media (max-width: 576px) {
    .front-search-dropdown {
        min-width: 100%;
        width: calc(100vw - 1.5rem);
        left: 0.1rem !important;
        right: 0.75rem !important;
        top: calc(var(--front-header-height, 72px) + 0.35rem) !important;
        position: fixed !important;
        margin: 0 !important;
        transform: none !important;
        z-index: 1055;
        border-radius: 18px;
        padding: 1rem !important;
    }

    .front-search-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .front-search-kbd {
        display: none;
    }

    .front-search-form .input-group {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.65rem;
        padding: 0.8rem;
        border-radius: 18px;
        align-items: center;
    }

    .front-search-form .input-group-text {
        align-self: center;
        justify-self: center;
        padding: 0;
        font-size: 1.25rem;
        background: transparent;
    }

    .front-search-form .form-control {
        padding: 0.45rem 0.65rem;
        border-radius: 10px !important;
        background: rgba(255, 255, 255, 1);
        width: 100%;
        text-align: center;
    }

    .front-search-form .btn {
        width: 100%;
        padding: 0.55rem 1rem;
        border-radius: 999px !important;
        justify-self: center;
    }

    .front-search-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }
}

.front-hero {
    position: relative;
    padding: calc(var(--front-header-height, 72px) + 2.5rem) 0 3rem;
    background:
        radial-gradient(circle at top left, rgba(31, 162, 166, 0.16), transparent 58%),
        linear-gradient(135deg, #f4fbff 0%, #f8fbff 36%, #fff4db 72%, #edf9f5 100%);
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
    background-position: center top, center top;
    background-blend-mode: normal, multiply;
    isolation: isolate;
    overflow: hidden;
}

.front-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("../../img/idul-fitri.png");
    background-repeat: no-repeat;
    background-size: clamp(320px, 42vw, 520px) auto;
    background-position: right 20px top 70px;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.front-hero::after {
    content: '';
    position: absolute;
    right: -120px;
    top: -140px;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(244, 180, 26, 0.25), transparent 60%);
    opacity: 0.8;
    z-index: 0;
    pointer-events: none;
}

.front-hero-grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.front-hero-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(31, 162, 166, 0.12);
    color: var(--front-primary);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
}

.front-hero-title {
    font-family: var(--front-font-heading);
    font-size: clamp(2rem, 2.5vw, 3.1rem);
    color: var(--front-deep);
    line-height: 1.2;
    margin: 0.85rem 0 0.65rem;
}

.front-hero-lead {
    color: var(--front-muted);
    font-size: 1.05rem;
    max-width: 540px;
}

.front-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.front-hero-search {
    margin-top: 1.6rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 0.8rem;
    background: #fff;
    border-radius: 999px;
    border: 1px solid rgba(31, 162, 166, 0.2);
    box-shadow: 0 16px 35px rgba(31, 42, 68, 0.08);
}

.front-hero-search--action {
    gap: 0.85rem;
}

.front-hero-search--action input {
    padding-right: 0;
}

.front-hero-search-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: auto;
}

.front-hero-search-btn {
    border: none;
    background: var(--front-primary);
    color: #fff;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 10px 24px rgba(15, 41, 64, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.front-hero-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(15, 41, 64, 0.16);
}

.front-hero-search-reset {
    border: 1px solid rgba(31, 162, 166, 0.35);
    color: var(--front-primary);
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    background: rgba(31, 162, 166, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.front-hero-search-reset:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 41, 64, 0.1);
}

[data-bs-theme='dark'] .front-hero-search-reset {
    border-color: rgba(127, 227, 230, 0.35);
    color: #7fe3e6;
    background: rgba(127, 227, 230, 0.12);
}

.front-hero-search input {
    border: 0;
    outline: none;
    width: 100%;
    font-weight: 600;
    color: var(--front-deep);
    background: transparent;
}

.front-hero-search input::placeholder {
    color: rgba(98, 117, 143, 0.8);
}

.front-hero-search i {
    color: var(--front-primary);
}

[data-bs-theme='dark'] .front-hero {
    background:
        radial-gradient(circle at top left, rgba(31, 162, 166, 0.2), transparent 55%),
        linear-gradient(135deg, #0b1520 0%, #111c26 55%, #0f1d1a 100%);
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
    background-position: center top, center top;
    background-blend-mode: normal, multiply;
}

[data-bs-theme='dark'] .front-hero::before {
    opacity: 0.15;
    background-position: right 20px top 80px;
}

[data-bs-theme='dark'] .front-hero-kicker {
    background: rgba(31, 162, 166, 0.2);
    color: #a7f3f3;
}

[data-bs-theme='dark'] .front-hero-title {
    color: #e6eef5;
}

[data-bs-theme='dark'] .front-hero-lead {
    color: #9fb1c7;
}

[data-bs-theme='dark'] .front-hero-search {
    background: rgba(15, 23, 32, 0.9);
    border-color: rgba(31, 162, 166, 0.4);
}

[data-bs-theme='dark'] .front-hero-search input {
    color: #e6eef5;
}

[data-bs-theme='dark'] .front-hero-search input::placeholder {
    color: rgba(159, 177, 199, 0.8);
}

@media (max-width: 992px) {
    .front-hero::before {
        background-size: clamp(220px, 96vw, 440px) auto;
        background-position: right 20px top 150px;
        opacity: 0.1;
    }

    [data-bs-theme='dark'] .front-hero::before {
        background-size: clamp(220px, 96vw, 440px) auto;
        background-position: right 20px top 150px;
        opacity: 0.08;
    }
}

@media (max-width: 767.98px) {
    .front-hero::before {
        background-size: clamp(220px, 96vw, 420px) auto;
        background-position: right 20px top 150px;
        opacity: 0.1;
    }

    [data-bs-theme='dark'] .front-hero::before {
        background-size: clamp(220px, 96vw, 420px) auto;
        background-position: right 20px top 150px;
        opacity: 0.08;
    }

    .front-hero-search {
        flex-direction: column;
        align-items: stretch;
        border-radius: 20px;
        text-align: center;
    }

    .front-hero-search-actions {
        width: 100%;
        justify-content: space-between;
    }

    .front-hero-search-btn,
    .front-hero-search-reset {
        flex: 1;
        justify-content: center;
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-logo {
        width: 72px;
        max-width: 92px;
        /* max-height: 100px; */
    }
}

.front-footer {
    background: #f5fbff;
    color: #1f2a44;
    padding: 3rem 0 2rem;
}

[data-bs-theme='dark'] .front-footer {
    background: #0b1219;
    color: #e2e8f0;
}

.footer-brand {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.footer-logo {
    width: 100px;
    max-width: 110px;
    /* max-height: 100px; */
}

.footer-logo--dark {
    display: none;
}

[data-bs-theme='dark'] .footer-logo--light {
    display: none;
}

[data-bs-theme='dark'] .footer-logo--dark {
    display: inline-block;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.footer-list i {
    margin-right: 0.5rem;
    color: var(--front-secondary);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(31, 162, 166, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1f2a44;
    text-decoration: none;
}

[data-bs-theme='dark'] .footer-social-link {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}

.footer-note {
    color: rgba(98, 117, 143, 0.86);
    margin: 0;
}

.front-footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 1rem;
    color: rgb(51, 51, 51, 0.7);
}

[data-bs-theme='dark'] .front-footer-bottom {
    border-top-color: rgba(148, 163, 184, 0.2);
    color: rgba(226, 232, 240, 0.6);
}

@media (max-width: 992px) {
    .front-nav-list {
        gap: 1rem;
    }
}

@media (max-width: 991.98px) {
    .front-header-inner {
        position: relative;
        flex-direction: column;
        align-items: center;
        gap: 0.85rem;
    }

    .front-menu-toggle {
        display: inline-flex;
    }

    .front-header-actions {
        order: 2;
        width: 100%;
        justify-content: center;
        gap: 0.75rem;
    }

    .front-brand {
        order: 1;
        justify-content: center;
    }

    .front-nav {
        order: 3;
        width: 100%;
        position: relative;
    }

    .front-nav-panel {
        position: fixed;
        top: calc(var(--front-header-height, 72px) + 0.5rem);
        left: 1rem;
        right: 1rem;
        display: none;
        padding: 1rem 1.25rem;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
        backdrop-filter: blur(12px);
        z-index: 10;
        height: calc(100dvh - var(--front-header-height, 72px) - 2rem - env(safe-area-inset-bottom));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    }

    .front-nav-panel.is-open {
        display: block;
    }

    .front-nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        width: 100%;
    }

    .front-nav-list>li {
        width: 100%;
    }

    .front-nav-link {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0.5rem;
    }

    .front-nav-link.dropdown-toggle::after {
        margin-left: auto;
    }

    .front-nav .dropdown-menu {
        position: static !important;
        inset: auto !important;
        transform: none !important;
        float: none;
        width: 100%;
        margin-top: 0.35rem;
        box-shadow: none;
        display: none;
    }

    .front-nav .dropdown.is-open>.dropdown-menu {
        display: block;
    }

    .front-nav .dropdown-menu .dropdown-item {
        padding-left: 1.25rem;
    }

    .footer-brand {
        justify-content: center;
    }

    .front-footer .row>div {
        text-align: center;
    }

    .footer-list {
        justify-items: center;
    }

    .footer-social {
        justify-content: center;
    }

    [data-bs-theme='dark'] .front-nav-panel {
        background: rgba(15, 23, 32, 1);
        border: 1px solid rgba(148, 163, 184, 0.16);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    }
}

@media (max-width: 767px) {
    .front-hero-title {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .front-nav-panel {
        transition: none;
    }
}
