/* ============================
   ROOT + RESET
============================ */
:root {
  --cyan-100: #E8F7FB;
  --aqua: #7BCFE9;
  --orange: #F7941D;
  --red: #E94E1B;
  --muted: #6B7280;
  --bg: #FBFCFD;
  --card: #ffffff;
  --radius: 14px;
  --max-width: 1100px;
  --primary: #0057A3;    /* Biru logo utama */
  --secondary: #7BCFE9;  /* Biru muda */
  --accent: #F7941D;     /* Oranye */
}

/* Heading & emphasis */
h1, h2, h3, h4, h5 {
  color: var(--primary);
  font-weight: 700;
  word-wrap: break-word;
  hyphens: auto;
}

/* Text biasa */
body, p, li {
  color: #333;
  font-weight: 400;
  word-wrap: break-word;
  hyphens: auto;
}

/* Hover link */
a:hover {
  color: var(--accent) !important;
}

/* Section highlight */
.highlight {
  background: var(--secondary);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Tombol close modal */
.modal .close {
  background: rgba(255,255,255,0.95);
}
.modal .close:hover {
  background: rgba(255,255,255,0.85);
}
/* Semua bagian utama rata tengah */
section, header, footer {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}
/* Pastikan grid responsif dan tidak terpotong */
section, div {
  max-width: 100%;
}
/* Reset */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Poppins", system-ui, sans-serif;
  background: var(--bg);
  color: #111;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Global container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 24px;
}
/* Responsive padding minimum untuk mobile */
@media (max-width: 600px) {
  .container {
    padding-inline: 12px;
  }
}
/* Agar semua elemen ikut ukuran container dan tidak overflow */
*,
*::before,
*::after {
  box-sizing: border-box;
}
/* Utilities */
.row { display: flex; gap: 16px; align-items: center; }
.muted { color: var(--muted); }
.spacer { flex: 1; }
.center { text-align: center; }


/* ==========================
   STYLE HALAMAN AGENDA
========================== */

/* Reset khusus halaman */
.btn-back {
    display: inline-block;
    margin: 1rem 0 0 1rem;
    padding: 8px 14px;
    background-color: #ff7d32;
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.btn-back:hover {
    background-color: #e66a23;
}

/* Header halaman agenda (bukan header website) */
.header {
    background: #007bdb;
    color: white;
    text-align: center;
    padding: 1.1rem;
    font-size: 20px;
    font-weight: 600;
}
.sub-header h1 {
    background: #007bdb;
    color: white;
    text-align: center;
}

/* Efek gambar detail agenda */
.detail-img {
  flex: 0 0 5em;
  height: 3em;
  font-size: 5rem;
  border-radius: .2em;
  text-align: center;
  align-content: center;
}
.carousel-container {
  width: 100%;
  overflow: hidden;
  background: rgb(255, 202, 255);
  padding: 20px 0;
}
.carousel-track {
  display: flex;
  width: max-content;
  gap: 20px;
  animation: scroll 10s linear infinite;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* ==========================
   TABEL AGENDA
========================== */

/* Card agenda detail */
.agenda-box {
  background: #fff;
  border-radius: 22px;
  padding: 2rem 2rem 3rem;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  position: relative;
}

.agenda-box h2 {
  font-size: 1.5rem;
  color: #003f83;
  margin-bottom: 0.5rem;
}

.agenda-box p.desc {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.agenda-table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

thead th {
  background: #007bdb;
  color: #fff;
  padding: 14px 12px;
  font-size: 15px;
  text-align: left;
  font-weight: 600;
}

thead tr th:first-child {
  border-top-left-radius: 12px;
}

thead tr th:last-child {
  border-top-right-radius: 12px;
}

tbody tr:nth-child(odd) { background: #f5faff; }
tbody tr:nth-child(even) { background: #eaf3ff; }

tbody td {
  padding: 12px 12px;
  font-size: 14px;
  border-bottom: 1px solid #e6e9ee;
}

tbody tr:hover {
  background: #d8ebff;
  transition: 0.2s ease;
}

/* Responsive */
@media (max-width: 600px) {
  .agenda-box { padding: 1.5rem 1rem 2rem; }
  thead th, tbody td { font-size: 13px; padding: 10px; }
  .agenda-box h2 { font-size: 1.35rem; }
}

@media (max-width: 600px) {
  table { 
    min-width: auto; 
    font-size: 12.5px; }
}
/* ==========================
   GURU PENGAJAR – STYLE A
========================== */

.guru-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 20px;
}

.guru-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 26px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: 0.25s ease;
}

.guru-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10);
}

.guru-card img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.guru-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0057A3;
  margin-bottom: 6px;
}

.guru-card p {
  margin: 0;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Mobile kecil */
@media (max-width: 600px) {
  .guru-card img {
    width: 130px;
    height: 130px;
  }
}
/* ============================
   FOOTER
============================ */
.footer {
  background: #6ea1cc;
  color: #fff;
  padding: 3rem 1rem 1rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 1rem;
  text-align: center;
}
