/* ==========================================================================
   PT NAGA RAYA TEKNIK - CORPORATE HOME THEME (BUKAKA STYLE)
   ========================================================================== */

:root {
    --corp-primary: #014ca0;
    --corp-primary-dark: #003370;
    --corp-primary-navy: #002552;
    --corp-secondary: #0284c7;
    --corp-accent: #ffb703;
    --corp-accent-light: #fb8500;
    --corp-sidebar-bg: #ffffff;
    --corp-sidebar-text: #475569;
    --corp-sidebar-hover: #f1f5f9;
    --corp-sidebar-active: #014ca0;
    --corp-sidebar-border: #e2e8f0;
    --corp-footer-bg: #003875;
    --corp-text-dark: #0f172a;
    --corp-text-muted: #64748b;
    --corp-font-main: 'Rubik', 'Segoe UI', -apple-system, sans-serif;
    --corp-font-heading: 'Montserrat', 'Rubik', sans-serif;
    --corp-sidebar-width: 250px;
    --corp-footer-height: 52px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    font-family: var(--corp-font-main);
    background-color: #f8fafc;
    color: var(--corp-text-dark, #0f172a);
    overflow: hidden !important;
}

/* ==========================================================================
   GLOBAL TYPOGRAPHY STANDARD (MONTSERRAT FOR HEADINGS, RUBIK FOR BODY/TEXT)
   ========================================================================== */
h1, h2, h3, h4, h5, h6,
.corp-font-heading {
    font-family: var(--corp-font-heading, 'Montserrat', sans-serif);
    color: var(--corp-text-dark, #0f172a);
}

p, dd, dt, li, td, th, label, small, blockquote,
.corp-font-main {
    font-family: var(--corp-font-main, 'Rubik', sans-serif);
}

input, button, select, textarea {
    font-family: var(--corp-font-main, 'Rubik', sans-serif);
}

body:has(.corp-main--home) {
    background-color: #0b132b;
}

.corp-main--home {
    background-color: #0b132b;
}

/* ==========================================================================
   WRAPPER & GRID LAYOUT
   ========================================================================== */
.corp-wrapper {
    display: flex;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    position: relative;
    overflow: hidden;
    background-color: #f8fafc;
}

/* ==========================================================================
   SIDEBAR (LEFT COLUMN)
   ========================================================================== */
.corp-sidebar {
    width: var(--corp-sidebar-width);
    height: 100%;
    max-height: 100vh;
    max-height: 100dvh;
    background: var(--corp-sidebar-bg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
    z-index: 100;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Logo Area */
.corp-sidebar-logo {
    padding: 24px 20px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--corp-sidebar-border);
    background: #ffffff;
    flex-shrink: 0;
}

.corp-sidebar-logo a {
    display: block;
    text-decoration: none;
    text-align: center;
}

.corp-sidebar-logo img {
    max-height: 48px;
    max-width: 190px;
    width: auto;
    object-fit: contain;
}

.corp-logo-badge {
    font-size: 14px;
    font-weight: 900;
    color: var(--corp-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 6px;
    display: block;
    font-family: 'Montserrat', sans-serif;
}

/* Navigation List */
.corp-nav-wrapper {
    flex: 1 1 0%;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    direction: rtl;
    /* scrollbar pindah ke kiri */
}

.corp-nav-wrapper>ul {
    direction: ltr;
    /* konten tetap kiri ke kanan */
}

/* Scrollbar tipis di kiri */
.corp-nav-wrapper::-webkit-scrollbar {
    width: 3px;
}

.corp-nav-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.corp-nav-wrapper::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}

.corp-nav-wrapper::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.corp-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.corp-nav-item {
    border-bottom: 1px solid #f0f0f0;
}

.corp-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    color: #888888;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s ease, background 0.2s ease;
    position: relative;
}

.corp-nav-link span {
    letter-spacing: 0.2px;
}

.corp-nav-link .corp-nav-icon {
    font-size: 22px;
    color: #c0c0c0;
    transition: color 0.2s ease;
    flex-shrink: 0;
    margin-left: -8px;
}

.corp-nav-link:hover {
    background-color: #fafafa;
    color: #555555;
}

.corp-nav-link:hover .corp-nav-icon {
    color: #999999;
}

.corp-nav-item.active .corp-nav-link {
    color: var(--corp-primary);
    background-color: #f5f9ff;
    font-weight: 600;
}

.corp-nav-item.active .corp-nav-link .corp-nav-icon {
    color: var(--corp-primary);
}

/* Dropdown / Submenu — accordion ke bawah di dalam sidebar */
.corp-nav-dropdown {
    position: relative;
}

/* Parent link — chevron rotate saat open */
.corp-nav-parent {
    cursor: pointer;
}

/* Parent aktif saat open atau halaman aktif */
.corp-nav-dropdown.open>a.corp-nav-parent,
.corp-nav-dropdown.active>a.corp-nav-parent {
    color: var(--corp-primary);
    background-color: #f5f9ff;
    font-weight: 600;
}

.corp-nav-dropdown.open>a.corp-nav-parent .corp-nav-icon,
.corp-nav-dropdown.active>a.corp-nav-parent .corp-nav-icon {
    color: var(--corp-primary);
}

/* Submenu list — slide ke bawah dengan max-height transition */
.corp-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #ffffff;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
    border-top: 1px solid #e8edf5;
}

.corp-nav-dropdown.open .corp-submenu {
    max-height: 400px;
}

/* Submenu items */
.corp-submenu li {
    border-bottom: 1px solid #eff2f7;
}

.corp-submenu li:last-child {
    border-bottom: none;
}

.corp-submenu-link {
    display: block;
    padding: 13px 24px;
    font-size: 13px;
    font-weight: 400;
    color: #94a3b8;
    text-decoration: none;
    letter-spacing: 0.1px;
    transition: background 0.15s ease, color 0.15s ease;
}

.corp-submenu-link:hover {
    background: #f8fafc;
    color: #475569;
}

.corp-submenu li.active .corp-submenu-link {
    color: var(--corp-primary);
    font-weight: 600;
    background: #f0f7ff;
}

/* Sidebar Bottom: Social Icons Bar */
.corp-sidebar-social {
    background: var(--corp-footer-bg);
    height: var(--corp-footer-height);
    min-height: var(--corp-footer-height);
    max-height: var(--corp-footer-height);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    box-sizing: border-box;
}

.corp-social-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.25s ease;
}

.corp-social-btn:hover {
    background: #ffffff;
    color: var(--corp-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.corp-social-btn--wa {
    background: #25d366;
    width: 32px;
    height: 32px;
}

.corp-social-btn--wa:hover {
    background: #20ba59;
    color: #ffffff;
}

/* ==========================================================================
   MAIN CONTENT STAGE (SLIDER & OVERLAYS)
   ========================================================================== */
.corp-main {
    flex-grow: 1;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Halaman yang kontennya bisa discroll (about, services, dll.) */
.corp-main.corp-main--scrollable {
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: 100vh !important;
    max-height: 100vh !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    background-color: #f8fafc !important;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f8fafc;
}

.corp-main.corp-main--scrollable>.corp-mobile-bar {
    flex: 0 0 56px !important;
    height: 56px !important;
}

.corp-main.corp-main--scrollable .corp-footer-bar {
    position: relative !important;
    width: 100% !important;
    margin-top: auto !important;
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
    clear: both !important;
    border-bottom: none !important;
    outline: none !important;
    box-shadow: 0 10px 0 0 var(--corp-footer-bg, #003875) !important;
    z-index: 1 !important;
}

/* Thin modern scrollbar (6px) matching page background */
.corp-main.corp-main--scrollable::-webkit-scrollbar {
    width: 6px !important;
    height: 6px !important;
}

.corp-main.corp-main--scrollable::-webkit-scrollbar-track {
    background: #f8fafc !important;
}

.corp-main.corp-main--scrollable::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 4px !important;
}

.corp-main.corp-main--scrollable::-webkit-scrollbar-thumb:hover {
    background: #94a3b8 !important;
}

/* Top tools (search + lang) — sembunyikan di mobile karena pindah ke navbar */
@media (max-width: 991.98px) {
    .corp-top-tools {
        display: none !important;
    }
}

/* Mobile Header (Hidden on Desktop) */
.corp-mobile-bar {
    display: none;
    height: 60px;
    background: #ffffff;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 95;
}

.corp-mobile-bar img {
    height: 36px;
    max-width: 140px;
}

.corp-mobile-toggle {
    background: none;
    border: none;
    font-size: 22px;
    color: var(--corp-primary);
    cursor: pointer;
    padding: 6px 10px;
}

/* Tools kanan mobile bar: search + lang toggle */
.corp-mobile-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Search trigger di mobile — ukuran lebih kecil */
.corp-mobile-tools .corp-search-trigger {
    width: 34px;
    height: 34px;
    font-size: 14px;
    box-shadow: none;
    border-radius: 4px;
}

/* Lang toggle di mobile — compact */
.corp-mobile-tools .corp-lang-toggle {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.corp-mobile-tools .corp-lang-btn {
    padding: 3px 8px;
    font-size: 10px;
}

/* Slider Canvas */
.corp-slider-container {
    flex-grow: 1;
    position: relative;
    width: 100%;
    height: calc(100vh - var(--corp-footer-height));
    overflow: hidden;
}

/* Background Slide Items */
.corp-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 6s ease-out;
    transform: scale(1.05);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
}

.corp-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.corp-slide[data-index="0"] {
    background-image: url('../img/carousel-1.jpg');
}

.corp-slide[data-index="1"] {
    background-image: url('../img/feature-1.jpg');
}

.corp-slide[data-index="2"] {
    background-image: url('../img/about.png');
}

.corp-slide[data-index="3"] {
    background-image: url('../img/feature.jpg');
}

/* Overlay gradient on slides */
.corp-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(0, 20, 50, 0.72) 0%,
            rgba(0, 40, 90, 0.45) 45%,
            rgba(0, 25, 60, 0.70) 100%);
    z-index: 3;
}

/* Subtle Vignette */
.corp-slider-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 40%, rgba(0, 15, 40, 0.6) 100%);
    pointer-events: none;
    z-index: 4;
}

/* ==========================================================================
   TOP BAR TOOLS (SEARCH & LANGUAGE)
   ========================================================================== */
.corp-top-tools {
    position: absolute;
    top: 24px;
    right: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 20;
}

.corp-search-trigger {
    width: 40px;
    height: 40px;
    background: var(--corp-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.corp-search-trigger:hover {
    background: #0284c7;
    transform: translateY(-2px);
}

.corp-lang-toggle {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.corp-lang-btn {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    color: #475569;
    letter-spacing: 0.8px;
    transition: all 0.2s ease;
}

.corp-lang-btn.active {
    background: var(--corp-primary);
    color: #ffffff;
}

.corp-lang-btn:not(.active):hover {
    background: #f1f5f9;
    color: var(--corp-primary);
}

/* Search Dropdown Modal */
.corp-search-box {
    position: absolute;
    top: 75px;
    right: 28px;
    width: 320px;
    background: rgba(0, 25, 60, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 12px 14px;
    display: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    z-index: 25;
}

.corp-search-box.open {
    display: block;
    animation: fadeIn 0.25s ease;
}

.corp-search-box input {
    width: 100%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    color: #ffffff;
    padding: 8px 12px;
    font-size: 13px;
    outline: none;
}

.corp-search-box input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.corp-search-box button,
#corpSearchSubmit {
    background: var(--corp-primary, #014ca0);
    color: #ffffff;
    border: none;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.corp-search-box button:hover,
#corpSearchSubmit:hover {
    background: #0266cc;
}

/* ==========================================================================
   HEADLINE OVERLAY (TOP-LEFT)
   ========================================================================== */
.corp-headline-box {
    position: absolute;
    top: 40px;
    left: 45px;
    max-width: 600px;
    z-index: 10;
    pointer-events: none;
}

.corp-headline-text {
    font-family: var(--corp-font-heading);
    font-size: 38px;
    line-height: 1.25;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.5px;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.corp-headline-text span {
    color: #38bdf8;
}

.corp-subheadline {
    margin-top: 10px;
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.3px;
}

/* ==========================================================================
   ANGULAR / HEXAGON FEATURE BADGE (RIGHT SIDE)
   ========================================================================== */
.corp-hero-card-wrapper {
    position: absolute;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    width: 340px;
    z-index: 15;
}

.corp-hexagon-badge {
    position: relative;
    background: rgba(1, 60, 140, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    padding: 44px 32px 40px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.22);
    /* Chamfered polygonal shape matching reference */
    clip-path: polygon(22% 0%, 78% 0%,
            100% 12%, 100% 88%,
            78% 100%, 22% 100%,
            0% 88%, 0% 12%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.corp-hexagon-badge::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    clip-path: polygon(22% 0%, 78% 0%,
            100% 12%, 100% 88%,
            78% 100%, 22% 100%,
            0% 88%, 0% 12%);
    pointer-events: none;
}

.corp-badge-icon {
    font-size: 42px;
    color: #ffffff;
    margin-bottom: 16px;
    display: inline-block;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.corp-badge-title {
    font-family: var(--corp-font-heading);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.corp-badge-divider {
    width: 44px;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    margin: 12px auto 16px;
    border-radius: 2px;
}

.corp-badge-desc {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    font-style: italic;
    margin-bottom: 24px;
    min-height: 58px;
}

.corp-badge-btn {
    display: inline-block;
    padding: 9px 24px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    border: 1.5px solid #ffffff;
    border-radius: 3px;
    letter-spacing: 0.6px;
    transition: all 0.25s ease;
    background: transparent;
}

.corp-badge-btn:hover {
    background: #ffffff;
    color: var(--corp-primary);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

/* ==========================================================================
   BOTTOM-LEFT FLOATING NEWS / EVENT CARDS
   ========================================================================== */
.corp-floating-cards {
    position: absolute;
    bottom: 50px;
    left: 45px;
    display: flex;
    gap: 16px;
    z-index: 15;
    max-width: calc(100% - 450px);
}

.corp-card-widget {
    background: rgba(0, 40, 90, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 12px 14px;
    width: 270px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10);
}

.corp-widget-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.corp-widget-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #38bdf8;
}

.corp-widget-all {
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.corp-widget-all:hover {
    opacity: 1;
    color: var(--corp-accent);
}

.corp-widget-body {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.corp-widget-thumb {
    width: 64px;
    height: 56px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.corp-widget-info {
    flex-grow: 1;
    overflow: hidden;
}

.corp-widget-date {
    font-size: 10px;
    color: #93c5fd;
    margin-bottom: 2px;
}

.corp-widget-title {
    font-size: 11.5px;
    line-height: 1.35;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.corp-widget-link {
    font-size: 10.5px;
    font-weight: 600;
    color: #38bdf8;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: color 0.2s;
}

.corp-widget-link:hover {
    color: var(--corp-accent);
}

/* ==========================================================================
   SLIDER PAGINATION DOTS (BOTTOM-CENTER)
   ========================================================================== */
.corp-slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 18;
}

.corp-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.corp-dot:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: scale(1.2);
}

.corp-dot.active {
    width: 11px;
    height: 11px;
    background: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
    border-color: #ffffff;
}

/* ==========================================================================
   BOTTOM FOOTER BAR
   ========================================================================== */
.corp-footer-bar {
    height: var(--corp-footer-height);
    background: var(--corp-footer-bg);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none !important;
    outline: none !important;
    margin-bottom: 0 !important;
    box-shadow: 0 10px 0 0 var(--corp-footer-bg, #003875) !important;
    z-index: 15;
    flex-shrink: 0;
}

.corp-footer-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.corp-footer-link {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.corp-footer-link:hover {
    color: #38bdf8;
}

.corp-footer-copyright {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    text-align: right;
    line-height: 1.3;
}

.corp-footer-copyright strong {
    color: #ffffff;
    font-weight: 600;
}

.corp-footer-sub {
    opacity: 0.7;
    font-size: 10px;
    display: inline-block;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1200px) {
    .corp-headline-text {
        font-size: 30px;
    }

    .corp-hero-card-wrapper {
        width: 300px;
        right: 25px;
    }

    .corp-hexagon-badge {
        padding: 34px 22px 30px;
    }

    .corp-floating-cards {
        max-width: 500px;
        left: 25px;
        bottom: 45px;
    }

    .corp-card-widget {
        width: 230px;
    }
}

@media (max-width: 991.98px) {
    .corp-wrapper {
        flex-direction: column;
        height: 100dvh;
        max-height: 100dvh;
        overflow: hidden;
        background-color: #f8fafc;
    }

    /* Off-canvas sidebar */
    .corp-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 280px;
        height: 100dvh;
        max-height: 100dvh;
        transform: translateX(-100%);
        z-index: 1000;
        overflow: hidden;
        transition: transform 0.3s ease-in-out;
    }

    .corp-sidebar.active {
        transform: translateX(0);
    }

    .corp-sidebar-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(4px);
        z-index: 999;
    }

    .corp-sidebar-backdrop.active {
        display: block;
    }

    /* Mobile bar — fixed height & sticky */
    .corp-mobile-bar {
        display: flex;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        height: 56px !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 100 !important;
        background: #ffffff !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
    }

    /* Main mengisi sisa layar */
    .corp-main {
        flex: 1;
        min-height: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    /* Slider mengisi semua sisa */
    .corp-slider-container {
        flex: 1;
        min-height: 0;
        position: relative;
        overflow: hidden;
    }

    .corp-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    /* Sembunyikan headline teks */
    .corp-headline-box {
        display: none;
    }

    /* Hexagon badge — pertahankan bentuk, kecilkan ukuran */
    .corp-hero-card-wrapper {
        position: absolute;
        top: 12px;
        right: 0;
        left: 0;
        transform: none;
        width: calc(100% - 32px);
        margin: 0 auto;
        z-index: 15;
    }

    .corp-hexagon-badge {
        padding: 22px 20px 20px;
    }

    .corp-badge-icon {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .corp-badge-title {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .corp-badge-divider {
        margin: 6px auto 8px;
    }

    .corp-badge-desc {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 14px;
        min-height: unset;
    }

    .corp-badge-btn {
        padding: 7px 18px;
        font-size: 12px;
    }

    /* Floating cards — di bawah badge */
    .corp-floating-cards {
        position: absolute;
        bottom: 36px;
        left: 0;
        right: 0;
        max-width: calc(100% - 32px);
        margin: 0 auto;
        flex-direction: column;
        gap: 6px;
        z-index: 15;
    }

    .corp-card-widget {
        width: 100%;
        padding: 9px 12px;
    }

    .corp-widget-title {
        font-size: 12px;
    }

    .corp-widget-tag {
        font-size: 10.5px;
    }

    .corp-widget-all {
        font-size: 10.5px;
    }

    .corp-widget-thumb {
        width: 54px;
        height: 46px;
    }

    .corp-widget-date {
        font-size: 10px;
    }

    .corp-widget-link {
        font-size: 10.5px;
    }

    /* Dots */
    .corp-slider-dots {
        position: absolute;
        bottom: 14px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 18;
        padding: 0;
    }

    /* Home: sembunyikan footer */
    .corp-main--home .corp-footer-bar {
        display: none;
    }

    /* Halaman lain: main bisa scroll */
    .corp-main.corp-main--scrollable,
    .corp-main--scrollable {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 0% !important;
        min-height: 0 !important;
        height: auto !important;
        max-height: none !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
        background-color: #f8fafc !important;
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 #f8fafc;
    }

    .corp-main.corp-main--scrollable>.corp-mobile-bar {
        flex: 0 0 56px !important;
        height: 56px !important;
    }

    /* Footer halaman lain */
    .corp-footer-bar {
        position: relative !important;
        width: 100% !important;
        margin-top: auto !important;
        margin-bottom: 0 !important;
        flex-shrink: 0 !important;
        height: auto;
        padding: 16px 20px;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        clear: both !important;
        background: var(--corp-footer-bg, #003875) !important;
        border-bottom: none !important;
        outline: none !important;
        box-shadow: 0 10px 0 0 var(--corp-footer-bg, #003875) !important;
    }

    /* Thin scrollbar for mobile */
    .corp-main.corp-main--scrollable::-webkit-scrollbar,
    .corp-main--scrollable::-webkit-scrollbar {
        width: 4px !important;
        height: 4px !important;
    }

    .corp-main.corp-main--scrollable::-webkit-scrollbar-track,
    .corp-main--scrollable::-webkit-scrollbar-track {
        background: #f8fafc !important;
    }

    .corp-main.corp-main--scrollable::-webkit-scrollbar-thumb,
    .corp-main--scrollable::-webkit-scrollbar-thumb {
        background: #cbd5e1 !important;
        border-radius: 4px !important;
    }

    .corp-main.corp-main--scrollable::-webkit-scrollbar-thumb:hover,
    .corp-main--scrollable::-webkit-scrollbar-thumb:hover {
        background: #94a3b8 !important;
    }

    .corp-footer-links {
        display: none;
    }

    .corp-footer-copyright {
        text-align: center !important;
        width: 100% !important;
        margin: 0 auto !important;
        font-size: 11px !important;
    }

    .corp-footer-sub {
        display: block !important;
        text-align: center !important;
        width: 100% !important;
        margin: 3px auto 0 auto !important;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

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