/* ==========================================================
   HERO
========================================================== */

.home-hero {
    overflow: hidden;
}

.home-hero__inner {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 48px;
}

.home-hero__title {
    margin-top: 18px;
}

.home-hero__title span,
.home-hero__title strong {
    display: block;
}

.home-hero__text {
    max-width: 560px;
    margin-bottom: 32px;
}

.home-hero__actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

/* Right visual */

.home-hero__visual {
    position: relative;
	width: 100%;
    min-height: 520px;
}

.home-hero__blob {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 500px;
    background: var(--uk-bg-beige);
    border-radius: 48% 52% 44% 56% / 42% 46% 54% 58%;
}

.home-hero__blob::before {
    content: "";
    position: absolute;
    top: -26px;
    right: 80px;
    width: 210px;
    height: 110px;
    border-top: 3px dashed #f6c9a9;
    border-radius: 50%;
    transform: rotate(12deg);
}

.home-hero__photo {
    position: absolute;
    inset: 34px 42px 46px 42px;
    overflow: hidden;
    border-radius: 46% 54% 43% 57% / 42% 43% 57% 58%;
}

.home-hero__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-hero__sheep {
    position: absolute;
    left: 70px;
    bottom: 35px;
    width: 215px;
    z-index: 4;
}

.home-hero__books {
    position: absolute;
    left: 58px;
    bottom: 4px;
    width: 125px;
    z-index: 3;
}

.home-hero__rainbow {
    position: absolute;
    right: 95px;
    bottom: 22px;
    width: 110px;
    z-index: 4;
}

.home-hero__cloud {
    position: absolute;
    right: 18px;
    top: 105px;
    width: 110px;
    z-index: 5;
}

.home-hero__star {
    position: absolute;
    color: #f4b56d;
    font-size: 34px;
    line-height: 1;
    z-index: 5;
}

.home-hero__star--one {
    left: 12px;
    bottom: 145px;
}

.home-hero__star--two {
    right: 180px;
    top: 15px;
}

.home-hero__heart {
    position: absolute;
    left: -80px;
    top: 235px;
    color: var(--uk-text-peach);
    font-size: 46px;
    line-height: 1;
    z-index: 5;
}

/* ==========================================================
   WHY PARENTS CHOOSE US
========================================================== */

.home-why {
    position: relative;
    padding: 26px 0 58px;
    background: #fff;
}

.home-why__title {
    margin: 0 0 34px;
    text-align: center;
    color: var(--uk-text-brown);
    font-size: 34px;
    line-height: 1.2;
    font-weight: 900;
}

.home-why__wrap {
    position: relative;
}

.home-why__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 28px;
}

.home-why__item {
    height: 170px;
    padding: 18px 14px 16px;
    background: #fff;
    border: 2px solid #f2dfd1;
    border-radius: 30px;
    text-align: center;
}

.home-why__item img {
    display: block;
    width: 67px;
    height: auto;
    object-fit: contain;
    margin: 0 auto 12px;
}

.home-why__item h3 {
    margin: 0;
    color: var(--uk-text-brown);
    font-size: 17px;
    line-height: 1.18;
    font-weight: 900;
}

.home-why__leaf {
    position: absolute;
    width: 64px;
    z-index: 2;
    pointer-events: none;
}

.home-why__leaf--left {
    left: -40px;
    top: -28px;
	transform: rotate(290deg);
}

.home-why__leaf--right {
    right: -34px;
    bottom: 6px;
    transform: rotate(123deg);
}

/* ==========================================================
   ABOUT
========================================================== */

.home-about {
    padding: 56px 0 62px;
    background: #fff;
}

.home-about__inner {
    display: grid;
    grid-template-columns: .98fr 1.02fr;
    align-items: center;
    gap: 70px;
}

.home-about__image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 34px;
}

.home-about__title {
    margin-top: 14px;
    margin-bottom: 24px;
}

.home-about__text {
    max-width: 590px;
}

.home-about__text p {
    margin: 0 0 14px;
    color: var(--uk-text-brown);
    font-size: 16px;
    line-height: 1.62;
    font-weight: 600;
}

.home-about__text p:last-child {
    margin-bottom: 0;
}

.home-about__text strong {
    font-weight: 900;
}

.home-about__features {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
    margin-top: 30px;
}

.home-about__feature {
    text-align: center;
}

.home-about__feature img {
    display: block;
    width: 48px;
    height: auto;
    margin: 0 auto 8px;
}

.home-about__feature span {
    display: block;
    color: var(--uk-text-brown);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
}

/* ==========================================================
   STATS
========================================================== */

.home-stats {
    padding: 34px 0 54px;
    background: #fff;
}

.home-stats__box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    align-items: center;

    min-height: 132px;

    padding: 24px 46px 24px 170px;

    background: var(--uk-bg-mint);

    border-radius: 28px;

    position: relative;
    overflow: hidden;
}

.home-stats__sheep {
    position: absolute;
    left: 34px;
    bottom: -54px;
    width: 118px;
    z-index: 2;
}

.home-stats__item {
    position: relative;
    text-align: center;
}

.home-stats__item strong {
    display: block;
    color: var(--uk-text-mint);
    font-size: 48px;
    line-height: 1;
    font-weight: 900;
}

.home-stats__item span {
    display: block;
    margin-top: 8px;
    color: var(--uk-text-brown);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 800;
}

.home-stats__item--heart::after,
.home-stats__item--flower::after,
.home-stats__item--star::after {

    position: absolute;

    right: -22px;
    top: 50%;

    transform: translateY(-50%);

    font-family: "bootstrap-icons";

    color: #9bcfc5;

    font-size: 26px;
}

.home-stats__item--heart::after {
    content: "\f417";   /* bi-heart */
}

.home-stats__item--flower::after {
    content: "\f3cd";   /* bi-flower */
}

.home-stats__item--star::after {
    content: "\f588";   /* bi-stars */
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 991px) {

    .home-hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .home-hero__text {
        margin-left: auto;
        margin-right: auto;
    }

    .home-hero__actions {
        justify-content: center;
    }

    .home-hero__visual {
        max-width: 700px;
        min-height: 460px;
        margin: 0 auto;
    }

    .home-hero__blob {
        height: 440px;
    }

    .home-hero__heart {
        left: 20px;
    }
	
	.home-why__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.home-why__leaf {
		display: none;
	}
	
	.home-about__inner {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.home-about__content {
		text-align: center;
	}

	.home-about__text {
		margin: 0 auto;
	}

	.home-about__features {
		max-width: 560px;
		margin-left: auto;
		margin-right: auto;
	}
	
	.home-stats__box {
		grid-template-columns: repeat(2, 1fr);
		gap: 26px 20px;
		padding: 120px 28px 34px;
	}

	.home-stats__sheep {
		left: 44%;
		top: 38%;

		transform: none;

		width: 105px;
	}

	.home-stats__item::after {
		display: none;
	}

}

@media (max-width: 576px) {

    .home-hero__actions {
        flex-direction: column;
    }

    .home-hero__actions .uk-btn {
        width: 100%;
    }

    .home-hero__visual {
        min-height: 350px;
    }

    .home-hero__blob {
        height: 330px;
    }

    .home-hero__photo {
        inset: 22px;
    }

    .home-hero__sheep {
        left: 32px;
        bottom: 25px;
        width: 130px;
    }

    .home-hero__books {
        left: 28px;
        bottom: 2px;
        width: 82px;
    }

    .home-hero__rainbow {
        right: 48px;
        bottom: 15px;
        width: 72px;
    }

    .home-hero__cloud {
        right: 5px;
        top: 70px;
        width: 72px;
    }

    .home-hero__star {
        font-size: 26px;
    }

    .home-hero__heart {
        display: none;
    }
	
	.home-why__title {
		font-size: 28px;
	}

	.home-why__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}

	.home-why__item {
		height: 150px;
		border-radius: 24px;
	}

	.home-why__item h3 {
		font-size: 15px;
	}
	
	.home-about__features {
		grid-template-columns: repeat(3, 1fr);
		gap: 18px;
	}

	.home-about__text p {
		font-size: 15px;
	}
	
	.home-stats__box {
		grid-template-columns: 1fr;
		padding-top: 24px;
	}

	.home-stats__item strong {
		font-size: 42px;
	}
	
	.home-stats__sheep {
		left: 0;
		top: 38%;

		transform: none;

		width: 105px;
	}

}