body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.background-image-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.background-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.dot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.4) 20%, transparent 20%);
    background-size: 10px 10px;
    pointer-events: none; 
    z-index: 1;
}

.overlay-content {
    position: absolute;
    z-index: 100;
    top: 50%;
    left: 50%;
    font-size: 2vw;
    width: 100%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}

.logo {
    width: 20rem; 
    margin-top: 400px;
}

.navbuttons {
    display: flex;
    flex-direction: column; 
    align-items: center;
    gap: 10px; 
}

.navbuttons button {
    background-color: transparent; 
    color: #3366A0;
    font-weight: bold;
    background-color: #ffffff0e;
    border: none; 
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.5vw;
    text-align: left;
    transition: background-color 0.3s, color 0.3s; 
}

.navbuttons button:hover {
    background-color: #3366A0;
    color: white;
}

.about-container {
    width: 70%;
    overflow: hidden;
    margin: 50px auto;
}

.about-section {
    position: relative;
    width: 100%;
    min-height: 70vh;
    padding: 40px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: background-color 0.5s ease;
}

.about-section:nth-child(odd) {
    background-image: url('desprebg1.jpeg');
    background-size: cover;
    background-position: center;
}

.about-section:nth-child(even) {
    background-image: url('proiectetop.jpeg');
    background-size: cover;
    background-position: center;
}

.about-section h1 {
    font-size: 3vw;
    margin-bottom: 100px;
    color: #fff;
    z-index: 100;
}

.about-section h2 {
    font-size: 2vw;
    margin-bottom: 20px;
    color: #fff;
    text-decoration: underline;
    z-index: 100;
}

.about-section p {
    font-size: 1.2vw;
    line-height: 1.6;
    max-width: 1200px;
    z-index: 100;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.596);
    z-index: 100;
}

.about-section {
    position: relative;
    z-index: 2;
}

.certification-container {
    text-align: center;
    width: 100%;
    margin-bottom: 100px;
}

.certification-container h1 {
    color: #3366A0;
    margin-bottom: 20px;
    width: 100%;
    text-align: center;
    font-size: 1.8vw;
}

.certification-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap:50px;
}

.certification-item {
    background-color: #fff;
    border: 2px solid #3366A0;
    border-radius: 10px;
    padding: 50px;
    margin: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 500px;
    height: auto;
    text-align: center;
}

.certification-item h2 {
    color: #3366A0;
    margin-bottom: 10px;
    font-size: 1.6vw;
}

.certification-item p {
    font-size: 1vw;
    color: black;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

#caption {
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
    font-size: 1rem;
}


.org-structure-container {
    max-width: 70%;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.org-structure-container h1 {
    text-align: center;
    color: #3366A0;
    margin-bottom: 20px;
    font-size: 2vw;
}

.org-card {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #fafafa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.org-card:hover {
    transform: scale(1.03);
}

.org-icon img {
    width: 50px;
    height: 50px;
    margin-right: 20px;
}

.org-info h2 {
    margin: 0;
    font-size: 1.5vw;
    color: #3366A0;
}

.org-info p {
    margin: 5px 0 0 0;
    color: black;
    font-size: 1.2vw;
}

.categories {
    margin: 100px auto;
    background-color: #3366A0;
    width: 100%;
}

.categories .container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}   

.intro h1{
    text-align: center;
    font-size: 1.8vw;
    width: 100%;
    color: #fafafa;
}

.intro h2{
    text-align: center;
    font-size: 1.5vw;
    width: 100%;
    color: #fafafa;
}

.spacer{
    margin: 50px auto;
}

.categories .category {
    display: flex;
    align-items: center;
    gap: 200px;
    background: #ffffffad;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.categories .category .image {
    flex: 1;
    max-width: 300px;
}

.categories .category .image img {
    width: 125%;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.categories .category .details {
    flex: 2;
    margin-top: -100px;
}

.categories .category .details h3 {
    font-size: 1.6vw;
    margin-bottom: 15px;
    color: black;
}

.categories .category .details p {
    font-size: 1vw;
    margin-bottom: 15px;
    color: black;
}

.categories .category .details ul {
    list-style: none;
    padding: 0;
}

.categories .category .details ul li {
    font-size: 1vw;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: black;
}

.categories .category .details ul li i {
    color: #4caf50;
    margin-right: 10px;
    font-size: 18px;
}

.human-resources {
    max-width: 1500px;
    margin: 0 auto;
}

.human-resources h1 {
    margin: 0;
    text-align: center;
    font-size: 1.8vw;
    color: #3366A0;
}

.human-resources h2{
    text-align: left;
    margin: 25px auto;
    font-size: 1.5vw;
    color:black;
    width: 100%;
}

.human-resources p {
    margin: 0;
    text-align: center;
    font-size: 1vw;
    color: black;
}

.category-row {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}
.category-human {
    display: inline-block;
    margin: 20px;
    width: 5vw;
}
.icon {
    width: 100px;
    height: 100px;
    justify-content: center ;
}
.count {
    font-size: 2vw;
    color: #3366A0;
    text-align: center;
    width: 100%;
    justify-content: center;
}

@media (max-width: 1024px) {
    .menulogo img {
        width: 75px; 
        height: auto;
    }
    .background-image-container {
        height: 70vh;
    }

    .overlay-content {
        font-size: 4vw;
        margin-top: 20px;
    }

    .logo {
        width: 12rem;
        margin-top: 100px;
    }

    .navbuttons button {
        font-size: 1.5em;
        padding: 10px 12px;
    }

    .about-container {
        width: 95%; 
        text-align: center; 
    }
    
    .about-section {
        width: 80%;
        text-align: center; 
        min-height: 200px;
    }
    
    .about-section h1, .about-section h2, .about-section p {
        margin: 10px auto; 
        text-align: center; 
    }

    .about-section h1{
        font-size: 1.5rem;
    }

    .about-section h2{
        font-size: 1rem;
    }

    .about-section p{
        font-size: 0.75rem;
    }
    

    .certification-container h1 {
        font-size: 1.4rem;
    }

    .certification-item {
        width: 50%;
        margin: 15px auto;
    }

    .certification-item h2 {
        font-size: 1.2vw;
    }

    .certification-item p {
        font-size: 0.8vw;
    }

    .certification-container img{
        width: 150px;
        height: auto;
    }

    .org-structure-container {
        max-width: 80%;
        margin: 0 auto;
        padding: 20px;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    
    .org-structure-container h1 {
        text-align: center;
        color: #3366A0;
        margin-bottom: 20px;
        font-size: 1.5rem;
    }
    
    .org-card {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
        padding: 10px;
        background-color: #fafafa;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s;
    }
    
    .org-card:hover {
        transform: scale(1.03);
    }
    
    .org-icon img {
        width: 50px;
        height: 50px;
        margin-right: 20px;
    }
    
    .org-info h2 {
        margin: 0;
        font-size: 1rem;
        color: #3366A0;
    }
    
    .org-info p {
        margin: 5px 0 0 0;
        color: black;
        font-size: 0.8rem;
    }
    
    .categories {
        margin: 100px auto;
        background-color: #3366A0;
        width: 100%;
    }
    
    .categories .container {
        display: flex;
        flex-direction: column;
        gap: 30px;
        max-width: 1200px;
        margin: 0 auto;
    }   
    
    .intro h1{
        text-align: center;
        font-size: 1.5rem;
        width: 100%;
        color: #fafafa;
    }
    
    .intro h2{
        text-align: center;
        font-size: 0.8rem;
        width: 90%;
        color: #fafafa;
        margin: 0 auto;
    }
    
    .spacer{
        margin: 0px auto;
    }
    
    .categories .category {
        display: flex;
        align-items: center;
        gap: 100px;
        background: #ffffffad;
        border-radius: 8px;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    
    .categories .category .image {
        flex: 1;
        max-width: 500px;
    }
    
    .categories .category .image img {
        width: 200%;
        border-radius: 8px;
        object-fit: cover;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .categories .category .details {
        flex: 2;
        margin-top: 0px;
    }
    
    .categories .category .details h3 {
        font-size: 1rem;
        margin-bottom: 15px;
        color: black;
    }
    
    .categories .category .details p {
        font-size: 0.8rem;
        margin-bottom: 15px;
        color: black;
    }
    
    .categories .category .details ul {
        list-style: none;
        padding: 0;
    }
    
    .categories .category .details ul li {
        font-size: 0.8rem;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        color: black;
    }
    
    .categories .category .details ul li i {
        color: #4caf50;
        margin-right: 10px;
        font-size: 18px;
    }

    .human-resources h1 {
        font-size: 1.5rem;
    }

    .human-resources h2 {
        font-size: 1rem;
        margin: 10px auto;
        text-align: center;
    }

    .human-resources p {
        font-size: 1rem;
    }

    .icon {
        width: 70px;
        height: 70px;
    }

    .count {
        font-size: 1rem;
    }

    .category-row {
        display: flex;
        justify-content: center; 
        align-items: center;    
        gap: 50px;
        margin: 0 0;        
        flex-wrap: wrap;     
        box-sizing: border-box;  
        margin-right: 50px;
    }
    
    .category-human {
        display: inline-block;
        width: 5vw;             
        text-align: center;  
        box-sizing: border-box;   
    }

    .category-row .icon{
        margin: 0 auto;
    }
}


@media (max-width: 786px) {

    .menulogo img {
        width: 75px; 
        height: auto;
    }
    .background-image-container {
        height: 70vh;
    }
    .dot-overlay {
        height: 60vh;
    }

    .dot-overlay {
        background-size: 5px 5px;
    }

    .overlay-content {
        font-size: 1.5rem;
        font-weight: bold;
        margin-top: 20px;
    }

    .logo {
        width: 12rem;
        margin-top: 100px;
    }

    .navbuttons button {
        font-size: 1.5rem;
        padding: 10px 12px;
    }

    .about-container {
        width: 95%; 
        text-align: center; 
    }
    
    .about-section {
        width: 80%;
        text-align: center; 
        min-height: 200px;
    }
    
    .about-section h1, .about-section h2, .about-section p {
        margin: 10px auto; 
        text-align: center; 
    }

    .about-section h1{
        font-size: 1.5rem;
    }

    .about-section h2{
        font-size: 1.25rem;
    }

    .about-section p{
        font-size: 1rem;
    }
    

    .certification-container h1 {
        font-size: 1.5rem;
    }

    .certification-item {
        width: 50%;
        margin: 15px auto;
    }

    .certification-item h2 {
        font-size: 1.2vw;
    }

    .certification-item p {
        font-size: 0.8vw;
    }

    .certification-container img{
        width: 150px;
        height: auto;
    }

    .org-structure-container {
        max-width: 80%;
        margin: 0 auto;
        padding: 20px;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    
    .org-structure-container h1 {
        text-align: center;
        color: #3366A0;
        margin-bottom: 20px;
        font-size: 1.5rem;
    }
    
    .org-card {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
        padding: 10px;
        background-color: #fafafa;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s;
    }
    
    .org-card:hover {
        transform: scale(1.03);
    }
    
    .org-icon img {
        width: 50px;
        height: 50px;
        margin-right: 20px;
    }
    
    .org-info h2 {
        margin: 0;
        font-size: 1.25rem;
        color: #3366A0;
    }
    
    .org-info p {
        margin: 5px 0 0 0;
        color: black;
        font-size: 1rem;
    }
    
    .categories {
        margin: 100px auto;
        background-color: #3366A0;
        width: 100%;
    }
    
    .categories .container {
        display: flex;
        flex-direction: column;
        gap: 30px;
        max-width: 1200px;
        margin: 0 auto;
    }   
    
    .intro h1{
        text-align: center;
        font-size: 1.5rem;
        width: 100%;
        color: #fafafa;
    }
    
    .intro h2{
        text-align: center;
        font-size: 1rem;
        width: 90%;
        color: #fafafa;
        margin: 0 auto;
    }
    
    .spacer{
        margin: 0px auto;
    }
    
    .categories .category {
        display: flex;
        align-items: center;
        gap: 100px;
        background: #ffffffad;
        border-radius: 8px;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        width: 85%;
        margin:0 auto;
    }
    
    .categories .category .image {
        flex: 1;
        max-width: 500px;
    }
    
    .categories .category .image img {
        width: 200%;
        border-radius: 8px;
        object-fit: cover;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .categories .category .details {
        flex: 2;
        margin-top: 0px;
    }
    
    .categories .category .details h3 {
        font-size: 1.25rem;
        margin-bottom: 15px;
        color: black;
    }
    
    .categories .category .details p {
        font-size: 1rem;
        margin-bottom: 15px;
        color: black;
    }
    
    .categories .category .details ul {
        list-style: none;
        padding: 0;
    }
    
    .categories .category .details ul li {
        font-size: 1rem;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        color: black;
    }
    
    .categories .category .details ul li i {
        color: #4caf50;
        margin-right: 10px;
        font-size: 18px;
    }

    .human-resources h1 {
        font-size: 1.5rem;
    }

    .human-resources h2 {
        font-size: 1.25rem;
        margin: 10px auto;
        text-align: center;
        width: 90%;
    }

    .human-resources p {
        font-size: 1rem;
    }

    .icon {
        width: 70px;
        height: 70px;
    }

    .count {
        font-size: 1rem;
    }

    .category-row {
        display: flex;
        justify-content: center; 
        align-items: center;    
        gap: 50px;
        margin: 0 0;        
        flex-wrap: wrap;     
        box-sizing: border-box;  
        margin-right: 50px;
    }
    
    .category-human {
        display: inline-block;
        width: 5vw;             
        text-align: center;  
        box-sizing: border-box;   
    }

    .category-row .icon{
        margin: 0 auto;
    }
}




