/* Homepage */
.home-hero {
	height: 530px;
	background: url("../img/iamlc-poster-01-01-2-0.jpg") center / cover no-repeat;
}
.home-title {
	position: relative; display: inline-block; font-size: 30px; line-height: 1.2; text-transform: uppercase; padding-bottom: 8px; margin-bottom: 30px;
}
.home-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--purple); }
.home-title--light { color: #fff; }
.home-title--light::after { background: #fff; }
.home-title--center { display: block; text-align: center; padding-bottom: 0; margin-bottom: 6px; }
.home-title--center::after { display: none; }
.home-hint { text-align: center; font-size: 14px; color: var(--gray); margin: 0 0 20px; }

/* About */
.home-about { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; margin-top: 145px; margin-bottom: 145px; }
.home-about__media { position: relative; width: 100%; max-width: 525px; }
.home-about__media::before, .home-about__media::after {
	content: ""; position: absolute; left: 50%; width: 100px; height: 100px; margin-left: -50px; background: var(--purple); z-index: 0;
}
.home-about__media::before { top: -100px; }
.home-about__media::after { bottom: -100px; }
.home-about__media img { position: relative; z-index: 1; width: 100%; height: auto; box-shadow: var(--shadow-card); background: #fff; }
.home-about__text { padding-left: 15px; }
.home-about__text .home-title { font-size: 30px; }
.home-about__text p { text-align: justify; line-height: 24px; }
.home-about__quote { color: var(--purple); font-weight: 400; }

/* Who we serve */
.home-serve { background: var(--purple); color: #fff; padding: 35px 0 40px; }
.home-serve .home-title { margin-bottom: 20px; }
@media (min-width: 768px) {
	.home-serve__swiper .swiper-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); }
	.home-serve__item { width: auto !important; }
}
.home-serve__item {
	position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 10px 0 20px;
	border-right: 1px solid #fff; transition: transform .2s;
}
.home-serve__item::before { content: ""; position: absolute; top: 0; left: 0; width: 40px; height: 40px; background: var(--orange); }
.home-serve__item:first-child { border-left: 0; }
.home-serve__item:hover { transform: scale(1.03); }
.home-serve__item img { width: 68px; height: 68px; object-fit: contain; filter: brightness(0) invert(1); }
.home-serve__item h3 { color: #fff; font-size: 20px; text-transform: uppercase; margin: 0; }
.home-serve .swiper-pagination { display: none; }

/* Services */
.home-services { margin-top: 95px; }
.home-services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.home-service { text-align: center; }
.home-service img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 4px solid var(--orange); border-radius: 8px; }
.home-service h3 { font-size: 20px; line-height: 26px; text-transform: uppercase; font-weight: 400; margin: 14px 0 10px; }
.home-service .btn-custom { font-size: 14px; padding: 6px 18px; }

/* Testimonials */
.home-testimonials { position: relative; margin-top: 95px; padding: 0 0 10px; overflow-x: clip; }
.gradient-box { position: absolute; width: 202px; height: 202px; border-radius: 30px; background: linear-gradient(to bottom, var(--orange), var(--purple)); opacity: .85; z-index: 0; }
.gradient-box--tl { top: -20px; left: calc(50% - 570px - 30px); }
.gradient-box--l { top: 290px; left: -150px; }
.gradient-box--r { top: 130px; right: -40px; transform: rotate(45deg); }
.home-testimonials .container { position: relative; z-index: 1; }
.home-testimonials__swiper { padding: 0 10px 50px; }
.t-card { position: relative; height: auto; padding-top: 50px; }
.t-card__avatar { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 80px; border-radius: 50%; background: #fff; padding: 8px; z-index: 2; }
.t-card__body {
	position: relative; background: #fff; border-radius: 10px; box-shadow: var(--shadow-card); padding: 50px 20px 40px; text-align: center; overflow: hidden;
}
.t-card__body::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 11px; background: linear-gradient(to left, var(--orange), var(--purple)); }
.t-card__name { color: var(--purple); font-size: 16px; line-height: 24px; margin: 0; font-weight: 400; }
.t-card__meta { color: var(--gray); font-size: 14px; margin: 0 0 8px; }
.t-card__stars { color: var(--star); font-size: 20px; letter-spacing: 2px; margin-bottom: 14px; }
.t-card__text { position: relative; max-height: 140px; overflow: hidden; transition: max-height .4s; color: var(--gray); font-size: 14px; line-height: 19.6px; }
.t-card__text::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff); }
.t-card.is-open .t-card__text { max-height: 1200px; }
.t-card.is-open .t-card__text::after { display: none; }
.t-card__more {
	margin-top: 6px; background: var(--purple); color: #fff; border: 0; border-radius: 6px; padding: 6px 14px; font-size: 14px; cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}
.home-testimonials .swiper-pagination-bullet { width: 20px; height: 20px; background: #fff; border: 1px solid #D4D4D4; opacity: 1; position: relative; }
.home-testimonials .swiper-pagination-bullet-active::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--purple); }

@media (max-width: 767px) {
	.home-hero { height: auto; aspect-ratio: 2400 / 750; }
	.home-title { font-size: 20px; }
	.home-about { grid-template-columns: 1fr; margin-top: 20px; margin-bottom: 20px; }
	.home-about__media { display: none; }
	.home-about__text { padding-left: 0; }
	.home-serve { margin-top: 20px; }
	.home-serve__swiper .swiper-wrapper { display: flex; }
	.home-serve__item { border-right: 0; }
	.home-serve .swiper-pagination { display: block; position: static; margin-top: 10px; }
	.home-serve .swiper-pagination-bullet { background: var(--orange); opacity: .5; }
	.home-serve .swiper-pagination-bullet-active { opacity: 1; }
	.home-services { margin-top: 20px; }
	.home-services__grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
	.home-testimonials { margin-top: 40px; }
	.gradient-box { display: none; }
}
