:root {
    --the-black: rgba(30, 30, 30, 1);
    --the-white: rgba(255, 255, 255, 1);
    --primary: rgba(39, 54, 126, 1);
    --secondary: rgba(186, 208, 37, 1);
    --faded-green: rgba(232, 246, 194, 1);
}

  /* Top Bar */

  div#topHeader {
    position: fixed;
    z-index: 999;
    width: 100%;
    z-index: 1000;
    /* transition: background-color 0.3s ease; */
      transition: all 0.4s ease-in-out;
}

.mst-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    background: var(--the-white);
    margin-top: 40px;
    border-radius: 20px;
    /* overflow: hidden; */
    padding: 0px 20px 0px 0px;
     box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15), 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#topHeader .mst-flex,
#topHeader .main-logo {
    transition: all 0.4s ease-in-out;
}

.the-mnu {
    display: flex;
    gap: 10px;
    align-items: center;
}

.menu-search-wrap {
    display: flex;
    gap: 20px;
    align-items: center;
}
.main-logo {
    padding: 20px 30px;
    background: var(--primary);
    border-radius: 15px 0 0 15px;
}

.search-btn {
	background: white;
	padding: 28px 30px;
	display: inline-block;
}

span.searchtrigger i {
    font-size: 25px;
    font-weight: 100;
    /* padding: 28px 30px; */
    cursor: pointer;
}

@media(max-width:560px){

    .search-btn {
        padding: 17px 23px;
    }

    .search-hearder {
        display: none;
    }

    .slider-caption h2 {
        font-size: 2.5em;
    }
}


/* Search */

/* styles.css */
#search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(61, 65, 66, 0.95);
    z-index: 99999999;
  }

  .close-btn {
    position: absolute;
    top: 10%;
    right: 10%;
    font-size: 40px;
    cursor: pointer;
    color: var(--the-white);
}

#ajaxsearchlite1 .probox, div.asl_w .probox {
    box-shadow: none !important;
}

div.asl_w .probox .promagnifier {
	box-shadow: none !important;
}

#ajaxsearchlite1 .probox, div.asl_w .probox {
	border: 2px solid transparent !important;
}

div.asl_w {
	border-radius: 25px !important;
	background: linear-gradient(to right, rgba(255,255,255,0.54) 80%, white 20%) !important;
}


/* Style for search icon */
.search-wrap {
    cursor: pointer;
}

/* Style for search overlay */
.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
}

.search-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    width: 80%;
}


.search-overlay-content div.asl_w {
	border-radius: 25px !important;
	background: #FFFFFFBD !important;
}


/* Header Button */

.contact-us-btn a {
    background: var(--secondary);
    color: var(--white);
    border-radius: 50px;
    padding: 12px 15px;
    font-weight: 600;
}

.contact-us-btn a:hover{
    background: var(--primary);
   transition: 300ms ease-in-out;
}

/* When scrolled */
#topHeader.scrolled {
    background-color: white;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05); */
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    padding: 2px 0;
    transition: 300ms ease-in-out;
}

/* Optional: reduce margin on content wrapper */
#topHeader.scrolled .mst-flex {
    margin-top: 0;
    border-radius: 10px;
    padding: 5px 20px;
    box-shadow: none !important;
}

#topHeader.scrolled .main-logo {
    padding: 2px 0px;
    transform: scale(0.95);
        border-radius: 0;

}

#topHeader.scrolled .no-scroll {
    display: none;
}

#topHeader.scrolled .main-logo {
    background: transparent;
}

.scroll-show {
    display: none;
}

#topHeader.scrolled .scroll-show {
    display: block;
}

.main-logo img {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

#topHeader.scrolled .main-logo img {
    width: 100px;

}
/* #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu, .mega-sub-menu {

    margin-top: 22px !important;
} */


/* Mega Menu */

.mega-green-box {
    background: var(--secondary) !important;
}

ul.mega-sub-menu {
    overflow: hidden !important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu {
    top: 70px;
}

.mega-green-box .textwidget p, .mega-green-box h4.mega-block-title {
    color: var(--white) !important;
        font-size: 14px;
}

.mega-green-box .textwidget a {
    color: var(--white);
}

.mega-green-box .textwidget a:hover {
    color: var(--primary) !important;
}

.mega-menu-column .mega-sub-menu {
    padding: 40px 40px 0 40px !important;
}

.green-box .mega-sub-menu {
    padding: 10px !important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu {
    margin-top: 20px;
    background: #ffffff;
    border-radius: 10px;
    min-width: 100% !important;
    /* max-width: 110%; */
    border-top: 10px solid var(--secondary);
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:hover, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:focus {
    background: none !important;
    font-weight: normal;
    /* text-decoration: none; */
    color: #bad025;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
    display: block;
    color: var(--primary);
    font-family: inherit;
    font-size: 14px;
    font-weight: normal;
    padding-right: 20px;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
    line-height: 25px;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu {
    padding: 15px 10px 15px 10px;
}


.footer-menu {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    align-items: center;
}

.footer-logo-section,
.footer-links-wrapper {
    flex: 1 1 100%;
}

.footer-links,
.privacy-links {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    
}

/* Footer Responsive */
.footer-logo {
    margin-bottom: 15px;
    
}

.footer-text p {
    margin-top: 30px;
    margin-bottom: 0px !important;
    font-size: 14px;
    color: var(--white);
    max-width: 452px;
}

.privacy-links {
    justify-content: space-between;
}

/* Phone - Tablet*/
@media (max-width: 768px) {
  .privacy-links {
    gap: 1em;
    margin: 30px 0px 00px 0px;
    flex-direction: column;
}  

   #menu-footer-menu {
    margin-top: 30px;
    margin-bottom: 30px;
    flex-direction: column;
    gap: 1em;
}

.footer-menu {
    flex-wrap: wrap;
}
}


@media(max-width:1182px){
    .menu-search-wrap {
    flex-direction: row-reverse;
}
}