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

body, h1, h2, h3, p, ul {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #495057;
    line-height: 1.7;
}

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

/* Header */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: #f1f3f5;
    padding: 8px 0;
    font-size: 13px;
    color: #868e96;
}

.top-bar .container, .main-header .container, .main-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-bar a {
    text-decoration: none;
    color: #868e96;
    margin-left: 15px;
    transition: color 0.3s ease;
}
.top-bar a:hover {
    color: #007bff;
}

.lang-switcher a.active {
    font-weight: bold;
    color: #495057;
}

.search-form {
    display: flex;
}

.search-form input {
    border: 1px solid #dee2e6;
    padding: 5px 10px;
    border-radius: 5px 0 0 5px;
    font-size: 13px;
}

.search-form button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
    transition: background-color 0.3s ease;
}
.search-form button:hover {
    background-color: #0056b3;
}

.main-header {
    padding: 20px 0;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #343a40;
}

.contact-info p {
    font-size: 16px;
    text-align: right;
    margin-bottom: 5px;
    font-weight: 600;
    color: #495057;
}
.contact-info p:last-child {
    margin-bottom: 0;
}

.main-nav {
    background-color: #ffffff;
    border-top: 1px solid #f1f3f5;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

.main-nav li a {
    display: block;
    color: #495057;
    padding: 15px 20px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: #007bff;
    transition: width 0.3s ease;
}

.main-nav li a:hover, .main-nav li a.active {
    color: #007bff;
}

.main-nav li a:hover::after, .main-nav li a.active::after {
    width: 100%;
}

/* Main Content */
main {
    padding: 40px 0;
}

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

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

.breadcrumbs span {
    color: #adb5bd;
}

.content-section {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.content-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #343a40;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
    display: inline-block;
}

.content-section p, .content-section ul {
    margin-bottom: 15px;
}

.content-section ul {
    list-style-position: outside;
    padding-left: 20px;
}

/* Doctors Section */
.doctors-section h3 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    color: #343a40;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.doctor-card {
    text-align: center;
    border: 1px solid #e9ecef;
    padding: 20px;
    border-radius: 8px;
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.08);
}

.doctor-name {
    font-weight: 600;
    color: #343a40;
    margin-bottom: 5px;
}

.doctor-specialty {
    color: #007bff;
    font-size: 14px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-block {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.info-block h4 {
    font-size: 18px;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 10px;
}

#contacts ul {
    list-style: none;
    padding-left: 0;
}
#contacts li {
    margin-bottom: 5px;
}

.map-container {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background-color: #343a40;
    color: #f8f9fa;
    padding: 40px 0;
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.copyright {
    font-size: 14px;
    flex-basis: 100%;
    margin-bottom: 20px;
    text-align: center;
}

.footer-content .social-links {
    margin-top: 10px;
}
.footer-content .social-links a {
    text-decoration: none;
    color: #f8f9fa;
    margin: 0 10px;
    font-weight: 600;
    transition: color 0.3s ease;
}
.footer-content .social-links a:hover {
    color: #007bff;
}

.legal-info {
    font-size: 13px;
    max-width: 100%;
    text-align: center;
    color: #adb5bd;
}

.legal-info p {
    margin-bottom: 5px;
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}
html {
    scroll-behavior: smooth;
} 