@media (min-height: 600px) {
	.home-carousel {
        height: 75vh;
    }
}

@media (min-height: 800px) {
	.home-carousel {
        height: 60vh;
    }
}

@media (min-width: 768px) and (min-height: 1000px) {
	.home-carousel {
        height: 40vh;
    }
}

@media (min-width: 1200px) and (min-height: 800px) {
	.home-carousel {
        height: 90vh;
    }
}

@media (min-width: 100px) {
	#navbar {
		height: 5rem;
		background-color: #fff;
		box-shadow: 0 5px 10px 0px rgba(45, 45, 49, 0.2);
	}

	.nav-container {
		justify-content: space-between;
	}

	.nav-list {
		display: none;
	}

	.nav-item {
		line-height: 1rem;
		margin-top: 1.25rem;
	}

	header {
		padding-top: 5rem;
	}

	.carousel-controls {
		top: 4%;
		right: 2rem;
	}

	.carousel-item {
		background-position-x: 75%;
	}
	
	.carousel-caption1 {
		left: 3rem;
		top: unset;
		bottom: 5rem;
		width: 75%;
	}

	.carousel-caption1 a.button{
		padding: 0.5rem 1.5rem;
		font-size: 0.75rem;
	}

	.carousel-item h2 {
		margin-bottom: 1rem;
		line-height: 2.5rem;
	}

	.carousel-item h2 span {
		font-size: 2rem;
	}

	.carousel-item p {
		font-size: 1rem;
		margin-bottom: 1rem;
	}

	.carousel-item .prima-consult {
		width: 7rem;
		margin-bottom: 1rem;
		border-radius: 12px;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	}

	main::before {
		height: 3rem;
		top: -7.5rem;
	}

	h1 {
		font-size: 2.35rem;
	}

	h2 {
		font-size: 2.3rem;
		line-height: 2.5rem;
	}

	h3 {
		font-size: 1.5rem;
		line-height: 1.7rem;
	}

	#services .services-title {
		font-size: 1.5rem;
		line-height: 2rem;
	}

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

	.maxicare-container,
	.service-card-width {
		width: 100%;
	}

	.maxicare-card {
		width: 100%;
	}

	.service-card .card-img {
		height: 12.5rem;
	}

	#about {
		margin-top: 5rem;
	}

	.about-cover {
		width: 100%;
		flex-direction: column-reverse;
		justify-content: center;
		gap: 0rem;
		align-items: center;
		padding: 4rem 2rem 0;
		margin-bottom: -5rem;
	}

	.qualifications .content-container,
	.mission-vision .content-container {
		display: flex;
		justify-content: center;
		gap: 3rem;
		padding-top: 2.5rem;
		padding-bottom: 2.5rem;
		flex-wrap: wrap;
	}

	.qualification-card,
	.mission-vision-card {
		width: 100%;
	}

	.testimonial__wrapper {
		width: 100%;
		border-radius: 5px;		
	}
	
	.swiper-user div p {
		font-size: 1.5rem;
	}

	.swiper-user div p {
		font-size: 1.5rem;
	}
	 
	.swiper-user p.quote {
		font-size: 1.25rem;
	}

	.clinic-container .content {
		text-align: center;
		width: 100%;
		flex-direction: column-reverse;
		border-bottom: 1rem solid #305baa;
		border-radius: var(--border-radius) var(--border-radius) 0 0;
	}

	.clinic-container .content.left {
		flex-direction: column;
	}

	.clinic-container .content p {
		width: 100%;
		padding: 2rem;
	}
	
	.clinic-img {
		height: 10rem;
		width: 100%;
	}

	#clinic .dots-deco.top {
		width: 30rem;
		left: -15rem;
		top: -3rem;
	}

	#clinic .dots-deco.bottom {
		width: 20rem;
		right: -6rem;
		bottom: -7rem;
	}

	.footer-communication {
		flex-direction: column;
	}

	.divider {
		display: none;
	}

	.footer-icon .title {
		font-weight: 600;
		display: flex;
		flex-direction: column;
	}
}

@media (min-width: 768px) {
	.carousel-item {
		background-position-x: 65%;
	}

	.carousel-caption1 {
		left: 5rem;
		bottom: unset;
		top: 50%;
		transform: translateY(-50%);
	}

	.carousel-caption1 a.button{
		padding: 1rem 1.5rem;
		font-size: 1rem;
	}

	.carousel-item p {
		margin-bottom: 2rem;
		display: flex;
		flex-wrap: wrap;
		width: 29rem;
	}

	main::before {
		height: 5rem;
		top: -9rem;
	}

	h1 {
		font-size: 2.75rem;
	}
	
	h2 {
		font-size: 2.75rem;
		line-height: 2.8rem;
	}

	h3 {
		font-size: 1.75rem;
		line-height: 2rem;
	}

	#services .services-title {
		font-size: 2rem;
		line-height: 2.5rem;
	}

	.service-card-width,
	.maxicare-card {
		width: 47%;
	}
	
	.about-cover {
		height: 17rem;
		width: 100%;
		flex-direction: row;
		justify-content: center;
		gap: 0rem;
		align-items: center;
		padding: 0 3rem 0 0;
		margin-bottom: 0;
		text-align: left;
	}

	.about-cover div {
		margin-left: -3rem;
	}

	.qualification-card,
	.mission-vision-card {
		width: 45%;
	}

	.clinic-container .content {
		text-align: left;
		gap: 1rem;
		border-bottom: none;
	}

	.clinic-container .content,
	.clinic-container .content.left {
		flex-direction: row;
	}
		
	.clinic-container .content.right {
		border-left: 1rem solid #305baa;
		border-radius: 0 var(--border-radius) var(--border-radius) 0;
		justify-content: flex-end;
	}

	.clinic-container .content.left {
		border-right: 1rem solid #305baa;
		border-radius: var(--border-radius) 0 0 var(--border-radius);
		justify-content: flex-start;
	}

	.clinic-container .content p {
		width: 100%;
		padding: 5rem 2rem;
	}

	.clinic-img {
		height: 25rem;
		width: 100%;
	}

	#clinic .dots-deco.top {
		width: 30rem;
		left: -8rem;
		top: -3rem;
	}

	#clinic .dots-deco.bottom {
		width: 20rem;
		right: -6rem;
		bottom: -7rem;
	}

    .footer-icon .title {
		flex-direction: row;
	}

	.footer-communication {
        flex-direction: row;
    }

	.divider {
		display: block;
	}
}

@media (min-width: 900px) {
	.about-cover div {
		margin-left: 0rem;
	}
}

@media (min-width: 1200px) {
	#navbar {
		margin: 0.5rem 1rem;
		border-radius: 0;
		background-color: transparent;
		box-shadow: none;
	}

	#nav-menu-button {
		display: none;
	}

	.carousel-item .prima-consult {
		width: 12rem;
	}

	.main-in-view {
		border-radius: 4rem !important;
		background-color: #fff !important;
		box-shadow: 0 5px 10px 0px rgba(45, 45, 49, 0.2) !important;
	}

	#logo {
		scale: 1.2;	
	}

	.nav-container {
		justify-content: center;
	}

	.nav-list {
		display: flex;
	}

	.nav-item {
		line-height: 1rem;
		margin-top: 0;
	}

	header {
		padding-top: 0rem;
	}

	.carousel-controls {
		top: 15%;
		right: 4rem;
	}

	.carousel-item {
		background-position-x: 75%;
	}

	.carousel-caption1 {
		left: 10rem;
	}

	.carousel-item h2 {
		font-size: 4.5rem;
		margin-bottom: 1rem;
		line-height: 4rem;
	}
	
	.carousel-item h2 span {
		font-size: 3.5rem;
	}

	.carousel-item p {
		font-size: 1.2rem;
		margin-bottom: 3rem;
	}

	main::before {
		height: 8rem;
		top: -12rem;
	}

	.testimonial__wrapper {
        width: 60%;
	}

	.clinic-container {
		width: 80%;
		margin: 2rem auto 0;
	}

	.clinic-img {
        height: 20rem;
        width: 100%;
    }

}

@media (min-width: 1440px) {
	.service-card-container {
		width: 66%;
		margin-left: auto;
		margin-right: auto;
	}

	.service-card-width {
		width: 47%;
	}

	.maxicare-container {
        width: 66%;
    }

	.about-cover {
		gap: 3rem;
	}

	.maxicare-card img{
		height: 460px;
	}
}

@media (min-width: 1800px) {
	.qualification-card {
		width: 22rem;
	} 

	.mission-vision-card {
		width: 30%;
	}
}