body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0b0f28, #1b2a4a);
    color: #f8f9fa;
    overflow-x: hidden;
}

.hero {
    background: radial-gradient(ellipse at center, #3b0a65 0%, #132a90 100%);
    color: #ffffff;
    padding: 100px 20px;
    text-align: center;
    box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-weight: 800;
    font-size: 3.2rem;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    color: #d4deff;
}
.hero {
    position: relative;
    padding: 120px 20px;
    text-align: center;
    background: linear-gradient(160deg, #1e1f46 0%, #101c3f 100%);
    overflow: hidden;
    color: #ffffff;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(110,132,255,0.3), transparent 60%);
    filter: blur(60px);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(91,124,255,0.25), transparent 70%);
    filter: blur(80px);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(91,124,255,0.3);
    animation: fadeInDown 1s ease-out;
}

.hero p {
    font-size: 1.3rem;
    color: #cfd9ff;
    max-width: 650px;
    margin: 0 auto 30px;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.btn-light {
    background-color: #ffffff;
    color: #3b0a65;
    border: none;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease-in-out;
}

.btn-light:hover {
    background-color: #dce2ff;
    color: #3b0a65;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

nav.navbar {
    background-color: rgba(13, 18, 40, 0.9) !important;
    backdrop-filter: blur(10px);
}

nav .navbar-brand {
    color: #91a7ff !important;
}

nav .nav-link {
    color: #dee2e6 !important;
    transition: color 0.2s ease;
}

nav .nav-link.active,
nav .nav-link:hover {
    color: #a5d8ff !important;
}

.section-materi {
    background: linear-gradient(180deg, #121c38 0%, #10192e 100%);
}

.section-materi h2 {
    color: #f1f3f5;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.section-materi .card {
    background: rgba(26, 38, 68, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    color: #dee2e6;
    box-shadow: 0 6px 20px rgba(91, 124, 255, 0.15);
    border-radius: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.section-materi .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(91, 124, 255, 0.35);
}

.section-materi .card img {
    border-radius: 16px 16px 0 0;
    object-fit: cover;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
}

.btn-primary {
    background-color: #5f82ff;
    border: none;
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #7799ff;
}

footer {
    background-color: #0d1228;
    color: #adb5bd;
    padding: 30px 0;
    text-align: center;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer a {
    color: #74c0fc;
    transition: color 0.2s;
}

footer a:hover {
    color: #91a7ff;
    text-decoration: none;
}
.section-materi .card {
    background: linear-gradient(145deg, rgba(25,35,65,0.6), rgba(18,28,60,0.9));
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(14px);
    color: #e2e6f0;
    box-shadow: 0 10px 25px rgba(50, 80, 200, 0.15);
    border-radius: 18px;
    transition: all 0.35s ease-in-out;
    overflow: hidden;
}

.section-materi .card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 15px 30px rgba(91, 124, 255, 0.4);
}

.section-materi .card img {
    border-radius: 18px 18px 0 0;
    object-fit: cover;
    height: 210px;
    background: rgba(255, 255, 255, 0.04);
    transition: opacity 0.3s ease;
    filter: brightness(95%) contrast(110%);
}

.section-materi .card-body h5 {
    color: #91a7ff;
    font-weight: 600;
    margin-bottom: 10px;
}

.section-materi .card-body p {
    font-size: 0.95rem;
    color: #ced4e0;
}

.section-materi .btn-primary {
    background-color: #5f82ff;
    border: none;
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.section-materi .btn-primary:hover {
    background-color: #7b9aff;
}
.custom-navbar {
    background: rgba(20, 25, 60, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 12px;
    padding-bottom: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.custom-navbar .navbar-brand {
    font-size: 1.4rem;
    font-weight: 700;
    color: #a5d8ff;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(125, 205, 255, 0.4);
    transition: color 0.3s ease;
}

.custom-navbar .navbar-brand:hover {
    color: #c1e0ff;
}

.custom-navbar .nav-link {
    color: #dee2e6 !important;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}
.hero-mini {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .hero-mini {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}