/* Reset and Base Styles */
:root {
    --primary-color: #00B5C6;
    --secondary-color: #6772E5;
    --dark-blue: #2c3e50;
    --text-color: #333;
    --light-gray: #f8f9fa;
    --border-color: #e0e0e0;
    --white-color: #ffffff;
    --sidebar-bg: #F9F9F9;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    background-color: var(--white-color);
}

.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--dark-blue);
}

h1, h2, h3 {
    color: var(--dark-blue);
    font-weight: 600;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.8rem; margin-top: 2rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.3rem; }

ul {
    list-style-type: none;
    padding: 0;
}

/* Header */
.header {
    background-color: var(--white-color);
    border-bottom: 1px solid var(--border-color);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-svg {
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
    color: #666;
    line-height: 1.3;
}

.logo-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--dark-blue);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.header-address { color: #666; }
.header-contacts { text-align: right; }
.phone-number { font-size: 1.2rem; font-weight: 500; color: var(--dark-blue); display: block; }
.work-hours { font-size: 0.9rem; color: #666; }

.header-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
}

.main-nav ul {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    display: block;
    padding: 1rem 0.5rem;
    color: var(--dark-blue);
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: border-color 0.3s;
}

.main-nav a:hover {
    border-bottom-color: var(--primary-color);
}

.search-bar input {
    padding: 0.5rem 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: 180px;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #009aa9;
}

/* Page Title Section */
.page-title-section {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 2rem 0;
}

.page-title-section h1 { color: var(--white-color); }

.breadcrumbs {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--white-color);
    opacity: 0.8;
}

.breadcrumbs span { opacity: 1; }

/* Main Content */
.main-content { padding: 3rem 0; }
.content-wrapper { display: grid; grid-template-columns: 2.5fr 1fr; gap: 3rem; }
.article-content ul { list-style-type: disc; padding-left: 20px; }
.article-content ul li { margin-bottom: 0.5rem; }

/* Sidebar */
.sidebar {
    padding: 1.5rem;
    background-color: var(--sidebar-bg);
    border-radius: 8px;
}

.widget {
    background-color: var(--light-gray);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 5px;
}

.widget h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.price-widget {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.price-widget h3 {
    color: var(--white-color);
    border-bottom-color: rgba(255,255,255,0.3);
}

.price-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
}

.price-list li:last-child {
    border-bottom: none;
}

.toc-list li {
    padding: 0.3rem 0;
}

.toc-list a {
    display: block;
}

.appointment-widget form input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    box-sizing: border-box;
}

.appointment-widget .cta-button {
    width: 100%;
}

.privacy-text {
    font-size: 0.8rem;
    color: #777;
    text-align: center;
    margin-top: 1rem;
}

/* Doctors Section */
.doctors-section {
    background-color: var(--white-color);
    padding: 2rem 0;
}

.doctors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.doctor-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.doctor-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.doctor-card h3 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.doctor-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.cta-button-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-button-outline:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 3rem 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white-color);
    border: none;
}

.cta-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.cta-form input {
    padding: 1rem;
    border-radius: 5px;
    border: none;
    width: 300px;
    max-width: 100%;
}

.cta-button-large {
    background-color: var(--white-color);
    color: var(--primary-color);
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-button-large:hover {
    background-color: var(--dark-blue);
    color: var(--white-color);
}

/* About Section */
.about-section {
    padding: 3rem 0;
    background-color: var(--light-gray);
    text-align: center;
}
.about-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Reviews Section */
.reviews-section {
    padding: 3rem 0;
}
.reviews-section h2 {
    text-align: center;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.review-card {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
}
.review-card p {
    margin: 0 0 1rem 0;
    font-style: italic;
}
.review-author {
    font-weight: bold;
    text-align: right;
    color: var(--dark-blue);
}

/* FAQ Section */
.faq-section {
    padding: 3rem 0;
    background-color: var(--light-gray);
}
.faq-section h2 {
    text-align: center;
}
.faq-item {
    background-color: var(--white-color);
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.faq-item h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: var(--primary-color);
}
.faq-item p {
    margin: 0;
}

/* Map Section */
.map-section {
    padding: 3rem 0;
}
.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}
.map-container {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background-color: #f8f9fa;
    color: #666;
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
}

.footer h3 {
    color: var(--dark-blue);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer a {
    color: #666;
}

.footer a:hover {
    color: var(--primary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col-main .logo {
    margin-bottom: 1rem;
}

.footer .logo-svg path {
    fill: #6c757d;
}

.legal-info {
    font-size: 0.8rem;
    opacity: 0.8;
}

.footer-col ul li {
    margin-bottom: 0.7rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #aaa;
}

.footer-bottom a {
    color: #aaa;
}

/* Scroll-to-top button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px; /* Changed from right to left */
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.4s, visibility 0.4s;
    visibility: hidden;
}

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

@media (max-width: 992px) {
    .content-wrapper, .doctors-grid, .footer-grid, .reviews-grid { grid-template-columns: 1fr; }
    .sidebar { margin-top: 2rem; }
    .header-top, .header-bottom { flex-direction: column; }
    .main-nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    .header-bottom {
        padding-bottom: 1rem;
    }
    .footer-grid {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header-top {
        align-items: center;
        text-align: center;
    }
    .header-contacts {
        text-align: center;
        margin: 1rem 0;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Add JS visibility for scroll button */
/* This part needs a script tag in HTML to work */
/*
const scrollBtn = document.querySelector('.scroll-to-top');
window.onscroll = () => {
    if (window.scrollY > 400) {
        scrollBtn.classList.add('visible');
    } else {
        scrollBtn.classList.remove('visible');
    }
};
*/ 