header.header .container .row.d-flex {
    position: relative;
}
.header.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000; 
    background-color: #fff; 
    transition: all 0.3s ease; 
}




/* Top bar */
.top-bar {
    background: linear-gradient(45deg, var(--blue), var(--red));
    height: 34px;
    display: flex;
    align-items: center;
	margin-bottom:0px!important;
}
#siq-expandwdgt-cont .siq-expandwdgt-input, .siq-expandwdgt-cont .siq-expandwdgt-input{
	display:none;
}
.social_icons {
    margin-right: 20px;
}

.social_icons li {
    margin-right: 10px;
}

.top-headings {
    display: flex;
}
.top-heading h6 {
    margin: 0;
    font-size: 14px;
    line-height: 34px;
    color: white; 
}
.top-heading h6 {
    padding: 0px 0px 0px 36px;
    color: #fff;
}
.logo img {
    height: 100%;
    width: 90%;
    object-fit: contain;
}
.logo {
    height: 100%;
}
.top-heading h6:hover {
    color: #12a5ec;
}
header.header {
    background-image: url(https://nextstep.net.in/sunlac/wp-content/uploads/2024/09/shape.png);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: contain;
}
/* Navbar */
.header-right {
    display: flex;
    justify-content: end;
    align-items: center;
}
header.header .row.d-flex .header-right.col-10 nav ul.main-menu li {
    display: inline-block;
    margin-right: 36px;
}
nav ul.main-menu li a {
    font-size: 17px;
    line-height: 27px;
    font-family: "DM Sans", sans-serif;
    color: #000;
    font-weight: 500;
    margin-right: 2px;
}
.header-right nav ul li a {
    position: relative;
    text-decoration: none;
}
.header-right nav ul li a:hover {
    color: var(--red);
}

/* Submenu */
.main-menu > li > .arrow {
    transition: transform 0.3s ease;
    margin-left: 8px;
}
.main-menu > li:hover > .arrow {
    transform: rotate(180deg);
}
.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1015; /* Higher than .header-right nav items but lower than search */
    padding: unset;
    border-top: 4px solid var(--red);
    transition: 0.2s ease;
    transform: scale(0); /* Hidden by default */
    transform-origin: top left;
}
.header-right nav ul li:hover .sub-menu {
    transform: scale(1);
}
.header-right nav ul li ul.sub-menu li {
  padding: 10px 20px;
    margin: 0;
    border-bottom: 1px solid #00000059;
    min-width: max-content;
    width: 100%;
}
}
ul.sub-menu li {
    margin-right: 0px !important;
}
ul.sub-menu li a:hover {
    color: var(--red);
}
.header-right nav ul li {
    position: relative;
    z-index: 1010; /* Slightly above the header for proper stacking */
}
ul.main-menu {
    display: flex;
    justify-content: space-between;
    column-gap: 30px;
    width: max-content;
}
li:hover .sub-menu {
    display: grid;
    transform: scale(1);
    transform-origin: top left;
}
.header-right nav ul li {
    padding: 30px 0px;
	position:relative;
}

/* Search bar */

.search-bar {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 25px;
}
.search-bar button i {
    font-size: 16px;
}
.search-bar button {
    z-index: 1025; /* Slightly higher within the search bar for button focus */
}
.search-bar button.search-toggle {
    padding: 7px 11px;
    border-radius: 50%;
    border: none;
    background-color: #eeeeee;
    cursor: pointer;
    color: var(--red);
}
.search-bar button {
    padding: 7px 11px;
    border-radius: 50%;
    border: none;
    background-color: #eeeeee;
    cursor: pointer;
    color: var(--red);
}
.search-bar a {
    display: inline-block;
    color: var(--red);
    text-decoration: none;
    border: 1px solid var(--red);
    padding: 10px 15px;
    border-radius: 30px;
    margin-left: 10px;
}
.search-bar a:first-child {
    margin-left: 0;
}
.search-bar input {
    width: 0;
    border-radius: 16px;
    padding: 4px 8px;
    transition: width 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    right: 8%;
    position: absolute;
}
.search-bar.is-active input {
    width: 100vh;
    opacity: 1;
    z-index: 99999;
    background: #fff;
}
.search-bar button.search-cancel {
    display: none;
    padding: 7px 11px;
    border-radius: 50%;
    width: 38px;
    border: none;
    background-color: #eeeeee;
    cursor: pointer;
    color: var(--red);
    right: 0;
    height: 38px;
    z-index: 99999;
}
.search-bar.is-active button.search-cancel {
    display: block;
}
.search-bar.is-active button.search-toggle {
    display: none;
}
.search-bar button {
    z-index: 9;
}
/*poop up form*/
/* Modal Content */
.modal-content {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    background-color: #fff;
}
.form-select {
    width: 100%;
	    margin-bottom: 15px;
    height: 50px; 
    padding: 10px; 
    font-size: 16px; 
    color: #555;
    background-color: #fff; 
    border: 1px solid #ccc; 
    border-radius: 4px;
    box-shadow: none;
    appearance: none; 
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: border-color 0.3s ease-in-out; 
}

.form-select:focus {
    border-color: #5cb85c; 
    outline: none;
}

.form-select::after {
    content: "\25BC"; 
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 16px;
    color: #333;
}

/* Modal Header */
.modal-header {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 15px;
}
.modal {
    z-index: 2000; /* Highest to stay above all other elements */
}
.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

/* Close Button */
.btn-close {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    color: #333;
}

/* Input Fields */
.comment-form__input-box input,
.comment-form__input-box select,
.comment-form__input-box textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 1rem;
    color: #555;
    transition: border-color 0.3s ease;
}

.comment-form__input-box input:focus,
.comment-form__input-box select:focus,
.comment-form__input-box textarea:focus {
    border-color: #007bff;
    outline: none;
}

/* Select2 Dropdown */
.select2-container--default .select2-selection--multiple {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px;
    height: auto;
}

.select2-selection__rendered {
    line-height: 1.5;
}

.select2-search__field {
    width: 100% !important;
    padding: 8px;
    border: none;
}

/* Text Areas */
.text-message-box textarea {
    resize: none;
    height: auto;
}

/* Submit Button */
.thm-btn.contact-one__btn {
    display: inline-block;
    padding: 12px 30px;
   background-color: var(--red);
    color: #fff;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.thm-btn.contact-one__btn:hover {
    background-color: #0056b3;
}
    .modal-dialog {
        max-width: 800px;
        margin-right: auto;
        margin-left: auto;
    }
.select-form-control {
    width: 100%;
    height: 50px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: none;
    outline: none;
    transition: border-color 0.3s ease-in-out;
}

.select-form-control:focus {
    border-color: #5cb85c; /* Customize the border color on focus */
}

.select2-container--default .select2-selection--multiple {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px;
    cursor: text;
    width: 100%;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #5cb85c; /* Customize the color of the selected items */
    border: 1px solid #5cb85c;
    border-radius: 3px;
    color: white;
    padding: 3px 10px;
    font-size: 14px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: white;
    margin-right: 6px;
    cursor: pointer;
}

/* Media Queries */
@media (max-width: 767px) {
    .modal-dialog {
        margin: 1.75rem auto;
        max-width: 100%;
    }
    
    .modal-content {
        padding: 15px;
    }

    .comment-form__input-box input,
    .comment-form__input-box select,
    .comment-form__input-box textarea {
        padding: 10px;
    }
}

