

/*  NAVIGATION  */

.hidden {
  display: none;
}

.selected {
  color: #d61f29;
}

.scrollDisable {
  overflow: hidden;
}

header {
  display: flex;
  flex-direction: column;
   position: static;
  background: white;
  border-bottom: 1px solid #efefef;
  position: fixed;
  top: 0;
  z-index: 100000;
  box-shadow: 0 0 10px 10px rgba(0, 0, 0, 0.2);
}

header .logo {
  display: flex;
  justify-content: left;
  align-items: center;
  padding: 5px 0;
  width: 95vw;
  background: white;
}

header .logo img {
  height: 50px;
  cursor: pointer;
}

a span {
  display: none;
}

.topArrow {
  display: none;
}

.header_menu {
  display: none;
  flex-direction: column;
  background: white;
  height: calc(100dvh - 76px);
  /*  height: calc(100dvh - 128px);*/
  /*  height: calc(100svh - 228px);*/
  overflow: hidden;
  overflow-y: scroll;
  color: #696969;
  font-size: 1.0em;
  font-weight: 600;
}

header .search {
  display: none;
  position: fixed;
  padding: 10px;
  bottom: 0;
  width: calc(100% - 20px);
  background: white;
  border-top: 1px solid #efefef;
}

header .search .search_icon {
  position: absolute;
  width: 15px;
  right: 17px;
  top: 18px;
}

header .search input {
  width: calc(100% - 30px);
  height: 20px;
  border: 1px solid #ccc;
  border-radius: 100px;
  padding: 5px 15px;
}

.showSearch {
  display: block !important;
}

.insurtech_main,
.industries_main,
.offerings_main,
.products_main,
.solutions_main,
.bespoke_main,
.company_main,
.resource_main {
  display: flex;
  padding: 10px 20px;
}

.products_main,
.solutions_main,
.bespoke_main,
.resource_main {
  padding: 10px 20px 10px 50px;
}

.main_link {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #ccc;
}

.down {
  background: url("../../assets/icons/down-arrow-black.svg");
  background-repeat: no-repeat;
  background-position: 97% 50%;
}

.up {
  background: url("../../assets/icons/up-arrow-red.svg");
  background-repeat: no-repeat;
  background-position: 97% 50%;
  color: #d61f29;
}

.plus {
  background: url("../../assets/icons/plus.svg");
  background-repeat: no-repeat;
  background-position: 25px 50%;
}

.minus {
  background: url("../../assets/icons/minus.svg");
  background-repeat: no-repeat;
  background-position: 25px 50%;
  color: #d61f29;
}

.show {
  display: flex;
  flex-direction: column;
}

.insurtech_sub a,
.industries_sub a,
.offerings_sub a,
.bespoke_sub a,
.company_sub a,
.resource_sub a {
  border-top: 1px solid #EFEFEF;
  text-decoration: none;
  color: black;
  padding: 10px 10px 10px 50px;
  color: #222;
}

.patents a {
  padding: 10px 20px;
  text-decoration: none;
  color: #696969;
}

.burger {
  background: url("../../assets/icons/burger-open.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 40px 40px;

  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  z-index: 1001;
  right: 0;
  width: 70px;
  height: 70px;

  cursor: pointer;
}

.icon {
  background: url("../../assets/icons/burger-closed.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 40px 40px;
}

.header_right {
  display: flex;
  align-items: center;
}

.demo_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 26px;
  border-radius: 5px;
  background: #000000;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.demo_btn:hover {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 26px;
  border-radius: 5px;
  background: #d50000;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

 

@media only screen and (min-width: 960px) {

  /* body {
    padding: 70px 0 0;
  }*/
  .burger {
    display: none;
  }

  header,
  header .logo,
  .header_menu,
  .header_menu,
  .search,
  .main_link,
  .plus {
    all: unset;
  }

  header {
    -webkit-user-select: none;
    /* Safari */
    -ms-user-select: none;
    /* IE 10 and IE 11 */
    user-select: none;
    /* Standard syntax */
    padding: 7px;
    display: flex;
    flex-direction: row;
    column-gap: 10%;
    width: 100%;
    justify-content: left;
    background: white;
    box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.05);
    position: fixed;
    z-index: 100000;
    top: 0;
  }

  header .logo {
    width: 210px;
    height: 70px;
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 5px;
  }

  .topArrow {
    display: flex;
  }

  header .search .search_icon {
    top: 28px;
  }

  a span {
    display: inline-block;
    /*    padding: 5px;*/
    font-size: 12px;
    /*    border-bottom: 1px solid #efefef;*/
  }


  .header_menu {
    display: flex;
    flex-direction: row;
    border-top: none;
    padding: 5px 0 0;
    width: 66%;
    justify-content: space-around;
    align-items: center;
    height: auto;
    font-size: 1.0em;
    font-weight: 600;
    color: #696969;
  }

  .main_link {
    border-top: none;
  }

  .down,
  .up,
  .plus,
  .minus {
    background: none;
  }

  /*  span:focus {
    border: 1px solid blue;
  }*/


  /* FOOTER  

  .footer_list {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  .link_list .list {
    flex-wrap: nowrap;
    flex-direction: column;
  }
  .logoSocial .social a {
    flex-direction: row;
    justify-content: center;
    column-gap: 10px;
  }
/* FOOTER END */

  /* CTA BAR */
  .cta_bar {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .cta_left {
    width: 300px;
  }

  .cta_right {
    width: 285px;
  }

  /* CTA BAR END */

}


/*navigation*/
/* Parent */
/* ===========================
   NAVIGATION
=========================== */

header {
     position:fixed;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  background: #fff;
  border-bottom: 1px solid #ececec;
  z-index: 999;
}
header{
    overflow:visible;
}

.navbar{
    overflow:visible;
}

.dropdown{
    position:relative;
}
.logo {
  flex-shrink: 0;
}

.logo img {
  height: 48px;
  display: block;
}

.header_menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-action {
  margin-left: 28px;
}

.nav-item {
  position: relative;
  list-style: none;
}

.dropdown {
  position: relative;
}

.dropdown>a {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 88px;
  padding: 0 12px;
  text-decoration: none;
  color: #555;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .4px;
  transition: .25s;
}

.dropdown>a:hover {
  color: #d60000;
}

.dropdown>a i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-left: 2px;
  color: #666;
  transition: transform .3s ease;
}

.dropdown:hover>a i {
  transform: rotate(180deg);
  color: #d60000;
}

.menu-item i {
  font-size: 16px;
  color: #555;
  transition: .3s;
  margin-left: auto;
}

.menu-item:hover i,
.menu-item.active i {
  color: #d60000;
}

.mega-menu{
    position:absolute;
    top:100%;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    background:#fff;
    border-radius:18px;
    box-shadow:0 20px 60px rgba(0,0,0,.12);
    transition:all .3s ease;
    z-index:999;
}
.dropdown:hover>.mega-menu {

  opacity: 1;

  visibility: visible;

  pointer-events: auto;

}

.offerings .mega-menu {

  width: min(1400px, calc(100vw - 60px));
      top:calc(100% - 2px);

}

.mega-left{
    width:50%;
    background:#F4F6F8;
    padding:2%;
    border-radius: 18px;
}

.mega-right{
    width:70%;
    border-left:none;
    padding:3%;
    min-height:auto;
    border-radius: 18px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  margin-bottom: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: .25s;
  border-radius: 10px;
}
.menu-item{
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.menu-item:hover,
.menu-item.active{
    background: #fff;
    border-left-color: #d60000;
}

.menu-item:hover span,
.menu-item:hover a,
.menu-item.active span,
.menu-item.active a{
    color: #d60000;
}

.menu-item:hover i,
.menu-item.active i{
    color: #d60000;
}
.menu-item i {

  font-size: 18px;

}
 
.submenu {
  display: none;
}

.submenu.active {
  display: block;
}

.submenu>a {
  display: block;
  margin-bottom: 28px;
  text-decoration: none;
}

.submenu h4 {
  color: #d60000;
  font-size: 17px;
}

.submenu p {
  margin: 0;
  color: #666;
  line-height: 1.5;
  font-size: 14px;
}

.submenu-grid {
  display: grid;
  grid-template-columns: repeat(2, 280px);
  gap: 24px 40px;
}

.submenu-grid>a {
  display: block;
}

.submenu-grid h4 {
  margin: 0 0 8px;
  color: #d60000;
  font-size: 17px;
  margin-bottom: 4px;
}

.submenu-grid p {
  margin: 0;
  color: #555;
  line-height: 1.35;
  font-size: 14px;
}




/*offering-submenu */
/* Offerings Mega Menu */
.offerings .mega-left{
    width:240px;
    min-width:220px; 
    padding:10px;
}

.offerings .mega-right{
    flex:1;
}
.offerings .offering-submenu {
    display:none;
}


.offerings .offering-submenu.active {
    display:block;
}

.offering-submenu>a {
  display: block;
  margin-bottom: 28px;
  text-decoration: none;
}

.offering-submenu h4 { 
  color: #d60000;
  font-size: 17px;
}

.offering-submenu p {
  margin: 0;
  color: #666;
    font-size: 13px;
  line-height: 1.5;
}

.offering-submenu-grid {
  display: grid;
  grid-template-columns: repeat(2, 280px);
  gap: 24px 40px;
}

.offering-submenu-grid>a {
  display: block;
}

.offering-submenu-grid h4 {
  margin: 0 0 8px;
  color: #d60000;
  font-size: 17px;
  margin-bottom: 4px;
}

.offering-submenu-grid p {
  margin: 0;
  color: #555;
  line-height: 1.35;
  font-size: 14px;
}

.mega-right::-webkit-scrollbar {

  width: 6px;

}

.mega-right::-webkit-scrollbar-thumb {

  background: #d2d2d2;

  border-radius: 50px;

}

.demo-btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 13px 28px;

  background: #d60000;

  color: #fff;

  border-radius: 40px;

  text-decoration: none;

  font-weight: 700;

  transition: .25s;

}

.demo-btn:hover {

  background: #b60000;

}
/* =====================================================
   Laptop Fix (1251px - 1499px)
===================================================== */

@media (min-width:1201px) and (max-width:1499px){

    header{
        padding:0 28px;
    }

    .navbar{
        gap:10px;
    }

    .dropdown > a{
        padding:0 8px;
        font-size:14px;
    }

    .header-action{
        margin-left:16px;
    }

    .demo-btn{
        padding:12px 20px;
        font-size:14px;
    }

    /* Offerings */
    .offerings .mega-menu{
        width:min(1180px, calc(100vw - 80px));
    }

    /* InsurTech */
    .insurtech .mega-menu{
        width:min(900px,calc(100vw - 50px));
    }

    /* About */
    .about-menu .mega-menu{
        width:min(520px,calc(100vw - 50px));
    }

    .submenu-grid,
    .offering-submenu-grid{
        grid-template-columns:repeat(2,minmax(220px,1fr));
        gap:20px;
    }

}
@media(max-width:1200px) {

  header {

    padding: 0 30px;

  }

  .mega-menu {
    width: calc(100vw - 40px);
  }


}
 
/* =========================
   MOBILE / TABLET NAVIGATION
========================= */
@media (max-width:995px){

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:72px;
    padding:0 16px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:#fff;
    border-bottom:1px solid #ececec;
    z-index:9999;
}

.logo img{height:38px;}

.burger{
    display:block;
    z-index:10001;
}

.header_menu{
    position:fixed;
    top:72px;
    left:-100%;
    width:100%;
    height:calc(100vh - 72px);
    background:#fff;
    overflow-y:auto;
    transition:left .35s ease;
    z-index:9998;
    padding:0;
}

.header_menu.show{left:0;}

.navbar{
    display:flex;
    flex-direction:column;
    gap:0;
    margin:0;
    padding:0;
}

.nav-item{
    width:100%;
    
}
  .mega-menu{
        position:static;
        display:none;
        width:100%;
        max-width:100%;
        transform:none;
        opacity:1;
        visibility:visible;
        pointer-events:auto;
        box-shadow:none;
        border-radius:0;
        flex-direction:column;
    }

    .dropdown.mobile-open > .mega-menu{
        display:block;
    }
.dropdown>a,
.nav-item>a{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:16px 20px;
    height:auto;
}

.dropdown>.mega-menu{
    display:none;
    position:static;
    width:100%;
    opacity:1;
    visibility:visible;
    transform:none;
    box-shadow:none;
    border-radius:0;
}

 

.mega-left,
.mega-right{
    width:100%;
    border:none;
    padding:16px;
}

.submenu-grid,
.offering-submenu-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:16px;
}

.header-action{
    width:100%;
    padding:20px;
}

.demo-btn{
    display:block;
    width:100%;
    text-align:center;
}
}

@media (max-width:576px){

header{
    height:64px;
    padding:0 12px;
}

.logo img{
    height:34px;
}

.header_menu{
    top:64px;
    height:calc(100vh - 64px);
}

.dropdown>a,
.nav-item>a{
    padding:14px 16px;
    font-size:14px;
}
}






@media (max-width:1280px) {
  .mega-menu {
    width: calc(100vw - 40px);
    max-width: none;
  }
}

.patents_sub,
.patents_sub:hover,
.patents_sub:focus,
.patents_sub:visited {
  text-decoration: none;
  color: #555;
  /* or your desired color */
}

/* Remove underline from all navigation links */
.header_menu a,
.nav-item a,
.dropdown>a,
.mega-menu a,
.demo-btn {
  text-decoration: none;
}


.header_menu a:hover,
.mega-menu a:hover {
  text-decoration: none;
}

.simple-dropdown {
  position: relative;
}

.simple-menu {
  position: absolute;
  font-size: 16px;
  top: 100%;
  left: 0;
  min-width: 300px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .12);
  padding:  14px 16px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: .25s;
   font-weight: 500;
}
  
.simple-dropdown:hover .simple-menu {
  opacity: 1;
  visibility: visible;
}

.simple-menu li {
  list-style: none;
}

.simple-menu a {
  display: block;
  padding: 12px 20px;
  color: #555;
  
}

.simple-menu a:hover {
  background: #f5f5f5;
  border-left-color: #d61f29;
  color: #d60000;
  border-radius: 12px;
  font-weight: 700;
}

.about-menu .mega-menu {
  left: auto;
  right: 0;
  transform: none;
  width: 520px;
}

.insurtech .mega-menu {
  width: min(900px, calc(100vw - 40px));
  left:50%;
    transform:translateX(-50%);
}

.offerings .mega-menu {
width:min(1100px,calc(100vw - 80px));
    left:50%;
    transform:translateX(-50%);
  }

.about-menu .mega-menu{
    width:min(620px,calc(100vw - 80px));
    right:0;
    left:auto;
    transform:none;
}
.menu-item a{
    display:block;
    width:100%;
    color:inherit;
    text-decoration:none;
}
.about-menu .mega-left{
    width: 50%; 
    border-radius: 18px;
}

/* =========================================
   Large Laptop (1400px - 1500px)
=========================================*/
@media (max-width:1500px){

    header{
        padding:0 28px;
    }

    .navbar{
        gap:14px;
    }

    .dropdown > a{
        padding:0 8px;
        font-size:14px;
    }

    .header-action{
        margin-left:18px;
    }

    .demo-btn{
        padding:12px 20px;
        font-size:14px;
    }

    .offerings .mega-menu{
        width:1100px;
    }

    .insurtech .mega-menu{
        width:850px;
    }

    .about-menu .mega-menu{
        width:580px;
    }
}
@media (max-width:1400px){

    .navbar{
        gap:16px;
    }

    .dropdown > a{
        font-size:14px;
        padding:0 8px;
    }

    .demo-btn{
        padding:12px 22px;
    }
}
/* =====================================================
   SMALL LAPTOP / TABLET (992px - 1251px)
===================================================== */

@media (min-width:992px) and (max-width:1251px){

    header{
        height:72px;
        padding:0 20px;
    }

    .logo img{
        height:40px;
    }

    .navbar{
        gap:8px;
    }

    .dropdown > a{
        height:72px;
        padding:0 8px;
        font-size:13px;
        letter-spacing:0;
    }

    .header-action{
        margin-left:12px;
    }

    .demo-btn{
        padding:10px 18px;
        font-size:13px;
    }

    /* Mega Menus */

    .offerings .mega-menu{
        width:min(940px, calc(100vw - 40px));
    }

    .insurtech .mega-menu{
        width:min(820px, calc(100vw - 40px));
    }

    .about-menu .mega-menu{
        width:min(520px, calc(100vw - 40px));
    }

    .mega-left{
        width:220px;
        min-width:220px;
        padding:12px;
    }

    .mega-right{
        flex:1;
        padding:20px;
    }

    .submenu-grid,
    .offering-submenu-grid{
        grid-template-columns:repeat(2,minmax(180px,1fr));
        gap:18px;
    }

    .submenu h4,
    .offering-submenu h4{
        font-size:15px;
    }

    .submenu p,
    .offering-submenu p{
        font-size:13px;
    }

}

/* ===========================================================
   RESPONSIVE NAVIGATION
   1100px and below
=========================================================== */
@media screen and (max-width:1100px){

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:72px;
    padding:0 20px;
    display:flex;
    align-items:center;
    justify-content:flex-start;   /* changed */
    background:#fff;
    border-bottom:1px solid #ececec;
    box-sizing:border-box;
    z-index:9999;
}

.logo{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    flex:1;
}

header .logo img {
    height: 43px;
    cursor: pointer;
}
/* =========================
   Burger
========================= */

.burger{
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    cursor:pointer;

    position:absolute;
    right:20px;
    top:50%;
    transform:translateY(-50%);

    flex-shrink:0;
    z-index:10001;
}
/* =========================
   Mobile Drawer
========================= */

.header_menu{
    position:fixed;
    top:72px;
    left:0;
    width:100vw;
    height:calc(100vh - 72px);
    background:#fff;
    overflow-y:auto;
    overflow-x:hidden;

    transform:translateX(-100%);
    transition:transform .35s ease;

    z-index:9998;
    display:block;
    padding:0;
}

.header_menu.show{
    transform:translateX(0);
}

/* =========================
   Menu List
========================= */

.navbar{
  display:block;
  margin: 3%;
}


.dropdown>a{
 display:flex;
    justify-content:space-between;
    align-items:center;
    padding:22px 24px;
    font-size:18px;
    font-weight:600; 

}
.nav-item>a{
 display:flex;
    justify-content:space-between;
    align-items:center;
    padding:22px 24px;
    font-size:18px;
    font-weight: 700; 

}
.demo-btn{
  color:#000;
}


/* =========================
   Desktop Hover OFF
========================= */

.dropdown:hover>.mega-menu{

    display:none;

}

/* =========================
   Mobile Open
========================= */

.dropdown.mobile-open>.mega-menu{

    display:flex;

}

/* =========================
   Mega Menu
========================= */

.mega-menu{
  display:none;
    position:static;
    width:100%;
    background:#fafafa;
    border-radius:0;
    box-shadow:none;
    opacity:1;
    visibility:visible;
    transform:none;
    flex-direction:column;
    padding:0;
}

/* =========================
   Left Panel
========================= */

.mega-left{
    width: 90% !important;
    background:#f9f9f9;
    padding:0;
    border-radius:0;
}

.menu-item{

    padding:16px 20px;

    margin:0;

    border-bottom:1px solid #ececec;

    border-radius:0;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

/* =========================
   Right Panel
========================= */

.mega-right{

    width:100%;

    padding:20px;

    border:none;

    max-height:none;

    overflow:visible;

}

/* =========================
   Product Grid
========================= */

.submenu-grid,
.offering-submenu-grid{

    display:grid;

    grid-template-columns:1fr;

    gap:14px;

}

  .submenu-grid a,
  .submenu-grid > a,
  .offering-submenu-grid a,
  .offering-submenu-grid > a,
  .menu-item,
  .simple-menu a,
  .mega-right,
  .mega-left {
    box-sizing: border-box;
  }

  .submenu-grid a,
  .offering-submenu-grid a{

    display:block;

    padding:14px;

    border:1px solid #efefef;

    border-radius:10px;

    background:#fff;

}

.submenu h4,
.offering-submenu h4{

    font-size:15px;

    margin-bottom:6px;

}

.submenu p,
.offering-submenu p{

    font-size:13px;

    line-height:1.5;

}

/* =========================
   Demo Button
========================= */

.header-action{

    width:50%;

    padding:20px;

    margin:0;

}

.demo-btn{
    width:100%;
    justify-content:center;
    color:#fff;
    padding:14px 20px;
}

.offerings .mega-menu,
.about-menu .mega-menu,
.insurtech .mega-menu{

    left:0;

    right:0;

    width:100% !important;

}
/* =========================
   SIMPLE MENU MOBILE
========================= */

.simple-dropdown {
    position: relative;
}


.simple-menu {

    position: static;
    width:100%;
    min-width:100%;

    background:#fafafa;

    border-radius:0;

    box-shadow:none;

    padding:0;
    margin:0;

    list-style:none;

    opacity:1;
    visibility:visible;

    display:none;

    transition:none;

}


.simple-dropdown.active .simple-menu {

    display:block;

}


/* submenu links */
 

.simple-menu a {
    display:block;
    padding:16px 35px;
    color:#555;
    text-decoration:none;
    font-size:17px;
    font-weight: 600;
    background:#fff;
}


.simple-menu a:hover {

    background:#f5f5f5;

    color:#d60000;

}


/* arrow rotation if available */

.simple-dropdown.active i {

    transform:rotate(180deg);

    color:#d60000;

}
    .dropdown > .mega-menu{
        display:none;
        position:static;
        width:100%;
        opacity:1;
        visibility:visible;
        transform:none;
        box-shadow:none;
    }


    .dropdown.mobile-open > .mega-menu{
        display:flex !important;
    }


    /* Offerings specifically */
    .offerings.mobile-open > .mega-menu,
    .insurtech.mobile-open > .mega-menu,
    .about-menu.mobile-open > .mega-menu{

        display:flex !important;

    }


    .mega-menu .mega-left,
    .mega-menu .mega-right{
        width:80%;
    }


    .mega-left .menu-item{

        display:flex;
        justify-content:space-between;
        align-items:center;

    }


    .mega-right{

        display:block;

    }
}

 
/* ===========================================================
   Mobile
=========================================================== */

@media (max-width:767px){

header{
    height:64px;
    padding:0 14px;
}

.logo img{
    height:34px;
}

.header_menu{
    top:64px;
    height:calc(100vh - 64px);
}

.dropdown>a,
.nav-item>a{
    padding:16px;
    font-size:16px;
}

.demo-btn{
    font-size:15px;
}

}

/* ===========================================================
   Mobile Drawer Final Override
=========================================================== */
@media screen and (max-width:1100px){
  body.scrollDisable {
    overflow: hidden;
    touch-action: none;
  }

  header {
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
    z-index: 100000;
  }

  /*header .logo {
    width: auto;
    min-width: 0;
    padding: 0;
    background: transparent;
  }*/

  .burger {
    display: flex;
    background-image: url("../../assets/icons/burger-closed.svg") !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 40px 40px;
  }

  .burger.active {
    background-image: url("../../assets/icons/burger-open.svg");
  }

  .header_menu {
          position: fixed;
        top: 72px;
        left: 0;
        width: 100vw;
        height: calc(100vh - 72px);
        background: #fff;
        overflow-y: auto;
        overflow-x: hidden;
        transform: translateX(-100%);
        transition: transform .35s ease;
        z-index: 9998;
        display: block;
        padding: 0;
  }

  .header_menu.show {
    transform: translateX(0);
  }

  .navbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 90%;
    margin: 3%;
    padding: 8px 0 24px;
    list-style: none;
    box-sizing: border-box;
  }

  .nav-item,
  .dropdown,
  .simple-dropdown {
    width: 100%;
  }

  .dropdown > a,
  .nav-item > a {
    width: 100%;
    min-height: 56px;
    height: auto;
    padding: 16px 20px;
    justify-content: space-between;
    box-sizing: border-box;
    border-bottom: 1px solid #ececec;
    color: #222;
  }

  .dropdown > a i,
  .menu-item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    font-size: 14px;
    line-height: 1;
    margin-left: auto;
    transition: transform .25s ease, color .25s ease;
  }

  .dropdown:hover > a i,
  .simple-dropdown:hover > a i {
    color: #666;
    transform: none;
  }

  .dropdown.mobile-open > a,
  .simple-dropdown.active > a {
    color: #d60000;
  }

  .dropdown.mobile-open > a i,
  .simple-dropdown.active > a i {
    color: #d60000;
    transform: rotate(180deg);
  }

  .menu-item i {
    transform: rotate(90deg);
  }

  .menu-item.active i {
    color: #d60000;
    transform: rotate(-90deg);
  }

  .dropdown:hover > .mega-menu,
  .simple-dropdown:hover .simple-menu {
    display: none;
    opacity: 1;
    visibility: visible;
  }

  .dropdown > .mega-menu,
  .offerings .mega-menu,
  .about-menu .mega-menu,
  .insurtech .mega-menu {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    width: 100% !important;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    background: #fafafa;
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, opacity .25s ease;
  }

  .dropdown.mobile-open > .mega-menu {
    display: flex !important;
    max-height: 3000px;
    opacity: 1;
  }

  .simple-menu {
    position: static;
    width: 100%;
    min-width: 0;
    display: block;
    padding: 0;
    margin: 0;
    background: #fafafa;
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    visibility: visible;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, opacity .25s ease;
  }

  .simple-dropdown.active .simple-menu {
    display: block;
    max-height: 320px;
    opacity: 1;
  }

  .mega-left,
  .about-menu .mega-left,
  .offerings .mega-left,
  .mega-menu .mega-left,
  .mega-menu .mega-right {
    width: 100% !important;
    min-width: 0;
    padding: 0;
    border-radius: 0;
    box-sizing: border-box;
   
  }

  .mega-right {
    padding: 0;
    overflow: visible;
  }

  .mega-left > .submenu,
  .mega-left > .offering-submenu {
    width: 100%;
    display: block !important;
    max-height: 0;
    padding: 0;
    background: #fafafa;
    opacity: 0;
    overflow: hidden;
    box-sizing: border-box;
    transition: max-height .35s ease, opacity .25s ease, padding .25s ease;
  }

  .mega-left > .submenu.active,
  .mega-left > .offering-submenu.active {
    max-height: 1400px !important;
    padding: 5%;
    opacity: 1;
  }

  .submenu-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
  }

  .header-action {
    width: 100%;
    padding: 16px 20px 24px;
    margin: 0;
    box-sizing: border-box;
  }

  .header-action .demo-btn {
    width: 100%;
    color: #fff;
    box-sizing: border-box;
  }
}

@media screen and (max-width:767px){
  .header_menu {
    top: 64px;
    height: calc(100dvh - 64px);
  }
}
.simple-menu li {
    position: relative;
}

/* Hide submenu by default */
.sub-menu {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 220px;
    background: #fff;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    display: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 999;
}

/* Show submenu on hover */
.has-submenu:hover > .sub-menu {
    display: block;
}

.sub-menu li a {
    display: block;
    padding: 10px 18px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
}

.sub-menu li a:hover {
    background: #f5f5f5;
}

.submenu-arrow {
    float: right;
    font-size: 12px;
    margin-top: 4px;
}
.submenu-parent{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.submenu-toggle{
    cursor:pointer;
    padding:10px;
}



/*==========================
  INSURTECH MEGA MENU
==========================*/

.insurtech-menu .mega-menu{
    position: absolute;
    top: 100%;
    left: 0;
    display: flex;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0,0,0,.12);
    min-width: 520px;
    overflow: hidden; 
    margin-bottom: 8px;
    font-size: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: .3s ease;
    z-index: 999;
}

.insurtech-menu:hover .mega-menu{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.insurtech-menu .submenu{
    display: none;
}

.insurtech-menu .submenu.active{
    display: block;
}
/*==========================
  LEFT PANEL
==========================*/

.insurtech-menu .mega-left{
    width: 230px;
    background: #F4F6F8;
    border-right: 1px solid #ededed;
    padding: 12px 5px;
}

.insurtech-menu .menu-item{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 22px;
    cursor: pointer;
    transition: .25s;
}

.insurtech-menu .menu-item a,
.insurtech-menu .menu-item span{
    color: #222;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color .3s ease;
}
.insurtech-menu .menu-item i{
    color: #222;
    transition: color .3s ease;
}

/* Hover & Active */

.insurtech-menu .menu-item:hover,
.insurtech-menu .menu-item.active{
    background: #fff;      /* Keep background white */
}

.insurtech-menu .menu-item:hover a,
.insurtech-menu .menu-item:hover span,
.insurtech-menu .menu-item.active a,
.insurtech-menu .menu-item.active span{
    color: #d61f29;        /* Red text */
}

.insurtech-menu .menu-item:hover i,
.insurtech-menu .menu-item.active i{
    color: #d61f29;        /* Red arrow */
}
.insurtech-menu .menu-item{
    border-left: 3px solid transparent;
}

.insurtech-menu .menu-item:hover,
.insurtech-menu .menu-item.active{
    border-left-color: #d61f29;
}

/*==========================
  RIGHT PANEL
==========================*/

.insurtech-menu .mega-right{
    width: 320px;
    padding: 20px;
    background: #fff;
}

.insurtech-menu .submenu{
    display: none;
}

.insurtech-menu .submenu.active{
    display: block;
}

.insurtech-menu .submenu a{
    display: block;
    text-decoration: none;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}

.insurtech-menu .submenu a:last-child{
    border-bottom: none;
}

.insurtech-menu .submenu h4{
    margin: 0 0 6px;
    font-size: 16px;
    color: #222;
    transition: .3s;
}

.insurtech-menu .submenu p{
    margin: 0;
    font-size: 13px;
    color: #777;
    line-height: 1.6;
}

.insurtech-menu .submenu a:hover h4{
    color: #d61f29;
}


/*==========================
  RESPONSIVE
==========================*/

@media (max-width:991px){

    .insurtech-menu .mega-menu{
        position: static;
        display: block;
        min-width: 100%;
        box-shadow: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .insurtech-menu .mega-left{
        width: 100%;
        border-right: none;
    }

    .insurtech-menu .mega-right{
        width: 100%;
        border-top: 1px solid #ededed;
    }

}
@media (max-width: 1100px) {

    .insurtech-menu .submenu a {
        display: block;
        padding: 14px;
        border: 1px solid #efefef;
        border-radius: 10px;
        background: #fff;
        margin-bottom: 10px;
    }

    .insurtech-menu .submenu a:last-child {
        margin-bottom: 0;
    }

}


/* =========================================================
   INDUSTRIES DROPDOWN - SAME HOVER EFFECT AS INSURTECH
========================================================= */

/* Parent dropdown */
.simple-dropdown {
    position: relative;
}

/* Industries dropdown menu */
.simple-dropdown .simple-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 300px;
    padding: 12px;
    margin: 0;
    background: #F4F6F8;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    margin-bottom: 20px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 9999;
}

/* Show dropdown on hover */
.simple-dropdown:hover .simple-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Individual menu item */
.simple-dropdown .simple-menu li {
    position: relative;
    list-style: none;
    margin: 5px;
}

/* Links */
.simple-dropdown .simple-menu li a {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 18px; 
    color: #222;
    border-left: 3px solid transparent;
    border-radius: 10px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    gap: 8px;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        padding-left 0.25s ease;
}

/* HOVER EFFECT */
.simple-dropdown .simple-menu li a:hover {
    background: #fff;
     gap: 8px;
    color: #d61f29;
    border-left-color: #d61f29;
    padding-left: 22px;
}

/* Parent INDUSTRIES text */
.simple-dropdown > a {
    transition: color 0.25s ease;
}

/* Parent hover */
.simple-dropdown:hover > a {
    color: #d61f29;
}

/* Parent chevron */
.simple-dropdown > a i {
    transition:
        color 0.25s ease,
        transform 0.3s ease;
}

/* Rotate + red chevron */
.simple-dropdown:hover > a i {
    color: #d61f29;
    transform: rotate(180deg);
}


/* =========================================================
   MOBILE
========================================================= */

@media screen and (max-width: 1100px) {

    .simple-dropdown .simple-menu {
        position: static;

        width: 100%;
        min-width: 0;
   gap: 8px;
        padding: 0;
        margin: 0; 

        border-radius: 0;
        box-shadow: none;

        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform: none;

        display: none;
    }

    /* Open mobile dropdown */
    .simple-dropdown.active .simple-menu {
        display: block;
    }

    /* Mobile links */
    .simple-dropdown .simple-menu li a {
        padding: 16px 35px;
        color: #555;
        border-left: 3px solid transparent;
        border-radius: 0;
        font-size: 16px;
    }

    /* Mobile hover */
    .simple-dropdown .simple-menu li a:hover {
        background: #fff;
        color: #d61f29;
        border-left-color: #d61f29;
        padding-left: 40px;
    }

    /* Mobile active parent */
    .simple-dropdown.active > a {
        color: #d61f29;
    }

    .simple-dropdown.active > a i {
        color: #d61f29;
        transform: rotate(180deg);
    }
}