:root {
    --border-radius: 10px;
}

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

body {
    font-family: "Montserrat", sans-serif;
    color: #353535;
    line-height: 1.6;
    overflow-x: hidden;
}

main {
    position: relative;
}

main::before {
    content: "";
    background: url(resources/wave.png) no-repeat;
    width: 100%;
    position: absolute;
    left: 0;
    background-size: 100% 100%;
}

section {
    margin: 5rem 0 2rem;
    text-align: center;
    justify-self: center;
    width: 100%;
}

h1 {
    color: #353535;
    font-family: "League Spartan", Arial, Helvetica, sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 3rem;
    background-color: #f7ba1c;
    padding: 0.25rem 0.5rem 0;
    width: fit-content;
    margin: 0 auto 2rem;
}

h2 {
    font-size: 2.75rem;
    color: #305baa;
    font-family: "League Spartan", Arial, Helvetica, sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 3rem;
}

h3 {
    font-size: 2rem;
    color: #353535;
    font-family: "League Spartan", Arial, Helvetica, sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 2.3rem;
}

section h2 {
    text-decoration: underline;
    text-decoration-color: #f7ba1c;
    margin-bottom: 0.5rem;
}

section h2.no-subtitle {
    margin-bottom: 1.5rem;
}

/* Navbar */
.logo-full {
    scale: 1 !important;
}

.active {
    color: #f7ba1c !important;
}

.content-container {
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 0.5rem 4rem;
    z-index: 1000;
    transition: all 0.3s ease-out;
}

#nav-menu-button {
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    color: #305baa;
    background-color: transparent;
    border: none;
}

#nav-menu {
    top: -50%;
    position: fixed;
    z-index: 10;
    background-color: #fff;
    padding: 5rem 1.25rem 1.25rem;
    border-radius: var(--border-radius);
    right: 0;
    width: 50%;
    text-align: right;
    list-style-type: none;
    transition: all 0.5s;
    box-shadow: 0 5px 10px 0px rgba(45, 45, 49, 0.2);
}

.open {
    top: 0 !important;
}

.nav-menu a {
    line-height: normal;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

#logo {
    transition: all 0.3s ease;
}

.logo {
    font-size: 0.5rem;
    line-height: normal;
}

.nav-logo img {
    height: 5rem;
    width: 5rem;
    transition: all 0.3s ease-out;
}

.nav-list {
    display: flex;
    list-style-type: none;
    gap: 2.5rem;
    width: 50%;
	align-items: center;
	text-align: center;
}

.nav-list.left {
    justify-content: right;
}

.nav-list.right {
    justify-content: left;
}

.nav-item a {
    color: #305baa;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
    font-family: "League Spartan", Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.nav-item a:hover {
    color: #f7ba1c;
}

/* Carousel */
.home-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.inner-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
    will-change: transform;
}

.carousel-item {
    flex: 0 0 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    background-position-y: top;
}

.carousel-item.one {
    background-image: url("resources/backgrounds/carousel-1.png");
}

.carousel-item.two {
    background-image: url("resources/backgrounds/carousel-2.png");
}

.carousel-item.three {
    background-image: url("resources/backgrounds/carousel-3.png");
}

.carousel-item.four {
    background-image: url("resources/backgrounds/carousel-4.png");
}

.carousel-caption1 {
    position: absolute;
    text-shadow: 5px 5px 15px #35353540;
}

.carousel-item h2 {
    color: #305baa;
}

.maxi {
    margin-right: -21px;
}

.carousel-item h2 span .health {
    color: #00c04b !important;
}

a.button {
    text-decoration: none;
    background-color: #305baa;
    color: white;
    font-weight: bold;
    border-radius: 3rem;
    transition: all 0.3s ease;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    width: fit-content;
    font-size: 1rem;
    padding: 1rem 1.5rem;
}

a.button:hover {
    background-color: #f7ba1c;
    color: #353535;
}

.carousel-controls {
    position: absolute;
    display: flex;
    gap: 1rem;
}

.carousel-control-prev,
.carousel-control-next {
    color: #305baa;
    background-color: white;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 5;
    box-shadow: 4px 4px 15px #35353540;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 3rem;
    width: 3rem;
    font-size: 1.5rem;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: #f7ba1c;
}

/* Services Section */
#services {
    position: relative;
}

#services .services-title {
    font-size: 2rem;
    font-family: "League Spartan", Arial, Helvetica, sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background-color: #305baa;
    color: #fff;
    padding-top: 0.3rem;
    z-index: 1;
    position: relative;
}

#services .title {
    font-size: 1.5rem;
    line-height: 1.5rem;
    color: #305baa;
    font-family: "League Spartan", Arial, Helvetica, sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0.75rem 1rem;
}

.dots-deco {
    aspect-ratio: 1 / 1;
    position: absolute;
    filter: invert(86%) sepia(21%) saturate(6194%) hue-rotate(347deg)
        brightness(107%) contrast(94%);
    z-index: -1;
    opacity: 0.75;
}

#services .dots-deco.top {
    width: 20rem;
    right: -5rem;
    top: -2rem;
}

#services .dots-deco.bottom {
    width: 30rem;
    left: -3rem;
    bottom: -8rem;
}

.service-card-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0 4rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: #fff;
    border: 1rem solid #fff;
    border-bottom: 1.5rem solid #fff;
    box-shadow: 0 0.5rem 0.9375rem rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-card .card-img {
    border-radius: 5px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.service-card img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
    width: 100%;
    border-radius: var(--border-radius);
}

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

/* Maxicare Section */
#maxicare {
    max-width: 100%;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#maxicare .content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.maxicare-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    width: 66%;
    margin: 0 auto 2.5rem;
}

.maxicare-card {
    background-color: rgba(232, 237, 253, 0.1);
    place-items: center;
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 0.5rem 0.9375rem rgba(5, 5, 5, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.maxicare-card a {
    text-decoration: none;
    width: 100%;
}

.maxicare-card .title {
    font-size: 2rem;
    color: #353535;
    font-family: "League Spartan", Arial, Helvetica, sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 2.3rem;
}

/* Maxicare color variants */
.maxicare-card.prima-consult:hover .title span.blue {
    color: #4766b4;
}

.maxicare-card.prima-access:hover .title span.green {
    color: #4d7e5b;
}

.maxicare-card.prima-elite:hover .title span.red {
    color: #ba1924;
}

/* Base style */
.maxicare-card.prima-consult .title span.blue,
.maxicare-card.prima-access .title span.green,
.maxicare-card.prima-elite .title span.red {
    position: relative;
    color: inherit;
    border-radius: 5px;
    padding: 0.5rem 0.5rem 0;
    font-weight: 500;
    background: linear-gradient(135deg,
            #e2d5b6 0%,
            #d8c6a4 40%,
            #f0e6cc 60%,
            #e2d5b6 100%);
    background-size: 200% 200%;
    background-position: 0% 50%;
    transition: background-position 0.5s ease;
}

/* Shine on hover */
.maxicare-card.prima-consult:hover .title span.blue,
.maxicare-card.prima-access:hover .title span.green,
.maxicare-card.prima-elite:hover .title span.red {
    background-position: 100% 50%;
}

.maxicare-card.lifesaver .title span.regular span {
    color: #305baa;
    font-weight: 700;
}

.maxicare-card.lifesaver .title span.plus span {
    color: #f61417;
    font-weight: 700;
}

.maxicare-card:hover .title .label {
    text-decoration: underline;
    text-decoration-color: #f7ba1c;
    text-underline-offset: 3px;
}

.maxicare-card .price {
    font-weight: 700;
    color: #305baa;
    font-size: 1.5rem;
    line-height: 1.5rem;
}

.maxicare-card img {
    background-size: cover;
    border-radius: var(--border-radius);
    max-width: 100%;
    width:100%;
    height: 250px;
    transition: transform 0.3s ease;
    margin-bottom: 1rem;
    object-fit: cover;
}

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

/* About Section */
#about {
    background-size: cover;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.about-cover {
    background: linear-gradient(#ffe8adc2),
        url(resources/backgrounds/about-cover.png) no-repeat center;
    background-size: cover;
    display: flex;
    text-shadow: 0 5px 10px #ffffff9c;
}

.about-cover div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}

.about-cover img {
    filter: drop-shadow(-30px 10px 0px #305baa);
}

.qualifications {
    background-color: #305baa;
    width: 100%;
    position: relative;
    z-index: 2;
}

.qualification-card {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: 1rem;
    width: 100%;
    color: #fff;
}

.qualification-card i {
    font-size: 2rem;
    width: 5rem;
    height: 5rem;
    padding: 1.5rem 1rem;
    background-color: #fff;
    color: #305baa;
    border-radius: 50%;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: inset -5px -5px 0 #f7ba1c;
}

.qualification-card:hover i {
    scale: 1.1;
}

.qualification-card .title {
    font-size: 1.5rem;
    line-height: 1.5rem;
    color: #305baa;
    font-family: "League Spartan", Arial, Helvetica, sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration-color: #f7b91c00;
    max-width: 21rem;
}

.qualification-card:hover .title {
    text-decoration: underline;
    text-decoration-color: #f7ba1c;
    cursor: default;
}

.qualification-card .description,
.mission-vision-card .description {
    max-width: 30rem;
}

.mission-vision-card {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

.mission-vision-card .title {
    font-family: "League Spartan", Arial, Helvetica, sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 2.5rem;
    color: #305baa;
}

.mission-vision-card hr {
    width: 5rem;
    height: 5px;
    background-color: #f7ba1c;
    border-radius: 5rem;
    margin-bottom: 1rem;
    color: transparent;
    border: none;
    transition: all 0.3s ease;
}

.mission-vision-card:hover hr {
    width: 10rem;
}

/* Testimonials Section */
#testimonials {
    background: linear-gradient(rgba(48, 91, 170, 0.8), rgba(51, 66, 193, 0.8)),
        url(resources/backgrounds/testimonials.png) center right no-repeat;
    background-size: cover;
}

#testimonials .content-container {
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
    justify-content: center;
}

#testimonials h2,
#testimonials h3 {
    color: #fff;
}

#testimonials .stars i {
    color: #f7ba1c;
}

.swiper-container {
    overflow: hidden;
    width: 80%;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    flex-shrink: 0;
    border-radius: 20px;
    margin-top: 2rem;
    width: 50%;
}

.testimonial-container {
    transition: transform 1s ease-in-out;
}

.swiper-pagination {
    position: relative !important;
    bottom: 0 !important;
    padding: 1rem 0;
}

.swiper-user {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    background-color: #ffffff;
    padding: 2rem;
    min-height: 20rem;
    border-radius: var(--border-radius);
}

/* FAQ Section */
.faq-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 2rem;
}

.faq-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    max-width: 60rem;
    width: 100%;
    transition: all 0.3s ease;
    padding: 0.25rem;
}

.faq-question {
    width: 100%;
    background-color: transparent;
    font-size: 1.2rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.5s ease;
    border: none;
    background-color: #eef4ff;
    color: #42509e;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    text-align: left;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
}

.faq-question:hover {
    background-color: #f7ba1c;
    color: #353535;
}

.faq-answer {
    font-size: 1.2rem;
    padding: 1rem;
    width: 100%;
    background-color: #ffffff;
    height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-out;
    padding-top: 0;
    padding-bottom: 0;
    text-align: left;
}

.faq-answer.open {
    visibility: visible;
    height: auto;
    opacity: 1;
    padding: 1rem;
}

/* Contact Section */
/* Comment out consultation for a while, 
until the forms and links are specified  */
/* #consultation {
    background: linear-gradient(rgba(48, 91, 170, 0.8), rgba(51, 66, 193, 0.8)),
        url(resources/backgrounds/carousel-2.png) center right no-repeat;
    background-size: cover;
    background-size: cover;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

#consultation .content-container {
    padding: 4rem;
    border-radius: 20px;
    width: 70%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10rem;
}

#consultation h3 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    line-height: 3rem;
    text-align: left;
}

.signup-container {
    border-radius: var(--border-radius);
    padding: 2rem;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.signup-content {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.consultation-title p {
    color: white;
    background-color: #000c79;
    padding: 1rem;
    border: #ffffff solid 10px;
    border-radius: var(--border-radius);
}

.input {
    border: #a5a5a5 solid 1.5px;
    padding: 0.8rem;
    border-radius: var(--border-radius);
}

.input:-internal-autofill-selected {
    background-color: #fff !important;
    color: fieldtext !important;
}

.signup-content {
    width: 100%;
}

.sign-up {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 5px;
}

.consultation-button a {
    all: unset;
    width: 210px;
    background-color: #305baa;
    display: inline-block;
    margin-top: 0.625rem;
    font-size: 1rem;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    border: 0.125rem solid #305baa;
    padding: 0.625rem 1.25rem;
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.consultation-button a:hover {
    background-color: #0012b2;
} */

/* Clinic Section */
#clinic {
    margin-bottom: 6rem;
}

.clinic-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.clinic-container .content {
    display: flex;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 1rem 1rem rgba(5, 5, 5, 0.1);
}

.clinic-container .content p {
    font-size: 1.25rem;
    color: #353535;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
}

.clinic-img {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.clinic-img.one {
    background-image: url("resources/clinic-images/clinic-1.jpg");
}

.clinic-img.two {
    background-image: url("resources/clinic-images/clinic-2.jpg");
}

.clinic-img.three {
    background-image: url("resources/clinic-images/clinic-3.jpg");
}

/* Footer */
footer {
    background-color: #305baa;
    color: white;
    padding: 30px 0;
    position: relative;
    z-index: 1;
	margin-top: 5rem;
}

footer a {
    text-decoration: none;
    color: white;
}

#footer .content-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
}

.footer-blogs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.footer-blogs a {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.footer-blogs a:hover {
    color: #f7ba1c;
    scale: 1.2;
}

.footer-content a:hover {
    color: #f7ba1c;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    gap: 1rem;
}

.footer-communication {
    display: flex;
}

.footer-copyright {
    background-color: #f7ba1c;
    color: #353535;
    width: 100%;
    padding: 0.5rem;
    font-weight: 500;
    text-align: center;
}

.footer-copyright a {
    color: #353535;
    text-decoration: none;
}

.footer-copyright a:hover {
    text-decoration: underline;
}

.disclaimer {
    font-size: 1.15rem;
    font-style: italic;
    opacity: 0.9;
    margin-top: 6px;
}