img {
    vertical-align: middle;
    height: 500px;
    width: 100%;
}

/* Slideshow container */
.carousel-container {
    width: 100%;
    position: relative;
    margin: auto;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 16px;
    margin-top: -22px;
    color: white;
    transition: 0.6s ease;
}

/* Position the "next button" to the right */
.next {
    right: 0;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: 0.6s ease;
}

.active,
.dot:hover {
    background-color: #717171;
}

.caption-container {
    position: absolute;
    bottom: 5%;
    left: 20%;
    color: #fff;
    text-align: center;
    width: 60%;
    padding: 20px;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.caption-header {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.caption-description {
    text-align: justify;
    font-size: 14px;
    line-height: 1.8;
}

.caption-container:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.header {
    font-size: 24px;
    margin-bottom: 10px;
    text-align: left;
}

.description {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
}

.service-cards-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    width: 90%;
    margin: auto;
}

.service-card {
    position: relative;
    width: 30%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    text-align: left;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    padding-bottom: 10px;
}

.service-card.general-visit {
    background-color: #e6f2ff;
}

.service-card.vaccination {
    background-color: #ffe6e6;
}

.service-card.health-screening {
    background-color: #f2e6ff;
}

.service-card:hover {
    box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.3);
}

.service-image {
    width: 100%;
    height: 40%;
}

.service-content h2 {
    font-size: 18px;
    padding: 5px 15px 0px 15px;
}

.service-content p {
    font-size: 14px;
    line-height: 1.6;
    padding: 0px 15px 5px 15px;
}

.service-link {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 20px 15px;
    text-decoration: none;
    color: #1a85ff;
    font-weight: bold;
}

.reasons-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 40px 20px;
    background: #fff;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    margin: 20px;
    text-align: center;
}

.reason {
    flex-basis: 20%;
    margin: 20px;
}

.reason i {
    color: #00b38f;
    margin-bottom: 15px;
}

.reason h3 {
    font-size: 1.2em;
    color: #000;
    margin: 10px 0;
}

.reason p {
    font-size: 1em;
    color: #000;
    margin-bottom: 15px;
}