:root {
    --primary-color: #f7941d;
    --secondary-color: #00a652;
    --text-dark: #191a15;
    --text-light: #a6a6a6;
    --bg-light-gray: #f9f8fe;
    --bg-dark: #161c28;
    --white: #ffffff;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    background-image: url('../images/background/bg-gradient-green.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    color: var(--text-dark);
    overflow-x: hidden;
}

.page-wrapper {
    position: relative;
    overflow: hidden;
}

.container {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 130px;
    padding-right: 130px;
    box-sizing: border-box;
}

section {
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.background-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.blob {
    position: absolute;
    filter: blur(500px);
    opacity: 0.5;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        padding-left: 60px;
        padding-right: 60px;
    }
}

@media (max-width: 992px) {
    .container {
        padding-left: 30px;
        padding-right: 30px;
    }

    section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}


.header-section {
    background: linear-gradient(90deg, #e5f3eb 0%, #f3f7f5 50%, #ffffff 100%);
    padding-top: 20px;
    padding-bottom: 20px;
    position: absolute;
    width: 100%;
    z-index: 10;
    box-sizing: border-box;
    position: fixed;
    box-shadow: 0px 3px 12px rgb(0, 0, 0, 10%);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    /* width: 296px;
    height: 77px; */
}

.logo-img-1 {
    /* position: absolute; */
    left: 0;
    top: 0;
    width: auto;
    height: 40px;
}

.logo-img-2 {
    /* position: absolute; */
    left: 58px;
    top: 10px;
    width: auto;
    height: 22px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.nav-link.active,
.nav-link:hover {
    color: var(--text-dark);
}

@media (max-width: 992px) {
    .main-nav {
        /* display: none; */
        /* Simple hide for mobile, would need a burger menu in a real project */
    }

    .header-container {
        justify-content: center;
    }
}



.hero-section {
    padding-top: 120px;
    padding-bottom: 40px;
    min-height: 708px;
    box-sizing: border-box;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 27px;
}

.hero-content {
    flex: 0 0 555px;
}

.hero-title {
    font-size: 58px;
    font-weight: 700;
    color: var(--text-dark);
}

.hero-title .highlight {
    color: var(--primary-color);
}

.hero-underline {
    margin-top: 10px;
    width: 530px;
    height: 26px;
}

.hero-description {
    font-size: 16px;
    font-weight: 500;
    line-height: 30px;
    text-align: justify;
    margin-top: 20px;
    max-width: 480px;
}

.hero-image-gallery {
    flex: 1;
    position: relative;
    height: 573px;
    scale: 80%;
    /* Approximate height to contain images */
}

.image-collage-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.collage-img {
    position: absolute;
    border-radius: 20px;
    /* box-shadow: 0px 4px 8px 2px rgba(0, 0, 0, 0.25); */
    object-fit: cover;
}

.img-1 {
    /* image 9 */
    width: 335px;
    height: 337px;
    top: 238px;
    left: 0;
    transform: rotate(-7.04deg);
    z-index: 3;
}

.img-2 {
    /* image 7 */
    width: 381px;
    height: 367px;
    top: 0;
    left: 23px;
    transform: rotate(-4.8deg);
    z-index: 1;
}

.img-3 {
    /* image 8 */
    width: 353px;
    height: 331px;
    top: 49px;
    left: 300px;
    z-index: 2;
}

.img-4 {
    /* image 10 */
    width: 299px;
    height: 313px;
    top: 264px;
    left: 305px;
    z-index: 4;
}

@media (max-width: 1200px) {
    .hero-title {
        font-size: 60px;
        line-height: 70px;
    }

    .hero-content {
        flex-basis: 45%;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding-top: 150px;
        padding-bottom: 60px;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        flex-basis: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-description {
        text-align: center;
        max-width: 100%;
    }

    .hero-image-gallery {
        margin-top: 40px;
        height: 400px;
    }

    .collage-img {
        width: 200px;
        height: auto;
    }

    .img-1 {
        top: 150px;
        left: 10%;
    }

    .img-2 {
        top: 20px;
        left: 20%;
    }

    .img-3 {
        top: 50px;
        left: 50%;
    }

    .img-4 {
        top: 180px;
        left: 55%;
    }
}



.relationship-section {
    background-color: var(--bg-light-gray);
    padding-top: 60px;
    padding-bottom: 40px;
}

.relationship-container {
    display: flex;
    align-items: center;
    gap: 48px;
}

.relationship-image {
    flex: 0 0 480px;
}

.relationship-image img {
    width: auto;
    height: 320px;
    border-radius: 20px;
    object-fit: cover;
}

.relationship-content {
    flex: 1;
}

.relationship-title {
    font-size: 33px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.relationship-description {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: justify;
    max-width: 644px;
}

@media (max-width: 1200px) {
    .relationship-container {
        gap: 30px;
    }

    .relationship-image {
        flex-basis: 50%;
    }

    .relationship-title {
        font-size: 40px;
    }
}

@media (max-width: 992px) {
    .relationship-container {
        flex-direction: column;
    }

    .relationship-image {
        flex-basis: auto;
        width: 100%;
    }
}



.stats-section {
    /* background-color: var(--bg-light-gray); */
    padding-top: 40px;
    padding-bottom: 60px;
}

.stats-banner {
    background-color: #e9effc;
    border-radius: 20px;
    padding: 26px;
    text-align: center;
    margin-bottom: 50px;
}

.stats-banner-text {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);

    .highlight {
        font-weight: 800;
    }
}

.stats-banner-text .highlight {
    color: var(--primary-color);
}

.stats-grid {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
}

.stat-card {
    flex: 1;
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0px 4px 12px 2px rgba(0, 0, 0, 0.15);
    padding: 19px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-card img {
    max-width: 100%;
    object-fit: contain;
}

.map-card {
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0px 4px 12px 2px rgba(0, 0, 0, 0.15);
    padding: 16px;
}

.map-title {
    font-size: 24px;
    font-weight: 700;
    color: #7f7f7f;
    text-align: center;
    margin-bottom: 16px;
}

.map-image-container {
    position: relative;
    overflow: visible !important;
    /* ini kuncinya supaya tooltip tidak terpotong */
    z-index: 1;
}

.map-image {
    width: 100%;
    display: block;
}

.map-point {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-point img {
    position: absolute;
    width: 32px;
    height: 32px;
}

.map-point span {
    position: relative;
    font-size: 12.8px;
    font-weight: 700;
    color: var(--white);
}

.stats-button-container {
    text-align: center;
    margin-top: 56px;
}

.btn-primary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    line-height: 30px;
    padding: 12px 36px;
    border-radius: 70px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #008a43;
}

@media (max-width: 992px) {
    .stats-grid {
        flex-direction: column;
    }

    .stats-banner-text {
        font-size: 32px;
    }
}



.knowledge-section {
    padding-top: 60px;
    padding-bottom: 40px;
}

.knowledge-container {
    display: flex;
    align-items: center;
    gap: 88px;
}

.knowledge-content {
    flex: 1;
    max-width: 511px;
}

.knowledge-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.knowledge-description {
    font-size: 16px;
    font-weight: 500;
    line-height: 30px;
    text-align: justify;
    margin-bottom: 30px;
}

.knowledge-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.knowledge-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 16px;
    font-weight: 500;
    line-height: 30px;
}

.knowledge-list img {
    width: 32px;
    height: 32px;
}

.knowledge-image {
    flex: 0 0 480px;
}

.knowledge-image img {
    width: auto;
    height: 300px;
    border-radius: 20px;
    object-fit: cover;
}

@media (max-width: 1200px) {
    .knowledge-container {
        gap: 40px;
    }

    .knowledge-image {
        flex-basis: 50%;
    }

    .knowledge-title {
        font-size: 40px;
    }
}

@media (max-width: 992px) {
    .knowledge-container {
        flex-direction: column-reverse;
    }

    .knowledge-image {
        flex-basis: auto;
        width: 100%;
    }

    .knowledge-content {
        max-width: 100%;
    }
}



.innovators-section {
    padding-top: 40px;
    padding-bottom: 60px;
}

.innovators-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 40px;
}

.innovators-title .highlight {
    color: var(--secondary-color);
}

.innovators-grid {
    display: flex;
    gap: 24px;
}

.innovator-card {
    flex: 1;
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0px 4px 12px 2px rgba(0, 0, 0, 0.15);
    padding: 30px;
}

.innovator-name {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

.innovator-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.innovator-photo {
    width: 120px;
    height: auto;
    border-radius: 999px;
    object-fit: cover;
    flex-shrink: 0;
}

.innovator-bio {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: justify;
}

@media (max-width: 1200px) {
    .innovator-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .innovators-grid {
        flex-direction: column;
    }

    .innovators-title {
        font-size: 36px;
    }
}



.partners-section {
    background-color: var(--bg-light-gray);
    padding-top: 40px;
    padding-bottom: 40px;
}

.partners-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.partners-logos-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.sbm-logo {
    width: auto;
    height: 56px;
    margin-left: 8px;
    /* to align with SADULUR logo */
}

.partners-logos-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.partners-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
}

.partner-logo-group {
    background-color: var(--white);
    border-radius: 999px;
    box-shadow: 0px 4px 12px 2px rgba(0, 0, 0, 0.15);
    padding: 8px 32px;
}

.partner-logo-group img {
    display: block;
    width: auto;
    height: 64px;
}

@media (max-width: 992px) {
    .partners-container {
        flex-direction: column;
        gap: 50px;
    }

    .partners-logos-left {
        flex-direction: row;

        .logo {
            .logo-wrapper {
                .logo-img-1 {
                    height: 32px;
                }

                .logo-img-2 {
                    height: 22px;
                }
            }
        }

        .sbm-logo {
            height: 42px;
        }
    }

    .partners-logos-left,
    .partners-logos-right {
        align-items: center;
    }

    .sbm-logo {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .partner-logo-group {
        padding: 10px;
    }

    .partner-logo-group img {
        width: 100%;
        height: auto;
    }

    .partners-title {
        font-size: 40px;
    }
}



.footer-section {
    background-color: var(--bg-dark);
    color: var(--white);
    padding-top: 20px;
    padding-bottom: 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright-text,
.footer-links a {
    font-size: 14px;
    font-weight: 500;
    line-height: 30px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-separator {
    width: 4px;
    height: 4px;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .copyright-text,
    .footer-links a {
        font-size: 14px;
    }
}


/* ===== KNOWLEDGE PAGE ===== */
main {
    padding-top: 140px;
}

.knowledge-hero-page {
    background: #0f7b4a;
    padding: 140px 0;
    color: #ffffff;
    max-height: 180px;
}

.knowledge-hero-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.knowledge-hero-text h1 {
    font-size: 32px;
    line-height: 1.4;
    margin-bottom: 16px;
}

.knowledge-hero-text p {
    max-width: 520px;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.knowledge-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-hero-primary,
.btn-hero-secondary {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 999px;
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
}

.btn-hero-primary {
    background: #f4b41a;
    color: #1b1b1b;
}

.btn-hero-secondary {
    background: #ffffff;
    color: #0f7b4a;
}

.knowledge-hero-illustration {
    flex: 0 0 360px;
    max-width: 380px;
}

.knowledge-hero-illustration img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* IKUTI PELATIHAN */

.knowledge-training-section {
    background: #f5f7f8;
    padding: 60px 0;
}

.knowledge-training-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
    gap: 40px;
    align-items: center;
}

.training-left h2 {
    font-size: 26px;
    margin-bottom: 24px;
    color: #0f7b4a;
}

.training-main-image {
    width: 335px;
    height: 497px;
    object-fit: contain;
}

.training-right {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.training-module {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.training-icon img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.training-text h3 {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #006833;
}

.training-text p {
    font-size: 14px;
    line-height: 1.7;
    color: #4b5563;
    width: 370px;
}

.training-cta-box {
    margin-top: 16px;
    padding: 16px 20px;
    border-radius: 14px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    font-size: 14px;
}

.training-module-title {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #006833;
    margin-bottom: 6px;
}

.training-module-text {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
}

/* INSTRUKTUR */

.knowledge-instructor-section {
    background: #ffffff;
    padding: 60px 0;
}

.knowledge-instructor-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.knowledge-instructor-inner h2 {
    font-size: 46px;
    margin-bottom: 32px;
    color: #0f7b4a;
}

.instructor-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.instructor-card {
    background: #f8fafc;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.instructor-card img {
    width: auto;
    height: 200px;
    border-radius: 14px;
    margin-bottom: 12px;
    object-fit: cover;
}

.instructor-card h3 {
    font-size: 14px;
    margin-bottom: 4px;
    color: #111827;
}

.instructor-title {
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
}

.instructor-social {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

/* Icon LinkedIn */
.linkedin-btn img {
    width: 48px;
    height: 48px;
}

/* ===== TESTIMONI KNOWLEDGE PAGE ===== */

.knowledge-testimonial-section {
    padding: 72px 0 96px;
    background: linear-gradient(90deg, #f1faf5 0%, #c7e3d0 100%);
}

.knowledge-testimonial-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.testimonial-title {
    font-size: 28px;
    font-weight: 700;
    color: #198754;
    margin-bottom: 8px;
}

.testimonial-subtitle {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 64px;
}

/* Grid kartu */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* Kartu Testimoni */
.testimonial-card {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    padding: 56px 24px 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.testimonial-avatar-wrap {
    position: absolute;
    top: -44px;
    left: 50%;
    transform: translateX(-50%);
    width: 92px;
    height: 92px;
    border-radius: 50%;
    padding: 4px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Isi kartu */
.testimonial-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.testimonial-name {
    font-size: 14px;
    font-weight: 700;
    color: #1e8f4f;
    margin-top: 8px;
}

.testimonial-batch {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.testimonial-text {
    font-size: 13px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 12px;
}

/* Rating bintang */
.testimonial-rating span {
    color: #f59e0b;
    font-size: 14px;
    margin: 0 1px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .knowledge-testimonial-section {
        padding: 56px 0 72px;
    }

    .testimonial-title {
        font-size: 24px;
    }
}

/* ===========================
   PROFILE PAGE
   =========================== */

.sadulur-profile-page {
    background: linear-gradient(180deg,
            #dff1e7 0%,
            #e8f4ee 25%,
            #eef5f2 55%,
            #f7f8f8 100%);
    /* min-height: 100vh; */
    padding-top: 140px;
}

.profile-wrapper,
.sadulur-profile-container,
.content-wrapper,
.profile-header-bg {
    background: transparent !important;
}



.sadulur-profile-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 32px;
}

/* HEADER PROFIL */
.profile-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.profile-header-left {
    display: flex;
    gap: 24px;
}

.profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 999px;
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-header-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-header-name {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.profile-header-email {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 170px));
    gap: 10px 24px;
}

.profile-info-item .info-label {
    font-size: 11px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #9ca3af;
    display: block;
}

.profile-info-item .info-value {
    font-size: 13px;
    color: #111827;
    font-weight: 500;
}

.info-muted {
    color: #9ca3af;
    font-weight: 400;
}

/* Ubah profil kanan atas */
.profile-edit-link {
    border: none;
    background: transparent;
    font-size: 13px;
    color: #111827;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.profile-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

/* Badge Level UMKM */
.umkm-level-badge {
    background: #ffffff;
    border-radius: 999px;
    padding: 8px 18px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.umkm-level-label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9FA4B5;
    margin-bottom: 2px;
}

.umkm-level-value {
    font-size: 14px;
    font-weight: 600;
    color: #006833;
    /* hijau Sadulur */
}

/* Tombol Ubah Profil (kalau belum ada) */
.edit-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: #1F2933;
    cursor: pointer;
}

.edit-profile-icon {
    width: 20px;
    height: 20px;
}

/* GRID UTAMA */
.profile-main-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.1fr;
    gap: 24px;
}

.profile-section {
    margin-bottom: 28px;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.profile-section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #111827;
}

/* Lanjut Belajar card */
.learning-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 16px 18px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.learning-thumb img {
    width: 96px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
}

.learning-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
    color: #111827;
}

.learning-subtitle {
    font-size: 12px;
    margin: 0 0 8px;
    color: #6b7280;
}

.learning-progress-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.learning-progress-bar {
    flex: 1;
    height: 6px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.learning-progress-fill {
    height: 100%;
    background: #22c55e;
    border-radius: inherit;
}

.learning-progress-label {
    font-size: 12px;
    color: #111827;
}

.learning-action {
    display: flex;
    align-items: center;
}

.btn-learning {
    border-radius: 4px;
    border: none;
    background: #0f766e;
    color: #ffffff;
    font-size: 12px;
    padding: 8px 14px;
    cursor: pointer;
}

/* Card Rekomendasi & Selesai */
.course-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.course-box {
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.course-thumb {
    width: 100%;
    display: block;
}

.course-content {
    padding: 10px 12px 14px;
}

.course-main-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
    color: #111827;
}

.course-desc {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
}

/* RIGHT COLUMN : Statistik + Notif */

.stats-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    padding: 14px 16px 16px;
    width: 100%;
}

.stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.stats-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.stats-period {
    font-size: 11px;
    color: #6b7280;
}

.stats-chart-wrap {
    height: 190px;
    margin-bottom: 12px;
}

/* Notif di dalam card kanan */
.notif-section {
    border-top: 1px solid #e5e7eb;
    padding-top: 10px;
}

.notif-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 10px;
}

.notif-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notif-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.notif-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #ef4444;
    margin-top: 5px;
}

.notif-main {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 2px;
}

.notif-meta {
    font-size: 11px;
    margin: 0;
    color: #6b7280;
}

.notif-more {
    margin-top: 10px;
    border: none;
    background: transparent;
    font-size: 11px;
    color: #0f766e;
    cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .profile-main-grid {
        grid-template-columns: 1fr;
    }

    .profile-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .sadulur-profile-container {
        padding: 0 16px;
    }

    .profile-header-row {
        flex-direction: column;
        gap: 16px;
    }

    .profile-info-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .course-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ==== PAGE WRAPPER (gradient menyatu seperti halaman lain) ==== */
.sadulur-assessment-page {
    background: linear-gradient(180deg,
            #dff1e7 0%,
            #e8f4ee 25%,
            #eef5f2 60%,
            #f7f8f8 100%);
    min-height: 100vh;
    padding-bottom: 60px;
}

/* ==== HERO ==== */
.assessment-hero {
    position: relative;
    width: 100%;
    max-height: 220px;
    overflow: hidden;
}

.assessment-hero-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.assessment-title {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.1em;
}

/* ==== CONTENT CONTAINER ==== */
.assessment-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 24px 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ==== STEPPER ==== */
.assessment-stepper {
    background: transparent;
    /* di desain dia menyatu dengan background, bukan card */
    padding: 32px 40px 24px;
    margin-bottom: 24px;
    position: relative;
}

/* garis horizontal di belakang lingkaran (ABU) */
.stepper-line-base {
    position: absolute;
    left: 11%;
    right: 11%;
    top: calc(35%);
    /* GARIS TEPAT DI TENGAH LINGKARAN */
    height: 6px;
    background: #d8dce2;
    border-radius: 6px;
    z-index: 1;
}

/* garis progres (ORANYE dari step1 sampai step2) */
.stepper-line-active {
    position: absolute;
    left: 11%;
    top: calc(35%);
    height: 6px;
    background: #ec8f23;
    border-radius: 6px;
    z-index: 2;
}

/* wrapper item step */
.stepper-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* penting agar lingkaran dan garis sejajar vertikal */
    position: relative;
    z-index: 3;
}

/* satu item step */
.stepper-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* lingkaran angka */
.step-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 6px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 700;
    background: #fff;
    z-index: 2;
}


/* teks 2 baris di bawah lingkaran */
.step-label {
    margin-top: 14px;
    text-align: center;
    line-height: 1.2;
}

/* step 1 = DONE (HIJAU) */
.step-done .step-circle {
    border-color: #2ca153;
    color: #2ca153;
}

.step-active .step-circle {
    border-color: #ec8f23;
    color: #ec8f23;
}

/* progress bar bawah */
.stepper-progress-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 0 6%;
}

.stepper-progress-bar {
    flex: 1;
    height: 8px;
    background: #e4e4e4;
    border-radius: 999px;
    overflow: hidden;
}

.stepper-progress-fill {
    height: 100%;
    background: #2f7882;
    /* hijau kebiruan seperti contoh */
    border-radius: inherit;
}

.stepper-progress-text {
    font-size: 14px;
    font-weight: 600;
    color: #2f7882;
}

/* ==== QUESTIONS ==== */
.assessment-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.question-card {
    display: grid;
    grid-template-columns: 1.1fr 1.9fr;
    gap: 28px;
    padding: 20px 24px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: rgba(255, 255, 255, 0.92);
}

.question-left {
    border-right: 1px solid #e5e7eb;
    padding-right: 16px;
}

.question-number {
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
    margin: 0 0 4px;
}

.question-text {
    font-size: 13px;
    color: #111827;
    margin: 0;
}

.question-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ==== OPTIONS ==== */
.answer-option {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    cursor: pointer;
    font-size: 13px;
}

.answer-option input[type="radio"] {
    accent-color: #16a34a;
}

.answer-option-label {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #4b5563;
    background: #f9fafb;
}

.answer-option-text {
    color: #111827;
}

/* textarea untuk soal esai */
.answer-textarea {
    width: 100%;
    min-height: 120px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding: 10px 12px;
    font-size: 13px;
    resize: vertical;
}

/* ==== BOTTOM BUTTONS ==== */
.assessment-footer-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.btn-outline {
    padding: 10px 26px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    font-size: 13px;
    color: #4b5563;
    cursor: pointer;
}

.btn-primary-green {
    padding: 10px 28px;
    border-radius: 999px;
    border: none;
    background: #22c55e;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
    .assessment-container {
        padding: 24px 16px 0;
    }

    .question-card {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .question-left {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding-right: 0;
        padding-bottom: 10px;
    }

    .assessment-footer-actions {
        flex-direction: column-reversed;
        align-items: stretch;
    }

    .btn-outline,
    .btn-primary-green {
        width: 100%;
        text-align: center;
    }
}

.question-group {
    display: none;
}

.question-group.active {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* area menu atas */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* wrapper profil di kanan */
.nav-profile-wrapper {
    position: relative;
    margin-left: 24px;
}

/* pemicu dropdown (avatar + nama + chevron) */
.nav-profile-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

/* avatar gambar */
.nav-profile-avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
}

/* avatar teks (inisial) */
.nav-profile-avatar-text {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #facc15;
    color: #111827;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* nama user */
.nav-profile-name {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

/* chevron */
.nav-profile-chevron {
    font-size: 10px;
    color: #6b7280;
    transition: transform 0.2s ease;
}

/* dropdown */
.nav-profile-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    width: 260px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.2s ease;
    z-index: 150;
}

/* header di dalam dropdown */
.nav-profile-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 10px;
    border-bottom: 1px solid #e5e7eb;
}

.nav-profile-header-text {
    display: flex;
    flex-direction: column;
}

.nav-profile-header-name {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    color: #111827;
}

.nav-profile-header-email {
    font-size: 12px;
    margin: 0;
    color: #6b7280;
}

/* item dropdown */
.nav-profile-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    font-size: 14px;
    color: #111827;
    text-decoration: none;
}

.nav-profile-item i {
    font-size: 14px;
    color: #6b7280;
}

.nav-profile-item:hover {
    background: #f3f4f6;
}

.nav-profile-logout {
    border-top: 1px solid #e5e7eb;
    margin-top: 4px;
    padding-top: 10px;
}

/* === HOVER BEHAVIOUR === */
.nav-profile-wrapper:hover .nav-profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-profile-wrapper:hover .nav-profile-chevron {
    transform: rotate(-180deg);
}

/* SIDEBAR FUNCTIONALITY */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    border: 1px solid #CCC;
    padding: 4px 12px;
    border-radius: 6px;
    position: absolute;
    left: 16px;
}

.mobile-nav {
    display: none;
    background: white;
    border-top: 1px solid #e5e5e5;
    width: 100%;
}

.mobile-nav.open {
    display: block;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 12px 0;
}

.mobile-nav-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all .15s;

    &:hover {
        color: var(--text-dark);
    }

    &.active {
        color: var(--text-dark);
    }
}

.mobile-profile-box {
    display: flex;
    align-items: center;
    padding: 12px 20px;
}

.mobile-avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 12px;
}

.mobile-avatar-text {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #999;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 12px;
}

@media screen and (max-width: 900px) {
    .desktop-nav {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
    }
}
