body {
    background-color: #e6e6e7;
}

.representations-section h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1f3671;
    position: relative;
}
.representations-section h1:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: #fdbf50;
}
.representations-section {
    padding-top: 60px;
    padding-bottom: 20px;
    background-color: #e6e6e7;
}

.categories-section {
    background-color: #e6e6e7;
}

.category-card {
    background-color: #ffffff;
    padding: 30px 20px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.icon-container {
    margin-bottom: 20px;
}

.category-icon {
    width: 246px;
    max-width:100%;
}

.category-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1c3661;
    margin-bottom: 25px;
    position: relative;
}

.category-card h3 a{
    font-size: 24px;
    font-weight: 600;
    color: #1c3661;
    text-decoration: none;
}

.category-card h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: #fdbf50;
}

.selected-category-title {
  font-size: 1.7rem;
}

.logos-container {
    margin-top: 20px;
}

.brand-logo {
    max-width: 100%;
    height: auto;
    max-height: 50px;
}

.description-container {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
}

.description-container a {
    color: #333;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.description-container a::after {
    content: '';
    position: absolute;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: #fdbf50;
 }
.description-container a .subtext {
    display: block;
    margin-top: 20px;
}

/* Category List Styling */
#catlist {
    background-color: #1f3671;
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height:fit-content;
    position: sticky;
    top: 99px; 
    align-self: flex-start; 
}


.row, .container {
    overflow: visible !important;
}

#catlist h3 {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 25px;
    position: relative;
}

#catlist h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #fdbf50;
}

.category-list {
    list-style-type: none;
    padding-left: 0;
    margin-top: 20px;
}

.category-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
}

.category-list li a:hover {
    color: #fdbf50;
    
}

 /* Dropdown styles */
 .category-list .has-subcategory {
    position: relative;
}

.dropdown-icon {
    font-size: 12px;
    margin-right: 5px;
    transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.has-subcategory.active .dropdown-icon {
    transform: rotate(90deg);
}

.subcategory-list {
    list-style-type: none;
    padding-left: 20px;
    /*display: none;*/
}

/* Styles for active menu items */
.category-list .has-subcategory.active > a {
    color: #fdbf50;
    font-weight: bold;
}

/* Style for active categories without subcategories */
.category-list > li.active > a {
    color: #fdbf50;
    font-weight: bold;
}

.subcategory-list li.active > a {
    color: #fdbf50;
    font-weight: bold;
}

.has-subcategory.dropdown-active .subcategory-list,
.has-subcategory.active .subcategory-list {
    /*display: block !important;*/
}

.subcategory-list li {
    margin: 8px 0;
}

/* Mobile Category Dropdown Styling */
.mobile-category-dropdown {
    margin-bottom: 25px;
}

.mobile-category-dropdown select {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background-color: #1f3671;
    color: white;
    font-weight: 500;
    font-size: 16px;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.mobile-category-dropdown select:focus {
    box-shadow: 0 0 0 0.25rem rgba(253, 191, 80, 0.25);
    border-color: #fdbf50;
    outline: none;
}

.mobile-category-dropdown select option,
.mobile-category-dropdown select optgroup {
    background-color: white;
    color: #333;
    padding: 8px;
}

/* Firefox specific styling */
@-moz-document url-prefix() {
    .mobile-category-dropdown select option:checked,
    .mobile-category-dropdown select option:hover {
        background-color: #1f3671 !important;
        color: white !important;
        box-shadow: 0 0 0 30px #1f3671 inset;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        -ms-appearance: none !important;
        appearance: none !important;
    }
}

/* Webkit browsers */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    .mobile-category-dropdown select option:checked,
    .mobile-category-dropdown select option:hover {
        background-color: #1f3671 !important;
        color: white !important;
    }
}

/* Microsoft Edge and IE */
.mobile-category-dropdown select::-ms-expand {
    display: none;
}

.mobile-category-dropdown select:-ms-expand {
    display: none;
}

/* Active dropdown styling */
.mobile-category-dropdown select.dropdown-open {
    border-color: #fdbf50;
    box-shadow: 0 0 0 0.25rem rgba(253, 191, 80, 0.25);
}

.mobile-category-dropdown select optgroup {
    font-weight: 600;
}

/* Custom select on Chrome */
.mobile-category-dropdown select.customize-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
}

/* Trying to force white color on selected options */
.mobile-category-dropdown select option:checked,
.mobile-category-dropdown select option:focus,
.mobile-category-dropdown select option:active,
.mobile-category-dropdown select option:hover {
    background: #1f3671 !important;
    background-color: #1f3671 !important;
    color: white !important;
    text-shadow: 0 0 0 white !important;
}