    /* old */
    .top-bar {
        background-color: #fff;
        white-space: nowrap;
        display: flex;
        align-items: center;
        gap: 20px;
    }
    .logo-image {
        height: auto;
        max-height: 80px;
        width: auto;
        object-fit: contain;
    }
    @media (max-width: 992px) {
        .logo-image {
            max-height: 60px;
        }
    }
    @media (max-width: 576px) {
        .logo-image {
            max-height: 50px;
        }
    }

    .custom-dropdown{
        background: linear-gradient(90deg, #e73229, #f28c13) !important;
        color: #fff;
    }
    .custom-dropdown li a{
        color: #fff;
        font-size: 16px;
    }

    .logo-image {
        height: 200px;
        width: 200px;
        margin: 0;
        object-fit: contain;
    }

    #iso {
        height: 150px;
        width: 150px;
    }

    .contact-info {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
    }

    .contact-item {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: #000;
    }

    .contact-text {
        font-size: 16px;
    }

    .contact-icon {
        font-size: 36px;
        width: 36px;
        height: 36px;
        display: inline-block;
    }


    .contact-item:hover {
        color: #e73229;
    }

    .contact-item i {
        color: #e73229;
        font-size: 16px;
    }

    .contact-label {
        font-size: 14px;
        font-weight: 500;
        color: #333;
    }

    .logos img {
        height: 90px;
        width: auto;
        object-fit: contain;
    }

    .gradient-icon {
        background: linear-gradient(90deg, #e73229, #f28c13);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;

    }

    .navbar-custom {
        background: linear-gradient(90deg, #e73229, #f28c13);
        /* padding: 8px 0; */
        padding: 10px 0;
    }
    .navbar-collapse{
        min-width: 90% !important;
    }

    .navbar-nav .nav-item {
        position: relative;
        margin: 0 5px;
    }
    .dropdown-item.active, .dropdown-item:active
     {
        color: #fff;
        text-decoration: none;
        background-color: #0d6efd;
    }

    .navbar-nav .nav-link {
        /* font-size: 12px;
              font-weight: 600;
              color: white !important;
              padding: 2px 6px; */
        color: white !important;
        font-size: 14px;
        font-weight: 600;
        padding: 8px 5px;
        transition: opacity 0.3s ease;
    }

    .navbar-nav .nav-item:not(:last-child)::after {
        content: "|";
        color: white;
        position: absolute;
        right: -12px;
        top: 50%;
        transform: translateY(-50%);
    }

    /* @media (max-width: 992px) {
              .top-bar {
                flex-wrap: wrap;
                justify-content: center;
                text-align: center;
              }
      
              .contact-info {
                flex-direction: column;
                gap: 10px;
              }
      
              .logos {
                margin-top: 10px;
              }
      
              .navbar-nav .nav-item:not(:last-child)::after {
                display: none;
              }
            } */
    /* Responsive Styles */
    @media (max-width: 1200px) {
        /* .top-bar {
            max-height: 10vh !important;
            } */
        .logo-image {
            width: 300px;
            height: 80px;
        }

        .logos img {
            height: 70px;
        }
    }

    @media (max-width: 992px) {
        .top-bar {
            flex-wrap: wrap;
            justify-content: center;
            text-align: center;
            padding: 10px 15px;
        }

        .logo-cadmech {
            width: 100%;
            margin-bottom: 10px;
            margin-right: 200px;
        }

        .logo-image {
            width: 250px;
            height: 60px;
        }

        .contact-info {
            flex-direction: column;
            gap: 10px;
            margin: 10px 0;
            width: 100%;
        }

        .contact-item {
            font-size: 13px;
        }

        .logos {
            display: none !important;
            margin-top: 10px;
            justify-content: center;
        }

        .logos img {
            height: 50px;
        }

        .navbar-nav .nav-item:not(:last-child)::after {
            display: none;
        }

        /* Custom navbar toggler styles for mobile */
        .navbar-collapse {
           /* background-color: rgba(231, 50, 41, 0.95);*/
            padding: 10px;
            border-radius: 5px;
            margin-top: 10px;
        }

        .navbar-nav {
            text-align: center;
        }

        .navbar-nav .nav-item {
            margin: 5px 0;
        }
    }

    @media (max-width: 576px) {
        .logo-image {
            width: 200px;
            height: 50px;
        }

        .logos img {
            height: 40px;
        }

        .contact-item {
            font-size: 12px;
        }

        .contact-item i {
            font-size: 14px;
        }
    }

    .navbar-custom {
        width: 100% !important
    }


    /* Large screens (≥1100px) fix for zoomed view or wide layouts */

/* Medium Desktop */
@media (max-width: 1200px) {
    .logo-image {
        width: 300px;
        height: 80px;
    }

    .logos img {
        height: 70px;
    }
}

/*  */
@media (max-width: 1400px) {
    .navbar-collapse {
      flex-wrap: nowrap !important;
      justify-content: center !important;
    }
  
    .navbar-nav {
      flex-wrap: nowrap !important;
      gap: 8px !important;
    }
  
    .navbar-nav .nav-item {
      margin: 0 2px !important;
    }
  
    .navbar-nav .nav-link {
      font-size: 14px !important;
      padding: 6px 6px !important;
      white-space: nowrap !important;
    }
  
    .navbar-nav .nav-item:not(:last-child)::after {
      right: -6px !important;
    }
  }

/* MAIN DROPDOWN MENU */
.dropdown-menu {
    font-size: 14px; 
    padding: 0;
    margin: 0;
    border: none;
    background: linear-gradient(90deg, #e73229, #f28c13);
  }
  
  .dropdown-menu > li {
    position: relative;
  }
  
  .dropdown-menu .dropdown-item {
    font-size: 14px;
    padding: 4px 6px;
    white-space: nowrap;
    color: white;
  }
  
  .dropdown-menu .submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    margin-top: 0;
    background: linear-gradient(90deg, #e73229, #f28c13);
    min-width: 200px;
    z-index: 1000;
  }
  
  .dropdown-menu li:hover > .submenu {
    display: block;
  }
  
  .scrollable-submenu {
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
  }
  
  .scrollable-submenu::-webkit-scrollbar {
    width: 6px;
  }
  .scrollable-submenu::-webkit-scrollbar-thumb {
    background-color: #ffffff80;
    border-radius: 3px;
  }
  
  @media (min-width: 992px) {
    .dropdown-submenu {
      position: relative;
    }
  
    .dropdown-submenu > .dropdown-menu {
      top: 0;
      left: 100%;
      margin-top: -200px;
      max-height: 500px;
      overflow-y: auto;
      overflow-x: hidden;
    }
  }
  