/* =============================================
   Dian Cahaya Travel — Design System CSS
   Theme: "Spiritual Elegance"
   ============================================= */

/* --- Google Fonts --- */

/* --- Design Tokens --- */
:root {
    --color-primary: #064E3B;
    --color-primary-dark: #043D2E;
    --color-primary-light: #0A6B52;
    --color-accent: #B45309;
    --color-accent-light: #D97706;
    --color-accent-pale: #FEF3C7;
    --color-bg: #F8F7F4;
    --color-bg-card: #FFFFFF;
    --color-text: #1C1917;
    --color-text-muted: #78716C;
    --color-border: #E7E5E4;

    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    --shadow-sm: 0 1px 3px rgba(6, 78, 59, 0.08), 0 1px 2px rgba(6, 78, 59, 0.04);
    --shadow-md: 0 4px 12px rgba(6, 78, 59, 0.10), 0 2px 6px rgba(6, 78, 59, 0.06);
    --shadow-lg: 0 10px 30px rgba(6, 78, 59, 0.12), 0 4px 12px rgba(6, 78, 59, 0.08);
    --shadow-xl: 0 20px 50px rgba(6, 78, 59, 0.15);

    --transition: all 0.25s ease;
}

/* --- Base Reset & Typography --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

/* Bootstrap primary color diselaraskan dengan identitas brand */
.text-primary {
    color: var(--color-primary) !important;
}

/* --- Entrance Animation System --- */
@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Hero-specific entrance: page-load triggered (immediate) */
.hero-anim {
    opacity: 0;
    animation: heroFadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    will-change: opacity, transform;
}

.hero-anim-d1 {
    animation-delay: 0.10s;
}

.hero-anim-d2 {
    animation-delay: 0.22s;
}

.hero-anim-d3 {
    animation-delay: 0.34s;
}

.hero-anim-d4 {
    animation-delay: 0.46s;
}

/* Hero background smooth fade-in */
.dct-hero {
    animation: fadeIn 0.6s ease forwards;
}

/* Scroll-triggered reveal system (smooth CSS transition) */
.anim-ready {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.anim-ready.anim-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay utilities */
.anim-delay-1 {
    transition-delay: 0.08s;
}

.anim-delay-2 {
    transition-delay: 0.16s;
}

.anim-delay-3 {
    transition-delay: 0.24s;
}

.anim-delay-4 {
    transition-delay: 0.32s;
}

.anim-delay-5 {
    transition-delay: 0.40s;
}

.anim-delay-6 {
    transition-delay: 0.48s;
}

/* Scale-in variant for cards */
.anim-ready.anim-scale {
    transform: scale(0.95) translateY(18px);
}

.anim-ready.anim-scale.anim-visible {
    transform: scale(1) translateY(0);
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {

    .anim-ready,
    .hero-anim {
        opacity: 1 !important;
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }

    .anim-ready.anim-visible {
        transform: none !important;
    }

    .dct-hero {
        animation: none !important;
    }
}

/* --- Bootstrap Overrides --- */
.btn-primary {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    border-color: var(--color-primary);
    color: #fff;
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-color: var(--color-primary-dark);
    box-shadow: 0 4px 15px rgba(6, 78, 59, 0.3);
    transform: translateY(-1px);
}

.btn-accent {
    background: linear-gradient(135deg, #D97927 0%, var(--color-accent) 100%);
    border-color: var(--color-accent);
    color: #fff;
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.btn-accent:hover,
.btn-accent:focus {
    background: linear-gradient(135deg, var(--color-accent) 0%, #9A4608 100%);
    border-color: #9A4608;
    color: #fff;
    box-shadow: 0 4px 15px rgba(180, 83, 9, 0.3);
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--color-primary);
    border-color: var(--color-primary);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    transform: translateY(-1px);
}

/* --- Card Component --- */
.dct-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    border-top: 3px solid transparent;
    transition: var(--transition);
    overflow: hidden;
}

.dct-card:hover {
    border-top: 3px solid;
    border-image: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%) 1;
}

.dct-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* --- Section Headings --- */
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.2;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.section-badge {
    display: inline-block;
    background: var(--color-accent-pale);
    color: var(--color-accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 0.75rem;
}

/* --- Navbar --- */
.dct-navbar {
    background: linear-gradient(120deg, #053E2E 0%, var(--color-primary) 45%, var(--color-primary-light) 100%) !important;
    box-shadow: 0 2px 20px rgba(6, 78, 59, 0.25);
    padding: 0.9rem 0;
}

.dct-navbar .navbar-brand {
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff !important;
    letter-spacing: -0.01em;
}

.dct-navbar .nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    padding: 0.4rem 0.9rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.dct-navbar .nav-link::after {
    content: '';
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.15rem;
    height: 2px;
    background: var(--color-accent-light, #F0AD6E);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.dct-navbar .nav-link:hover,
.dct-navbar .nav-link.active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08);
}

.dct-navbar .nav-link:hover::after,
.dct-navbar .nav-link.active::after {
    transform: scaleX(1);
}

.dct-navbar .btn-daftar {
    background: var(--color-accent);
    color: #fff !important;
    border-radius: var(--radius-md);
    font-weight: 600;
    padding: 0.4rem 1.1rem !important;
    transition: var(--transition);
}

.dct-navbar .btn-daftar:hover {
    background: var(--color-accent-light);
    transform: translateY(-1px);
}

/* --- Hero Section --- */
.dct-hero {
    background:
        linear-gradient(135deg, rgba(6, 78, 59, 0.88) 0%, rgba(13, 122, 95, 0.78) 60%, rgba(6, 78, 59, 0.90) 100%),
        url('/images/beranda-hero.webp') center/cover no-repeat;
    min-height: 88vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4rem;
}

.dct-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.dct-hero .hero-content {
    position: relative;
    z-index: 1;
}

.dct-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.dct-hero .hero-lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 520px;
}

.dct-hero .hero-img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    object-fit: cover;
    width: 100%;
    max-height: 480px;
}

.dct-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}

/* --- Keunggulan Section --- */
.dct-keunggulan {
    padding: 5rem 0;
    background: #fff;
}

.keunggulan-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1rem;
    transition: var(--transition);
}

/* --- Paket Cards --- */
.dct-pakets {
    padding: 5rem 0;
    background: linear-gradient(180deg, #F0FBF6 0%, var(--color-bg) 35%, #FFF9F0 100%);
}

.paket-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.paket-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.paket-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.paket-card-img-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.6);
}

.paket-card-body {
    padding: 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.paket-jenis-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.7rem;
    border-radius: 100px;
    background: var(--color-accent-pale);
    color: var(--color-accent);
    margin-bottom: 0.6rem;
}

.paket-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.paket-harga {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-accent);
    background: linear-gradient(135deg, #D97706 0%, var(--color-accent) 55%, #92400E 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.75rem;
}

.paket-meta {
    color: var(--color-text-muted);
    font-size: 0.88rem;
}

.paket-meta i {
    color: var(--color-primary);
    margin-right: 0.3rem;
}

/* --- Quota Status Badges --- */
.kuota-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    letter-spacing: 0.02em;
}

.kuota-badge i {
    margin-right: 0;
}

.kuota-tersedia {
    background: #D1FAE5;
    color: #065F46;
}

.kuota-terbatas {
    background: #FEF3C7;
    color: #92400E;
}

.kuota-habis {
    background: #FEE2E2;
    color: #991B1B;
}

/* Sold-out card overlay */
.paket-card.sold-out {
    position: relative;
}

.paket-card.sold-out .paket-card-img,
.paket-card.sold-out .paket-card-img-placeholder {
    filter: grayscale(70%) brightness(0.7);
}

.sold-out-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(220, 38, 38, 0.92);
    color: #fff;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
}

/* Kuota habis popup modal */
.kuota-habis-modal .modal-content {
    border-radius: var(--radius-lg);
    border: none;
    box-shadow: var(--shadow-xl);
}

.kuota-habis-modal .modal-header {
    background: linear-gradient(135deg, #FEE2E2, #FECACA);
    border-bottom: none;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 1.5rem;
}

.kuota-habis-modal .modal-body {
    padding: 1.5rem;
}

/* --- Page Header Light (off-white, sesuai DESIGN.md) --- */
.page-header-light {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 3rem 0 2rem;
}

.page-header-light .section-badge {
    margin-bottom: 0.6rem;
}

.page-header-light h1 {
    color: var(--color-primary);
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 0.4rem;
}

.page-header-light p {
    color: var(--color-text-muted);
    margin: 0;
}

/* --- Testimoni --- */
.dct-testimoni {
    padding: 5rem 0;
    background: var(--color-primary);
}

.testimoni-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    color: #fff;
    transition: var(--transition);
}

.testimoni-card:hover {
    background: rgba(255, 255, 255, 0.12);
}

.testimoni-stars {
    color: var(--color-accent-light);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.testimoni-text {
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.testimoni-author {
    font-weight: 700;
    color: #fff;
}

.testimoni-origin {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.testimoni-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* --- CTA Section --- */
.dct-cta {
    padding: 5rem 0;
    background: #fff;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.dct-cta-inner {
    background: linear-gradient(135deg, #F0FDF4 0%, #ECFDF5 100%);
    border: 1.5px solid rgba(6, 78, 59, 0.12);
    border-radius: var(--radius-xl);
    padding: 3.5rem 2rem;
    max-width: 680px;
    margin: 0 auto;
}

.dct-cta-inner h2 {
    color: var(--color-primary);
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.dct-cta-inner p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.btn-cta-primary {
    background: linear-gradient(135deg, #D97706 0%, var(--color-accent) 100%);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    padding: 0.8rem 2rem;
    font-size: 1.05rem;
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
}

.btn-cta-primary:hover {
    background: linear-gradient(135deg, var(--color-accent) 0%, #92400E 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(180, 83, 9, 0.35);
}

.btn-cta-wa {
    background: transparent;
    color: var(--color-text-muted);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    font-weight: 600;
    padding: 0.8rem 2rem;
    font-size: 1.05rem;
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
}

.btn-cta-wa:hover {
    border-color: #25D366;
    color: #25D366;
    background: #F0FDF4;
}

.btn-cta-accent {
    background: linear-gradient(135deg, #25D366 0%, #1EBE5D 100%);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    padding: 0.8rem 2rem;
    font-size: 1.05rem;
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
}

.btn-cta-accent:hover {
    background: linear-gradient(135deg, #1EBE5D 0%, #128C4A 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.btn-cta-white {
    background: #fff;
    color: var(--color-accent);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    padding: 0.75rem 2rem;
    font-size: 1.05rem;
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
}

.btn-cta-white:hover {
    background: #FEF3C7;
    color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* --- Stepper (Form Multi-Step) --- */
.dct-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2.5rem;
    padding: 0;
    position: relative;
}

.stepper-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    max-width: 160px;
}

.stepper-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 19px;
    left: calc(50% + 20px);
    right: calc(-50% + 20px);
    height: 2px;
    background: var(--color-border);
    z-index: 0;
    transition: background 0.4s ease;
}

.stepper-item.completed:not(:last-child)::after {
    background: var(--color-primary);
}

.stepper-dot {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--color-text-muted);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.stepper-item.active .stepper-dot {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(6, 78, 59, 0.12);
}

.stepper-item.completed .stepper-dot {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #fff;
}

.stepper-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
    text-align: center;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.stepper-item.active .stepper-label,
.stepper-item.completed .stepper-label {
    color: var(--color-primary);
}

.step-panel {
    display: none;
}

.step-panel.active {
    display: block;
    animation: fadeInStep 0.25s ease;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateX(12px);
    }

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

.stepper-nav {
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
}

/* --- Footer --- */
.dct-footer {
    background: linear-gradient(160deg, var(--color-primary-dark) 0%, #042A20 60%, #05201A 100%);
    color: rgba(255, 255, 255, 0.75);
    padding: 3.5rem 0 1.5rem;
}

.dct-footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.1rem;
}

.dct-footer a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: var(--transition);
}

.dct-footer a:hover {
    color: var(--color-accent-light);
}

.dct-footer .footer-divider {
    border-color: rgba(255, 255, 255, 0.12);
    margin: 2rem 0 1.25rem;
}

.dct-footer .footer-bottom {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

.ppiu-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.8rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0.5rem;
}

/* --- Admin Sidebar --- */
.dct-sidebar {
    width: 260px;
    min-height: 100vh;
    background: var(--color-primary);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: 4px 0 20px rgba(6, 78, 59, 0.15);
}

.dct-sidebar .sidebar-brand {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dct-sidebar .sidebar-brand-title {
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    line-height: 1.3;
    display: block;
}

.dct-sidebar .sidebar-brand-sub {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
}

.dct-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    padding: 0.7rem 1.5rem;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transition: var(--transition);
    font-size: 0.93rem;
}

.dct-sidebar .nav-link:hover,
.dct-sidebar .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-left: 3px solid var(--color-accent-light);
}

.dct-sidebar .nav-link i {
    width: 18px;
    text-align: center;
}

.dct-sidebar .sidebar-logout {
    margin-top: auto;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dct-admin-content {
    margin-left: 260px;
    min-height: 100vh;
    background: var(--color-bg);
}

.dct-topbar {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
}

.dct-topbar .topbar-title {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.05rem;
}

.dct-page-content {
    padding: 1.75rem;
}

/* --- Admin Stat Cards --- */
.stat-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stat-card .stat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 0.25rem;
}

/* --- Admin Table --- */
.dct-table-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.dct-table-card .table-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dct-table-card .table-header h5 {
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

.dct-table th {
    background: var(--color-bg);
    color: var(--color-text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.9rem 1rem;
    border-bottom: 2px solid var(--color-border);
}

.dct-table td {
    padding: 0.9rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--color-border);
}

.dct-table tr:last-child td {
    border-bottom: none;
}

.dct-table tr:hover td {
    background: #F9F8F6;
}

/* --- Form Styling --- */
.dct-form-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    padding: 2rem;
}

.form-label {
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.form-control,
.form-select {
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.85rem;
    font-family: var(--font-sans);
    font-size: 0.93rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(6, 78, 59, 0.12);
}

/* --- Badges --- */
.badge-aktif {
    background: #D1FAE5;
    color: #065F46;
    font-weight: 700;
}

.badge-nonaktif {
    background: #FEE2E2;
    color: #991B1B;
    font-weight: 700;
}

.badge-baru {
    background: #DBEAFE;
    color: #1D4ED8;
    font-weight: 700;
}

.badge-dihubungi {
    background: #FEF3C7;
    color: #92400E;
    font-weight: 700;
}

.badge-deal {
    background: #D1FAE5;
    color: #065F46;
    font-weight: 700;
}

/* --- Alert Flash --- */
.dct-alert {
    border: none;
    border-radius: var(--radius-md);
    padding: 0.9rem 1.25rem;
    font-weight: 500;
}

.dct-alert-success {
    background: #D1FAE5;
    color: #065F46;
}

.dct-alert-danger {
    background: #FEE2E2;
    color: #991B1B;
}

/* --- Pagination --- */
.page-link {
    color: var(--color-primary);
    border-color: var(--color-border);
    border-radius: var(--radius-sm) !important;
    margin: 0 2px;
    transition: var(--transition);
}

.page-link:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.page-item.active .page-link {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
    .dct-sidebar {
        display: none;
    }

    .dct-admin-content {
        margin-left: 0;
    }

    .dct-hero {
        min-height: auto;
        padding: 5rem 0 3rem;
    }
}

/* ── Fix: Testimoni heading on dark bg ──────────────────── */
.dct-testimoni .section-badge {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dct-testimoni .section-title {
    color: #fff;
}

.dct-testimoni .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
}

/* ── Responsive: Tablet (≤ 991px) ───────────────────────── */
@media (max-width: 991.98px) {

    /* Hero */
    .dct-hero {
        padding: 4rem 0 3rem;
        text-align: center;
    }

    .dct-hero h1 {
        font-size: clamp(1.9rem, 5vw, 2.8rem);
    }

    .dct-hero .hero-lead {
        max-width: 100%;
        margin: 0 auto 1.5rem;
    }

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

    .dct-hero .hero-stats {
        justify-content: center;
    }

    /* Keunggulan: 2 kolom di tablet */
    .dct-keunggulan .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* Paket: 2 kolom di tablet */
    .dct-pakets .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* Testimoni: stack vertikal */
    .dct-testimoni .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* CTA buttons */
    .dct-cta .d-flex {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem !important;
    }

    .btn-cta-white {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    /* Section spacing tighter */
    .dct-keunggulan,
    .dct-pakets,
    .dct-testimoni,
    .dct-cta {
        padding: 3.5rem 0;
    }
}

/* ── Responsive: Mobile (≤ 767px) ───────────────────────── */
@media (max-width: 767.98px) {

    /* Hero full-width */
    .dct-hero {
        padding: 3.5rem 0 2.5rem;
        min-height: auto;
    }

    .dct-hero h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .dct-hero .hero-lead {
        font-size: 1rem;
    }

    .dct-hero .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.9rem;
    }

    /* Keunggulan: 1 kolom di mobile */
    .dct-keunggulan .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Paket cards: single col */
    .dct-pakets .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Testimoni: single col */
    .dct-testimoni .col-md-6,
    .dct-testimoni .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Reduce section padding */
    .dct-keunggulan,
    .dct-pakets,
    .dct-testimoni,
    .dct-cta {
        padding: 2.5rem 0;
    }

    .dct-cta h2 {
        font-size: 1.5rem;
    }

    /* Section headings */
    .section-title {
        font-size: 1.6rem;
    }

    /* Page header */
    div[style*="padding:4rem 0 3rem"],
    div[style*="padding:3.5rem 0 2.5rem"] {
        padding: 2.5rem 0 1.75rem !important;
    }

    /* Paket meta wrapping */
    .paket-meta {
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    /* Footer: single col */
    .dct-footer .col-md-4,
    .dct-footer .col-md-2 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }

    /* Admin table horizontal scroll */
    .dct-table-card {
        overflow-x: auto;
    }
}

/* ── Responsive: XS (≤ 575px) ───────────────────────────── */
@media (max-width: 575.98px) {
    .dct-hero h1 {
        font-size: 1.55rem;
    }

    .dct-hero .gap-3 {
        gap: 0.6rem !important;
    }

    .dct-hero .btn-primary,
    .dct-hero .btn-accent {
        padding: 0.6rem 1.2rem;
        font-size: 0.92rem;
    }

    /* Navbar: ensure logo doesn't overflow */
    .dct-navbar .navbar-brand {
        font-size: 1rem;
        max-width: 140px;
    }

    .dct-navbar img {
        width: 28px !important;
        height: 28px !important;
    }

    /* CTA full-width button */
    .btn-cta-white,
    .dct-cta a[style] {
        display: block !important;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        text-align: center;
    }

    /* Tim foto: single col */
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Stat cards in hero */
    .dct-hero .row.text-center.g-0>[class*="col"] {
        font-size: 0.7rem;
    }
}

/* ── Hero right-col: hidden on mobile, clean on desktop ─── */
@media (max-width: 575.98px) {

    /* the hero right col is already d-none d-lg-flex, safe */
    .dct-hero .hero-badge {
        display: none;
    }
}