html {
    scroll-behavior: smooth;
}

/* General */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    margin: 0;
    background-color: #f8f9fa;
    color: #343a40;
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: #cf2229;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: #a71b20;
}

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

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: #212529;
}

.section-title {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #cf2229;
    margin: 10px auto 0;
}

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

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

.text-logo {
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    color: #212529;
}
.text-logo span {
    color: #cf2229;
    font-size: 18px;
    font-weight: 600;
}

.header-contacts .phone-number {
    font-size: 1.2rem;
    font-weight: 700;
}

.btn {
    padding: 12px 24px;
    border: 2px solid #cf2229;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-primary {
    background-color: #cf2229;
    color: #fff;
}
.btn-primary:hover {
    background-color: #a71b20;
    border-color: #a71b20;
    color: #fff;
}
.btn-outline {
    background-color: transparent;
    color: #cf2229;
}
.btn-outline:hover {
    background-color: #cf2229;
    color: #fff;
}

.main-nav {
    border-top: 1px solid #e9ecef;
    padding: 10px 0;
}
.main-nav ul {
    display: flex;
    justify-content: center;
    gap: 30px;
}
.main-nav ul li a {
    font-size: 1rem;
    font-weight: 600;
    color: #495057;
    padding: 10px 0;
    position: relative;
}
.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #cf2229;
    transition: width 0.3s ease;
}
.main-nav ul li a:hover::after, .main-nav ul li a.active::after {
    width: 100%;
}


/* Main Content */
.main-content {
    padding: 60px 0;
}
.content > section {
    margin-bottom: 60px;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.page-title {
    font-size: 2.5rem;
}

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

.advantages-list li {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.advantages-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.advantages-list li::before {
    content: '✓';
    font-size: 20px;
    font-weight: 700;
    color: #cf2229;
    background: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Two Columns Layouts */
.two-columns, .two-columns-table {
    display: flex;
    gap: 30px;
}
.two-columns .column, .two-columns-table .column {
    width: 50%;
}
.two-columns-table {
    border: none;
}
.two-columns-table .column {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

/* Doctors */
.doctors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.doctor-card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 25px;
    transition: all 0.3s ease;
}
.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Pricing Table */
.pricing-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}
.pricing-table th, .pricing-table td {
    padding: 15px 20px;
}
.pricing-table thead {
    background: #cf2229;
    color: #fff;
}
.pricing-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}
.disclaimer {
    text-align: center;
    margin-top: 20px;
}

/* Preparation & FAQ */
.preparation-guide {
    display: flex;
    gap: 30px;
}
.prep-box {
    background: #fff3f3;
    border: 1px solid #ffe0e0;
    border-radius: 8px;
    width: 50%;
}
.prep-box ul li::before {
    color: #cf2229;
}
.faq-section p {
    margin-bottom: 1.5rem;
}

/* Contact Form */
.contact-form-section {
    text-align: center;
}
.contact-form-section form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 20px auto 0;
    gap: 15px;
}
.contact-form-section input[type="text"] {
    padding: 15px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1rem;
}
.contact-form-section .btn {
    align-self: center;
}

/* Footer */
.footer {
    background: #212529;
    padding: 50px 0;
    color: #adb5bd;
}
.footer a {
    color: #e9ecef;
}
.footer a:hover {
    color: #fff;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}
.footer h4 {
    color: #fff;
}
.footer-bottom {
    border-top: 1px solid #495057;
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
}
.footer-logo .text-logo {
    color: #fff;
}
.footer-logo .text-logo span {
    color: #cf2229;
}
.copyright {
    font-weight: 400;
}
.author-section{
    display: none;
}
.two-columns-table h3{
    color: #000;
}
.methods ul li{
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23cf2229"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
    background-size: 16px;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 16px;
}
.methods ul li::before {
    content: ''; /* Override default > */
}
.header-info{
    text-align: center;
}
.header-info p strong{
    color: #cf2229;
    font-size: 22px;
}
.content ul{
    list-style-type: none;
}
.content ul li::before{
    display: none;
}
.doctor-card .reviews-link{
    color: #cf2229;
    text-decoration: underline;
}
.doctor-card .btn-primary:hover{
    color: #fff;
}
.doctor-card h4{
    color: #cf2229;
}
.pricing-table td:last-child{
    color: #000;
    font-weight: 700;
}
.disclaimer{
    font-size: 12px;
}
.prep-box h3{
    color: #000;
}
.prep-box ul{
    list-style-type: disc;
    padding-left: 30px;
}
.faq-section h3{
    color: #000;
}
.privacy-policy{
    font-size: 12px;
}
.footer-links h4{
    color: #fff;
}
.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: #cf2229; /* Highlight color for active/hover link */
}
.advantages{
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
}
