:root {
    --green: #4CAF50;
    --footer-background: #000000; /* negru */
    --footer-border: #ccc;
    --footer-text-color: #AAAAAA; /* gri */
    --footer-hover-color: #FF5733; /* portocaliu pentru hover */
    --section1-background: #FFFFFF; /* alb */
    --section1-text-color: #000000; /* negru */
    --section2-background: #F0F0F0; /* gri deschis */
    --section2-text-color: #000000; /* negru */
    --section3-background: #1864ab; /* albastru */
    --section3-text-color: #fff; /* alb */
    --section4-background: #4CAF50; /* roșu */
    --section4-text-color: #fafafa; /* alb */
    --section5-background: #dd3333; /* roșu */
    --section5-text-color: #fafafa; /* alb */
}

/* Importați fontul Lexend */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;700&display=swap');

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lexend', sans-serif;
    line-height: 1.5;
}

h1 {
    font-size: 50px;
}

h2 {
    font-size: 45px;
}

h3 {
    font-size: 40px;
        color:#dd3333;
}

h4 {
    font-size: 35px;
}

h5 {
    font-size: 30px;
}

h6 {
    font-size: 25px;
}

/* Media Query pentru dispozitive mobile */
@media (max-width: 768px) {
    h1, h2, h3, h4, h5, h6 {
        text-align: center; /* Centrează pe mobil */
        font-weight: bold; /* Fonturi bold pe mobil */
        padding: 0 15px; /* Adaugă un padding mic pentru a nu atinge marginile ecranului */
        line-height: 1.1;
    }
}


body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

hr {
    color:#f0f0f0;
    width:100%;
    height: 1px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    position: sticky; /* Face header-ul sticky */
    top: 0; /* Fixează header-ul în partea de sus a paginii */
    background-color: #fff; /* Asigură un fundal pentru header */
    z-index: 1000; /* Asigură-te că header-ul este deasupra altor elemente */
}

.header-left, .header-right {
    display: flex;
    align-items: center;
}


.logo {
    max-width: 50px;
    height: auto;
}

.site-name {
    font-size:30px;
    font-weight:700;
    display: block;
    color: #3a3a3a;
    margin-left: 15px;
}

@media (max-width: 768px) {
    .site-name {
        font-size: 18px; /* Dimensiune font pentru mobil */
    }
    }

.fa-1, .fa-2, .fa-3 {
    color:#dd3333;
}

/* Media Query pentru dispozitive mobile */
@media (max-width: 768px) {
    .logo {
        max-width: 30px;
    }

    .site-name, .phone-number {
        font-size: 14px;
    }

    header {
        padding: 10px;
    }

    h1, h2, h3, h4, h5, h6 {
        text-align: center; /* Centrează pe mobil */
        font-weight: bold; /* Fonturi bold pe mobil */
        padding: 0 15px; /* Adaugă un padding mic pentru a nu atinge marginile ecranului */
    }
}

footer {
    background-color: var(--footer-background);
    color: var(--footer-text-color);
    border-top: 1px solid var(--footer-border);
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    font-size: 12px;
}

footer a {
    color: var(--footer-text-color);
    text-decoration: none;
    padding: 0 10px;
}

footer a:hover {
    color: var(--footer-hover-color);
}

.section1, .section3, .section4, .section5 {
    padding: 50px; /* Padding pentru desktop */
    text-align: center;
}

.section2 {
    padding: 50px; /* Padding pentru desktop */
}

.section1 {
    background-color: var(--section1-background);
    color: var(--section1-text-color);
}

.section2 {
    background-color: var(--section2-background);
    color: var(--section2-text-color);
}

.section3 {
    background-color: var(--section3-background);
    color: var(--section3-text-color);
}

.section4 {
    background-color: var(--section4-background);
    color: var(--section4-text-color);
}

.section5 {
    background-color: var(--section1-background);
    color: var(--section1-text-color);
}

/* Stiluri generale */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    position: relative;
    color: #000;
    text-decoration: none;
}

.phone-number {
    display: inline-block;
    background-color: var(--green);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 20px;
    transition: background-color 0.3s;
}

/* Ajustări pentru mobil */
@media (max-width: 768px) {
    .phone-number {
        width: auto;
        margin: 0 auto;
        display: block;
        text-align: center;
        font-size: 18px;
        white-space: nowrap;
        padding: 10px 15px;
    }
}

.icons-container {
    text-align: center;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
    color: var(--green);
    font-size: 30px;
    margin-bottom: 5px;
}

.icon-text {
    margin-top: 5px;
    color: #4c566a;
    font-size: 18px;
}

.colored-background h2,
.colored-background p,
.white-background h2,
.white-background p {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Media query pentru dispozitive mobile */
@media (max-width: 768px) {
    .section1,
    .section2,
    .section3,
    .section4 {
        width: 100%;
        padding: 25px; /* Adaugă un padding de 25px pentru mobil */
    }

    .description {
        flex-direction: column;
        padding: 25px; /* Padding pentru mobil */
        width: 100%;
    }

    h1, h2, h3, h4, h5, h6 {
        text-align: center; /* Centrează H1 pe mobil */
        font-weight: bold; /* Fonturi bold pe mobil */
    }
}

.description {
    display: flex;
    padding: 50px; /* Padding pentru desktop */
}

.description .text, .description .image {
    flex: 1;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Ajustări pentru dispozitive mobile */
@media (max-width: 768px) {
    .description {
        flex-direction: column;
        padding: 25px; /* Padding pentru mobil */
    }

    .description .text, .description .image {
        text-align: center; /* Centrează textul și imaginea pe mobil */
    }
}

.description .mobile-content {
    display: none;
}

.description .desktop-content {
    display: block;
}

/* Media Query pentru dispozitive mobile */
@media (max-width: 768px) {
    .description .mobile-content {
        display: block;
    }

    .description .desktop-content {
        display: none;
    }
}

ul.fa-ul {
    list-style-type: none;
    padding-left: 0;
}

.fa-ul {
    margin-left: 0!important;
}

ul.fa-ul li {
    position: relative;
    padding-left: 25px;
}

ul.fa-ul li::before {
    content: "\f058";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #dd3333;
    position: absolute;
    left: 0;
    top: 0;
}

img.responsive {
    max-width: 100%;
    height: auto;
}

.popup-container {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.popup-content {
    font-size: 14px;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 500px;
}

.close-btn {
    float: right;
    font-size: 28px;
    cursor: pointer;
}

.cookie-consent-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #3a3a3a;
    color: #f0f0f0;
    text-align: center;
    padding: 10px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cookie-consent-container p {
    margin: 0;
    font-size: 12px;
    display: inline;
}

#cookieConsentButton {
    background-color: #dd3333;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    margin-left: 10px;
    cursor: pointer;
    font-size: 12px;
}
