@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
    /*  Styling general  */
body{
    font-family: "Roboto", sans-serif;
    background: #3C3D37;
    background: radial-gradient(circle,rgba(60, 61, 55, 1) 50%, rgba(30, 32, 30, 1) 100%);
    color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

nav{
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 99999;
    padding: 1rem 5%;
    background: #000000;
    background: linear-gradient(0deg,rgba(0, 0, 0, 0) 0%, rgba(182, 245, 0, 0.07) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    /* margin-bottom: 2rem; */

    display: flex;
    align-items: center;
    justify-content: space-between;
    
}

nav .nav-group{
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo{
    display: flex;
    align-items: center;
    margin-right: auto;
    transition: 0.3s;
}

.logo img{
    height: 80px;
    margin-bottom: -20px;
    padding-bottom: 20px;
}

.nav-links{
    list-style: none;
    display: flex;
    gap: 2rem;
    margin-right: auto;
    margin-left: 4rem;
    font-weight: 700;
    
}

.nav-links li a{
    position: relative;
    font-size: 1.05rem;
    text-decoration: none;
    color: #98CD00;
    transition: 0.3s;
}

.nav-links li a:hover{
    color: #96cd00b9;
    text-shadow: 0 0 15px #96cd00a4;
    padding-right: 5px;
    padding-left: 5px;
}

.accntbuttons{
    display: flex;
    gap: 20px;
}

.accntbtn{
    padding: 0.5rem 1.5rem;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 800;
    background:#B6F500;
    color: #455726e8;
    box-shadow: 0 0 5px #96cd00a4;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.accntbtn:hover{
    background: #bfff00;
    box-shadow: 0 0 25px #96cd00a4;
    padding: 0.6rem 1.6rem;
}

.motto{
    font-family: "Roboto", sans-serif;
    font-size: 30px;
    font-weight: 900;
    color:#B6F500;
    text-align: center;
}

.intro{
    line-height: 1.75;
    margin-left: 20px;
    margin-right: 20px;
    font-size: 20px;
    display: flex;
    justify-content: center;
    font-family: "Roboto", sans-serif;
    text-align: center;
}

.text-container {
    background: linear-gradient(0deg,rgba(0, 0, 0, 0) 0%, rgba(182, 245, 0, 0.07) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem auto;
    width: 80%;
    max-width: 1200px;
}

    /*  Styling CSS Cards  */

.card-container{
    color: gray;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
}

.card{
    width: 425px;
    height: 500px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(0deg,rgba(0, 0, 0, 0) 0%, rgba(182, 245, 0, 0.07) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    margin: 20px;
    margin-bottom: 150px;
}

.card img{
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content{
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3{
    font-size: 28px;
    margin-bottom: 8px;
    color: white;
}

.card-content p{
    color: #ccc;
    font-size: 15px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-content .blogbtn{
    display: inline-block;
    padding: 8px 16px;
    text-decoration: none;
    background-color: green;
    border-radius: 4px;
    margin-top: auto;
    align-self: flex-start;
    color: #dfdfdf;
    transition: 0.2s ease-in-out;
}

.card-content .blogbtn:hover{
    background-color: yellowgreen;
}

footer{
    background: #000000;
    background: linear-gradient(0deg,rgba(0, 0, 0, 0) 0%, rgba(182, 245, 0, 0.07) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 1rem 5%;
}

.footerInfo{
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: antiquewhite;
    width: 100%;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 800;
    background:#B6F500;
    color: #455726e8;
    box-shadow: 0 0 5px #96cd00a4;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
}

.footer-btn:hover {
    background: #bfff00;
    box-shadow: 0 0 25px #96cd00a4;
    padding: 0.6rem 1.6rem;
}

/* --- Meniu Dropdown Profil --- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    margin-top: 15px;
    background-color: #1a1a1a;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.6);
    border-radius: 8px;
    z-index: 9999;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-content::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.dropdown-content a {
    color: #d1d1d1;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-family: 'Lato', sans-serif;
    transition: 0.3s background-color;
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Afișează meniul la hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* --- INTERFAȚĂ NIVEL CU BARĂ DE PROGRES --- */
.nav-level-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    user-select: none;
}

.nav-level {
    font-weight: 900;
    color: #b6f500;
    font-size: 1.05rem;
    text-shadow: 0 0 10px rgba(182, 245, 0, 0.3);
    font-family: 'Roboto', sans-serif;
    line-height: 1;
}

.nav-level-bar {
    width: 45px; 
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-level-fill {
    height: 100%;
    background: #b6f500;
    box-shadow: 0 0 8px #b6f500;
    width: 0%; 
    transition: width 0.3s ease-in-out;
}