/*=============== HEADER ===============*/
.header {
  /* position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  margin-bottom: 8rem;
  z-index: 9999; */
  /* width: 100%;
  height: fit-content;
  position: fixed;
  width: 100%;
  z-index: 9999;
  margin-bottom: 4rem; */
  height: fit-content;
  width: 100%;
  isolation: isolate;
  /* position: sticky; */
  top: 0px;
  z-index: 9999;
  position: fixed;
}

/*=============== NAV ===============*/
.blur-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.1);
  display: none;
  z-index: 9998; 
  pointer-events: none;
  transition: backdrop-filter 0.3s ease;
}
/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
  background: rgba(249, 248, 245, .4);
  background:  rgb(249 248 245 / 80%);
  -webkit-backdrop-filter: blur(100px);
  backdrop-filter: blur(100px);
  margin-top: 1rem;
  padding: 0 2rem;
  border-radius: 1.25rem;
  --ob-navbar-nav-link-padding-x: 0.5rem;
  -webkit-box-shadow: 0 0 20px 0 rgba(69, 80, 115, .1);
  box-shadow: 0 0 5px 0 rgb(2 36 76 / 26%);
  /* max-width: 1300px; */
  max-width: 90%;
  /* margin-inline: 1.5rem; */
  margin-inline: auto;
}
/*=============== REUSABLE CSS CLASSES ===============*/


.nav__data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  column-gap: 0.25rem;
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  transition: color 0.3s;
}
.nav__logo img{
/* width: 8vw; */
width: 100px;
}
.nav__logo i {
  font-size: 1.25rem;
}
.nav__logo:hover {
  color: var(--first-color);
}


.hamburger {
  cursor: pointer;
}

.hamburger input {
  display: none;
}

.hamburger svg {
  /* The size of the SVG defines the overall size */
  height: 2em;
  margin-top: 6px;
  /* Define the transition for transforming the SVG */
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line {
  fill: none;
  stroke: #0F3A5D;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  /* Define the transition for transforming the Stroke */
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
              stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line-top-bottom {
  stroke-dasharray: 12 63;
}

.hamburger input:checked + svg {
  transform: rotate(-45deg);
}

.hamburger input:checked + svg .line-top-bottom {
  stroke-dasharray: 20 300;
  stroke-dashoffset: -32.42;
}


@media screen and (max-width: 1118px) {
  .nav__menu {
    background-color: var(--body-color);
    position: absolute;
    left: 0;
    top: 2.5rem;
    width: 100%;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    padding-block: 1.5rem 4rem;
    pointer-events: none;
    opacity: 0;
    transition: top 0.4s, opacity 0.3s;
  }
  
  .nav__menu::-webkit-scrollbar {
    width: 0.5rem;
  }
  .nav__menu::-webkit-scrollbar-thumb {
    background-color: hsl(220, 12%, 70%);
  }
}
.nav__link {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
  font-weight: 500;
  font-size: 1.25rem;
  color: #0d1630;
}
.nav__link:hover {
  background-color: var(--first-color-lighten);
}

/* Show menu */
.show-menu {
  opacity: 1;
  top: 4rem;
  pointer-events: initial;
  border-radius: 1rem;
}



/*=============== DROPDOWN ===============*/
.dropdown__button {
  cursor: pointer;
}

.dropdown__content, .dropdown__group, .dropdown__list {
  display: grid;
  /* justify-content: center; */
  justify-content: start;
}
.dropdown__container {
  background-color: rgb(246 246 246);
  height: 0;
  overflow: hidden;
  transition: height 0.1s;
  border-radius: 1.15rem;
  
}
.dropdown__content {
  row-gap: 1.75rem;
}
.dropdown__group {
  padding-left: 2.5rem;
  row-gap: 0.5rem;
}
.dropdown__group:first-child {
  margin-top: 1.25rem;
}
.dropdown__group:last-child {
  margin-bottom: 1.25rem;
}
.dropdown__title {
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}
.dropdown__list {
  row-gap: 0.25rem;
}
.dropdown__link {
  transition: color 0.3s;
  color:#02244c;
  font-weight: 600;
}
.fs_large{
  font-size: 1.25rem;
}
.dropdown__link:hover::after{
  display: inline-block;
  padding-left: 5px;
  content: "➞";
  transition: transform 2s ease-in;
}
.dropdown__link::after:hover{
  padding-left: 8px;
}
.dropdown__link:hover {
  color: var(--title-color);
}

/* Rotate dropdown icon */
.show-dropdown .dropdown__arrow {
  transform: rotate(180deg);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 1300px) {
  .dropdown__title {
    font-size: 17px;
  }
  .dropdown__list{
    /* width: 12rem !important; */
  }
}

@media screen and (max-width: 950px) {
  .nav__logo img{
    width: 55px;
  }
}
@media screen and (max-width: 720px) {


  .dropdown__content-flex{
    justify-content: space-evenly;
    padding: 1.5rem 14px;
  }

  .dropdown__list span{
    font-size: 14px;
  }
  .title > p {
    font-size: 40px;
    line-height: 5rem;
    letter-spacing: -1.3px;
    margin: 0 1rem;
  }
  .nav__logo img{
    width: 45px;
  }
  .nav__menu {
    /* height: calc(65vh - 3.5rem); */
    height: auto ;
  }
  .dropdown__img{
    display: none;
    width: 310px;
    border-radius: 1.25rem;
    box-shadow: 6px 2px 8px 4px #00000052;
  }
}
@media screen and (max-width: 300px) {
  .dropdown__group {
    padding-left: 1.5rem;
  }

  .dropdown__content, .dropdown__group, .dropdown__list{
    justify-content: start;
  }
}
/* For large devices */
@media screen and (min-width: 1118px) {
  /* Nav */
  .nav {
    height: calc(var(--header-height) + 2rem);
    display: flex;
    justify-content: space-between;
  }
  .hamburger {
    display: none;
  }
  .nav__list {
    display: flex;
    column-gap: 1.5rem;
    height: 100%;
  }
  .nav li {
    display: flex;
  }
  .nav__link {
    padding: 0;
  }
  .nav__link:hover {
    background-color: initial;
  }
  /* Dropdown */
  .dropdown__button {
    column-gap: 0.25rem;
    pointer-events: none;
  }
  .dropdown__container {
    height: max-content;
    position: absolute;
    left: 0;
    right: 0;
    top: 6.5rem;
    background-color:rgb(249 248 245);
    box-shadow: 0 6px 8px hsla(220, 68%, 12%, 0.05);
    pointer-events: none;
    opacity: 0;
    transition: top 0.4s, opacity 0.3s;
  }
  .dropdown__content {
    grid-template-columns: repeat(3, max-content);
    column-gap: 6rem;
    max-width: 1120px;
    margin-inline: auto;
  }
  .dropdown__content-flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 1.5rem 5rem;
  }
  .dropdown__group {
    padding: 1rem 0;
    align-content: baseline;
    row-gap: 1.25rem;
  }
  
  .dropdown__img{
    /* width: 310px; */
    width: 16vw;
    border-radius: 1.25rem;
    box-shadow: 6px 2px 8px 4px #00000052;
  }
  .dropdown__img__width{  
    height: 220px;
  }
  .dropdown__group:first-child, .dropdown__group:last-child {
    margin: 0;
  }
  .dropdown__list {
    row-gap: 0.75rem;
  }
  .dropdown__list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 25rem;
}

.dropdown__row {
    display: flex; /* Use Flexbox to create a row */
    gap: 20px; /* Add spacing between columns */
}

.dropdown__col {
    display: flex;
    flex-direction: column; /* Stack items vertically in each column */
    gap: 10px; /* Add spacing between list items */
}

  .dropdown__title {
    font-size: 1.75rem;
  }
  .dropdown__link {
    font-size: 1.25rem;
    text-decoration: none;
  }
  .fs_large{
    font-size: 1.4rem;
  }
  .dropdown__item {
    cursor: pointer;
  }
}
@media screen and (min-width: 1152px) {
  .nav {
    margin-inline: auto;
  }
}
/* 
::marker {
	content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' width='14' viewBox='0 0 50 50'%3E%3Cpath d='M46.4 16.2c-2.3-2.3-5.4-3.5-8.4-4.5-.5-.2-1.1-.3-1.6-.5-1.6-1.6-3.7-2.8-6.2-3.2-1-.2-1.9.1-2.5.6-.9-.3-1.8-.6-2.7-.8-3.2-1-6.4-1.8-9.5-.1-1 .5-1.9 1.2-2.7 2-6.4 1.4-11.7 5-12.4 12.7C0 27 1.9 31.5 4.9 34.9c.1.6.2 1.1.4 1.7 1 3.2 3.3 5.7 6.7 6.5 2.7.6 5.4-.2 7.9-1.2 3.3.4 6.7.3 9.9 0 6.5-.7 13.3-2.8 17.1-8.5 3.6-5.2 4-12.6-.5-17.2zm-17.3.9c2.1.4 4 1.7 4.7 3.8 0 .5-.1 1.1-.2 1.6-.3 1.4-.8 2.6-1.6 3.7-.7.2-1.5.1-2.3-.4-.8-.4-1.6-1-2.2-1.6-.4-.4-1.2-1.7-1.6-1.9 3.4 1.3 5.1-3 3.2-5.2zm-11.6 9.7c.2-1.9 1.1-3.9 2.3-5.5-.4 2.1.3 4.2 1.7 6 1.3 1.7 3.1 3.2 5 4.2-.2.1-.4.2-.6.4-.1 0-.1.1-.2.1-3.9.2-8.7-.8-8.2-5.2zm-6.4 3.1c.1.3.1.7.2 1 .2.6.4 1.2.7 1.8-.4-.2-.7-.5-1-.7.1-.8.1-1.4.1-2.1zm31.2-1.3c-.9 1.7-2.1 3.1-3.7 4.1 2-2.1 3.4-4.7 4-7.6.2-.7.3-1.4.3-2.1.6 1.5.5 3.3-.6 5.6z'/%3E%3C/svg%3E") ' ';
}

li:nth-child(3n)::marker {
	content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' width='14' viewBox='0 0 50 50'%3E%3Cpath d='M46.5 12.5c-.4-1.1-1.3-1.8-2.2-2-4.2-4-11.6-4.3-17.1-4.1-6.9.3-13.9 2.1-19.4 6.5C2 17.5-2.4 25.7 2.5 32.6c2.2 3.2 5.5 4.9 9 5.5 3.3 1.7 6.7 3.3 10.2 4.4 7.8 2.3 17 1.6 23.2-4.3 7.3-7 4.8-17.3 1.6-25.7zm-20.2 2.7c.6 0 1.3 0 1.8.2 1.1.4 1.7 1.3 2 2.3-1-1.2-2.4-2.1-3.8-2.5zm-1.4 6.6c.9.9 1.3 2.2-.2 2.3-2 .2-1.1-1.9.2-2.3zm-11.8 9.8c-.6-.3-2.9-1.1-3.2-1.8-.2-.5 1.4-3.1 2.1-4.2.3.5.7 1 1.2 1.4 0 .3.1.6.2.8.5 1.9 1.5 3.1 2.9 4h-.2c-.8.1-1.6.1-2.5-.1-.2 0-.3 0-.5-.1zM24 36.4c1.6-.7 3-1.5 4.3-2.5.8.2 1.7.3 2.5.5 2.5.4 5.2.9 7.7.6-.9.6-2 1.1-3 1.4-3.9 1.3-7.7 1-11.5 0z'/%3E%3C/svg%3E") ' ';
}

li:nth-child(3n - 1)::marker {
	content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' width='14' viewBox='0 0 50 50'%3E%3Cpath d='M48.3 23.7c-1-9.9-9.9-15.6-18.8-17.8-8.2-2.1-18.8-2.6-24.6 4.8C.6 16.2 1 23.6 4.3 29.3c-.5 1-.8 2-1 3-.6 4 2 7.6 5.1 10 5.9 4.4 14 4.2 19.6-.4 1.5 0 2.9-.2 4.4-.5 1.8 0 3.5 0 5.3-.1 2.3-.1 3.5-1.9 3.5-3.7 4.5-3.3 7.7-8.2 7.1-13.9zM9.1 17.8c1.1-4.1 4.9-5.8 8.8-6.1.9-.1 1.9-.1 2.9-.1-3.2 1.6-6.3 4.6-8 7.4-.1.1-.1.2-.2.3-1.1.9-2.1 1.9-3 2.9-.2.2-.4.4-.5.6-.4-1.7-.5-3.3 0-5z'/%3E%3C/svg%3E") ' ';
} */

.dropdown__item:hover > .dropdown__container {
  top: 6.5rem;
  opacity: 1;
  pointer-events: initial;
  cursor: initial;
}

.dropdown__item:before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
  background: transparent;
}

.dropdown__item::before {
  content: '';
  position: absolute;
  top: 84px;
  left: 0;
  right: 0;
  height: 49px;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Show the bridge when dropdown is visible */
.dropdown__item:hover::before {
  opacity: 1;
  pointer-events: auto;
}

