﻿/* =========================
   PUI TENAJAR LOR â€” DESIGN SYSTEM
   Modern Islamic Corporate Education
========================= */

/* =========================
   CSS VARIABLES
========================= */
:root {
    --primary: #008d4e;
    --primary-dark: #007341;
    --primary-soft: #008d4e12;
    --secondary: #dcba00;
    --secondary-soft: #dcba001a;

    --dark: #16323a;
    --dark-2: #0f262d;
    --text: #334155;
    --muted: #64748b;

    --light: #f8fafc;
    --light-2: #eef4f3;
    --white: #ffffff;

    --glass: rgba(255, 255, 255, 0.72);

    --border: rgba(0, 141, 78, 0.12);
    --border-solid: #e2e8f0;

    --shadow-sm: 0 5px 20px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 15px 40px rgba(15, 23, 42, 0.09);
    --shadow-lg: 0 25px 60px rgba(15, 23, 42, 0.13);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --transition: all .3s ease;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* =========================
   BASE
========================= */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--light);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
}

section {
    position: relative;
}

::selection {
    background: var(--primary);
    color: #fff;
}

:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* =========================
   UTILITIES
========================= */
.section {
    padding: 96px 0;
}

.section-sm {
    padding: 64px 0;
}

.section-bg {
    background: var(--light-2);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
}

.eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
}

.eyebrow-center::after {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    margin-bottom: 12px;
}

.section-desc {
    color: var(--muted);
    font-size: 17px;
    max-width: 640px;
}

.text-gradient {
    background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 60%, var(--secondary) 130%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: var(--shadow-md);
}

.mt-n {
    margin-top: -40px;
}

.z-1 { z-index: 1; }
.z-2 { z-index: 2; }

/* =========================
   BUTTONS
========================= */
.btn {
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 50px;
    padding: 12px 26px;
    font-size: 15px;
    transition: var(--transition);
}

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

.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 141, 78, 0.3);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

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

.btn-accent {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #16323a;
}

.btn-accent:hover,
.btn-accent:focus {
    background: #b99a00;
    border-color: #b99a00;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(220, 186, 0, 0.35);
}

.btn-light-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-light-outline:hover,
.btn-light-outline:focus {
    background: #fff;
    color: var(--primary-dark);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 15px 34px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

/* =========================
   TOP BAR
========================= */
.topbar {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    padding: 8px 0;
}

.topbar a {
    color: rgba(255, 255, 255, 0.85);
}

.topbar a:hover {
    color: var(--secondary);
}

.topbar .bi {
    color: var(--secondary);
    margin-right: 6px;
    font-size: 12px;
}

.topbar-social a {
    display: inline-flex;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    margin-left: 6px;
}

.topbar-social a:hover {
    background: var(--secondary);
}

.topbar-social a:hover .bi {
    color: var(--dark);
}

/* =========================
   NAVBAR
========================= */
.navbar-pui {
    padding: 14px 0;
    background: var(--glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar-pui.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.navbar-brand-pui {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand-pui img {
    height: 48px;
    width: 48px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.navbar-brand-pui .brand-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 19px;
    line-height: 1.2;
    color: var(--dark);
}

.navbar-brand-pui .brand-name small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--primary);
}

.navbar-pui .nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 15px;
    color: var(--dark);
    padding: 10px 14px !important;
    border-radius: 50px;
    position: relative;
}

.navbar-pui .nav-link:hover {
    color: var(--primary);
}

.navbar-pui .nav-link.active {
    color: var(--primary);
    background: var(--primary-soft);
}

.navbar-pui .dropdown-menu {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 10px;
    min-width: 210px;
}

.navbar-pui .dropdown-item {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 14px;
    color: var(--dark);
    border-radius: 10px;
    padding: 10px 14px;
}

.navbar-pui .dropdown-item:hover,
.navbar-pui .dropdown-item.active {
    background: var(--primary-soft);
    color: var(--primary);
}

.navbar-pui .btn-navbar {
    padding: 9px 22px;
    font-size: 14px;
}

.navbar-toggler {
    border: none;
    color: var(--dark);
    font-size: 1.6rem;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* =========================
   PAGE HERO (inner pages)
========================= */
.page-hero {
    padding: 110px 0 84px;
    background:
        radial-gradient(900px 480px at 85% -10%, rgba(0, 141, 78, 0.16), transparent 60%),
        radial-gradient(700px 420px at 0% 110%, rgba(220, 186, 0, 0.12), transparent 55%),
        linear-gradient(150deg, var(--light-2) 0%, var(--light) 100%);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.page-hero h1 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    margin-bottom: 14px;
}

.page-hero p {
    color: var(--muted);
    max-width: 560px;
    font-size: 17px;
}

.page-hero .breadcrumb {
    margin-bottom: 0;
    justify-content: flex-start;
}

.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
}

.page-hero .breadcrumb-item.active {
    color: var(--primary);
    font-weight: 600;
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: var(--muted);
}

.page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary-soft);
    color: #9a8400;
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

/* =========================
   HERO (home)
========================= */
.hero {
    padding: 120px 0 120px;
    background:
        radial-gradient(1000px 600px at 90% 0%, rgba(0, 141, 78, 0.14), transparent 55%),
        radial-gradient(800px 500px at -5% 100%, rgba(220, 186, 0, 0.10), transparent 50%),
        linear-gradient(160deg, #ffffff 0%, var(--light-2) 100%);
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-sm);
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.hero .lead {
    font-size: 17px;
    color: var(--muted);
    max-width: 520px;
}

.hero-image-wrap {
    position: relative;
}

.hero-image-wrap .main-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.hero-float-card {
    position: absolute;
    background: var(--glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-float-card .bi {
    font-size: 26px;
    color: var(--primary);
    background: var(--primary-soft);
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
}

.hero-float-card strong {
    font-family: var(--font-heading);
    color: var(--dark);
    font-size: 15px;
    display: block;
    line-height: 1.3;
}

.hero-float-card span {
    font-size: 12.5px;
    color: var(--muted);
}

.hero-float-card.fc-1 { top: 26px; left: -40px; animation: floatY 6s ease-in-out infinite; }
.hero-float-card.fc-2 { bottom: 40px; right: -30px; animation: floatY 7s ease-in-out infinite 1s; }

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    z-index: 0;
}

.hero-blob.blob-1 {
    width: 420px;
    height: 420px;
    top: -120px;
    right: -80px;
    background: radial-gradient(circle, rgba(0, 141, 78, 0.10), transparent 65%);
}

/* =========================
   HERO SLIDER (index2)
========================= */
.hero-slider {
    position: relative;
}

.hero-slide {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(15, 38, 45, 0.92) 0%, rgba(15, 38, 45, 0.72) 45%, rgba(15, 38, 45, 0.35) 100%);
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

.hero-slide .hero-slide-content {
    max-width: 640px;
}

.hero-slide .hero-badge {
    background: rgba(0, 141, 78, 0.22);
    border-color: rgba(0, 141, 78, 0.45);
    color: #8ce0b0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-slide .hero-badge .bi {
    color: var(--secondary);
}

.hero-slide h1 {
    color: #fff;
    font-size: clamp(2.2rem, 5.4vw, 3.9rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.hero-slide h1 .text-gradient {
    background: linear-gradient(90deg, #34d17f, #7fe0ab);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-slide .lead {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.82);
    max-width: 520px;
}

.hero-slider .carousel-indicators {
    z-index: 3;
}

.hero-slider .carousel-indicators [data-bs-target] {
    width: 34px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.4);
    border: 0;
    transition: var(--transition);
}

.hero-slider .carousel-indicators .active {
    background: #34d17f;
    width: 46px;
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 54px;
    height: 54px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: var(--transition);
    z-index: 3;
}

.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next {
    opacity: 1;
}

.hero-slider .carousel-control-prev {
    left: 24px;
}

.hero-slider .carousel-control-next {
    right: 24px;
}

.hero-slider .carousel-control-prev .carousel-control-prev-icon,
.hero-slider .carousel-control-next .carousel-control-next-icon {
    background: rgba(0, 141, 78, 0.55);
    border: 1px solid rgba(0, 141, 78, 0.6);
    border-radius: 50%;
    padding: 18px;
    background-size: 45%;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.hero-slider .carousel-control-prev:hover .carousel-control-prev-icon,
.hero-slider .carousel-control-next:hover .carousel-control-next-icon {
    background-color: var(--primary);
    border-color: var(--primary);
}

@media (max-width: 767.98px) {
    .hero-slide {
        min-height: 82vh;
        padding: 80px 0;
    }

    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next {
        display: none;
    }
}

/* =========================
   404 / NOT FOUND
========================= */
.error-page {
    padding: 100px 0 110px;
    text-align: center;
    background:
        radial-gradient(900px 500px at 80% 0%, rgba(0, 141, 78, 0.12), transparent 55%),
        radial-gradient(700px 450px at 10% 100%, rgba(220, 186, 0, 0.10), transparent 50%),
        var(--light);
    overflow: hidden;
    position: relative;
}

.error-code {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(5rem, 16vw, 11rem);
    line-height: 1;
    color: transparent;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 45%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    letter-spacing: -4px;
    margin-bottom: 8px;
}

.error-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    color: var(--dark);
    margin-bottom: 14px;
}

.error-text {
    color: var(--muted);
    font-size: 16px;
    max-width: 520px;
    margin: 0 auto 32px;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.error-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 34px 0 0;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.error-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--border-solid);
    border-radius: 50px;
    padding: 8px 18px;
    transition: var(--transition);
}

.error-links a:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--primary-soft);
}

@media (max-width: 575.98px) {
    .error-page {
        padding: 70px 0 80px;
    }
}

/* =========================
   TRUST STRIP
========================= */
.trust-strip {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 8px;
}

.trust-item .icon {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 16px;
    transition: var(--transition);
}

.trust-item:hover .icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05);
}

.trust-item strong {
    font-family: var(--font-heading);
    color: var(--dark);
    font-size: 16.5px;
    display: block;
}

.trust-item span {
    font-size: 13.5px;
    color: var(--muted);
}

/* =========================
   ABOUT
========================= */
.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.about-exp-card {
    position: absolute;
    bottom: -26px;
    right: 24px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-md);
    padding: 18px 24px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.about-exp-card .num {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    color: var(--secondary);
}

.about-exp-card .label {
    font-size: 12.5px;
    opacity: 0.9;
    margin-top: 4px;
}

.about-check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.about-check-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
    color: var(--text);
}

.about-check-list .bi {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--primary);
    background: var(--primary-soft);
    width: 24px;
    height: 24px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* =========================
   SCHOOL CARDS
========================= */
.school-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-solid);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.school-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 141, 78, 0.3);
}

.school-card .img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.school-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.school-card:hover .img-wrap img {
    transform: scale(1.06);
}

.school-card .badge-school {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--glass);
    backdrop-filter: blur(10px);
    color: var(--dark);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 12.5px;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,.5);
}

.school-card .body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.school-card h3 {
    font-size: 19px;
    margin-bottom: 8px;
}

.school-card p {
    font-size: 14.5px;
    color: var(--muted);
    margin-bottom: 16px;
    flex: 1;
}

.school-card .link-more {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.school-card .link-more .bi {
    transition: transform .3s ease;
}

.school-card .link-more:hover .bi {
    transform: translateX(4px);
}

/* =========================
   STATISTICS
========================= */
.stat-section {
    background:
        radial-gradient(900px 500px at 85% -20%, rgba(255,255,255,.08), transparent 55%),
        linear-gradient(150deg, var(--dark) 0%, var(--dark-2) 100%);
    color: #fff;
    padding: 88px 0;
    overflow: hidden;
}

.stat-item {
    text-align: center;
    padding: 24px 12px;
}

.stat-item .icon {
    font-size: 30px;
    color: var(--secondary);
    margin-bottom: 14px;
    display: inline-block;
}

.stat-item .num {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.stat-item .label {
    color: rgba(255,255,255,.75);
    font-size: 14px;
    margin-top: 6px;
}

.stat-item .suffix {
    color: var(--secondary);
}

/* =========================
   FEATURE / VALUE CARDS
========================= */
.feature-card {
    background: var(--white);
    border: 1px solid var(--border-solid);
    border-radius: var(--radius-md);
    padding: 30px 26px;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 141, 78, 0.3);
}

.feature-card .icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 16px;
    margin-bottom: 18px;
    transition: var(--transition);
}

.feature-card:hover .icon {
    background: var(--primary);
    color: #fff;
    transform: rotate(-6deg) scale(1.05);
}

.feature-card h4 {
    font-size: 17.5px;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14.5px;
    color: var(--muted);
    margin-bottom: 0;
}

/* =========================
   PROGRAM CARDS
========================= */
.program-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--border-solid);
    border-radius: var(--radius-md);
    padding: 24px;
    height: 100%;
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 141, 78, 0.3);
}

.program-card .icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--secondary);
    background: var(--secondary-soft);
    border-radius: 14px;
}

.program-card h5 {
    font-size: 16.5px;
    margin-bottom: 6px;
}

.program-card p {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 0;
}

/* =========================
   NEWS CARDS
========================= */
.news-card {
    background: var(--white);
    border: 1px solid var(--border-solid);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.news-card .img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.news-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.news-card:hover .img-wrap img {
    transform: scale(1.07);
}

.news-card .cat {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--secondary);
    color: var(--dark);
    font-family: var(--font-heading);
    font-size: 11.5px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
}

.news-card .body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card .meta {
    font-size: 12.5px;
    color: var(--muted);
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 10px;
}

.news-card .meta .bi {
    color: var(--primary);
    margin-right: 4px;
}

.news-card h3 {
    font-size: 17px;
    margin-bottom: 10px;
}

.news-card h3 a {
    color: var(--dark);
}

.news-card h3 a:hover {
    color: var(--primary);
}

.news-card p {
    font-size: 14.5px;
    color: var(--muted);
    margin-bottom: 14px;
    flex: 1;
}

.news-card .link-more {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

/* NEWS TAGS */
.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.news-tag {
    display: inline-block;
    font-size: 11px;
    font-family: var(--font-heading);
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 50px;
    border: 1px solid var(--border-solid);
    background: var(--light);
    color: var(--muted);
    transition: var(--transition);
    cursor: pointer;
    text-transform: capitalize;
}

.news-tag:hover,
.news-tag.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* TAG CLOUD WIDGET */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud .news-tag {
    cursor: pointer;
}

/* ARTICLE TAGS (detail page) */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-tags .news-tag {
    font-size: 12px;
    padding: 5px 14px;
}

/* RELATED / BERITA TERKAIT HORIZONTAL CARDS */
.related-card {
    display: flex;
    background: var(--white);
    border: 1px solid var(--border-solid);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

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

.related-card .img-wrap {
    position: relative;
    width: 260px;
    min-width: 260px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.related-card:hover .img-wrap img {
    transform: scale(1.07);
}

.related-card .img-wrap .cat {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--secondary);
    color: var(--dark);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
}

.related-card .body {
    padding: 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-card .meta {
    font-size: 12.5px;
    color: var(--muted);
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 8px;
}

.related-card .meta .bi {
    color: var(--primary);
    margin-right: 4px;
}

.related-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.related-card h3 a {
    color: var(--dark);
}

.related-card h3 a:hover {
    color: var(--primary);
}

.related-card p {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 10px;
    flex: 1;
}

.related-card .link-more {
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--primary);
}

@media (max-width: 767.98px) {
    .related-card {
        flex-direction: column;
    }
    .related-card .img-wrap {
        width: 100%;
        min-width: unset;
        aspect-ratio: 16 / 9;
    }
}

/* =========================
   GALLERY
========================= */
.gallery-grid .col {
    padding-bottom: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    display: block;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-sm);
}

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

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

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.75) 100%);
    opacity: 0;
    transition: opacity .3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay .bi {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    color: #fff;
    background: rgba(0, 141, 78, 0.85);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.gallery-item .overlay .caption {
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
}

.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 36px;
}

.gallery-filter button {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 14px;
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--border-solid);
    border-radius: 50px;
    padding: 9px 22px;
    transition: var(--transition);
}

.gallery-filter button:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.gallery-filter button.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 141, 78, 0.25);
}

.gallery-modal-img {
    border-radius: var(--radius-md);
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
}

/* GALLERY MODAL NAV BUTTONS */
.gallery-modal-prev,
.gallery-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: var(--white);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.gallery-modal-prev:hover,
.gallery-modal-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.gallery-modal-prev { left: 12px; }
.gallery-modal-next { right: 12px; }

@media (max-width: 575.98px) {
    .gallery-modal-prev,
    .gallery-modal-next {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    .gallery-modal-prev { left: 6px; }
    .gallery-modal-next { right: 6px; }
}

/* =========================
   GALLERY SLIDESHOW (variant 2)
========================= */
.gallery-slideshow {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--dark);
    aspect-ratio: 16 / 9;
}

.gallery-slideshow .slideshow-main {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-slideshow .slideshow-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity .4s ease;
}

.gallery-slideshow .slideshow-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gallery-slideshow .slideshow-counter {
    font-size: 12.5px;
    opacity: 0.8;
}

.gallery-slideshow .slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.gallery-slideshow .slideshow-nav:hover {
    background: rgba(255, 255, 255, 0.35);
}

.gallery-slideshow .slideshow-nav-prev { left: 14px; }
.gallery-slideshow .slideshow-nav-next { right: 14px; }

.gallery-slideshow .slideshow-autoplay {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 6;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.gallery-slideshow .slideshow-autoplay:hover {
    background: rgba(255, 255, 255, 0.35);
}

.gallery-slideshow .slideshow-autoplay.active {
    background: var(--primary);
}

/* THUMBNAIL STRIP */
.slideshow-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--border-solid) transparent;
}

.slideshow-thumbs::-webkit-scrollbar {
    height: 5px;
}

.slideshow-thumbs::-webkit-scrollbar-track {
    background: transparent;
}

.slideshow-thumbs::-webkit-scrollbar-thumb {
    background: var(--border-solid);
    border-radius: 10px;
}

.slideshow-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 56px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    opacity: 0.55;
}

.slideshow-thumb:hover {
    opacity: 0.85;
}

.slideshow-thumb.active {
    border-color: var(--primary);
    opacity: 1;
    box-shadow: 0 0 0 2px var(--primary);
}

.slideshow-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 575.98px) {
    .gallery-slideshow {
        aspect-ratio: 4 / 3;
    }
    .gallery-slideshow .slideshow-nav {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    .gallery-slideshow .slideshow-nav-prev { left: 8px; }
    .gallery-slideshow .slideshow-nav-next { right: 8px; }
    .slideshow-thumb {
        width: 64px;
        height: 44px;
    }
}

/* =========================
   GALLERY — ALBUM / EVENT CARD
========================= */
.album-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--white);
    border: 1px solid var(--border-solid);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text);
}

.album-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    color: var(--text);
}

.album-card .album-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.album-card .album-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.album-card:hover .album-thumb img {
    transform: scale(1.08);
}

.album-card .album-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 12px;
    color: #fff;
    background: rgba(0, 141, 78, .9);
    padding: 4px 14px;
    border-radius: 50px;
}

.album-card .album-count {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 12px;
    color: var(--dark);
    background: rgba(255, 255, 255, .92);
    padding: 4px 14px;
    border-radius: 50px;
}

.album-card .album-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
}

.album-card .album-body h4 {
    font-size: 16.5px;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.35;
}

.album-card .album-body .album-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--muted);
}

.album-card .album-body .album-meta i {
    color: var(--primary);
    margin-right: 4px;
}

.album-card .album-link {
    margin-top: auto;
    padding-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13.5px;
    color: var(--primary);
    transition: var(--transition);
}

.album-card:hover .album-link {
    gap: 10px;
}

/* =========================
   GALLERY DETAIL — EVENT HEAD
========================= */
.event-head {
    background: var(--white);
    border: 1px solid var(--border-solid);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 30px;
}

.event-head .event-cat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.event-head h1 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--dark);
    margin-bottom: 12px;
}

.event-head .event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 13.5px;
    color: var(--muted);
}

.event-head .event-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.event-head .event-meta i {
    color: var(--primary);
    font-size: 15px;
}

.event-head .event-desc {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--text);
}

.gallery-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13.5px;
    color: var(--primary);
    margin-bottom: 24px;
}

.gallery-back:hover {
    color: var(--primary-dark);
}

/* =========================
   PUI TV
========================= */
.video-card {
    background: var(--white);
    border: 1px solid var(--border-solid);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.video-card .video-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    display: block;
}

.video-card .video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.video-card:hover .video-thumb img {
    transform: scale(1.07);
}

.video-card .video-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 40%, rgba(15, 23, 42, 0.55));
    transition: var(--transition);
}

.video-card:hover .video-thumb::after {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 40%, rgba(15, 23, 42, 0.6));
}

.video-card .video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary);
    font-size: 26px;
    border-radius: 50%;
    z-index: 2;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
}

.video-card:hover .video-play {
    background: var(--primary);
    color: #fff;
}

.video-card .video-duration {
    position: absolute;
    bottom: 10px;
    right: 12px;
    z-index: 3;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 6px;
    letter-spacing: .4px;
}

.video-card .video-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    background: var(--secondary);
    color: var(--dark);
    font-family: var(--font-heading);
    font-size: 11.5px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
}

.video-card .video-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-card .video-meta {
    font-size: 12.5px;
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-bottom: 10px;
}

.video-card .video-meta .bi {
    color: var(--primary);
    margin-right: 4px;
}

.video-card h3 {
    font-size: 16.5px;
    margin-bottom: 0;
}

.video-card h3 a {
    color: var(--dark);
}

.video-card h3 a:hover {
    color: var(--primary);
}

.video-player-frame {
    background: var(--dark);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.video-player-frame iframe {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    border: 0;
}

/* =========================
   TESTIMONIAL
========================= */
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border-solid);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 34px 30px;
    max-width: 720px;
    margin: 0 auto;
}

.testimonial-card .quote-icon {
    font-size: 40px;
    color: var(--secondary);
    opacity: .5;
    margin-bottom: 14px;
}

.testimonial-card .text {
    font-size: 17px;
    color: var(--dark);
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-card .avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.testimonial-card .name {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--dark);
    font-size: 15.5px;
}

.testimonial-card .role {
    font-size: 13px;
    color: var(--muted);
}

.testimonial-carousel .carousel-indicators {
    position: static;
    margin-top: 30px;
}

.testimonial-carousel .carousel-indicators button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: var(--primary);
    opacity: .3;
    border: none;
}

.testimonial-carousel .carousel-indicators button.active {
    opacity: 1;
}

/* =========================
   CTA
========================= */
.cta-section {
    padding: 96px 0;
    background:
        radial-gradient(800px 400px at 90% 20%, rgba(220, 186, 0, 0.18), transparent 55%),
        radial-gradient(900px 500px at 5% 90%, rgba(255,255,255,0.08), transparent 55%),
        linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: .35;
    pointer-events: none;
}

.cta-section h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3.6vw, 2.7rem);
    margin-bottom: 12px;
}

.cta-section p {
    color: rgba(255,255,255,.85);
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto 32px;
}

/* =========================
   PAGE HEADER DARK BAND (mini page hero)
========================= */

/* =========================
   PROFILE PAGE
========================= */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-bottom: 28px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -27px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--primary);
    box-shadow: 0 0 0 4px var(--primary-soft);
}

.timeline-item .year {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--primary);
    display: block;
    margin-bottom: 4px;
}

.timeline-item h4 {
    font-size: 17px;
    margin-bottom: 6px;
}

.timeline-item p {
    font-size: 14.5px;
    color: var(--muted);
    margin-bottom: 0;
}

.org-chart .org-box {
    background: var(--white);
    border: 1px solid var(--border-solid);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    text-align: center;
    transition: var(--transition);
}

.org-chart .org-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.org-chart .org-box .avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 14px;
}

.org-chart .org-box h5 {
    font-size: 15.5px;
    margin-bottom: 4px;
}

.org-chart .org-box span {
    font-size: 12.5px;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
}

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

.achievement-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px dashed var(--border-solid);
}

.achievement-list li:last-child {
    border-bottom: none;
}

.achievement-list .bi-trophy-fill {
    color: var(--secondary);
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.achievement-list strong {
    font-family: var(--font-heading);
    color: var(--dark);
    font-size: 15px;
    display: block;
}

.achievement-list span {
    font-size: 13.5px;
    color: var(--muted);
}

/* =========================
   SCHOOL PAGE COMMON
========================= */
.visi-misi-card {
    background: var(--white);
    border: 1px solid var(--border-solid);
    border-radius: var(--radius-md);
    padding: 30px;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.visi-misi-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.visi-misi-card .icon {
    width: 54px;
    height: 54px;
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 16px;
    color: var(--primary);
    background: var(--primary-soft);
}

.visi-misi-card.visi .icon {
    color: var(--secondary);
    background: var(--secondary-soft);
}

.visi-misi-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

.visi-misi-card p {
    color: var(--text);
    font-size: 15px;
    margin-bottom: 0;
}

.visi-misi-card ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.visi-misi-card ul li {
    font-size: 14.5px;
    color: var(--text);
    margin-bottom: 8px;
}

.visi-misi-card ul li::marker {
    color: var(--primary);
}

/* =========================
   TEACHER CARDS
========================= */
.teacher-card {
    background: var(--white);
    border: 1px solid var(--border-solid);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

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

.teacher-card .photo-wrap {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.teacher-card .photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.teacher-card:hover .photo-wrap img {
    transform: scale(1.06);
}

.teacher-card .body {
    padding: 18px 16px 22px;
}

.teacher-card h5 {
    font-size: 16px;
    margin-bottom: 4px;
}

.teacher-card span {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    font-family: var(--font-heading);
}

/* =========================
   FACILITY CARDS
========================= */
.facility-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.facility-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

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

.facility-card:hover img {
    transform: scale(1.06);
}

.facility-card .label {
    position: absolute;
    inset: auto 0 0 0;
    padding: 40px 18px 16px;
    background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.8));
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
}

/* =========================
   BERITA PAGE
========================= */
.news-search {
    display: flex;
    gap: 10px;
}

.news-search .form-control {
    border-radius: 50px;
    border: 1px solid var(--border-solid);
    padding: 12px 22px;
    font-size: 14.5px;
    box-shadow: var(--shadow-sm);
}

.news-search .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 .25rem rgba(0, 141, 78, .12);
}

.filter-chip {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 13.5px;
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--border-solid);
    border-radius: 50px;
    padding: 8px 18px;
    transition: var(--transition);
}

.filter-chip:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.filter-chip.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.pagination-pui .page-link {
    color: var(--primary);
    border-radius: 10px;
    margin: 0 4px;
    border: 1px solid var(--border-solid);
    font-family: var(--font-heading);
    font-weight: 500;
    box-shadow: none;
    min-width: 42px;
    text-align: center;
}

.pagination-pui .page-link:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

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

.pagination-pui .page-item.disabled .page-link {
    color: var(--muted);
    opacity: .5;
}

/* =========================
   NEWS DETAIL
========================= */
.article-body {
    background: var(--white);
    border: 1px solid var(--border-solid);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 40px;
}

.article-body h2,
.article-body h3 {
    margin: 30px 0 14px;
}

.article-body p {
    font-size: 16px;
    color: var(--text);
    margin-bottom: 18px;
}

.article-body blockquote {
    border-left: 4px solid var(--secondary);
    background: var(--light-2);
    padding: 20px 24px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--dark);
    margin: 26px 0;
}

.article-body ul,
.article-body ol {
    margin-bottom: 18px;
    padding-left: 20px;
}

.article-body ul li,
.article-body ol li {
    margin-bottom: 8px;
    color: var(--text);
}

.share-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-solid);
    color: var(--muted);
    background: var(--white);
    font-size: 16px;
}

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

.share-btn.active {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
}

/* =========================
   NEWS SIDEBAR
========================= */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 110px;
}

.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--border-solid);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 24px;
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 18px;
}

.widget-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 46px;
    height: 3px;
    border-radius: 50px;
    background: var(--secondary);
}

.sidebar-widget .news-search {
    display: flex;
    gap: 8px;
}

.sidebar-widget .news-search .form-control {
    border-radius: 12px;
    padding: 11px 16px;
}

.sidebar-widget .news-search .btn {
    border-radius: 12px;
    padding: 0 16px;
}

.sidebar-category .cat-item {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    margin-bottom: 8px;
    background: var(--light);
    border: 1px solid var(--border-solid);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 14.5px;
    color: var(--text);
    transition: var(--transition);
}

.sidebar-category .cat-item:last-child {
    margin-bottom: 0;
}

.sidebar-category .cat-item:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--primary-soft);
}

.sidebar-category .cat-item.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.sidebar-category .cat-item .count {
    margin-left: auto;
    font-size: 12.5px;
    background: var(--light-2);
    padding: 2px 10px;
    border-radius: 50px;
    color: var(--primary);
    font-weight: 600;
}

.sidebar-category .cat-item.active .count {
    background: rgba(255, 255, 255, .2);
    color: #fff;
}

.recent-post {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.recent-post-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.recent-post-item .thumb {
    flex: 0 0 74px;
    width: 74px;
    height: 62px;
    border-radius: 10px;
    overflow: hidden;
}

.recent-post-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-item .text {
    display: block;
    min-width: 0;
}

.recent-post-item .title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--dark);
    transition: var(--transition);
}

.recent-post-item:hover .title {
    color: var(--primary);
}

.recent-post-item .date {
    display: block;
    font-size: 12.5px;
    color: var(--muted);
    margin-top: 4px;
}

.recent-post-item .date .bi {
    color: var(--primary);
    margin-right: 4px;
}

.widget-archive li {
    margin-bottom: 10px;
}

.widget-archive li:last-child {
    margin-bottom: 0;
}

.widget-archive a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text);
    font-size: 14px;
}

.widget-archive a .bi {
    color: var(--primary);
    margin-right: 8px;
}

.widget-archive a:hover {
    color: var(--primary);
}

.widget-archive span {
    font-size: 12.5px;
    background: var(--light-2);
    padding: 2px 10px;
    border-radius: 50px;
    color: var(--primary);
    font-weight: 600;
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    text-align: center;
    color: #fff;
}

.sidebar-cta > i {
    font-size: 40px;
    color: var(--secondary);
}

.sidebar-cta h3 {
    color: #fff;
    margin: 10px 0 8px;
    font-size: 20px;
}

.sidebar-cta p {
    color: rgba(255, 255, 255, .85);
    font-size: 14px;
    margin-bottom: 16px;
}

.sidebar-cta .btn-accent {
    width: 100%;
}

/* =========================
   PPDB PAGE
========================= */
.step-card {
    text-align: center;
    padding: 28px 20px;
    background: var(--white);
    border: 1px solid var(--border-solid);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    height: 100%;
    position: relative;
    transition: var(--transition);
}

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

.step-card .num {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--primary-soft);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card h5 {
    font-size: 16px;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 13.5px;
    color: var(--muted);
    margin-bottom: 0;
}

.step-arrow {
    position: absolute;
    right: -22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary);
    font-size: 20px;
    z-index: 2;
}

.requirement-card {
    background: var(--white);
    border: 1px solid var(--border-solid);
    border-radius: var(--radius-md);
    padding: 26px;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.requirement-card h4 {
    font-size: 17px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.requirement-card h4 .bi {
    color: var(--primary);
}

.requirement-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement-card ul li {
    display: flex;
    gap: 10px;
    font-size: 14.5px;
    color: var(--text);
    margin-bottom: 10px;
}

.requirement-card ul li .bi {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.schedule-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 22px;
    background: var(--white);
    border: 1px solid var(--border-solid);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.schedule-row:hover {
    border-color: rgba(0, 141, 78, 0.3);
    transform: translateX(4px);
}

.schedule-row .item {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--dark);
    font-size: 15px;
}

.schedule-row .value {
    font-size: 14px;
    color: var(--muted);
}

.schedule-row .value strong {
    color: var(--primary);
}

.faq-accordion .accordion-item {
    border: 1px solid var(--border-solid);
    border-radius: var(--radius-md) !important;
    margin-bottom: 14px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-accordion .accordion-button {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15.5px;
    color: var(--dark);
    padding: 18px 22px;
    background: var(--white);
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--primary);
    background: var(--primary-soft);
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
}

.faq-accordion .accordion-body {
    color: var(--muted);
    font-size: 14.5px;
    padding: 16px 22px 22px;
}

/* =========================
   KONTAK PAGE
========================= */
.contact-info-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--border-solid);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.contact-info-card .icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-info-card h5 {
    font-size: 16px;
    margin-bottom: 6px;
}

.contact-info-card p,
.contact-info-card a {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 0;
}

.contact-info-card a:hover {
    color: var(--primary);
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--border-solid);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 36px;
}

.contact-form .form-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
}

.contact-form .form-control {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-solid);
    padding: 12px 16px;
    font-size: 14.5px;
    background: var(--light);
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 .25rem rgba(0, 141, 78, .12);
}

.form-alert {
    display: none;
}

/* =========================
   FOOTER
========================= */
.footer {
    background: var(--dark-2);
    color: rgba(255,255,255,.7);
    padding-top: 80px;
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    opacity: .8;
}

.footer h5 {
    color: #fff;
    font-size: 17px;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}

.footer h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand img {
    height: 48px;
    width: 48px;
    object-fit: contain;
    border-radius: 12px;
}

.footer-brand .brand-name {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
    font-size: 17px;
    line-height: 1.2;
}

.footer-brand .brand-name small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--secondary);
}

.footer p {
    font-size: 14px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,.7);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links a .bi {
    font-size: 11px;
    color: var(--secondary);
    transition: var(--transition);
}

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

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
}

.footer-contact .bi {
    color: var(--secondary);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255,255,255,.7);
}

.footer-contact a:hover {
    color: var(--secondary);
}

.footer-social a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.8);
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 15px;
    border: 1px solid rgba(255,255,255,.1);
}

.footer-social a:hover {
    background: var(--secondary);
    color: var(--dark);
    border-color: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 22px 0;
    margin-top: 56px;
    font-size: 13.5px;
    color: rgba(255,255,255,.55);
}

.footer-bottom a {
    color: var(--secondary);
}

/* =========================
   BACK TO TOP
========================= */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    font-size: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 141, 78, .35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition);
    z-index: 999;
}

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

.back-to-top:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-3px);
}

/* =========================
   SCROLL REVEAL
========================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.reveal-left {
    transform: translateX(-36px);
}

.reveal.reveal-right {
    transform: translateX(36px);
}

.reveal.reveal-zoom {
    transform: scale(.94);
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* =========================
   MODAL
========================= */
.modal-pui .modal-content {
    border: none;
    border-radius: var(--radius-md);
    background: transparent;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1199.98px) {
    .hero-float-card.fc-1 { left: -10px; }
    .hero-float-card.fc-2 { right: -10px; }
}

@media (max-width: 991.98px) {
    .section { padding: 72px 0; }

    .navbar-pui {
        background: rgba(255, 255, 255, 0.97);
    }

    .navbar-pui .navbar-collapse {
        background: #fff;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-md);
        padding: 16px;
        margin-top: 12px;
        border: 1px solid var(--border-solid);
    }

    .navbar-pui .nav-link {
        padding: 12px 16px !important;
    }

    .navbar-pui .dropdown-menu {
        box-shadow: none;
        border: 1px solid var(--border-solid);
        border-radius: var(--radius-sm);
        padding: 6px;
        margin-left: 12px;
        margin-top: 4px;
    }

    .hero { padding: 88px 0 88px; }
    .hero-image-wrap { margin-top: 48px; }
    .hero-float-card.fc-1 { left: 12px; }
    .hero-float-card.fc-2 { right: 12px; }
    .step-arrow { display: none; }
    .article-body { padding: 28px; }
}

@media (max-width: 767.98px) {
    .section { padding: 60px 0; }
    .trust-item { padding: 16px 8px; }
    .hero-float-card { padding: 10px 14px; }
    .hero-float-card .bi { width: 38px; height: 38px; font-size: 20px; }
    .page-hero { padding: 96px 0 64px; }
    .contact-form { padding: 26px; }
}

@media (max-width: 575.98px) {
    body { font-size: 15px; }
    .topbar .topbar-info { display: none; }
    .topbar { text-align: center; }
    .hero h1 { font-size: 2rem; }
    .about-exp-card { right: 10px; bottom: -18px; padding: 12px 18px; }
    .gallery-grid .col { padding-bottom: 16px; }
    .schedule-row { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
