/* =========================
   Viber Type Section Styles
   ========================= */
   .viber-section {
    padding-top: 1rem;
    padding-bottom: 4rem;
    background-color: var(--color-background-light);
    width: 100%;
  }
  
  .viber-container {
    max-width: 1200px; /* Controls your inner content width */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    background-color: var(--color-background-light);
  }

.viber-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.viber-heading h2 {
    font-size: 2.4rem; /* matches body h2 */
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.viber-heading p {
    font-size: 1.125rem;
    color: var(--color-secondary);
    opacity: 0.8;
    max-width: 32rem;
    margin: 0 auto;
}

.viber-carousel {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 2rem;
    width: 100%;
}

.viber-carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius-full);
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.viber-carousel-button.left {
    left: -1rem; /* small controlled overlap */
    transform: translate(0, -50%); /* remove the horizontal shift */
}

.viber-carousel-button.right {
    right: -1rem; /* same for right side */
    transform: translate(0, -50%); /* only vertically center */
}

.viber-card {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 20rem;
    flex: 1;
    min-width: 0;
    transition: box-shadow 0.3s ease;
}

.viber-card:hover {
    box-shadow: var(--shadow-md);
}

.viber-card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.viber-card-title {
    font-size: 1.5rem; /* matches body h4 */
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.viber-card-text {
    color: var(--color-secondary);
    opacity: 0.8;
    font-size: 1rem;
}

.viber-progress {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-gray-100);
    display: flex;
    gap: 0.25rem;
}

.viber-progress-bar {
    height: 0.375rem;
    border-radius: var(--border-radius-full);
    width: 20%;
}

.viber-progress-bar.active {
    background: var(--color-primary);
}

.viber-progress-bar.inactive {
    background: var(--color-gray-200);
}

.viber-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.viber-dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: var(--border-radius-full);
    background: var(--color-gray-500);
    transition: background 0.2s;
}

.viber-dot.active {
    background: var(--color-primary);
}

/* Results containers styling */
.results-container {
    background: #fff;
    box-shadow: 0 0 20px rgba(67, 64, 60, 0.08);
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 3rem;
}
/* Results resources styling */
.resources.container {
    background: #fff;
    box-shadow: 0 0 20px rgba(67, 64, 60, 0.08);
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 3rem;
}

.progress-bar-inner {
    height: 0.375rem;
    border-radius: var(--border-radius-full);
    transition: width 0.3s;
}

.skill-header-bg {
    background-color: #f6f0e74d;
}
@media (min-width: 1024px) {
    .viber-type-card, .viber-card, .bg-white.p-6.rounded-lg.shadow-md {
      max-width: 363px !important;
    }
  } 