/* =============================
   GOOGLE FONT
============================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* =============================
   GLOBAL
============================= */
*{
  box-sizing: border-box;
}

body{
  font-family: 'Poppins', sans-serif;
  background: #f6f8f7;
  color: #333;
  line-height: 1.7;
}

/* =============================
   NAVBAR
============================= */
.navbar-brand{
  font-weight: 700;
  letter-spacing: 0.5px;
}

.navbar{
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

.nav-link{
  font-weight: 500;
}

.navbar .nav-link.active{
  color: #ffd700 !important;
}

/* =============================
   CONTAINER & CARD
============================= */
.container{
  max-width: 1140px;
}

.card{
  border: none;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,.08);
  padding: 25px;
  margin-bottom: 30px;
}

/* =============================
   HEADING
============================= */
h1, h2, h3, h4{
  font-weight: 600;
  color: #1b4332;
}

h2{
  margin-bottom: 20px;
}

h3{
  margin-top: 25px;
}

/* =============================
   BUTTON
============================= */
.btn-primary,
.btn-success{
  border-radius: 30px;
  padding: 10px 26px;
  font-weight: 500;
}

/* =============================
   LIST
============================= */
ul{
  padding-left: 18px;
}

ul li{
  margin-bottom: 6px;
}

/* =============================
   GALERI
============================= */
img{
  max-width: 100%;
}

.galeri img{
  border-radius: 12px;
  transition: 0.3s;
}

.galeri img:hover{
  transform: scale(1.05);
}

/* =============================
   FOOTER
============================= */
footer{
  font-size: 14px;
}

footer a{
  text-decoration: none;
}

footer a:hover{
  text-decoration: underline;
}

/* =============================
   MOBILE
============================= */
@media(max-width:768px){
  h1{
    font-size: 24px;
  }

  h2{
    font-size: 20px;
  }

  .card{
    padding: 20px;
  }
}

/* =============================
   PENDAFTARAN
============================= */
form label{
  font-weight: 500;
}

.form-control{
  border-radius: 10px;
  padding: 10px 14px;
}

.form-control:focus{
  border-color: #2d6a4f;
  box-shadow: 0 0 0 0.2rem rgba(45,106,79,.25);
}

/* =============================
   BERANDA
============================= */
.page-content{
  max-width:1100px;
  margin:30px auto;
  padding:0 15px;
}
.page-content h1,
.page-content h2{
  color:#1b4332;
}
.page-content p{
  max-width:900px;
}
.text-center p{
  margin-left:auto;
  margin-right:auto;
}

/* =============================
   GALERY
============================= */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
}
.gallery-item{
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 4px 15px rgba(0,0,0,.08);
  text-align:center;
}
.gallery-item img{
  width:100%;
  height:180px;
  object-fit:cover;
}
.gallery-item p{
  padding:10px;
  font-size:14px;
  margin:0;
}
img{
  transition:opacity .3s ease;
}

/* =============================
   DETAIL BERITA
============================= */
.berita-detail h1{
  margin-bottom:5px;
}
.berita-detail small{
  display:block;
  margin-bottom:15px;
  color:#777;
}
.img-berita{
  width:100%;
  max-height:400px;
  object-fit:cover;
  border-radius:10px;
  margin-bottom:20px;
}
.isi-berita{
  font-size:16px;
  line-height:1.8;
  color:#333;
}

/* =============================
   BACKGROUND GRADIENT
============================= */
body{
  background-color: #f0f8f5;
  background-image: url('../images/bg-pattern.png');
  background-repeat: repeat;
}

.container{
  background: transparent;
}

.card, .box, .content{
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

/* =============================
   PERBAGUS UI
============================= */
body{
  font-family: 'Poppins', sans-serif;
  color:#2d3436;
}

.navbar{
  background:#198754;
  box-shadow:0 4px 12px rgba(0,0,0,.1);
}

.navbar a{
  color:#fff;
  font-weight:500;
  padding:8px 14px;
  border-radius:20px;
  transition:.3s;
}

.navbar a:hover,
.navbar a.active{
  background:#fff;
  color:#198754;
}
h1, h2, h3{
  font-weight:700;
}

.hero-title{
  font-size:36px;
}

.hero-subtitle{
  font-size:18px;
  color:#555;
}

.card{
  border:none;
  border-radius:20px;
  box-shadow:0 10px 25px rgba(0,0,0,.08);
  transition:.3s;
}

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

.btn-primary{
  background:#ffb703;
  border:none;
  color:#000;
  font-weight:600;
  border-radius:30px;
  padding:10px 24px;
}

.btn-primary:hover{
  background:#fb8500;
  color:#fff;
}

@media(max-width:768px){
  h1{ font-size:28px; }
  h2{ font-size:22px; }
  .navbar a{ margin-bottom:6px; display:inline-block; }
}

/* =============================
   PERBAGUS HEADER
============================= */
.hero{
  background: linear-gradient(135deg,#198754,#5cb85c);
  padding:80px 20px;
  text-align:center;
  color:#fff;
  border-radius:0 0 40px 40px;
  position:relative;
}

.hero::after{
  content:'';
  background:url('../images/bg-pattern.png');
  opacity:.15;
  position:absolute;
  inset:0;
}

.hero-content{
  position:relative;
  max-width:800px;
  margin:auto;
}

.hero h1{
  font-size:42px;
  margin-bottom:15px;
}

.hero p{
  font-size:18px;
  margin-bottom:25px;
}

.btn-hero{
  background:#ffb703;
  color:#000;
  padding:12px 30px;
  border-radius:30px;
  font-weight:600;
  text-decoration:none;
}

.btn-hero:hover{
  background:#fb8500;
  color:#fff;
}

/* =============================
   PERBAGUS FOOTER
============================= */
html, body{
  height:100%;
}

body{
  display:flex;
  flex-direction:column;
}

.main-content{
  flex:1;
}

.footer{
  background:#198754;
  color:#fff;
  text-align:center;
  padding:20px 10px;
}

.footer small{
  display:block;
  opacity:.85;
}

/* =============================
   GURU
============================= */
.guru-card{
  background:#fff;
  border-radius:20px;
  padding:20px;
  box-shadow:0 6px 15px rgba(0,0,0,.08);
  transition:.3s;
}

.guru-card:hover{
  transform:translateY(-5px);
}

.guru-foto{
  width:140px;
  height:140px;
  margin:0 auto;
  border-radius:50%;
  overflow:hidden;
  border:4px solid #8bc34a;
}

.guru-foto img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.guru-card h5{
  font-weight:600;
  margin-bottom:4px;
}

.jabatan{
  color:#666;
  font-size:14px;
}

