forked from izu/student-web-if-development-kit
8e9137f725
Memindahkan seluruh file web-beasiswa-untan (assets, data, index.html, SRS/SDD, PROJECT_CONTEXT) ke dalam folder grup ApeNameTeamE. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1475 lines
27 KiB
CSS
1475 lines
27 KiB
CSS
/* =====================================================
|
|
INFORMATIKA UNTAN — Website Beasiswa
|
|
Custom CSS (Complementary to Tailwind CSS)
|
|
===================================================== */
|
|
|
|
/* ===== CSS VARIABLES ===== */
|
|
:root {
|
|
--color-primary: #003150;
|
|
--color-secondary: #feb404;
|
|
--color-bg: #FFFFFF;
|
|
--color-text: #1A1A1A;
|
|
--color-accent: #6B7280;
|
|
--color-success: #10B981;
|
|
--color-danger: #EF4444;
|
|
--color-overlay: rgba(0, 0, 0, 0.5);
|
|
--font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
|
|
--font-serif: 'Roboto Condensed', sans-serif;
|
|
--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
--shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
|
|
--shadow-card: 0 2px 12px rgba(0,0,0,0.08);
|
|
--shadow-card-hover: 0 8px 30px rgba(43,69,144,0.15);
|
|
--shadow-popup: 0 20px 60px rgba(0,0,0,0.3);
|
|
--radius: 12px;
|
|
--navbar-height: 108px; /* 60px top bar putih + 48px main nav kuning */
|
|
}
|
|
|
|
/* ===== BASE RESET ===== */
|
|
*, *::before, *::after {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
font-size: 16px;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-sans);
|
|
color: var(--color-text);
|
|
line-height: 1.65;
|
|
overflow-x: hidden;
|
|
background: var(--color-bg);
|
|
}
|
|
|
|
/* ===== SCROLLBAR ===== */
|
|
::-webkit-scrollbar { width: 5px; }
|
|
::-webkit-scrollbar-track { background: #f1f5f9; }
|
|
::-webkit-scrollbar-thumb {
|
|
background: var(--color-primary);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
/* ===== STICKY NAVBAR ===== */
|
|
#navbar {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 1000;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
/* ── Top Bar (DARK NAVY sesuai Figma) ── */
|
|
.navbar-top {
|
|
background: #003150;
|
|
height: 60px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
/* Logo emblem */
|
|
.navbar-logo-emblem {
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.navbar-logo-name {
|
|
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
|
|
font-size: 15px;
|
|
font-weight: 800;
|
|
color: #ffffff;
|
|
line-height: 1;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.navbar-logo-sub {
|
|
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
|
|
font-size: 9px;
|
|
font-weight: 600;
|
|
color: rgba(255,255,255,0.55);
|
|
letter-spacing: 1px;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
/* "SATU UNTAN" text */
|
|
.navbar-satu {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
color: rgba(255,255,255,0.85);
|
|
letter-spacing: 0.5px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
/* Icon buttons on top bar (dark bg version) */
|
|
.navbar-icon-btn {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 50%;
|
|
background: rgba(255,255,255,0.12);
|
|
border: 1px solid rgba(255,255,255,0.2);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: rgba(255,255,255,0.8);
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.navbar-icon-btn:hover {
|
|
background: rgba(255,255,255,0.22);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.navbar-search-btn {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 50%;
|
|
background: none;
|
|
border: none;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: rgba(255,255,255,0.75);
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.navbar-search-btn:hover { color: #ffffff; }
|
|
|
|
/* Language Toggle — dark top bar */
|
|
#lang-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.lang-btn {
|
|
padding: 0;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
color: rgba(255,255,255,0.6);
|
|
cursor: pointer;
|
|
border: none;
|
|
background: none;
|
|
transition: var(--transition);
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.lang-btn:hover {
|
|
color: #ffffff;
|
|
}
|
|
|
|
.lang-btn.active {
|
|
font-weight: 800;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.lang-divider {
|
|
color: rgba(255,255,255,0.4);
|
|
font-size: 10px;
|
|
margin: 0 2px;
|
|
}
|
|
|
|
/* ── Main Nav Bar (KUNING) ── */
|
|
.navbar-main {
|
|
background: var(--color-secondary);
|
|
height: 48px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
/* Nav links — teks gelap di atas latar kuning */
|
|
.nav-link {
|
|
position: relative;
|
|
color: #0a1530;
|
|
text-decoration: none;
|
|
transition: color 0.2s;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.nav-link:hover {
|
|
color: #000000;
|
|
}
|
|
|
|
.nav-link.active {
|
|
color: #000000 !important;
|
|
}
|
|
|
|
/* ===== INFO TICKER ===== */
|
|
.ticker-wrapper {
|
|
background: var(--color-primary);
|
|
border-top: 1px solid rgba(255,255,255,0.05);
|
|
height: 40px;
|
|
display: flex;
|
|
align-items: center;
|
|
overflow: hidden;
|
|
|
|
/* Sticky behavior */
|
|
position: fixed;
|
|
top: 108px;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 40;
|
|
transform: translateY(-100%);
|
|
opacity: 0;
|
|
transition: transform 0.3s ease, opacity 0.3s ease;
|
|
}
|
|
|
|
.ticker-wrapper.show-ticker {
|
|
transform: translateY(0);
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Badge wrapper */
|
|
.ticker-badge-block {
|
|
flex-shrink: 0;
|
|
background: rgba(0,0,0,0.15); /* Slightly darker than primary */
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 20px;
|
|
border-right: 1px solid rgba(255,255,255,0.1);
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
/* Badge "INFO TERBARU" */
|
|
.ticker-badge {
|
|
background: var(--color-secondary);
|
|
color: #1a1a1a;
|
|
font-size: 10px;
|
|
font-weight: 800;
|
|
padding: 4px 8px;
|
|
border-radius: 2px;
|
|
white-space: nowrap;
|
|
letter-spacing: 0.8px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
/* Area overflow ticker */
|
|
.ticker-scroll-area {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
height: 100%;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
/* Inner wrapper: dua salinan teks side-by-side, dianimasikan */
|
|
.ticker-inner {
|
|
display: flex;
|
|
align-items: center;
|
|
animation: ticker-scroll 40s linear infinite;
|
|
will-change: transform;
|
|
}
|
|
|
|
.ticker-inner:hover {
|
|
animation-play-state: paused;
|
|
}
|
|
|
|
/* Setiap salinan teks ticker */
|
|
.ticker-track {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
white-space: nowrap;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: rgba(255,255,255,0.85);
|
|
padding-left: 20px;
|
|
}
|
|
|
|
@keyframes ticker-scroll {
|
|
0% { transform: translateX(0); }
|
|
100% { transform: translateX(-50%); }
|
|
}
|
|
|
|
/* ===== HERO SECTION ===== */
|
|
.hero-section {
|
|
min-height: 500px;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 48px 0 60px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Background — solid dark blue sesuai Figma */
|
|
.hero-bg {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: #003150;
|
|
z-index: 0;
|
|
}
|
|
|
|
/* Subtle dot grid overlay */
|
|
.hero-bg::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background-image:
|
|
radial-gradient(circle at 10% 80%, rgba(245,166,35,0.08) 0%, transparent 40%),
|
|
radial-gradient(circle at 90% 20%, rgba(255,255,255,0.03) 0%, transparent 35%);
|
|
}
|
|
|
|
.hero-bg::after {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
|
|
background-size: 28px 28px;
|
|
}
|
|
|
|
.hero-content {
|
|
position: relative;
|
|
z-index: 10;
|
|
}
|
|
|
|
/* Badge hero — outline style sesuai Figma (border kuning, bg transparan) */
|
|
.hero-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
border: 1.5px solid var(--color-secondary);
|
|
color: var(--color-secondary);
|
|
background: rgba(245, 166, 35, 0.08);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
padding: 6px 16px;
|
|
border-radius: 999px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.hero-title {
|
|
font-family: var(--font-serif);
|
|
font-size: clamp(36px, 5vw, 60px);
|
|
font-weight: 800;
|
|
color: white;
|
|
line-height: 1.15;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.hero-subtitle {
|
|
font-size: 15px;
|
|
color: rgba(255,255,255,0.75);
|
|
font-style: italic;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.hero-desc {
|
|
font-size: 14px;
|
|
color: rgba(255,255,255,0.65);
|
|
line-height: 1.7;
|
|
max-width: 440px;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
/* CTA button — kuning solid, teks gelap (sesuai Figma) */
|
|
.hero-cta {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
background: var(--color-secondary);
|
|
color: #1a1a1a;
|
|
font-weight: 700;
|
|
font-size: 14px;
|
|
padding: 13px 26px;
|
|
border-radius: 8px;
|
|
text-decoration: none;
|
|
transition: var(--transition);
|
|
box-shadow: 0 4px 16px rgba(245,166,35,0.35);
|
|
}
|
|
|
|
.hero-cta:hover {
|
|
background: #e8960f;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 24px rgba(245,166,35,0.45);
|
|
color: #1a1a1a;
|
|
}
|
|
|
|
.hero-cta i {
|
|
transition: transform 0.3s;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.hero-cta:hover i { transform: translateX(4px); }
|
|
|
|
/* Hero image — foto lebih besar dan rounded sesuai Figma */
|
|
.hero-image-wrap {
|
|
position: relative;
|
|
max-width: 480px;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.hero-image-wrap img {
|
|
width: 100%;
|
|
height: 400px;
|
|
object-fit: cover;
|
|
border-radius: 16px;
|
|
box-shadow: 0 20px 50px rgba(0,0,0,0.45);
|
|
border: 2px solid rgba(255,255,255,0.1);
|
|
display: block;
|
|
}
|
|
|
|
/* Small decorative circle */
|
|
.hero-image-wrap::before {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -12px;
|
|
right: -12px;
|
|
width: 60px;
|
|
height: 60px;
|
|
border: 3px solid var(--color-secondary);
|
|
border-radius: 50%;
|
|
opacity: 0.3;
|
|
z-index: -1;
|
|
}
|
|
|
|
/* ===== STATISTICS SECTION ===== */
|
|
.stats-section {
|
|
background: var(--color-secondary);
|
|
padding: 36px 0;
|
|
}
|
|
|
|
.stat-item {
|
|
text-align: center;
|
|
padding: 0 20px;
|
|
position: relative;
|
|
}
|
|
|
|
.stat-item + .stat-item::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0;
|
|
top: 15%;
|
|
height: 70%;
|
|
width: 1px;
|
|
background: rgba(255,255,255,0.35);
|
|
}
|
|
|
|
.stat-number {
|
|
font-family: var(--font-serif);
|
|
font-size: clamp(36px, 5vw, 52px);
|
|
font-weight: 800;
|
|
color: #1a1a1a;
|
|
line-height: 1;
|
|
letter-spacing: -1px;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 11px;
|
|
color: #2d2d2d;
|
|
margin-top: 8px;
|
|
line-height: 1.45;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* ===== SECTION LABEL & BADGE ===== */
|
|
.section-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
border: 1px solid rgba(245, 166, 35, 0.4);
|
|
background: rgba(245, 166, 35, 0.12);
|
|
color: var(--color-secondary);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
padding: 5px 14px;
|
|
border-radius: 999px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.section-label {
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
color: var(--color-secondary);
|
|
text-transform: uppercase;
|
|
letter-spacing: 2px;
|
|
display: block;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.section-title {
|
|
font-family: var(--font-serif);
|
|
font-size: clamp(32px, 4vw, 42px);
|
|
font-weight: 800;
|
|
color: #003150;
|
|
line-height: 1.2;
|
|
margin-bottom: 12px;
|
|
letter-spacing: -0.5px;
|
|
}
|
|
|
|
.section-desc {
|
|
font-size: 14px;
|
|
color: #64748b;
|
|
line-height: 1.65;
|
|
max-width: 600px;
|
|
}
|
|
|
|
/* Button Panduan Beasiswa */
|
|
.btn-panduan {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
background: rgba(245, 166, 35, 0.12);
|
|
border: 1px solid rgba(245, 166, 35, 0.3);
|
|
color: var(--color-secondary);
|
|
font-weight: 600;
|
|
font-size: 13px;
|
|
padding: 10px 20px;
|
|
border-radius: 6px;
|
|
text-decoration: none;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.btn-panduan:hover {
|
|
background: rgba(245, 166, 35, 0.2);
|
|
border-color: rgba(245, 166, 35, 0.5);
|
|
}
|
|
|
|
/* ===== FILTER TABS ===== */
|
|
.filter-tabs {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.filter-tab {
|
|
padding: 8px 20px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
border-radius: 999px;
|
|
border: 1px solid #e5e7eb;
|
|
background: white;
|
|
color: #4b5563;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
white-space: nowrap;
|
|
letter-spacing: 0.3px;
|
|
}
|
|
|
|
.filter-tab:hover {
|
|
border-color: #d1d5db;
|
|
color: #003150;
|
|
background: #f9fafb;
|
|
}
|
|
|
|
.filter-tab.active {
|
|
background: #003150;
|
|
color: white;
|
|
border-color: #003150;
|
|
box-shadow: none;
|
|
}
|
|
|
|
/* ===== SEARCH INPUT ===== */
|
|
.search-wrapper {
|
|
position: relative;
|
|
}
|
|
|
|
.search-input {
|
|
width: 100%;
|
|
padding: 9px 16px 9px 38px;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 999px;
|
|
font-size: 13px;
|
|
font-family: var(--font-inter);
|
|
color: var(--color-text);
|
|
outline: none;
|
|
transition: var(--transition);
|
|
background: white;
|
|
}
|
|
|
|
.search-input:focus {
|
|
border-color: var(--color-primary);
|
|
box-shadow: 0 0 0 3px rgba(43,69,144,0.08);
|
|
}
|
|
|
|
.search-input::placeholder {
|
|
color: #9ca3af;
|
|
}
|
|
|
|
.search-icon {
|
|
position: absolute;
|
|
left: 14px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: #9ca3af;
|
|
font-size: 13px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* ===== SORT BUTTON ===== */
|
|
.btn-sort {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 9px 20px;
|
|
background: white;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 999px;
|
|
color: #4b5563;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.btn-sort:hover {
|
|
background: #f9fafb;
|
|
border-color: #d1d5db;
|
|
color: #003150;
|
|
}
|
|
|
|
/* ===== SCHOLARSHIP CARDS ===== */
|
|
.scholarship-card {
|
|
background: white;
|
|
border-radius: var(--radius);
|
|
box-shadow: var(--shadow-card);
|
|
overflow: hidden;
|
|
transition: var(--transition);
|
|
border: 1px solid #f0f4f8;
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: relative;
|
|
cursor: default;
|
|
}
|
|
|
|
.scholarship-card:hover {
|
|
box-shadow: var(--shadow-card-hover);
|
|
transform: translateY(-5px);
|
|
border-color: rgba(43,69,144,0.1);
|
|
}
|
|
|
|
.card-img-wrap {
|
|
width: 100%;
|
|
height: 165px;
|
|
overflow: hidden;
|
|
background: #f0f4ff;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.card-img-wrap img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
transition: transform 0.5s ease;
|
|
}
|
|
|
|
.scholarship-card:hover .card-img-wrap img {
|
|
transform: scale(1.04);
|
|
}
|
|
|
|
.card-body {
|
|
padding: 16px;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.badge-status {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
padding: 3px 10px;
|
|
border-radius: 999px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
align-self: flex-start;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.badge-buka {
|
|
background: #d1fae5;
|
|
color: #065f46;
|
|
}
|
|
|
|
.badge-buka::before {
|
|
content: '●';
|
|
font-size: 8px;
|
|
}
|
|
|
|
.badge-ditutup {
|
|
background: #fee2e2;
|
|
color: #991b1b;
|
|
}
|
|
|
|
.badge-ditutup::before {
|
|
content: '○';
|
|
font-size: 8px;
|
|
}
|
|
|
|
.card-title {
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: var(--color-primary);
|
|
line-height: 1.4;
|
|
margin-bottom: 8px;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.card-desc {
|
|
font-size: 12px;
|
|
color: var(--color-accent);
|
|
line-height: 1.55;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 3;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
flex: 1;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.card-date {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 11px;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.card-date i {
|
|
color: var(--color-secondary);
|
|
font-size: 10px;
|
|
}
|
|
|
|
.card-footer {
|
|
padding: 12px 16px;
|
|
border-top: 1px solid #f1f5f9;
|
|
}
|
|
|
|
.btn-selengkapnya {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
color: var(--color-secondary);
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
transition: var(--transition);
|
|
font-family: var(--font-inter);
|
|
}
|
|
|
|
.btn-selengkapnya:hover {
|
|
color: var(--color-primary);
|
|
gap: 10px;
|
|
}
|
|
|
|
/* ===== EMPTY STATE ===== */
|
|
.empty-state {
|
|
grid-column: 1 / -1;
|
|
text-align: center;
|
|
padding: 64px 24px;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.empty-state i {
|
|
font-size: 48px;
|
|
color: #e2e8f0;
|
|
margin-bottom: 16px;
|
|
display: block;
|
|
}
|
|
|
|
/* ===== PAGINATION ===== */
|
|
.pagination-container {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
justify-content: center;
|
|
margin-top: 40px;
|
|
}
|
|
|
|
.page-btn {
|
|
width: 38px;
|
|
height: 38px;
|
|
border-radius: 8px;
|
|
border: 2px solid #e2e8f0;
|
|
background: white;
|
|
color: #64748b;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: var(--transition);
|
|
font-family: var(--font-inter);
|
|
}
|
|
|
|
.page-btn:hover:not(:disabled) {
|
|
border-color: var(--color-primary);
|
|
color: var(--color-primary);
|
|
background: #eff3ff;
|
|
}
|
|
|
|
.page-btn.active {
|
|
background: var(--color-primary);
|
|
border-color: var(--color-primary);
|
|
color: white;
|
|
box-shadow: 0 4px 12px rgba(43,69,144,0.3);
|
|
}
|
|
|
|
.page-btn:disabled {
|
|
opacity: 0.38;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* ===== POPUP MODAL ===== */
|
|
#popup-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 9999;
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 16px;
|
|
}
|
|
|
|
#popup-overlay.show {
|
|
display: flex;
|
|
}
|
|
|
|
.popup-backdrop {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: var(--color-overlay);
|
|
backdrop-filter: blur(4px);
|
|
-webkit-backdrop-filter: blur(4px);
|
|
}
|
|
|
|
.popup-modal {
|
|
position: relative;
|
|
background: white;
|
|
border-radius: 20px;
|
|
box-shadow: var(--shadow-popup);
|
|
width: 100%;
|
|
max-width: 500px;
|
|
max-height: 90vh;
|
|
overflow-y: auto;
|
|
z-index: 10;
|
|
transition: opacity 0.25s ease, transform 0.25s ease;
|
|
opacity: 0;
|
|
transform: scale(0.92) translateY(8px);
|
|
}
|
|
|
|
#popup-overlay.show .popup-modal {
|
|
opacity: 1;
|
|
transform: scale(1) translateY(0);
|
|
}
|
|
|
|
.popup-close {
|
|
position: absolute;
|
|
top: 14px;
|
|
right: 14px;
|
|
z-index: 20;
|
|
width: 34px;
|
|
height: 34px;
|
|
border-radius: 50%;
|
|
background: rgba(255,255,255,0.9);
|
|
backdrop-filter: blur(4px);
|
|
border: none;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #374151;
|
|
font-size: 14px;
|
|
transition: var(--transition);
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.12);
|
|
}
|
|
|
|
.popup-close:hover {
|
|
background: #f1f5f9;
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
.popup-hero {
|
|
width: 100%;
|
|
height: 200px;
|
|
object-fit: cover;
|
|
display: block;
|
|
border-radius: 20px 20px 0 0;
|
|
}
|
|
|
|
.popup-hero-logo {
|
|
width: 100%;
|
|
height: 200px;
|
|
background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 20px 20px 0 0;
|
|
}
|
|
|
|
.popup-hero-logo img {
|
|
max-height: 100px;
|
|
max-width: 75%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.popup-body {
|
|
padding: 24px;
|
|
}
|
|
|
|
.popup-kategori-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.popup-kategori {
|
|
font-size: 11px;
|
|
color: var(--color-accent);
|
|
font-weight: 600;
|
|
background: #f1f5f9;
|
|
padding: 3px 10px;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.popup-title {
|
|
font-family: var(--font-serif);
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
color: var(--color-primary);
|
|
line-height: 1.3;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.popup-desc {
|
|
font-size: 13px;
|
|
color: #4b5563;
|
|
line-height: 1.65;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.popup-section-title {
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
color: #374151;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 12px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.popup-section-title i {
|
|
color: var(--color-secondary);
|
|
}
|
|
|
|
.syarat-list {
|
|
list-style: none;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.syarat-list li {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
font-size: 13px;
|
|
color: #4b5563;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.syarat-list li i {
|
|
color: var(--color-success);
|
|
font-size: 11px;
|
|
margin-top: 3px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.popup-periode {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 12px;
|
|
background: #f8fafc;
|
|
border-radius: 10px;
|
|
padding: 14px 16px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.popup-periode-item label {
|
|
font-size: 10px;
|
|
color: #94a3b8;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
display: block;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.popup-periode-item span {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: #374151;
|
|
}
|
|
|
|
.popup-kontak {
|
|
background: #fffbf0;
|
|
border: 1px solid #fde68a;
|
|
border-radius: 10px;
|
|
padding: 12px 14px;
|
|
margin-bottom: 20px;
|
|
font-size: 13px;
|
|
color: #92400e;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
}
|
|
|
|
.popup-kontak i {
|
|
color: var(--color-secondary);
|
|
margin-top: 1px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.popup-cta {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
width: 100%;
|
|
background: var(--color-primary);
|
|
color: white;
|
|
font-weight: 700;
|
|
font-size: 14px;
|
|
padding: 14px 20px;
|
|
border-radius: 12px;
|
|
text-decoration: none;
|
|
transition: var(--transition);
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.popup-cta:hover {
|
|
background: #1e3272;
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 6px 20px rgba(43,69,144,0.3);
|
|
color: white;
|
|
}
|
|
|
|
.popup-cta.disabled {
|
|
background: #94a3b8;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.popup-cta i {
|
|
transition: transform 0.3s;
|
|
}
|
|
|
|
.popup-cta:hover i {
|
|
transform: translateX(4px);
|
|
}
|
|
|
|
/* ===== TESTIMONIALS ===== */
|
|
.testimonials-section {
|
|
background: #f8fafc;
|
|
padding: 72px 0;
|
|
}
|
|
|
|
.testimonial-card {
|
|
background: white;
|
|
border-radius: 16px;
|
|
padding: 28px 22px;
|
|
text-align: center;
|
|
box-shadow: 0 4px 20px rgba(0,0,0,0.06);
|
|
transition: var(--transition);
|
|
border: 1px solid #f0f4f8;
|
|
height: 100%;
|
|
}
|
|
|
|
.testimonial-card:hover {
|
|
box-shadow: 0 10px 36px rgba(43,69,144,0.12);
|
|
transform: translateY(-5px);
|
|
}
|
|
|
|
.testimonial-avatar {
|
|
width: 82px;
|
|
height: 82px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
margin: 0 auto 16px;
|
|
border: 3px solid var(--color-secondary);
|
|
display: block;
|
|
}
|
|
|
|
.testimonial-name {
|
|
font-family: var(--font-serif);
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: var(--color-primary);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.testimonial-beasiswa {
|
|
font-size: 11px;
|
|
color: var(--color-secondary);
|
|
font-weight: 600;
|
|
margin-bottom: 14px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.testimonial-quote {
|
|
font-size: 13px;
|
|
color: #4b5563;
|
|
line-height: 1.65;
|
|
font-style: italic;
|
|
position: relative;
|
|
}
|
|
|
|
/* Swiper custom styles */
|
|
.swiper-pagination-bullet {
|
|
background: #cbd5e1 !important;
|
|
opacity: 1 !important;
|
|
width: 8px !important;
|
|
height: 8px !important;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.swiper-pagination-bullet-active {
|
|
background: var(--color-secondary) !important;
|
|
width: 24px !important;
|
|
border-radius: 4px !important;
|
|
}
|
|
|
|
/* ===== CTA SECTION ===== */
|
|
.cta-section {
|
|
padding: 72px 0;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.cta-card {
|
|
background: #003150;
|
|
border-radius: 24px;
|
|
padding: 64px 40px;
|
|
text-align: center;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.cta-card::before,
|
|
.cta-card::after {
|
|
content: '';
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
background: rgba(255,255,255,0.04);
|
|
}
|
|
|
|
.cta-card::before {
|
|
width: 300px;
|
|
height: 300px;
|
|
top: -100px;
|
|
right: -80px;
|
|
}
|
|
|
|
.cta-card::after {
|
|
width: 200px;
|
|
height: 200px;
|
|
bottom: -60px;
|
|
left: -60px;
|
|
}
|
|
|
|
.cta-title {
|
|
font-family: var(--font-serif);
|
|
font-size: clamp(22px, 3vw, 30px);
|
|
font-weight: 700;
|
|
color: white;
|
|
margin-bottom: 12px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.cta-desc {
|
|
font-size: 14px;
|
|
color: rgba(255,255,255,0.68);
|
|
max-width: 420px;
|
|
margin: 0 auto 32px;
|
|
line-height: 1.65;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.cta-buttons {
|
|
display: flex;
|
|
gap: 14px;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.cta-btn-primary {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
background: var(--color-secondary);
|
|
color: #0a1530;
|
|
font-weight: 700;
|
|
font-size: 13px;
|
|
padding: 13px 26px;
|
|
border-radius: 8px;
|
|
text-decoration: none;
|
|
transition: var(--transition);
|
|
box-shadow: 0 4px 16px rgba(245,166,35,0.4);
|
|
}
|
|
|
|
.cta-btn-primary:hover {
|
|
background: #e8960f;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 24px rgba(245,166,35,0.5);
|
|
color: #0a1530;
|
|
}
|
|
|
|
.cta-btn-secondary {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
background: transparent;
|
|
border: 2px solid rgba(255,255,255,0.5);
|
|
color: white;
|
|
font-weight: 700;
|
|
font-size: 13px;
|
|
padding: 11px 26px;
|
|
border-radius: 10px;
|
|
text-decoration: none;
|
|
transition: var(--transition);
|
|
cursor: pointer;
|
|
}
|
|
|
|
|
|
.cta-btn-secondary:hover {
|
|
background: rgba(255,255,255,0.12);
|
|
border-color: white;
|
|
color: white;
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
/* ===== FOOTER ===== */
|
|
.site-footer {
|
|
background: var(--color-primary);
|
|
color: white;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.footer-top {
|
|
padding: 52px 0 32px;
|
|
}
|
|
|
|
.footer-follow-title {
|
|
text-align: center;
|
|
color: white;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 2px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.social-icons {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 16px;
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.social-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: white;
|
|
font-size: 16px;
|
|
transition: var(--transition);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.social-icon:hover {
|
|
color: var(--color-secondary);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.footer-logo {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.footer-logo img {
|
|
height: 44px;
|
|
width: auto;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.footer-logo-text {
|
|
text-align: left;
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.footer-logo-text .name {
|
|
font-family: var(--font-serif);
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
color: white;
|
|
line-height: 1.2;
|
|
letter-spacing: 2px;
|
|
}
|
|
|
|
.footer-logo-text .sub {
|
|
font-size: 10px;
|
|
color: rgba(255,255,255,0.7);
|
|
margin-top: 2px;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.footer-address {
|
|
text-align: center;
|
|
color: rgba(255,255,255,0.6);
|
|
font-size: 12px;
|
|
line-height: 1.8;
|
|
margin-top: 32px;
|
|
}
|
|
|
|
.footer-address i {
|
|
color: var(--color-secondary);
|
|
}
|
|
|
|
.address-main {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.address-contact {
|
|
font-size: 11px;
|
|
color: rgba(255,255,255,0.5);
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.footer-divider {
|
|
border: none;
|
|
border-top: 1px solid rgba(255,255,255,0.08);
|
|
margin: 28px 0 20px;
|
|
}
|
|
|
|
.footer-copy {
|
|
text-align: center;
|
|
font-size: 11px;
|
|
color: rgba(255,255,255,0.28);
|
|
padding-bottom: 28px;
|
|
}
|
|
|
|
.footer-illustration {
|
|
width: 100%;
|
|
display: block;
|
|
max-height: 180px;
|
|
object-fit: cover;
|
|
object-position: top;
|
|
}
|
|
|
|
/* ===== BREADCRUMB ===== */
|
|
.breadcrumb {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 11px;
|
|
color: rgba(255,255,255,0.5);
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.breadcrumb a {
|
|
color: rgba(255,255,255,0.5);
|
|
text-decoration: none;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.breadcrumb a:hover {
|
|
color: rgba(255,255,255,0.85);
|
|
}
|
|
|
|
.breadcrumb .sep {
|
|
font-size: 9px;
|
|
}
|
|
|
|
.breadcrumb .current {
|
|
color: rgba(255,255,255,0.85);
|
|
}
|
|
|
|
/* ===== ANIMATIONS ===== */
|
|
@keyframes fadeInUp {
|
|
from { opacity: 0; transform: translateY(18px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
.fade-in-up {
|
|
animation: fadeInUp 0.45s ease forwards;
|
|
}
|
|
|
|
/* Skeleton loading */
|
|
.skeleton {
|
|
background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
|
|
background-size: 200% 100%;
|
|
animation: shimmer 1.6s infinite;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
@keyframes shimmer {
|
|
0% { background-position: 200% 0; }
|
|
100% { background-position: -200% 0; }
|
|
}
|
|
|
|
/* ===== RESPONSIVE ===== */
|
|
@media (max-width: 767px) {
|
|
:root { --navbar-height: 104px; }
|
|
|
|
.hero-section { padding: 32px 0 48px; min-height: auto; }
|
|
.hero-title { font-size: 32px; }
|
|
.hero-image-wrap { display: none; }
|
|
|
|
.stats-section { padding: 24px 0; }
|
|
.stat-item + .stat-item::before { display: none; }
|
|
|
|
.cta-card { padding: 40px 20px; }
|
|
|
|
.filter-tabs { gap: 6px; }
|
|
.filter-tab { padding: 7px 12px; font-size: 10px; }
|
|
|
|
.popup-modal { border-radius: 14px; }
|
|
.popup-periode { grid-template-columns: 1fr; }
|
|
|
|
.testimonial-card { padding: 22px 16px; }
|
|
}
|
|
|
|
@media (min-width: 768px) and (max-width: 1023px) {
|
|
.hero-image-wrap img { height: 300px; }
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.hero-section { min-height: 540px; }
|
|
}
|