.dropdown-container {
    position: relative;
    display: inline-block;
  }
  
  /* Mega Menu (Dropdown) */
  .mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    display: none;
    min-width: 500px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  /* Hover Effects */
  button:hover {
    background-color: #f5f5f5;
  } 
  
  .mega-menu:hover {
    display: block;
  }
  
  
  @keyframes dropdown-fade-in {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  /* product mega menu */
  .product-group {
    background: none;  
    border: none; 
    padding: 16px;
    margin: 0;
    font: inherit;
    color: inherit;
    font-size: 20px;
    border: none;
    cursor: pointer;
    position: relative;
    font-weight: bold;
  }
  .product-group::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px; /* Height of the animated line */
    width: 0; /* Start with no width */
    background-color: #007BFF; /* Line color */
    transition: width 0.4s ease; /* Smooth transition */
  }
  .product-menu {
    display: block;
    visibility: visible;
    position: absolute;
    top: 100%;  /* Adjust this based on your layout */
    left: -15%;
    box-sizing: border-box;
    background-color: #f1f1f1;
    width: 800px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    z-index: 1;
  }
  .product-group:hover::before {
    width: 100%; /* Full width on hover */
  }
  @keyframes slide-in {
    from {
      width: 0;
    }
    to {
      width: 100%;
    }
  }
  .solution-group {
    background: none;  
    border: none; 
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    padding: 16px;
    font-size: 20px;
    border: none;
    cursor: pointer;
    position: relative;
    font-weight: bold;
  }
  .solution-group::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px; /* Height of the animated line */
    width: 0; /* Start with no width */
    background-color: #007BFF; /* Line color */
    transition: width 0.4s ease; /* Smooth transition */
  }
  .solution-group:hover::before {
    width: 100%; /* Full width on hover */
  }
  .solution-menu {
    display: block;
    position: absolute;
    top: 100%;  /* Adjust this based on your layout */
    left: -10%;
    box-sizing: border-box;
    background-color: #f1f1f1;
    width:300px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 10px;
    overflow-wrap: break-word;
  }
  .solution-container{
    display: grid;
    grid-template-columns: auto ;
    margin: 20px;
    padding: 10px;
    line-height: 1.2;
  }
  .solution-container>div{
    margin: 10px;
    padding-right: 10px;
  }
  .solution-data{
    color: #000000;
    font-size: 15px;
    text-align: left;
    padding: 10px;
    margin: 10px;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.2 ;
  }
  
  .ground-mounted-menu{
    position: absolute;
    top: 5%; /* Position below the button */
    left: 97%; 
    transform: translate(-50%);
    height: 100px; 
    width: 500px;
    margin-left: 10px;
    background-color: #f1f1f1;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    display: none; /* Hidden by default */
    flex-wrap: wrap;
    z-index: 10;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
    justify-content: space-between;
    padding: 5px;
    animation: dropdown-fade-out 0.3s forwards;
  
  }
  .roof-top-menu{
    position: absolute;
    top: 17%; /* Position below the button */
    left: 100%; 
    transform: translate(-50%);
    height: 120px;
    width: 500px;
    /* margin-left: 10px; */
    background-color: #f1f1f1;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    display: none; /* Hidden by default */
    flex-wrap: wrap;
    z-index: 10;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
    justify-content: space-between;
    padding: 5px;
    animation: dropdown-fade-out 0.3s forwards;
  }
  
  .floating-menu{
    position: absolute;
    top: 35%; /* Position below the button */
    left: 97%; 
    transform: translate(-50%);
    height: 140px; 
    width: 500px;
    /* margin-left: 10px; */
    background-color: #f1f1f1;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    display: none; /* Hidden by default */
    flex-wrap: wrap;
    z-index: 10;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
    justify-content: space-between;
    padding: 10px;
    margin: 10px;
    animation: dropdown-fade-out 0.3s forwards;
  }
  
  .operations-menu{
    position: absolute;
    top: 50%; /* Position below the button */
    left: 97%; 
    transform: translate(-50%);
    height: 140px; 
    width: 500px;
    /* margin-left: 10px; */
    background-color: #f1f1f1;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    display: none; /* Hidden by default */
    flex-wrap: wrap;
    z-index: 10;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
    justify-content: space-between;
    padding: 10px;
    margin: 10px;
    animation: dropdown-fade-out 0.3s forwards;
  }
  .solutions-title{
    text-align: left;
   
  }
  .solutions-title:hover{
    color: #3aca95;
  }
  .solutions-title .frame-1000002041-2{
    color: #3aca95;
  }
  .support-link{
    color: #1800AC;
  
  }
  .support-link:hover{
    color: #3aca95;
  }
  
  @keyframes slide-in {
    from {
      width: 0;
    }
    to {
      width: 100%;
    }
  }
  .contact-us-group-menu {
    background: none;  
    border: none; 
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    padding: 16px;
    font-size: 20px;
    border: none;
    cursor: pointer;
    position: relative;
    font-weight: bold;
  }
  .contact-us-group-menu::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px; /* Height of the animated line */
    width: 0; /* Start with no width */
    background-color: #007BFF; /* Line color */
    transition: width 0.4s ease; /* Smooth transition */
  }
  .contact-us-group-menu:hover::before {
    width: 100%; /* Full width on hover */
  }
  
  .contact-us-menu {
    display: block;
    position: absolute;
    top: 100%;  /* Adjust this based on your layout */
    left: 30%;
    transform: translate(-50%);
    box-sizing: border-box;
    background-color: #f1f1f1;
    width: 450px; /* Adjust the width as needed */
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    overflow: visible;
    border-radius: 10px;
    overflow-wrap: break-word;
  
  }
  .contact-us-dropdown{
    display: grid;
    margin: 30px;
    text-align: center;
    word-wrap: break-word;
    white-space: normal;
  }
  .contact-us-dropdown > div{
    text-align: left;
    margin: 20px;
    color: #000000;
    line-height: 1.2;
    word-wrap:break-word;
    white-space: normal;
  }
  @keyframes slide-in {
    from {
      width: 0;
    }
    to {
      width: 100%;
    }
  }
  
  /* Show the menu when the button is hovered */
  .product-group:hover + .product-menu,.product-menu:hover,
  .solution-group:hover + .solution-menu,.solution-menu:hover,
  .contact-us-group-menu:hover + .contact-us-menu ,.contact-us-menu:hover,
  .profile-group:hover + .profile-menu,.profile-menu:hover,.ground-group:hover+ .ground-mounted-menu, .ground-mounted-menu:hover,
  .roof-group:hover+.roof-top-menu,.roof-top-menu:hover, .floating-group:hover+ .floating-menu,.floating-menu:hover, 
  .operations-group:hover + .operations-menu, .operations-menu:hover{
    display: flex;
    animation: dropdown-fade-in 0.3s forwards;
  }
  
  /* Style for the menu items */
  .menu-items {
    padding: 10px;
    font-size: 16px;
    color: black;
  }
  
  /* Optional: Additional styling for menu item hover */
  .menu-items:hover {
    background-color: #ddd;
    cursor: pointer;
  }
  .container-center-horizontal{
    margin: 10px;
    padding: 10px;
  }
  .all-se{
    display: flex;
    margin: 10px;
    padding: 10px;
  }
  
  .nrise-lines-screen{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    justify-content: center;
  
  
  }
  .all-se-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    
  }
  
  .all-se .arrow-icon-img{
    margin : 5px;
  
    height: 18px;
  }
  
  .home-page .frame-1000002041 {
    flex: 0 0 auto;
    margin-right: -3664.00px;
    margin-top: -18004.00px;
    position: relative;
  }
  
  .product-image {
    align-self: center;
    height: 222px;
    margin-top: 32.0px;
    width: 243px;
  
  }
  .dynamic_solar_panel_img{
    align-items: center;
    height: 222px;
    margin-top: 32.0px;
    width: 243px;
  }
  