html {
    scroll-behavior: smooth;
}
html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background: #e6e7ee;
    min-height: 100vh;
    font-family: 'Instrument Sans', sans-serif;
    margin: 0;
}

.navbar {
    height: 30px;
    width: 100%;
    background: rgb(255, 255, 255);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    backdrop-filter: blur(8px);
    padding: 1.5rem 1rem;
    margin: 0 !important;
    display: flex;
    position: fixed;
    z-index: 1000; /* pastikan tetap di atas konten lain */
}
.navbar-btn {
    padding: 0.75rem 1.5rem ;
    color: #1b1b18;
    font-weight: 500;
    border-radius: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.navbar-btn:hover {
    background: #f3bec7;
}

.navbar-left {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 2rem;
  margin-right: 4rem;
  margin-left: 2rem;
}

.dropdown {
  position: relative;
}
.dropdown-button {
  color: #1f2937;
  font-weight: 600;
  font-size: 1.15rem;
  background: none;
  border: none;
  cursor: pointer;
}
.dropdown-button:hover {
  color: #4f46e5;
}
.dropdown-menu {
    margin-top: 18px;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    padding: 1.5rem;
    width: 500px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.group:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}
.dropdown-rows {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.dropdown-row {
  display: flex;
  flex-direction: column;
}
.dropdown-buttons col{
    width: 100%;
}

.dropdown-header {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0;
  margin-top: 0;
}
.dropdown-desc {
  font-size: 1rem;
  color: #555;
  margin-bottom: 0.75rem;
  margin-top: 0;
}

.dropdown-buttons {
    display: flex;
    justify-content: space-between; /* Rata dan beri jarak antar tombol */
    gap: 0.4rem;
    flex-wrap: wrap;
}

/* Button Colors */
.btn-purple { background-color: #6b21a8; }
.btn-green { background-color: #15803d; }
.btn-blue { background-color: #0284c7; }
.btn-yellow { background-color: #ca8a04; }

.btn-purple:hover,
.btn-green:hover,
.btn-blue:hover,
.btn-yellow:hover {
  opacity: 0.9;
}
/* Text Color Utility */
.text-purple { color: #6b21a8; }
.text-green { color: #15803d; }
.text-blue { color: #0284c7; }
.text-yellow { color: #ca8a04; }


.dropdown-btn {
    flex: 1 1 calc(25% - 0.7rem);
    min-width: 80px; 
    text-align: center;
    padding: 0.6rem 0rem;
    font-weight: 600;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}

.dropdown-button:hover {
    color: #4f46e5;
}
.nav-button {
    color: #1f2937;
    margin-left: 2rem;
    font-weight: 600;
    font-size: 1.15rem;
    background: none;
    border: none;
    cursor: pointer;
}
.site-footer {
    background-color: #f8f9fa;
    padding: 40px 20px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-top: 1px solid #ddd;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    gap: 2rem;
}

.footer-column {
    flex: 1 1 200px;
    min-width: 150px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #000;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 13px;
    color: #888;
}



.hero-section {
    height: 35vh;
    background: linear-gradient(to right, #6b46c1, #805ad5);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}
.hero-section h1{
    margin-top: 80px;
}

.mbti-content-layout {
    margin: 0 auto;
    width: 100%;
}
.layout-container {
    width: 94%;
    display: grid;
    grid-template-columns: 1.3fr 2.7fr 1fr;
    gap: 20px;
    padding: 40px;
    background: #f5f5f5;
}

.sidebar-left, .sidebar-right {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
}
.sidebar-right{
    height: 30vh;
    top: 20px;
}
.sidebar-left {
    height: 60vh;
    top: 20px;
}
.sidebar-left ul {
    list-style-type: none;
    padding: 0;
}

.sidebar-left li {
    margin-bottom: 22px;
}

.sidebar-left a {
    text-decoration: none;
    color: #6a4f96;
    font-weight: 600;
    font-size: 1.1rem;
}

.sidebar-left a:hover {
    text-decoration: underline;
}

.main-content-mbti section {
    margin-bottom: 40px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
}

.main-content h2 {
    color: #5a3e8d;
    margin-bottom: 10px;
}

.sidebar-right h3 {
    font-weight: bold;
    color: #5a3e8d;
}