* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: #0a2b3e;
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Logo în stânga */
.logo {
    flex: 1;
}

/* Meniul de navigație - centrat */
nav {
    flex: 2;
    text-align: center;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 50px;
    margin: 0;
    padding: 0;
}

/* Butoanele de limbă în dreapta */
.lang-switch {
    flex: 1;
    text-align: right;
}

.logo h1 {
    font-size: 1.5rem;
}

.logo p {
    font-size: 0.8rem;
    color: #ccc;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;
}

nav a:hover {
    color: #e0a800;
}

.lang-switch {
    display: flex;
    gap: 10px;
}

.lang-switch a {
    background: #1e4a6e;
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    font-size: 0.8rem;
}

.hero {
    background: linear-gradient(135deg, #0a2b3e, #1e4a6e);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.btn {
    background: #e0a800;
    color: #0a2b3e;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

.section {
    padding: 60px 20px;
}

.section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #0a2b3e;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

button {
    background: #0a2b3e;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
}

footer {
    background: #0a2b3e;
    color: #ccc;
    text-align: center;
    padding: 30px;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .header-flex {
        flex-direction: column;
        gap: 15px;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
/* Lawyer photos styling */
.lawyer-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin-top: 40px;
}

.lawyer-card {
    text-align: center;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 280px;
    transition: transform 0.3s;
}

.lawyer-card:hover {
    transform: translateY(-5px);
}

.lawyer-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #e0a800;
    margin-bottom: 15px;
}

.lawyer-name {
    color: #0a2b3e;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.lawyer-title {
    color: #e0a800;
    font-size: 0.9rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .lawyer-card {
        width: 100%;
        max-width: 280px;
    }
    .lawyer-photo {
        width: 150px;
        height: 150px;
    }
/* Lawyer photos styling */
.lawyer-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin-top: 40px;
}

.lawyer-card {
    text-align: center;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 280px;
    transition: transform 0.3s;
}

.lawyer-card:hover {
    transform: translateY(-5px);
}

.lawyer-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #e0a800;
    margin-bottom: 15px;
}

.lawyer-name {
    color: #0a2b3e;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.lawyer-title {
    color: #e0a800;
    font-size: 0.9rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .lawyer-card {
        width: 100%;
        max-width: 280px;
    }
    .lawyer-photo {
        width: 150px;
        height: 150px;
    }
}