.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #22223b;
    color: white;
    padding: 20px 0;
    position: fixed; /* Necesită pentru a poziționa absolut titlul */
    top: 0; /* Se poziționează în partea de sus a paginii */
    left: 0; /* Se extinde de la marginea stângă */
    width: 100%; /* Acoperă întreaga lățime a paginii */
    z-index: 1000; /* Asigură că header-ul stă deasupra altor elemente */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Sub-header Styling */
.sub-header {
    position: fixed;
    top: 0; /* Inițial îl plasăm la top */
    left: 0;
    width: auto;
    background-color: #4a4e69;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none; /* Ascuns inițial */
    z-index: 1000;
}

.sub-header ul.device-list {
    list-style: none;
    margin: 0;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    white-space: nowrap;
}

.sub-header ul li a {
    font-size: 0.9em;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    gap: 10px;
    text-decoration: none;
}

.sub-header ul li:hover {
    color: #ffffff;
    text-decoration: none;
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


.nav-menu-intro {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
    background-color: #22223b;
    font-weight: bold;
}

.nav-links {
    list-style-type: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    padding: 10px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #9a8c98;
}

.arrow {
    font-size: 0.8em;
    margin-left: 5px;
}

/* Stil pentru meniul dropdown */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    list-style-type: none;
    padding: 10px 15px; /* Reduce padding-ul general */
    border: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    z-index: 10;

    max-height: 300px; /* Înălțime maximă a meniului */
    overflow-y: auto; /* Scroll vertical dacă conținutul depășește înălțimea */
    width: 250px; /* Lățimea meniului */
}

.dropdown-menu li {
    padding: 10px 15px; /* Padding mai mic pentru fiecare element */
    margin: 5px 0; /* Spațiere între elemente */
}

.dropdown-menu li a {
    display: flex;
    align-items: center; /* Aliniază imaginea și textul pe verticală */
    text-decoration: none;
    color: #000000;
    font-size: 0.9em; /* Dimensiune mai mică pentru text */
    padding: 5px; /* Padding redus pentru link-uri */
    transition: color 0.3s ease;
}

.dropdown-menu li a:hover {
    color: #29a91f;
}

.dropdown-menu li img.icon {
    width: 50px; /* Dimensiunea imaginii */
    height: 50px; /* Asigură un aspect pătrat */
    margin-right: 50px; /* Distanța dintre imagine și text */
    border-radius: 4px; /* Opțional: colțuri rotunjite pentru imagine */
    object-fit: contain; /* Asigură păstrarea proporțiilor */
}

/* Activează meniul dropdown pe hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Adaugă săgeata într-o poziție estetică */
.dropdown:hover .arrow {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

/* Butonul Contact */
.contact-btn {
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
    padding: 8px 20px;
    border: 2px solid #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.contact-btn:hover {
    background-color: #29a91f;
    color: #fff;
}
/* Stil pentru header-ul secundar */
.secondary-header {
    background-color: #f0f8f0;
    color: white;
    padding: 10px;
    text-align: center;
}

.support-btn:hover {
    background-color: rgba(166, 204, 155, 0.3); /* Fundal gri deschis pe hover */
    text-decoration: none; /* Elimină sublinierea */
}

.secondary-header .support-btn,
.secondary-header .option-btn {
    text-decoration: none;
    margin: 0 10px;
    padding: 10px 20px;
    border: none;
    color: #000000;
    background-color: #e3ece5;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}
.slide-image {
    width: 100%; /* Se ajustează automat la dimensiunea containerului */
    max-height: 500px;
    object-fit: cover; /* Asigură că imaginea își păstrează proporțiile */
    border-radius: 8px;
    transition: transform 0.3s ease;
}
/* Stil pentru slideshow */
.slideshow-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh;
    position: relative;
    background-color: rgba(0, 0, 0, 0.6); /* Fundal negru semi-transparent */
    padding: 20px;
    border-radius: 10px;
    margin: auto;
    overflow: hidden;
}

.slideshow {
    max-width: 800px;
    position: relative;
}

.slide {
    display: none;
}

.fade {
    animation: fadeEffect 1.5s;
}

@keyframes fadeEffect {
    from {opacity: 0.4;}
    to {opacity: 1;}
}

.text {
    color: white;
    font-size: 1em;
    text-align: center;
    padding: 10px;
}

/* Indicatori pentru slide-uri */
.dots {
    text-align: center;
    position: absolute;
    bottom: 10px;
    width: 100%;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.active, .dot:hover {
    background-color: #717171;
}

/* Styling pentru footer */
/* Footer general styles */
.footer {
    background-color: #f8f9fa;
    padding: 40px 20px;
    color: #333;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

/* Secțiuni */
.footer-section {
    flex: 1;
    min-width: 220px;
}

.footer-logo {
    text-align: center;
}

.footer-logo-img {
    max-width: 90px;
    margin-bottom: 15px;
}

.footer-copyright {
    font-size: 0.9rem;
    margin: 10px 0;
    text-align: center;
}

.footer-social {
    text-align: center;
    margin-top: 10px;
}

.social-link i {
    font-size: 1.5rem;
    color: #007bff;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.footer a {
    text-decoration: none;
}

.social-link i:hover {
    color: #0056b3;
}

/* Titluri și linkuri */
.footer-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin-bottom: 8px;
}

.footer-link {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-link:hover {
    text-decoration: underline;
}

/* Contact */
.footer-contact p {
    font-size: 0.9rem;
    margin: 5px 0;
}

.footer-contact a {
    color: #007bff;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}


.header-right {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 10px;
}

.header-btn {
    padding: 8px 16px;
    color: white;
    background-color: #4a4e69;
    border: none;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.header-btn:hover {
    background-color: #9a8c98;
}
/* Animatii generale pentru AOS */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.6s;
    transition-timing-function: ease-out;
}

[data-aos="fade-up"] {
    transform: translateY(20px);
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Sectiuni de continut */
.section {
    padding: 60px 20px;
    text-align: center;
}


.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-section h1 {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 10px;
}

.hero-section p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.hero-section .btn-primary {
    padding: 10px 20px;
    background-color: #4a4e69;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.hero-section .btn-primary:hover {
    background-color: #9a8c98;
}

/* Footer la scroll */
.sticky-footer {
    position: relative;
    margin-top: auto;
}

/* Container general */
.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px; /* Spațiu între imagine și text */
    padding: 20px;
    background-color: #f9f9f9; /* Fundal deschis */
    border-radius: 12px; /* Colțuri rotunjite pentru tot containerul */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); /* Umbră subtilă */
}

/* Stil pentru icon-ul aplicației */
.app-icon {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
}

.app-icon img {
    width: 250px; /* Dimensiunea icon-ului */
    height: 250px; /* Dimensiunea icon-ului */
    /*border-radius: 20px;*/ /* Colțuri rotunjite */
    /*box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2),*/ /* Umbră principală */
                /*0 4px 6px rgba(0, 0, 0, 0.1) inset;*/ /* Efect 3D interior */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-icon img:hover {
    transform: translateY(-5px); /* Se ridică ușor la hover */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3), /* Umbră mai intensă */
                0 6px 8px rgba(0, 0, 0, 0.2) inset;
}

/* Stil pentru textul descriptiv */
.about-text {
    flex: 2; /* Textul ocupă mai mult spațiu */
}

.about-text h2 {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.about-text p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.btn-primary {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4a4e69;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #9a8c98;
}

/* Secțiunea Services */
.services-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Spațiu între elemente */
    padding: 40px 20px;
    text-align: center;
}

.device {
    flex: 1;
    max-width: 400px; /* Limitează dimensiunea dispozitivelor */
    display: flex;
    justify-content: center;
}

.device img {
    max-width: 100%; /* Imaginea să se scaleze */
    height: auto;
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.3)); /* Adaugă un efect de relief */
    transition: transform 0.3s ease;
}

.device img:hover {
    transform: scale(1.1); /* Zoom la hover */
}

.device-description {
    flex: 2;
    padding: 0 20px; /* Spațiu între text și imagini */
}

.device-description h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.device-description p {
    font-size: 1.2em;
    line-height: 1.6;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-info {
    flex: 1;
    min-width: 300px;
    padding-right: 20px;
}

.contact-info h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: #333;
}

.contact-info h3 {
    font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #333;
}

.contact-info p {
    font-size: 1em;
    color: #666;
    margin-bottom: 10px;
}

.contact-info i {
    color: #4a4e69;
    margin-right: 10px;
}

.contact-info a {
    color: #4a4e69;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-map {
    flex: 1;
    min-width: 300px;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    border: none;
    border-radius: 8px;
}

/* Ecrane medii - Tablete */
@media (max-width: 992px) {
    .main-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-menu-intro {
        flex-direction: column;
        width: 100%;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 10px;
        width: 100%;
    }

    .header-right {
        justify-content: center;
        width: 100%;
    }

    .sub-header ul.device-list {
        flex-direction: column;
        align-items: center;
    }
}

/* Ecrane mici - Telefoane */
@media screen and (max-width: 768px) {
    .main-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px 0;
    }

    .header-center {
        margin-bottom: 10px;
    }

    .nav-menu-intro {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
    }

    .header-right {
display: flex;
        gap: 15px;
    }

    .header-btn {
        width: 100%;
        text-align: center;
    }
}


.header-logo {
    max-width: 150px;
    height: auto;
}


.nav-links a {
    padding: 10px 0;
    display: block;
}

@media screen and (max-width: 480px) {
    .nav-links a {
        font-size: 14px;
    }

    .header-btn {
        font-size: 14px;
        padding: 8px;
    }

    .hero-section h1 {
        font-size: 1.8em;
    }

    .hero-section p {
        font-size: 1em;
    }
}

#parallax-icon img {
    position: relative;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

