/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #f4f7fb;
    color: #333;
}

/* ================= HEADER & NAVBAR ================= */
.navbar {
    background: linear-gradient(135deg, #0d47a1, #ff9800);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo & Nama Sekolah */
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.brand img {
    width: 45px;
}

.brand span {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.2;
}

/* Menu */
.nav-menu {
    display: flex;
    gap: 18px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: #ffe082;
}

/* Burger */
.burger {
    display: none;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 65px;
        right: 0;
        background: linear-gradient(180deg, #0d47a1, #ff9800);
        flex-direction: column;
        width: 220px;
        display: none;
        padding: 15px;
        z-index: 2;
    }

    .nav-menu.active {
        display: flex;
    }

    .burger {
        display: block;
    }
}

/* ================= KONTEN ================= */
.container {
    padding: 30px;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(10px);}
    to {opacity: 1; transform: translateY(0);}
}

/* ================= HOME HERO ================= */
.home-hero {
    background: linear-gradient(135deg, #0d47a1, #ff9800);
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    
}

.home-card {
    max-width: 900px;
    background: linear-gradient(135deg, #ff9800, #0d47a1 );
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
   
}

.kepsek-img {
    width: 130px;
    height: 150px;
    object-fit: cover;
    border-radius: 25%;
    border: 1px solid #f55105;
    margin-bottom: 10px;
}

.home-card h2 {
    color: #fce4e4;
    font-size: 20px;
    margin-bottom: 10px;
}

.home-card h1 {
    font-size: 25px;
    color: #0003b8;
    margin-bottom: 20px;
}

.home-card p {
    font-size: 17px;
    margin-bottom: 18px;
    color: rgb(250, 231, 231);
}

.salam-penutup {
    font-weight: bold;
    color: #20f018;
    
}

.home-card small {
    display: block;
    margin-top: 15px;
    color: rgb(255, 237, 237);
}

/* ================= WHATSAPP FLOAT (HD) ================= */
.wa-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: #fff;
    padding: 8px 5px;
    border-radius: 60%;
    display: flex;
    align-items: center;
    gap: 1px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
    z-index: 999;
}

.wa-icon {
    width: 26px;
    height: 26px;
}

.wa-float span {
    font-size: 13px;
}

.wa-float:hover {
    background: #1ebe5d;
}

/* ================= PROFIL SEKOLAH ================= */
.profil-section {
    padding: 70px 20px;
    background: linear-gradient(135deg, #0d47a1, #ff9800);
}

.profil-title {
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
    font-size: 32px;
}

.slider {
    max-width: 900px;
    margin: auto;
    background: linear-gradient(535deg, #06f8d8, #ff9800);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.slide h2 {
    text-align: center;
    color: #0d47a1;
    margin-bottom: 20px;
    
}

.slide p {
    text-align: center;
    line-height: 1.9;
    font-size: 16px;
}

.slide ul {
    list-style: none;
    padding: 0;
}

.slide ul li {
    padding-left: 22px;
    margin-bottom: 12px;
    position: relative;
    line-height: 1.7;
}

.slide ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #ff9800;
    font-weight: bold;
}

.slide-tujuan {
    position: absolute;
    left: 0;
    padding-left: 22px;
    margin-bottom: 12px;
    position: relative;
    line-height: 1.7;
    list-style: none;
    padding: 0;
    color: #0003b8;
}

/* ================= STRUKTUR ORGANISASI ================= */
.struktur-section {
    padding: 70px 20px;
    background: linear-gradient(135deg, #0d47a1, #ff9800);
}

.struktur-title {
    text-align: center;
    color: #fff;
    font-size: 32px;
    margin-bottom: 40px;
}

.sub-title {
    text-align: center;
    color: #fff;
    margin: 50px 0 25px;
}

/* CENTER AREA */
.struktur-center {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

/* CARD */
.person-card {
    background: linear-gradient(135deg, #54ceff, #ff9800);
    padding: 20px;
    border-radius: 18px;
    text-align: center;
    width: 250px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: 0.3s;
}

.person-card:hover {
    transform: translateY(-5px);
}

.person-card img {
    width: 120px;
    height: 140px;
    border-radius: 25%;
    object-fit: cover;
    border: 2px solid #ff9800;
    margin-bottom: 12px;
}

.person-card h3 {
    color: #0d47a1;
    margin-bottom: 5px;
}

.person-card p {
    font-size: 14px;
    
}

/* GURU GRID */
.guru-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* ⬅️ INI KUNCI AUTO CENTER */
    gap: 20px;
}

/*===========galeri=================*/
/* ================= PENGUMUMAN ================= */
.pengumuman-page {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 15px;
}

.pengumuman-page h2 {
  text-align: center;
  color: #0a3d91;
  margin-bottom: 5px;
}

.pengumuman-page .sub {
  text-align: center;
  color: #555;
  margin-bottom: 35px;
}

.pengumuman-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.pengumuman-card {
  background: linear-gradient(135deg, #ffffff, #f1f6ff);
  border-left: 6px solid #f57c00;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform .3s ease, box-shadow .3s ease;
}

.pengumuman-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.pengumuman-card h3 {
  color: #0a3d91;
  margin: 8px 0 10px;
}

.pengumuman-card p {
  color: #333;
  line-height: 1.6;
}

.tanggal {
  font-size: 13px;
  color: #f57c00;
  font-weight: bold;
}

/* ================= BERITA ================= */
.berita-page {
  max-width: 1500px;
  margin: 80px auto;
  padding: 0 15px;
}

.berita-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: 25px;
}

.berita-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,.1);
  transition: transform .3s ease;
}

.berita-card:hover {
  transform: translateY(-6px);
}

.berita-card img {
  width: 100%;
  height: 800px;
  object-fit: cover;
}

.berita-content {
  padding: 18px;
}

.berita-content h3 {
  color: #0a3d91;
  margin: 8px 0;
}

.berita-content p {
  color: #333;
  line-height: 1.6;
}

.btn-baca {
  display: inline-block;
  margin-top: 12px;
  color: #fff;
  background: linear-gradient(135deg,#0a3d91,#f57c00);
  padding: 8px 14px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
}
/*tambahan*/
.berita-detail {
  max-width: 900px;
  margin: 80px auto;
  padding: 15px;
}

.berita-detail img {
  width: 100%;
  margin: 20px 0;
  border-radius: 12px;
}

/* =============kaldik============ */
.kaldik-page {
  max-width: 900px;
  margin: 80px auto;
  padding: 15px;
  text-align: center;
}

.kaldik-list {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 20px;
}

.kaldik-card {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.1);
}

/*ppdb*/
*{
  box-sizing:border-box;
  font-family:'Segoe UI',sans-serif;
 
}

.ppdb-box{
  width:100%;
  background:#fff;
  border-radius:16px;
  box-shadow:0 20px 50px rgba(0,0,0,.25);
  overflow:hidden;
  animation:fade .8s ease;
}

.ppdb-header{
  background:linear-gradient(to right,#1e88e5,#fb8c00);
  color:#fff;
  padding:25px;
  text-align:center;
}

.ppdb-header h2{
  margin:0;
  font-size:26px;
}

.ppdb-body{
  padding:30px;
}

.grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.group{
  display:flex;
  flex-direction:column;
}

.full{
  grid-column:1/-1;
}

label{
  font-weight:600;
  margin-bottom:6px;
}

input,select,textarea{
  padding:12px;
  border-radius:8px;
  border:1px solid #ccc;
  font-size:14px;
}

input:focus,select:focus,textarea:focus{
  outline:none;
  border-color:#1e88e5;
  box-shadow:0 0 0 2px rgba(30,136,229,.2);
}

textarea{min-height:90px}

.ppdb-footer{
  text-align:center;
  padding:25px;
}

button{
  padding:14px 40px;
  border:none;
  border-radius:30px;
  background:linear-gradient(to right,#1e88e5,#fb8c00);
  color:#fff;
  font-size:16px;
  font-weight:bold;
  cursor:pointer;
}

button:hover{opacity:.9}

@keyframes fade{
  from{opacity:0;transform:translateY(20px)}
  to{opacity:1;transform:translateY(0)}
}

@media(max-width:768px){
  .grid{grid-template-columns:1fr}
}


/*==============survei============*/


/* ================= FOOTER ================= */
.footer {
    background: #0d47a1;
    color: #fff;
    text-align: center;
    padding: 25px 15px;
    font-size: 14px;
    line-height: 1;
}
