.menu_holder {
    top: 0;
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%; /* ensure centering relative to full viewport */
  z-index: 10;
  background-color: #141414;
}

.menu {
  width: 100%;
  max-width: 1536px; /* responsive, but limited */
  height: 75px;
  
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center; /* centers items inside if needed */
}

.logo1{
    width: 70px; 
}

.menu_texts {
  margin-left: auto;
}

.menu_a{
    padding: 10px 20px 10px 20px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    margin-top: 30px;
    font-size: 15px;
    margin-right: 30px;
    background-color: #46464600;
    transition: background-color 0.3s ease, color 0.2s ease;
}

.menu_a:hover{
    background-color: #84b40038;
}

.menu_a2{
    padding: 10px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    margin-top: 30px;
    font-size: 17px;
    margin-right: 30px;
    background-color: #46464600;
    transition: background-color 0.3s ease, color 0.2s ease;
}

.entrar_button {
    text-decoration: none;
    color: white;
    cursor: pointer;
    border: none;
    padding: 5px 30px;
    background-color: #85B400;
    border-radius: 15px;
    font-size: 15px;
    transition: color 0.5s ease, background-color 0.5s ease, transform 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;

    /* Center the text inside the button */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: color 0.5s ease, background-color 0.5s ease, transform 0.2s ease;
}

.entrar_button:hover {
    transform: scale(1.06);
    color: #272727;
    background-color: white;
}

.menu_toggle {
    display: none;
    background: none;
    color: white;
    border: none;
    cursor: pointer;
    margin-left: auto;
    margin-right: 10px;
    padding: 0;              /* 👈 removes the inner spacing */
    line-height: 1;          /* optional: ensures tight vertical alignment */
    transition: transform 0.3s ease;
}

.menu_toggle img{
    height: 20px;
    width: 20px;
}

.menu_toggle.rotated {
    transform: rotate(90deg);
}

.entrar_dropdown {
    display: none;
}

.entrar_inline {
    display: flex;
}

.menu_texts .entrar_dropdown {
    display: none;
}

.menu_texts a img{
    width: 8px;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.menu_texts a.open img {
  transform: rotate(90deg);
}

.h_menu_sobre_options{
    position: absolute;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    width: 150px;
    height: 183px;
    margin-top: 15px;
    border-radius: 5px;
    background: #272727; /* semi-transparent white */
    backdrop-filter: blur(5px); /* frosted glass blur */
    color: white;
    padding: 0;
    font-size: 15px;
    font-weight: medium;
    z-index: 3333;
    justify-content: center;

    /* animation setup */
    opacity: 0;
    transform: scaleY(0);    /* collapsed */
    pointer-events: none;          /* prevent clicking when hidden */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Optional: triangle border (for outline effect) */
.h_menu_sobre_options::after {
    content: "";
    position: absolute;
    top: -6px; /* adjust vertical position slightly */
    left: 30%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #272727;
    z-index: 0;
}

.h_menu_solucoes_options{
    position: absolute;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    width: 160px;
    height: 230px;
    margin-top: 15px;
    border-radius: 5px;
    background: #272727; /* semi-transparent white */
    backdrop-filter: blur(10px); /* frosted glass blur */
    color: white;
    padding: 0;
    font-size: 15px;
    font-weight: medium;
    z-index: 3333;
    justify-content: center;

    /* animation setup */
    opacity: 0;
    transform: scaleY(0);    /* collapsed */
    pointer-events: none;          /* prevent clicking when hidden */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Optional: triangle border (for outline effect) */
.h_menu_solucoes_options::after {
    content: "";
    position: absolute;
    top: -6px; /* slightly above the white triangle */
    left: 35%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #272727; /* same as border color */
    z-index: 0;
}

.h_menu_solucoes_options2,
.h_menu_sobre_options2{
    display: none;
    flex-direction: column;
    row-gap: 10px;
    margin-top: 0px;
    color: white;
    padding: 0;
    font-size: 17px;
    font-weight: medium;
    justify-content: center;
}

.h_menu_solucoes_options2.show,
.h_menu_sobre_options2.show{
    display: flex;
}

.h_menu_solucoes_options.show,
.h_menu_sobre_options.show {
  opacity: 1;
  transform: scaleY(1);    /* collapsed */
  pointer-events: auto;
}

.h_menu_solucoes_options a img,
.h_menu_sobre_options a img{
    height: 12px;
    margin-left: 5px;          /* Push image to the right */
    margin-right: 10px;
    display: block;
}

.menu_texts a img{
    width: 8px;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

/* links inside */
.h_menu_solucoes_options a,
.h_menu_sobre_options a {
    display: inline-flex;       /* Treat link as flex container */
    align-items: center;        /* Vertically centers items */
    justify-content: flex-start;/* Keep text on the left */
    padding-right: 5px; 
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* animate each one with delay */
.h_menu_solucoes_options.show a ,
.h_menu_sobre_options.show a {
  opacity: 1;
  transform: translateY(0);
}

.h_menu_solucoes_options.show a:nth-child(1),
.h_menu_sobre_options.show a:nth-child(1) {
  transition-delay: 0.1s;
}

.h_menu_solucoes_options.show a:nth-child(2),
.h_menu_sobre_options.show a:nth-child(2) {
  transition-delay: 0.2s;
}

.h_menu_solucoes_options.show a:nth-child(3),
.h_menu_sobre_options.show a:nth-child(3) {
  transition-delay: 0.3s;
}

.h_menu_solucoes_options.show a:nth-child(4),
.h_menu_sobre_options.show a:nth-child(4) {
  transition-delay: 0.4s;
}

.h_menu_solucoes_options.show a:nth-child(5) {
  transition-delay: 0.5s;
}

.h_menu_solucoes_options a,
.h_menu_sobre_options a{
    color: white;
    text-decoration: none ;
    width: calc(100% - 20px);
    text-align: left;
    padding: 10px;
    transition: background-color 0.2s ease, color 0.2 ease;
}

.h_menu_solucoes_options a:hover,
.h_menu_sobre_options a:hover{
    background-color: rgba(255, 255, 255, 0.224);
    color: white;
}

.h_menu_solucoes_options a:last-child:hover,
.h_menu_sobre_options a:last-child:hover {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.h_menu_solucoes_options a:first-child:hover,
.h_menu_sobre_options a:first-child:hover {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.logo1_menu_holder{
    height: 70px;
    display: flex;
    align-items: center;
}

@media (min-width: 300px) and (max-width: 600px) {
    .menu_texts {
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin-left: auto;
    }

    .menu_holder {
        position: fixed;
        top: 35px;
        left: 50%;
        transform: translate(-50%, -50%); /* shifts it back to perfect center */
        
        display: flex;
        flex-direction: column;
        justify-content: center; /* centers children vertically */
        align-items: center;     /* centers children horizontally */
        
        width: 90%;
        max-width: 600px;        /* optional: prevent it from stretching too wide */
        padding: 5px;
        
        background-color: #141414;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
        z-index: 10;
        border-radius: 10px;     /* optional */
    }

    .menu_texts {
        display: flex; /* must be flex to apply column layout */
        flex-direction: column;
        align-items: flex-start;
        background-color: #141414;
        position: absolute;
        top: 65px;
        border-radius: 15px;
        left: 0;
        width: 100%;
        overflow: hidden;
        max-height: 0;
        padding: 0;
        transition: height 0.4s ease, padding 0.3s ease;
        z-index: 10;
    }
    
    .menu_texts.show {
        max-height: 500px;
        padding: 0px 0;
        z-index: 1001;
    }
    
    /* Stack links vertically and stretch them */
    .menu_texts .menu_a {
        display: block;
        width: 100%;
        padding: 12px 20px;
        color: white;
        text-decoration: none;
        font-size: 16px;
        transition: background-color 0.2s;
    }

    .menu_texts .menu_a2 {
        display: flex;
        flex-direction: row;
        width: 90%;
        margin: 0;
        margin-left: 10%;
        padding: 12px 20px;
        color: white;
        text-decoration: none;
        font-size: 16px;
        transition: background-color 0.2s;
        column-gap: 10px;
        align-items: center;
    }

    .menu_texts .menu_a2 img{
        height: 14px;
        width: 14px;
    }

    .menu_toggle {
        display: block;
    }

    .menu {
        flex-wrap: wrap;
        height: 50px;
        width: 90%;
        margin: auto;
    }

    .entrar_inline {
        display: none;
    }

    .menu_texts .entrar_dropdown {
        display: flex;
        width: 90%;
        margin: 10px auto;
        height: 40px;
        border: none;
        border-radius: 8px;
        background-color: #85B400;
        color: white;
        font-size: 16px;
        font-weight: 300;
        cursor: pointer;
        text-decoration: none;
        justify-content: center;
        align-items: center;
        transition: background-color 0.3s ease;
        right: 0;
        padding: 0;
    }

    .menu_a {
        width: 95%;
        justify-content: flex-start;
        margin: auto;
    }

    .entrar_button {
        display: none; /* hide all versions unless specifically shown elsewhere */
    }

    .logo1_menu_holder{
        height: 30px;
    }

    .logo1{
        width: 50px; 
    }

    .menu_a:hover,
    .h_menu_solucoes_options a:hover,
    .h_menu_sobre_options a:hover{
        background-color: #46464600;
        color: white;
    }
}

@media (min-width: 600px) and (max-width: 1200px) {
    .menu.hide{
        display: flex;
    }

    .menu {
        flex-direction: row;
        column-gap: 10px;
        width: 90%;
        align-items: center;
    }

    .menu_toggle {
        display: block;
        margin-left: 0;
        font-size: 40px;
        height: 40px;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .menu_texts {
        flex-direction: column;
        align-items: flex-start;
        background-color: #141414; /* semi-transparent background */
        backdrop-filter: blur(10px);  /* <-- this adds the blur */
        -webkit-backdrop-filter: blur(10px); /* for Safari support */
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        overflow: hidden;
        max-height: 0;
        padding: 0;
        transition: max-height 0.4s ease, padding 0.3s ease;
        z-index: 10;
    }
    
    .menu_texts.show {
        max-height: 500px;
        padding: 10px 0;
        position: absolute;
        z-index:1001;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;   
    }

    /* Hide dropdown-style button here */
    .menu_texts .entrar_dropdown {
        display: none;
    }

    /* Main entrar button stays visible */
    .entrar_button {
        display: flex;
        width: 100px;
        height: 35px;
        right: 0;
        border: none;
        border-radius: 8px;
        background-color: #85B400;
        color: white;
        font-size: 20px;
        font-weight: 500;
        margin-right: 0;
        margin-left: auto;
        cursor: pointer;
        text-decoration: none;
        justify-content: center;
        align-items: center;
        transition: background-color 0.3s ease;
    }

    .menu_texts .menu_a {
        display: block;
        width: 100%;
        padding: 12px 20px;
        color: white;
        text-decoration: none;
        font-size: 16px;
        transition: background-color 0.2s;
    }

    .entrar_inline {
        display: none;
    }

    .menu_a {
        width: 95%;
        justify-content: flex-start;
        margin: auto;
    }
}


@media (min-width: 1536px) and (max-width: 1920px) {
    .menu {
        width: 90%;
    }
}