/* =================================
   RESET & GLOBAL
================================= */

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

/* Media Responsive */
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =================================
   FONT GLOBAL
================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

body {
  font-family: 'Noto Sans', sans-serif;
}

/* =================================
   BUTTON
================================= */

.btn-danger {
  background-color: #bd0001;
  border-radius: 15px;
  border-color: #bd0001;
  padding: 10px 25px;
  color: white;
}

.btn-outline-danger {
  background-color: transparent;
  border-radius: 15px;
  border-color: #bd0001;
  padding: 10px 25px;
  color: #bd0001;
}

/* =================================
   NAVBAR
================================= */

.navbar {
  padding: 10px 30px;
  border-radius: 30px;
  margin: 20px 100px;
  transition: all 0.3s ease;
}

@media (max-width: 991px) {
  .navbar {
    margin: 10px 20px;
    border-radius: 15px;
    padding: 10px 15px;
  }
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.navbar-nav .nav-link {
  color: #000000 !important;
  font-weight: 600;
  padding: 8px 20px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  font-size: 16px;
}

.navbar-nav .nav-link:hover {
  color: #007bff !important;
}

.navbar-nav .nav-link.active {
  color: #007bff !important;
}

.navbar-nav .dropdown-menu {
  background-color: #ffffff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.navbar-nav .dropdown-item {
  font-weight: 500;
  text-transform: uppercase;
}

.navbar-nav .dropdown-item:hover {
  background-color: #007bff;
  color: #ffffff;
}

.navbar-toggler {
  border-color: #ccc;
  border-radius: 8px;
  padding: 5px 10px;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

@media (max-width: 991px) {
  .navbar-collapse {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 15px;
    margin-top: 10px;
  }

  .navbar-nav {
    text-align: center;
  }

  .navbar-nav .nav-link {
    display: block;
    padding: 10px 0;
    font-size: 17px;
  }

  .navbar-nav .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    margin: 0;
    box-shadow: none;
    border: none;
  }

  .navbar-nav .dropdown-item {
    padding: 8px 0;
  }

  .d-flex {
    justify-content: center !important;
    margin-top: 10px;
  }
}

/* =================================
   HERO
================================= */

.scroll-nav-active {
  background-color: white;
  box-shadow: 1px 1px 11px -1px rgba(1,1,1,0.08);
}

.text-nav-active {
  color: black;
}

#hero {
  position: relative;
  height: 900px;
  overflow: hidden;
}

.hero-slide {
  height: 900px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.5));
  z-index: 5;
}

.hero-text h1 {
  font-size: 2rem;
  font-weight: 800;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.hero-text h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  font-weight: 700;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.7);
}

.hero-text p {
  font-size: 1.8rem;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.7);
}

.hero-top {
  margin-top: 120px;
}

#hero .row.program-row {
  margin-top: 180px;
}

@media (max-width: 991px) {
  .hero-top { margin-top: 80px; }
  #hero .row.program-row { margin-top: 140px; }
}

@media (max-width: 767px) {
  .hero-top { margin-top: 50px; }
  #hero .row.program-row { margin-top: 100px; }
}

/* =================================
   CONTENT
================================= */

.profile-card {
  background: linear-gradient(135deg, #007bff, #0056b3);
  max-width: 450px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.icon-maps {
  width: 70px;
  height: 70px;
  transition: transform 0.3s ease;
}

.icon-maps:hover {
  transform: scale(1.1);
}

.berita-img {
  height: 220px;
}

.berita-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* =================================
   FIX SUMMERNOTE (VERSI BENAR)
================================= */

/* Jangan ganggu alignment bawaan Summernote */
.note-editor .note-editable {
  font-family: inherit;
}

/* Spacing paragraf */
.note-editor .note-editable p {
  margin-bottom: 1rem;
}

/* Dropdown agar tidak ketutup */
.note-editor .dropdown-menu {
  z-index: 9999;
}