/* reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

/* background */
body {
    background: linear-gradient(135deg, #eef2ff, #f8fafc);
    color: #333;
}

/* NAVBAR */
.navbar {
    background: #1d4ed8;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* container navbar */
.navbar .nav-links {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
    padding: 18px 20px;
}

/* link */
.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: 0.3s;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* HERO */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    padding: 100px 60px;
    flex-wrap: wrap;
}

/* foto */
.hero img {
    width: 240px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
}

.hero img:hover {
    transform: scale(1.05) rotate(2deg);
}

/* card teks */
.hero-text,
.profil-right {
    max-width: 620px;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
    border-left: 5px solid #3b82f6;
}

.hero-text:hover {
    transform: translateY(-5px);
}

/* welcome */
.welcome {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;

    background: linear-gradient(90deg, #2563eb, #60a5fa);

    background-clip: text;
    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;
}

/* nama */
.name {
    font-size: 28px;
    margin-bottom: 15px;
    color: #1e3a8a;
}

/* deskripsi */
.desc {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

/* button */
.hero-btn {
    display: inline-block;
    padding: 10px 22px;
    background: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: 0.3s;
}

.hero-btn:hover {
    background: #1d4ed8;
    transform: scale(1.05);
}

/* RESPONSIVE */
@media(max-width:768px) {

    .navbar {
        justify-content: center;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 60px 20px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero img {
        width: 200px;
    }

    .welcome {
        font-size: 32px;
    }

}

/* PROFIL SECTION */

/* =========================
   SECTION PROFIL
========================= */

.profil {

    padding: 120px 20px;
    background: white;
    width: 100%;

}


/* Judul */
.profil-title {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 70px;
    color: #1e3a8a;
}

/* Layout utama */
.profil-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

/* =========================
   BAGIAN FOTO
========================= */

.profil-left {
    text-align: center;
}

/* foto */
.profil-left img {
    width: 260px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: 0.4s;
}

.profil-left img:hover {
    transform: scale(1.05) rotate(2deg);
}

/* =========================
   STATS CARD
========================= */

.profil-stats {
    display: flex;
    gap: 18px;
    margin-top: 25px;
    justify-content: center;
}

.stat {
    background: #1d4ed8;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: 0.3s;
    min-width: 90px;
}

.stat:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.stat h3 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 4px;
}

.stat p {
    font-size: 13px;
    color: #ffffff;
}

/* =========================
   BAGIAN KANAN
========================= */

.profil-right {
    max-width: 500px;
}

.profil-right h2 {
    font-size: 28px;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.profil-desc {
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

/* =========================
   INFO GRID
========================= */

.profil-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.profil-info div {
    background: #1d4ed8;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.profil-info div:hover {
    transform: translateY(-4px);
}

/* label */
.profil-info span {
    font-size: 12px;
    color: #ffffff;
    display: block;
    margin-bottom: 4px;
}

/* isi */
.profil-info p {
    font-size: 14px;
    color: #fff5f5;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:768px) {

    .profil-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }

    .profil-info {
        grid-template-columns: 1fr;
    }

}

/* ========================
   SECTION MATA KULIAH
======================== */

.matkul {
    padding: 120px 20px;
    background: #f8fafc;
    text-align: center;
}

/* judul */
.matkul-title {
    font-size: 36px;
    color: #1e3a8a;
    margin-bottom: 60px;
}

/* grid */
.matkul-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* card */
.matkul-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
    border-top: 4px solid #3b82f6;
}

/* hover effect */
.matkul-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* judul matkul */
.matkul-card h3 {
    color: #2563eb;
    margin-bottom: 10px;
}

/* deskripsi */
.matkul-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* SECTION HOBI */

.hobi {
    padding: 120px 20px;
    background: linear-gradient(135deg, #eef2ff, #ffffff);
    text-align: center;
}

/* judul */
.hobi-title {
    font-size: 38px;
    color: #1e3a8a;
    margin-bottom: 70px;
    font-weight: 700;
}

/* grid */
.hobi-container {
    max-width: 950px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
}

/* card */
.hobi-card {
    background: white;
    padding: 40px 30px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: 0.35s;
    position: relative;
    overflow: hidden;
}

/* garis gradient atas */
.hobi-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

/* hover */
.hobi-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* icon */
.hobi-icon {
    font-size: 50px;
    margin-bottom: 18px;
    transition: 0.3s;
}

/* animasi icon */
.hobi-card:hover .hobi-icon {
    transform: scale(1.2) rotate(5deg);
}

/* judul */
.hobi-card h3 {
    color: #2563eb;
    margin-bottom: 12px;
    font-size: 20px;
}

/* teks */
.hobi-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

/* SECTION BERITA */

.berita {
    padding: 120px 20px;
    background: #f8fafc;
    text-align: center;
}

/* judul */
.berita-title {
    font-size: 36px;
    color: #1e3a8a;
    margin-bottom: 60px;
}

/* grid */
.berita-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* card berita */
.berita-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
    text-align: left;
}

/* hover */
.berita-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* gambar */
.berita-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* isi */
.berita-content {
    padding: 20px;
}

.berita-content h3 {
    font-size: 18px;
    color: #1e3a8a;
    margin-bottom: 10px;
}

.berita-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* link */
.berita-content a {
    text-decoration: none;
    color: #2563eb;
    font-weight: 500;
}