.hero {
    position: relative;
    min-height: 100vh;
    padding: 3.5rem 0 6.5rem;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at top,
            rgba(31, 162, 166, 0.2),
            transparent 55%),
        linear-gradient(180deg, #f5fdff 0%, #fff7e6 100%);
    overflow: hidden;
}

[data-bs-theme="dark"] .hero {
    background:
        radial-gradient(circle at top,
            rgba(31, 162, 166, 0.18),
            transparent 55%),
        linear-gradient(180deg, #0f1720 0%, #111c26 100%);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("/assets/frontend/img/front-pages/backgrounds/hero-bg.png");
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
    padding-top: 4.5rem;
}

.hero-top {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.hero-top-right {
    display: inline-flex;
    /* align-items: center; */
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.hero-logos {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-logo {
    height: 42px;
    object-fit: contain;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(31, 162, 166, 0.2);
    font-size: 0.8rem;
    color: var(--front-primary);
}

.hero-badge img {
    width: 18px;
    height: 18px;
}

.hero-social {
    padding: 0;
    border: none;
    background: transparent;
    gap: 0.6rem;
}

.hero-social a {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(31, 162, 166, 0.2);
    color: var(--front-primary);
    box-shadow: 0 10px 24px rgba(15, 41, 64, 0.08);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.hero-social a:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(31, 162, 166, 0.2);
    background: var(--front-primary);
    color: #fff;
}

[data-bs-theme="dark"] .hero-social a {
    background: rgba(15, 23, 32, 0.92);
    border-color: rgba(148, 163, 184, 0.2);
    /* box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45); */
    color: #a7f3f3;
}

.hero-theme-toggle {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(31, 162, 166, 0.2);
    color: var(--front-primary);
    box-shadow: 0 10px 24px rgba(15, 41, 64, 0.08);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.hero-theme-toggle i {
    font-size: 0.95rem;
}

.hero-theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(31, 162, 166, 0.2);
    background: var(--front-primary);
    color: #fff;
}

.hero-theme-toggle--light {
    display: none;
}

html[data-bs-theme='dark'] .hero-theme-toggle {
    background: rgba(15, 23, 32, 0.92);
    border-color: rgba(148, 163, 184, 0.2);
    color: #a7f3f3;
}

html[data-bs-theme='dark'] .hero-theme-toggle {
    display: none;
}

html[data-bs-theme='dark'] .hero-theme-toggle--light {
    display: inline-flex;
}

[data-bs-theme="dark"] .hero-social a:hover {
    background: var(--front-primary);
    color: #fff;
}

.hero-popup .modal-dialog {
    max-width: 980px;
    position: relative;
}

.hero-popup .modal-content {
    border: 0;
    border-radius: 10px;
    background: transparent;
    box-shadow: 0 24px 60px rgba(12, 47, 66, 0.18);
    position: relative;
}

.hero-popup .modal-body {
    padding: 0;
}

.hero-popup .carousel-inner {
    border-radius: 10px;
    overflow: hidden;
}

.hero-popup .carousel-item img,
.hero-popup .carousel-item iframe,
.hero-popup .carousel-item video {
    display: block;
    width: 100%;
    height: clamp(320px, 70vh, 560px);
}

.hero-popup .carousel-item img {
    object-fit: cover;
}

.hero-popup .carousel-item iframe {
    border: 0;
}

.hero-popup .carousel-control-prev,
.hero-popup .carousel-control-next {
    display: none;
}

body.hero-popup-open .modal-backdrop.show {
    background: rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(10px) saturate(160%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    opacity: 1;
}

body.hero-popup-open .modal-backdrop.show::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top,
            rgba(255, 255, 255, 0.35),
            transparent 55%),
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.22),
            rgba(255, 255, 255, 0.08));
}

[data-bs-theme="dark"] body.hero-popup-open .modal-backdrop.show {
    background: rgba(8, 12, 18, 0.68);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
}

[data-bs-theme="dark"] body.hero-popup-open .modal-backdrop.show::before {
    background:
        radial-gradient(circle at top, rgba(15, 23, 32, 0.45), transparent 55%),
        linear-gradient(180deg, rgba(10, 16, 24, 0.6), rgba(10, 16, 24, 0.2));
}

.hero-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 35px;
    height: 35px;
    border-radius: 8px;
    border: 1px solid rgba(31, 162, 166, 0.2);
    background: rgba(255, 255, 255, 0.98);
    color: var(--front-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(15, 41, 64, 0.18);
    z-index: 3;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.hero-popup-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(31, 162, 166, 0.2);
    background: var(--front-primary);
    color: #fff;
}

.hero-center {
    display: grid;
    grid-template-rows: minmax(250px, 1fr) auto;
    justify-items: center;
    align-items: center;
    row-gap: 1.25rem;
    min-height: 520px;
    width: 100%;
    animation: fadeUp 0.8s ease both;
}

.hero-logo-main {
    width: min(72vw, 520px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 35px rgba(26, 84, 94, 0.18));
}

.hero-mark span {
    font-family: var(--front-font-heading);
    font-size: clamp(3.5rem, 10vw, 7.5rem);
    font-weight: 700;
    background: linear-gradient(120deg, #1fa2a6, #48c0d0, #f4b41a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-title {
    font-family: var(--front-font-heading);
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 700;
    margin: 0;
}

.hero-tagline {
    max-width: 580px;
    color: var(--front-muted);
    font-size: 1rem;
    margin: 0;
}

[data-bs-theme="dark"] .hero-tagline {
    color: rgba(226, 232, 240, 0.7);
}

.hero-search {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 18px 35px rgba(31, 42, 68, 0.12);
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}

[data-bs-theme="dark"] .hero-search {
    background: rgba(18, 26, 36, 0.95);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
}

.hero-search input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 0.95rem;
    background: transparent;
}

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

.hero-search-btn {
    border: none;
    background: var(--front-primary);
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.hero-search-btn:hover {
    transform: translateY(-1px);
}

.hero-weather-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 0;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(31, 162, 166, 0.2);
    color: var(--front-primary);
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 10px 24px rgba(15, 41, 64, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
}

.hero-weather-chip i {
    font-size: 0.9rem;
}

.hero-weather-chip-temp {
    color: var(--front-deep);
}

.hero-weather-chip:hover {
    transform: translateY(-1px);
}

.hero-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.18);
    animation:
        livePulse 1.8s infinite,
        liveBlink 1.2s infinite;
}

.hero-live-text {
    letter-spacing: 0.06em;
    font-size: 0.7rem;
}

.hero-live-title {
    font-weight: 600;
    color: var(--front-deep);
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

[data-bs-theme="dark"] .hero-live-dot {
    box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.2);
}

.weather-popover {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.85rem;
}

.weather-popover-title {
    font-weight: 700;
    color: var(--front-deep);
}

.weather-popover-row {
    color: var(--front-muted);
}

.weather-popover-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.7rem;
    font-size: 0.8rem;
    color: var(--front-muted);
}

[data-bs-theme="dark"] .hero-weather-chip {
    background: rgba(15, 23, 32, 0.92);
    border-color: rgba(148, 163, 184, 0.2);
    /* box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45); */
    color: #a7f3f3;
}

[data-bs-theme="dark"] .hero-weather-chip-temp,
[data-bs-theme="dark"] .weather-popover-title {
    color: #e6eef5;
}

[data-bs-theme="dark"] .weather-popover-row,
[data-bs-theme="dark"] .weather-popover-meta {
    color: #9fb1c7;
}

.floating-menu {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.52);
    box-shadow: var(--front-shadow);
    backdrop-filter: blur(2px);
    transition: all 0.4s ease;
}

.floating-menu-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    z-index: 1055;
    transition: opacity 0.25s ease;
}

.floating-menu-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.floating-menu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(10px) saturate(160%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
}

[data-bs-theme="dark"] .floating-menu-overlay {
    background: rgba(8, 12, 18, 0.6);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
}

.floating-menu-panel {
    position: relative;
    z-index: 1;
    width: min(92vw, 780px);
    padding: 2.5rem 2.25rem 2.25rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 28px 60px rgba(12, 47, 66, 0.2);
    max-height: calc(100vh - 140px);
    overflow: hidden;
    transform: translateY(18px) scale(0.96);
    opacity: 0;
    transform-origin: center bottom;
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.floating-menu-modal.is-open .floating-menu-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.floating-menu-title {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--front-ink);
}

.floating-menu-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(31, 162, 166, 0.2);
    background: rgba(255, 255, 255, 0.9);
    color: var(--front-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(15, 41, 64, 0.12);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.floating-menu-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(31, 162, 166, 0.2);
    background: var(--front-primary);
    color: #fff;
}

.floating-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 1rem 1.5rem;
    max-height: calc(100vh - 260px);
    overflow-y: auto;
    padding-right: 0.35rem;
}

.floating-menu-grid .menu-item {
    width: 100%;
    text-align: center;
}

.floating-menu-grid .menu-label {
    text-align: center;
    width: 100%;
    line-height: 1.25;
}

body.floating-menu-open {
    overflow: hidden;
}

[data-bs-theme="dark"] .floating-menu {
    background: rgba(18, 26, 36, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

[data-bs-theme="dark"] .floating-menu-panel {
    background: rgba(14, 21, 30, 0.96);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
}

[data-bs-theme="dark"] .floating-menu-title {
    color: #f8fafc;
}

[data-bs-theme="dark"] .floating-menu-close {
    background: rgba(15, 23, 32, 0.9);
    border-color: rgba(148, 163, 184, 0.2);
    color: #f8fafc;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
}

.menu-item {
    width: 86px;
    text-decoration: none;
    color: var(--front-deep);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
}

[data-bs-theme="dark"] .menu-item {
    color: #e2e8f0;
}

.menu-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(31, 162, 166, 0.15);
    box-shadow: 0 12px 20px rgba(31, 42, 68, 0.16);
    margin-inline-end: 0.1rem;
}

[data-bs-theme="dark"] .menu-icon {
    /* background: rgba(15, 23, 32, 0.1);
    border-color: rgba(148, 163, 184, 0.2); */
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.4);
}

.menu-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-scroll {
    margin-top: 1rem;
    background: transparent;
    border: none;
    color: var(--front-light);
    font-size: 1.5rem;
    animation: bounce 1.8s infinite;
}

.has-scrolled .floating-menu {
    position: static;
    bottom: auto;
    left: auto;
    transform: none;
    z-index: auto;
    padding: 0.75rem 1.25rem;
    gap: 1rem;
    box-shadow: var(--front-shadow);

    /* position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    padding: 0.6rem 1rem;
    gap: 0.85rem;
    box-shadow: 0 20px 40px rgba(31, 42, 68, 0.18); */
}

.has-scrolled .menu-item {
    width: 86px;
    font-size: 0.85rem;
}

.has-scrolled .menu-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
}

.section {
    padding: 1rem 0;
}

[data-bs-theme="dark"] .section-title {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .section-eyebrow {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .section-link {
    color: #a7f3d0;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--front-primary);
}

.section-title {
    font-family: var(--front-font-heading);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-top: 0.5rem;
}

.section-link {
    color: var(--front-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.section-hero-slider {
    padding-top: 1.5rem;
}

.hero-slider {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(15, 41, 64, 0.16);
    background: rgba(255, 255, 255, 0.9);
}

.hero-slider .swiper {
    width: 100%;
}

.hero-slider .swiper-slide {
    width: 100%;
}

.hero-slider img {
    width: 100%;
    height: clamp(220px, 40vw, 420px);
    object-fit: cover;
    display: block;
}

.hero-slider .swiper-pagination-bullet {
    background: rgba(15, 41, 64, 0.25);
    opacity: 1;
}

.hero-slider .swiper-pagination-bullet-active {
    background: var(--front-primary);
}

[data-bs-theme="dark"] .hero-slider {
    background: rgba(18, 26, 36, 0.94);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);
}

.section-informasi-alam {
    padding-top: 1.5rem;
}

.nature-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(160px, 1fr));
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(31, 162, 166, 0.16);
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0.94),
            rgba(31, 162, 166, 0.08),
            rgba(120, 140, 255, 0.08));
    box-shadow: 0 18px 36px rgba(15, 41, 64, 0.12);
    backdrop-filter: blur(16px);
}

.nature-panel-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.nature-panel-item--center {
    align-items: center;
    text-align: center;
}

.nature-panel-location {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.nature-thumb {
    width: 84px;
    height: 84px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(31, 162, 166, 0.2);
    box-shadow: 0 12px 24px rgba(31, 42, 68, 0.14);
    flex-shrink: 0;
}

.nature-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nature-date {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--front-muted);
}

.nature-place {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--front-ink);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.nature-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--front-muted);
}

.nature-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--front-ink);
}

.nature-value span {
    font-size: 1rem;
    font-weight: 600;
    margin-left: 0.2rem;
    color: var(--front-muted);
}

.nature-sub {
    font-size: 0.85rem;
    color: var(--front-muted);
}

.nature-weather {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.nature-weather-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 162, 166, 0.16);
    color: var(--front-primary);
    font-size: 1.4rem;
}

.nature-weather-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
}

.nature-weather-text strong {
    font-size: 1.05rem;
    color: var(--front-ink);
}

[data-bs-theme="dark"] .nature-panel {
    background: linear-gradient(120deg,
            rgba(15, 23, 32, 0.96),
            rgba(31, 162, 166, 0.14),
            rgba(44, 82, 130, 0.18));
    border-color: rgba(31, 162, 166, 0.2);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}

[data-bs-theme="dark"] .nature-date,
[data-bs-theme="dark"] .nature-label,
[data-bs-theme="dark"] .nature-sub {
    color: rgba(226, 232, 240, 0.7);
}

[data-bs-theme="dark"] .nature-place,
[data-bs-theme="dark"] .nature-value,
[data-bs-theme="dark"] .nature-weather-text strong {
    color: #f8fafc;
}

[data-bs-theme="dark"] .nature-weather-icon {
    background: rgba(31, 162, 166, 0.25);
    color: #a7f3d0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.news-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-body {
    padding: 1.25rem;
}

.news-meta {
    display: inline-flex;
    font-size: 0.75rem;
    color: var(--front-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.section-gallery {
    background: #f7fafc;
}

[data-bs-theme="dark"] .section-gallery {
    background: #101821;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-item {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 26px rgba(31, 42, 68, 0.1);
}

[data-bs-theme="dark"] .gallery-item {
    background: rgba(18, 26, 36, 0.92);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
}

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

.gallery-item--large {
    grid-column: span 2;
    grid-row: span 2;
}

.section-highlight {
    background: linear-gradient(135deg,
            rgba(31, 162, 166, 0.08),
            rgba(244, 180, 26, 0.08));
}

[data-bs-theme="dark"] .section-highlight {
    background: linear-gradient(135deg,
            rgba(31, 162, 166, 0.16),
            rgba(244, 180, 26, 0.1));
}

.highlight-card {
    background: var(--front-card);
    border-radius: 28px;
    padding: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    align-items: center;
    box-shadow: var(--front-shadow);
}

[data-bs-theme="dark"] .highlight-card {
    background: rgba(18, 26, 36, 0.92);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.highlight-text {
    color: var(--front-muted);
}

[data-bs-theme="dark"] .highlight-text {
    color: rgba(226, 232, 240, 0.7);
}

.highlight-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.highlight-tags span {
    padding: 0.4rem 0.9rem;
    background: rgba(31, 162, 166, 0.12);
    color: var(--front-primary);
    border-radius: 999px;
    font-size: 0.85rem;
}

[data-bs-theme="dark"] .highlight-tags span {
    background: rgba(31, 162, 166, 0.2);
    color: #a7f3d0;
}

.highlight-visual img {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    display: block;
}

@keyframes bounce {

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

    50% {
        transform: translateY(6px);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes livePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.18);
    }

    50% {
        transform: scale(1.15);
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.08);
    }
}

@keyframes liveBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }
}

@media (max-width: 992px) {
    .hero-inner {
        padding-top: 9.5rem;
    }

    .hero-center {
        grid-template-rows: minmax(200px, 1fr) auto;
        min-height: 460px;
    }

    .hero-top {
        flex-direction: column;
    }

    .hero-logos {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-top-right {
        justify-content: center;
    }

    .floating-menu {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.6rem;
        width: min(100%, 520px);
        border-radius: 26px;
        padding: 0.8rem;
    }

    .menu-item {
        width: auto;
        font-size: 0.78rem;
    }

    .menu-label {
        font-size: 0.72rem;
    }

    .menu-icon {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .nature-panel {
        grid-template-columns: 1fr 1fr;
    }

    .nature-panel-location {
        grid-column: span 2;
    }

    .nature-panel-item--center {
        align-items: flex-start;
        text-align: left;
    }

    .nature-weather-text {
        align-items: flex-start;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item--large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 5rem;
    }

    .hero-inner {
        padding-top: 10.5rem;
    }

    .hero-center {
        grid-template-rows: minmax(190px, 1fr) auto;
        min-height: 420px;
    }

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

    .hero-search-btn {
        width: 100%;
    }

    .floating-menu {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        width: min(100%, 520px);
    }

    .has-scrolled .floating-menu {
        width: calc(100% - 2rem);
        bottom: 1rem;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-center {
        grid-template-rows: minmax(170px, 1fr) auto;
        min-height: 380px;
    }

    .hero-inner {
        padding-top: 11.5rem;
    }

    .nature-panel {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .nature-panel-location {
        flex-direction: column;
        align-items: flex-start;
    }

    .nature-value {
        font-size: 1.75rem;
    }

    .menu-item {
        width: auto;
        font-size: 0.7rem;
    }

    .menu-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .menu-label {
        font-size: 0.68rem;
    }
}

/* Berita show home slider */
.berita-home-slider {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    min-height: 320px;
    height: 600px;
    position: relative;
}

.berita-home-slider .swiper-wrapper {
    align-items: stretch;
    height: 600px;
}

.berita-home-slider .swiper-slide {
    height: 100%;
    display: flex;
}

.berita-home-slide {
    display: block;
    position: relative;
    height: 100%;
    min-height: 320px;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    border-radius: 10px;
    flex: 1;
}

.berita-home-slide-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.berita-home-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.berita-home-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.7) 100%);
    z-index: 1;
}

.berita-home-slide-content {
    position: absolute;
    inset: auto 0 0 0;
    padding: 2rem;
    z-index: 2;
    color: #fff;
}

.berita-home-slide-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0.5rem 0 0;
    writing-mode: horizontal-tb;
    white-space: normal;
    color: #fff;
}

.berita-home-slide-date {
    font-size: 0.85rem;
    opacity: 0.85;
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
}

.berita-home-slider .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
}

.berita-home-slider .swiper-pagination-bullet-active {
    background: #1fa2a6;
}

@media (max-width: 768px) {
    .berita-home-slide {
        min-height: 240px;
    }

    .berita-home-slide-content {
        padding: 1.5rem;
    }

    .berita-home-slide-content h3 {
        font-size: 1.1rem;
    }

    .berita-home-slider {
        height: 320px;
    }
}

/* Berita terbaru slider */
.berita-terbaru-slider {
    width: 100%;
    overflow: hidden;
}

.swiper {
    background: transparent !important;
    box-shadow: 0 0 0 rgba(15, 41, 64, 0.0) !important;
}

.berita-terbaru-slider .swiper-slide {
    height: 340px;
    display: flex;
}

.berita-terbaru-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.berita-terbaru-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.berita-terbaru-media {
    display: block;
    position: relative;
    height: 170px;
    overflow: hidden;
}

.berita-terbaru-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.berita-terbaru-body {
    padding: 1.1rem 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.berita-terbaru-date {
    font-size: 0.85rem;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.berita-terbaru-body h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.45;
}

.berita-terbaru-body h3 a {
    color: #1f2937;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.berita-terbaru-body h3 a:hover {
    color: #1fa2a6;
}

.berita-terbaru-slider .swiper-pagination-bullet {
    background: rgba(31, 162, 166, 0.3);
    opacity: 1;
}

.berita-terbaru-slider .swiper-pagination-bullet-active {
    background: #1fa2a6;
}

[data-bs-theme="dark"] .berita-terbaru-card {
    background: #17212d;
    border: 1px solid rgba(115, 115, 115, 0.1);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

[data-bs-theme="dark"] .berita-terbaru-date {
    color: rgba(255, 255, 255, 0.6);
}

[data-bs-theme="dark"] .berita-terbaru-body h3 a {
    color: #f3f4f6;
}

.berita-terbaru-slider .swiper-wrapper {
    align-items: stretch;
    padding-bottom: 2.2rem;
}

/* Weblink slider */
.weblink-slider {
    width: 100%;
    overflow: hidden;
    padding-bottom: 35px;
}

.weblink-slider .swiper-slide {
    height: auto;
    border-radius: 8px;
}

.weblink-card {
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.weblink-card--fixed {
    min-height: 140px;
}

.weblink-card--fixed .card-body {
    padding: 1rem 1.25rem;
    gap: 1rem;
}

.weblink-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.weblink-logo-wrap {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    overflow: hidden;
}

.weblink-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.weblink-title {
    line-height: 1.4;
    font-size: 1rem;
    color: #000;
}

[data-bs-theme="dark"] .weblink-title {
    color: #fff;
}

@media (max-width: 576px) {
    .weblink-logo-wrap {
        width: 56px;
        height: 56px;
    }
}
