* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f5f7fa;
}

/* NAVBAR */
nav {
    background: #1b1464;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

nav h1 {
    font-size: 22px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

nav ul li a:hover {
    color: #00d2ff;
}

/* HERO */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px;
    background: linear-gradient(135deg, #1b1464, #3a0ca3);
    color: white;
}

.hero-text {
    max-width: 600px;
}

.btn {
    display: inline-block;
    background: #00d2ff;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
}

/* CARD */
.menu-belajar {
    padding: 60px;
    background: #f0f2f5;
    text-align: center;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.card {
    background: white;
    width: 280px;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.card a {
    display: inline-block;
    background: #1b1464;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
}

/* PAGE CONTENT */
.page {
    padding: 80px;
    text-align: center;
}

footer {
    background: #0d2b57;
    color: white;
    padding: 50px 60px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-col {
    width: 30%;
    min-width: 250px;
}

.footer-col h3 {
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-col p {
    margin-bottom: 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 14px;
    transition: 0.3s;
}

.footer-col a:hover {
    color: #00d2ff;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    opacity: 0.8;
}

/* FOOTER UTAMA */
footer {
  background: #4fae8d;
  color: white;
  padding: 30px 20px;
}

/* CONTAINER FOOTER */
.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

/* KOLOM */
.footer-col {
  flex: 1;
  min-width: 250px;
}

/* JUDUL */
.footer-col h3 {
  margin-bottom: 15px;
}

/* PARAGRAF */
.footer-col p {
  margin: 10px 0;
  display: flex;
  align-items: center;
}

/* ICON */
.footer-col i {
  margin-right: 10px;
  font-size: 16px;
}

/* LINK */
.footer-col a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

/* HOVER LINK */
.footer-col a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

/* GOOGLE MAP (kalau nanti dipakai) */
.maps {
  margin-top: 15px;
}

.maps iframe {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  border: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }
}
/* FOOTER */
footer {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: white;
  padding: 50px 20px 20px;
}

/* CONTAINER */
.footer-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

/* KOLOM */
.footer-col {
  flex: 1;
  min-width: 250px;
}

/* JUDUL */
.footer-col h3 {
  margin-bottom: 15px;
}

/* TEXT */
.footer-col p {
  margin: 10px 0;
  line-height: 1.6;
}

/* LINK */
.footer-col a {
  display: block;
  color: white;
  text-decoration: none;
  margin: 6px 0;
  transition: 0.3s;
}

/* HOVER LINK (biru muda glow dikit) */
.footer-col a:hover {
  color: #93c5fd;
}

/* ICON */
.footer-col i {
  margin-right: 10px;
}

/* BOTTOM */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  opacity: 0.8;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }
}
.card i {
    font-size: 40px;
    margin-bottom: 15px;
    color: #4CAF50;
}

.card {
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}
.content {
    padding: 40px;
}

.box {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.box h3 {
    margin-bottom: 10px;
    color: #4CAF50;
}
/* FONT GLOBAL */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f0f4ff, #f9f9f9);
}

/* SECTION */
.content {
    padding: 50px 20px;
    text-align: center;
}

/* GRID CARD */
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

/* CARD MODERN */
.box {
    width: 100%;
    max-width: 650px;
    padding: 25px;

    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);

    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);

    transition: all 0.3s ease;
    text-align: left;
}

/* HOVER EFFECT */
.box:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* JUDUL CARD */
.box h3 {
    text-align: center;
    color: #4CAF50;
    margin-bottom: 15px;
}

/* LIST */
.box ol {
    padding-left: 20px;
    line-height: 1.7;
}

/* CP TEXT */
.box p {
    line-height: 1.7;
}

/* GARIS AKSEN */
.box::before {
    content: "";
    display: block;
    width: 50px;
    height: 5px;
    background: #4CAF50;
    border-radius: 10px;
    margin: 0 auto 15px;
}
/* BODY */
body {
    font-family: 'Poppins', sans-serif;
    background: #f4f7fb;
    margin: 0;
}

/* NAVBAR */
.navbar {
    background: #4CAF50;
    color: white;
    padding: 15px 30px;
}

/* HEADER */
.header-belajar {
    padding: 25px;
    background: linear-gradient(135deg, #4CAF50, #66bb6a);
    color: white;
    text-align: center;
}

/* CONTAINER */
.container-list {
    padding: 20px;
    max-width: 800px;
    margin: auto;
}

/* LIST ITEM */
.list-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;

    background: white;
    padding: 20px;
    margin-bottom: 15px;

    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);

    transition: 0.3s;
}

/* ICON */
.list-item i {
    font-size: 28px;
    color: #4CAF50;
    margin-top: 5px;
}

/* TEXT */
.list-item h3 {
    margin: 0 0 8px;
}

/* LIST */
.list-item ul {
    margin: 0;
    padding-left: 20px;
}

/* HOVER */
.list-item:hover {
    transform: translateX(5px);
}

/* CP KHUSUS */
.utama {
    border-left: 5px solid #4CAF50;
}
/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: #4CAF50;
    color: white;
}

/* BAGIAN KIRI */
.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* LOGO */
.logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-undiksha {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

/* JUDUL */
.nav-left h1 {
    font-size: 20px;
    margin-left: 5px;
}

/* MENU */
.navbar ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
}
/* SECTION */
.materi {
    padding: 50px;
    text-align: center;
    background: #f4f6fb;
}

/* JUDUL */
.materi h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

/* CONTAINER */
.materi-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* CARD */
.materi-card {
    background: white;
    padding: 30px;
    width: 280px;
    border-radius: 20px;
    text-align: left;

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
}

/* ICON */
.materi-card i {
    font-size: 30px;
    margin-bottom: 15px;
}

/* JUDUL CARD */
.materi-card h3 {
    margin-bottom: 10px;
}

/* HOVER */
.materi-card:hover {
    transform: translateY(-8px);
}

/* WARNA ATAS CARD */
.biru {
    border-top: 5px solid #2f5fd0;
}

.hijau {
    border-top: 5px solid #28a745;
}

.orange {
    border-top: 5px solid #f39c12;
}
/* LINK CARD */
.card-link {
    text-decoration: none;
    color: inherit;
}

/* EFEK KLIK */
.card-link:active .materi-card {
    transform: scale(0.97);
}
/* VIDEO RESPONSIVE */
.video-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.video-container iframe {
    width: 80%;
    max-width: 700px;
    height: 400px;
    border-radius: 15px;
}
/* SECTION BACKGROUND + MOTIF */
.video-section {
    padding: 60px 20px;
    display: flex;
    justify-content: center;

    /* GRADIENT DASAR */
    background: linear-gradient(135deg, #eef5ff, #e8f5e9);

    /* MOTIF AKSARA */
    background-image: url('motif-aksara.png');
    background-repeat: repeat;
    background-size: 200px;

    /* BIAR HALUS */
    opacity: 1;
}

/* BIAR MOTIF LEBIH TIPIS (overlay trik) */
.video-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('motif-aksara.png');
    background-repeat: repeat;
    background-size: 200px;
    opacity: 0.05; /* ini kunci biar samar */
    pointer-events: none;
}

/* FIX POSISI */
.video-section {
    position: relative;
}

/* BOX VIDEO */
.video-box {
    position: relative;
    z-index: 1; /* biar di atas motif */

    padding: 30px;
    border-radius: 20px;
    width: 80%;
    max-width: 900px;

    background: linear-gradient(135deg, #dbeafe, #dcfce7);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
/* BACKGROUND */
.profile-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

    background: linear-gradient(135deg, #0f172a, #1e3a8a);
}

/* CARD */
.profile-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);

    padding: 40px;
    border-radius: 20px;
    width: 700px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

/* JUDUL */
.profile-card h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #facc15;
}

/* ISI */
.profile-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* FOTO */
.profile-img img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;

    border: 4px solid #facc15;
}

/* DATA */
.profile-data p {
    margin: 10px 0;
    font-size: 16px;
}
/* WRAPPER FOTO (LINGKARAN - DIAM) */
.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid gold;
    overflow: hidden; /* PENTING: biar gambar kepotong lingkaran */
    margin-bottom: 20px;
}

/* GAMBAR DI DALAMNYA (YANG ZOOM) */
.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    animation: zoomInOut 4s infinite alternate;
    transition: transform 0.4s ease;
}

/* ANIMASI ZOOM */
@keyframes zoomInOut {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2);
    }
}

/* BONUS HOVER */
.profile-img img:hover {
    transform: scale(1.3);
}
/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #4CAF50;
    padding: 15px 40px;
}

/* KIRI */
.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 40px;
}

.nav-left h1 {
    color: white;
    font-size: 22px;
    font-weight: bold;
}

/* MENU */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu li {
    color: white;
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s;
}

.nav-menu li:hover {
    color: #d1fae5;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #4CAF50;
    padding: 15px 40px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 40px;
}

.logo-undiksha {
    width: 45px;
}

.nav-left h1 {
    color: white;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-menu li a {
    text-decoration: none;
    color: white;
    font-size: 17px;
    transition: 0.3s;
}

.nav-menu li a:hover {
    color: #d1fae5;
}
/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* BODY */
body {
    background: #f5f5f5;
    color: #333;
}

/* ================= NAVBAR ================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #4CAF50;
    padding: 15px 40px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 40px;
}

.logo-undiksha {
    width: 45px;
}

.nav-left h1 {
    color: white;
    font-size: 22px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-menu li a {
    text-decoration: none;
    color: white;
    font-size: 17px;
    transition: 0.3s;
}

.nav-menu li a:hover {
    color: #d1fae5;
}

/* ================= PROFILE ================= */
.profile-section {
    display: flex;
    justify-content: center;
    padding: 50px;
}

.profile-wrapper {
    width: 800px;
    text-align: center;
}

.profile-wrapper h2 {
    margin-bottom: 30px;
}

/* CARD */
.profile-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;

    background: rgba(255,255,255,0.2);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* FOTO (TIDAK DIUBAH - TETAP ZOOM) */
.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid gold;
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomInOut 4s infinite alternate;
}

/* ANIMASI FOTO */
@keyframes zoomInOut {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

/* TEKS (SUDAH TENGAH) */
.profile-info {
    text-align: center;
    line-height: 1.6;
    font-size: 18px;
}

.profile-info b {
    display: block;
    font-size: 20px;
    color: #facc15;
    margin-bottom: 10px;
}

.profile-info p {
    margin: 5px 0;
}

/* ================= CONTENT UMUM ================= */
.content {
    padding: 40px;
    text-align: center;
}

/* ================= CARD ================= */
.card {
    background: white;
    padding: 20px;
    margin: 15px auto;
    width: 300px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* ================= VIDEO ================= */
.video-section {
    display: flex;
    justify-content: center;
    padding: 50px;
}

.video-box {
    background: white;
    padding: 30px;
    border-radius: 20px;
    width: 700px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.video-box h2 {
    margin-bottom: 15px;
}

.deskripsi {
    margin-bottom: 20px;
    color: #555;
}

.video-container iframe {
    width: 100%;
    height: 350px;
    border-radius: 10px;
}

/* ================= MATERI ================= */
.materi {
    padding: 50px;
    text-align: center;
}

.materi-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.card-link {
    text-decoration: none;
}

.materi-card {
    width: 250px;
    padding: 25px;
    border-radius: 20px;
    color: white;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.materi-card i {
    font-size: 30px;
    margin-bottom: 10px;
}

.materi-card:hover {
    transform: translateY(-8px);
}

.biru {
    background: #3b82f6;
}

.hijau {
    background: #22c55e;
}

.orange {
    background: #f97316;
}

/* ================= WIKI ================= */
.wiki-section {
    display: flex;
    justify-content: center;
    padding: 50px;
}

.wiki-box {
    max-width: 700px;
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: justify;
    line-height: 1.8;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.wiki-box h2 {
    text-align: center;
    margin-bottom: 20px;
}

/* ================= TUJUAN ================= */
.header-belajar {
    text-align: center;
    padding: 40px 20px;
}

.container-list {
    max-width: 800px;
    margin: auto;
    padding: 20px;
}

.list-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: white;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.list-item:hover {
    transform: translateY(-5px);
}

.list-item i {
    font-size: 25px;
    color: #4CAF50;
}

.utama {
    border-left: 5px solid #4CAF50;
    background: #f0fdf4;
}
/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
}

/* NAVBAR BIAR DI ATAS BACKGROUND */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    z-index: 1000;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

/* HERO (BACKGROUND UTAMA) */
.hero {
    height: 100vh;
    width: 100%;

    background: 
        linear-gradient(
            to right,
            rgba(0, 0, 0, 0.9) 20%,
            rgba(0, 0, 0, 0.6) 50%,
            rgba(0, 0, 0, 0.2) 100%
        ),
        url('bg-aksara.png'); /* 🔥 GANTI kalau beda folder */

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    padding: 100px 80px;
}

/* TEXT HERO */
.hero-text {
    color: white;
    max-width: 600px;
}

.hero-text h2 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* BUTTON */
.btn {
    background: #facc15;
    color: black;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn:hover {
    background: #eab308;
}

/* BIAR SECTION SETELAH HERO TIDAK NAIK */
.menu-belajar {
    padding: 80px;
    background: #f5f5f5;
}
