/* ========================================
RESET
======================================== */

{
margin: 0;
padding: 0;
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body {
font-family: Arial, Helvetica, sans-serif;
background: #0f172a;
color: #e2e8f0;
line-height: 1.7;
}

/* ========================================
NAVBAR
======================================== */

header {
position: sticky;
top: 0;
z-index: 1000;

background: rgba(15, 23, 42, 0.92);
backdrop-filter: blur(10px);

border-bottom: 1px solid #1e293b;


}

.navbar {
max-width: 1100px;
margin: auto;

min-height: 70px;

display: flex;
align-items: center;
justify-content: space-between;

padding: 0 25px;


}

.logo {
color: #38bdf8;
font-size: 1.4rem;
font-weight: bold;
}

.nav-links {
display: flex;
gap: 25px;
list-style: none;
}

.nav-links a {
color: #cbd5e1;
text-decoration: none;

font-size: 0.95rem;

transition: 0.3s;


}

.nav-links a:hover {
color: #38bdf8;
}

/* ========================================
HERO
======================================== */

.hero {
min-height: 85vh;

display: flex;
align-items: center;
justify-content: center;

text-align: center;

padding: 80px 20px;

background:
    radial-gradient(
        circle at top,
        rgba(56, 189, 248, 0.15),
        transparent 40%
    ),
    #0f172a;


}

.hero-content {
max-width: 750px;
}

.subtitle {
color: #38bdf8;
font-size: 0.85rem;
font-weight: bold;
letter-spacing: 3px;

margin-bottom: 15px;


}

.hero h1 {
font-size: clamp(2.5rem, 7vw, 5rem);
line-height: 1.1;

margin-bottom: 25px;


}

.hero h1 span {
color: #38bdf8;
}

.hero p:not(.subtitle) {
color: #94a3b8;
font-size: 1.1rem;

margin-bottom: 35px;


}

/* ========================================
BUTTON
======================================== */

.button {
display: inline-block;

background: #38bdf8;
color: #082f49;

padding: 12px 25px;

border-radius: 8px;

font-weight: bold;
text-decoration: none;

transition: 0.3s;


}

.button:hover {
background: #7dd3fc;

transform: translateY(-3px);

box-shadow:
    0 10px 25px rgba(56, 189, 248, 0.2);


}

/* ========================================
GENERAL SECTION
======================================== */

.section {
padding: 90px 20px;
}

.container {
max-width: 1100px;
margin: auto;
}

.section h2 {
text-align: center;

font-size: 2rem;

margin-bottom: 25px;

color: #f8fafc;


}

.section h2::after {
content: "";

display: block;

width: 50px;
height: 3px;

margin: 12px auto 0;

background: #38bdf8;
border-radius: 5px;


}

/* ========================================
TENTANG
======================================== */

#tentang {
background: #111827;
}

#tentang p {
max-width: 750px;

margin: auto;

text-align: center;

color: #94a3b8;


}

/* ========================================
ARTIKEL
======================================== */

.articles-section {
background: #0f172a;
}

.articles {
display: grid;

grid-template-columns:
    repeat(3, 1fr);

gap: 25px;

margin-top: 45px;


}

.card {
background: #111827;

border: 1px solid #1e293b;

border-radius: 12px;

overflow: hidden;

transition: 0.3s;


}

.card:hover {
transform: translateY(-8px);

border-color: #38bdf8;

box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.3);


}

.card-content {
padding: 25px;
}

.category {
color: #38bdf8;

font-size: 0.8rem;
font-weight: bold;

text-transform: uppercase;

letter-spacing: 1px;

margin-bottom: 10px;


}

.card h3 {
color: #f8fafc;

font-size: 1.3rem;

margin-bottom: 12px;


}

.card p:not(.category) {
color: #94a3b8;

font-size: 0.95rem;

margin-bottom: 20px;


}

.card a {
color: #38bdf8;

text-decoration: none;

font-weight: bold;

font-size: 0.9rem;


}

.card a:hover {
color: #7dd3fc;
}

/* ========================================
KONTAK
======================================== */

.contact {
text-align: center;

background: #111827;


}

.contact p {
color: #94a3b8;

max-width: 600px;

margin:
    0 auto 30px;


}

/* ========================================
FOOTER
======================================== */

footer {
padding: 30px 20px;

text-align: center;

background: #020617;

color: #64748b;

font-size: 0.9rem;

border-top: 1px solid #1e293b;


}

/* ========================================
RESPONSIVE TABLET
======================================== */

@media (max-width: 800px) {

.articles {
    grid-template-columns:
        repeat(2, 1fr);
}


}

/* ========================================
RESPONSIVE MOBILE
======================================== */

@media (max-width: 600px) {

.navbar {
    flex-direction: column;

    padding: 18px 20px;

    gap: 12px;
}

.nav-links {
    gap: 15px;

    flex-wrap: wrap;

    justify-content: center;
}

.nav-links a {
    font-size: 0.85rem;
}

.hero {
    min-height: 75vh;

    padding:
        70px 20px;
}

.hero h1 {
    font-size: 2.6rem;
}

.hero p:not(.subtitle) {
    font-size: 1rem;
}

.section {
    padding: 70px 20px;
}

.articles {
    grid-template-columns: 1fr;
}

.card {
    width: 100%;
}


}
