/* --- 1. SETĂRI GENERALE ȘI VARIABILE --- */
:root {
    /* Paleta de culori aleasă */
    --primary-color: #003366;    /* Albastru Navy - Încredere */
    --accent-color: #5296F7;     /*  - Acțiune/Butoane */
    --accent-dark: #176add;      /* mai închis pentru hover */
    --text-dark: #333333;        /* Text principal */
    --text-light: #666666;       /* Text secundar */
    --bg-light: #F9FAFB;         /* Fundal secțiuni deschise */
    --white: #ffffff;
    
    /* Fonturi */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* BARA COOKIE REPARATĂ */
.cookie-bar {
    position: fixed !important;
    bottom: 0 !important; /* Forțăm jos */
    top: auto !important;   /* Anulăm dacă era setat sus */
    left: 0;
    width: 100%;
    background-color: #000000 !important; /* Negru pur */
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.5);
    z-index: 9999999 !important; 
    padding: 20px 0;
    display: none; /* Ascuns default, JS îl arată */
    border-top: 2px solid #2ECC71; /* Linie verde subțire sus pentru design */
}

.cookie-bar.is-visible {
    display: block !important;
}

.cookie-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-text p {
    color: #ffffff !important;
    font-size: 0.9rem;
    margin: 0;
}

.btn-cookie {
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    margin-left: 10px;
}

.btn-cookie.accept { background-color: #2ECC71; color: white; }
.btn-cookie.reject { background-color: #333; color: white; }

@media (max-width: 768px) {
    .cookie-flex { flex-direction: column; text-align: center; gap: 15px; }
}
/* Containere */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Containerul principal de navigare */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0; /* Înlocuiește height fix cu padding pentru flexibilitate */
    min-height: 80px;
}

/* Aliniem imaginea lângă blocul de text */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px; /* Spațiu între imaginea logo și text */
}

.header-logo-img {
    height: 50px; /* Ajustează în funcție de logo-ul tău */
    width: auto;
}

/* Stivuim Titlul peste Subtitlu */
.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #003366;
    line-height: 1.1;
}

.logo-brand span {
    color: var(--accent-color); /* Verdele de accent */
}

.logo-subtitle {
    font-size: 0.75rem;
    color: #666;
    margin: 0;
    font-weight: 600;
    white-space: nowrap; /* Previne ruperea rândului pe ecrane mici */
}
.section-padding {
    padding: 80px 0;
}

/* --- 2. BUTOANE --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 10px;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* --- 3. HEADER & NAV --- */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);

}
.logo.logo_img {
    background-image: url('/logo.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    
   
}
.logo span { color: var(--accent-color); }

.main-nav ul { display: flex; align-items: center; gap: 30px; }
.main-nav a { font-weight: 600; font-size: 0.95rem; }
.main-nav a:hover { color: var(--primary-color); }

.btn-nav {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
}
.btn-nav:hover {
    background-color: var(--white);
    outline: #003366 solid 1px;
    }

/* --- 4. HERO SECTION --- */
.hero {
    /* Imagine placeholder de la Unsplash - poți pune calea către o imagine locală */
    background-image: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?q=80&w=2070&auto=format&fit=crop'); 
    background-size: cover;
    background-position: center;
    height: 85vh;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
}

/* Overlay albastru închis transparent peste imagine */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 51, 102, 0.7); 
}
.hero h1 span {
    color: var(--accent-color); /* Verdele de accent pentru a scoate în evidență locația */
}

.hero p {
    max-width: 600px;
    margin-bottom: 40px;
    font-size: 1.25rem;
    line-height: 1.6;
}

.hero-trust-badges {
    margin-top: 40px;
    display: flex;
    gap: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
}

.hero-trust-badges i {
    color: var(--accent-color);
    margin-right: 5px;
}

/* Efect de scroll discret pentru butonul secundar */
.btn-secondary i {
    margin-left: 8px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-5px);}
    60% {transform: translateY(-3px);}
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}
.team-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
    margin-bottom: 60px; /* Spațiu până la serviciile de dedesubt */
}

.team-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px;
    width: 320px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: var(--accent-color);
}

.team-img-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    overflow: hidden; /* Taie marginile imaginii pentru a fi rotundă */
}

.team-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asigură că poza nu se deformează */
}

.team-info h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.team-role {
    display: block;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.team-info p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-social a {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.team-social a:hover {
    color: var(--accent-color);
}

/* Adaptare pentru ecrane mici */
@media (max-width: 768px) {
    .team-grid {
        flex-direction: column;
        align-items: center;
    }
    .team-card {
        width: 100%;
        max-width: 350px;
    }
}

/* --- 5. TRUST BAR --- */
.trust-bar {
    background: var(--bg-light);
    padding: 30px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.trust-bar p { margin-bottom: 15px; font-weight: 600; color: var(--text-light); }

.logos-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    color: #888;
    font-weight: 700;
    font-size: 1.2rem;
}

/* --- 6. SERVICII (Grid) --- */
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.2rem; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 8px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-top: 3px solid var(--accent-color);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.link-arrow {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 15px;
    display: inline-block;
}
.service-modal-content {
    max-width: 700px; /* Mai lat decât modalul de mulțumire */
    text-align: left;
    padding: 50px;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
}

.service-modal-content h2 {
    color: var(--primary-color);
    border-bottom: 3px solid var(--accent-color);
    display: inline-block;
    margin-bottom: 20px;
}

.service-modal-content ul {
    margin: 20px 0;
}

.service-modal-content li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.service-modal-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.modal-footer {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
    text-align: center;
}

/* --- 7. DE CE NOI (Features) --- */
.features-section {
    background-color: var(--primary-color);
    color: var(--white);
}

.features-section h4 { color: var(--white); font-size: 1.3rem; margin-top: 15px; }
.features-section p { color: #e0e0e0; }

.features-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    text-align: center;
}

.feature-box i {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

/* --- 8. CONTACT --- */
.contact-section {
    background-color: var(--bg-light);
}

.contact-info h2, .contact-info h3 {
    text-align: left; /* Arată mai profesional aliniat la stânga când ai formular în dreapta */
}

.contact-info h3 {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 40px;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    background: var(--white);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.info-list i {
    font-size: 1.5rem;
    color: var(--accent-color);
    background: #e8f8f0;
    padding: 12px;
    border-radius: 50%;
}
/* Containerul pentru bifa GDPR */
.checkbox-container {
    display: flex; /* Aliniere pe orizontală */
    align-items: flex-start; /* Aliniere la partea de sus a textului */
    gap: 12px; /* Spațiu fix între bifă și text */
    margin-top: 20px;
    text-align: left; /* Forțează alinierea la stânga */
}

/* Resetăm proprietățile globale pentru acest input specific */
.checkbox-container input[type="checkbox"] {
    width: 18px; /* Dimensiune fixă mică */
    height: 18px;
    margin: 0;
    margin-top: 3px; /* Coborâm bifa puțin pentru a fi la nivelul primului rând de text */
    cursor: pointer;
    flex-shrink: 0; /* Previne strivirea bifei pe ecrane mici */
}

/* Stilul pentru textul bifei */
.gdpr-label {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-light);
    cursor: pointer;
    user-select: none; /* Previne selectarea textului la click accidental */
    margin-bottom: 0 !important; /* Eliminăm marginile de la label-urile globale */
}

.gdpr-label a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

/* Stiluri Formular */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: block;
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus, 
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.btn-block {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    border: none;
    margin-top: 10px;
}
/* Stiluri Modal (Pop-up) */
.modal {
    display: none; /* Ascuns implicit */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 51, 102, 0.8); /* Overlay albastru închis */
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header i {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.modal-body h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.modal-body p {
    color: var(--text-light);
    margin-bottom: 25px;
}
.privacy-modal-content {
    max-width: 800px;
    max-height: 80vh; /* Nu depășește 80% din înălțimea ecranului */
    overflow-y: auto; /* Adaugă scroll interior */
    text-align: left;
    padding: 40px;
}

.privacy-text-container h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.privacy-text-container h3 {
    font-size: 1.1rem;
    margin-top: 20px;
    color: var(--primary-color);
}

.privacy-text-container p, .privacy-text-container li {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.privacy-text-container section {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* Stil pentru afișarea modalului prin JS */
.modal.active {
    display: flex;
}

/* --- 9. FOOTER --- */
footer {
    background: #111;
    color: #888;
    padding: 30px 0;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}
.footer-content p {
    max-width: 70%;
}
.footer-links a { margin-left: 20px; }
.footer-links a:hover { color: var(--white); }

/* --- 10. WHATSAPP BUTTON --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}
footer {
    background-color: var(--primary-color);
}
.footer-content {
   display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2%; /* Înlocuiește height fix cu padding pentru flexibilitate */
    color:#ddd;
    
   
}
.footer-content i {
    font-size: 2rem;
    
}

.whatsapp-float:hover { background-color: #128C7E; }

/* --- RESPONSIVE (MOBIL) --- */
@media (max-width: 768px) {
    .nav-container { flex-direction: column; height: auto; padding: 15px 0; }
    .main-nav ul { gap: 15px; margin-top: 15px; flex-wrap: wrap; justify-content: center; }
    
    .hero h1 { font-size: 2rem; }
    .hero-buttons { display: flex; flex-direction: column; gap: 10px; }
    .btn-secondary { margin-left: 0; }
    
    .features-wrapper, .contact-wrapper, .footer-content {
        flex-direction: column;
    }
    
    .contact-wrapper { gap: 30px; }
    .contact-info { order: 2; } /* Formularul primul pe mobil */
    .contact-form { order: 1; }
}