/* ========== CSS VARIABLES ========== */
:root {
    --navy:      #1a1a1a;     /* dark background */
    --navy-dark: #0d0d0d;
    --navy-light:#2a2a2a;
    --red:       #cc0000;     /* primary brand red */
    --red-dark:  #aa0000;
    --gold:      #f5c518;     /* secondary yellow-gold */
    --gold-dark: #d4a800;
}

body { background: #f5f7fb; font-family: 'Segoe UI', Tahoma, sans-serif; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }

/* ========== NAVBAR ========== */
.navbar-casis { background: var(--navy); border-bottom: 3px solid var(--red); padding: .65rem 0; }
.navbar-casis .navbar-brand { color: var(--gold) !important; font-weight: 900; font-size: 1.45rem; letter-spacing: .5px; }
.navbar-casis .navbar-brand span { color: rgba(255,255,255,.6); font-weight: 300; font-size: .75rem; }
.navbar-casis .nav-link { color: rgba(255,255,255,.85) !important; font-weight: 500; padding: .5rem 1rem !important; transition: color .2s; }
.navbar-casis .nav-link:hover, .navbar-casis .nav-link.active { color: var(--gold) !important; }
.navbar-casis .navbar-toggler { border-color: rgba(255,255,255,.3); }
.navbar-casis .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,.85)' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
.text-navy { color: var(--navy) !important; }
.text-red { color: var(--red) !important; }

/* ========== BUTTONS ========== */
.btn-gold { background: var(--gold); color: #1a1a1a; font-weight: 700; border: 2px solid var(--gold); border-radius: 5px; transition: all .2s; }
.btn-gold:hover, .btn-gold:focus { background: var(--gold-dark); border-color: var(--gold-dark); color: white; }
.btn-outline-gold { background: transparent; color: var(--gold); font-weight: 700; border: 2px solid var(--gold); border-radius: 5px; transition: all .2s; }
.btn-outline-gold:hover, .btn-outline-gold:focus { background: var(--gold); color: #1a1a1a; border-color: var(--gold); }
.btn-navy { background: var(--red); color: white; font-weight: 600; border: 2px solid var(--red); border-radius: 5px; transition: all .2s; }
.btn-navy:hover { background: var(--red-dark); border-color: var(--red-dark); color: white; }
.btn-red { background: var(--red); color: white; font-weight: 600; border: 2px solid var(--red); border-radius: 5px; transition: all .2s; }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); color: white; }

/* ========== HERO ========== */
.hero-section { color: white; padding: 90px 0 75px; display: flex; align-items: center; }
.hero-section .container { padding-top: 2rem; padding-bottom: 2rem; }
.hero-badge { display: inline-block; background: rgba(245,197,24,.18); border: 1px solid rgba(245,197,24,.5); color: var(--gold); padding: 4px 14px; border-radius: 20px; font-size: .78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1rem; }
.hero-title { font-size: 2.5rem; font-weight: 900; line-height: 1.2; margin-bottom: 1.2rem; }
.hero-title .text-gold { color: var(--gold); }
.hero-subtitle { font-size: 1.05rem; opacity: .9; margin-bottom: 2rem; max-width: 510px; }
.hero-stat-num { font-size: 1.7rem; font-weight: 900; color: var(--gold); }
.hero-stat-lbl { font-size: .75rem; opacity: .7; text-transform: uppercase; letter-spacing: .5px; }

/* ========== SECTIONS ========== */
.section-label { display: inline-block; background: rgba(204,0,0,.08); color: var(--red); padding: 3px 12px; border-radius: 12px; font-size: .75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: .6rem; }
.section-title { color: var(--navy); font-weight: 800; font-size: 1.85rem; margin-bottom: .4rem; }
.section-divider { width: 48px; height: 4px; background: var(--red); border-radius: 2px; margin: .5rem auto 0; }
.section-divider.left { margin-left: 0; }

/* ========== PROGRAM CARDS ========== */
.program-card { border: none; border-top: 4px solid var(--red); box-shadow: 0 2px 14px rgba(0,0,0,.1); transition: transform .25s, box-shadow .25s; height: 100%; border-radius: 4px; }
.program-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,.18); }
.program-card .card-header { background: var(--navy); color: white; font-weight: 700; font-size: .88rem; padding: .65rem 1rem; border-radius: 0 !important; }
.price-tag { font-size: 1.4rem; font-weight: 900; color: var(--red); }
.dp-tag { font-size: .78rem; color: #888; }

/* ========== STEPS ========== */
.step-box { text-align: center; padding: 1.5rem 1rem; }
.step-circle { width: 68px; height: 68px; border-radius: 50%; background: var(--red); color: white; font-size: 1.5rem; font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; box-shadow: 0 4px 18px rgba(204,0,0,.3); }
.step-box h5 { font-weight: 700; color: var(--navy); font-size: 1rem; }

/* ========== KEUNGGULAN ========== */
.keunggulan-card { border: none; border-radius: 12px; padding: 2rem 1.5rem; box-shadow: 0 2px 16px rgba(0,0,0,.09); background: white; height: 100%; transition: transform .2s; text-align: center; }
.keunggulan-card:hover { transform: translateY(-4px); }
.keunggulan-icon { font-size: 2.5rem; color: var(--red); margin-bottom: .85rem; }

/* ========== MATERI CARDS ========== */
.materi-card { border: none; border-top: 4px solid var(--red); border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,.08); background: white; height: 100%; }
.materi-card .card-header { background: var(--navy); color: white; font-weight: 700; border-radius: 0 !important; padding: .75rem 1.1rem; }
.materi-card .list-group-item { border: none; border-bottom: 1px solid #f0f0f0; padding: .55rem .25rem; font-size: .9rem; }
.materi-item-check { color: var(--red); margin-right: .5rem; }

/* ========== FOOTER ========== */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.72); padding: 48px 0 18px; }
.site-footer h5 { color: var(--gold); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,.62); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--gold); }
.site-footer hr { border-color: rgba(255,255,255,.1); }
.footer-brand { color: var(--gold); font-weight: 900; font-size: 1.3rem; }
.footer-tagline { color: rgba(255,255,255,.5); font-size: .78rem; letter-spacing: .5px; }

/* ========== PAGE HERO ========== */
.page-hero { background: linear-gradient(135deg, #1a0000 0%, #330000 60%, #1a1a1a 100%); color: white; padding: 30px 0; }
.page-hero h1 { font-size: 1.7rem; font-weight: 800; margin: 0; }
.page-hero p { margin: .3rem 0 0; opacity: .8; font-size: .88rem; }

/* ========== STAT CARDS ========== */
.stat-card { border: none; border-left: 5px solid var(--red); box-shadow: 0 2px 10px rgba(0,0,0,.08); border-radius: 8px; padding: 1.2rem 1.5rem; background: white; }
.stat-card.navy  { border-left-color: var(--navy); }
.stat-card.green { border-left-color: #28a745; }
.stat-card.red   { border-left-color: var(--red); }
.stat-label { font-size: .68rem; text-transform: uppercase; letter-spacing: 1px; color: #888; font-weight: 600; }
.stat-value { font-size: 1.5rem; font-weight: 800; color: var(--navy); line-height: 1.2; }

/* ========== JADWAL ========== */
.jadwal-day-header { background: var(--navy); color: white; font-weight: 700; padding: .4rem .85rem; border-radius: 6px; font-size: .82rem; margin-bottom: .5rem; }
.jadwal-card { border: none; border-left: 4px solid var(--red); border-radius: 8px; background: white; box-shadow: 0 1px 8px rgba(0,0,0,.07); padding: .9rem 1.1rem; margin-bottom: .6rem; }
.jadwal-card.online { border-left-color: #28a745; }
.jadwal-time { font-weight: 800; color: var(--navy); font-size: .9rem; }
.jadwal-mapel { font-weight: 600; color: #333; font-size: .9rem; }

/* ========== NOTIFIKASI ========== */
.notif-item { border-left: 3px solid var(--gold); padding: .65rem .9rem; background: #fffdf0; border-radius: 0 8px 8px 0; margin-bottom: .4rem; }
.notif-item.read { border-left-color: #dee2e6; background: #f8f9fa; }
.notif-judul { font-weight: 700; font-size: .85rem; color: var(--navy); }
.notif-pesan { font-size: .8rem; color: #666; }

/* ========== FORMS ========== */
.card-form { border: none; box-shadow: 0 4px 24px rgba(0,0,0,.12); border-radius: 12px; }
.card-form .card-header { background: var(--navy); color: white; font-weight: 700; border-radius: 12px 12px 0 0 !important; padding: 1rem 1.5rem; }
.form-control:focus, .form-select:focus { border-color: var(--red); box-shadow: 0 0 0 .2rem rgba(204,0,0,.18); }
.form-label { font-weight: 600; color: #444; font-size: .87rem; }

/* ========== STATUS BADGES ========== */
.status-pending  { background: #ffc107; color: #333; padding: 3px 10px; border-radius: 12px; font-size: .73rem; font-weight: 700; display: inline-block; }
.status-approved { background: #17a2b8; color: white; padding: 3px 10px; border-radius: 12px; font-size: .73rem; font-weight: 700; display: inline-block; }
.status-aktif    { background: #28a745; color: white; padding: 3px 10px; border-radius: 12px; font-size: .73rem; font-weight: 700; display: inline-block; }
.status-rejected { background: #dc3545; color: white; padding: 3px 10px; border-radius: 12px; font-size: .73rem; font-weight: 700; display: inline-block; }
.status-menunggu     { background: #ffc107; color: #333; padding: 3px 10px; border-radius: 12px; font-size: .73rem; font-weight: 700; display: inline-block; }
.status-terverifikasi{ background: #28a745; color: white; padding: 3px 10px; border-radius: 12px; font-size: .73rem; font-weight: 700; display: inline-block; }
.status-ditolak      { background: #dc3545; color: white; padding: 3px 10px; border-radius: 12px; font-size: .73rem; font-weight: 700; display: inline-block; }

/* ========== CARD SECTION ========== */
.card-section { border: none; box-shadow: 0 2px 12px rgba(0,0,0,.08); border-radius: 10px; }
.card-section .card-header { background: white; border-bottom: 2px solid #e9ecef; font-weight: 700; color: var(--navy); border-radius: 10px 10px 0 0 !important; }
.main-content { padding: 2rem 0; min-height: 65vh; }

/* ========== ALUMNI WALL ========== */
.alumni-card { background: #242424; border-radius: 10px; border-top: 3px solid var(--gold); padding: 1.4rem 1rem 1rem; text-align: center; transition: transform .22s, box-shadow .22s; height: 100%; }
.alumni-card:hover { transform: translateY(-5px); box-shadow: 0 10px 28px rgba(0,0,0,.45); }
.alumni-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); margin: 0 auto .7rem; display: block; }
.alumni-avatar-placeholder { width: 80px; height: 80px; border-radius: 50%; background: rgba(245,197,24,.1); border: 3px solid rgba(245,197,24,.45); margin: 0 auto .7rem; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; color: rgba(245,197,24,.55); }
.alumni-nama { color: white; font-weight: 700; font-size: .88rem; margin-bottom: .3rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.alumni-badge { display: inline-block; padding: 2px 10px; border-radius: 10px; color: white; font-size: .68rem; font-weight: 700; letter-spacing: .5px; margin-bottom: .35rem; }
.alumni-meta { color: rgba(255,255,255,.4); font-size: .73rem; }

/* ========== TESTIMONI CAROUSEL ========== */
.testimoni-section { background: #f9f9f9; }
.testimoni-card { max-width: 680px; margin: 0 auto; text-align: center; padding: 2.5rem 2rem; }
.testimoni-avatar { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; border: 4px solid var(--gold); margin: 0 auto 1rem; display: block; box-shadow: 0 4px 16px rgba(245,197,24,.3); }
.testimoni-avatar-placeholder { width: 90px; height: 90px; border-radius: 50%; background: rgba(204,0,0,.08); border: 4px solid var(--gold); margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--red); }
.testimoni-text { font-style: italic; font-size: 1.02rem; color: #444; line-height: 1.8; margin-bottom: .75rem; }
.testimoni-nama { font-weight: 800; color: #1a1a1a; font-size: .95rem; }
.testimoni-instansi { font-size: .8rem; color: var(--gold); font-weight: 700; }
.testimoni-stars { color: var(--gold); font-size: 1.05rem; letter-spacing: 2px; margin-top: .3rem; }
/* Carousel arrow override for dark bg */
.testimoni-section .carousel-control-prev-icon,
.testimoni-section .carousel-control-next-icon { filter: invert(1) brightness(.4); }
.testimoni-section .carousel-control-prev,
.testimoni-section .carousel-control-next { width: 44px; color: #999; opacity: 1; }

/* ========== REGISTRATION FEE NOTICE ========== */
.reg-fee-notice { background: linear-gradient(135deg, var(--red), var(--red-dark)); color: white; border-radius: 8px; padding: .75rem 1.25rem; font-size: .85rem; }
