/* ============================================
   FKIP UBI - Complete Stylesheet
   Matching the exact design layout
   ============================================ */

/* === CSS Variables === */
:root {
    --navy: #0d3a73;
    --navy-dark: #092850;
    --gold: #dda74f;
    --gold-hover: #c9933b;
    --text: #333;
    --text-light: #666;
    --text-muted: #999;
    --bg: #f8fafc;
    --white: #fff;
    --border: #e5e7eb;
    --blue: #3b82f6;
    --orange: #f59e0b;
    --green: #10b981;
    --purple: #8b5cf6;
    --teal: #14b8a6;
    --pink: #ec4899;
    --yellow: #eab308;
    --radius: 12px;
    --radius-sm: 8px;
}

/* === Reset === */
*, *::before, *::after {
    margin: 0; padding: 0; box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: .25s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.bg-light { background: var(--bg); }
.bg-navy { background: var(--navy); color: var(--white); }
.section-pad { padding: 60px 0; }
.between { display: flex; justify-content: space-between; align-items: center; }

/* === Buttons === */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: 6px;
    font-weight: 700; font-size: 13px;
    border: none; cursor: pointer; transition: .25s;
}
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-dark); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-sm { padding: 8px 16px; font-size: 12px; }
.btn-lg { padding: 14px 28px; font-size: 14px; }

/* === Link More === */
.link-more { color: var(--blue); font-size: 12px; font-weight: 600; }
.link-more:hover { text-decoration: underline; }

/* === Section Title === */
.section-title h2 {
    color: var(--navy);
    font-size: 22px; font-weight: 800;
    margin-bottom: 8px;
}
.section-title p { color: var(--text-light); font-size: 14px; }
.title-line {
    width: 80px; height: 3px;
    background: linear-gradient(90deg, var(--navy), var(--gold));
    margin-top: 12px;
}
.title-line.center { margin-left: auto; margin-right: auto; }

/* === Card === */
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%; /* Force stretch to grid row height */
    display: flex;
    flex-direction: column;
}
.sambutan-body, .riset-body, .berita-body, .agenda-body {
    flex: 1; /* Pushes card-foot to bottom */
}
.card-head {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    background: #fafbfc;
}
.card-head h3 {
    font-size: 14px; font-weight: 800;
    color: var(--navy); text-transform: uppercase;
}
.card-foot {
    padding: 12px 20px;
    border-top: 1px solid var(--border);
}
.card-foot a { color: var(--blue); font-size: 13px; font-weight: 600; }
.card-foot a:hover { text-decoration: underline; }

/* ==============================
   NAVBAR
   ============================== */
.navbar {
    background: var(--white);
    position: sticky; top: 0; z-index: 100;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}
.nav-container {
    display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 45px; width: auto; }
.logo-title {
    display: block; font-size: 17px; font-weight: 800;
    color: var(--navy); line-height: 1.2;
}
.logo-sub {
    display: block; font-size: 10px; color: var(--text-light);
}
.nav-links { display: flex; align-items: center; }
.nav-menu { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-menu li { position: relative; }
.nav-menu a {
    font-size: 13px; font-weight: 600; color: var(--text);
    display: flex; align-items: center; gap: 4px;
    padding: 10px 0; /* Add some padding for easier hovering */
}
.nav-menu a:hover, .nav-menu a.active { color: var(--navy); }

/* Dropdown Menu CSS */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 200;
    list-style: none;
    border: 1px solid var(--border);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li { width: 100%; }
.dropdown-menu a {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    display: block;
}
.dropdown-menu a:hover {
    background: #f8fafc;
    color: var(--navy);
    padding-left: 24px; /* Slight indent on hover */
    transition: all 0.2s ease;
}

.btn-pendaftaran {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 22px; border-radius: 6px;
    background: var(--navy); color: var(--white);
    font-size: 12px; font-weight: 700;
}
.btn-pendaftaran:hover { background: var(--navy-dark); }

/* ==============================
   HERO SECTION (Majestic Banner)
   ============================== */
.hero {
    position: relative;
    width: 100%;
    min-height: 600px; /* Make it majestic and tall */
    background-size: cover;
    background-position: right center; /* Keep students visible on right */
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
}

.hero-overlay .container {
    margin-left: 6%; /* Anchor text to the far left edge */
    margin-right: auto;
    width: 100%;
    padding: 0;
    max-width: 48%; /* Keep it from bleeding into the right */
}

.hero-content {
    width: 100%;
    max-width: 500px;
    padding: 40px 0;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e2e8f0;
    border: 1px solid #cbd5e1;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}
.hero-badge i { color: var(--gold); font-size: 12px; }

.hero-title {
    font-size: 48px; font-weight: 900;
    color: var(--navy); line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}
.hero-title .text-gold { color: var(--gold); }

.hero-desc {
    font-size: 16px; color: #475569;
    margin-bottom: 35px; max-width: 480px;
    line-height: 1.6;
    font-weight: 500;
}

.hero-actions {
    display: flex; gap: 14px; margin-bottom: 40px;
    flex-wrap: wrap;
}

/* Outline button */
.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
    border-radius: 6px;
    font-weight: 700;
}
.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
}

/* Social links in hero */
.hero-social {
    display: flex; align-items: center; gap: 12px;
}
.hero-social span {
    font-size: 13px; color: #64748b;
    font-weight: 600;
}
.hero-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex; align-items: center; justify-content: center;
    color: var(--navy); font-size: 14px;
    transition: 0.3s;
}
.hero-social a:hover {
    background: var(--gold);
    color: var(--white);
}


/* ==============================
   STATISTICS (Card style)
   ============================== */
.stats {
    background: transparent;
    padding: 0 0 40px;
    position: relative; z-index: 10;
    margin-top: -60px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.stat-card {
    display: flex; align-items: center; gap: 14px;
    border-radius: var(--radius);
    padding: 22px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: .3s;
    border: none;
    color: var(--white);
}
.stat-card.c-blue { background: linear-gradient(135deg, #0d6efd, #0b5ed7); box-shadow: 0 8px 20px rgba(13, 110, 253, 0.25); }
.stat-card.c-navy { background: linear-gradient(135deg, var(--navy) 0%, #0a2656 100%); box-shadow: 0 8px 20px rgba(20, 48, 92, 0.25); }
.stat-card.c-green { background: linear-gradient(135deg, #20c997, #198754); box-shadow: 0 8px 20px rgba(32, 201, 151, 0.25); }
.stat-card.c-purple { background: linear-gradient(135deg, #6f42c1, #59359a); box-shadow: 0 8px 20px rgba(111, 66, 193, 0.25); }
.stat-card.c-orange { background: linear-gradient(135deg, #fd7e14, #e36a07); box-shadow: 0 8px 20px rgba(253, 126, 20, 0.25); }

.stat-card:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
}
.stat-ic {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}
.stat-card h3 { font-size: 26px; font-weight: 900; color: var(--white); line-height: 1; }
.stat-card p { font-size: 12px; color: rgba(255,255,255,0.9); font-weight: 500; margin-top: 2px; }

/* ==============================
   VISI, MISI, TUJUAN
   ============================== */
.vm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start; /* Allow cards to have independent heights */
}
.vm-card {
    background: linear-gradient(150deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius);
    padding: 25px 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.03);
}
.vm-card.misi {
    margin-top: -20px; /* Staggered effect for center card */
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
}
.vm-card.visi::before { background: var(--blue); }
.vm-card.misi::before { background: var(--orange); }
.vm-card.tujuan::before { background: var(--teal); }

.vm-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.vm-card.misi:hover {
    transform: translateY(-30px); /* Maintain stagger on hover */
}

.vm-icon {
    width: 45px; height: 45px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    margin-bottom: 15px;
    transition: transform 0.3s;
}
.vm-card:hover .vm-icon {
    transform: scale(1.1) rotate(5deg);
}

.vm-icon.blue { background: #eff6ff; color: var(--blue); box-shadow: 0 8px 20px rgba(0, 91, 234, 0.2); }
.vm-icon.orange { background: #fff7ed; color: var(--orange); box-shadow: 0 8px 20px rgba(253, 126, 20, 0.2); }
.vm-icon.green { background: #f0fdfa; color: var(--teal); box-shadow: 0 8px 20px rgba(32, 201, 151, 0.2); }
.vm-card h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
}
.vm-card p {
    font-size: 12px;
    color: #475569;
    line-height: 1.6;
}
.vm-list {
    list-style: none;
    padding: 0; margin: 0;
}
.vm-list li {
    position: relative;
    padding: 10px 12px 10px 28px;
    margin-bottom: 8px;
    font-size: 12px;
    color: #475569;
    line-height: 1.5;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #f1f5f9;
}
.vm-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 10px; top: 12px;
    color: var(--orange);
    font-size: 10px;
}

/* ==============================
   PROGRAM STUDI
   ============================== */
.prodi-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.prodi-card {
    background: var(--white);
    border-radius: var(--radius);
    transition: .3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.prodi-img {
    width: 100%;
    height: 180px;
    border-bottom: 1px solid var(--border);
}
.prodi-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.prodi-content {
    padding: 24px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.prodi-card:hover { transform: translateY(-5px); }

/* Prodi Colors */
.prodi-card.c-blue { border: 2px solid var(--blue); }
.prodi-card.c-orange { border: 2px solid var(--orange); }
.prodi-card.c-green { border: 2px solid var(--green); }
.prodi-card.c-purple { border: 2px solid var(--purple); }

.prodi-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.prodi-num { font-size: 22px; font-weight: 800; }
.c-blue .prodi-num, .c-blue .prodi-icon, .c-blue a { color: var(--blue); }
.c-orange .prodi-num, .c-orange .prodi-icon, .c-orange a { color: var(--orange); }
.c-green .prodi-num, .c-green .prodi-icon, .c-green a { color: var(--green); }
.c-purple .prodi-num, .c-purple .prodi-icon, .c-purple a { color: var(--purple); }

.prodi-icon {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}
.c-blue .prodi-icon { background: #eff6ff; }
.c-orange .prodi-icon { background: #fffbeb; }
.c-green .prodi-icon { background: #ecfdf5; }
.c-purple .prodi-icon { background: #f5f3ff; }

.prodi-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; line-height: 1.3; color: var(--text); }
.prodi-card p { font-size: 13px; color: var(--text-light); margin-bottom: 16px; min-height: 36px; }
.prodi-card a { 
    font-size: 13px; 
    font-weight: 700; 
    margin-top: auto; /* Push link to the bottom */
    display: inline-block;
}

/* ==============================
   WHY CHOOSE
   ============================== */
.why-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
}
.why-item { text-align: center; }
.why-icon-wrap {
    width: 60px; height: 60px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.4);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 15px;
    font-size: 22px; color: var(--white);
    transition: .3s;
}

/* Bright colors for dark background */
.why-icon-wrap.gold { border-color: var(--gold); color: var(--gold); }
.why-icon-wrap.orange { border-color: #fb923c; color: #fb923c; } /* bright orange */
.why-icon-wrap.green { border-color: #34d399; color: #34d399; } /* bright green */
.why-icon-wrap.purple { border-color: #c084fc; color: #c084fc; } /* bright purple */

.why-item:hover .why-icon-wrap {
    transform: translateY(-5px);
    color: var(--navy); /* Dark icon on bright background */
}
.why-item:hover .why-icon-wrap.gold { background: var(--gold); border-color: var(--gold); }
.why-item:hover .why-icon-wrap.orange { background: #fb923c; border-color: #fb923c; }
.why-item:hover .why-icon-wrap.green { background: #34d399; border-color: #34d399; }
.why-item:hover .why-icon-wrap.purple { background: #c084fc; border-color: #c084fc; }

.why-item h4 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.why-item p { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.5; }

/* Override section title color when inside bg-navy */
.bg-navy .section-title h2 { color: var(--white); }
.bg-navy .section-title p { color: rgba(255,255,255,0.7); }

/* ==============================
   COMPLEX LAYOUT
   ============================== */
.complex-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.2fr;
    gap: 20px;
}

/* Sambutan Dekan (Modern Design) */
.modern-sambutan {
    border: none;
    background: #f8fafc;
    overflow: hidden;
    display: flex;
    flex-direction: row; /* Left-Right Split */
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.sambutan-photo-modern {
    position: relative;
    width: 40%;
    min-height: 280px; /* Reduced min-height for column fit */
}
.sambutan-photo-modern img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top;
}
.sambutan-photo-modern .photo-fade {
    position: absolute;
    top: 0; right: 0; width: 60px; height: 100%;
    background: linear-gradient(to right, rgba(248, 250, 252, 0) 0%, rgba(248, 250, 252, 1) 100%);
}
.sambutan-text-modern {
    padding: 25px 20px 25px 10px; /* Smaller padding */
    display: flex; flex-direction: column;
    justify-content: center;
    flex: 1;
    background: #f8fafc;
}
.s-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--navy);
    margin-bottom: 2px;
}
.s-title {
    font-size: 18px; /* Scaled down */
    font-weight: 900;
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 10px;
}
.s-desc {
    font-size: 11px; /* Scaled down */
    color: #475569;
    line-height: 1.5;
    margin-bottom: 15px;
}
.s-author strong {
    display: block; font-size: 13px; color: var(--navy); font-weight: 700;
}
.s-author span {
    display: block; font-size: 11px; color: #64748b; margin-bottom: 15px;
}
.btn-pill-blue {
    display: inline-flex; align-items: center; justify-content: center;
    background: #004db3; color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    margin-top: auto;
    align-self: flex-start;
    transition: .3s;
}
.btn-pill-blue:hover {
    background: #003a8c; color: var(--white);
    transform: translateY(-2px);
}

/* Riset */
.riset-body { padding: 20px; }
.riset-row {
    display: grid;
    grid-template-columns: 45px 85px 1fr;
    gap: 12px; align-items: center;
    margin-bottom: 18px;
}
.riset-row:last-child { margin-bottom: 0; }
.riset-icon {
    width: 45px; height: 45px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}
.riset-icon.blue { background: #eff6ff; color: var(--blue); }
.riset-icon.teal { background: #f0fdfa; color: var(--teal); }
.riset-icon.gold { background: #fffbeb; color: var(--orange); }
.riset-stat strong {
    display: block; font-size: 20px; font-weight: 900;
    color: var(--navy); line-height: 1;
}
.riset-stat span { font-size: 10px; font-weight: 700; color: var(--text-light); }
.riset-row p { font-size: 12px; color: var(--text-light); line-height: 1.4; }
.footer-bottom p { font-size: 13px; color: var(--text-muted); text-align: center; }

/* ==============================
   DOSEN MARQUEE
   ============================== */
.dosen-section { padding-bottom: 80px; }
.dosen-marquee-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}
.dosen-marquee-wrap::before,
.dosen-marquee-wrap::after {
    content: '';
    position: absolute;
    top: 0; width: 150px; height: 100%;
    z-index: 2;
}
.dosen-marquee-wrap::before {
    left: 0; background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
}
.dosen-marquee-wrap::after {
    right: 0; background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
}

.dosen-marquee-track {
    display: flex;
    width: calc(260px * 32); /* 260px per item * 32 items */
    animation: scrollDosen 45s linear infinite;
}
.dosen-marquee-track:hover {
    animation-play-state: paused;
}
@keyframes scrollDosen {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-260px * 16)); }
}

.dosen-card {
    width: 230px;
    margin: 0 15px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
}
.dosen-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.dosen-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 3px solid var(--gold);
    padding: 3px;
}
.dosen-card h4 {
    font-size: 14px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 6px;
}
.dosen-card span {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 600;
}

/* Berita */
.berita-body, .agenda-body { padding: 0 20px; }
.berita-row, .agenda-row {
    display: flex; gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.no-border { border-bottom: none !important; }

.date-box {
    width: 48px; height: 52px;
    border-radius: var(--radius-sm);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    flex-shrink: 0;
    background: #f1f5f9; color: var(--text);
}
.date-box.active { background: var(--navy); color: var(--white); }
.date-box .d { font-size: 18px; font-weight: 800; line-height: 1; }
.date-box .m { font-size: 10px; font-weight: 600; }

.berita-info h4, .agenda-info h4 {
    font-size: 13px; font-weight: 700; color: var(--navy);
    line-height: 1.4; margin-bottom: 4px;
}
.featured .berita-info h4, .featured .agenda-info h4 { font-size: 15px; }

.berita-info p, .agenda-info p { font-size: 12px; color: var(--text-light); margin-bottom: 4px; }
.berita-info a, .agenda-info a {
    font-size: 12px; color: var(--blue); font-weight: 600;
}
.berita-info a:hover, .agenda-info a:hover { text-decoration: underline; }

/* ==============================
   AGENDA + GALERI
   ============================== */
.agenda-galeri-grid {
    display: grid; grid-template-columns: 35% 62%; gap: 3%;
}

.galeri-section { display: flex; flex-direction: column; }
.galeri-grid-side {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px;
}
.galeri-grid-side img {
    width: 100%; height: 130px;
    object-fit: cover; border-radius: var(--radius-sm);
    transition: .3s;
}
.galeri-grid-side img:hover { transform: scale(1.05); }

/* ==============================
   PORTAL FKIP
   ============================== */
.portal-wrap.dark-section { 
    background: linear-gradient(135deg, var(--navy) 0%, #0a2656 100%); 
    color: var(--white);
}
.portal-wrap.dark-section .section-title h2 { color: var(--white); }
.portal-wrap.dark-section .section-title p { color: rgba(255,255,255,0.8); font-size: 14px; margin-top: 10px; }
.portal-wrap.dark-section .title-line { background: rgba(255,255,255,0.2); }
.portal-wrap.dark-section .title-line::before { background: var(--gold); }

.portal-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    margin-top: 40px;
}
.portal-item {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 15px; padding: 30px 15px;
    border-radius: var(--radius);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: none;
}
.portal-item.c-blue { background: linear-gradient(135deg, #0d6efd, #0b5ed7); }
.portal-item.c-orange { background: linear-gradient(135deg, #fd7e14, #e36a07); }
.portal-item.c-green { background: linear-gradient(135deg, #20c997, #198754); }
.portal-item.c-navy { background: linear-gradient(135deg, #2b4c7e, #1a365d); }
.portal-item.c-purple { background: linear-gradient(135deg, #6f42c1, #59359a); }
.portal-item.c-teal { background: linear-gradient(135deg, #0dcaf0, #0aa2c0); }
.portal-item.c-pink { background: linear-gradient(135deg, #d63384, #a32262); }
.portal-item.c-yellow { background: linear-gradient(135deg, #f59e0b, #d97706); }

.portal-item:hover { 
    box-shadow: 0 15px 40px rgba(0,0,0,0.4); 
    transform: translateY(-8px); 
    filter: brightness(1.1);
}
.portal-item:hover .portal-ic {
    transform: scale(1.1) translateY(-2px);
}
.portal-ic {
    width: 60px; height: 60px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    box-shadow: none;
}
.portal-item span { font-size: 14px; font-weight: 800; color: var(--white); letter-spacing: 0.5px; }

/* ==============================
   CTA
   ============================== */
.cta { background: var(--navy); padding: 40px 0; }
.cta-inner {
    display: flex; align-items: center;
    justify-content: space-between;
}
.cta-left {
    display: flex; align-items: center; gap: 20px;
    color: var(--white);
}
.cta-icon { font-size: 40px; opacity: 0.85; }
.cta-left h2 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.cta-left p { font-size: 14px; opacity: 0.9; }

/* ==============================
   FOOTER
   ============================== */
.footer { background: var(--navy-dark); color: var(--white); padding-top: 50px; }
.footer-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1fr 1.5fr;
    gap: 30px; margin-bottom: 40px;
}
.footer-logo {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 15px;
}
.footer-logo img { height: 45px; }
.footer-logo strong { display: block; font-size: 15px; }
.footer-logo span { display: block; font-size: 10px; color: #a0aec0; }
.footer-brand p { font-size: 12px; color: #a0aec0; line-height: 1.7; margin-bottom: 18px; }
.social-links { display: flex; gap: 8px; }
.social-links a {
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; color: var(--white);
}
.social-links a:hover { background: var(--gold); border-color: var(--gold); }

.footer-col h4 { font-size: 12px; font-weight: 800; margin-bottom: 18px; }
.footer-col li { margin-bottom: 10px; }
.footer-col li a { font-size: 12px; color: #a0aec0; }
.footer-col li a:hover { color: var(--white); padding-left: 4px; }
.footer-col.contact li {
    display: flex; gap: 8px; font-size: 12px; color: #a0aec0;
    margin-bottom: 14px; align-items: flex-start;
}
.footer-col.contact li i { margin-top: 3px; flex-shrink: 0; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 18px 0;
}
.footer-bottom-inner {
    display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 11px; color: #a0aec0; }
.footer-links { display: flex; gap: 12px; font-size: 11px; color: #a0aec0; }
.footer-links a { color: #a0aec0; }
.footer-links a:hover { color: var(--white); }
.footer-links span { color: rgba(255,255,255,0.15); }

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
    .hero { min-height: 450px; }
    .hero-content { max-width: 100%; padding: 60px 0; }
    .hero-title { font-size: 34px; }

    .stats { margin-top: -30px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }

    .prodi-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
    .complex-grid { grid-template-columns: 1fr; }
    .agenda-portal-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 32px; }
    .prodi-grid, .why-grid { grid-template-columns: 1fr; }
    .portal-grid { grid-template-columns: repeat(2, 1fr); }
    .galeri-grid { grid-template-columns: repeat(3, 1fr); }
    .cta-inner { flex-direction: column; text-align: center; gap: 20px; }
    .cta-left { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; gap: 10px; text-align: center; }
}
