@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    margin: 0;
    background-color: #f9f9f9;
    color: #444;
}

.container {
    display: flex;
    max-width: 1200px;
    margin: 20px auto;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
}

header {
    background-color: #fff;
    padding: 15px 30px;
    border-bottom: 1px solid #e7e7e7;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
}

.logo span {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}
.logo a {
    text-decoration: none;
}

.header-info {
    font-size: 18px;
    font-weight: 500;
}

.header-info a {
    margin-left: 20px;
    color: #6A78B6;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.header-nav {
    background-color: #6A78B6;
    padding: 12px;
    text-align: center;
    border-radius: 5px;
}

.header-nav a {
    color: white;
    text-decoration: none;
    margin: 0 18px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header-nav a:hover, .header-nav a.active {
    color: #e0e4ff;
}


.sidebar {
    width: 280px;
    padding: 20px;
    background-color: #fdfdfd;
    border-right: 1px solid #e7e7e7;
}

.sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar nav li a {
    display: block;
    padding: 12px 18px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    margin-bottom: 5px;
}

.sidebar nav li a.active {
    background-color: #6A78B6;
    color: white;
    font-weight: bold;
}
.sidebar nav li a:not(.active):hover {
    background-color: #f0f0f0;
}

.sidebar-contacts {
    margin-top: 30px;
    font-size: 14px;
}

.content {
    flex: 1;
    padding: 30px;
}

.breadcrumbs {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 20px;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.6em;
}

h3 {
    font-size: 1.3em;
}

h1, h2, h3 {
    color: #343a40;
    font-weight: 700;
}

h1 {
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.specialist-card {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
}

.specialist-info {
    margin-left: 15px;
}

footer {
    background-color: #343a40;
    color: #ccc;
    text-align: center;
    padding: 30px 20px;
    margin-top: 20px;
    font-size: 14px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content p {
    margin: 5px 0;
}

.footer-content .legal-info {
    font-size: 12px;
    color: #888;
    margin-top: 15px;
}

.cta-block {
    background-color: #e9ecef;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    border-radius: 5px;
}

.cta-block h3 {
    margin-top: 0;
}

.cta-block a {
    display: inline-block;
    background: #6A78B6;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.cta-block a:hover {
    background-color: #556090;
}

#contact-form {
    display: flex;
    flex-direction: column;
}

#contact-form input,
#contact-form textarea,
#contact-form button {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

#contact-form button {
    background: #6A78B6;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#contact-form button:hover {
    background-color: #556090;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th, table td {
    border: 1px solid #dee2e6;
    padding: 8px;
    text-align: left;
}

table th {
    background-color: #f2f2f2;
} 