.search-banner {
    text-align: center;
    padding: 20px;
}

.search {
    position: relative;
    width: 50%;
    margin: 0 auto;
}

#search-input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

button {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 16px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}


#dropdown-results ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#dropdown-results li {
    padding: 10px;
    cursor: pointer;
}

#dropdown-results li:hover {
    background-color: #f0f0f0;
}


.submodule-link {
    text-decoration: none;
    color: inherit;
}

.submodule-link.active {
    background-color: black;
    color: white !important;
}

.menu-cont {
    display: none;
    /* Hide submenus by default */
}

.sidemenu .heading {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f1f1f1;
    border: 1px solid #ddd;
    font-weight: bold;
}

.sidemenu .heading img {
    transition: transform 0.3s ease-in-out;
    transform: rotate(0deg);
    /* Ensure default state */
}

/* Arrow pointing RIGHT when expanded */
.sidemenu.expanded .heading img {
    transform: rotate(90deg) !important;
}

.faq-button-container {
    text-align: center;
    margin-top: 20px;
}

.faq-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s ease-in-out;
}

.faq-button:hover {
    background-color: #0056b3;
}

.bp-widget-container {
    height: 500px;
}

.dropdown-menu {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    display: none;
    /* Initially hidden */
    z-index: 1000;
}

.dropdown-menu div {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.dropdown-menu div:hover {
    background-color: #f1f1f1;
}

.submodule-link.active {
    color: #F26522 !important;
    background: none;
    /* Change as per your theme */
    color: white;
    font-weight: bold;
    border-radius: 5px;
}

.dropdown-results {
    position: absolute;
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-results div {
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-results div:last-child {
    border-bottom: none;
}

.dropdown-results div:hover {
    background: #f8f8f8;
}

.module-description {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px;
}

.title-link {
    text-decoration: none;
    color: inherit;
}


.title-link.active {
    color: #F26522 !important;
    background: none;
    /* Change as per your theme */
    color: white;
    font-weight: bold;
    border-radius: 5px;
}



.topics1 {
    flex: 1 1 calc(33.33% - 20px);
    /* Each topic takes one-third width */
    min-width: 750px;
    /* Prevents items from becoming too small */
    box-sizing: border-box;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
}

.topics1 h3 {
    display: flex;
    align-items: center;
    gap: 0px;
    font-size: 18px;
}




.topics1 p {
    display: none;
    margin-top: 10px;
}

.topics1 h3 {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    border: #E5E5E5 1px solid;
    border-radius: 20px;
    padding: 25px 35px;
    margin-bottom: 15px;
    cursor: pointer;
}

.topics1 h3 img {
    transition: transform 0.3s ease-in-out;
}

.topics1 h3 img.rotated {
    transform: rotate(180deg);
}

/* Search Box */
.search-box {
    text-align: center;
    padding: 40px 20px;
    border-radius: 8px;
}

/* Search Input Container */
.search-container {
    display: flex;
    align-items: center;
    width: 700px;
    margin: 20px auto;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 30px;
    padding: 5px;
    position: relative;
}

/* Input Field */
.search-input {
    flex-grow: 1;
    border: none;
    padding: 12px 15px;
    font-size: 16px;
    border-radius: 30px;
    outline: none;
    width: 100%;
}

/* Search Button */
.search-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.search-btn:hover {
    background: #0056b3;
}

#search-dropdown {
    text-align: left;
    /* Align text to the left */
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    width: 105%;
    /* Match the width of the search input */
    max-height: 200px;
    overflow-y: auto;
    display: none;
    /* Hide initially */
    z-index: 1000;
    left: 0%;
    top: 115%;
    /* Adjust this to move it upwards */
    transform: translateY(-10px);
    /* Move slightly upwards */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

#search-dropdown2 {
    text-align: left;
    /* Align text to the left */
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    /* Hide initially */
    z-index: 1000;
    left: 0;
    top: 70px;
    transform: translateY(-10px);
    /* Move slightly upwards */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}



.dropdown-results .result-item:hover {
    background: #f1f1f1;
    align-items: left;
}


.home-banner-container {
    position: fixed;
    /* Fix header at the top */
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    /* Ensure visibility */
    transition: top 0.3s ease-in-out;
    /* Smooth transition */
    z-index: 1000;
    /* Keep above other elements */
}

.hidden {
    top: -100px;
    /* Moves the header up, hiding it */
}

.home-banner-container .header-main {
    padding: 4px 2%;
    /* Default padding (for index page) */
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: space-between;
    align-items: center;
}

.support-page .home-banner-container .header-main {
    padding: -1px 0%;
    /* Different padding for support page */
}

.popular-topics-container {
    margin-top: 100px;
    /* Adjust according to your header height */
}

.faq .active {
    background: #fff;
    box-shadow: 2px 4px 14px #00000010;
}

.faq .accordion-faq {
    border: #E5E5E5 1px solid;
    border-radius: 20px;
    padding: 25px 35px;
    margin-bottom: 15px;
    cursor: pointer;
}

.faq .accordion-faq h3 {
    position: relative;
    display: flex;
    align-items: center;
}

.faq .accordion-faq h3 img {
    position: absolute;
    right: 0;
    transform: rotate(0deg);
}

.faq .accordion-faq.active h3 img {
    position: absolute;
    right: 0;
    transform: rotate(-180deg);
}


.faq .active {
    background: #fff;
    box-shadow: 2px 4px 14px #00000010;
}

.faq .container {
    padding-top: 155px;
}


.highlight {
    background-color: #ffffcc;
    transition: background-color 1s ease;
}

#search-form {
    position: relative
}

#search-form .search-container {}

#search-form .search-container .search-input {}

#search-form .dropdown-results {}

#search-form .dropdown-results {}