:root {
    --qoffea-cream: #F2EDD7;
    --qoffea-dark-brown: #4A3C2C;
    --qoffea-mid-brown: #8D6D4F;
    --qoffea-green: #87917a;
    --qoffea-yellow: #FFD700;
    --qoffea-grey: #D9D9D9;
}

body {
    font-family: Arial, sans-serif;
    color: var(--qoffea-dark-brown);
}

.site-header,
.site-footer {
    background-color: var(--qoffea-green);
}

.main-content {
    background-color: var(--qoffea-cream);
}


.main-content p {
    font-size: 1.1rem;
}

.section-divider {
    color: var(--qoffea-grey);
    border-color: var(--qoffea-grey);
    opacity: 0.5;
}


.intro-section__title {
    color: var(--qoffea-green);
    font-weight: bold;
}

.intro-section__subtitle {
    color: var(--qoffea-mid-brown);
}

.intro-section__description {
    text-align: justify;
}

.intro-section__description p {
    font-size: 20px;
}

.intro-section__description .tagline {
    text-align: center;
}

.definition-section__title {
    color: var(--qoffea-green);
    font-weight: bold;
    font-size: 2rem;
}


.brand-tagline-section__text {
    color: var(--qoffea-mid-brown);
    font-style: italic;
    font-size: 1.2rem;
}


.team-photo {
  height: 180px;           
  width: 100%;             
  object-fit: cover;       
  border-radius: 0.375rem; 
  background-color: var(--qoffea-grey); 
}

.team-section__title {
  color: var(--qoffea-green);
  font-weight: bold;
  font-size: 2rem;
}


.sponsors-section__title {
    color: var(--qoffea-green);
    font-weight: bold;
    font-size: 2rem;
}


.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem; 
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #ffffff;
}

.page-title {
    color: var(--qoffea-green);
    font-weight: bold;
    font-size: 2.5rem;
}

/* === Bagian Panduan === */
.guide-box {
    background-color: #FFFFFF;
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    height: 100%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid var(--qoffea-grey);
}

.guide-box__icon {
    height: 50px;
    margin-bottom: 15px;
    border-radius: 50%;
}

.guide-box__text {
    color: var(--qoffea-dark-brown);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* === Bagian Upload === */
.upload-section__preview-image {
    border-radius: 15px;
    border: 3px solid var(--qoffea-mid-brown);
}

.upload-section__title {
    color: var(--qoffea-mid-brown);
    font-weight: bold;
    margin-bottom: 20px;
}

.btn-qoffea-primary {
    background-color: var(--qoffea-green);
    color: #FFFFFF;
    font-weight: bold;
    padding: 12px;
    border: none;
    border-radius: 10px;
}
.btn-qoffea-primary:hover {
    background-color: #7a836f;
    color: #FFFFFF;
}

.btn-qoffea-secondary {
    background-color: var(--qoffea-green);
    color: #FFFFFF;
    font-weight: bold;
    padding: 12px;
    border: none;
    border-radius: 10px;
}
.btn-qoffea-secondary:hover {
    background-color: #7a836f;
    color: white;
}

.results-section__header {
    background-color: var(--qoffea-mid-brown);
    color: #FFFFFF;
    padding: 12px 20px;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 10px 10px 0 0;
}

.results-section__body {
    border: 2px solid var(--qoffea-mid-brown);
    border-top: none;
    padding: 25px;
    border-radius: 0 0 10px 10px;
    background-color: #FBF8F1;
}

.results-section__title {
    font-weight: bold;
    color: var(--qoffea-dark-brown);
}


.results-section__desc-title {
    font-weight: bold;
    margin-top: 15px;
    font-size: 1.1rem;
}

.results-section__desc-text {
    font-size: 1rem;
    line-height: 1.5;
}

.analysis-image-section .img-fluid {
    border-radius: 15px;
}

.samples-section__image {
    border-radius: 15px;
    border: 3px solid var(--qoffea-mid-brown);
}

.btn-analyze-again {
    font-size: 1.2rem;
    padding: 12px 50px;
}

.results-section__header {
    background-color: var(--qoffea-mid-brown);
    color: #FFFFFF;
    padding: 12px 20px;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 10px 10px 0 0;
}

.results-section__body {
    border: 2px solid var(--qoffea-mid-brown);
    border-top: none;
    padding: 25px;
    border-radius: 0 0 10px 10px;
    background-color: var(--qoffea-cream);
}

.results-section__title {
    font-weight: bold;
    color: var(--qoffea-dark-brown);
    font-size: 2.2rem;
    line-height: 1.2;
}

.grade-text__item {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    line-height: 1;
}
.grade-text__item span {
    font-weight: 300;
    margin-left: 10px;
}
.grade-text--a { color: var(--qoffea-green); }
.grade-text--b { color: var(--qoffea-yellow); }
.grade-text--c { color: var(--qoffea-mid-brown); }


.stacked-bar-container {
    width: 60px;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
}

.stacked-bar-segment {
    width: 100%;
    transition: height 0.3s ease;
}

.segment-a { background-color: var(--qoffea-green); }
.segment-b { background-color: var(--qoffea-yellow); }
.segment-c { background-color: var(--qoffea-mid-brown); }


.overall-grade-box {
    border: 2px solid var(--qoffea-mid-brown);
    border-radius: 15px;
    padding: 15px 25px;
    text-align: center;
    min-width: 220px;
    background-color: var(--qoffea-cream);
}

.overall-grade-box__text {
    color: var(--qoffea-dark-brown);
    font-size: 1.2rem;
    font-weight: bold;
}

.overall-grade-box__grade {
    font-size: 4.5rem;
    font-weight: bold;
    color: var(--qoffea-green);
    line-height: 1;
    display: block;
}
.results-section__desc-title {
    font-weight: bold;
    margin-top: 15px;
    font-size: 1.2rem;
    color: var(--qoffea-dark-brown);
}

.results-section__desc-text {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--qoffea-dark-brown);
}

.results-section__link {
    text-decoration: none;
    color: var(--qoffea-mid-brown);
    font-size: 0.9rem;
    font-weight: bold;
}
.results-section__link:hover {
    color: var(--qoffea-dark-brown);
    text-decoration: underline;
}

.guide-card {
    background-color: #FBF8F1;
    border-radius: 15px;
    padding: 25px 20px;
    height: 100%;
    border: 2px solid var(--qoffea-grey);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.guide-card__icon {
    height: 60px; /* Ukuran ikon */
    margin-bottom: 20px;
    border-radius: 50%;
}

.guide-card__title {
    font-weight: bold;
    color: var(--qoffea-dark-brown);
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.guide-card__text {
    font-size: 0.95rem;
    color: var(--qoffea-dark-brown);
    line-height: 1.5;
    text-align: justify;
}

.mutu-guide-section .nav-tabs {
    border-bottom: none; 
    margin-bottom: -2px; 
}

.mutu-guide-section .nav-link {
    background-color: #E0E0E0; 
    color: var(--qoffea-dark-brown);
    border: none;
    border-radius: 10px 10px 0 0;
    margin-right: 5px;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 12px 20px;
}

.mutu-guide-section .nav-link.active {
    background-color: var(--qoffea-green);
    color: #FFFFFF;
    border: none;
}

.grade-display-box {
    border: 2px solid var(--qoffea-green); 
    border-radius: 0 0 10px 10px; 
    overflow: hidden; 
    background-color: #FBF8F1; 
}

.tab-pane.active .grade-display-box:first-of-type {
    border-radius: 0 0 10px 10px;
}

#arabika-pane .grade-display-box:first-of-type {
    border-radius: 0 10px 10px 10px; 
}

#robusta-pane .grade-display-box:first-of-type {
    border-radius: 10px 0 10px 10px; 
}


.grade-display-box__header {
    padding: 15px 20px;
    font-size: 1.3rem;
    font-weight: bold;
    color: #FFFFFF;
}

.grade-display-box__image {
    width: 100%;
    display: block;
}

.grade-display-box__text {
    padding: 20px;
    font-size: 0.95rem;
    text-align: center;
    color: var(--qoffea-dark-brown);
    margin-bottom: 0;
    line-height: 1.6;
}

.header-grade-a {
    background-color: var(--qoffea-green);
}
.header-grade-b {
    background-color: var(--qoffea-yellow);
    color: var(--qoffea-dark-brown); 
}
.header-grade-c {
    background-color: #D9534F;}