/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

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

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

.header-top {
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-img {
    height: 60px;
    width: auto;
    max-width: 100%;
    display: block;
}

.nav {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2c5aa0;
}

.header-phone {
    margin-top: 10px;
    width: 100%;
    text-align: right;
}

.phone-link {
    color: #2c5aa0;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: #1a3d6b;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
    padding: 100px 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(240, 247, 255, 0.95) 0%, rgba(232, 244, 255, 0.95) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-image {
    position: relative;
}

.hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(44, 90, 160, 0.2);
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: scale(1.02);
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-description {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-benefits {
    list-style: none;
    margin-bottom: 40px;
    text-align: left;
}

.hero-benefits li {
    font-size: 16px;
    color: #444;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.hero-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2c5aa0;
    font-weight: bold;
    font-size: 18px;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #2c5aa0 0%, #4a90e2 100%);
    color: #ffffff;
    padding: 16px 45px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1a3d6b 0%, #2c5aa0 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.4);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2c5aa0, #4a90e2);
    border-radius: 2px;
}

/* About Section */
.about {
    background-color: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text strong {
    color: #2c5aa0;
    font-weight: 600;
}

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: translateY(-5px);
}

/* Gallery Section */
.gallery {
    background-color: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.2);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

/* Services Section */
.services {
    background-color: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: #ffffff;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(44, 90, 160, 0.2);
}

.service-icon {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.service-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c5aa0;
    margin-bottom: 15px;
    padding: 0 30px;
    padding-top: 25px;
}

.service-description {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    padding: 0 30px;
    padding-bottom: 30px;
    flex-grow: 1;
}

/* Doctor Section */
.doctor {
    background-color: #ffffff;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.doctor-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(44, 90, 160, 0.15);
}

.doctor-card-content {
    width: 100%;
}

.doctor-name {
    font-size: 22px;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 8px;
}

.doctor-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 8px;
    font-style: italic;
}

.doctor-category {
    font-size: 14px;
    color: #2c5aa0;
    font-weight: 600;
    margin-bottom: 20px;
    font-style: italic;
}

.doctor-bio {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
}

.doctor-bio p {
    margin-bottom: 15px;
}

.principles-title {
    font-size: 17px;
    font-weight: 600;
    color: #2c5aa0;
    margin-top: 20px;
    margin-bottom: 12px;
}

.principles-list {
    list-style: none;
    padding-left: 0;
}

.principles-list li {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.principles-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2c5aa0;
    font-weight: bold;
    font-size: 18px;
}

/* Prices Section */
.prices {
    background-color: #f8f9fa;
}

.prices-table-wrapper {
    overflow-x: auto;
    margin-bottom: 25px;
}

.prices-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.prices-table thead {
    background-color: #2c5aa0;
    color: #ffffff;
}

.prices-table th {
    padding: 18px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
}

.prices-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #e8e8e8;
    font-size: 15px;
    color: #555;
}

.prices-table tbody tr:last-child td {
    border-bottom: none;
}

.prices-table tbody tr:hover {
    background-color: #f0f7ff;
}

.prices-note {
    text-align: center;
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-top: 20px;
}

/* Reviews Section */
.reviews {
    background-color: #ffffff;
}

.reviews-header {
    text-align: center;
    margin-bottom: 50px;
}

.reviews-rating {
    display: inline-block;
}

.rating-score {
    font-size: 48px;
    font-weight: 700;
    color: #2c5aa0;
    display: block;
    margin-bottom: 10px;
}

.rating-stars {
    font-size: 24px;
    color: #FFD700;
    margin-bottom: 10px;
    letter-spacing: 3px;
}

.rating-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 5px;
}

.reviews-count {
    font-size: 14px;
    color: #888;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.review-card {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.review-author {
    font-size: 18px;
    font-weight: 600;
    color: #2c5aa0;
    margin: 0;
}

.review-date {
    font-size: 14px;
    color: #888;
}

.review-text {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Contacts Section */
.contacts {
    background-color: #ffffff;
}

.contacts-content {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contacts-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-label {
    font-size: 16px;
    font-weight: 600;
    color: #2c5aa0;
    margin-bottom: 8px;
}

.contact-value {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

.contact-link {
    color: #2c5aa0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #1a3d6b;
    text-decoration: underline;
}

.btn-map {
    display: inline-block;
    background-color: #2c5aa0;
    color: #ffffff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.btn-map:hover {
    background-color: #1a3d6b;
}

.contact-form-wrapper {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e8f4ff;
}

.form-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c5aa0;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #2c5aa0;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
.footer {
    background-color: #2c5aa0;
    color: #ffffff;
    padding: 30px 0;
    text-align: center;
}

.footer-text {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-legal {
    font-size: 12px;
    margin-bottom: 8px;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-license {
    font-size: 12px;
    margin-bottom: 10px;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-link {
    font-size: 13px;
    margin-top: 10px;
}

.footer-link a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-link a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-benefits {
        text-align: left;
        display: inline-block;
    }

    .hero-img {
        height: 400px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav {
        width: 100%;
        flex-direction: column;
        gap: 15px;
    }

    .header-phone {
        text-align: left;
        margin-top: 15px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-img {
        height: 300px;
    }

    .section-title {
        font-size: 28px;
    }

    section {
        padding: 50px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .doctors-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .contacts-content {
        flex-direction: column;
    }

    .prices-table {
        font-size: 14px;
    }

    .prices-table th,
    .prices-table td {
        padding: 12px 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo-img {
        height: 50px;
    }

    .hero-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 24px;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 16px;
    }

    .contact-form {
        padding: 20px;
    }
}

