body {
    background: #f8f5f2;
    color: #2b2b2b;
    margin-top: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
}
.container {
    padding-left: 16px;
    padding-right: 16px;
}
/* ================= NAVBAR ================= */
.navbar-custom {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(90, 15, 27, 0.08);
    padding: 15px 0;
    transition: all 0.3s ease;
}
.navbar-collapse {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
}
.logo {
    height: 48px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.brand-title {
    font-weight: 700;
    color: #5a0f1b;
    font-size: 18px;
    letter-spacing: -0.5px;
}

.brand-subtitle {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
}

.nav-link {
    color: #2b2b2b !important;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #5a0f1b;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #5a0f1b !important;
}
/* ================= DROPDOWN CUSTOMIZATION ================= */
.dropdown-menu {
    border: 1px solid rgba(90, 15, 27, 0.1);
    box-shadow: 0 4px 15px rgba(90, 15, 27, 0.15);
    border-radius: 8px;
    padding: 8px 0;
}

.dropdown-item {
    color: #2b2b2b;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #5a0f1b !important;
    color: #fff !important;
}

.dropdown-item:focus {
    background-color: #5a0f1b !important;
    color: #fff !important;
}

.dropdown-item:active {
    background-color: #7a1b28 !important;
    color: #fff !important;
}
/* Hilangkan border bawah pada dropdown Pengguna Alumni */
.nav-item.dropdown .nav-link.dropdown-toggle::after {
    border: none;
}
/* ================= BUTTONS ================= */
.btn-maroon {
    background: linear-gradient(135deg, #5a0f1b 0%, #7a1b28 100%);
    color: #fff;
    border: none;
    padding: 12px 32px;
    font-weight: 900;
    border-radius: 100px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(90, 15, 27, 0.3);
}

.btn-maroon:hover {
    background: linear-gradient(135deg, #7a1b28 0%, #5a0f1b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(90, 15, 27, 0.4);
    color: #fff;
}

.btn-outline-maroon {
    border: 3px solid #5a0f1b;
    color: #5a0f1b;
    background: transparent;
    padding: 12px 32px;
    font-weight: 700;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.btn-outline-maroon:hover {
    background: #5a0f1b;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(90, 15, 27, 0.3);
}

/* ================= HERO SECTION ================= */
.hero-section {
    position: relative;
    min-height: 100svh; /* bukan 100vh */
    padding: 100px 20px 60px;
    background: url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?w=1600') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(246, 239, 230, 0.6) 0%,
        rgba(248, 245, 242, 0.5) 30%,
        rgba(90, 15, 27, 0.65) 100%
    );
    z-index: 1;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(90, 15, 27, 0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.2;
    color: #1f1f1f;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-content h1 span {
    color: #5a0f1b;
    position: relative;
    display: inline-block;
}

.hero-content h1 span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #5a0f1b, #7a1b28);
    border-radius: 2px;
}

.hero-content p {
    font-size: 35px;
    margin-top: 15px;
    color: #5a0f1b;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-action {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
}

.hero-action .btn {
    padding: 14px 36px;
    font-size: 16px;
    min-width: 180px;
}

/* ================= SECTION UMUM ================= */
.section {
    padding: 90px 0;
    background: #ffffff;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e5e5, transparent);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2b2b2b;
}

.section-title span {
    color: #5a0f1b;
    position: relative;
}

.section-text {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

/* ================= INFO BOX ================= */
.info-box {
    background: linear-gradient(135deg, #f6efe6 0%, #faf7f4 100%);
    border-left: 5px solid #5a0f1b;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(90, 15, 27, 0.08);
    padding: 25px;
    font-size: 16px;
    line-height: 1.7;
    color: #2b2b2b;
    position: relative;
    overflow: hidden;
}

.info-box::before {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 120px;
    opacity: 0.05;
}

/* ================= PANDUAN SECTION ================= */
.panduan-section {
    background: linear-gradient(135deg, #5a0f1b 0%, #7a1b28 100%);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.panduan-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.panduan-section h3 {
    position: relative;
    z-index: 2;
    font-weight: 700;
    font-size: 36px;
}

.panduan-card {
    background: #ffffff;
    padding: 35px 25px;
    text-align: center;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    height: 100%;
}

.panduan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.step {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #5a0f1b 0%, #7a1b28 100%);
    color: #fff;
    border-radius: 50%;
    margin: 0 auto 20px;
    line-height: 60px;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(90, 15, 27, 0.3);
}

.panduan-card p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #2b2b2b;
}

/* ================= BERITA SECTION ================= */
.news-card {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(90, 15, 27, 0.15);
}

.news-card .card-body {
    padding: 30px;
}

.news-card h6 {
    font-size: 20px;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 15px;
}

.read-more {
    color: #5a0f1b;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.read-more::after {
    content: '→';
    transition: transform 0.3s ease;
}

.read-more:hover {
    gap: 12px;
}

.read-more:hover::after {
    transform: translateX(4px);
}

/* ================= FOOTER ================= */
.footer {
    background: linear-gradient(135deg, #5a0f1b 0%, #7a1b28 100%);
    padding: 60px 0 30px;
    color: #f8f5f2;
}

.footer strong {
    color: #ffffff;
    font-size: 18px;
    display: block;
    margin-bottom: 15px;
}

.footer p {
    color: #d4d4d4;
    line-height: 1.8;
}

.footer a {
    color: #d4d4d4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ffffff;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 40px 0 25px;
}
/* ================= FOOTER ENHANCEMENTS ================= */
footer a {
    color: #2b2b2b;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #5a0f1b;
    transform: translateX(3px);
    display: inline-block;
}

footer .bi {
    font-size: 1.1rem;
    vertical-align: middle;
}

footer p {
    line-height: 2;
}

/* Social Media Icons */
.social-media {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: #5a0f1b;
    color: #5a0f1b;  /* Ini yang diperbaiki - warna text jadi merah */
    transform: translateY(-3px);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: clamp(28px, 6vw, 64px);
    }
    
    .hero-content p {
        font-size: clamp(16px, 3vw, 35px);
    }
    
    .section-title {
        font-size: clamp(24px, 4vw, 36px);
    }
    
    .hero-action {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-action .btn {
        width: 100%;
        max-width: 300px;
    }
    .footer .row > div {
        text-align: left;
    }

    .social-media {
        justify-content: flex-start;
    }
}
@media (max-width: 576px) {
    .hero-action {
        flex-direction: column;
        gap: 12px;
    }

    .hero-action .btn {
        width: 100%;
    }
    .info-box {
        padding: 20px;
    }
}

/* ================= SMOOTH SCROLL ================= */
html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 80px;
}