

/*  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:hover,
.menu-item.active {
  background: #fff;
  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: 240px;
  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;
  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,
.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;
}

}