@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Roboto:wght@300;400;500;700;900&display=swap");

:root {
	--orange: #e76122;
	--green: #36bfbe;
	--blue: #1c3352;
	--blue-light: #76b0d2;
}

html,
body {
	margin: 0;
	font-family: "Roboto", sans-serif;
	font-size: 18px;
	color: white;
}

h1 {
	font-family: "Playfair Display", serif;
	font-weight: 700;
	font-size: 3rem;
	z-index: 20;
}

.space-between {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
}
.drop-shadow {
	-webkit-filter: drop-shadow(0px 4px 3px rgba(0, 0, 0, 0.3));
	filter: drop-shadow(0px 4px 3px rgba(0, 0, 0, 0.3));
}
.orange {
	color: var(--orange);
}

.container {
	padding-left: 5rem;
	padding-right: 5rem;
}

.ca-hero {
	background: linear-gradient(transparent 75%, rgba(0, 0, 0, 0.5)),
		url("./img/hero.png"), linear-gradient(var(--blue), var(--blue));
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: center center;
	padding-bottom: 8rem;
}
.ca-hero .container {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.ca-logo {
	width: 19rem;
	margin: 4rem 0;
}
.ca-hero .space-between > div {
	flex: 1;
}
.ca-hero .text {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.ca-hero .form {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-end;
}
.form-cont {
	width: 23rem;
}
.ca-hero .logo {
	width: 70%;
}
.ca-hero .text p {
	font-size: 1.4rem;
	font-weight: 400;
	max-width: 100%;
}

.ca-hero .link {
	color: var(--blue-light);
	font-size: 1.7rem;
}
.ca-hero .link:hover {
	text-decoration: underline;
}

.grid {
	margin-top: -5rem;
	display: flex;
	justify-content: center;
}
.grid-container {
	border-radius: 16px;
	overflow: hidden;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2, 1fr);
	width: 100%;
	box-shadow: rgba(0, 0, 0, 0.3) 0px 6px 10px;
	margin-bottom: 2rem;
	background-color: var(--blue);
}

.grid-item {
	width: 100%;
	aspect-ratio: 1;
}

.sq-1 {
	background-image: url("./img/img1.png");
	background-size: cover;
}
.sq-2 {
	background-color: var(--green);
}
.sq-3 {
	background-image: url("./img/img2.png");
	background-size: cover;
}
.sq-4 {
	background-color: var(--blue);
}
.sq-5 {
	background-image: url("./img/img3.png");
	background-size: cover;
}
.sq-6 {
	background-color: var(--orange);
}

.text-box {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.text-box .icon-cont {
	display: flex;
	justify-content: center;
	align-items: center;
}
.text-box .icon-cont img {
	height: 80%;
}
.text-box .text {
	padding: 0 3.5rem;
	padding-top: 1.2rem;
}
.text-box .text p {
	font-size: 1.25rem;
	line-height: 120%;
}

.testimonials {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 4rem;
}
.testimonials .subtitle {
	font-family: "Playfair Display", serif;
	font-weight: 700;
	font-size: 1.6rem;
	text-align: center;
}

.thumbnail {
	width: 100%;
	aspect-ratio: 1.6;
	background-color: #1c3352;
	border-radius: 16px;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all 200ms ease;
}
.thumbnail:hover {
	cursor: pointer;
}
#video-1 {
	background: url("img/thumbnail1.png") center center / cover;
}
#video-2 {
	background: url("img/thumbnail2.png") center center / cover;
}
#video-3 {
	background: url("img/thumbnail3.png") center center / cover;
}
#video-4 {
	background: url("img/thumbnail4.png") center center / cover;
}
#video-5 {
	background: url("img/thumbnail5.png") center center / cover;
}
#video-6 {
	background: url("img/thumbnail6.png") center center / cover;
}
#video-7 {
	background: url("img/thumbnail7.png") center center / cover;
}
.play-cont {
	width: 6rem;
	height: 6rem;
	border-radius: 6rem;
	background-color: rgba(255, 255, 255, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all 200ms ease;
}
.play-cont img {
	width: 4rem;
	padding-left: 0.5rem;
}
.thumbnail:hover .play-cont {
	transform: scale(1.1);
	opacity: 0.8;
}

.flickity-button {
	border: none;
	background-color: transparent;
	padding: 0 2rem;
	height: 1.8rem;
}
.flickity-button:disabled {
	opacity: 0.5;
}

.flickity-button.previous {
	background: url("img/previous.svg");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	display: block;
	margin: 0 auto;
	transform: translateX(-1.5rem);
}
.flickity-button.next {
	background: url("img/next.svg");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	display: block;
	margin: 0 auto;
	transform: translateY(-1.8rem) translateX(1.5rem);
}

.flickity-button:not(:disabled):hover {
	cursor: pointer;
	opacity: 0.8;
}

.modal-content {
	margin: 0 auto;
	max-height: calc(100vh - 10px);
	width: 50rem;
	max-width: 100%;
}

.join-us {
	overflow: hidden;
	margin-top: 3rem;
	background: url("./img/join-us.png") center center / cover;
}
.join-us .container {
	padding-top: 6rem;
	padding-bottom: 8rem;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.join-us h1 {
	max-width: 30rem;
	line-height: 130%;
	text-align: center;
}
.join-us .sub {
	padding-top: 3rem;
	max-width: 40rem;
	font-size: 1.3rem;
	text-align: center;
}
.join-us .num {
	font-size: 6rem;
	font-weight: 700;
}
.join-us .numsub {
	font-family: "Playfair Display", serif;
	font-size: 1.7rem;
}

.btn {
	margin-top: 3rem;
	background-color: var(--green);
	border-radius: 16px;
	padding: 0.8rem;
	font-weight: 700;
	min-width: 20rem;
	text-align: center;
	font-size: 1.3rem;
	color: white;
	transition: all 200ms ease;
}
.btn:hover {
	cursor: pointer;
	transform: scale(1.1);
	color: white;
}

.face {
	position: absolute;
}
.face img {
	width: 8rem;
}
.f8 {
	transform: translateX(-25rem);
}
.f5 {
	transform: translateX(25rem);
}
.f1 {
	transform: translateX(-35rem) translateY(10rem);
}
.f2 {
	transform: translateX(35rem) translateY(10rem);
}
.f6 {
	transform: translateX(-20rem) translateY(18rem);
}
.f7 {
	transform: translateX(20rem) translateY(18rem);
}
.f4 {
	transform: translateX(-32rem) translateY(28rem);
}
.f3 {
	transform: translateX(32rem) translateY(28rem);
}

.joy {
	padding: 6rem 0;
}
.joy .space-between {
	gap: 5rem;
	justify-content: center;
}
.joy h1 {
	font-weight: 400;
	max-width: 23rem;
	line-height: 130%;
	font-size: 2.8rem;
}
.joy .text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-bottom: 1.8rem;
}
.joy .logo {
	padding-top: 1.8rem;
	width: 19rem;
}

.ftr {
	padding: 5rem 0 3rem 0;
	background: url("img/footer.png") center center / cover;
}
.ftr .container {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.ftr .logo {
	width: 18rem;
}
.ftr .link {
	padding-top: 2rem;
	color: white;
	font-size: 1.3rem;
	font-weight: 600;
	text-decoration: underline;
}
.ftr .link:hover {
	color: var(--blue-light);
}
.ftr .socials {
	padding: 1.5rem 0;
	width: 100%;
	display: flex;
	justify-content: center;
	gap: 1.5rem;
}
.ftr .socials img {
	height: 1.5rem;
}
.ftr .socials img:hover {
	opacity: 0.8;
}
.ftr p {
	padding: 1rem 0 2rem 0;
	text-align: center;
	font-weight: 500;
}

.section-card {
	margin: 0 auto;
	width: 80%;
	border-radius: 16px;
	box-shadow: rgba(0, 0, 0, 0.3) 0px 6px 10px;
	padding: 2.5rem;
	gap: 2.5rem;
	transition: all 400ms ease;
	background-color: var(--orange);
}
.section-card .row {
	padding-top: 2rem;
	display: flex;
	align-items: center;
}

.section-card .profile {
	flex-shrink: 0;
	width: 10rem;
	height: 10rem;
	border-radius: 10rem;
	background-color: rgba(255, 255, 255, 0.3);
}
#sec-0 {
	background-color: var(--orange);
}
#sec-0 .profile {
	background: url("img/test-0.png") center center / cover;
}
#sec-1 {
	background-color: var(--green);
}
#sec-1 .profile {
	background: url("img/test-1.png") center center / cover;
}
#sec-2 {
	background-color: var(--blue);
}
#sec-2 .profile {
	background: url("img/test-2.png") center center / cover;
}
#sec-3 {
	background-color: var(--orange);
}
#sec-3 .profile {
	background: url("img/test-3.png") center center / cover;
}
#sec-4 {
	background-color: var(--green);
}
#sec-4 .profile {
	background: url("img/test-5.png") center center / cover;
}
#sec-5 {
	background-color: var(--blue);
}
#sec-5 .profile {
	background: url("img/test-4.png") center center / cover;
}
#sec-6 {
	background-color: var(--orange);
}
#sec-6 .profile {
	background: url("img/test-6.png") center center / cover;
}

.section-card h1 {
	text-align: start;
	font-size: 2.5rem;
	line-height: 120%;
}
.section-card .text {
	text-align: start;
	padding-left: 2rem;
	font-size: 1.2rem;
}
.section-card .author {
	padding-top: 1rem;
	font-family: "Playfair Display", serif;
}

.mod-card {
	width: 100%;
	background-color: white;
	border-radius: 16px;
	box-shadow: rgba(0, 0, 0, 0.3) 0px 6px 10px;
	padding: 2.5rem;
}
.mod-card h1 {
	color: var(--orange);
	font-size: 2.5rem;
	line-height: 120%;
}
.mod-card > p {
	padding-top: 1rem;
	font-size: 1.1rem;
	color: black;
}
.mod-card > p b {
	color: var(--orange);
	text-transform: uppercase;
}
.mod-card .quote {
	align-items: center;
	padding-top: 2rem;
	display: flex;
	gap: 2.5rem;
}
.mod-card .quote .profile {
	width: 8rem;
	height: 8rem;
	flex-shrink: 0;
	border-radius: 8rem;
	background-color: var(--blue);
}
.mod-card .quote .text p {
	color: rgba(0, 0, 0, 0.8);
}
.mod-card .quote .name {
	color: black;
	padding-top: 1rem;
	font-weight: 500;
}

.modal-close {
	background: rgba(0, 0, 0, 0.4);
}

@media screen and (max-width: 1407px) {
	.container {
		padding-left: 4rem;
		padding-right: 4rem;
	}
	.ca-logo {
		width: 11rem;
		margin: 2.5rem 0;
	}
	.ca-hero .text p {
		font-size: 1.5rem;
	}
	.ca-hero .link {
		font-size: 1.5rem;
	}
	.text-box .text {
		padding: 0 3rem;
	}
	.text-box .text p {
		font-size: 1.2rem;
	}
}

@media screen and (max-width: 1215px) {
	.container {
		padding-left: 2rem;
		padding-right: 2rem;
	}
	.ca-hero .text {
		padding-right: 3rem;
	}
	.ca-hero .logo {
		width: 80%;
	}
	.ca-hero .text p {
		font-size: 1.3rem;
	}
	.ca-hero .link {
		font-size: 1.3rem;
	}
	.text-box .text p {
		font-size: 1.1rem;
	}
}
@media screen and (max-width: 1023px) {
	.container {
		padding-left: 3rem;
		padding-right: 3rem;
	}
	.ca-hero .text {
		padding-right: 2rem;
	}
	.text-box .text {
		padding: 0 3.5rem;
	}
	.text-box .text p {
		font-size: 1.3rem;
	}
	.grid-container {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(3, 1fr);
	}
	.sq-3 {
		grid-column-start: 2;
		grid-column-end: 2;
		grid-row-start: 2;
		grid-row-end: 2;
	}
	.joy .space-between {
		gap: 0rem;
		flex-direction: column;
		align-items: center;
	}
	.joy .form {
		order: 2;
	}
	.joy .text {
		order: 1;
	}
}

@media screen and (max-width: 900px) {
	.ca-hero .space-between {
		flex-direction: column;
	}
	.ca-hero .logo {
		max-width: 20rem;
	}
	.ca-hero .text {
		max-width: 23rem;
		padding: 0;
	}
	.text-box .text {
		padding: 0 3rem;
	}
	.text-box .text p {
		font-size: 1.2rem;
	}
	.ftr .logo {
		width: 15rem;
	}
	.ftr .socials {
		padding-top: 2rem;
		justify-content: center;
	}
	.section-card .arrow-cont {
		display: none;
	}
	.mod-card .quote {
		flex-direction: column;
	}
}
@media screen and (max-width: 700px) {
	.grid-container {
		grid-template-columns: repeat(1, 1fr);
		max-width: 23rem;
	}
	.sq-1,
	.sq-3,
	.sq-5 {
		display: none;
	}
	h1 {
		font-size: 2rem;
	}
	.testimonials {
		width: 100%;
		padding-left: 0 !important;
		padding-right: 0 !important;
		margin: 0 !important;
	}
	.play-cont {
		width: 4rem;
		height: 4rem;
	}
	.play-cont img {
		width: 3rem;
		padding-left: 0.4rem;
	}
	.section-card {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
		padding: 2rem;
	}
	.section-card h1 {
		font-size: 2.3rem;
	}
	.section-card p {
		font-size: 1.1rem;
	}
	.section-card .num {
		width: 5rem;
		height: 5rem;
		border-radius: 6rem;
		padding-bottom: 0.6rem;
		font-size: 2.5rem;
	}
}

@media screen and (max-width: 480px) {
	.ca-logo {
		width: 10rem;
		margin: 2rem 0;
	}
	.container {
		padding-left: 2rem;
		padding-right: 2rem;
	}
	.ca-hero .text {
		max-width: 100%;
	}
	.ca-hero .text p {
		font-size: 1.2rem;
	}
	.ca-hero .text p.second {
		padding-bottom: 2rem;
	}
	.section-card {
		width: 100%;
	}
	.section-card .row {
		flex-direction: column;
	}
	.section-card .row .text {
		padding-left: 0;
		padding-top: 2rem;
	}
	.join-us .sub {
		font-size: 1.2rem;
	}
	.form-cont {
		width: 100%;
	}
	.joy .form {
		width: 100%;
	}
	.joy h1 {
		font-size: 2.2rem;
	}
	.joy .logo {
		padding-top: 1.5rem;
		width: 15rem;
	}
	.ftr .logo {
		width: 10rem;
	}
}
