  *{
    font-family: 'Nunito Sans', Helvetica, Arial, Lucida, sans-serif;
}
.button-container {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

button {
    padding: 15px 25px;
    font-size: 15px;
    cursor: pointer;
    background-color: #f0f0f0;
    border: 2px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 150px;
    white-space: normal;
}

button.active {
    background-color: #4CAF50;
    color: white;
    border-color: #45a049;
    font-size: 22px;
}

#button01 {
    /* font-family: 'Nunito Sans', Helvetica, Arial, Lucida, sans-serif;
    color: #FFFFFF !important;
    border-radius: 0px;
    font-size: 15px;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    background-color: #A89968; */


    color: #816040 !important;
    border-width: 1px !important;
    border-color: #816040;
    border-radius: 0px;
    font-family: 'Nunito Sans', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 700 !important;
    background-color: #FFFFFF;
}

#button01.active {
    background-color: #ba0c2f;
    color: #ffffff !important;
    border-color: #ba0c2f;
}

#button02 {
    /* font-family: 'Nunito Sans', Helvetica, Arial, Lucida, sans-serif;
    color: #FFFFFF !important;
    border-radius: 0px;
    font-size: 15px;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    background-color: #A89968; */

    color: #816040 !important;
    border-width: 1px !important;
    border-color: #816040;
    border-radius: 0px;
    font-family: 'Nunito Sans', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 700 !important;
    background-color: #FFFFFF;
}

#button02.active {
    background-color: #009681;
    color: #ffffff !important;
    border-color: #009681;
}

.credential-button {
    font-family: 'Nunito Sans', Helvetica, Arial, Lucida, sans-serif;
    color: #FFFFFF !important;
    border-radius: 0px;
    font-size: 15px;
    font-weight: 800 !important;
    background-color: #ba0c2f;
}

.noncredit-button {
    font-family: 'Nunito Sans', Helvetica, Arial, Lucida, sans-serif;
    color: #FFFFFF !important;
    border-radius: 0px;
    font-size: 15px;
    font-weight: 800 !important;
    background-color: #009681;
}


#credential-programs-header {
    color: #ba0c2f !important;
}

.credential-programs-header3 {
    color: #ba0c2f !important;
}

#non-credit-programs-header {
    color: #009681 !important;
}

#non-credit-programs-header3 {
    color: #009681 !important;
}

.content-section-learning-path {
    display: none;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    animation: fadeIn 0.5s ease;
}

.content-section-learning-path.active {
    display: block;
}


#enrich {
    grid-column: 2; /* Forces the enrich div to the second column */
    grid-row: 1;    /* Places it in the first row */
}

#programContentNonCredit {
    grid-column: 1; /* Forces the content to the first column */
    grid-row: 1;    /* Places it in the first row */
}




.secondary-options {
    display: none;
    margin-top: 20px;
    animation: slideDown 0.5s ease;
}

.topic-select {
    padding: 10px;
    font-size: 16px;
    width: 100%;
    max-width: 300px;
    border: 2px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    display: none;
}

.topic-select.visible {
    display: block;
    animation: fadeIn 0.5s ease;
}

.topic-select.visible + .topic-select-wrapper,
.topic-select-wrapper:has(.topic-select.visible) {
    display: inline-block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pathway-content {
    margin-top: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.select-container {
    margin-top: 20px;
    margin-bottom: 15px;
}

.select-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

/* Add these styles to your existing CSS */
.content-wrapper-learning-path {
    display: grid;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
    /* padding: 20px; */
}

/* Default mobile-first styles (single column) */
.content-wrapper-learning-path {
    grid-template-columns: 1fr;
}

/* Two column layout for screens 768px and larger */
@media screen and (min-width: 768px) {
    /* .content-wrapper-learning-path {
        grid-template-columns: 1fr 1fr;
    } */
    .content-wrapper-learning-path {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 20px;
    }
}

/* Adjust the existing content-section-learning-path and program-content styles */
.content-section-learning-path,
.program-content {
    /* width: 100%; */
    height: fit-content;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* If your program content is initially hidden, modify the display property */
.program-content {
    display: none;
    opacity: 0;
    padding: 20px;
    will-change: transform, opacity;
    /* Initially hidden */
}

.program-content.visible {
    display: block;
    animation-name: bounceIn;
    animation-duration: 0.8s;
    animation-timing-function: cubic-bezier(0.36, 0, 0.66, 1.5);
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
    /* Show when needed */
}


@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translateY(-300px);
    }

    50% {
        opacity: 0.7;
        transform: translateY(20px);
    }

    75% {
        opacity: 0.9;
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-container {
    margin: 20px 0;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    border: 3px solid #ba0c2f;
    border-radius: 5px;
    margin-bottom: 10px;
}

.search-results {
    display: none;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-top: 10px;
}

.search-result-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-result-item:hover {
    background-color: #f5f5f5;
}

.search-result-item h4 {
    margin: 0 0 8px 0;
    color: #333;
}

.search-result-item p {
    margin: 0;
    color: #666;
}

.highlight {
    background-color: #fff3cd;
    padding: 0 2px;
}

.program-tags {
    margin-top: 8px;
}

.tag {
    display: inline-block;
    background-color: #e9ecef;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.85em;
    margin-right: 5px;
    margin-bottom: 5px;
    color: #495057;
}

.tag:hover {
    background-color: #dee2e6;
}

.search-result-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s;
}

.program-content-non-credit {
    display: none;
    opacity: 0;
    padding: 20px;
    will-change: transform, opacity;
    height: fit-content;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.program-content-non-credit.visible {
    display: block;
    animation-name: bounceIn;
    animation-duration: 0.8s;
    animation-timing-function: cubic-bezier(0.36, 0, 0.66, 1.5);
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
}

/* Base styles for the select elements */
.topic-select,
#olliSelect,
#bachelorsSelect,
#mastersSelect,
#gradcertificatesSelect,
#undergradcertificatesSelect,
#professionalSelect,
#enrichmentSelect {
  width: 256px; /* Adjust width as needed */
  padding: 8px;
  padding-right: 48px;
  border: 1px solid black;
  background-color: white;
  color: black;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 0;
}

/* Container for the selects */
.topic-select-wrapper {
    position: relative;
    display: none; /* Hide by default */
    margin-bottom: 0;
}

/* Grey box on the right */
.topic-select-wrapper::after {
  content: '';
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  width: 36px;
  background-color: #e5e7eb;
  border-left: 1px solid black;
  pointer-events: none;
}

/* Gold triangle */
.topic-select-wrapper::before {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #A89968;
  pointer-events: none;
  z-index: 1;
}

/* Remove default arrow in IE */
.topic-select::-ms-expand,
#olliSelect::-ms-expand,
#bachelorsSelect::-ms-expand {
  display: none;
}

/* Optional: Style focus state */
.topic-select:focus,
#olliSelect:focus,
#bachelorsSelect:focus {
  outline: none;
  border-color: black;
}

.program-details-title {
    margin-bottom: 3px;
}

.program-details-desc {
    margin-top: 3px;
    margin-bottom:5px;
}

.program-details-highlights-h4 {
    margin-top: 10px;
}

.program-details-highlights-li {
    margin-bottom: 3px;
}

.bold-option {
    font-weight: bold !important;
}