/* Common styles */
:root {
    --primary-color: #FC6C87;
    --primary-hover: #FE8BAB;
    --text-gray: #666;
    --card-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow-x: hidden;
}

/* Health section styles */
.health-title {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.health-subtitle {
    color: var(--text-gray);
    font-size: 16px;
}

/* Carousel styles */
.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    gap: 20px;
    padding: 10px 20px;
    transition: transform 0.5s ease-in-out;
    width: max-content;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* Health card styles */
.health-card {
    flex: 0 0 280px;
    border-radius: 10px;
    border: 1px solid #eee;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.3s ease;
    background: white;
}

.health-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.health-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.health-card-body {
    padding: 20px;
}

.health-card-body h5 {
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.price {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.consult-button {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.consult-button:hover {
    color: var(--primary-hover);
    text-decoration: none;
}

/* See All Symptoms button */
.see-all-btn {
    padding: 10px 20px;
    background-color: white;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.see-all-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Responsive styles */
@media (max-width: 1400px) {
    .health-card {
        flex: 0 0 260px;
    }
}

@media (max-width: 1200px) {
    .health-card {
        flex: 0 0 240px;
    }
}

@media (max-width: 992px) {
    .health-card {
        flex: 0 0 220px;
    }

    .health-card-body {
        padding: 15px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .health-card {
        flex: 0 0 200px;
    }

    .health-title {
        font-size: 20px;
    }

    .health-subtitle {
        font-size: 14px;
    }

    .health-card img {
        height: 180px;
    }

    .carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .d-flex {
        flex-direction: column;
        gap: 15px;
    }

    .see-all-btn {
        align-self: flex-start;
    }

    .health-card {
        flex: 0 0 180px;
    }

    .health-card img {
        height: 160px;
    }

    .health-card-body {
        padding: 12px;
    }

    .health-card-body h5 {
        font-size: 16px;
    }

    .price {
        font-size: 18px;
    }

    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}