/* /* ============================================================
   IMPORTS
============================================================ */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800;900&family=Inter:wght@400;500;600&display=swap");

/* ============================================================
   CSS VARIABLES
============================================================ */
:root {
    --navy: #0b1a2b;
    --navy-hover: #1a2e4a;
    --gold: #f2b233;
    --gold-hover: #d9a020;
    --gray-bg: #f5f5f7;
    --muted: #6c757d;
    --border: #e5e7eb;
    --white: #ffffff;
    --text-dark: #1a1a2e;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --sidebar-w: 260px;
    --topbar-h: 64px;
    --navbar-h: 76px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --transition: all 0.2s ease;
}

/* ============================================================
   BASE / RESET
============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* overflow-x HARUS di html, bukan body.
   Kalau di body, elemen position:fixed (navbar) kehilangan
   viewport sebagai containing block dan ikut bergeser.
   SOLUSI: pasang di html DAN body sekaligus — ini justru
   membuat viewport jadi containing block untuk fixed elements. */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: "Inter", sans-serif;
    padding-top: var(--navbar-h);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
}

body.admin-body {
    padding-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
.fw-display {
    font-family: "Montserrat", sans-serif;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

/* ============================================================
   BOOTSTRAP PRIMARY OVERRIDE
============================================================ */
.bg-primary {
    background-color: var(--navy) !important;
}
.text-primary {
    color: var(--navy) !important;
}
.border-primary {
    border-color: var(--navy) !important;
}

.btn-primary {
    background-color: var(--navy);
    border-color: var(--navy);
    font-weight: 600;
    border-radius: var(--radius-md);
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--navy-hover) !important;
    border-color: var(--navy-hover) !important;
}

.btn-outline-primary {
    color: var(--navy);
    border-color: var(--navy);
    font-weight: 600;
    border-radius: var(--radius-md);
}
.btn-outline-primary:hover {
    background-color: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

/* ============================================================
   ACCENT / GOLD
============================================================ */
.bg-accent {
    background-color: var(--gold) !important;
}
.text-accent {
    color: var(--gold) !important;
}

.btn-accent {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    font-weight: 700;
    border-radius: var(--radius-md);
}
.btn-accent:hover,
.btn-accent:focus {
    background-color: var(--gold-hover);
    border-color: var(--gold-hover);
    color: var(--navy);
}

/* ============================================================
   SECTION LABEL
============================================================ */
.section-label {
    display: inline-block;
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
    height: 80px;
    background-color: var(--navy) !important;
    padding: 0;
    z-index: 1030;

    display: flex;
    align-items: center;
}
.navbar .container-xl {
    display: flex;
    align-items: center;
}
.navbar-brand {
    font-family: "Montserrat", sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white) !important;
    letter-spacing: -0.5px;
}
.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 6px 14px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.navbar-nav .nav-link:hover {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.1);
}
.navbar-nav .nav-link.active {
    color: var(--gold) !important;
    background: rgba(255, 255, 255, 0.1);
    font-weight: 600;
}
.navbar-toggler {
    border: none !important;
    box-shadow: none !important;
}

/* Mobile nav dropdown */
@media (max-width: 991px) {
    .navbar {
        padding-left: 0;
        padding-right: 0;
    }
    /* Pastikan collapse container tidak overflow */
    .navbar-collapse {
        overflow-y: auto;
    }
    #navMenu {
        background: #0d2a4a;
        padding: 12px 16px 16px;
        border-radius: var(--radius-md);
        margin-top: 8px;
        width: 100%;
        /* Jangan biarkan dropdown melebihi lebar container */
        max-width: 100%;
        box-sizing: border-box;
    }
    #navMenu .nav-link {
        color: var(--white) !important;
    }
    #navMenu .nav-link.active {
        color: var(--gold) !important;
    }
}

.logo-img {
    height: auto;
    max-height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Desktop */
@media (min-width: 992px) {
    .logo-img {
        max-height: 55px;
    }
}
/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    .navbar {
        height: 70px;
    }

    .logo-img {
        max-height: 45px;
    }
}

/* ============================================================
   HERO
============================================================ */
.hero-section {
    position: relative;
    overflow-y: auto;
    min-height: 60vh;
}
.hero-content {
    min-height: 60vh;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Mobile */
@media (max-width: 991px) {
    .hero-section,
    .hero-content {
        min-height: 50vh;
    }
    .hero-section {
        padding: 60px 0;
    }
    .hero-bg {
        background:
            linear-gradient(to bottom, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.9)),
            url("/assets/images/hero-premio-white.png") center 15% / cover
                no-repeat;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .hero-section,
    .hero-content {
        min-height: 90vh;
    }
    .hero-bg {
        background:
            linear-gradient(to right, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.3)),
            url("/assets/images/hero-premio-white.png") center right / cover
                no-repeat;
    }
}

.hero-skew {
    position: absolute;
    right: -5%;
    top: 0;
    width: 55%;
    height: 100%;
    background: rgba(242, 178, 51, 0.07);
    transform: skewX(-10deg);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(242, 178, 51, 0.15);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #8b6914;
    margin-bottom: 1.5rem;
}
.hero-badge i {
    color: var(--gold);
}

.hero-img-wrap {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: visible;
}
.hero-img-wrap::before {
    content: "";
    position: absolute;
    inset: -10px;
    background: linear-gradient(135deg, rgba(242, 178, 51, 0.15), transparent);
    border-radius: 28px;
    transform: rotate(3deg) scale(1.02);
    z-index: 0;
}
.hero-img-wrap img {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-2xl);
    width: 100%;
    box-shadow: var(--shadow-xl);
}

.hero-rating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 14px 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 2;
}
.hero-rating-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(11, 26, 43, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--gold);
}

@media (max-width: 768px) {
    .hero-rating-badge {
        bottom: 10px;
        left: 10px;
    }
    .hero-section {
        min-height: auto;
        padding: 60px 0;
    }
}

/* ============================================================
   FEATURE CARDS
============================================================ */
.feature-card {
    border: none !important;
    background: var(--gray-bg);
    transition: var(--transition);
    border-radius: var(--radius-lg) !important;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg) !important;
}
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--navy);
    transition: background 0.3s;
    margin-bottom: 1.25rem;
}
.feature-card:hover .feature-icon {
    background: var(--gold);
}

/* ============================================================
   FLEET / ARMADA CARDS
============================================================ */
.fleet-card {
    border: none !important;
    border-radius: var(--radius-lg) !important;
    overflow-y: auto;
    transition: var(--transition);
}
.fleet-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg) !important;
}
.fleet-card .fleet-img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow-y: auto;
    background: #f0f0f0;
}
.fleet-card .fleet-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.fleet-card:hover .fleet-img-wrap img {
    transform: scale(1.05);
}

.fleet-badge-cat,
.fleet-badge-cap {
    position: absolute;
    top: 10px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}
.fleet-badge-cat {
    left: 10px;
}
.fleet-badge-cap {
    right: 10px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--navy);
    backdrop-filter: blur(4px);
}

/* Category badges */
.cat-mpv {
    background: #dcfce7;
    color: #16a34a;
}
.cat-minibus {
    background: #fef3c7;
    color: #92400e;
}
.cat-bus {
    background: #dbeafe;
    color: #1d4ed8;
}

/* Armada card (generic) */
.armada-card {
    transition: var(--transition);
    border-radius: var(--radius-lg);
    overflow-y: auto;
}
.armada-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}
.armada-card img {
    transition: transform 0.3s ease;
}
.armada-card:hover img {
    transform: scale(1.05);
}

/* Fleet detail page */
.fleet-img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    padding: 16px;
    background: #f8f9fa;
    border-radius: var(--radius-md);
}

.admin-main {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 2rem; /* ← tambah ini */
}

@media (max-width: 576px) {
    .fleet-img {
        height: 180px;
        padding: 10px;
    }
    .admin-main {
        padding-bottom: 3rem;
    }
}

/* Gallery thumbnails */
.thumb-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.thumb {
    width: 70px;
    height: 55px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}
.thumb:hover {
    transform: scale(1.05);
}
.active-thumb {
    border-color: #0d6efd;
}

@media (max-width: 480px) {
    .thumb {
        width: 56px;
        height: 44px;
    }
}

/* ============================================================
   SERVICE CARDS
============================================================ */
.service-card {
    background: var(--white);
    transition: var(--transition);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}
.service-icon {
    font-size: 40px;
}

@media (max-width: 768px) {
    .service-card {
        padding: 20px;
    }
    .service-icon {
        font-size: 32px;
    }
}

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonial-card {
    border: none !important;
    border-radius: var(--radius-lg) !important;
    background: #f8f9fa;
    transition: var(--transition);
}
.testimonial-card:hover {
    background: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1) !important;
}
.quote-icon {
    font-size: 2rem;
    color: rgba(242, 178, 51, 0.25);
    line-height: 1;
    font-family: serif;
}
.testimonial-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow-y: auto;
    position: relative;
}
.testimonial-text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(to bottom, transparent, var(--white));
}
@media (max-width: 768px) {
    .testimonial-text {
        -webkit-line-clamp: 3;
    }
}
@media (min-width: 769px) {
    .testimonial-text {
        -webkit-line-clamp: 5;
    }
}

@media (max-width: 768px) {
    #testimoni-grid > div {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .testimonial-card {
        padding: 16px;
        border-radius: var(--radius-lg) !important;
    }
}

/* Avatar */
.avatar-circle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}
.avatar-circle-lg {
    width: 52px;
    height: 52px;
    min-width: 52px;
    font-size: 1rem;
}

/* Stars */
.stars i.star-filled {
    color: var(--gold);
}
.stars i.star-empty {
    color: #d1d5db;
}

/* ============================================================
   REVIEW MODAL
============================================================ */
#reviewModal .modal-dialog {
    max-width: 1100px;
}
#reviewModal .modal-content {
    height: 90vh;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    overflow-y: auto;
    display: flex;
}
#reviewModal .row {
    flex: 1;
    min-height: 0;
    margin: 0;
}

/* Left — image */
#modalImageSection {
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
#reviewCarousel {
    width: 100%;
}
#reviewCarousel img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    border-radius: var(--radius-md);
    transition: transform 0.3s ease;
}
#reviewCarousel img:hover {
    transform: scale(1.03);
}
#reviewCarousel .carousel-control-prev,
#reviewCarousel .carousel-control-next {
    width: 10%;
    opacity: 0;
    transition: 0.2s;
}
#modalImageSection:hover .carousel-control-prev,
#modalImageSection:hover .carousel-control-next {
    opacity: 1;
}

/* Right — content */
#modalContentSection {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--white);
    padding: 20px;
    overflow-y: auto;
}

/* Sticky header */
.modal-header-custom {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transform: translateZ(0);
    isolation: isolate;
}
.modal-header-custom .btn-close {
    opacity: 0.6;
}
.modal-header-custom .btn-close:hover {
    opacity: 1;
}

#modalName {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}
#modalStars i {
    color: #f5b301;
    font-size: 0.9rem;
}
#modalDate {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 12px;
}
#modalMessage {
    overflow-y: auto;
    flex: 1;
    padding-right: 6px;
    line-height: 1.7;
    font-size: 0.95rem;
    color: #333;
    white-space: pre-line;
}
#modalMessage::-webkit-scrollbar {
    width: 5px;
}
#modalMessage::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* Responsive modal */
@media (max-width: 992px) {
    #modalImageSection {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    #reviewModal .modal-dialog {
        margin: 0;
        max-width: 100%;
        height: 100%;
    }
    #reviewModal .modal-content {
        min-height: 100vh;
        border-radius: 0;
    }
    #reviewModal .row {
        flex-direction: column;
    }
    #modalImageSection {
        width: 100%;
        height: 250px;
        min-height: unset;
        padding: 10px;
    }
    #reviewCarousel img {
        height: 230px;
        object-fit: cover;
        border-radius: 10px;
    }
    #modalContentSection {
        flex: 1;
        padding: 16px;
        max-height: unset;
    }
    .modal-header-custom {
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    #modalName {
        font-size: 1rem;
    }
    #modalMessage {
        font-size: 0.9rem;
    }
    .carousel-control-prev,
    .carousel-control-next {
        width: 10%;
    }
}

@media (max-width: 480px) {
    #modalImageSection {
        height: 200px;
    }
    #modalName {
        font-size: 1rem;
    }
    #modalMessage {
        font-size: 0.85rem;
    }
}

/* ============================================================
   PAGE HEADER (Armada / Testimoni pages)
============================================================ */
.page-header {
    background: var(--navy);
    padding: 80px 0 64px;
    position: relative;
    overflow-y: auto;
}
.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 70% 50%,
        rgba(242, 178, 51, 0.15) 0%,
        transparent 60%
    );
}

@media (max-width: 768px) {
    .page-header {
        padding: 56px 0 44px;
    }
}

/* ============================================================
   FILTER BAR & PILLS
============================================================ */
.filter-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: var(--navbar-h);
    z-index: 30;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.filter-pill {
    border-radius: 999px;
    border: 1.5px solid rgba(11, 26, 43, 0.2);
    color: var(--navy);
    padding: 7px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.filter-pill:hover {
    border-color: var(--navy);
    background: rgba(11, 26, 43, 0.05);
}
.filter-pill.active {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

/* Filter sidebar box */
.filter-box {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}
.form-check {
    margin-bottom: 8px;
}

.mobile-filter-dropdown {
    max-height: 0;
    overflow-y: auto;
    transition: all 0.3s ease;
    opacity: 0;
}
.mobile-filter-dropdown.active {
    max-height: 500px;
    opacity: 1;
}

.filter-icon-btn {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.offcanvas {
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

/* ============================================================
   CONTACT SECTION
============================================================ */
.contact-section {
    background: linear-gradient(to bottom, var(--white), #f8f9fa);
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}
.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow-y: auto;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}
.contact-map:hover {
    transform: scale(1.01);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.map-action {
    position: absolute;
    bottom: 20px;
    right: 20px;
}
.map-action .btn {
    border-radius: var(--radius-md);
    padding: 10px 16px;
}

.contact-form-card {
    border-radius: var(--radius-xl) !important;
    border: none !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2) !important;
}

/* Contact icons */
.contact-section i {
    background: rgba(255, 193, 7, 0.15);
    padding: 10px;
    border-radius: 50%;
}

/* Ask/form layout */
.ask-form-wrap {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
}
.ask-form-left,
.ask-form-right {
    flex: 1;
    min-width: 280px;
}

.ask-form-right {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-xl);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}
.afl-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
}
.afl-desc {
    color: var(--muted);
    margin: 20px 0;
}
.afl-feature {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}
.afl-feature-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .ask-form-right {
        padding: 20px;
    }
    .afl-title {
        font-size: 1.6rem;
    }
}

/* ============================================================
   FORMS (shared)
============================================================ */
.form-control,
.form-select {
    background: var(--gray-bg) !important;
    border: none !important;
    border-radius: var(--radius-md) !important;
    padding: 12px 16px !important;
    font-size: 0.9rem;
}
.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 3px rgba(242, 178, 51, 0.3) !important;
}

/* Contact page overrides */
.contact-section .form-control {
    border-radius: var(--radius-md) !important;
    border: 1px solid #eee !important;
    padding: 12px 14px !important;
    transition: 0.2s;
}
.contact-section .form-control:focus {
    border-color: #0d6efd !important;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1) !important;
}
.contact-section .btn-primary {
    border-radius: var(--radius-md);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.25);
    transition: var(--transition);
}
.contact-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(13, 110, 253, 0.35);
}

/* Input group */
.input-group {
    border-radius: var(--radius-md);
    overflow-y: auto;
}

/* Password toggle */
#togglePwd {
    border: none !important;
    background: #f1f3f5 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    cursor: pointer;
    z-index: 10;
}

/* Accordion */
.accordion-button {
    transition: var(--transition);
}
.accordion-button:not(.collapsed) {
    background: var(--white);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

/* ============================================================
   HERO PREMIUM (Services/Layanan page)
============================================================ */
.hero-premium {
    height: 90vh;
    background: url("/assets/images/hero-premio-white.jpg") center / cover;
    position: relative;
    display: flex;
    align-items: center;
}
.hero-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
}
.hero-premium .container {
    position: relative;
    z-index: 2;
}

.cta-premium {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
}

@media (max-width: 768px) {
    .hero-premium {
        height: 75vh;
        text-align: center;
    }
    .hero-premium h1 {
        font-size: 26px;
        line-height: 1.4;
    }
    .hero-premium p {
        font-size: 14px;
    }
    .cta-premium h2 {
        font-size: 22px;
    }
}

/* ============================================================
   ADMIN LAYOUT
============================================================ */
.admin-sidebar {
    width: var(--sidebar-w);
    min-width: var(--sidebar-w);
    background: var(--navy);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    overflow-y: auto;
    transition: transform 0.3s ease;
}
.admin-sidebar-brand {
    display: flex;
    align-items: center;
    height: var(--topbar-h);
    padding: 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--white);
    flex-shrink: 0;
}
.admin-content {
    margin-left: var(--sidebar-w);
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f5f5f7;
    min-height: 100vh;
}
.admin-topbar {
    height: var(--topbar-h);
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

/* Sidebar links */
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
    margin-bottom: 2px;
}
.sidebar-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}
.sidebar-link.active {
    color: var(--navy);
    background: var(--gold);
    font-weight: 700;
}
.sidebar-link.active i {
    color: var(--navy);
}

/* Admin responsive */
@media (max-width: 991px) {
    .admin-sidebar {
        transform: translateX(-100%);
        display: flex; /* always in DOM, just hidden */
    }
    .admin-sidebar.show {
        transform: translateX(0);
    }
    .admin-content {
        margin-left: 0;
    }
    body.admin-body {
        padding-top: 0;
    }
}

/* ============================================================
   ADMIN CARDS & TABLES
============================================================ */
.admin-stat-card {
    border: none !important;
    border-radius: var(--radius-lg) !important;
    background: var(--white);
    transition: box-shadow 0.2s;
}
.admin-stat-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08) !important;
}

.stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.admin-card {
    border: none !important;
    border-radius: var(--radius-lg) !important;
    background: var(--white);
}

.admin-table thead th {
    background: #f5f5f7;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    border-bottom: none;
    padding: 12px 16px;
}
.admin-table td {
    vertical-align: middle;
    padding: 12px 16px;
    font-size: 0.875rem;
}
.admin-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
}
.admin-table tbody tr:last-child {
    border-bottom: none;
}

/* Table responsive helper */
@media (max-width: 768px) {
    .admin-table thead th,
    .admin-table td {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
}

/* ============================================================
   STATUS BADGES (admin)
============================================================ */
.badge-unread {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
    font-weight: 600;
}
.badge-read {
    background: #dbeafe;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    font-weight: 600;
}
.badge-replied {
    background: #dcfce7;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    font-weight: 600;
}
.badge-active {
    background: #dcfce7;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    font-weight: 600;
}
.badge-inactive {
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid var(--border);
    font-weight: 600;
}

/* ============================================================
   QUICK LINK CARDS (admin)
============================================================ */
.quick-link-card {
    border: 1.5px solid var(--border) !important;
    border-radius: var(--radius-lg) !important;
    background: var(--white);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}
.quick-link-card:hover {
    border-color: rgba(11, 26, 43, 0.4) !important;
    box-shadow: var(--shadow-md) !important;
    color: inherit;
}

/* ============================================================
   MESSAGE ROWS (admin)
============================================================ */
.msg-row {
    background: #f9fafb;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 16px;
    transition: background 0.2s;
}
.msg-row.unread {
    background: #fff5f5;
    border-color: #fecaca;
}
.msg-row:hover {
    background: #f0f0f0;
}
.msg-row.unread:hover {
    background: #fee2e2;
}

/* ============================================================
   AUTH PAGES
============================================================ */
.auth-card {
    border: none !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1) !important;
}

/* ============================================================
   FOOTER
============================================================ */
footer {
    background: var(--navy);
}

.footer-links a {
    color: var(--white) !important;
    text-decoration: none;
}
.footer-links a:hover {
    color: var(--gold) !important;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
}
.social-icon:hover {
    background: var(--gold);
    color: #000;
}

/* ============================================================
   FLOATING WHATSAPP
============================================================ */
.floating-wa {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1050;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    transition: transform 0.2s;
}
.floating-wa:hover {
    transform: scale(1.1);
    color: var(--white);
}

@media (max-width: 576px) {
    .floating-wa {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    .admin-main {
        padding-bottom: 3rem;
    }
}

/* ============================================================
   GALLERY (zoomable)
============================================================ */
.gallery-img {
    transition: 0.3s ease;
}
.gallery-img:hover {
    transform: scale(1.05);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

.carousel-item img {
    transition: transform 0.3s;
}
.carousel-item img:hover {
    transform: scale(1.03);
}

/* ============================================================
   TESTIMONI PAGE — HERO
============================================================ */
.testimoni-hero {
    position: relative;
    background: var(--navy);
    padding: 6rem 0 5rem;
    overflow-y: auto; /* blob tidak bocor keluar section */
    text-align: center;
    width: 100%;
}

/* Decorative blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    /* Pastikan blob tidak bisa di-scroll ke */
    overflow-y: auto;
}
.hero-blob-1 {
    width: 500px;
    height: 500px;
    background: rgba(242, 178, 51, 0.12);
    top: -200px;
    left: -100px;
}
.hero-blob-2 {
    width: 400px;
    height: 400px;
    background: rgba(59, 130, 246, 0.08);
    bottom: -150px;
    right: -100px;
}
.hero-blob-3 {
    width: 300px;
    height: 300px;
    background: rgba(124, 58, 237, 0.07);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 576px) {
    .testimoni-hero {
        padding: 4rem 0 3.5rem;
    }
    .hero-blob-1 {
        width: 300px;
        height: 300px;
    }
    .hero-blob-2 {
        width: 250px;
        height: 250px;
    }
}

/* Eyebrow pill */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(242, 178, 51, 0.12);
    border: 1px solid rgba(242, 178, 51, 0.2);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}
.hero-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

/* Title */
.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}
.hero-title-accent {
    color: var(--gold);
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 520px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

@media (max-width: 576px) {
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
}

/* Stats row */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.hero-stat {
    text-align: center;
}
.hero-stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}
.hero-stat-plus {
    font-size: 1.5rem;
    font-weight: 700;
}
.hero-stat-stars {
    margin: 0.4rem 0;
    font-size: 0.8rem;
    color: var(--gold);
}
.hero-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
    margin-top: 0.2rem;
}
.hero-stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 576px) {
    .hero-stats {
        gap: 2rem;
    }
    .hero-stat-divider {
        display: none;
    }
    .hero-stat-number {
        font-size: 2.2rem;
    }
}

/* ============================================================
   TESTIMONI PAGE — FILTER BAR
============================================================ */
.filter-sticky {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
}
.filter-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.filter-inner::-webkit-scrollbar {
    display: none;
}

/* Override global .filter-pill for testimoni page specifics */
.filter-sticky .filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    background: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}
.filter-sticky .filter-pill i {
    color: #f59e0b;
    font-size: 0.7rem;
}
.filter-sticky .filter-pill:hover {
    border-color: var(--navy);
    color: var(--navy);
    background: #f9f9fb;
}
.filter-sticky .filter-pill.active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}
.filter-sticky .filter-pill.active i {
    color: var(--gold);
}

.filter-count {
    font-size: 0.75rem;
    font-weight: 600;
    color: #9ca3af;
    white-space: nowrap;
    padding-left: 0.5rem;
}

/* ============================================================
   TESTIMONI PAGE — CARD GRID
============================================================ */
.testimoni-section {
    background: #f7f7f9;
    padding: 3rem 0 4rem;
}

.testimoni-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}
@media (max-width: 991px) {
    .testimoni-masonry {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .testimoni-masonry {
        grid-template-columns: 1fr;
    }
}

/* Card */
.testimoni-card {
    background: var(--white);
    border-radius: 18px;
    padding: 1.5rem;
    border: 1px solid #efefef;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s;
    animation: cardIn 0.4s ease both;
}
@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.testimoni-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e8;
}

/* Card header */
.tc-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}
.tc-avatar {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy) 0%, #1a4a6e 100%);
    color: var(--white);
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tc-identity {
    flex: 1;
    min-width: 0;
}
.tc-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
    overflow-y: auto;
    text-overflow: ellipsis;
}
.tc-role {
    font-size: 0.72rem;
    color: #9ca3af;
}
.tc-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #fffbeb;
    color: #b45309;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 7px;
    border: 1px solid #fde68a;
    flex-shrink: 0;
}
.tc-rating-badge i {
    font-size: 0.65rem;
    color: #f59e0b;
}

/* Card stars */
.tc-stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 0.85rem;
}
.tc-stars i {
    font-size: 0.7rem;
}
.tc-star-filled {
    color: #f59e0b;
}
.tc-star-empty {
    color: var(--border);
}

/* Card message */
.tc-message {
    font-size: 0.83rem;
    line-height: 1.75;
    color: #4b5563;
    margin-bottom: 1rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow-y: auto;
}
.tc-quote-open,
.tc-quote-close {
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: 900;
}
.tc-quote-open {
    margin-right: 0.1rem;
}
.tc-quote-close {
    margin-left: 0.1rem;
}

/* Card photos */
.tc-images {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
    height: 72px;
    flex-shrink: 0;
}
.tc-img-wrap {
    position: relative;
    flex: 1;
}
.tc-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
.tc-img-more::after {
    content: "+" attr(data-count);
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}
/* Placeholder agar kartu tanpa foto tetap sejajar */
.tc-images-empty {
    border: none;
    background: transparent;
    pointer-events: none;
}

/* Card footer */
.tc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid #f0f0f2;
}
.tc-date {
    font-size: 0.7rem;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.tc-cta {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--navy);
    opacity: 0.45;
    transition: opacity 0.15s;
}
.testimoni-card:hover .tc-cta {
    opacity: 1;
    color: var(--gold);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 4rem 1rem;
    color: #9ca3af;
}
.empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #f0f0f2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.25rem;
}
.empty-state h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.5rem;
}
.empty-state p {
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

.btn-primary-custom {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    padding: 0.65rem 1.5rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}
.btn-primary-custom:hover {
    background: #1a3a5c;
    color: var(--white);
}

/* ============================================================
   TESTIMONI PAGE — REVIEW FORM SECTION
============================================================ */
.review-form-section {
    background: var(--white);
    padding: 5rem 0;
}
.review-form-wrap {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
}
@media (max-width: 991px) {
    .review-form-wrap {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}
@media (max-width: 576px) {
    .review-form-section {
        padding: 3rem 0;
    }
}

/* Left info */
.rfl-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}
.rfl-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 1rem;
}
.rfl-desc {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.rfl-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.rfl-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}
.rfl-feature-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(11, 26, 43, 0.07);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}
.rfl-feature-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #111827;
}
.rfl-feature-desc {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Right form */
.review-form {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 576px) {
    .form-row-2 {
        grid-template-columns: 1fr;
    }
}

.form-group-custom {
    margin-bottom: 1.1rem;
}
.form-group-custom > label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #374151;
    margin-bottom: 0.4rem;
}
.form-group-custom > label span {
    color: #ef4444;
}

.input-custom {
    width: 100%;
    background: #f9f9fb;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 0.65rem 0.9rem;
    font-size: 0.875rem;
    color: #111827;
    transition:
        border-color 0.2s,
        background 0.2s,
        box-shadow 0.2s;
    outline: none;
}
.input-custom:focus {
    border-color: var(--navy);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(11, 26, 43, 0.07);
}
.textarea-custom {
    resize: vertical;
    min-height: 110px;
}
.error-msg {
    font-size: 0.72rem;
    color: #ef4444;
    margin-top: 0.3rem;
}
.char-count {
    font-size: 0.72rem;
    color: #9ca3af;
}

/* Star picker */
.star-picker {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 0.9rem;
    background: #f9f9fb;
    border: 1.5px solid var(--border);
    border-radius: 10px;
}
.star-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.12s;
    line-height: 1;
}
.star-btn:hover {
    transform: scale(1.3);
}
.star-btn i {
    font-size: 1.6rem;
    color: var(--border);
    transition: color 0.12s;
}
.star-btn i.active {
    color: #f59e0b;
}
.star-label {
    font-size: 0.78rem;
    color: #9ca3af;
    margin-left: 0.5rem;
}

/* File upload zone */
.file-upload-zone {
    position: relative;
    border: 2px dashed var(--border);
    border-radius: var(--radius-md);
    background: #f9f9fb;
    transition:
        border-color 0.2s,
        background 0.2s;
    overflow-y: auto;
}
.file-upload-zone:hover,
.file-upload-zone.drag-over {
    border-color: var(--navy);
    background: #f5f5f7;
}

.file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.fuz-content {
    padding: 1.5rem;
    text-align: center;
    pointer-events: none;
}
.fuz-icon {
    font-size: 1.75rem;
    color: #9ca3af;
    display: block;
    margin-bottom: 0.4rem;
}
.fuz-text {
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
}
.fuz-hint {
    font-size: 0.72rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}
.fuz-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem;
}
.fuz-preview img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
}

/* Inline alerts */
.alert-custom {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-size: 0.82rem;
}
.alert-custom i {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}
.alert-custom.success {
    background: rgba(22, 163, 74, 0.1);
    color: #15803d;
}
.alert-custom.danger {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

/* Submit button */
.btn-submit-review {
    width: 100%;
    padding: 0.85rem;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition:
        background 0.18s,
        transform 0.15s,
        box-shadow 0.15s;
    margin-top: 0.5rem;
}
.btn-submit-review:hover {
    background: #1a3a5c;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(11, 26, 43, 0.25);
}

/* ============================================================
   TESTIMONI PAGE — CTA STRIP
============================================================ */
.cta-strip {
    background: linear-gradient(135deg, var(--navy) 0%, #0f2a46 100%);
    padding: 3rem 0;
}
.cta-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.cta-title {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 800;
    color: var(--white);
    margin: 0 0 0.35rem;
}
.cta-sub {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.btn-cta-wa {
    display: inline-flex;
    align-items: center;
    background: #25d366;
    color: var(--white);
    padding: 0.85rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
    transition:
        background 0.15s,
        transform 0.15s;
    flex-shrink: 0;
}
.btn-cta-wa:hover {
    background: #1db954;
    color: var(--white);
    transform: translateY(-1px);
}

@media (max-width: 576px) {
    .cta-strip-inner {
        flex-direction: column;
        text-align: center;
    }
    .btn-cta-wa {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
   TESTIMONI PAGE — REVIEW MODAL
============================================================ */
.review-modal-dialog {
    max-width: 900px;
}
.review-modal-content {
    border: none !important;
    border-radius: var(--radius-xl) !important;
    overflow-y: auto;
}
.review-modal-content > .row {
    min-height: 520px;
    max-height: 85vh;
}

/* Left — carousel */
.review-modal-left {
    background: var(--navy);
    position: relative;
    min-height: 300px;
}
.review-modal-left .carousel,
.review-modal-left .carousel-inner,
.review-modal-left .carousel-item {
    position: absolute;
    inset: 0;
    height: 100%;
}
.review-modal-left .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--navy);
}
.carousel-counter {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    backdrop-filter: blur(4px);
    z-index: 10;
}

/* Right — content */
.review-modal-right {
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: 85vh;
}

/* Sticky header */
.rmr-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid #f0f0f2;
    flex-shrink: 0;
}
.rmr-avatar {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), #1a4a6e);
    color: var(--white);
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}
.rmr-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rmr-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--navy);
}
.rmr-role {
    font-size: 0.72rem;
    color: #9ca3af;
}
.rmr-stars i {
    font-size: 0.72rem;
    color: #f59e0b;
}

.rmr-close {
    background: #f5f5f7;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--muted);
    transition:
        background 0.15s,
        color 0.15s;
    flex-shrink: 0;
}
.rmr-close:hover {
    background: #111;
    color: var(--white);
}

/* Scrollable body */
.rmr-body {
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    padding: 1.25rem 1.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}
.rmr-body::-webkit-scrollbar {
    width: 4px;
}
.rmr-body::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.rmr-quote-mark {
    font-size: 4rem;
    line-height: 0.8;
    color: var(--gold);
    opacity: 0.25;
    font-family: Georgia, serif;
    margin-bottom: -0.5rem;
}
.rmr-message {
    font-size: 0.875rem;
    line-height: 1.8;
    color: #374151;
    margin: 0;
}

/* Footer */
.rmr-footer {
    flex-shrink: 0;
    padding: 0.85rem 1.5rem 1.25rem;
    border-top: 1px solid #f0f0f2;
}
.rmr-date {
    font-size: 0.72rem;
    color: #9ca3af;
    display: flex;
    align-items: center;
}

/* No-image mode */
.review-modal-content.no-image .review-modal-left {
    display: none !important;
}
.review-modal-content.no-image #modalContentSection {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    max-height: 85vh;
}

/* Mobile */
@media (max-width: 767px) {
    .review-modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
    .review-modal-content > .row {
        flex-direction: column;
        min-height: unset;
        max-height: 90vh;
        overflow-y: auto;
    }
    .review-modal-left {
        flex: 0 0 auto !important;
        max-width: 100% !important;
        width: 100% !important;
        height: 220px !important;
        min-height: unset;
        position: relative;
    }
    .review-modal-right {
        flex: 1 1 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        max-height: calc(90vh - 220px);
        overflow-y: auto;
    }
    .review-modal-content.no-image > .row {
        flex-direction: column;
    }
    .review-modal-content.no-image .review-modal-right {
        max-height: 90vh;
    }
}

/* ============================================================
   TESTIMONI PAGE — DETAIL CAROUSEL MODAL
============================================================ */
.detail-avatar-wrap {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), #1a3a5c);
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}
.detail-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-quote-wrap {
    background: #f9f9fb;
    border-radius: var(--radius-md);
    padding: 1rem 1rem 1rem 1.25rem;
    border-left: 4px solid #f59e0b;
    position: relative;
    overflow-y: auto;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}
.detail-quote-wrap::-webkit-scrollbar {
    width: 4px;
}
.detail-quote-wrap::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.detail-quote-icon {
    font-size: 3rem;
    line-height: 1;
    color: #f59e0b;
    opacity: 0.25;
    position: absolute;
    top: 0.1rem;
    left: 0.65rem;
    font-family: Georgia, serif;
    pointer-events: none;
}
.detail-quote-text {
    font-size: 0.88rem;
    line-height: 1.8;
    color: #374151;
    margin: 0;
    padding-top: 0.6rem;
}

.rmr-quote-detail {
    font-size: 3rem;
    line-height: 1;
    color: #f59e0b;
    opacity: 0.25;
    position: absolute;
    top: 0.1rem;
    left: 0.65rem;
    font-family: Georgia, serif;
    pointer-events: none;
}

/* Detail carousel sizing */
#detailCarousel,
#detailCarousel .carousel-inner,
#detailCarousel .carousel-item {
    height: 100%;
}

#detailCarousel .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    background: var(--navy);
}

/* ============================================================
   UTILITY
============================================================ */
@media (max-width: 576px) {
    .container-xl {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    .btn {
        border-radius: var(--radius-md);
        padding: 12px;
        font-size: 14px;
    }
}

.about-text {
    text-align: justify;
    text-indent: 40px; /* jarak menjorok */
    line-height: 1.8;
}

/**/
@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
        background-color: #0a1628;
        padding: 0;
        gap: 0;
    }

    /* Ambient atas — sangat tipis */
    .hero-section::before {
        content: "";
        display: block;
        height: 12px;
        background: #0a1628;
        flex-shrink: 0;
        position: relative;
        z-index: 3;
    }

    /* Frame foto — full width, teks di tengah */
    .hero-bg {
        position: relative !important;
        inset: unset !important;
        flex-shrink: 0;

        width: 100%;
        height: 55vw; /* proporsional dengan lebar layar */
        min-height: 200px;
        max-height: 280px;

        background-size: 100% auto !important; /* full width, tidak crop */
        background-position: center center !important;
        background-repeat: no-repeat !important;
        background-color: #0a1628 !important;

        z-index: 0;
    }

    /* Overlay gelap merata agar teks di tengah terbaca */
    .hero-overlay {
        position: absolute !important;
        top: 12px;
        left: 0;
        right: 0;
        height: 55vw;
        min-height: 200px;
        max-height: 280px;
        background: rgba(0, 0, 0, 0.45) !important;
        z-index: 1;
    }

    /* Teks & tombol — di tengah foto */
    .hero-content {
        position: absolute !important;
        top: 12px;
        left: 0;
        right: 0;
        height: 55vw;
        min-height: 200px;
        max-height: 280px;

        z-index: 3;
        padding: 0 20px;

        display: flex !important;
        flex-direction: column;
        justify-content: center; /* vertikal tengah */
        align-items: flex-start;

        background: transparent;
    }

    .hero-text h1 {
        font-size: 20px;
        line-height: 1.15;
        margin-bottom: 12px;
        color: #fff;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    }

    .hero-buttons {
        display: flex;
        gap: 8px;
        flex-wrap: nowrap;
        width: 100%;
    }

    .hero-buttons .btn {
        flex: 1;
        padding: 9px 10px;
        font-size: 12px;
        font-weight: 700;
        border-radius: 10px;
        white-space: nowrap;
    }

    /* Ambient bawah — sangat tipis */
    .hero-section::after {
        content: "";
        display: block;
        height: 12px;
        background: #0a1628;
        flex-shrink: 0;
        position: relative;
        z-index: 0;
    }
}

@media (max-width: 576px) {
    .hero-section::before,
    .hero-section::after {
        height: 8px;
    }

    .hero-bg {
        height: 58vw;
        min-height: 190px;
        max-height: 260px;
        background-size: 100% auto !important;
    }

    .hero-overlay {
        top: 8px;
        height: 58vw;
        min-height: 190px;
        max-height: 260px;
    }

    .hero-content {
        top: 8px;
        height: 58vw;
        min-height: 190px;
        max-height: 260px;
        padding: 0 16px;
    }

    .hero-text h1 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .hero-buttons .btn {
        padding: 9px 8px;
        font-size: 11.5px;
    }
}
@media (min-width: 992px) {
    .hero-section {
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
        background-color: #0a1628;
    }

    .hero-bg {
        position: absolute;
        inset: 0;
        background-repeat: no-repeat;
        z-index: 0;
    }

    .hero-overlay {
        position: absolute;
        inset: 0;
        z-index: 1; /* ← overlay di atas background */
    }

    .hero-content {
        position: relative; /* ← WAJIB relative, bukan static */
        z-index: 10; /* ← lebih tinggi dari overlay */
        width: 100%;
    }
}

/* ============================================================
   BASE — di luar media query
============================================================ */
.hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: #0a1628;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

/* ============================================================
   DESKTOP — ≥992px
============================================================ */
@media (min-width: 992px) {
    .hero-section {
        min-height: 90vh;
        align-items: center;
    }

    .hero-bg {
        background-size: cover;
        background-position: center center;
    }

    .hero-overlay {
        background: linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.45) 50%,
            rgba(0, 0, 0, 0.2) 100%
        );
    }

    .hero-content {
        padding: 0 48px;
        display: flex;
        align-self: center;
    }

    .hero-text {
        max-width: 700px;
        width: 100%;
        text-align: left;
    }

    .hero-text h1 {
        font-size: clamp(2.3rem, 5vw, 4rem);
        line-height: 1.05;
        margin-bottom: 32px;
        color: #fff;
    }

    .hero-buttons {
        display: flex;
        gap: 16px;
        justify-content: flex-start;
    }
}

/* ============================================================
   MOBILE — ≤991px
============================================================ */
@media (max-width: 991px) {
    .hero-section {
        height: calc(56.25vw + 40px);
        min-height: 260px;
        max-height: 400px;
        padding-top: 12px;
        padding-bottom: 12px;
        align-items: center;
        background-color: #0a1628;
        overflow: visible;
    }

    .hero-bg {
        background-size: 100% auto;
        background-position: center center;
        background-color: #0a1628;
        inset: 0;
    }

    .hero-overlay {
        inset: 0;
        background: rgba(0, 0, 0, 0.48);
    }

    .hero-content {
        padding: 0 20px;
        width: 100%;
    }

    .hero-text h1 {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 14px;
        color: #fff;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    }

    .hero-buttons {
        display: flex;
        gap: 8px;
        flex-wrap: nowrap;
        width: 100%;
    }

    .hero-buttons .btn {
        flex: 1;
        padding: 10px;
        font-size: 12.5px;
        font-weight: 700;
        border-radius: 10px;
        white-space: nowrap;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: calc(58vw + 32px);
        min-height: 240px;
        max-height: 360px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .hero-text h1 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .hero-buttons .btn {
        font-size: 11.5px;
        padding: 9px 8px;
    }
}
/*       */
@media (max-width: 991px) {
    .testimoni-hero {
        position: relative;
        height: 320px !important;
        overflow: hidden;
    }

    /* Background */
    .testimoni-hero .hero-bg {
        position: absolute;
        inset: 0;

        background-size: contain;
        background-repeat: no-repeat;
        background-position: center top !important;

        z-index: 0;
    }

    /* Overlay */
    .testimoni-hero .hero-bg::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(11, 26, 43, 0.55);
    }

    /* Hide elemen lain */
    /* Hide decorative blob only */
    .testimoni-hero .hero-blob {
        display: none !important;
    }

    /* FIX TOTAL */
    .testimoni-hero .container-xl {
        position: absolute !important;
        inset: 0;

        z-index: 10;

        display: flex !important;
        flex-direction: column;

        align-items: center !important;
        justify-content: center !important;

        text-align: center;

        width: 100%;
        height: 100%;

        padding: 0 20px !important;
        margin: 0 !important;
    }

    .testimoni-hero .hero-eyebrow {
        margin-bottom: 10px;
        font-size: 12px;
        color: var(--gold);
    }

    .testimoni-hero .hero-title {
        font-size: 24px !important;
        line-height: 1.15;
        margin: 0;

        color: #fff !important;

        max-width: 320px;

        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
    }
}

@media (max-width: 576px) {
    .hero-stats {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 1rem;
    }

    .hero-stat {
        min-width: 90px;
    }

    .hero-stat-number {
        font-size: 1.4rem;
    }

    .hero-stat-label {
        font-size: 0.65rem;
    }

    .hero-subtitle {
        margin-bottom: 1.2rem;
    }
}
