/* ════════════════════════════════════════════
   HEADER CSS
   (moved out of inc/header.php inline <style> and css/style.css)
════════════════════════════════════════════ */

/* header start */
header {
  height: 36px;
  line-height: 40px;
  background: #00599af7;
}

.header_info li a {
  color: var(--colorWhite);
  font-size: 14px;
  font-family: var(--paraFont);
  margin-right: 20px;
}

.header_info li:last-child a {
  margin-right: 0;
}

.header_info li a i {
  margin-right: 5px;
}

.header_icon {
  justify-content: end;
  margin-top: 0px;
}

.header_icon li a {
  color: var(--colorWhite);
  font-size: 14px;
  margin-right: 18px;
  transition: all linear .3s;
  -webkit-transition: all linear .3s;
  -moz-transition: all linear .3s;
  -ms-transition: all linear .3s;
  -o-transition: all linear .3s;
}

.header_icon li:last-child a {
  margin-right: 0;
}

/* header end */

/* menu start */
.main_menu {
  width: 100%;
  height: 90px;
  position: relative;
  z-index: 999;
}

.main_menu .navbar-brand {
  margin: 0;
  padding: 0;
  width: 140px;
}

.main_menu .navbar-nav .nav-item {
  position: relative;
}

.main_menu .navbar-nav .nav-item .nav-link {
  color: var(--colorBlack);
  font-family: var(--headingFont);
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  line-height: 90px;
  padding: 0px 15px;
  transition: all linear .3s;
  -webkit-transition: all linear .3s;
  -moz-transition: all linear .3s;
  -ms-transition: all linear .3s;
  -o-transition: all linear .3s;
}

.main_menu .navbar-nav .nav-item .nav-link:hover,
.main_menu .navbar-nav .nav-item .nav-link.active {
  color: var(--colorPrimary);
}

.main_menu .right_menu {
  align-items: center;
}

.main_menu .right_menu li span,
.main_menu .right_menu li .cart_view {
  display: block;
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  background: var(--colorPrimary);
  color: var(--colorWhite);
  padding: 11px;
  margin-right: 10px;
  line-height: 17px;
  cursor: pointer;
  transition: all linear .3s;
  -webkit-transition: all linear .3s;
  -moz-transition: all linear .3s;
  -ms-transition: all linear .3s;
  -o-transition: all linear .3s;
}

.main_menu .right_menu li span:hover,
.main_menu .right_menu li .cart_view:hover {
  background: var(--colorBlack);
}

.main_menu .right_menu li .cart_view b {
  position: absolute;
  top: -5px;
  left: -10px;
  background: var(--colorBlack);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  line-height: 18px;
  text-align: center;
  font-size: 11px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.main_menu .right_menu li a {
  color: var(--colorWhite);
  background: #fcaa33;
  padding: 7px 15px;
  border-radius: 0px 20px;
  font-family: var(--headingFont);
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  text-transform: uppercase;
  transition: all linear .3s;
  -webkit-transition: all linear .3s;
  -moz-transition: all linear .3s;
  -ms-transition: all linear .3s;
  -o-transition: all linear .3s;
}

.main_menu .right_menu li a:hover {
  background: var(--colorBlack);
}

.menu_search {
  background: #000000b8;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  display: flex;
  transform: scaleY(.5);
  transform-origin: top;
  opacity: 0;
  visibility: hidden;
  transition: all linear .2s;
  -webkit-transition: all linear .2s;
  -moz-transition: all linear .2s;
  -ms-transition: all linear .2s;
  -o-transition: all linear .2s;
  -webkit-transform: scaleY(.5);
  -moz-transform: scaleY(.5);
  -ms-transform: scaleY(.5);
  -o-transform: scaleY(.5);
}

.menu_search form {
  width: 650px;
  position: relative;
  background: var(--colorWhite);
  border-radius: 30px;
}

.menu_search form input {
  padding: 20px 30px;
  border-radius: 40px;
}

.menu_search form button {
  position: absolute;
  top: 11px;
  right: 11px;
  background: var(--colorPrimary);
  color: var(--colorWhite);
  padding: 10px 25px;
  font-size: 16px;
  font-weight: 600;
  text-transform: capitalize;
  border-radius: 30px;
  transition: all linear .3s;
  -webkit-transition: all linear .3s;
  -moz-transition: all linear .3s;
  -ms-transition: all linear .3s;
  -o-transition: all linear .3s;
}

.menu_search form button:hover {
  background: var(--colorBlack);
}

.menu_search form .close_search {
  display: block;
  width: 40px;
  height: 40px;
  background: var(--colorWhite);
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  color: var(--colorBlack);
  position: absolute;
  top: -100px;
  right: 0;
  cursor: pointer;
  transition: all linear .3s;
  -webkit-transition: all linear .3s;
  -moz-transition: all linear .3s;
  -ms-transition: all linear .3s;
  -o-transition: all linear .3s;
}

.menu_search form .close_search:hover {
  background: var(--colorPrimary);
  color: var(--colorWhite);
}

.menu_search.show_search {
  transform: scale(1);
  opacity: 1;
  visibility: visible;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
}

.menu_fix {
  position: fixed;
  width: 100%;
  left: 0px;
  top: 0;
  z-index: 999;
  animation: menu_animate 1s;
  background: var(--colorWhite);
  border-bottom: 1px solid #eee;
}

@keyframes menu_animate {
  from {
    transform: translateY(-100%);
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
  }

  to {
    transform: translateY(0%);
    -webkit-transform: translateY(0%);
    -moz-transform: translateY(0%);
    -ms-transform: translateY(0%);
    -o-transform: translateY(0%);
  }
}

.menu_fix .navbar-nav li a {
  color: var(--colorBlack);
}

.main_menu .droap_menu {
  position: absolute;
  width: 230px;
  top: 115%;
  left: 0;
  background: var(--colorWhite);
  max-height: 450px;
  overflow: hidden;
  overflow-y: auto;
  box-shadow: rgb(0 0 0 / 15%) 0px 4px 14px;
  padding-left: 0;
  opacity: 0;
  z-index: 99;
  visibility: hidden;
  transition: all linear .3s;
  -webkit-transition: all linear .3s;
  -moz-transition: all linear .3s;
  -ms-transition: all linear .3s;
  -o-transition: all linear .3s;
}

.droap_menu::-webkit-scrollbar {
  background: #fff;
  width: 5px;
}

.droap_menu::-webkit-scrollbar-thumb {
  background: #ddd;
}

.main_menu .droap_menu li {
  margin-left: 0;
  line-height: 30px;
}

.main_menu .droap_menu li a {
  color: var(--colorBlack);
  font-size: 15px;
  font-weight: 400;
  display: block;
  text-transform: capitalize;
  border-bottom: 1px solid #085e9d17;
  padding: 7px 20px;
  border-left: 1px solid transparent;
  transition: all linear .3s;
  -webkit-transition: all linear .3s;
  -moz-transition: all linear .3s;
  -ms-transition: all linear .3s;
  -o-transition: all linear .3s;
}

.main_menu .droap_menu li a:hover,
.main_menu .droap_menu li a.active {
  color: var(--colorPrimary);
  border-left: 5px solid var(--colorPrimary);
}

.main_menu .nav-item:hover .droap_menu {
  opacity: 1;
  visibility: visible;
  top: 100%;
}

/* menu end */

/* menu 2 start */
.home_2 .main_menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 9999;
}

/* menu 2 end */

/* ── Popup Overlay ── */
#contactPopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
    animation: fadeInOverlay 0.3s ease;
}

#contactPopup.active {
    display: flex;
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.popup-box {
    background: #fff;
    padding: 40px 36px;
    width: 90%;
    max-width: 480px;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: slideUpPopup 0.35s ease;
    font-family: 'Poppins', sans-serif;
}

@keyframes slideUpPopup {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.popup-close {
    position: absolute;
    right: 16px;
    top: 14px;
    cursor: pointer;
    font-size: 20px;
    color: #666;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
    background: none;
    border: none;
}

.popup-close:hover {
    background: #f0f0f0;
    color: #333;
}

.popup-box h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #090919;
    margin-bottom: 6px;
}

.popup-box .popup-sub {
    font-size: 0.88rem;
    color: #666;
    margin-bottom: 24px;
}

.popup-field {
    width: 100%;
    margin-bottom: 14px;
    padding: 12px 16px;
    border: 1px solid rgba(8, 94, 157, 0.2);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #090919;
    background: #f9fbfd;
    transition: all 0.3s;
    box-sizing: border-box;
}

.popup-field:focus {
    outline: none;
    border-color: #085e9d;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(8, 94, 157, 0.1);
}

textarea.popup-field {
    min-height: 90px;
    resize: vertical;
}

.popup-submit {
    background: #085e9d;
    color: white;
    padding: 13px;
    width: 100%;
    border: none;
    border-radius: 0 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 4px;
}

.popup-submit:hover {
    background: #064a7a;
}

.popup-submit:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.popup-spinner {
    display: inline-block;
    width: 13px;
    height: 13px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Popup Toast (inside popup) ── */
#popupToast {
    display: none;
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    text-align: center;
}

#popupToast.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

#popupToast.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}


/* IAS Mega Dropdown — all classes prefixed ias2- to avoid conflicts */
.ias2-mega-wrap {
    position: relative;
}

.ias2-mega-wrap>a::after {
    content: '\f078';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 10px;
    margin-left: 5px;
    opacity: 0.6;
    transition: transform 0.25s, opacity 0.25s;
    display: inline-block;
}

.ias2-mega-wrap:hover>a::after {
    opacity: 1;
}

.ias2-mega-drop {
    position: absolute;
    top: 100%;
    left: 400%;
    transform: translateX(-58%) translateY(0);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.06);
    padding: 22px 22px 16px;
    min-width: 980px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 9999;
    font-family: 'Poppins', sans-serif;
}

.ias2-mega-wrap.ias2-open .ias2-mega-drop {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-58%) translateY(0);
}

.ias2-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 14px;
}

.ias2-cat-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #fff;
    background: #085e9d;
    padding: 10px 10px;
    border-radius: 6px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ias2-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px;
    padding-bottom: 12px;
    margin-bottom: 4px;
    border-radius: 8px;
    border-bottom: 1px dashed #d5dfe8;
    text-decoration: none !important;
    transition: background 0.15s;
    cursor: pointer;
}

.ias2-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.ias2-item:hover {
    background: #f0f6fc;
}

.ias2-icon {
    width: 32px;
    height: 32px;
    background: #e8f1fb;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
    color: #085e9d;
    transition: background 0.15s, color 0.15s;
}

.ias2-item:hover .ias2-icon {
    background: #085e9d;
    color: #fff;
}

.ias2-name {
    font-size: 12.5px;
    font-weight: 600;
    color: #0f0f1a;
    line-height: 1.3;
    display: block;
}

.ias2-desc {
    font-size: 11px;
    color: #999;
    line-height: 1.4;
    display: block;
    margin-top: 1px;
}

.ias2-footer {
    margin-top: 16px;
    padding-top: 13px;
    border-top: 1px solid #eef3f8;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ias2-footer-text {
    font-size: 12px;
    color: #999;
    font-family: 'Poppins', sans-serif;
}

.ias2-footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #085e9d;
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 7px;
    text-decoration: none !important;
    transition: background 0.2s;
    font-family: 'Poppins', sans-serif;
}

.ias2-footer-cta:hover {
    background: #0a72be;
}

/* Insights simple dropdown */
.ias2-simple-wrap {
    position: relative;
}

.ias2-simple-wrap>a::after {
    content: '\f078';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 10px;
    margin-left: 5px;
    opacity: 0.6;
    display: inline-block;
    transition: transform 0.25s, opacity 0.25s;
}

.ias2-simple-drop {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background: #fff;
    border-radius: 11px;
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
    padding: 7px;
    min-width: 210px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 9999;
    font-family: 'Poppins', sans-serif;
}

.ias2-simple-wrap.ias2-open .ias2-simple-drop {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.ias2-simple-drop a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 7px;
    border-bottom: 1px dashed #d5dfe8;
    font-size: 13px;
    color: #333 !important;
    text-decoration: none !important;
    transition: background 0.15s, color 0.15s;
}

.ias2-simple-drop a:last-child {
    border-bottom: none;
}

.ias2-simple-drop a i {
    font-size: 14px;
    color: #aaa;
    transition: color 0.15s;
}

.ias2-simple-drop a:hover {
    background: #f0f6fc;
    color: #085e9d !important;
}

.ias2-simple-drop a:hover i {
    color: #085e9d;
}

.ias2-simple-drop a:hover .ias2-icon {
    background: #085e9d;
    color: #fff;
}

/* ── Mobile Nav: accordion style ─────────────────────────────── */
@media (max-width: 991px) {

    /* Reset desktop absolute positioning */
    .ias2-mega-drop {
        position: static !important;
        transform: none !important;
        min-width: unset !important;
        width: 100% !important;
        box-shadow: none !important;
        border-radius: 10px !important;
        padding: 6px 0 10px !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        background: #f4f8fd !important;
        border: 1px solid #ddeaf6 !important;
        margin: 6px 0 4px !important;
        /* Hidden by default — shown with ias2-open */
        display: none;
        transition: none !important;
    }

    .ias2-mega-wrap.ias2-open .ias2-mega-drop {
        display: block !important;
    }

    /* Single column grid on mobile */
    .ias2-grid {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .ias2-grid>div {
        border-bottom: 1px solid #e2edf7;
        padding-bottom: 4px;
    }

    .ias2-grid>div:last-child {
        border-bottom: none;
    }

    .ias2-cat-label {
        padding: 10px 14px !important;
        background: #085e9d;
        color: #fff;
        border-radius: 6px !important;
        margin-bottom: 6px !important;
        font-size: 9px !important;
    }

    .ias2-item {
        padding: 7px 14px !important;
    }

    .ias2-icon {
        width: 28px !important;
        height: 28px !important;
        font-size: 12px !important;
    }

    .ias2-name {
        font-size: 12px !important;
    }

    .ias2-desc {
        font-size: 10px !important;
    }

    .ias2-footer {
        display: none !important;
    }

    /* Arrow rotate when open */
    .ias2-mega-wrap.ias2-open>a::after,
    .ias2-simple-wrap.ias2-open>a::after {
        transform: rotate(180deg);
        opacity: 1;
    }

    /* Simple dropdown mobile */
    .ias2-simple-drop {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        box-shadow: none !important;
        border-radius: 10px !important;
        padding: 4px 0 !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        background: #f4f8fd !important;
        border: 1px solid #ddeaf6 !important;
        margin: 6px 0 4px !important;
        display: none;
        transition: none !important;
    }

    .ias2-simple-wrap.ias2-open .ias2-simple-drop {
        display: block !important;
    }

    .ias2-simple-drop a {
        padding: 10px 14px !important;
        font-size: 13px !important;
        border-bottom: 1px dashed #d5dfe8;
    }

    .ias2-simple-drop a:last-child {
        border-bottom: none;
    }
}

/* Navbar overflow fix */
.navbar-nav .nav-link {
    white-space: nowrap;
    padding-left: 0.65rem !important;
    /* tighten spacing so 9 items fit */
    padding-right: 0.65rem !important;
    font-size: 0.92rem;
    /* small size reduction helps a lot */
}

/* Hover underline on nav items (desktop only — avoids affecting the mobile stacked menu) */
@media (min-width: 992px) {
    .main_menu .navbar-nav .nav-item .nav-link {
        position: relative;
    }

    .main_menu .navbar-nav .nav-item .nav-link::before {
        content: '';
        position: absolute;
        left: 15px;
        right: 15px;
        bottom: 25px;
        height: 2px;
        background: #dcac1c;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.25s ease;
    }

    .main_menu .navbar-nav .nav-item .nav-link:hover::before,
    .main_menu .navbar-nav .nav-item .nav-link.active::before {
        transform: scaleX(1);
    }
}

.navbar-nav {
    flex-wrap: nowrap;
    /* stop the whole nav from wrapping to 2nd line */
}

.right_menu {
    flex-shrink: 0;
    /* keep "Enquire Now" button from getting squeezed */
}
