body {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    background-color: #fff;
    color: #333;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-section {
    text-align: center;
    padding: 50px 0;
}

.hero-section h1 {
    font-family: "Nunito", Sans-serif;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #3AAEE1;
}

.hero-section p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    color: #333333;
}

main {
    flex-grow: 1; /* Mendorong footer ke bawah */
}

.logo img {
    height: 40px;
    display: block;
}

.header {
    background-color: #fff;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.09);
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 0.75rem 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Navigasi Desktop */
.main-nav-desktop {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2.5rem; /* Jarak antar menu */
    align-items: center;
}

.main-nav-desktop a {
    text-decoration: none;
    color: #3AAEE1; /* Warna ungu */
    font-weight: 600;
    font-size: 1rem;
    padding-bottom: 4px;
    transition: color 0.3s, border-color 0.3s;
    border-bottom: 2px solid transparent; 
}

.main-nav-desktop a:hover {
    color: #3AAEE1; /* Warna ungu lebih gelap saat hover */
    border-bottom: 2px solid #3AAEE1;
}

/* Tombol Hamburger */
.hamburger {
  cursor: pointer;
  width: 24px;
  height: 24px;
  transition: all 0.25s;
  position: relative;
  background: none;
  border: none;
}

.hamburger-top,
.hamburger-middle,
.hamburger-bottom {
  position: absolute;
  width: 24px;
  height: 2px;
  top: 0;
  left: 0;
  background: #333;
  transform: rotate(0);
  transition: all 0.5s;
}

.hamburger-middle {
  transform: translateY(7px);
}

.hamburger-bottom {
  transform: translateY(14px);
}

.hamburger.open {
  transform: rotate(90deg);
}

.hamburger.open .hamburger-top {
  transform: rotate(45deg) translateY(6px) translateX(6px);
}

.hamburger.open .hamburger-middle {
  display: none;
}

.hamburger.open .hamburger-bottom {
  transform: rotate(-45deg) translateY(6px) translateX(-6px);
}

.hidden {
    display: none;
}

.intro-section {
    background-color: #FFFFFF;
    text-align: center;
    padding: 50px 20px;
}

.intro-section h2 {
    font-family: "Nunito", Sans-serif;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #3AAEE1;
}

.intro-section p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    color: #333333;
}

/* === GAYA FORMULIR === */
.form-section-v2 {
    background-color: #D9D9D9;
    padding: 50px 20px;
    box-sizing: border-box;
}

.form-container-v2 {
    background-color: #fff;
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 50px;
    border-radius: 12px;
    border: 1px solid #E0E0E0;
}

.form-container-v2 h3 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 35px;
    font-weight: 700;
    font-size: 24px;
    color: #404040;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-input {
    width: 100%;
    padding: 10px 15px;
    font-size: 16px;
    font-family: 'Nunito', sans-serif;
    color: #333;
    border: 1px solid #000;
    background-color: transparent;
    border-radius: 8px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-sizing: border-box;
}

select.form-input {
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23666666%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 5px top 50%;
    background-size: .65em auto;
    cursor: pointer;
}

.form-input:focus {
    outline: none;
    border-color: #2F80ED;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background-color: #9DD100;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: "Nunito", Sans-serif;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 15px;
}

.btn-submit:hover {
    background-color: #8cb600;
}


@media (max-width: 768px) {
    .form-container-v2 {
        padding: 30px 25px;
    }
    .form-container-v2 h3 {
        font-size: 22px;
    }

    .intro-section h2 {
        font-size: 28px;
    }
    .intro-section p {
        font-size: 16px;
    }
}

.site-footer {
    position: relative;
    background-color: #F7F7F7;
    padding-top: 100px;
    padding-bottom: 30px;
    margin-top: 0px;
    color: #7A7A7A;
    font-size: 14px;
}

.footer-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}
.footer-shape svg {
    position: relative;
    display: block;
    width: calc(100% + 2px);
}
.footer-shape-fill {
    fill: #D9D9D9; 
}

.footer-shape-fill2 {
    fill: #fff; 
}
.footer-shape-stroke {
    fill: none; 
    stroke: #83EAE3; 
    stroke-width: 10; 
}


.footer-container {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-about {
    flex-basis: 30%;
}
.footer-logo {
    width: 150px;
    margin-bottom: -5px;
    margin-left: -1px;
}
.footer-about p {
    margin: 0 0 15px 0;
    line-height: 1.7;
}

.footer-links {
    flex-basis: 25%;
}
.footer-links h3 {
    font-size: 16px;
    font-weight: 800;
    color: #404040;
    margin-top: 0;
    margin-bottom: 15px;
}
.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    text-decoration: none;
    color: #7A7A7A;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: #00AAE2;
}

.footer-copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #E0E0E0;
    font-size: 12px;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-about, .footer-links {
        flex-basis: 100%;
    }
    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
    .mobile-contact {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        width: 100%;
        margin-top: 1rem;
        border-top: 1px solid #e2e8f0;
        padding-top: 1rem;
    }

    .mobile-contact a {
        background-color: #f0f0f0;
        padding: 0.5rem 1rem !important;
        color: #3AAEE1 !important;
        font-weight: bold;
    }

    .mobile-contact a:hover {
        background-color: #e2e8f0 !important;
        color: #00AAE2 !important;
    }
}


.result-card {
    max-width: 650px;
    margin: 30px auto;
    padding: 35px 40px;
    border-radius: 16px;
    background-color: #ffffff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    text-align: center;
}

.result-card h2 {
    font-size: 36px;
    font-weight: 800;
    color: #333;
    margin: 0 0 20px 0;
}

.score-meter {
    height: 20px;
    width: 100%;
    border-radius: 10px;
    background: linear-gradient(to right, #86efac, #facc15, #fb923c, #f87171);
    position: relative;
    margin-bottom: 25px;
}

.score-pin {
    position: absolute;
    top: 10px; 
    transform: translateX(-50%); 
    width: 40px;
    height: 40px;
    background-color: #1f2937;
    color: white;
    border-radius: 50% 50% 50% 0; 
    transform: translateX(-50%) rotate(135deg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 10;
}

.score-pin span {
    transform: rotate(-135deg);
    font-weight: 700;
    font-size: 16px;
}

.result-card .category-text {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 20px 0 10px 0;
}

.result-card .description-text {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto 30px auto;
}


.result-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.result-links {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
}

.result-links a {
    color: #3AAEE1;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.result-links a:hover {
    text-decoration: underline;
}

.answers-container {
    margin-top: 40px;
    text-align: left;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.answers-container h3 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-align: left;
}

.answer-item {
    background-color: #f8f6fc;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    text-align: left;
}

.answer-item .question {
    font-size: 15px;
    color: #555;
    margin: 0 0 8px 0;
}

.answer-item .answer {
    font-size: 16px;
    font-weight: 700;
    color: #3AAEE1;
}

@media (max-width: 768px) {
    .result-card {
        padding: 25px 20px;
    }
    .result-card h2 {
        font-size: 28px;
    }

    .main-nav-desktop-wrapper {
        display: none;
    }

    /* Tampilkan tombol hamburger */
    .hamburger.md\:hidden {
        display: block;
    }
    
    #menu.hidden {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px)
    }
    
    #menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 68px; /* Jarak dari header */
        left: 1.5rem;
        right: 1.5rem;
        background-color: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 2rem;
        font-weight: bold;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        gap: 1.5rem;
        z-index: 40;
        border-radius: 8px;
        transform: translateY(0);
        transition: opacity 0.3s ease-out, transform 0.3s ease-out, visibility 0.3s;
    }

    #menu a {
        display: block;
        width: 100%;
        padding: 0.75rem 1rem;
        text-align: center;
        border-radius: 8px;
        transition: background-color 0.3s ease, color 0.3s ease;
        text-decoration: none;
        color: #3AAEE1;
    }

    #menu a:hover, #menu a.active {
    background-color: #3AAEE1;
    color: #ffffff !important;
    }
}
@media (min-width: 769px) {
    .main-nav-desktop-wrapper {
        display: block;
    }
    .hamburger.md\:hidden {
        display: none;
    }
    .md\:hidden {
      display: none;
    }
}



.btn-print {
    display: inline-block;
    width: 100%;
    padding: 15px;
    background-color: #3AAEE1;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: "Nunito", Sans-serif;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    margin-bottom: 15px; 
}

.btn-print:hover {
    background-color: #2a8db8;
}

.btn-print i {
    margin-right: 8px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 8px;
    overflow: hidden;
}

.dropdown-menu a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-bottom: none !important;
}

.dropdown-menu a:hover {
    background-color: #f1f1f1;
    border-bottom: none !important;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-toggle::after {
    content: none;
}
