/* --- Global Styles --- */
:root {
    --primary-color: #ec407a; /* Bright Pink */
    --primary-dark: #d81b60;
    --secondary-color: #42a5f5; /* Bright Blue */
    --text-dark: #263238;
    --text-light: #546e7a;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --border-color: #eceff1;
    --green-light: #f1f8e9;
    --pink-light: #fce4ec;
}

body {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 40px;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 25px;
    border: 2px solid transparent;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--background-white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(236, 64, 122, 0.4);
}

.btn-light {
    background-color: var(--background-white);
    color: var(--secondary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--background-white);
    border-color: var(--background-white);
}
.btn-outline:hover {
    background-color: var(--background-white);
    color: var(--secondary-color);
}


/* --- Header --- */
.header {
    background: var(--background-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 40px;
    width: auto;
}

.main-nav {
    display: flex;
    gap: 35px;
}

.main-nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
}
.main-nav a:hover {
    color: var(--primary-color);
}

.header-phone {
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 17px;
}

/* --- Hero Section --- */
.hero {
    background-color: #e3f2fd;
    padding: 60px 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 40px;
}

.hero-text {
    flex: 1 1 55%;
    max-width: 55%;
}

.hero-text h1 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 17px;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 450px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    position: relative;
    flex: 1 1 45%;
    max-width: 45%;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

.hero-image-badge {
    position: absolute;
    bottom: 30px;
    left: -40px;
    background-color: var(--primary-color);
    color: white;
    padding: 20px 25px;
    border-radius: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
    line-height: 1.3;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: rotate(-10deg);
}


/* --- Services Section --- */
.services {
    padding: 80px 0;
    background: var(--background-white);
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-link {
    padding: 10px 20px;
    border-radius: 20px;
    background: var(--background-light);
    color: var(--text-light);
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tab-link.active, .tab-link:hover {
    background: var(--secondary-color);
    color: white;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.service-tag {
    background: var(--background-light);
    padding: 8px 18px;
    border-radius: 10px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}
.service-tag:hover {
    background: var(--border-color);
    color: var(--text-dark);
}

/* --- About Section --- */
.about {
    padding: 80px 0;
    background: var(--background-light);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1 1 50%;
    max-width: 50%;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    display: block;
}

.about-content {
    flex: 1 1 50%;
    max-width: 50%;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.stats {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}
.stat-item {
    text-align: center;
}
.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
}
.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

/* --- Doctors Section --- */
.doctors {
    padding: 80px 0;
}

.doctors-container {
    display: flex;
    gap: 30px;
    background: var(--background-light);
    border-radius: 20px;
    padding: 40px;
}

.main-doctor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.07);
    flex: 0 0 300px;
}
.doctor-photo-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.doctor-photo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-doctor-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.doctor-specialty {
    color: var(--text-light);
    margin-bottom: 20px;
}

.doctor-work-info {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}
.btn-sm-light {
    padding: 8px 16px;
    font-size: 14px;
    background: var(--background-light);
    border-radius: 10px;
    border: none;
    cursor: pointer;
}
.btn-sm-light.active {
    background: var(--secondary-color);
    color: white;
}

.doctor-experience {
    background: var(--background-light);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.doctor-list {
    flex: 1;
}

.doctor-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--background-white);
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 15px;
}

.doctor-list-info {
    display: flex;
    align-items: center;
    gap: 15px;
}
.doctor-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.doctor-list-info p {
    margin: 0;
    font-size: 14px;
    color: var(--text-light);
}
.doctor-list-info span {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 16px;
}
.btn-icon-plus, .btn-icon-info {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--primary-color);
    color: white;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
}
.btn-icon-info {
    background: var(--border-color);
    color: var(--text-dark);
    font-style: italic;
}
.doctors-all {
    text-align: center;
    margin-top: 40px;
}

/* --- Promo Section --- */
.promo {
    padding: 80px 0;
    background: var(--background-light);
}
.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.promo-card {
    padding: 30px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.promo-card.green { background: var(--green-light); }
.promo-card.pink { background: var(--pink-light); }

.promo-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    max-width: 80%;
}
.promo-card p {
    color: var(--text-light);
    margin-bottom: 25px;
}
.btn-promo-green, .btn-promo-pink {
    border: none;
    cursor: pointer;
    background: #8bc34a;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
}
.btn-promo-pink { background: var(--primary-color); }

.promo-price-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
}
.promo-card.green .promo-price-badge { background: #8bc34a; }

.promo-all {
    text-align: center;
    margin-top: 40px;
}

/* --- Appointment Form Section --- */
.appointment-form-section {
    padding: 60px 0;
}
.pink-bg {
    background-color: var(--pink-light);
}
.appointment-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 30px;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto;
}
.appointment-form input {
    flex: 1;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
}
.appointment-form .btn {
    min-width: 150px;
}

/* --- Why Us Section --- */
.why-us {
    padding: 80px 0;
}
.why-us-container {
    display: flex;
    align-items: center;
    gap: 60px;
}
.why-us-content .section-title {
    text-align: left;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--pink-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}
.feature-icon svg {
    width: 24px;
    height: 24px;
}
.feature-item p {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
}

/* --- Equipment Section --- */
.equipment {
    padding: 80px 0;
}
.equipment-container {
    display: flex;
    align-items: center;
    gap: 30px;
}
.equipment-content {
    flex: 1;
    padding: 40px;
    border-radius: 20px;
}
.equipment-content.green-bg {
    background-color: var(--green-light);
}
.equipment-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}
.equipment-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 15px;
}
.equipment-content p {
    color: var(--text-light);
}
.equipment-image {
    flex: 1;
}
.equipment-image img {
    width: 100%;
    border-radius: 20px;
}

/* --- Reviews Section --- */
.reviews-section {
    padding: 80px 0;
    background-color: var(--background-light);
}
.section-header-with-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}
.section-header-with-btn .section-title {
    margin-bottom: 0;
    text-align: left;
}
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.review-card {
    background: var(--background-white);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}
.review-text {
    margin-bottom: 20px;
    color: var(--text-light);
}
.review-author-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.review-author-name {
    font-weight: 700;
}
.review-date {
    color: var(--text-light);
    font-size: 14px;
}

/* --- News Section --- */
.news-section {
    padding: 80px 0;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.news-card {
    background: var(--background-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}
.news-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.news-card-content {
    padding: 25px;
}
.news-card-date {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
}
.news-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}
.news-card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}
.news-card-link:hover {
    text-decoration: underline;
}

/* --- Contacts Section --- */
.contacts-section {
    padding: 80px 0;
    background: var(--background-light);
}
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.contact-card {
    background: var(--background-white);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}
.contact-address {
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 10px;
}
.contact-phone {
    font-weight: 600;
    margin-bottom: 5px;
}
.contact-hours {
    font-size: 14px;
    color: var(--text-light);
}
.map-placeholder {
    width: 100%;
    height: 400px;
    background-color: #f0f4f8;
    border-radius: 20px;
    margin-top: 40px;
}

/* --- Footer --- */
.footer {
    background-color: #263238; /* text-dark */
    color: #cfd8dc; /* Lighter shade for text */
    padding: 60px 0 30px;
    font-size: 14px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-column.footer-info {
    flex-basis: 50%;
}

.footer-column.footer-contacts {
    flex-basis: 40%;
    text-align: right;
}

.footer-column h4 {
    color: var(--background-white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer .logo {
    margin-bottom: 20px;
}

.footer-copyright {
    line-height: 1.5;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.footer-contacts p {
    margin: 0 0 10px;
    font-size: 16px;
}

.footer-contacts p strong {
    font-size: 20px;
    color: white;
}

.social-links a {
    color: var(--background-white);
    display: inline-block;
    transition: color 0.3s ease;
}

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

.social-links svg {
    width: 28px;
    height: 28px;
}

.footer-bottom {
    border-top: 1px solid #455a64;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-legal {
    flex-basis: 70%;
    font-size: 12px;
    line-height: 1.7;
    color: #90a4ae;
}

.footer-legal p {
    margin-bottom: 10px;
}

.footer-legal a {
    color: #b0bec5;
    text-decoration: none;
    display: inline-block;
    margin-right: 15px;
}
.footer-legal a:hover {
    text-decoration: underline;
    color: white;
}

.dev-info {
    flex-basis: 25%;
    text-align: right;
    font-size: 12px;
    color: #90a4ae;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .footer-column.footer-info,
    .footer-column.footer-contacts {
        flex-basis: 100%;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .about-container {
        flex-direction: column;
    }
    
    .doctors-container {
        flex-direction: column;
    }
    
    .footer-main, .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom {
        align-items: center;
    }

    .social-links {
        justify-content: center;
        margin-top: 20px;
    }
    .footer-legal, .dev-info {
       flex-basis: 100%;
       text-align: center;
       margin-bottom: 15px;
    }

    .dev-info {
        margin-bottom: 0;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 28px;
    }
    
    .services,
    .doctors,
    .promo,
    .appointment-form-section,
    .why-us,
    .footer {
        padding: 60px 0;
    }
    
    .main-doctor-card {
        flex-direction: column;
        text-align: center;
    }
}

.main-contact-card {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 1.1em;
}

.map-placeholder {
    height: 400px;
    background: #f0f4f8;
} 