/* PT Loncat Cipta Sarana - Landing Page Styles */

/* Efek reveal saat scroll: elemen fade + slide up + scale saat masuk viewport (lihat assets/js/main.js) */
.reveal-up {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

:root {
    --lcs-blue: #1c6ea4;
    --lcs-blue-dark: #124c73;
    --lcs-blue-light: #eaf3f9;
    --lcs-accent: #cddb1f;
    --lcs-accent-dark: #8c9a00;
    --lcs-dark: #14283a;
    --lcs-navy: #17324a;
    --lcs-gray: #6b7a89;
    --lcs-bg: #f6f8fa;
    --lcs-radius: 18px;
}

/* Cegah halaman bisa di-scroll/swipe ke samping (mis. di HP) -- elemen mana pun
   yang kebetulan sedikit melebihi lebar layar tidak akan lagi membuat seluruh
   halaman bisa digeser horizontal dan menyisakan ruang putih kosong di tepi. */
html {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    color: var(--lcs-dark);
    background-color: #ffffff;
    overflow-x: hidden;
    max-width: 100%;
}

a {
    text-decoration: none;
}

.section-eyebrow {
    color: var(--lcs-accent-dark);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.section-eyebrow::before,
.section-eyebrow::after {
    content: '~';
    margin: 0 0.4em;
}

.section-title {
    font-weight: 800;
    color: var(--lcs-dark);
}

.section-title .accent-dot {
    color: var(--lcs-accent-dark);
}

.btn-lcs-primary {
    background-color: var(--lcs-accent);
    border-color: var(--lcs-accent);
    color: var(--lcs-dark);
    font-weight: 700;
    border-radius: 6px;
    padding: 0.75rem 1.7rem;
    transition: all 0.2s ease-in-out;
}

.btn-lcs-primary:hover {
    background-color: var(--lcs-accent-dark);
    border-color: var(--lcs-accent-dark);
    color: #fff;
}

.btn-lcs-outline {
    border: 2px solid var(--lcs-blue);
    color: var(--lcs-blue);
    font-weight: 600;
    border-radius: 6px;
    padding: 0.65rem 1.5rem;
}

.btn-lcs-outline:hover {
    background-color: var(--lcs-blue);
    color: #fff;
}

/* Navbar */
.navbar-lcs {
    background-color: var(--lcs-navy);
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.navbar-lcs .navbar-brand img {
    height: 42px;
}

.navbar-lcs .nav-link {
    font-weight: 600;
    color: #e7edf2;
    margin: 0 0.6rem;
}

.navbar-lcs .nav-link.active,
.navbar-lcs .nav-link:hover {
    color: var(--lcs-accent);
}

.navbar-lcs .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-lcs .navbar-toggler-icon {
    filter: invert(1);
}

.navbar-lcs .navbar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    margin-left: 0.5rem;
}

.navbar-lcs .navbar-social a:hover {
    background-color: var(--lcs-accent);
    color: var(--lcs-dark);
}

/* Animasi menu navbar datang dari berbagai arah lalu menempati posisi asli */
@keyframes nav-in-top {
    from { opacity: 0; transform: translate3d(0, -70px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes nav-in-right {
    from { opacity: 0; transform: translate3d(90px, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes nav-in-bottom {
    from { opacity: 0; transform: translate3d(0, 70px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes nav-in-left {
    from { opacity: 0; transform: translate3d(-90px, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.navbar-lcs .navbar-nav .nav-item {
    animation-duration: 0.45s;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    animation-fill-mode: both;
}

.navbar-lcs .navbar-nav .nav-item:nth-child(6n+1) { animation-name: nav-in-top; animation-delay: 0.05s; }
.navbar-lcs .navbar-nav .nav-item:nth-child(6n+2) { animation-name: nav-in-right; animation-delay: 0.1s; }
.navbar-lcs .navbar-nav .nav-item:nth-child(6n+3) { animation-name: nav-in-bottom; animation-delay: 0.15s; }
.navbar-lcs .navbar-nav .nav-item:nth-child(6n+4) { animation-name: nav-in-left; animation-delay: 0.2s; }
.navbar-lcs .navbar-nav .nav-item:nth-child(6n+5) { animation-name: nav-in-top; animation-delay: 0.25s; }
.navbar-lcs .navbar-nav .nav-item:nth-child(6n+6) { animation-name: nav-in-bottom; animation-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
    .navbar-lcs .navbar-nav .nav-item {
        animation: none;
    }
}

/* Hero */
.hero-banner {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--lcs-navy) 0%, var(--lcs-dark) 100%);
}

.hero-banner-media {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    border-radius: 20px;
    overflow: hidden;
}

.hero-banner img.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(6, 14, 23, 0.94) 0%, rgba(6, 14, 23, 0.82) 32%, rgba(6, 14, 23, 0.35) 62%, rgba(6, 14, 23, 0.1) 100%);
}

@media (min-width: 768px) {
    .hero-banner-media {
        left: 2rem;
        right: 2rem;
        border-radius: 28px;
    }
}

@media (min-width: 1200px) {
    .hero-banner-media {
        left: 3.5rem;
        right: 3.5rem;
        border-radius: 32px;
    }
}

.hero-banner > .container {
    position: relative;
    z-index: 1;
}

.hero-banner-content {
    max-width: 620px;
    padding: 5rem 0;
    padding-left: 1.5rem;
}

.hero-banner-content .section-eyebrow {
    color: var(--lcs-accent);
}

.hero-banner-content h1 {
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.15;
    color: #fff;
    margin: 0.6rem 0 1.2rem;
}

.hero-banner-content h1 .accent-dot {
    color: var(--lcs-accent);
}

.hero-banner-content .hero-subheading {
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
}

.hero-banner-content .lead {
    color: #c4d0da;
    font-size: 1rem;
    margin-top: 0.8rem;
}

/* Checklist */
.checklist {
    list-style: none;
    padding: 0;
    margin: 1.3rem 0;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.7rem;
    font-weight: 600;
    color: var(--lcs-dark);
    font-size: 0.95rem;
}

.checklist li i {
    color: var(--lcs-blue);
    background-color: var(--lcs-blue-light);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Services */
.services-section {
    padding: 5rem 0;
    background-color: var(--lcs-bg);
}

.services-intro .rich-content {
    color: var(--lcs-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-card {
    background-color: #fff;
    border-radius: var(--lcs-radius);
    padding: 2rem;
    border: 1px solid #edf0f3;
    box-shadow: 0 6px 24px rgba(20, 40, 58, 0.04);
    transition: box-shadow 0.2s ease;
}

.service-card:hover {
    box-shadow: 0 14px 32px rgba(20, 40, 58, 0.1);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-card .service-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 12px;
    background-color: var(--lcs-blue-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--lcs-blue);
}

.service-card h3 {
    font-weight: 700;
    font-size: 1.15rem;
    margin: 0;
}

/* Konten rich text (diisi lewat editor di admin: deskripsi layanan, event,
   keunggulan, serta paragraf hero/tentang kami/layanan di Konten Website) */
.service-description,
.rich-content {
    line-height: 1.7;
}

.service-description {
    color: var(--lcs-gray);
    font-size: 0.95rem;
}

.service-description p,
.rich-content p {
    margin-bottom: 0.8rem;
}

.service-description p:last-child,
.rich-content p:last-child {
    margin-bottom: 0;
}

.service-description ul,
.service-description ol,
.rich-content ul,
.rich-content ol {
    margin-bottom: 0.8rem;
    padding-left: 1.3rem;
}

.service-description a,
.rich-content a {
    color: var(--lcs-blue);
    text-decoration: underline;
}

.service-description img,
.rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 0.8rem 0;
    display: block;
}

.service-description h2,
.service-description h3,
.service-description h4,
.rich-content h2,
.rich-content h3,
.rich-content h4 {
    color: var(--lcs-dark);
    font-weight: 700;
    margin: 1rem 0 0.5rem;
}

/* Klien Kami */
.clients-section {
    padding: 3.5rem 0;
    background-color: var(--lcs-bg);
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
}

.client-logo {
    width: 160px;
    height: 90px;
    background-color: #fff;
    border: 1px solid #e6eaee;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.client-logo:hover {
    box-shadow: 0 10px 24px rgba(20, 40, 58, 0.1);
    transform: translateY(-2px);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 575.98px) {
    .client-logo {
        width: 130px;
        height: 76px;
    }
}

/* About */
.about-section {
    padding: 5rem 0;
}

.about-differentiators h3 {
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.about-differentiators > p {
    color: var(--lcs-gray);
    margin-bottom: 1.5rem;
}

.differentiator-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.differentiator-row .diff-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lcs-blue) 0%, var(--lcs-blue-dark) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.differentiator-row h4 {
    font-weight: 700;
    font-size: 1.02rem;
    margin-bottom: 0.2rem;
}

.differentiator-row .rich-content {
    color: var(--lcs-gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Gallery */
.gallery-section {
    padding: 5rem 0;
}

.gallery-item {
    position: relative;
    border-radius: var(--lcs-radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background-color: var(--lcs-bg);
    cursor: pointer;
}

.gallery-item .gallery-zoom-hint {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(20, 40, 58, 0);
    color: #fff;
    font-size: 1.8rem;
    opacity: 0;
    transition: opacity 0.25s ease, background-color 0.25s ease;
}

.gallery-item:hover .gallery-zoom-hint {
    opacity: 1;
    background-color: rgba(20, 40, 58, 0.35);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item .gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.9rem 1rem;
    background: linear-gradient(to top, rgba(20, 40, 58, 0.85), transparent);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Lightbox galeri: perbesar foto saat diklik (pakai Bootstrap Modal, tanpa
   dependensi tambahan) -- konten modal dibuat transparan supaya yang
   terlihat hanya fotonya sendiri di atas latar gelap bawaan modal. */
#galleryLightbox .modal-content {
    background-color: transparent;
    border: none;
}

#galleryLightbox .modal-dialog {
    max-width: 900px;
}

#galleryLightboxImage {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--lcs-radius);
}

/* Events */
.events-section {
    padding: 5rem 0;
    background-color: var(--lcs-bg);
}

.event-card {
    background: #fff;
    border-radius: var(--lcs-radius);
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(20, 40, 58, 0.05);
    height: 100%;
}

.event-card .event-img {
    height: 190px;
    background-color: var(--lcs-blue-light);
    background-size: cover;
    background-position: center;
}

.event-card .event-body {
    padding: 1.4rem;
}

.event-date {
    color: var(--lcs-accent-dark);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 0.4rem;
}

.event-card p {
    color: var(--lcs-gray);
    font-size: 0.9rem;
}

/* Contact */
.contact-section {
    padding: 5rem 0;
}

.contact-info-card {
    background: var(--lcs-navy);
    background: linear-gradient(135deg, var(--lcs-navy) 0%, var(--lcs-dark) 100%);
    color: #fff;
    border-radius: var(--lcs-radius);
    padding: 2.5rem;
    height: 100%;
}

.contact-info-card h3 {
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.contact-info-card .info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.contact-info-card .info-item i {
    font-size: 1.2rem;
    color: var(--lcs-accent);
}

.contact-map-embed {
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16 / 11;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    /* Melunakkan kontras peta Google Maps yang biasanya putih terang, supaya
       lebih menyatu dengan latar gradient navy kartu ini. */
    filter: grayscale(0.2) contrast(1.05);
}

.contact-form-card {
    background: #fff;
    border-radius: var(--lcs-radius);
    padding: 2.5rem;
    box-shadow: 0 6px 30px rgba(20, 40, 58, 0.08);
    height: 100%;
}

.contact-form-card .form-control {
    border-radius: 10px;
    padding: 0.7rem 1rem;
    border: 1px solid #dfe4ea;
}

.contact-form-card .form-control:focus {
    border-color: var(--lcs-blue);
    box-shadow: 0 0 0 0.2rem rgba(28, 110, 164, 0.15);
}

/* Pastikan border merah bawaan Bootstrap utk field tidak valid tetap menang
   (tanpa ini, aturan border di atas menimpanya karena sama-sama dimuat
   setelah bootstrap.min.css dengan spesifisitas yang sama). */
.contact-form-card .form-control.is-invalid {
    border-color: #dc3545;
}

.contact-form-card .form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}

/* Gerbang klik logo (lihat catatan di index.php & main.js) */
.human-gate-content {
    filter: blur(14px);
    transition: filter 0.5s ease;
    pointer-events: none;
    user-select: none;
}

.human-gate-content.human-gate-unlocked {
    filter: none;
    pointer-events: auto;
    user-select: auto;
}

.human-gate {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(20, 40, 58, 0.55);
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.human-gate.human-gate-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.human-gate-logo {
    position: fixed;
    /* Posisi default di tengah layar lewat CSS (bukan cuma lewat JS) -- supaya
       tidak ada kedipan singkat di pojok kiri atas sebelum JS sempat jalan
       memindahkan posisinya (lihat initHumanGate() di assets/js/main.js). */
    left: calc(50% - 48px);
    top: calc(50% - 48px);
    width: 96px;
    height: 96px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.human-gate-logo img {
    width: 68%;
    height: 68%;
    object-fit: contain;
}

.human-gate-logo:hover {
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.45);
}

/* Satu blok teks (judul + perintah klik) di tengah layar -- pointer-events:none
   supaya tidak pernah menghalangi klik ke logo yang melayang, sekalipun logonya
   kebetulan lewat di atas blok ini. */
.human-gate-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    pointer-events: none;
    padding: 0 1rem;
    text-align: center;
}

.human-gate-title {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.85rem;
    border-radius: 999px;
    padding: 0.5rem 1.2rem;
    margin: 0;
    backdrop-filter: blur(4px);
}

.human-gate-title i {
    color: var(--lcs-accent);
}

.human-gate-hint {
    color: #fff;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    margin: 0;
}

@media (max-width: 575.98px) {
    .human-gate-logo {
        width: 72px;
        height: 72px;
        left: calc(50% - 36px);
        top: calc(50% - 36px);
    }
}

/* Footer */
.footer-lcs {
    background-color: var(--lcs-dark);
    color: #a9b8c4;
    font-size: 0.875rem;
    padding: 2rem 0 1rem;
    position: relative;
}

/* Garis aksen tipis di tepi atas footer -- sentuhan warna tanpa menambah tinggi */
.footer-lcs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--lcs-accent), var(--lcs-blue));
}

.footer-lcs img.footer-logo {
    height: 32px;
    margin-bottom: 0.5rem;
}

.footer-lcs .footer-tagline {
    font-size: 0.85rem;
    color: #8ea0af;
    margin-bottom: 0;
}

.footer-lcs h5 {
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    position: relative;
}

/* Garis aksen pendek di bawah tiap judul kolom, pengganti font-weight saja
   supaya judul kolom lebih menonjol tanpa perlu ukuran font besar. */
.footer-lcs h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background-color: var(--lcs-accent);
}

.footer-lcs ul {
    margin: 0;
}

.footer-lcs ul li + li {
    margin-top: 0.5rem;
}

.footer-lcs a {
    color: #a9b8c4;
}

.footer-links a {
    transition: color 0.15s ease, padding-left 0.15s ease;
}

.footer-links a:hover {
    color: var(--lcs-accent);
    padding-left: 4px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    line-height: 1.4;
}

.footer-contact-list i {
    color: var(--lcs-accent);
    font-size: 0.95rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.footer-social {
    margin-top: 0.85rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    margin-right: 0.4rem;
    font-size: 0.85rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.footer-social a:hover {
    background-color: var(--lcs-accent);
    color: var(--lcs-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 1.25rem;
    padding-top: 0.75rem;
    font-size: 0.78rem;
    text-align: center;
    color: #71818e;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    margin-right: 0.5rem;
}

.social-icons a:hover {
    background-color: var(--lcs-accent);
    color: var(--lcs-dark);
}

.empty-state {
    color: var(--lcs-gray);
    text-align: center;
    padding: 2rem 0;
}

@media (max-width: 991.98px) {
    .hero-banner {
        min-height: 560px;
    }

    .hero-banner-overlay {
        background: linear-gradient(180deg, rgba(6, 14, 23, 0.55) 0%, rgba(6, 14, 23, 0.85) 55%, rgba(6, 14, 23, 0.94) 100%);
    }

    .hero-banner-content {
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    /* Mobile: hero memenuhi satu layar penuh (dikurangi tinggi navbar yang
       berada di atasnya) dan gambar latar menempel ke tepi layar tanpa
       margin/sudut membulat, supaya terlihat utuh seperti layar penuh. */
    .hero-banner {
        min-height: calc(100vh - var(--lcs-nav-h, 81px));
        min-height: calc(100svh - var(--lcs-nav-h, 81px));
        align-items: flex-end;
    }
    .hero-banner-media { left: 0; right: 0; border-radius: 0; }
    .hero-banner img.hero-bg { object-position: 78% center; }
    .hero-banner-content { padding: 3rem 1.25rem 2.5rem; }
    .hero-banner-content h1 { font-size: 2.1rem; }
}

/* Footer di layar kecil (kolom bertumpuk): semua rata tengah, logo lebih besar */
@media (max-width: 991.98px) {
    .footer-lcs { text-align: center; padding-top: 2.5rem; }
    .footer-lcs img.footer-logo {
        display: block;
        height: 72px;
        margin: 0 auto 0.9rem;
    }
    .footer-lcs .row > [class*="col-"] + [class*="col-"] { margin-top: 1.75rem; }
    .footer-lcs h5::after { left: 50%; transform: translateX(-50%); }
    .footer-links a:hover { padding-left: 0; }
    .footer-contact-list li { justify-content: center; text-align: left; }
    .footer-contact-list li span { max-width: 22rem; }
    .footer-social a { margin: 0 0.2rem; }
}

/* Tombol kembali ke atas */
.back-to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background-color: var(--lcs-blue);
    color: #fff;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(20, 40, 58, 0.25);
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s ease, visibility 0.25s;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
    background-color: var(--lcs-blue-dark);
    color: #fff;
}

@media (max-width: 575.98px) {
    .back-to-top {
        right: 1rem;
        bottom: 1rem;
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
    }
}
