body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: url("image/bg.jpg") no-repeat center center fixed;
  background-size: cover;
}

.main-wrapper {
  background: #fff;
  max-width: 1100px;
  margin: 30px auto 0 auto;
  border-radius: 12px;
  box-shadow: 0 0 24px rgba(0,0,0,0.13);
  padding: 0;
  overflow: hidden;
}

.bagian-atas {
  background: #fff;
  padding: 18px 24px 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #e0e0e0;
}
.bagian-atas .logo-title {
  display: flex;
  align-items: center;
  gap: 16px;
}
.bagian-atas .logo-title img {
  height: 60px;
  margin-right: 10px;
}

.bagian-atas .sponsor-logos img {
  max-height: 60px;
  width: auto;
  margin-left: 12px;
  display: inline-block;
}

.main-navbar {
  background: #003366;
  padding: 0 24px;
  display: flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 2px solid #ffdd00;
}
.main-navbar .nav {
  display: flex;
  gap: 18px;
  flex: 1;
}
.main-navbar .nav-link {
  color: #fff;
  font-weight: 500;
  padding: 8px 0;
  text-decoration: none;
  transition: color 0.2s;
}
.main-navbar .nav-link:hover, .main-navbar .nav-link.active {
  color: #ffdd00;
}
.main-navbar .login-btn {
  color: #fff;
  background: #005599;
  border-radius: 6px;
  padding: 4px 18px;
  margin-left: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.main-navbar .login-btn:hover {
  background: #ffdd00;
  color: #003366;
}

/* Hero Section */
.hero {
  background: #003366;
  padding: 0;
  margin: 0;
  border-radius: 0;
  border-bottom: none;
}
.hero-img-wrapper {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  background: #003366;
}
.hero-img-wrapper img {
  width: 100vw;
  max-width: 100vw;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #003366;
}

/* Cards */
.card {
  border: none;
  border-radius: 16px;
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.card-header {
  border-radius: 16px 16px 0 0 !important;
  font-weight: bold;
  text-align: center;
}

/* Sidebar Container */
.sidebar {
  padding: 0;
  border: 1px solid #ddd;
}

/* Sidebar Home Header */
.sidebar-home-header {
  background: #fff;
  padding: 10px 15px;
  border-bottom: 2px solid #ccc;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-home-header img {
  height: 32px;
}

.sidebar-home-header span {
  font-weight: 600;
  color: #003366;
}

/* Find & Cari section */
.sidebar-find {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
}

.sidebar-find input {
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 13px;
  flex: 1;
}

.sidebar-find button {
  padding: 4px 10px;
  border-radius: 4px;
  border: none;
  background: #e78f46;
  color: #fff;
  font-weight: 600;
}

/* Visitor Counter */
.visitor {
  text-align: center;
  padding: 10px;
  background: #e9e9e9;
}

.visitor .counter {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  background: #222121;
  padding: 5px 15px;
  border-radius: 5px;
  display: inline-block;
  margin-top: 5px;
}

/* Sidebar Menu */
.sidebar-menu-title {
  background: #d2691e;
  color: #fff;
  padding: 8px;
  margin: 0;
  font-size: 16px;
  border-radius: 4px 4px 0 0;
}

.sidebar-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu li {
  background: #e78f46;
  color: white;
  padding: 8px;
  margin: 2px 0;
  border-radius: 3px;
  cursor: pointer;
}

/* News Box */
.news {
  background: #ffffcc;
  padding: 15px;
  margin: 20px 10px 10px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.news h4 {
  margin-top: 0;
  color: #336699;
}

.news p {
  margin-bottom: 0;
}

/* ====== STYLING LINK DALAM CARD (BAAK & KARTU LAINNYA) ====== */
.card-body ul li a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  display: block;
  padding: 4px 0;
  transition: 0.2s ease;
}

.card-body ul li a:hover {
  color: #007bff;
  text-decoration: none;
  padding-left: 5px;
}
