/* =========================
   RESET & GLOBAL STYLE
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f4f9ff;
    color: #1f2d3d;
    line-height: 1.6;
}

/* =========================
   NAVBAR
========================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 26px;
    font-weight: bold;
    color: #3da9fc;
}

.logo img{
    width:40px;
    height:40px;
    border-radius:50%;
    object-fit:cover;
    margin-right:10px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #1f2d3d;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: #3da9fc;
    border-bottom: 2px solid #3da9fc;
}

/* =========================
   HERO SECTION
========================= */
.hero {
    height: 75vh;
    background-image: url("https://images.unsplash.com/photo-1635070041078-e363dbe005cb");
    background-size: cover;
    background-position: center;
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
    transition: transform 0.3s ease, font-size 0.3s ease;
}

/* Saat scroll */
.hero-title.scrolled {
    transform: translateY(-120px);
    font-size: 42px;
}

/* =========================
   HERO BOX (Materi & Eksperiment)
========================= */
.hero-box-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.hero-box {
    background: rgba(255, 255, 255, 0.95);
    color: #1f2d3d;
    width: 200px;
    padding: 25px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.hero-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(61, 169, 252, 0.4);
}

/* =========================
   CONTENT SECTION
========================= */
section {
    padding: 80px 60px;
    text-align: center;
}
/* =========================
   TENTANG SECTION
========================= */
.tentang-container {
    margin-top: 30px;
}

/* Teks Tentang rata kanan kiri */
.tentang-text {
    text-align: justify;
    width: 100%;
}


/* =========================
   PROFILE CARD (IDENTITAS)
========================= */
.profile-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.profile-card {
    background: #ffffff;
    width: 260px;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: 0.3s;
}

.profile-card:hover {
    transform: translateY(-10px);
}

.profile-card img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #3da9fc;
    margin-bottom: 20px;
}

.profile-card h3 {
    color: #3da9fc;
    margin-bottom: 8px;
}

.profile-card p {
    color: #777;
}
/* =========================
   FOOTER
========================= */
footer {
    background-color: #eaf4ff;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}

footer:hover {
    background-color: #d5eaff;
}