/* ==========================================================================
   YAYASAN GENERASI PEMBAHARUAN INDONESIA (YGPI) - 100% TEMA UTAMA
   Warna: YGPI Teal #0d9488 + Dark Teal #033833 + Amber Yellow #ff9f1c
   Layout & Micro-Interactions: 100% Authentic YGPI Animations, Asymmetric Shapes,
   3D Icon Flip (rotateY), Bubble Button Expansion, Card Lifts, Image Scales,
   Social Stacks, Ripple Wave Pulsing, and Expanding Borders.
   ========================================================================== */

:root {
    --primary: #0d9488;          /* YGPI Primary Teal */
    --primary-hover: #0f766e;
    --primary-dark: #033833;     /* YGPI Dark Teal Header/Navbar */
    --primary-light: #ccfbf1;
    --secondary: #0284c7;        /* Soft Sky Blue */
    --accent: #ff9f1c;           /* YGPI Signature Amber Yellow (#FDA31B) */
    --accent-hover: #f59e0b;
    --dark: #0f2942;             /* YGPI Deep Navy */
    --dark-deep: #061626;        /* YGPI Footer Dark Navy */
    --text-main: #334155;
    --text-muted: #64748b;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --radius-brand: 50px 50px 50px 0;      /* Signature YGPI Asymmetric Border Radius */
    --radius-brand-lg: 60px 60px 60px 0;
    --radius-brand-sm: 40px 40px 40px 0;
    --radius-lg: 20px;
    --radius-md: 14px;
    --shadow-sm: 0 4px 6px -1px rgba(0,0,0,.05);
    --shadow-md: 0 10px 20px -3px rgba(15,41,66,.1);
    --shadow-lg: 0 25px 35px -5px rgba(13,148,136,.2);
    --transition-fast: all .25s cubic-bezier(.4,0,.2,1);
    --transition-normal: all .35s cubic-bezier(.4,0,.2,1);
    --transition-brand: all .5s ease-in-out;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:var(--font-body); background:#fff; color:var(--text-main); line-height:1.6; overflow-x:hidden; width:100%; }
img { max-width:100%; height:auto; display:block; }
.container { max-width:1400px; width:100%; margin:0 auto; padding:0 32px; }
.w-100 { width:100%; }

/* ==========================================================================
   1. PRELOADER & FLIP BOOK ANIMATION (YGPI ASLI)
   ========================================================================== */
.preloader { position:fixed; inset:0; z-index:9999; background:var(--primary); display:flex; align-items:center; justify-content:center; transition:opacity .4s ease; }
.preloader.hide { opacity:0 !important; pointer-events:none !important; display:none !important; }
.loader-book { position:relative; width:64px; height:46px; border:4px solid #fff; border-radius:4px; }
.loader-book-page { position:absolute; top:-4px; left:50%; width:50%; height:46px; background:#fff; transform-origin:left center; animation:loader-book 1.2s cubic-bezier(0,.39,1,.68) infinite; }
.loader-book-page:nth-child(2) { animation-delay:.2s; }
.loader-book-page:nth-child(3) { animation-delay:.4s; }
@keyframes loader-book {
  0% { transform: rotateY(0deg); }
  20% { background: var(--accent); }
  40% { background: var(--accent); transform: rotateY(-180deg); }
  100% { background: var(--primary); transform: rotateY(-180deg); }
}

/* ==========================================================================
   2. THEME BUTTON WITH EXPANDING BUBBLE HOVER (YGPI SIGNATURE)
   ========================================================================== */
.theme-btn, .btn-hero-primary, .btn-get-started {
    font-size: 14px;
    color: var(--white) !important;
    padding: 14px 26px;
    text-transform: uppercase;
    position: relative;
    border-radius: var(--radius-brand);
    font-weight: 700;
    letter-spacing: .5px;
    cursor: pointer;
    text-align: center;
    overflow: hidden;
    border: none;
    background: var(--accent);
    box-shadow: 0 8px 20px rgba(255,159,28,.35);
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: var(--transition-brand);
}

.theme-btn::before, .btn-hero-primary::before, .btn-get-started::before {
    content: "";
    height: 320px;
    width: 320px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%) scale(0);
    transition: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.theme-btn:hover::before, .btn-hero-primary:hover::before, .btn-get-started:hover::before {
    transform: translateY(-50%) translateX(-50%) scale(1);
}

.theme-btn:hover, .btn-hero-primary:hover, .btn-get-started:hover {
    color: var(--white) !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(13,148,136,.4);
}

.theme-btn i, .btn-hero-primary i, .btn-get-started i {
    transition: transform .3s ease;
}

.theme-btn:hover i, .btn-hero-primary:hover i, .btn-get-started:hover i {
    transform: translateX(4px);
}

/* Secondary Button (White Background to Teal) */
.btn-hero-white, .theme-btn2 {
    font-size: 14px;
    color: var(--dark) !important;
    padding: 14px 26px;
    text-transform: uppercase;
    position: relative;
    border-radius: var(--radius-brand);
    font-weight: 700;
    letter-spacing: .5px;
    cursor: pointer;
    text-align: center;
    overflow: hidden;
    border: none;
    background: var(--white);
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: var(--transition-brand);
}

.btn-hero-white::before, .theme-btn2::before {
    content: "";
    height: 320px;
    width: 320px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%) scale(0);
    transition: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.btn-hero-white:hover::before, .theme-btn2:hover::before {
    transform: translateY(-50%) translateX(-50%) scale(1);
}

.btn-hero-white:hover, .theme-btn2:hover {
    color: var(--white) !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(13,148,136,.4);
}

.btn-hero-white i, .theme-btn2 i {
    transition: transform .3s ease;
}

.btn-hero-white:hover i, .theme-btn2:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   3. TOP BAR (DUAL COLOR: LEFT ORANGE #ff9f1c + RIGHT DARK TEAL #033833)
   ========================================================================== */
.top-bar-dual { display:flex; width:100%; font-size:13px; color:#fff; overflow:hidden; }
.top-bar-left { background:var(--accent); padding:10px 36px; display:flex; align-items:center; gap:16px; font-weight:700; flex:0 0 auto; white-space:nowrap; }
.top-bar-right { background:var(--primary-dark); padding:10px 36px; display:flex; justify-content:space-between; align-items:center; flex:1; color:#e2e8f0; gap:20px; min-width:0; }
.top-social-links { display:flex; gap:14px; align-items:center; }
.top-social-links a { color:#fff; font-size:14px; transition:var(--transition-fast); }
.top-social-links a:hover { color:var(--accent); transform:scale(1.25); }
.top-info-list { display:flex; align-items:center; gap:24px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.top-info-list span { display:inline-flex; align-items:center; gap:8px; font-weight:600; font-size:13px; }
.discreet-lock-link {
    color: #64748b;
    opacity: 0.35;
    font-size: 13px;
    text-decoration: none;
    transition: opacity 0.3s ease, color 0.3s ease;
    display: inline-flex;
    align-items: center;
    padding: 6px;
    border-radius: 6px;
}
.discreet-lock-link:hover {
    opacity: 1;
    color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   4. NAVBAR & 3D FOLD-DOWN DROPDOWN MENU
   ========================================================================== */
.navbar { position:sticky; top:0; z-index:1000; background:#ffffff; border-bottom:1px solid var(--border-color); transition:var(--transition-normal); width:100%; box-shadow:0 4px 15px rgba(0,0,0,.03); }
.navbar.scrolled { box-shadow:0 10px 30px rgba(0,0,0,.08); }
.nav-container { display:flex; justify-content:space-between; align-items:center; height:88px; gap:20px; width:100%; }
.navbar.scrolled .nav-container { height:72px; }
.brand-logo { display:flex; align-items:center; gap:12px; text-decoration:none; flex-shrink:0; }
.logo-icon { width:56px; height:56px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.logo-icon img { width:100%; height:100%; object-fit:contain; }
.brand-name { font-family:var(--font-heading); font-size:19px; font-weight:800; color:var(--dark); letter-spacing:-.3px; display:block; line-height:1.15; }
.accent-text { color:var(--accent); }
/* width:0 + min-width:100% = lebar mengikuti nama brand; sub-judul membungkus ke bawah, tidak dipotong */
.brand-sub { font-size:11px; color:var(--text-muted); font-weight:700; display:block; margin-top:3px; width:0; min-width:100%; line-height:1.3; white-space:normal; }

.nav-menu { display:flex; list-style:none; gap:18px; align-items:center; flex-wrap:nowrap; margin:0; padding:0; }
.nav-link { text-decoration:none; color:var(--dark); font-weight:700; font-size:14.5px; position:relative; padding:8px 4px; transition:var(--transition-fast); display:inline-flex; align-items:center; gap:5px; white-space:nowrap; }
.nav-link:hover, .nav-link.active { color:var(--primary); }
.nav-link::after { content:''; position:absolute; bottom:0; left:0; width:0; height:3px; background:var(--primary); border-radius:2px; transition:var(--transition-fast); }
.nav-link:hover::after, .nav-link.active::after { width:100%; }

/* Standard Dropdown 3D Animation With Scrollability */
.nav-item.dropdown { position:relative; }
.dropdown-menu {
    position: absolute;
    top: 85%;
    left: 0;
    min-width: 260px;
    max-height: calc(100vh - 105px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--primary-dark);
    border: none;
    border-top: 4px solid var(--accent);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 20px 45px rgba(0,0,0,.35);
    list-style: none;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: rotateX(-15deg);
    transform-origin: 0% 0%;
    transition: all .35s cubic-bezier(.4,0,.2,1);
    z-index: 1001;
}
.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown:focus-within .dropdown-menu,
.nav-item.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    top: 100%;
    transform: rotateX(0deg);
}
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 700;
    position: relative;
    transition: var(--transition-fast);
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.dropdown-menu li:last-child .dropdown-item { border-bottom: none; }
.dropdown-item:hover {
    background: rgba(255,255,255,.09);
    color: var(--accent);
    padding-left: 24px;
}

/* 4-Column Mega Menu Replica - Fully Scrollable & Balanced */
.nav-item.mega { position:static; }
.nav-item.mega .mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 100%;
    max-width: 1320px;
    background: var(--primary-dark);
    color: #fff;
    border-radius: 0 0 20px 20px;
    border-top: 4px solid var(--accent);
    box-shadow: 0 35px 70px rgba(0,0,0,.45);
    padding: 32px 36px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all .35s cubic-bezier(.4,0,.2,1);
    z-index: 1002;
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr 1fr;
    gap: 28px;
    max-height: calc(100vh - 105px);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.nav-item.mega:hover .mega-dropdown,
.nav-item.mega.open .mega-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Sleek Webkit Scrollbars for Mega Menu & Dropdown */
.nav-item.mega .mega-dropdown::-webkit-scrollbar,
.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}
.nav-item.mega .mega-dropdown::-webkit-scrollbar-track,
.dropdown-menu::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.06);
    border-radius: 4px;
}
.nav-item.mega .mega-dropdown::-webkit-scrollbar-thumb,
.dropdown-menu::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}
.nav-item.mega .mega-dropdown::-webkit-scrollbar-thumb:hover,
.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #f59e0b;
}

.mega-col-title { color:var(--accent); font-family:var(--font-heading); font-size:16px; font-weight:800; margin-bottom:16px; letter-spacing:.2px; display:flex; align-items:center; gap:8px; }
.mega-brand-row { display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.mega-brand-row img { width:38px; height:38px; border-radius:8px; object-fit:contain; }
.mega-brand-title { color:#ffffff; font-family:var(--font-heading); font-size:20px; font-weight:800; }
.mega-desc { font-size:13.5px; color:#e2e8f0; line-height:1.6; margin-top:6px; }
.mega-links-list { list-style:none; display:flex; flex-direction:column; gap:10px; padding:0; margin:0; }
.mega-links-list a { color:#ffffff; text-decoration:none; font-weight:600; font-size:14px; transition:var(--transition-fast); display:flex; align-items:center; gap:8px; padding:3px 0; }
.mega-links-list a:hover { color:var(--accent); padding-left:6px; }

.nav-actions { display:flex; align-items:center; gap:12px; flex-shrink:0; }
.nav-search-btn { background:none; border:none; font-size:18px; color:var(--dark); cursor:pointer; padding:8px; transition:var(--transition-fast); border-radius:50%; }
.nav-search-btn:hover { color:var(--primary); background:var(--primary-light); transform:scale(1.12); }

.nav-cta-pill {
    background: linear-gradient(135deg, var(--accent) 0%, #ea580c 100%);
    color: #ffffff !important;
    padding: 10px 22px;
    font-size: 13.5px;
    font-weight: 800;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(255,159,28,.35);
    transition: var(--transition-fast);
    white-space: nowrap;
}
.nav-cta-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(255,159,28,.5);
    color: #ffffff !important;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 2px solid rgba(13,148,136,.25);
    color: var(--primary);
    font-size: 20px;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition-fast);
}
.nav-toggle:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* ==========================================================================
   5. HERO SLIDER SECTION (YGPI AUTHENTIC 2-COLUMN & OVERLAY)
   ========================================================================== */
.hero-slider-section { position:relative; width:100%; background:#0b1a2e; color:#fff; overflow:hidden; }
.hero-slide-item {
    position: relative;
    min-height: 660px;
    padding: 120px 0 160px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11,26,46,.94) 0%, rgba(11,26,46,.72) 55%, rgba(11,26,46,.38) 100%);
    z-index: 1;
}
.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}
.hero-text-col { position: relative; z-index: 2; }
.badge-pill-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--accent);
    padding: 8px 22px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 13px;
    border: 1px solid rgba(255,255,255,.2);
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,.2);
}
.hero-title {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 800;
    line-height: 1.18;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.text-yellow { color: var(--accent); }
.hero-desc {
    font-size: 17px;
    color: #e2e8f0;
    margin-bottom: 36px;
    max-width: 580px;
    line-height: 1.65;
}
.hero-buttons { display:flex; gap:16px; flex-wrap:wrap; }

/* Hero Media Stack (Clean Centerpiece Frame - Pure Photograph) */
.hero-media-col { position: relative; z-index: 2; display: flex; justify-content: center; width: 100%; }
.hero-card-stack {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}
.main-hero-img-box {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.55);
    border: 4px solid rgba(255, 255, 255, 0.28);
    background: #0b1a2e;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}
.main-hero-img-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.65);
    border-color: rgba(255, 159, 28, 0.7);
}
.hero-main-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #071527;
}
.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.main-hero-img-box:hover .hero-main-img {
    transform: scale(1.05);
}
.hero-img-glass-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.02) 50%, rgba(0,0,0,0.2) 100%);
    pointer-events: none;
}
.hero-img-caption-strip {
    display: none !important;
}
.hero-caption-tag {
    display: none !important;
}
.hero-caption-title {
    display: none !important;
}

/* Floating Badges completely hidden as requested */
.floating-badge {
    display: none !important;
}
.badge-top-left { top: -20px; left: -25px; }
.badge-bottom-right { bottom: -20px; right: -20px; }
.badge-bottom-left { bottom: 45px; left: -35px; }

.badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ffffff;
    flex-shrink: 0;
}
.bg-blue { background: linear-gradient(135deg, #0284c7, #0369a1); box-shadow: 0 4px 12px rgba(2,132,199,.35); }
.bg-green { background: linear-gradient(135deg, #16a34a, #15803d); box-shadow: 0 4px 12px rgba(22,163,74,.35); }
.bg-orange { background: linear-gradient(135deg, #ff9f1c, #f59e0b); box-shadow: 0 4px 12px rgba(255,159,28,.35); }

.badge-title { display:block; font-weight:800; font-size:13px; color:var(--dark); }
.badge-sub { display:block; font-size:11px; color:var(--text-muted); font-weight:600; }

.float-anim { animation: floating 4s infinite ease-in-out; }
.float-anim-reverse { animation: floatingReverse 5s infinite ease-in-out; }
.float-anim-slow { animation: floating 6s infinite ease-in-out; }
@keyframes floating { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
@keyframes floatingReverse { 0%,100%{transform:translateY(0)} 50%{transform:translateY(14px)} }

/* ==========================================================================
   6. HERO FLOATING FEATURE CARDS (01, 02, 03, 04)
      - Asymmetric shape: border-radius: 50px 50px 50px 0
      - 3D Flip on Icon Container: rotateY(360deg)
      - Outline Count with -webkit-text-stroke color shift
   ========================================================================== */
.hero-floating-features { position:relative; z-index:10; margin-top:-60px; width:100%; margin-bottom:80px; }
.grid-4-features { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.feature-card-hero {
    background: #ffffff;
    border-radius: var(--radius-brand);
    padding: 26px 22px;
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
    transition: all .45s cubic-bezier(.34,1.56,.64,1);
}
.feature-card-hero:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,.15);
    border-color: var(--accent);
}

.feature-num, .feature-item .count {
    position: absolute;
    top: 8px;
    right: 18px;
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
    -webkit-text-stroke: 2px var(--primary);
    -webkit-text-fill-color: transparent;
    opacity: .35;
    transition: all .5s ease-in-out;
}
.feature-card-hero:hover .feature-num, .feature-item:hover .count {
    -webkit-text-stroke-color: var(--accent);
    opacity: 1;
    transform: scale(1.1);
}

.feature-icon-circle, .feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 4px 4px 0 var(--primary-light);
    position: relative;
    transition: var(--transition-brand);
    transform-style: preserve-3d;
}
.feature-card-hero:hover .feature-icon-circle, .feature-item:hover .feature-icon {
    transform: rotateY(360deg);
    background: var(--accent);
    color: #ffffff;
    box-shadow: 4px 4px 0 rgba(255,159,28,.3);
}

.feature-card-hero h2, .feature-card-hero h3 { font-family:var(--font-heading); font-size:16px; font-weight:800; color:var(--dark); margin-bottom:4px; }
.feature-card-hero p { font-size:12px; color:var(--text-muted); line-height:1.4; }

/* ==========================================================================
   7. ABOUT US SECTION (EXPERIENCE BADGE & ASYMMETRIC FRAMING)
   ========================================================================== */
.about-section { padding:80px 0 100px; background:#fff; width:100%; }
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.about-image-stack { position:relative; }
.about-img-main {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: 80px 80px 0 80px;
    box-shadow: var(--shadow-md);
    transition: transform .5s ease;
}
.about-image-stack:hover .about-img-main {
    transform: scale(1.02);
}
.about-img-sub {
    width: 220px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px dashed var(--accent);
    padding: 6px;
    background: #fff;
    position: absolute;
    bottom: -30px;
    right: -30px;
    box-shadow: var(--shadow-lg);
    transition: transform .5s ease;
}
.about-image-stack:hover .about-img-sub {
    transform: scale(1.06) rotate(6deg);
}

.about-badge-exp {
    position: absolute;
    top: 30px;
    left: -30px;
    background: var(--accent);
    color: #fff;
    padding: 18px 24px;
    border-radius: var(--radius-brand);
    box-shadow: 0 15px 35px rgba(255,159,28,.4);
    font-weight: 800;
    font-family: var(--font-heading);
    text-align: center;
    transition: transform .4s ease;
}
.about-badge-exp:hover {
    transform: scale(1.06) rotate(-3deg);
}
.about-badge-exp span { font-size:32px; display:block; line-height:1; }

.sub-header { color:var(--accent); font-weight:800; font-size:13px; text-transform:uppercase; letter-spacing:2px; display:block; margin-bottom:10px; }
.main-heading { font-family:var(--font-heading); font-size:40px; font-weight:800; color:var(--dark); line-height:1.2; margin-bottom:20px; letter-spacing:-.5px; }
.about-checklist { list-style:none; margin:24px 0 32px; display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.about-checklist li { display:flex; align-items:center; gap:10px; font-weight:700; font-size:15px; color:var(--dark); }
.about-checklist i { color:var(--primary); font-size:18px; }

/* Visi Misi Cards */
.visi-misi-box { margin-top:24px; display:grid; grid-template-columns:1fr; gap:16px; }
.visi-card { background:#f0fdf4; border-left:4px solid #16a34a; border-radius:14px; padding:16px 20px; border-top:1px solid #dcfce7; border-right:1px solid #dcfce7; border-bottom:1px solid #dcfce7; }
.misi-card { background:#f0f9ff; border-left:4px solid #0284c7; border-radius:14px; padding:16px 20px; border-top:1px solid #e0f2fe; border-right:1px solid #e0f2fe; border-bottom:1px solid #e0f2fe; }
.visi-misi-title { font-family:var(--font-heading); font-size:15px; font-weight:800; display:flex; align-items:center; gap:8px; margin-bottom:6px; }
.visi-text { font-size:13px; color:#1e293b; line-height:1.6; font-style:italic; margin:0; }
.misi-list { margin:0; padding-left:20px; font-size:13px; color:#1e293b; line-height:1.6; }
.misi-list li { margin-bottom:4px; }

/* ==========================================================================
   8. COUNTER BAR SECTION (ORGANIC MORPHING BORDER WITH OFFSET SHIFT)
   ========================================================================== */
.counter-bar-section { background:var(--primary-dark); color:#fff; padding:60px 0; width:100%; position:relative; }
.counter-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:30px; text-align:center; }
.counter-item-icon {
    position: relative;
    width: 76px;
    height: 76px;
    line-height: 76px;
    background: var(--accent);
    color: #fff;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 16px;
    transition: all .4s ease;
    z-index: 1;
}
.counter-item-icon::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 6px;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(255,255,255,.7);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transition: all .4s ease;
    z-index: -1;
}
.counter-grid > div:hover .counter-item-icon::before {
    left: 0;
    top: 0;
    border-color: #ffffff;
}
.counter-grid > div:hover .counter-item-icon {
    transform: scale(1.08) rotate(6deg);
    box-shadow: 0 10px 25px rgba(255,159,28,.4);
}
.counter-val { font-family:var(--font-heading); font-size:48px; font-weight:800; line-height:1; margin-bottom:8px; }
.counter-txt { font-size:15px; font-weight:700; color:#ccfbf1; }

/* ==========================================================================
   9. COURSES & PROGRAM CARDS (YGPI SIGNATURE HOVER)
      - Asymmetric border radius: 50px 50px 50px 0
      - Dark Overlay fade-in
      - Center Link Pop-up (scale(3) down to scale(1) cubic-bezier)
      - Image Zoom & Card Lift
   ========================================================================== */
.courses-section { padding:100px 0; background:var(--light-bg); width:100%; }
.courses-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
.course-card-brand, .course-item {
    background: #ffffff;
    border-radius: var(--radius-brand);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    border: 1px solid var(--border-color);
    transition: all .4s ease-in-out;
    display: flex;
    flex-direction: column;
    position: relative;
}
.course-card-brand:hover, .course-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,.15);
    border-color: var(--primary);
}

.course-thumb-box, .course-img {
    position: relative;
    height: 220px;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-brand-sm);
}
.course-img img, .course-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-brand-sm);
    transition: transform .5s ease-in-out;
}
.course-card-brand:hover .course-thumb-box img, .course-item:hover .course-img img {
    transform: scale(1.08);
}

.course-tag-badge, .course-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--accent);
    color: #ffffff;
    font-weight: 800;
    font-size: 11px;
    padding: 5px 14px;
    border-radius: var(--radius-brand-sm);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(255,159,28,.4);
}

.course-hover-overlay, .course-img::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15,41,66,.5);
    border-radius: var(--radius-brand-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all .35s ease-in-out;
    z-index: 2;
}
.course-card-brand:hover .course-hover-overlay, .course-item:hover .course-img::before {
    opacity: 1;
    visibility: visible;
}

.course-center-link-btn, .course-img a {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    line-height: 50px;
    margin: -25px 0 0 -25px;
    border-radius: 100%;
    background: var(--accent);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(255,159,28,.5);
    transform: scale(3);
    opacity: 0;
    visibility: hidden;
    transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 4;
}
.course-card-brand:hover .course-center-link-btn, .course-item:hover .course-img a {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
}
.course-center-link-btn:hover, .course-item:hover .course-img a:hover {
    background: #ffffff;
    color: var(--accent);
    transform: scale(1.15) rotate(45deg);
}

.course-content-box { padding:24px; display:flex; flex-direction:column; flex-grow:1; }
.course-meta-row { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; font-size:13px; color:var(--text-muted); font-weight:700; }
.course-stars { color:#f59e0b; font-size:12px; display:flex; gap:2px; }
.course-title { font-family:var(--font-heading); font-size:18px; font-weight:800; color:var(--dark); margin-bottom:10px; line-height:1.3; transition:color .3s ease; }
.course-card-brand:hover .course-title { color:var(--accent); }
.course-desc { font-size:13px; color:var(--text-muted); margin-bottom:20px; line-height:1.5; flex-grow:1; }
.course-footer-row { padding-top:14px; border-top:1px solid var(--border-color); display:flex; justify-content:space-between; align-items:center; font-size:12px; font-weight:700; color:var(--text-muted); }
.course-info-sub { display:flex; gap:12px; }
.course-price-pill { background:var(--accent); color:#ffffff; font-weight:800; font-size:12px; padding:4px 12px; border-radius:var(--radius-brand-sm); }

/* Tab Filter Buttons */
.tab-controls{display:flex;justify-content:center;gap:12px;margin-bottom:40px;flex-wrap:wrap}
.tab-btn{background:#fff;border:1px solid var(--border-color);padding:12px 26px;border-radius:30px;font-weight:700;font-size:14px;color:var(--text-main);cursor:pointer;transition:var(--transition-fast);font-family:inherit}
.tab-btn.active,.tab-btn:hover{background:var(--primary);color:#fff;border-color:var(--primary);box-shadow:0 6px 16px rgba(13,148,136,.3)}

/* ==========================================================================
   10. VIDEO BANNER WITH RIPPLE WAVE PULSING PLAY BUTTON
   ========================================================================== */
.video-section { padding:90px 0; background:#fff; width:100%; }
.video-banner-box { position:relative; border-radius:28px; overflow:hidden; height:450px; box-shadow:var(--shadow-lg); }
.video-banner-box img { width:100%; height:100%; object-fit:cover; }
.video-overlay { position:absolute; inset:0; background:linear-gradient(180deg, rgba(6,22,38,.4) 0%, rgba(6,22,38,.85) 100%); display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:40px; color:#fff; }

@keyframes ripple-wave {
  0% { opacity: 0.8; transform: scale(0.9); }
  100% { opacity: 0; transform: scale(2.2); }
}

.btn-play-pulse, .play-btn {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: none;
    cursor: pointer;
    margin-bottom: 24px;
    box-shadow: 0 0 30px rgba(255,159,28,.6);
    transition: all .3s ease;
    z-index: 2;
}
.btn-play-pulse::after, .play-btn i::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--accent);
    border-radius: 50%;
    animation: ripple-wave 1.4s linear infinite;
    z-index: -1;
}
.btn-play-pulse:hover, .play-btn:hover {
    background: #ffffff;
    color: var(--accent);
    transform: scale(1.12);
}

/* ==========================================================================
   11. TEACHERS / LEADERSHIP SECTION (ARCH FRAME & SLIDING SOCIAL ICONS)
   ========================================================================== */
.teachers-section { padding:100px 0; background:var(--light-bg); width:100%; }
.teachers-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:24px; }
.teacher-card, .team-item {
    background: #fff;
    border-radius: var(--radius-brand-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    text-align: center;
    padding: 16px 16px 24px 16px;
    position: relative;
    transition: var(--transition-brand);
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.teacher-card:hover, .team-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,.15);
    border-color: var(--primary);
}

.teacher-thumb-wrap, .team-img {
    position: relative;
    width: 100%;
    height: 250px;
    border-radius: var(--radius-brand);
    overflow: hidden;
    margin-bottom: 16px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.teacher-arch-img, .team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-brand);
    transition: transform .5s ease;
}
.teacher-card:hover .teacher-arch-img, .team-item:hover .team-img img {
    transform: scale(1.08);
}

.teacher-arch-img.pos-heru { object-position: center 5%; }
.teacher-arch-img.pos-sohib { object-position: center 15%; }
.teacher-arch-img.pos-topik { object-position: center 22%; }
.teacher-arch-img.pos-supriyo { object-position: center 5%; }
.teacher-arch-img.pos-evah { object-position: center 24%; }

.teacher-share-btn, .team-social-btn {
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    border-radius: 50px 50px 0 50px;
    background: var(--primary);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    z-index: 5;
    transition: all .35s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.teacher-card:hover .teacher-share-btn, .team-item:hover .team-social-btn {
    background: var(--accent);
    transform: rotate(180deg);
}

.teacher-social-stack, .team-social {
    position: absolute;
    bottom: 66px;
    right: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .35s cubic-bezier(.34,1.56,.64,1);
    z-index: 5;
}
.teacher-card:hover .teacher-social-stack, .team-item:hover .team-social {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.teacher-social-stack a, .team-social a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-brand);
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(255,159,28,.4);
    transition: all .25s ease;
}
.teacher-social-stack a:hover, .team-social a:hover {
    transform: scale(1.18);
    background: var(--primary-dark);
}
.teacher-name, .team-bio h5 { font-family:var(--font-heading); font-size:17px; font-weight:800; color:var(--dark); margin-bottom:4px; }
.teacher-role, .team-bio span { font-size:11px; font-weight:800; color:var(--primary); text-transform:uppercase; letter-spacing:.8px; }

/* ==========================================================================
   12. WHY CHOOSE US SECTION (HORIZONTAL SLIDE & FRAMED ASYMMETRIC IMAGE)
   ========================================================================== */
.why-choose-section, .choose-area { background:var(--dark); color:#fff; padding:100px 0; width:100%; position:relative; }
.why-choose-grid { display:grid; grid-template-columns:1.1fr .9fr; gap:60px; align-items:center; }
.why-features-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:32px; }
.why-feature-card, .choose-item {
    background: #ffffff;
    color: var(--dark);
    border-radius: var(--radius-brand);
    padding: 16px 20px 16px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 12px 28px rgba(0,0,0,.15);
    transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease;
}
.why-feature-card:hover, .choose-item:hover {
    transform: translateX(10px);
    box-shadow: 0 22px 45px rgba(0,0,0,.25);
}
.why-feature-icon-box, .choose-item-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-brand);
    background: var(--accent);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(255,159,28,.4);
    transition: all .35s ease;
}
.why-feature-card:hover .why-feature-icon-box, .choose-item:hover .choose-item-icon {
    background: var(--primary);
    transform: rotate(-10deg) scale(1.08);
}
.why-feature-content h3 { font-family:var(--font-heading); font-size:16px; font-weight:800; color:var(--dark); margin-bottom:4px; }
.why-feature-content p { font-size:12px; color:var(--text-muted); margin:0; line-height:1.4; }

.why-img-frame, .choose-img {
    position: relative;
    border-radius: 30% 0 30% 30%;
}
.why-img-frame::before, .choose-img::before {
    content: "";
    position: absolute;
    left: -15px;
    bottom: -15px;
    width: 100%;
    height: 100%;
    border: 5px solid var(--accent);
    border-radius: 30% 0 30% 30%;
    z-index: 0;
    transition: all .4s ease;
}
.why-img-frame img, .choose-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30% 0 30% 30%;
    position: relative;
    z-index: 1;
    transition: transform .5s ease;
}
.why-img-frame:hover img, .choose-img:hover img {
    transform: scale(1.03);
}

/* ==========================================================================
   13. PHOTO GALLERY SECTION (YGPI AUTHENTIC HOVER & LIGHTBOX ZOOM)
   ========================================================================== */
.gallery-section { padding:90px 0; background:#fff; width:100%; }
.gallery-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:24px; }
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,.07);
    transition: all .45s cubic-bezier(.165,.84,.44,1);
    aspect-ratio: 4/3;
    background: #0f172a;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    transition: transform .65s cubic-bezier(.165,.84,.44,1), filter .45s ease;
    display: block;
}
.gallery-item:hover img {
    transform: scale(1.08);
}

/* YGPI Signature Translucent Vignette Overlay - NO OPAQUE ORANGE COVERING */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,0.08) 0%, rgba(15,23,42,0.45) 50%, rgba(15,23,42,0.92) 100%);
    opacity: 0;
    visibility: hidden;
    transition: all .4s cubic-bezier(.165,.84,.44,1);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    border-radius: 24px;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
    visibility: visible;
}
.gallery-zoom-btn {
    align-self: flex-end;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 8px 20px rgba(255,159,28,.4);
    transform: scale(0.6) rotate(-90deg);
    transition: all .4s cubic-bezier(.34,1.56,.64,1);
    border: none;
    text-decoration: none;
}
.gallery-item:hover .gallery-zoom-btn {
    transform: scale(1) rotate(0deg);
}
.gallery-zoom-btn:hover {
    background: var(--primary);
    transform: scale(1.15) rotate(90deg);
    color: #ffffff;
}
.gallery-content {
    transform: translateY(20px);
    transition: transform .4s cubic-bezier(.165,.84,.44,1);
}
.gallery-item:hover .gallery-content {
    transform: translateY(0);
}
.gallery-cat-pill {
    display: inline-block;
    background: rgba(255,255,255,.2);
    backdrop-filter: blur(8px);
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .5px;
    border: 1px solid rgba(255,255,255,.25);
}
.gallery-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(0,0,0,.18);
}

/* ==========================================================================
   14. DISCOUNT OFFER BANNER (DOUBLE BORDER CTA REPLICA)
   ========================================================================== */
.discount-banner-section { padding:60px 0; width:100%; }
.discount-banner-card {
    background: linear-gradient(90deg, rgba(15,41,66,.85) 0%, rgba(15,41,66,.4) 100%), url('../foto dan logo/materi-baru/enhanced/highlights/sosial_santunan_dhuafa.jpg') center/cover no-repeat;
    border-radius: 32px;
    padding: 60px;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    box-shadow: var(--shadow-lg);
}
.discount-orange-box, .cta-content {
    background: var(--accent);
    color: #fff;
    border-radius: 70px 70px 70px 0;
    border: 6px double rgba(255,255,255,.6);
    padding: 40px;
    max-width: 520px;
    box-shadow: 0 25px 50px rgba(255,159,28,.4);
    transition: transform .4s ease;
}
.discount-orange-box:hover {
    transform: translateY(-8px);
}
.discount-orange-box h3 { font-family:var(--font-heading); font-size:26px; font-weight:800; line-height:1.25; margin-bottom:14px; }
.discount-orange-box p { font-size:14px; color:#fff; opacity:.95; margin-bottom:24px; line-height:1.5; }

/* ==========================================================================
   15. EVENTS & BLOG SECTIONS (ASYMMETRIC SHAPE, DATE BADGE & IMAGE ZOOM)
   ========================================================================== */
.events-section, .blog-section { padding:100px 0; background:var(--light-bg); width:100%; }
.blog-section { background:#fff; }
.events-grid, .blog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }

.event-card, .event-item, .blog-card, .blog-item {
    background: #fff;
    border-radius: var(--radius-brand);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    transition: var(--transition-brand);
    display: flex;
    flex-direction: column;
}
.event-card:hover, .event-item:hover, .blog-card:hover, .blog-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,.15);
    border-color: var(--primary);
}

.event-img, .blog-thumb-wrap, .blog-item-img {
    height: 220px;
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-brand-sm);
}
.event-img img, .blog-thumb, .blog-item-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-brand-sm);
    transition: transform .5s ease;
}
.event-card:hover .event-img img, .blog-card:hover .blog-thumb, .blog-item:hover .blog-item-img img {
    transform: scale(1.1);
}

.event-date-badge, .blog-date-badge, .blog-date {
    display: inline-block;
    background: var(--accent);
    color: #ffffff;
    font-weight: 800;
    font-size: 12px;
    padding: 5px 14px;
    border-radius: var(--radius-brand);
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(255,159,28,.4);
}
.event-body, .blog-body { padding:24px; display:flex; flex-direction:column; flex-grow:1; }
.event-title, .blog-title { font-family:var(--font-heading); font-size:18px; font-weight:800; color:var(--dark); margin-bottom:12px; line-height:1.35; transition:color .3s ease; }
.event-card:hover .event-title, .blog-card:hover .blog-title { color:var(--accent); }

/* ==========================================================================
   16. DEPARTMENT & DIVISIONS SECTION (EXPANDING ACCENT RING & 3D LOGO FLIP)
   ========================================================================== */
.dept-section, .department-area { padding:100px 0; background:var(--light-bg); width:100%; }
.dept-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); gap:24px; }
.dept-card, .department-item {
    background: #fff;
    border-radius: var(--radius-brand);
    padding: 36px 24px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition-brand);
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}
.dept-card::before, .department-item::before {
    content: "";
    position: absolute;
    right: -10px;
    top: -10px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 10px solid var(--accent);
    transition: var(--transition-brand);
    opacity: .2;
    pointer-events: none;
}
.dept-card:hover::before, .department-item:hover::before {
    opacity: 1;
    transform: scale(1.25);
}
.dept-card:hover, .department-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,.12);
    border-color: var(--accent);
}

.dept-logo-box {
    width: 88px;
    height: 88px;
    border-radius: var(--radius-brand);
    background: #ffffff;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    padding: 10px;
    transition: all .5s ease;
    box-shadow: 0 8px 18px rgba(0,0,0,.04);
}
.dept-card:hover .dept-logo-box {
    transform: rotateY(360deg);
    border-color: var(--accent);
    box-shadow: 0 12px 24px rgba(255,159,28,.3);
}
.dept-logo-img { max-width:100%; max-height:100%; object-fit:contain; }
.dept-card h3 { font-family:var(--font-heading); font-size:18px; font-weight:800; color:var(--dark); margin-bottom:10px; }
.dept-card p { font-size:13px; color:var(--text-muted); margin-bottom:20px; line-height:1.5; }
.dept-link { font-weight:800; font-size:13px; color:var(--dark); text-decoration:none; display:inline-flex; align-items:center; gap:6px; transition:all .3s ease; margin-top:auto; }
.dept-link i { transition:transform .3s ease; }
.dept-card:hover .dept-link { color:var(--accent); }
.dept-card:hover .dept-link i { transform:translateX(6px); }

/* ==========================================================================
   17. ADMISSION FORM & TESTIMONIALS SECTION (DEEP NAVY)
   ========================================================================== */
.admission-section { background:var(--dark); color:#fff; padding:100px 0; width:100%; }
.admission-grid { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.admission-form-card { background:#fff; color:var(--text-main); border-radius:var(--radius-brand); padding:40px; box-shadow:0 25px 50px rgba(0,0,0,.2); }
.admission-form-card h3 { font-family:var(--font-heading); font-size:26px; font-weight:800; color:var(--dark); margin-bottom:20px; text-align:center; }

.testimonials-section { background:#0a1c2e; color:#fff; padding:100px 0; width:100%; position:relative; overflow:hidden; }
.testi-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.testimonial-slider.owl-carousel .owl-stage { display:flex; padding: 20px 0 30px; }
.testi-card-navy {
    position: relative;
    background: #0f2740;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-brand);
    padding: 34px 28px;
    transition: all .4s cubic-bezier(.34,1.56,.64,1);
    box-shadow: 0 15px 35px rgba(0,0,0,.25);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.testi-card-navy:hover {
    background: #14304e;
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 25px 50px rgba(0,0,0,.4);
}
.testi-quote-badge, .testimonial-quote-icon {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-brand);
    background: var(--accent);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(255,159,28,.4);
}
.testi-stars { color:var(--accent); font-size:14px; margin-bottom:16px; }
.testi-quote { font-size:14px; color:#e2e8f0; font-style:italic; line-height:1.65; margin-bottom:24px; flex-grow:1; }
.testi-author { display:flex; align-items:center; gap:14px; }
.testi-avatar { width:52px; height:52px; border-radius:50%; object-fit:cover; border:2px solid var(--accent); flex-shrink:0; }
.testi-name { font-weight:800; font-size:15px; color:#fff; margin-bottom:2px; }
.testi-role { font-size:12px; color:var(--accent); font-weight:700; }

/* ==========================================================================
   AUTHENTIC YGPI OWL CAROUSEL CONTROLS (NAV & DOTS)
   ========================================================================== */
.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
}
.hero-slider.owl-carousel .owl-nav {
    padding: 0 36px;
}
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    pointer-events: auto;
    width: 54px;
    height: 54px;
    border-radius: 50% !important;
    background: rgba(255,255,255,.18) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,.3) !important;
    font-size: 18px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all .35s cubic-bezier(.34,1.56,.64,1) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,.25);
    cursor: pointer;
}
.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
    background: var(--accent) !important;
    color: #ffffff !important;
    border-color: var(--accent) !important;
    transform: scale(1.15);
    box-shadow: 0 15px 35px rgba(255,159,28,.45);
}
.events-slider.owl-carousel .owl-nav {
    top: -65px;
    justify-content: flex-end;
    gap: 12px;
    right: 0;
    left: auto;
    transform: none;
}
.events-slider.owl-carousel .owl-nav button.owl-prev,
.events-slider.owl-carousel .owl-nav button.owl-next {
    background: #ffffff !important;
    color: var(--dark) !important;
    border: 1px solid var(--border-color) !important;
    width: 44px;
    height: 44px;
    font-size: 14px !important;
}
.events-slider.owl-carousel .owl-nav button.owl-prev:hover,
.events-slider.owl-carousel .owl-nav button.owl-next:hover {
    background: var(--accent) !important;
    color: #ffffff !important;
    border-color: var(--accent) !important;
}
.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.owl-carousel .owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50% !important;
    background: #94a3b8 !important;
    transition: all .35s cubic-bezier(.34,1.56,.64,1) !important;
    border: none !important;
    padding: 0 !important;
    outline: none !important;
    cursor: pointer;
}
.owl-carousel .owl-dot.active {
    width: 36px;
    border-radius: 20px !important;
    background: var(--accent) !important;
    box-shadow: 0 4px 12px rgba(255,159,28,.45);
}
.testimonials-section .owl-dot {
    background: rgba(255,255,255,.25) !important;
}
.testimonials-section .owl-dot.active {
    background: var(--accent) !important;
}

/* ==========================================================================
   18. PARTNERS & FOOTER SECTION
   ========================================================================== */
.partners-section { padding:44px 0; background:#ffffff; border-top:1px solid var(--border-color); border-bottom:1px solid var(--border-color); }
.partners-flex { display:flex; justify-content:center; align-items:center; gap:36px; flex-wrap:wrap; }
.partner-logo-item { height:56px; display:flex; align-items:center; justify-content:center; transition:transform .3s ease; }
.partner-logo-item:hover { transform:scale(1.12); }
.partner-logo-item img { max-height:50px; max-width:130px; object-fit:contain; filter:grayscale(25%); transition:all .3s ease; }
.partner-logo-item:hover img { filter:none; }

/* Carousel logo unit: berjalan terus, berhenti saat disorot. Kelas .is-marquee dipasang script.js
   (tanpa JS / dengan "kurangi animasi" tampilan tetap statis seperti semula). */
.partners-marquee { overflow:hidden; -webkit-mask-image:linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); mask-image:linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
.partners-flex.is-marquee { flex-wrap:nowrap; justify-content:flex-start; gap:0; width:max-content; animation:partnersScroll var(--partners-duration, 40s) linear infinite; will-change:transform; }
.partners-flex.is-marquee .partner-logo-item { flex:0 0 auto; width:120px; margin-right:36px; }
.partners-marquee:hover .partners-flex.is-marquee, .partners-marquee:focus-within .partners-flex.is-marquee { animation-play-state:paused; }
@keyframes partnersScroll { to { transform:translateX(-50%); } }
@media (max-width: 640px) { .partners-section { padding:32px 0; } .partners-flex.is-marquee .partner-logo-item { width:96px; margin-right:28px; } }

.footer { background:var(--dark-deep); color:#94a3b8; padding:80px 0 30px; font-size:14px; width:100%; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1.5fr; gap:50px; margin-bottom:50px; }
.footer-brand .brand-name { color:#fff; font-size:24px; margin-bottom:12px; }
.footer-heading { color:#fff; font-family:var(--font-heading); font-size:18px; font-weight:800; margin-bottom:20px; }
.footer-links-list { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-links-list a { color:#94a3b8; text-decoration:none; font-weight:600; transition:var(--transition-fast); }
.footer-links-list a:hover { color:var(--accent); padding-left:4px; }
.newsletter-box { display:flex; gap:8px; margin-top:12px; }
.newsletter-input { flex:1; padding:12px 16px; border-radius:30px; border:1px solid rgba(255,255,255,.2); background:rgba(255,255,255,.08); color:#fff; font-family:inherit; }
.newsletter-input:focus { outline:none; border-color:var(--accent); }
.btn-subscribe { background:var(--accent); color:#fff; border:none; padding:12px 20px; border-radius:30px; font-weight:800; cursor:pointer; transition:all .3s ease; }
.btn-subscribe:hover { background:var(--primary); transform:scale(1.05); }
.footer-bottom { padding-top:30px; border-top:1px solid rgba(255,255,255,.08); display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:20px; }

/* ==========================================================================
   19. SCROLL TOP BUTTON (SMOOTH HOVER)
   ========================================================================== */
.scroll-top-btn, #scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(255,159,28,.4);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-brand);
    display: flex;
    align-items: center;
    justify-content: center;
}
.scroll-top-btn.show, #scroll-top.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.scroll-top-btn:hover, #scroll-top:hover {
    background: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(13,148,136,.4);
}

/* ==========================================================================
   20. FORM INPUTS & GENERAL
   ========================================================================== */
.form-group { margin-bottom:18px; }
.form-label { display:block; font-weight:700; font-size:13px; color:var(--dark); margin-bottom:6px; }
.form-input, .form-select, .form-textarea { width:100%; padding:12px 16px; border-radius:10px; border:1px solid var(--border-color); font-family:inherit; font-size:14px; color:var(--text-main); transition:var(--transition-fast); }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline:none; border-color:var(--primary); box-shadow:0 0 0 3px rgba(13,148,136,.15); }

/* ==========================================================================
   21. ADMIN DASHBOARD SPECIFIC
   ========================================================================== */
.admin-body { background:#f1f5f9; min-height:100vh; padding-bottom:60px; }
.admin-navbar { background:var(--dark); color:#fff; padding:18px 0; position:sticky; top:0; z-index:100; box-shadow:0 4px 12px rgba(0,0,0,.15); }
.admin-nav-container { display:flex; justify-content:space-between; align-items:center; }
.admin-brand { display:flex; align-items:center; gap:12px; text-decoration:none; color:#fff; }
.admin-badge-tag { background:var(--accent); color:#fff; font-size:11px; font-weight:800; padding:2px 8px; border-radius:10px; text-transform:uppercase; }
.admin-grid { display:grid; grid-template-columns:260px 1fr; gap:24px; margin-top:30px; }
.admin-sidebar { background:#fff; border-radius:var(--radius-lg); padding:20px; border:1px solid var(--border-color); height:fit-content; position:sticky; top:90px; }
.admin-nav-list { list-style:none; display:flex; flex-direction:column; gap:6px; }
.admin-nav-btn { display:flex; align-items:center; gap:10px; padding:12px 16px; border-radius:10px; border:none; background:none; color:var(--text-main); font-weight:700; font-size:14px; cursor:pointer; width:100%; text-align:left; transition:var(--transition-fast); }
.admin-nav-btn:hover, .admin-nav-btn.active { background:var(--primary-light); color:var(--primary); }
.admin-card { background:#fff; border-radius:var(--radius-lg); padding:28px; border:1px solid var(--border-color); margin-bottom:24px; box-shadow:var(--shadow-sm); }
.admin-card-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; padding-bottom:12px; border-bottom:1px solid var(--border-color); }
.admin-card-title { font-family:var(--font-heading); font-size:20px; font-weight:800; color:var(--dark); display:flex; align-items:center; gap:10px; }
.btn-save { background:linear-gradient(135deg,var(--primary),var(--primary-hover)); color:#fff; padding:12px 24px; border-radius:30px; border:none; font-weight:700; cursor:pointer; font-size:14px; display:inline-flex; align-items:center; gap:8px; box-shadow:0 4px 12px rgba(13,148,136,.3); transition:var(--transition-fast); }
.btn-save:hover { transform:translateY(-2px); box-shadow:0 8px 16px rgba(13,148,136,.4); }
.btn-reset-seeder { background:#ef4444; color:#fff; padding:12px 20px; border-radius:30px; border:none; font-weight:700; cursor:pointer; font-size:14px; display:inline-flex; align-items:center; gap:8px; transition:var(--transition-fast); }
.btn-reset-seeder:hover { background:#dc2626; transform:translateY(-2px); }

.toast-msg { position:fixed; bottom:24px; right:24px; background:var(--dark); color:#fff; padding:14px 24px; border-radius:12px; font-weight:700; font-size:14px; box-shadow:0 10px 25px rgba(0,0,0,.3); display:flex; align-items:center; gap:10px; z-index:9999; transform:translateY(100px); opacity:0; transition:all .4s cubic-bezier(.4,0,.2,1); }
.toast-msg.show { transform:translateY(0); opacity:1; }

/* ==========================================================================
   22. OVERLAY SEARCH MODAL POPUP
   ========================================================================== */
.search-modal-overlay { position:fixed; inset:0; background:rgba(6,22,38,.85); backdrop-filter:blur(8px); z-index:9999; display:flex; align-items:center; justify-content:center; padding:20px; opacity:0; visibility:hidden; transition:all .35s ease; }
.search-modal-overlay.open { opacity:1; visibility:visible; }
.search-modal-box { background:var(--primary-dark); color:#fff; border-radius:28px; width:100%; max-width:650px; padding:40px; position:relative; box-shadow:0 30px 60px rgba(0,0,0,.5); border:1px solid rgba(255,255,255,.15); transform:scale(.9); transition:all .35s ease; }
.search-modal-overlay.open .search-modal-box { transform:scale(1); }
.search-modal-close { position:absolute; top:20px; right:20px; background:rgba(255,255,255,.15); color:#fff; border:none; width:38px; height:38px; border-radius:50%; font-size:18px; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:var(--transition-fast); }
.search-modal-close:hover { background:var(--accent); color:#fff; transform:rotate(90deg); }
.search-modal-header { margin-bottom:24px; text-align:center; }
.search-modal-header h3 { font-family:var(--font-heading); font-size:24px; font-weight:800; color:#fff; margin-bottom:6px; }
.search-modal-header p { font-size:14px; color:#ccfbf1; }
.search-input-group { display:flex; gap:10px; background:#fff; border-radius:40px; padding:6px 8px 6px 20px; box-shadow:0 8px 20px rgba(0,0,0,.2); }
.search-input-group input { border:none; outline:none; font-family:inherit; font-size:15px; width:100%; color:var(--dark); font-weight:600; }
.btn-search-execute { background:var(--accent); color:#fff; border:none; width:48px; height:48px; border-radius:50%; font-size:18px; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:var(--transition-fast); flex-shrink:0; }
.btn-search-execute:hover { background:var(--accent-hover); transform:scale(1.08); }
.search-quick-tags { margin-top:20px; display:flex; gap:8px; align-items:center; flex-wrap:wrap; font-size:13px; color:#ccfbf1; }
.search-tag-link { background:rgba(255,255,255,.12); color:#fff; padding:4px 14px; border-radius:20px; text-decoration:none; font-weight:600; transition:var(--transition-fast); }
.search-tag-link:hover { background:var(--accent); color:#fff; }

/* ==========================================================================
   22B. CINEMATIC VIDEO MODAL (PREMIUM GLASSMORPHISM)
   ========================================================================== */
.video-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(8, 15, 28, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.video-modal-container {
    background: #0f1c2e;
    border: 1px solid rgba(255, 159, 28, 0.35);
    border-radius: 24px;
    width: 100%;
    max-width: 900px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 159, 28, 0.2);
    overflow: hidden;
    transform: scale(0.92) translateY(20px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}
.video-modal-overlay.active .video-modal-container {
    transform: scale(1) translateY(0);
}
.video-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.video-modal-title {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}
.video-modal-close {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
}
.video-modal-close:hover {
    background: #ef4444;
    transform: rotate(90deg);
}
.video-modal-body {
    position: relative;
    width: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 75vh;
}
.video-modal-body video {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    outline: none;
}
.video-modal-footer {
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: #94a3b8;
}


/* ==========================================================================
   23. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
  .nav-menu { gap: 12px; }
  .nav-link { font-size: 13.5px; padding: 6px 2px; }
  .nav-item.mega .mega-dropdown { max-width: 96%; padding: 24px; gap: 20px; }
  .top-bar-left { padding: 8px 18px; font-size: 12px; }
  .top-bar-right { padding: 8px 18px; font-size: 12px; }
}

@media (max-width: 1360px) {
  .nav-toggle { display: inline-flex !important; align-items: center; justify-content: center; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px;
    gap: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,.4);
    border-bottom: 2px solid var(--accent);
    display: none;
    max-height: calc(100vh - 88px);
    overflow-y: auto;
  }
  .nav-menu.open { display: flex; }
  .nav-link { color: #ffffff; padding: 10px 14px; font-size: 15px; border-radius: 8px; justify-content: space-between; }
  .nav-link:hover, .nav-link.active { background: rgba(255,255,255,.08); color: var(--accent); }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    transform: none;
    display: none;
    opacity: 1;
    visibility: visible;
    padding-left: 14px;
    background: rgba(0,0,0,.25);
    border-radius: 8px;
    margin-top: 4px;
  }
  .nav-item.dropdown.open .dropdown-menu { display: block; }
  .nav-item.mega .mega-dropdown {
    position: static;
    transform: none;
    width: 100%;
    display: none;
    opacity: 1;
    visibility: visible;
    grid-template-columns: 1fr;
    padding: 16px;
    background: rgba(0,0,0,.25);
    border-radius: 8px;
    margin-top: 4px;
  }
  .nav-item.mega.open .mega-dropdown { display: grid; }
  .brand-sub { display: none; }
}

@media (max-width: 1024px) {
  .top-bar-dual { flex-direction: column; }
  .top-bar-left, .top-bar-right { width: 100%; justify-content: center; padding: 8px 16px; }
}

@media (max-width: 960px) {
  .hero-container, .about-grid, .why-choose-grid, .admission-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-title { font-size: 38px; }
  .hero-media-col { margin-top: 20px; }
  .grid-4-features, .counter-grid, .courses-grid, .teachers-grid, .gallery-grid, .events-grid, .testi-grid, .blog-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-title { font-size: 30px; }
  .grid-4-features, .counter-grid, .courses-grid, .teachers-grid, .gallery-grid, .events-grid, .testi-grid, .blog-grid, .footer-grid { grid-template-columns: 1fr; }
  .about-checklist { grid-template-columns: 1fr; }
  .about-img-sub { width: 140px; height: 140px; bottom: -15px; right: -15px; }
  .about-badge-exp { left: 10px; top: 10px; padding: 10px 16px; }
  .hero-buttons { flex-direction: column; }
  .btn-hero-primary, .btn-hero-white { width: 100%; text-align: center; justify-content: center; }
  .top-info-list { flex-direction: column; gap: 6px; }
}

/* ==========================================================================
   23. PERBAIKAN RESPONSIF — navbar, topbar & blok keunggulan tidak boleh
   melebihi lebar layar (laptop 1280-1500px dan HP)
   ========================================================================== */
/* topbar satu baris: sembunyikan info sekunder bertahap agar nomor telepon tidak terpotong */
@media (min-width: 1025px) and (max-width: 1500px) { #topEmail { display: none; } }
@media (min-width: 1025px) and (max-width: 1360px) { #topOfficeCentral { display: none; } }

@media (max-width: 1500px) {
  .nav-container { gap: 14px; }
  .nav-menu { gap: 14px; }
  .brand-name { font-size: 17px; }
  .nav-cta-pill { padding: 10px 18px; }
}

@media (max-width: 1024px) {
  .top-bar-left { white-space: normal; flex-wrap: wrap; justify-content: center; text-align: center; row-gap: 6px; }
  .top-info-list { white-space: normal; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
  .brand-logo { flex-shrink: 1; min-width: 0; }
  .brand-name { white-space: normal; }
}

/* judul kartu alur pendaftaran tidak boleh menabrak angka outline di pojok */
#workflowGrid h3 { padding-right: 46px; }

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .discount-banner-section { padding: 40px 0; }
  .discount-banner-card { padding: 24px 16px; min-height: 0; border-radius: 24px; }
  .discount-orange-box { padding: 28px 22px; border-radius: 50px 50px 50px 0; }
  .discount-orange-box h3 { font-size: 22px; }
  .why-choose-grid > * { min-width: 0; }
  .why-features-grid { grid-template-columns: 1fr; }
  .logo-icon { width: 44px; height: 44px; }
  .brand-name { font-size: 15px; }
  .nav-container { gap: 10px; }
  .nav-actions { gap: 6px; }
}

@media (max-width: 520px) {
  .nav-cta-pill { display: none; }
}

/* ==========================================================================
   24. GRID PROGRAM: hasil filter selalu terpusat (3 / 2 / 1 kolom), tanpa kolom kosong
   ========================================================================== */
#programGrid { display:flex; flex-wrap:wrap; justify-content:center; gap:30px; }
#programGrid > .course-card { flex:0 0 calc((100% - 60px) / 3); max-width:calc((100% - 60px) / 3); }
#programGrid > .course-card.is-filtered-out { display:none; }
.course-card.card-in { animation:cardIn .4s ease both; }
@keyframes cardIn { from { opacity:0; transform:translateY(15px); } to { opacity:1; transform:translateY(0); } }
@media (max-width: 960px) { #programGrid > .course-card { flex-basis:calc((100% - 30px) / 2); max-width:calc((100% - 30px) / 2); } }
@media (max-width: 640px) { #programGrid > .course-card { flex-basis:100%; max-width:100%; } }

/* footer kartu: pil status tidak terpecah dua baris, info meta yang membungkus */
.course-footer-row { gap:12px; }
.course-info-sub { flex-wrap:wrap; gap:4px 12px; min-width:0; }
.course-price-pill { white-space:nowrap; flex-shrink:0; }

/* ==========================================================================
   25. FUNGSI NYATA: tautan bilah atas, hasil pencarian, tombol WhatsApp footer
   ========================================================================== */
.top-bar-dual a { color: inherit; text-decoration: none; }
.top-info-list a { display: inline-flex; align-items: center; gap: 8px; }
.top-info-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-wa-btn { display: inline-flex; width: auto; padding: 12px 26px; font-size: 14px; gap: 8px; }
.footer a[href^="mailto:"] { color: inherit; text-decoration: none; border-bottom: 1px dotted rgba(255,255,255,.4); }

.search-results { margin-top: 14px; max-height: 42vh; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.search-results:empty { display: none; }
.search-result { text-align: left; display: grid; gap: 3px; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.07); color: #fff; font-family: inherit; cursor: pointer; transition: var(--transition-fast); }
.search-result:hover, .search-result:focus-visible { background: rgba(255,255,255,.16); border-color: var(--accent); outline: none; }
.search-result-type { font-size: 11px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--accent); }
.search-result strong { font-size: 15px; font-weight: 700; }
.search-result small { color: #cbd5e1; font-size: 12px; line-height: 1.45; }
.search-empty { padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.07); color: #e2e8f0; font-size: 14px; line-height: 1.5; }
.search-empty a { color: var(--accent); font-weight: 700; }
.search-hit { outline: 3px solid var(--accent); outline-offset: 6px; border-radius: 28px; animation: searchHit 2.6s ease; }
@keyframes searchHit { 0%, 70% { outline-color: var(--accent); } 100% { outline-color: transparent; } }

.events-empty { text-align: center; padding: 48px 24px; border: 2px dashed var(--border-color); border-radius: 24px; color: var(--text-muted); background: #fff; }
.events-empty i { font-size: 38px; color: var(--primary); margin-bottom: 12px; display: block; }
.events-empty p { margin: 0 auto; max-width: 520px; line-height: 1.6; }
.events-empty a { color: var(--primary); font-weight: 700; }

/* Sebelum Owl Carousel siap, tampilkan hanya slide pertama (mencegah isi halaman melompat saat carousel aktif) */
#heroSliderTrack:not(.owl-loaded) > .hero-slide-item:not(:first-child) { display: none; }

/* Ruang untuk hero sebelum isinya tergambar (tinggi mengikuti ukuran nyata slide), agar isi di bawahnya tidak melompat */
#heroSliderTrack:not(.owl-loaded) { min-height: 740px; }
@media (max-width: 1360px) { #heroSliderTrack:not(.owl-loaded) { min-height: 790px; } }
@media (max-width: 960px) { #heroSliderTrack:not(.owl-loaded) { min-height: 1020px; } }
@media (max-width: 640px) { #heroSliderTrack:not(.owl-loaded) { min-height: 1040px; } }

/* ==========================================================================
   26. KONTRAS WARNA (aksesibilitas, WCAG AA)
   Kuning #ff9f1c tetap dipakai sebagai latar; teks di atasnya memakai biru tua,
   dan kuning sebagai warna tulisan di latar terang diganti varian lebih tua.
   ========================================================================== */
:root { --accent-text: #b45309; --accent-heading: #d97706; --on-accent: #0f2942; }

/* tulisan kuning di latar terang */
.sub-header, #brandName .accent-text { color:var(--accent-text); }
h1 .accent-text, h2 .accent-text, h3 .accent-text { color:var(--accent-heading); }
.hero-slide-item .accent-text, .page-hero .accent-text, [class*="footer"] .accent-text, .dark-section .accent-text { color:var(--accent); }

/* tulisan putih di latar kuning -> biru tua */
#topAnnouncement, .about-badge-exp, .course-tag-badge, .course-tag, .course-price-pill,
.event-date-badge, .blog-date-badge, .blog-date,
.discount-orange-box, .discount-orange-box h3, .discount-orange-box p, .discount-orange-box > div { color:var(--on-accent); }
.discount-orange-box p { opacity:1; }

/* tulisan hijau-teal, biru, dan hijau di latar terang */
.teacher-role, .team-bio span, .dept-card .dept-tag, .dept-card > div > span { color:var(--primary-hover); }
.dept-card:hover .dept-link { color:var(--accent-text); }
.visi-card .visi-misi-title { color:#15803d; }
.misi-card .visi-misi-title { color:#0369a1; }
.tab-btn.active, .tab-btn:hover { background:var(--primary-hover); border-color:var(--primary-hover); }
@media (min-width:1361px) { .nav-link:hover, .nav-link.active { color:var(--primary-hover); } }

/* angka besar berkerangka di kartu fitur: dihias, tetapi tetap terbaca */
.feature-num, .feature-item .count { -webkit-text-stroke-color:var(--primary-hover); opacity:.8; }

/* fokus papan ketik terlihat jelas */
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline:3px solid var(--accent); outline-offset:2px; }
.skip-link { position:fixed; left:12px; top:-60px; z-index:10001; background:var(--dark); color:#fff; padding:10px 18px; border-radius:10px; font-weight:700; text-decoration:none; transition:top .2s; }
.skip-link:focus { top:12px; }
h2[style*="color:#fff"] .accent-text, .why-choose-section .accent-text, .testimonials-section .accent-text, .admission-section .accent-text { color:var(--accent); }
.why-choose-section .sub-header, .admission-section .sub-header, .testimonials-section .sub-header, .dark-section .sub-header { color:var(--accent); }
#ppdbFormTitle { color:var(--accent-heading); }

/* ==========================================================================
   27. FITUR TAMBAHAN: donasi, pembaca artikel, WhatsApp melayang, peta, tautan privasi
   ========================================================================== */
.don-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:18px; }
.don-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:12px 20px; border-radius:40px; font:700 14px var(--font-body); text-decoration:none; cursor:pointer; border:1.5px solid rgba(255,255,255,.35); background:transparent; color:#fff; transition:var(--transition-fast); }
.don-btn:hover { background:rgba(255,255,255,.12); }
.don-wa { background:#15803d; border-color:#15803d; }
.don-wa:hover { background:#166534; }
.don-btn:focus-visible { outline:3px solid var(--accent); outline-offset:2px; }

.article-reader { position:fixed; inset:0; z-index:10000; background:rgba(6,22,38,.78); display:flex; align-items:center; justify-content:center; padding:20px; animation:readerIn .25s ease; }
@keyframes readerIn { from { opacity:0; } to { opacity:1; } }
.article-reader-box { position:relative; width:100%; max-width:760px; max-height:92vh; overflow:auto; background:#fff; border-radius:24px; box-shadow:0 30px 70px -15px rgba(0,0,0,.6); }
.article-reader-img { width:100%; height:300px; object-fit:cover; }
.article-reader-body { padding:28px 32px 34px; }
.article-reader-meta { font-size:13px; font-weight:700; color:var(--text-muted); margin-bottom:10px; }
.article-reader-body h2 { font-family:var(--font-heading); font-size:28px; line-height:1.25; color:var(--dark); margin-bottom:16px; }
.article-reader-body p { color:var(--text-main); line-height:1.75; margin-bottom:14px; }
.article-reader-close { position:absolute; top:14px; right:14px; z-index:2; width:42px; height:42px; border:0; border-radius:50%; background:rgba(15,41,66,.8); color:#fff; font-size:18px; cursor:pointer; }
.article-reader-close:hover { background:var(--dark); }
@media (max-width:600px) { .article-reader-img { height:200px; } .article-reader-body { padding:22px 20px 26px; } .article-reader-body h2 { font-size:22px; } }


.map-section { padding:80px 0; background:var(--light-bg); }
.map-frame { border-radius:24px; overflow:hidden; box-shadow:var(--shadow-md); border:1px solid var(--border-color); height:420px; }
.map-frame iframe { width:100%; height:100%; border:0; display:block; }
@media (max-width:600px) { .map-section { padding:56px 0; } .map-frame { height:300px; } }

.footer-privacy { color:#cbd5e1; font-size:13px; text-decoration:underline; }
.footer-privacy:hover { color:#fff; }

/* tombol kuning: tulisan biru tua (kontras), saat disorot berubah teal gelap dengan tulisan putih */
.theme-btn, .btn-hero-primary, .btn-get-started { color:var(--on-accent) !important; }
.theme-btn::before, .btn-hero-primary::before, .btn-get-started::before { background:var(--primary-hover); }
.theme-btn:hover, .btn-hero-primary:hover, .btn-get-started:hover { color:#fff !important; }
.blog-body .blog-read { margin-top:auto; align-self:flex-start; }
