Pengumuman Bakal Calon Direktur — Politeknik NSC Surabaya
/* ===== IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');
/* ===== CSS VARIABLES ===== */
:root {
--primary-dark: #ffffff;
--primary-navy: #f8f8f8;
--secondary-navy: #f0f0f0;
--accent-gold: #b8922e;
--accent-gold-light: #a07d1e;
--accent-gold-dark: #8a6b14;
--text-white: #1a1a2e;
--text-light: #3a3a5c;
--text-muted: #6b6b8a;
--glass-bg: rgba(255, 255, 255, 0.7);
--glass-border: rgba(184, 146, 46, 0.25);
--gradient-gold: linear-gradient(135deg, #b8922e, #d4a853, #b8922e);
--font-heading: 'Playfair Display', serif;
--font-body: 'Inter', sans-serif;
--font-accent: 'Outfit', sans-serif;
--radius-sm: 8px;
--radius-md: 16px;
--radius-lg: 24px;
--transition-fast: 0.2s ease;
--transition-normal: 0.3s ease;
--transition-slow: 0.5s ease;
}
/* ===== RESET & BASE ===== */
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html { scroll-behavior: smooth; font-size: 16px; }
body {
font-family: var(--font-body);
background: #ffffff;
color: var(--text-white);
line-height: 1.6;
min-height: 100vh;
overflow-x: hidden;
}
/* ===== ANIMATED BACKGROUND ===== */
.bg-particles {
position: fixed; top: 0; left: 0;
width: 100%; height: 100%;
z-index: 0; pointer-events: none; overflow: hidden;
}
.bg-particles .orb {
position: absolute; border-radius: 50%;
filter: blur(80px); opacity: 0.08;
animation: float 20s infinite ease-in-out;
}
.bg-particles .orb:nth-child(1) {
width: 500px; height: 500px; background: var(--accent-gold);
top: -10%; left: -5%; animation-delay: 0s;
}
.bg-particles .orb:nth-child(2) {
width: 400px; height: 400px; background: #4a5ce8;
top: 50%; right: -10%; animation-delay: -7s;
}
.bg-particles .orb:nth-child(3) {
width: 350px; height: 350px; background: var(--accent-gold-dark);
bottom: -5%; left: 30%; animation-delay: -14s;
}
@keyframes float {
0%, 100% { transform: translate(0, 0) scale(1); }
25% { transform: translate(30px, -50px) scale(1.05); }
50% { transform: translate(-20px, 30px) scale(0.95); }
75% { transform: translate(40px, 20px) scale(1.02); }
}
/* ===== MAIN CONTAINER ===== */
.main-container {
position: relative; z-index: 1;
max-width: 1400px; margin: 0 auto; padding: 2rem;
}
/* ===== HERO SECTION ===== */
.hero-section {
text-align: center; padding: 3rem 1rem 2rem; position: relative;
}
.institution-badge {
display: inline-flex; align-items: center; gap: 0.75rem;
background: var(--glass-bg); backdrop-filter: blur(20px);
border: 1px solid var(--glass-border); border-radius: 100px;
padding: 0.6rem 1.75rem; margin-bottom: 2rem;
animation: fadeInDown 0.8s ease-out;
}
.institution-badge .badge-icon {
width: 40px; height: 40px; border-radius: 50%;
background: var(--gradient-gold);
display: flex; align-items: center; justify-content: center;
overflow: hidden; padding: 4px;
}
.institution-badge .badge-icon img {
width: 100%; height: 100%; object-fit: contain;
}
.institution-badge span.badge-text {
font-family: var(--font-accent); font-weight: 600;
font-size: 0.95rem; color: var(--accent-gold-light);
letter-spacing: 2px; text-transform: uppercase;
}
.hero-title {
font-family: var(--font-heading); font-size: 3.5rem;
font-weight: 800; line-height: 1.15; margin-bottom: 1rem;
background: var(--gradient-gold);
-webkit-background-clip: text; -webkit-text-fill-color: transparent;
background-clip: text;
animation: fadeInUp 0.8s ease-out 0.2s both;
}
.hero-subtitle {
font-family: var(--font-accent); font-size: 1.35rem;
font-weight: 400; color: var(--text-light); margin-bottom: 0.75rem;
animation: fadeInUp 0.8s ease-out 0.4s both;
}
.hero-period {
font-family: var(--font-accent); font-size: 1.15rem;
font-weight: 600; color: var(--accent-gold); letter-spacing: 3px;
animation: fadeInUp 0.8s ease-out 0.5s both;
}
.hero-divider {
width: 120px; height: 3px;
background: var(--gradient-gold);
margin: 2rem auto; border-radius: 2px;
animation: fadeInUp 0.8s ease-out 0.6s both;
}
/* ===== CANDIDATES GRID ===== */
.candidates-grid {
display: grid; grid-template-columns: 1fr 1fr;
gap: 2.5rem; margin: 2rem 0;
animation: fadeInUp 0.8s ease-out 0.7s both;
}
/* ===== CANDIDATE CARD ===== */
.candidate-card {
background: var(--glass-bg); backdrop-filter: blur(20px);
border: 1px solid var(--glass-border);
border-radius: var(--radius-lg); overflow: hidden;
transition: transform var(--transition-normal), box-shadow var(--transition-normal);
position: relative;
}
.candidate-card::before {
content: ''; position: absolute; top: 0; left: 0; right: 0;
height: 4px; background: var(--gradient-gold);
}
.candidate-card:hover {
transform: translateY(-8px);
box-shadow: 0 20px 60px rgba(212, 168, 83, 0.15);
}
.card-header {
text-align: center; padding: 2.5rem 2rem 1.5rem; position: relative;
}
.candidate-number {
position: absolute; top: 1.5rem; right: 1.5rem;
width: 56px; height: 56px; background: var(--gradient-gold);
border-radius: 50%; display: flex; align-items: center;
justify-content: center; font-family: var(--font-heading);
font-size: 1.5rem; font-weight: 800; color: var(--primary-dark);
box-shadow: 0 4px 20px rgba(212, 168, 83, 0.4);
}
/* ===== PHOTO PLACEHOLDER ===== */
.candidate-photo-wrap {
width: 160px; height: 160px; border-radius: 50%;
border: 4px solid var(--accent-gold); margin: 0 auto 1.25rem;
overflow: hidden; display: flex; align-items: center;
justify-content: center; background: rgba(240, 240, 240, 0.8);
box-shadow: 0 8px 32px rgba(212, 168, 83, 0.25);
transition: transform var(--transition-normal);
}
.candidate-card:hover .candidate-photo-wrap {
transform: scale(1.05);
}
.candidate-photo-wrap img {
width: 100%; height: 100%; object-fit: cover; display: block;
}
/* Fallback initials if no image */
.photo-initials {
font-family: var(--font-heading); font-size: 2.5rem;
font-weight: 700; color: var(--accent-gold-light);
letter-spacing: 2px; user-select: none;
}
.candidate-name {
font-family: var(--font-heading); font-size: 1.5rem;
font-weight: 700; color: var(--text-white); margin-bottom: 0.25rem;
}
.candidate-title {
font-family: var(--font-accent); font-size: 0.85rem;
font-weight: 500; color: var(--accent-gold-light);
letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0.75rem;
}
.candidate-position {
font-family: var(--font-body); font-size: 0.9rem;
color: var(--text-light); background: rgba(212, 168, 83, 0.1);
border: 1px solid rgba(212, 168, 83, 0.2);
padding: 0.5rem 1.25rem; border-radius: 100px; display: inline-block;
}
/* ===== CARD CONTENT ===== */
.card-body { padding: 0 2rem 2rem; }
.section { margin-bottom: 1.5rem; }
.section-title {
font-family: var(--font-accent); font-size: 0.8rem;
font-weight: 700; color: var(--accent-gold);
letter-spacing: 2px; text-transform: uppercase;
margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem;
}
.section-title::before {
content: ''; width: 20px; height: 2px;
background: var(--accent-gold); border-radius: 1px;
}
.section-content { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }
.timeline-item {
position: relative; padding-left: 1.25rem;
margin-bottom: 0.6rem; font-size: 0.85rem;
color: var(--text-light); line-height: 1.5;
}
.timeline-item::before {
content: ''; position: absolute; left: 0; top: 8px;
width: 6px; height: 6px; background: var(--accent-gold); border-radius: 50%;
}
.timeline-year {
font-weight: 600; color: var(--accent-gold-light); font-size: 0.8rem;
}
.tags-container { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
background: rgba(184, 146, 46, 0.1);
border: 1px solid rgba(184, 146, 46, 0.3);
color: var(--accent-gold-light); padding: 0.3rem 0.85rem;
border-radius: 100px; font-size: 0.78rem; font-weight: 500;
font-family: var(--font-accent); transition: all var(--transition-fast);
}
.tag:hover { background: rgba(184, 146, 46, 0.2); transform: translateY(-2px); }
.contact-info { display: flex; flex-direction: column; gap: 0.4rem; }
.contact-item {
display: flex; align-items: center; gap: 0.5rem;
font-size: 0.85rem; color: var(--text-light);
}
.contact-item .icon {
color: var(--accent-gold); font-size: 0.9rem; width: 20px; text-align: center;
}
.profile-summary {
font-style: italic; color: var(--text-muted); font-size: 0.88rem;
border-left: 3px solid var(--accent-gold); padding-left: 1rem; margin-bottom: 1.5rem;
}
/* ===== FOOTER ===== */
.footer {
text-align: center; padding: 2rem 0;
border-top: 1px solid rgba(184, 146, 46, 0.2); margin-top: 1rem;
}
.footer p { font-size: 0.85rem; color: var(--text-muted); font-family: var(--font-accent); }
.footer .gold { color: var(--accent-gold); font-weight: 600; }
/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(30px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
from { opacity: 0; transform: translateY(-30px); }
to { opacity: 1; transform: translateY(0); }
}
.reveal {
opacity: 0; transform: translateY(40px);
transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
.hero-title { font-size: 2.75rem; }
.candidates-grid { gap: 2rem; }
}
@media (max-width: 768px) {
.main-container { padding: 1rem; }
.hero-title { font-size: 2.2rem; }
.hero-subtitle { font-size: 1.1rem; }
.candidates-grid { grid-template-columns: 1fr; gap: 2rem; }
.candidate-photo-wrap { width: 130px; height: 130px; }
.candidate-name { font-size: 1.3rem; }
.card-body { padding: 0 1.5rem 1.5rem; }
.institution-badge { padding: 0.5rem 1.25rem; }
.institution-badge span.badge-text { font-size: 0.8rem; }
.institution-badge .badge-icon { width: 32px; height: 32px; font-size: 0.85rem; }
}
@media (max-width: 480px) {
.hero-title { font-size: 1.75rem; }
.hero-subtitle { font-size: 1rem; }
.card-header { padding: 2rem 1.25rem 1.25rem; }
.card-body { padding: 0 1.25rem 1.25rem; }
.candidate-number { width: 44px; height: 44px; font-size: 1.2rem; top: 1rem; right: 1rem; }
}
Politeknik NSC Surabaya
Pengumuman Bakal Calon
Direktur
Politeknik NSC Surabaya
Periode 2026 — 2030
1
Fri Medistya Anke Priyono
S.E., M.A., Ak., CA
2
Dr. Ahmad Dzul Fikri Budi Kusworo
S.E., M.M.
© 2026 Politeknik NSC Surabaya — Semua hak dilindungi.
// ── Scroll Reveal Animation ──
document.addEventListener('DOMContentLoaded', () => {
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.classList.add('visible');
}
});
}, { threshold: 0.1 });
document.querySelectorAll('.reveal').forEach(el => observer.observe(el));
});