/* ===================== NAVBAR FLOATING PILL ===================== */

#tm-nav {
    background: transparent !important;
    z-index: 1000;
}
#tm-nav.scroll #nav-pill {
    background: rgba(9,60,93,0.82) !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.1) !important;
}

.nav-link {
    display: inline-block;
    padding: 7px 14px;
    color: rgba(147,191,207,0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.03em;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}
.nav-link:hover, .nav-link.current {
    background: rgba(147,191,207,0.18);
    color: #fff;
    border-bottom: none !important;
}
.navbar-actions{ display:flex; align-items:center; gap:18px; }

.btn-sm{ padding:10px 18px; font-size:13px; }
.btn-lg{ padding:16px 30px; font-size:15px; }

.btn-primary{
  background:linear-gradient(135deg, var(--blue), var(--indigo));
  color:#fff;
  box-shadow:0 0 0 1px rgba(99,102,241,.4), 0 8px 24px -8px rgba(59,130,246,.6);
}

.mobile-nav-link {
    display: block;
    padding: 12px 20px;
    color: rgba(147,191,207,0.9);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 12px;
    transition: background 0.2s ease, color 0.2s ease;
}
.mobile-nav-link:hover {
    background: rgba(147,191,207,0.15);
    color: #fff;
}

/* Responsive breakpoint untuk navbar */
@media (max-width: 767px) {
    #nav-links { display: none !important; }
    #menu-toggle { display: block !important; }
    #nav-pill { border-radius: 20px !important; padding: 10px 16px !important; }
}
@media (min-width: 768px) {
    #mobile-menu { display: none !important; }
    #menu-toggle { display: none !important; }
}

/* ===================== INTRO RESPONSIVE ===================== */
#intro .tm-intro-inner {
    padding-top: 18rem;
    padding-bottom: 8rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
@media (max-width: 640px) {
    #intro .tm-intro-inner {
        padding-top: 7rem;
        padding-bottom: 4rem;
        align-items: center;
    }
}

/* ===================== SOSIAL MEDIA RESPONSIVE ===================== */
.sosmed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
@media (max-width: 480px) {
    .sosmed-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================== GLASSMORPHISM iOS STYLE ===================== */

.glass-card {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 24px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.glass-card:hover {
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
    transform: translateY(-2px);
}

.tm-text-cyan {
    text-shadow: 0 0 20px rgba(33, 94, 118, 0.8);
    letter-spacing: 0.08em;
}

html { scroll-behavior: smooth; }
a:focus-visible { outline: 2px solid rgba(255,255,255,0.6); outline-offset: 3px; border-radius: 4px; }

/* ===================== TYPEWRITER ANIMATION ===================== */
.typewriter-wrap {
    display: inline-block;
    position: relative;
}
.typewriter-text {
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid rgba(147,191,207,0.9);
    width: 0;
    animation:
        typing 2.5s steps(22, end) 0.8s forwards,
        blink-caret 0.75s step-end infinite;
}
@keyframes typing {
    from { width: 0; }
    to   { width: 100%; }
}
@keyframes blink-caret {
    from, to { border-color: transparent; }
    50%      { border-color: rgba(147,191,207,0.9); }
}

#intro .tm-intro-inner {
    padding-top: 22rem;
    padding-bottom: 10rem;
}

@media (max-width: 640px) {
    #intro .tm-intro-inner {
        padding-top: 8rem;
        padding-bottom: 4rem;
    }
}

.cta-glass {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}

.cta-glass:hover {
    background: rgba(0, 0, 0, 0.72);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

/* ===================== VISI MISI PROKER ===================== */

.vmp-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.vmp-section-title {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 16px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Slider */
#proker-slider-outer {
    overflow: hidden;
}

#proker-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.proker-slide {
    flex-shrink: 0;
    width: 100%;
}
.proker-slide p {
    text-align: justify;
}

/* Gambar bulat */
.proker-img-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proker-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.proker-img-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.65);
    font-size: 28px;
}

/* Dots */
.proker-dot {
    height: 10px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
}

.proker-dot.active   { width: 24px; background: #355872; }
.proker-dot.inactive { width: 10px; background: #8ab2d0);  }

/* Nav buttons */
.proker-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #2e506a;
    border: 1px solid rgba(255,255,255,0.35);
    color:#97d3d8;";
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.proker-nav-btn:hover { background: #fff; }

/* ===================== BADAN PENGURUS ===================== */

#bp-group-outer { overflow: hidden; }
#bp-group-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.bp-group-slide {
    flex-shrink: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 24px;
    padding: 8px 0;
    justify-content: center;
    align-items: stretch;
}

/* Each division card */
.bp-div-card {
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 20px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.18);
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.bp-div-header {
    background: rgba(147, 191, 207, 0.25);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 10px 16px;
    text-align: center;
}

.bp-div-header h4 {
    color: #093C5D;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    margin: 0;
}

/* Inner member slider */
.bp-member-outer { overflow: hidden; flex: 1; }
.bp-member-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
    will-change: transform;
    height: 100%;
}
.bp-member-slide {
    flex-shrink: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 16px 16px;
    text-align: center;
}

/* Avatar */
.bp-avatar {
    width: 140px;
    height: 185px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(147, 191, 207, 0.5);
    background: rgba(147, 191, 207, 0.15);
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.bp-avatar img { width:100%; height:100%; object-fit:cover; object-position: top center; }
.bp-avatar-icon {
    color: rgba(12, 86, 113, 0.7);
    font-size: 56px;
}

@media (max-width: 767px) {
    .bp-avatar {
        width: 100px;
        height: 132px;
    }
    .bp-avatar-icon { font-size: 40px; }
}

.bp-member-name {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 2px;
}
.bp-member-role {
    color: rgba(255, 255, 255, 0.85);
    font-size: 11px;
    font-weight: 300;
}

/* Inner member nav */
.bp-member-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 0 12px;
}
.bp-mini-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
    padding: 0;
}
.bp-mini-dot.active   { background: rgba(255,255,255,0.9); transform: scale(1.3); }
.bp-mini-dot.inactive { background: rgba(255,255,255,0.25); }

.bp-mini-btn {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    padding: 0;
    line-height: 1;
}
.bp-mini-btn:hover { background: rgba(255,255,255,0.3); }

/* Group nav dots */
.bp-group-dot {
    height: 10px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
}
.bp-group-dot.active   { width: 28px; background: rgba(255,255,255,0.92); }
.bp-group-dot.inactive { width: 10px; background: rgba(255,255,255,0.28); }

@media (max-width: 767px) {
    .bp-group-slide { flex-direction: column; }
    .bp-div-card { min-width: 100%; }
}

/* ===================== PUBLIKASI ===================== */
#publikasi {
    position: relative;
}

.pub-journal-box {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 28px;
    box-shadow:
        0 12px 48px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.pub-journal-box:hover {
    transform: translateY(-4px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.pub-logo-link {
    display: inline-block;
    transition: transform 0.25s ease, opacity 0.25s ease;
    border-radius: 16px;
    padding: 16px 24px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
}

.pub-logo-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
    background: rgba(255,255,255,0.2);
}

.pub-logo-link img {
    height: 80px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}

.pub-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #93BFCF, rgba(147,191,207,0.3));
    border-radius: 2px;
    margin: 20px auto;
}

.pub-badge {
    display: inline-block;
    background: rgba(147, 191, 207, 0.2);
    border: 1px solid rgba(147, 191, 207, 0.4);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 11px;
    color: #93BFCF;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
}

/* ===================== OPREC ===================== */
.opr-badge {
    display: inline-block;
    background: rgba(147, 191, 207, 0.2);
    border: 1px solid rgba(87, 151, 174, 0.4);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 11px;
    color: #0a394a;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
}

.opr-journal-box {
  width: 100%;
  max-width: 220px;
  background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 28px;
    box-shadow:
        0 12px 48px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}


/* ===================== SOSIAL MEDIA ===================== */
@media (max-width: 640px) {
    #sosmed [style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
}

/* ===================== FOOTER ===================== */
#site-footer {
    background: #093C5D;
    color: #fff;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 56px 32px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-inner { padding: 40px 20px 0; }
}

.footer-col-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #93BFCF;
    margin-bottom: 18px;
}

.footer-brand-name {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

.footer-brand-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 16px;
    line-height: 1.6;
}

.footer-address {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
}

.footer-address a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-address a:hover { color: #93BFCF; }

/* Social icons */
.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.footer-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.footer-social-btn:hover {
    background: rgba(147, 191, 207, 0.3);
    border-color: #93BFCF;
    transform: translateY(-2px);
    color: #fff;
}

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

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

.footer-links a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}

.footer-links a:hover {
    color: #93BFCF;
    padding-left: 6px;
}

/* Copyright bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom a {
    color: #93BFCF;
    text-decoration: none;
}

.footer-bottom a:hover { text-decoration: underline; }

/* Map embed style */
.footer-map {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.15);
    height: 160px;
    margin-bottom: 16px;
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: brightness(0.85) saturate(0.9);
}