/* RESET & FONTS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #fdfdfd;
}

.container {
    width: 85%;
    margin: auto;
    overflow: hidden;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    color: #0d3b66;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #f4d35e;
    margin: 10px auto 0;
}

.bg-light {
    background-color: #f4f7f6;
}

/* HEADER & NAVBAR */
header {
    background: #0d3b66;
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo {
    width: 55px;
    height: 55px;
    margin-right: 15px;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.logo-text p {
    font-size: 0.8rem;
    color: #f4d35e;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 8px 15px;
    font-size: 0.95rem;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #f4d35e;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(rgba(13, 59, 102, 0.8), rgba(13, 59, 102, 0.8)), url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* VISI MISI */
.visi-misi-box {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 5px solid #0d3b66;
}

/* GRID LAYOUTS */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }

/* CARDS */
.card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.avatar { font-size: 3rem; margin-bottom: 10px; }
.kegiatan-img { font-size: 2.5rem; margin-bottom: 15px; }

/* TABLES */
.info-box {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.styled-table th, .styled-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
}

.styled-table th {
    background-color: #0d3b66;
    color: white;
}

/* BERITA & PENGUMUMAN */
.news-item, .announce-item {
    background: #fff;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.news-item h4, .announce-item h4 {
    margin: 5px 0;
    color: #0d3b66;
}

.badge {
    background: #ee964b;
    color: white;
    padding: 2px 8px;
    font-size: 0.75rem;
    border-radius: 4px;
}

/* BUTTON & FOOTER */
.btn-sm {
    display: inline-block;
    padding: 5px 15px;
    background: #0d3b66;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 0.85rem;
}

footer {
    background: #0d3b66;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    border-top: 3px solid #f4d35e;
}

/* RESPONSIVE NAV */
@media (max-width: 768px) {
    .header-container { flex-direction: column; text-align: center; }
    nav ul { margin-top: 15px; flex-wrap: wrap; justify-content: center; }
    nav ul li a { padding: 5px 10px; font-size: 0.85rem; }
    .hero h2 { font-size: 1.8rem; }
}