:root {
    --primary-color: #FE1026;
    --text-color: #333333;
    --background-color: #FFFFFF;
    --secondary-background: #F8F9FA;
    --accent-color: #FE1026;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Mulish', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

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

header {
    background: var(--background-color);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    flex-direction: column;
}

.nav-links a {
    margin: 0 1.5rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

.book-meeting {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
    font-size: 1rem;
    text-decoration: none;
}

.book-meeting:hover {
    background: #E50017;
    text-decoration: none;
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {

    .hero-content h1 {
        font-size: 1rem;
        line-height: 1;
    }
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.how-it-works {
    display: flex;
    align-items: center;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
}

.experience-badge {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.experience-badge .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.services {
    padding: 4rem 2rem;
    background: var(--secondary-background);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

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

.doctors h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.doctor-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding-bottom: 1.5rem;
}

.doctor-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top center;
}

.doctor-card .specialty {
    color: var(--accent-color);
    font-size: 0.875rem;
    font-weight: 600;
    margin: 1rem 0;
    display: block;
    text-transform: uppercase;
}

.doctor-card h3 {
    margin: 0.5rem 0;
    color: var(--text-color);
    font-size: 1.1rem;
    padding: 0 1rem;
}

.doctor-card p {
    color: #666;
    padding: 0 1.5rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {

    .doctors h2,
    .reviews h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .doctor-card {
        max-width: 350px;
        margin: 0 auto;
    }
}

.reviews {
    background: var(--secondary-background);
    padding: 4rem 2rem;
}

.reviews h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.review-slider {
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 200px;
    display: flex;
    flex-direction: column;
}

.review-card p {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.reviewer {
    margin-top: auto;
    text-align: left;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.reviewer-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-header h4 {
    color: var(--text-color);
    font-weight: 600;
    margin: 0;
}

.stars {
    color: #FFD700;
    letter-spacing: 2px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 6rem 1rem 2rem;
    }

    .nav-links {
        display: none;
    }

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

    .hero-content h1 {
        font-size: 2rem;
    }

    .review-card {
        height: 180px;
    }

    .review-card p {
        -webkit-line-clamp: 3;
    }
}

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
    align-items: center;
    background: var(--background-color);
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.promo-content {
    padding: 2rem 0;
}

.promo-content h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.promo-content p {
    margin-bottom: 1.5rem;
    color: #666;
}

@media (max-width: 768px) {
    .about {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 2rem auto;
    }

    .promo-content h2 {
        font-size: 2rem;
    }
}

/* CTA Section */
.cta {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--secondary-background);
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.contacts-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-info h3 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-info p,
.contact-info a {
    color: #666;
    text-decoration: none;
    margin: 0;
}

.contact-info a:hover {
    color: var(--accent-color);
}

@media (max-width: 992px) {
    .contacts-container {
        flex-direction: column;
        align-items: left;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .cta h2 {
        font-size: 2rem;
    }
}

footer {
    background: var(--background-color);
    padding: 2rem 2rem;
    border-top: 1px solid #eee;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-rights {
    text-align: right;
    color: #666;
}

.reviews-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: flex-start;
}

.review-card {
    flex: 0 0 calc(33.333% - 1.334rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: white;
    margin: 0;
    min-height: 200px;
}

.reviewer-info h4 {
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.stars {
    color: #FFD700;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .reviews-grid {
        flex-direction: column;
    }

    .review-card {
        width: 100%;
        max-width: none;
    }
}

.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 0 2rem;
    margin: 0 auto;
    max-width: 1400px;
}

@media (max-width: 768px) {
    .carousel-container {
        padding: 0 2rem;
    }
}

.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
}

.carousel-slide {
    flex: 0 0 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel-button:hover {
    background: var(--accent-color);
    color: white;
}

.carousel-button.prev {
    left: 1rem;
}

.carousel-button.next {
    right: 1rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
}

.carousel-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
}

.carousel-dot.active {
    background: var(--accent-color);
}

.reviews-grid,
.doctors-grid {
    display: flex;
    gap: 2rem;
}

.review-card,
.doctor-card {
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 768px) {

    .review-card,
    .doctor-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (min-width: 1200px) {

    .review-card,
    .doctor-card {
        flex: 0 0 calc(33.333% - 1.334rem);
    }
}

.doctor-card .specialty {
    color: var(--accent-color);
    font-size: 0.875rem;
    font-weight: 600;
    margin: 1rem 0;
    display: block;
    text-transform: uppercase;
}

.doctor-card h3 {
    margin: 0.5rem 0;
    color: var(--text-color);
    font-size: 1.1rem;
    padding: 0 1rem;
}

.doctor-card p {
    color: #666;
    padding: 0 1.5rem;
    margin-bottom: 0;
}

.doctor-card .specialty {
    color: var(--accent-color);
    font-size: 0.875rem;
    font-weight: 600;
    margin: 1rem 0;
    display: block;
    text-transform: uppercase;
}

.doctor-card h3 {
    margin: 0.5rem 0;
    color: var(--text-color);
    font-size: 1.1rem;
    padding: 0 1rem;
}

.doctor-card p {
    color: #666;
    padding: 0 1.5rem;
    margin-bottom: 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 500px;
}

@media (max-width: 768px) {
    .hero-image {
        margin-top: 2rem;
    }

    .hero-image img {
        max-width: 300px;
    }
}

.gallery {
    padding: 4rem 2rem;
    background: var(--background-color);
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.gallery-grid {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
}

.gallery-item {
    flex: 0 0 calc(33.333% - 1.334rem);
    max-width: calc(33.333% - 1.334rem);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1;
}

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

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

@media (max-width: 1200px) {
    .gallery-item {
        flex: 0 0 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .gallery-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 0 2rem;
    margin: 0 auto;
    max-width: 1400px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.about {
    padding: 4rem 2rem;
    background: var(--background-color);
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.about p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .carousel-container {
        padding: 0 2rem;
    }
}

.schedule {
    padding: 4rem 2rem;
    background: var(--background-color);
}

.schedule h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.schedule table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
}

.schedule th, .schedule td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.schedule th {
    background-color: var(--accent-color);
    color: white;
}

.schedule th:first-child {
    border-top-left-radius: 12px;
}

.schedule th:last-child {
    border-top-right-radius: 12px;
}

.schedule tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}

.schedule tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}