/* General & Reset */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #333;
}

.container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 15px;
}

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

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

.page-wrapper {
    background-color: #fff;
    width: 100%;
    max-width: 1050px;
    margin: 20px auto;
    box-shadow: 0 0 15px rgba(0,0,0,0.15);
    border: 1px solid #ddd;
}

/* Header */
.header-main {
    padding: 20px 0;
}
.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: bold;
    color: #333;
}

.logo-text {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-weight: 700;
    font-size: 2.2em;
    color: #2c3e50;
    text-decoration: none;
    letter-spacing: -1px;
}

.search-box {
    flex-grow: 1;
    margin: 0 30px;
    display: flex;
}
.search-box input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-right: none;
}
.search-box button {
    padding: 10px 15px;
    border: 1px solid #d9534f;
    background-color: #d9534f;
    color: white;
    cursor: pointer;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="white" viewBox="0 0 16 16"><path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    width: 45px;
}

.header-contacts .phone-number {
    font-size: 1.2em;
    font-weight: 500;
    color: #333;
    margin-right: 15px;
}
.header-contacts .callback-link {
    text-decoration: underline;
    color: #007bff;
    border-bottom: 1px dashed #007bff;
    text-decoration: none;
}
.header-contacts .callback-link:hover {
    color: #d9534f;
    border-bottom-color: #d9534f;
}

.nav-menu-container {
    background-color: #0d47a1; /* Dark Blue */
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.main-nav ul li a {
    display: block;
    padding: 15px 20px;
    color: white;
    font-size: 1em;
    text-decoration: none;
}
.main-nav ul li a:hover {
    background-color: #1565c0; /* Lighter Blue */
}

/* Main Layout */
.main-container {
    display: flex;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.sidebar {
    width: 240px;
    flex-shrink: 0;
    padding-right: 20px;
}

.content {
    flex-grow: 1;
}

/* Sidebar Widgets */
.sidebar-widget {
    margin-bottom: 25px;
    border: 1px solid #eee;
}
.sidebar-widget.promo-block {
    border: none;
}

/* Content Area */
.clear {
    clear: both;
}
.article-image-float {
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
    max-width: 200px;
}

.breadcrumbs {
    margin-bottom: 20px;
    font-size: 0.9em;
    color: #777;
}

article h1 {
    font-size: 1.8em;
    margin-bottom: 20px;
}
article h2 {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
}
article p {
    margin-bottom: 15px;
    color: #444;
}

/* Content Blocks */
.content-block {
    padding: 30px 0;
    border-top: 1px solid #eee;
}
.content-block:first-of-type {
    border-top: none; /* The article itself doesn't need a top border */
    padding-top: 0;
}
.content-block h2 {
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.contacts-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
.contact-details {
    flex: 1;
    min-width: 280px;
}
.contact-form-wrapper {
    flex: 1;
    min-width: 280px;
}
.feedback-form {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
}
.feedback-form h3 {
    margin-top: 0;
}
.feedback-form input, .feedback-form button {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    box-sizing: border-box;
}
.feedback-form button {
    background-color: #d9534f;
    color: white;
    border: none;
    cursor: pointer;
}

.map-container {
    margin-top: 30px;
    border-radius: 5px;
    overflow: hidden; /* Ensures the border-radius is applied to the iframe */
    line-height: 0; /* Removes any extra space below the iframe */
}

/* Footer */
.footer {
    background-color: #273444; /* Darker blue-gray from original */
    color: #aaa;
    padding: 20px 0;
    margin-top: 40px;
    font-size: 0.85em;
    line-height: 1.5;
}
.footer .container {
    background-color: transparent;
}
.footer-nav {
    text-align: center;
    padding-bottom: 15px;
}
.footer-nav a {
    color: #eee;
    margin: 0 10px;
    font-size: 1.1em;
}
.footer-divider {
    border: 0;
    border-top: 1px solid #445;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 15px;
}
.footer-col {
    flex: 1;
}
.copyright-col {
    flex-basis: 50%;
}
.legal-col {
    flex-basis: 30%;
}
.social-col {
    flex-basis: 20%;
    text-align: right;
}
.social-col a {
    margin-left: 10px;
    display: inline-block;
}
.social-col img {
    width: 32px;
    height: 32px;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.social-col a:hover img {
    opacity: 1;
}
.footer a {
    color: #fff;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}

/* Feedback Form Section */
.feedback-form-section {
    background-color: #f9f9f9;
    padding: 30px;
    margin-top: 40px;
    border-radius: 5px;
    text-align: center;
}

.feedback-form-section h2 {
    margin-top: 0;
}

.feedback-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.feedback-form input,
.feedback-form button {
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ddd;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box; /* Important for padding */
}

.feedback-form button {
    background-color: #2ecc71;
    color: white;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
}

.feedback-form button:hover {
    background-color: #27ae60;
}

.privacy-policy-agreement {
    font-size: 0.8em;
    color: #777;
    margin-top: 10px;
}

.image-placeholder img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 20px 0;
} 