.opacity-0 {
    opacity: 0;
}

/* NAVBAR-CSS */
.navbar-wrapper .navbar-btns button:hover {
    background-color: transparent;
    color: #0ed145;
}

.navbar-wrapper .navbar-btns button:hover .cmmg-soon {
    display: inline-block;
}

.navbar-wrapper .navbar-btns button:hover .launch-app {
    display: none;
}

/* NAVBAR-HOVER */
.navbar-wrapper .nav-items-list a {
    text-decoration: none;
    -webkit-transition: 0.3s ease-in;
    transition: 0.3s ease-in;
    position: relative;
}


/* NEW — scope to nav so content links are normal again */
.navbar-wrapper a { text-decoration: none !important; }


.navbar-wrapper .nav-items-list a:hover::after {
    width: 100%;
    left: 0;
}

/* NAVBAR-HOVER-END */
.nav_hover:hover {
    color: var(--blue) !important;
}

.underline_hover {
    position: relative;
}

.underline_hover::after {
    content: "";
    background-color: #0947a1;
    width: 0;
    height: 1.6px;
    display: block;
    position: absolute;
    transition: 0.3s;
}

.underline_hover:hover::after {
    width: 100%;
}

.navbar-wrapper .search-icon {
    z-index: 4;
}

.navbar-wrapper .hamburger-menu {
    position: relative;
    width: 29px;
    cursor: pointer;
    height: 25px;
}

.navbar-wrapper .first {
    top: 0;
    -webkit-transition: top 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1),
        -webkit-transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
    transition: top 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1),
        -webkit-transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
    transition: top 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1),
        transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
    transition: top 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1),
        transform 300ms cubic-bezier(0.23, 1, 0.32, 1),
        -webkit-transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.navbar-wrapper .sec {
    top: 11px;
    background: var();
    -webkit-transition: all 0ms 300ms;
    transition: all 0ms 300ms;
}

.navbar-wrapper .third {
    top: 22px;
    -webkit-transition: top 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1),
        -webkit-transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
    transition: top 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1),
        -webkit-transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
    transition: top 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1),
        transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
    transition: top 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1),
        transform 300ms cubic-bezier(0.23, 1, 0.32, 1),
        -webkit-transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.navbar-wrapper .hamburger-menu span {
    width: 100%;
    height: 3px;
    background-color: black;
    border-radius: 10px;
    position: absolute;
    display: inline-block;
    left: 0;
    z-index: 2;
}

.navbar-wrapper .animate .sec {
    opacity: 0;
}

.navbar-wrapper .animate .first {
    top: 11px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: top 300ms cubic-bezier(0.23, 1, 0.32, 1),
        -webkit-transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
    transition: top 300ms cubic-bezier(0.23, 1, 0.32, 1),
        -webkit-transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
    transition: top 300ms cubic-bezier(0.23, 1, 0.32, 1),
        transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
    transition: top 300ms cubic-bezier(0.23, 1, 0.32, 1),
        transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1),
        -webkit-transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.navbar-wrapper .animate .third {
    top: 11px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: top 300ms cubic-bezier(0.23, 1, 0.32, 1),
        -webkit-transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
    transition: top 300ms cubic-bezier(0.23, 1, 0.32, 1),
        -webkit-transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
    transition: top 300ms cubic-bezier(0.23, 1, 0.32, 1),
        transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
    transition: top 300ms cubic-bezier(0.23, 1, 0.32, 1),
        transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1),
        -webkit-transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.navbar-wrapper .hamburger-menu.animate span {
    background-color: black;
}

.overlay-btns button:hover {
    background-color: transparent;
    color: var();
}

@media (max-width: 1199.98px) {
    .overlay-links {
        color: hsl(0, 0%, 100%);
        opacity: 1;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        position: relative;
    }

    .overlay-links::after {
        position: absolute;
        content: "";
        width: 0%;
        height: 3px;
        left: 0;
        bottom: -5px;
        background-color: white;
        transition: all 0.3s ease-in-out;
        transform: scale(0);
    }

    .overlay-links:hover::after {
        width: 100%;
        transition: all 0.3s ease-in-out;
        transform: scale(1);
    }

    .mobile-view #overlay {
        -webkit-transition: 0.7s ease;
        transition: 0.7s ease;
        opacity: 1;
        pointer-events: all;
        z-index: 2;
    }

    .mobile-view #overlay .left {
        opacity: 1;
        width: 100%;
        height: 100vh;
    }

    .mobile-view #overlay .left .copyright a {
        font-size: 18px;
        -webkit-animation: mymove 0.9s;
        animation: mymove 0.9s;
        -webkit-animation-delay: 1.2s;
        animation-delay: 1.2s;
        opacity: 0;
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
        -webkit-animation-iteration-count: 1;
        animation-iteration-count: 1;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
    }

    .mobile-view #overlay .left .copyright a:hover {
        text-decoration: none;
    }

    .mobile-view #overlay .left ul li:nth-child(1) {
        -webkit-animation: mymove 0.9s;
        animation: mymove 0.9s;
        -webkit-animation-delay: 0.2s;
        animation-delay: 0.2s;
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
        -webkit-animation-iteration-count: 1;
        animation-iteration-count: 1;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
    }

    .mobile-view #overlay .left ul li:nth-child(2) {
        -webkit-animation: mymove 0.9s;
        animation: mymove 0.9s;
        -webkit-animation-delay: 0.4s;
        animation-delay: 0.4s;
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
        -webkit-animation-iteration-count: 1;
        animation-iteration-count: 1;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
    }

    .mobile-view #overlay .left ul li:nth-child(3) {
        -webkit-animation: mymove 0.9s;
        animation: mymove 0.9s;
        -webkit-animation-delay: 0.7s;
        animation-delay: 0.7s;
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
        -webkit-animation-iteration-count: 1;
        animation-iteration-count: 1;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
    }

    .mobile-view #overlay .left ul li:nth-child(4) {
        -webkit-animation: mymove 0.9s;
        animation: mymove 0.9s;
        -webkit-animation-delay: 1s;
        animation-delay: 1s;
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
        -webkit-animation-iteration-count: 1;
        animation-iteration-count: 1;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
    }

    .mobile-view #overlay .left ul li:nth-child(5) {
        -webkit-animation: mymove 0.9s;
        animation: mymove 0.9s;
        -webkit-animation-delay: 1.3s;
        animation-delay: 1.3s;
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
        -webkit-animation-iteration-count: 1;
        animation-iteration-count: 1;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
    }

    .mobile-view #overlay .left ul li:nth-child(6) {
        -webkit-animation: mymove 0.9s;
        animation: mymove 0.9s;
        -webkit-animation-delay: 1.5s;
        animation-delay: 1.5s;
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
        -webkit-animation-iteration-count: 1;
        animation-iteration-count: 1;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
    }

    .mobile-view #overlay .left ul li:nth-child(7) {
        -webkit-animation: mymove 0.9s;
        animation: mymove 0.9s;
        -webkit-animation-delay: 1.7s;
        animation-delay: 1.7s;
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
        -webkit-animation-iteration-count: 1;
        animation-iteration-count: 1;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
    }

    .mobile-view #overlay .left ul li:nth-child(8) {
        -webkit-animation: mymove 0.9s;
        animation: mymove 0.9s;
        -webkit-animation-delay: 1.9s;
        animation-delay: 1.9s;
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
        -webkit-animation-iteration-count: 1;
        animation-iteration-count: 1;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
    }

    .mobile-view #overlay .left ul li:nth-child(9) {
        -webkit-animation: mymove 0.9s;
        animation: mymove 0.9s;
        -webkit-animation-delay: 2.1s;
        animation-delay: 2.1s;
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
        -webkit-animation-iteration-count: 1;
        animation-iteration-count: 1;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
    }

    .mobile-view #overlay .left ul li:nth-child(10) {
        -webkit-animation: mymove 0.9s;
        animation: mymove 0.9s;
        -webkit-animation-delay: 2.3s;
        animation-delay: 2.3s;
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
        -webkit-animation-iteration-count: 1;
        animation-iteration-count: 1;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
    }

    #overlay {
        -webkit-transition: 1s ease !important;
        transition: 1s ease !important;
        opacity: 0;
        position: fixed;
        top: 0;
        left: 0;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        width: 100%;
        height: 100%;
        pointer-events: none;
        background-color: white;
    }
}

.svg-img {
    transition: all 0.3s ease-in-out;
    border-radius: 50%;
}

.svg-img:hover {
    transform: translateY(-5px);
    box-shadow: 0px 0px 10px var(--white);
}

@-webkit-keyframes mymove {
    from {
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
        opacity: 1;
    }
}

@keyframes mymove {
    from {
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
        opacity: 1;
    }
}

.left,
.right {
    opacity: 0;
}

.fix-screen-mobile {
    height: 100vh;
    overflow: hidden;
}

.left li,
.right li {
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    opacity: 0;
}

@media (min-width: 1199.98px) {
    #overlay {
        display: none;
    }
}

@keyframes new {
    0% {
        transform: translateY(-10px);
    }

    25% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    75% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-10px);
    }
}

/* NAVBAR-CSS-END */

/*DROPDOWN IN HEADER*/

.dropdown-menu {
    padding: 20px;
}

.dropdown-item {
    padding: 5px 0px !important;
}

/* .dropdown-toggle:hover:after {
    background-image: url("../img/svg/homepage/blue-arrow.svg") !important;
} */

.dropdown-toggle::after {
    color: #000000;
    /* background-image: url("../img/svg/homepage/arrow.svg") !important; */
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    height: 8px;
    width: 14px;
    border: 0 !important;
}

/* .dropdown-toggle-blue::after {
    color: #0947A1;
    background-image: url("../img/svg/homepage/blue-arrow.svg") !important;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    height: 8px;
    width: 14px;
    border: 0 !important;
} */

.btn-secondary {
    color: black !important;
    background-color: unset !important;
    border-color: transparent !important;
}

button:focus:not(:focus-visible) {
    outline: unset !important;
}

.btn:focus {
    box-shadow: unset !important;
}

:focus-visible {
    outline: unset !important;
}

.right-menu {
    position: relative;
    display: inline-block;
}

.dropdown_menu {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 180px;
    /* width: 350px; */
    border-radius: 0;
    border: 0;
    box-shadow: 0px 4px 4px 0px #00000040;
}

.dropdown_menu .dropdown-item {
    color: #1C1D1D;
    display: block;
}

.dropdown_menu .dropdown-item:hover {
    background-color: var(--color-orange);
    color: #0947A1 !important;
}

.right-menu:hover .dropdown_menu {
    display: block;
}

.accordion-button {
    padding: unset !important;
    background-color: transparent !important;
    border-radius: unset !important;
    font-size: 24px;
}

.accordion-item {
    background-color: unset !important;
    border: unset !important;
}

.accordion-button:focus {
    border-color: unset !important;
    outline: none !important;
    box-shadow: unset !important;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("../img/svg/homepage/accordion_icon.svg");
}

.accordion-button:not(.collapsed) {
    color: #000000;
    box-shadow: none !important;
}

.accordion-button::after {
    background-image: url("../img/svg/homepage/accordion_icon.svg");
}

.accordion-body a:hover {
    color: #0947A1 !important;
}

.accordion-body a {
    transition: all 0.3s ease-in-out;
}

.accordion-header {
    text-align: -webkit-center !important;
}

.nav_btn {
    padding: 16px 18px;
    background: #0D52AE;
    border: 2px solid #0D52AE;
    color: var(--white);
    position: relative;
    transition: all 0.3s ease-in-out;
}

.nav_btn:hover {
    background: #2467C0;
    border: 2px solid #2467C0;
    color: var(--white);
}

/* .nav_btn_style {
    color: var(--white);
    background: var(--blue);
    z-index: 1;
} */

/* .nav_btn_style:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: var(--white);
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.nav_btn_style:hover {
    color: var(--blue);
    background: var(--white);
}

.nav_btn_style:hover:after {
    bottom: 0;
    height: 100%;
} */

.active_nav_link {
    color: var(--blue) !important;
    font-weight: 600 !important;
}

.active_tab {
    position: relative;
}

.active_tab::after {
    position: absolute;
    background-color: var(--blue) !important;
    content: "";
    width: 100%;
    height: 2px;
    display: block;
}

/* HERO-CSS */

.hero_section {
    min-height: 550px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), radial-gradient(85.63% 58.64% at 50% 50%, #1E4A82 0%, #0C284E 100%);
}

#PlayBtn,
#PauseBtn,
#PlayBtn2,
#PauseBtn2 {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    max-width: 100px;
}

.video_parent img {
    cursor: pointer;
}

.video_parent:hover img {
    opacity: 1 !important;
}

@media (min-width:1750px) {
    .hero_section {
        min-height: 670px;
    }
}

@media (max-width:1399.98px) {
    .logo-border img {
        max-width: 180px;
    }

    #heroVideo {
        max-width: 700px;
    }
}

@media (max-width:1199.98px) {
    .hero_section {
        min-height: 350px;
    }

    #heroVideo {
        max-width: 600px;
    }

    #PlayBtn,
    #PauseBtn,
    #PlayBtn2,
    #PauseBtn2 {
        max-width: 70px;
    }

    .nav_btn {
        padding: 16px 10px;
    }
}

@media (max-width:991.98px) {
    .dropdown_menu .dropdown-item {
        font-size: 13px;
    }

    .hero_section {
        min-height: 260px;
    }

    #heroVideo {
        max-width: 410px;
    }

    .logo-border img {
        max-width: 130px !important;
    }
}

@media (max-width:767.98px) {

    #PlayBtn,
    #PauseBtn,
    #PlayBtn2,
    #PauseBtn2 {
        max-width: 50px;
    }

    .video_parent {
        position: relative !important;
    }

    #heroVideo {
        max-width: none;
        width: 100%;
    }

    .logo-border img {
        max-width: 110px !important;
    }
}

@media (max-width:575.98px) {
    .nav_logo {
        max-width: 100px;
    }

    #PlayBtn,
    #PauseBtn,
    #PlayBtn2,
    #PauseBtn2 {
        max-width: 30px;
    }
}



/* --- documents.html quick formatting fixes (scoped) --- */
.product_documents a { text-decoration: underline; }
.product_documents a:hover { opacity: 1; }                 /* cancel global fade on hover here */

.product_documents .product_para {
  display: block;
  margin: 0 0 4px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;                                   /* headings look like headings */
}

.product_documents .product_sub_para {
  display: block;
  margin: 2px 0;
  font-weight: 400;
  color: #5b677a;                                          /* lighter, de-emphasized */
}

/* kill the odd staggered spacing some columns get from mt- utilities */
.product_documents .row.border_bottom_products .col-6,
.product_documents .row.border_bottom_products .col-sm-4 {
  margin-top: 0 !important;
}

/* consistent divider rhythm between rows */
.product_documents .border_bottom_products {
  padding-bottom: 1.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #e6e9ef;
}

/* Mobile menu subcategory styling */
#overlay .accordion-body a {
  display: block;
  padding-left: 1.25rem; /* indent */
  font-size: 1.05rem;    /* slightly larger */
  line-height: 1.4;
}

#overlay .accordion-button {
  font-weight: 700;
  font-size: 1.25rem;
  margin-top: 1rem;
}

/* MOBILE OVERLAY: indent + size subcategories */
@media (max-width: 1199.98px) {
  /* indent the whole sublist so every item shifts */
  #overlay .accordion-collapse .accordion-body {
    padding-left: 1.25rem !important;
  }

  /* make each sublink a clear block row, larger type */
  #overlay .accordion-collapse .accordion-body a {
    display: block !important;
    padding: 0.2rem 0 !important;
    font-size: 1.1rem !important;   /* beats .font-xs */
    line-height: 1.45 !important;
    font-weight: 500;                /* optional: a bit bolder */
  }

  /* keep section headers clearly bigger than subs */
  #overlay .accordion-button {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
  }
}
#overlay .accordion-collapse .accordion-body {
  border-left: 2px solid #e6e9ef;
}
/* === FINAL: mobile menu hierarchy (indent + larger sublinks) === */
@media (max-width: 1199.98px) {
  /* Category headers (PRODUCTS, SUPPORT, etc.) */
  body.mobile-view #overlay .accordion-header .accordion-button {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-transform: none; /* keep your existing casing */
  }

  /* Give the sub-list a vertical rhythm and a visual spine */
  body.mobile-view #overlay .accordion-collapse .accordion-body {
    padding-left: 0 !important;               /* reset Bootstrap p-0 side effect */
    border-left: 2px solid #e6e9ef;           /* subtle hierarchy line */
    margin-left: 0.75rem;                     /* nudges the whole group in */
  }

  /* Make EVERY sub-link bigger and indented, regardless of extra wrappers */
  body.mobile-view #overlay .accordion-collapse .accordion-body a,
  body.mobile-view #overlay .accordion-collapse .accordion-body * > a,
  body.mobile-view #overlay .accordion-collapse .accordion-body .d-flex > div > a {
    display: block !important;
    padding: 0.25rem 0 0.25rem 1.75rem !important;  /* <- visible indent */
    font-size: 1.15rem !important;                  /* beats .font-xs */
    line-height: 1.5 !important;
    font-weight: 500 !important;                    /* slight weight increase */
    text-align: left !important;                    /* guard against stray center */
  }
}

