/* 
 * tentang.css
 * Stylesheet khusus untuk halaman Tentang Kampus
 * Institut Shanti Bhuana
 */

/* Variabel Warna ISB */
:root {
    --isb-brown: #322a1d;
    --isb-brown-light: #993300;
    --isb-gold: #fbc324;
    --isb-gold-light: #f2cb7c;
    --isb-gold-dark: #ffd700;
    --isb-blue: #014a94;
    --isb-teal: #00FFEF;
    --isb-purple: #800080;
    --isb-cyan: #0099cc;
    --isb-orange: #ff3300;
    --isb-ti: #ff7f00;
}

/* Text Justify */
.text-justify {
    text-align: justify;
}

/* Badge Akreditasi */
.badge-accreditation .badge {
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 20px;
}

.bg-gold {
    background: linear-gradient(135deg, var(--isb-gold-dark), var(--isb-gold)) !important;
    color: var(--isb-brown) !important;
    font-weight: 600;
}

.text-gold {
    color: var(--isb-gold) !important;
}

.btn-gold {
    background: linear-gradient(135deg, var(--isb-gold-dark), var(--isb-gold));
    border-color: var(--isb-gold);
    color: var(--isb-brown);
    font-weight: 600;
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--isb-gold), var(--isb-gold-dark));
    border-color: var(--isb-gold-dark);
    color: var(--isb-brown);
}

.btn-outline-gold {
    border-color: var(--isb-gold);
    color: var(--isb-gold);
}

.btn-outline-gold:hover {
    background: var(--isb-gold);
    color: var(--isb-brown);
}

/* ============ ABOUT HERO DENGAN SLIDER ============ */
.about-hero-section {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #fef9e7 0%, #fcf3cf 100%);
    position: relative;
}

.dies-natalis-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--isb-gold-dark), var(--isb-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--isb-brown);
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(251, 195, 36, 0.3);
    z-index: 10;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.dies-natalis-badge .badge-content {
    text-align: center;
    line-height: 1.2;
}

.dies-natalis-badge .badge-year {
    font-size: 2.5rem;
    display: block;
    font-weight: 800;
}

.dies-natalis-badge .badge-text {
    font-size: 0.9rem;
    display: block;
}

.hero-stats .stat-item {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    min-width: 120px;
}

.hero-stats h3 {
    font-size: 2.2rem;
    font-weight: 700;
}

/* Hero Image Slider */
.hero-image-slider {
    position: relative;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
}

.slide.active {
    opacity: 1;
    display: block;
}

.slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.slider-prev,
.slider-next {
    background: rgba(50, 42, 29, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--isb-gold);
    color: var(--isb-brown);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--isb-gold);
    transform: scale(1.2);
}

/* ============ MAKNA LAMBANG SECTION ============ */
.logo-meaning-section {
    background: linear-gradient(135deg, #fef9e7 0%, #fcf3cf 100%);
    padding: 80px 0;
}

.logo-meaning-grid {
    display: grid;
    gap: 15px;
}

.meaning-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 18px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.meaning-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.meaning-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

/* Custom Icons untuk Makna Lambang */

/* 1. LINGKARAN MERAH PUTIH */
.circle-red-white {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #322a1d;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.circle-red-white::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: #ff0000;
}

.circle-red-white::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: #ffffff;
}

/* 2. BIDANG SEGILIMA (PANCASILA) */
.pentagon-icon {
    width: 40px;
    height: 40px;
    position: relative;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    overflow: hidden;
}

.pentagon-green {
    position: absolute;
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: #2e8b57;
}

.pentagon-purple {
    position: absolute;
    width: 100%;
    height: 50%;
    top: 0;
    left: 0;
    background: #800080;
}

/* 3. WARNA COKLAT (BUDAYA AMARE) */
.heart-icon-amare {
    width: 35px;
    height: 35px;
    position: relative;
    color: #8B4513;
    display: flex;
    align-items: center;
    justify-content: center;
}

.heart-icon-amare i {
    font-size: 24px;
    animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* 4. LILIN YANG BERPENDAR - NEW */
/* Sudah diganti dengan FontAwesome icon di PHP */

/* 5. BURUNG MERPATI - NEW */
/* Sudah diganti dengan FontAwesome icon di PHP */

/* 6. BUKU TERBUKA DENGAN SALIB - NEW */
.cross-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 15px;
}

.cross-overlay::before,
.cross-overlay::after {
    content: '';
    position: absolute;
    background: #014a94;
}

.cross-overlay::before {
    width: 15px;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.cross-overlay::after {
    width: 2px;
    height: 15px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

/* 7. PENA BULU ANGSA - NEW */
/* Sudah diganti dengan FontAwesome icon di PHP */

/* 8. TANGGA - NEW */
/* Sudah diganti dengan FontAwesome icon di PHP */

/* 9. AWAN PUTIH - NEW */
/* Sudah diganti dengan FontAwesome icon di PHP */

/* 10. MATAHARI ORANYE - NEW */
/* Sudah diganti dengan FontAwesome icon di PHP */

/* Styling untuk konten */
.meaning-content h5 {
    color: #322a1d;
    margin-bottom: 6px;
    font-size: 1.1rem;
    font-weight: 600;
}

.meaning-content p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0;
    line-height: 1.5;
    text-align: justify;
}

/* ============ SEJARAH SECTION ============ */
.history-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.timeline-container {
    position: relative;
}

.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--isb-brown), var(--isb-gold));
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -35px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--isb-gold);
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--isb-gold);
    z-index: 1;
}

.timeline-date {
    position: absolute;
    left: -200px;
    top: 0;
    background: var(--isb-brown);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    min-width: 180px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(50, 42, 29, 0.2);
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--isb-gold);
}

/* ============ AKREDITASI SECTION ============ */
.accreditation-section {
    padding: 80px 0;
}

.institution-accreditation {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.accreditation-card-main {
    text-align: center;
}

.accreditation-badge .badge {
    font-size: 1rem;
    padding: 10px 20px;
}

/* Certificate Preview Large - UPDATED */
.certificate-preview-large {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 350px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.certificate-preview-large .certificate-image {
    width: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: pointer;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.certificate-preview-large .certificate-image:hover {
    transform: scale(1.02);
}

.certificate-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
}

.certificate-preview-large:hover .certificate-overlay {
    opacity: 1;
}

/* Prodi Accreditation Grid */
.prodi-accreditation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.prodi-accreditation-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border-left: 4px solid;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.prodi-accreditation-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.prodi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid #eee;
}

.prodi-header h5 {
    margin: 0;
    color: var(--isb-brown);
    font-size: 1.1rem;
}

/* Certificate Container untuk gambar sertifikat */
.certificate-container {
    height: 180px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 15px;
}

.certificate-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certificate-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.prodi-accreditation-item:hover .certificate-img {
    transform: scale(1.05);
}

.certificate-view-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(50, 42, 29, 0.9);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 2;
}

.prodi-accreditation-item:hover .certificate-view-btn {
    opacity: 1;
    transform: translateY(0);
}

.certificate-view-btn:hover {
    background: var(--isb-gold);
    color: var(--isb-brown);
}

/* Placeholder untuk prodi baru */
.prodi-placeholder {
    text-align: center;
    color: #666;
    padding: 20px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.prodi-placeholder i {
    color: #dee2e6;
    margin-bottom: 10px;
}

.prodi-body {
    padding: 20px;
    flex-grow: 1;
}

.prodi-body p {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

/* Tombol untuk SK prodi baru */
.prodi-body .btn-outline-primary {
    border-color: #014a94;
    color: #014a94;
    margin-top: 10px;
    padding: 4px 12px;
    font-size: 0.8rem;
}

.prodi-body .btn-outline-primary:hover {
    background-color: #014a94;
    color: white;
}

/* Modal Certificate */
.certificate-modal-container {
    width: 100%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    overflow: auto;
    padding: 20px;
}

.certificate-modal-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

/* ============ VISI MISI SECTION ============ */
.vission-mission-section {
    background: linear-gradient(135deg, #322a1d 0%, #493c2a 100%);
    color: white;
    padding: 80px 0;
}

.vision-container,
.mission-container,
.goal-container {
    text-align: center;
    padding: 20px;
}

.vision-content,
.mission-content,
.goal-content {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.vision-quote {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #fff;
}

.mission-list-detailed,
.goal-list-detailed {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mission-list-detailed li,
.goal-list-detailed li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.mission-list-detailed li:last-child,
.goal-list-detailed li:last-child {
    border-bottom: none;
}

.mission-number {
    background: var(--isb-gold);
    color: var(--isb-brown);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.goal-icon-item {
    color: var(--isb-gold);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 3px;
}

/* ============ TUJUAN SECTION ============ */
.goals-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.goals-intro {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.goals-intro p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: justify;
}

.goals-intro p:last-child {
    margin-bottom: 0;
}

/* ============ LEADERSHIP SECTION ============ */
.leadership-section {
    padding: 80px 0;
}

.leadership-grid-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.leader-card-main {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.leader-card-main:hover {
    transform: translateY(-10px);
}

/* Avatar lingkaran untuk pimpinan utama - NEW */
.leader-avatar-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid;
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.leader-card-main:hover .leader-avatar-circle {
    transform: scale(1.05);
}

.leader-avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-info h5 {
    color: var(--isb-brown);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.leader-info p.text-primary {
    color: var(--isb-brown) !important;
    font-weight: 600;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

.leader-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-8px);
}

/* Avatar lingkaran kecil untuk wakil rektor - NEW */
.leader-avatar-circle-small {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 4px solid;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.leader-card:hover .leader-avatar-circle-small {
    transform: scale(1.05);
}

.leader-avatar-circle-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-card h6 {
    color: var(--isb-brown);
    margin: 10px 0 5px;
    font-size: 1rem;
}

/* Hapus struktur untuk Ketua Senat */
.leadership-grid-single,
.leader-card-single,
.leader-avatar-medium {
    display: none;
}

/* Kaprodi Grid */
.kaprodi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.kaprodi-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kaprodi-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

/* Avatar lingkaran untuk kaprodi - NEW */
.kaprodi-avatar-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 4px solid;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.kaprodi-card:hover .kaprodi-avatar-circle {
    transform: scale(1.05);
}

.kaprodi-avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hapus style lama untuk kaprodi-avatar */
.kaprodi-avatar {
    display: none;
}

/* Border color untuk masing-masing kaprodi */
.kaprodi-card:nth-child(1) .kaprodi-avatar-circle {
    border-color: #0099cc; /* Manajemen - Biru */
}

.kaprodi-card:nth-child(2) .kaprodi-avatar-circle {
    border-color: #ff3300; /* Kewirausahaan - Merah */
}

.kaprodi-card:nth-child(3) .kaprodi-avatar-circle {
    border-color: #800080; /* PGSD - Ungu */
}

.kaprodi-card:nth-child(4) .kaprodi-avatar-circle {
    border-color: #ff7f00; /* TI - Orange */
}

.kaprodi-card:nth-child(5) .kaprodi-avatar-circle {
    border-color: #00FFEF; /* Agro - Cyan */
}

.kaprodi-card:nth-child(6) .kaprodi-avatar-circle {
    border-color: #014a94; /* SI - Biru gelap */
}

.kaprodi-card h6 {
    color: var(--isb-brown);
    margin: 10px 0 5px;
    font-size: 1.1rem;
}

.kaprodi-card p {
    font-size: 0.9rem;
    color: #666;
}

/* ============ PROGRAM UNGGULAN ============ */
.program-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-10px);
}

.program-header {
    padding: 30px;
    text-align: center;
}

.program-body {
    padding: 25px;
}

.program-body h5 {
    color: var(--isb-brown);
    margin-bottom: 15px;
}

/* ============ MITRA ============ */
.partner-logo {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.partner-logo img {
    max-width: 100%;
    max-height: 60px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

/* ============ CTA DIES NATALIS ============ */
.dies-badge-large {
    display: inline-block;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--isb-gold-dark), var(--isb-gold));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--isb-brown);
    font-weight: bold;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.dies-badge-large .dies-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.dies-badge-large .dies-text {
    font-size: 1rem;
    text-align: center;
    line-height: 1.2;
}

/* ============ GENERAL SECTION STYLING ============ */
.section {
    padding: 80px 0;
    scroll-margin-top: 100px;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Highlight untuk section yang di-scroll dari navbar */
.section:target {
    animation: highlightSection 2s ease;
}

@keyframes highlightSection {
    0% {
        background-color: rgba(251, 195, 36, 0.1);
    }
    100% {
        background-color: transparent;
    }
}

/* Animasi untuk ikon FontAwesome */
@keyframes iconPop {
    0% { transform: scale(0.5); opacity: 0; }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes flameFlicker {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes doveFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes sunRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes cloudFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 992px) {
    .timeline-date {
        position: relative;
        left: 0;
        margin-bottom: 10px;
        display: inline-block;
    }

    .timeline {
        padding-left: 40px;
    }

    .timeline-marker {
        left: -30px;
    }

    .prodi-accreditation-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .kaprodi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section {
        scroll-margin-top: 80px;
    }
    
    .leader-avatar-circle {
        width: 150px;
        height: 150px;
    }
    
    .leader-avatar-circle-small {
        width: 100px;
        height: 100px;
    }
    
    .kaprodi-avatar-circle {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .about-hero-section {
        padding: 80px 0 40px;
    }

    .dies-natalis-badge {
        width: 80px;
        height: 80px;
        top: 10px;
        right: 10px;
    }

    .dies-natalis-badge .badge-year {
        font-size: 1.5rem;
    }

    .dies-natalis-badge .badge-text {
        font-size: 0.7rem;
    }

    .timeline {
        padding-left: 20px;
    }

    .timeline-marker {
        left: -25px;
        width: 15px;
        height: 15px;
    }

    /* Responsive Makna Lambang */
    .meaning-item {
        flex-direction: column;
        text-align: center;
    }

    .meaning-icon {
        margin: 0 auto 15px;
    }

    .slide img {
        height: 300px;
    }

    .certificate-preview-large {
        height: 250px;
    }

    .leadership-grid-main,
    .leadership-grid {
        grid-template-columns: 1fr;
    }

    .prodi-accreditation-grid {
        grid-template-columns: 1fr;
    }

    .kaprodi-grid {
        grid-template-columns: 1fr;
    }

    .section {
        scroll-margin-top: 70px;
    }

    /* Responsive certificate container */
    .certificate-container {
        height: 150px;
    }

    .certificate-view-btn {
        opacity: 1;
        transform: translateY(0);
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .leader-avatar-circle {
        width: 120px;
        height: 120px;
    }
    
    .kaprodi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .hero-stats {
        justify-content: center;
    }

    .hero-stats .stat-item {
        min-width: 100px;
    }

    .timeline {
        padding-left: 15px;
    }

    .timeline-marker {
        left: -20px;
    }

    .certificate-preview-large {
        height: 200px;
    }

    .certificate-container {
        height: 120px;
    }

    .section {
        scroll-margin-top: 60px;
    }
    
    .leader-avatar-circle {
        width: 100px;
        height: 100px;
        border-width: 3px;
    }
    
    .leader-avatar-circle-small,
    .kaprodi-avatar-circle {
        width: 80px;
        height: 80px;
        border-width: 3px;
    }
    
    .kaprodi-grid {
        grid-template-columns: 1fr;
    }
    
    .leadership-grid {
        grid-template-columns: 1fr;
    }
}

/* Loading state untuk gambar */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}