/**
 * Site footer (template-parts/footer/site-footer.php), block "gloorst-footer".
 *
 * Variants: --en (default), --contact (EN Contact Us page), --ar (RTL).
 * Breakpoints as before: tablet <=1024px, mobile <=767px.
 * Selectors use two classes to win over the kit / base element rules
 * (".elementor-kit-12 h2", "h2", "a:hover", "ul", "p" ...).
 */

.gloorst-footer {
	--gloorst-footer-font: "Helvetica Neue", sans-serif;
	--gloorst-footer-font-alt: "Helvetica", sans-serif;
	--gloorst-footer-white: #fff;
	--gloorst-footer-primary: #00acb1;
	--gloorst-footer-sky: #6ec1e4;
	--gloorst-footer-muted: #3b809d;
	--gloorst-footer-width: 1140px;
	position: relative;
}

/* Moon art along the bottom edge (not on the Contact Us page). */
.gloorst-footer--en::before,
.gloorst-footer--ar::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../../../../uploads/2021/10/footer.png") no-repeat center bottom / 100% auto;
	pointer-events: none;
}

.gloorst-footer .gloorst-footer__inner {
	display: flex;
	flex-wrap: wrap;
	box-sizing: border-box;
	width: 100%;
	max-width: var(--gloorst-footer-width);
	margin-inline: auto;
	padding: 100px 0 130px;
}

.gloorst-footer--contact .gloorst-footer__inner {
	padding-bottom: 240px;
}

/* Columns */
.gloorst-footer .gloorst-footer__col {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 20px;
	box-sizing: border-box;
	padding: 10px;
}

.gloorst-footer .gloorst-footer__col--brand { width: 35%; }
.gloorst-footer .gloorst-footer__col--company,
.gloorst-footer .gloorst-footer__col--services { width: 20%; }
.gloorst-footer .gloorst-footer__col--talk { width: 25%; }

/* Brand: logo, intro, social icons */
.gloorst-footer .gloorst-footer__logo {
	text-align: start;
}

.gloorst-footer .gloorst-footer__logo-link {
	display: inline-block;
}

.gloorst-footer .gloorst-footer__logo-img {
	width: 100%;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
	transition: transform 0.3s;
}

.gloorst-footer .gloorst-footer__logo-img:hover,
.gloorst-footer .gloorst-footer__logo-img:focus,
.gloorst-footer .gloorst-footer__logo-img:active {
	transform: scale(1.1);
}

.gloorst-footer .gloorst-footer__intro {
	box-sizing: border-box;
	width: 329px;
	max-width: 100%;
	margin: 0;
	padding: 20px 0 30px;
	font-family: var(--gloorst-footer-font);
	font-size: 18px;
	font-weight: 300;
	line-height: 1.3em;
	color: var(--gloorst-footer-white);
}

.gloorst-footer--ar .gloorst-footer__intro {
	width: auto;
	padding-left: 70px;
}

.gloorst-footer .gloorst-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0 25px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gloorst-footer .gloorst-footer__social-item {
	margin: 0;
}

.gloorst-footer .gloorst-footer__social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	border-radius: 10%;
	font-size: 25px;
	line-height: 25px;
	color: var(--gloorst-footer-white);
	text-align: center;
}

.gloorst-footer .gloorst-footer__social-link:hover,
.gloorst-footer .gloorst-footer__social-link:focus {
	color: var(--gloorst-footer-white);
	opacity: 0.9;
}

.gloorst-footer .gloorst-footer__social-link i {
	position: relative;
	display: block;
	width: 1em;
	height: 1em;
}

.gloorst-footer .gloorst-footer__social-link i::before {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

/* Link columns */
.gloorst-footer .gloorst-footer__title,
.gloorst-footer .gloorst-footer__talk {
	margin: 0;
	padding: 0;
	font-family: var(--gloorst-footer-font-alt);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.3em;
	color: var(--gloorst-footer-white);
}

.gloorst-footer .gloorst-footer__title {
	font-size: 20px;
	font-weight: 400;
	color: var(--gloorst-footer-primary);
}

.gloorst-footer .gloorst-footer__menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gloorst-footer .gloorst-footer__menu li {
	margin: 0;
}

.gloorst-footer .gloorst-footer__link,
.gloorst-footer .gloorst-footer__link:hover,
.gloorst-footer .gloorst-footer__link:focus {
	display: flex;
	align-items: center;
	padding: 10px 0;
	font-family: var(--gloorst-footer-font);
	font-size: 18px;
	font-weight: 200;
	line-height: 20px;
	color: var(--gloorst-footer-white);
	text-decoration: none;
}

/* "Let's talk" column */
.gloorst-footer .gloorst-footer__talk--title {
	font-size: 20px;
	font-weight: 400;
	color: var(--gloorst-footer-sky);
}

.gloorst-footer .gloorst-footer__talk--address {
	margin-top: 10px;
}

.gloorst-footer .gloorst-footer__talk--area,
.gloorst-footer .gloorst-footer__talk--call,
.gloorst-footer .gloorst-footer__talk--send {
	margin-top: -15px;
	color: var(--gloorst-footer-muted);
}

.gloorst-footer .gloorst-footer__talk-link,
.gloorst-footer .gloorst-footer__talk-link:hover,
.gloorst-footer .gloorst-footer__talk-link:focus {
	color: inherit;
	text-decoration: none;
}

/* Arabic footer: some lines use Helvetica Neue. */
.gloorst-footer--ar .gloorst-footer__col--company .gloorst-footer__title,
.gloorst-footer--ar .gloorst-footer__talk--title,
.gloorst-footer--ar .gloorst-footer__talk--address,
.gloorst-footer--ar .gloorst-footer__talk--area,
.gloorst-footer--ar .gloorst-footer__talk--call,
.gloorst-footer--ar .gloorst-footer__talk--send {
	font-family: var(--gloorst-footer-font);
}

@media (min-width: 1025px) {
	.gloorst-footer--contact {
		padding-inline: 15px;
	}
}

@media (max-width: 1024px) {
	.gloorst-footer {
		--gloorst-footer-width: 1024px;
	}

	.gloorst-footer .gloorst-footer__inner,
	.gloorst-footer--contact .gloorst-footer__inner {
		padding: 20px 0 70px;
	}

	.gloorst-footer .gloorst-footer__logo {
		text-align: center;
	}
}

@media (max-width: 767px) {
	.gloorst-footer {
		--gloorst-footer-width: 767px;
	}

	.gloorst-footer .gloorst-footer__inner,
	.gloorst-footer--contact .gloorst-footer__inner {
		padding: 50px 0 60px;
	}

	.gloorst-footer .gloorst-footer__col--brand,
	.gloorst-footer .gloorst-footer__col--talk {
		width: 100%;
	}

	.gloorst-footer .gloorst-footer__col--company,
	.gloorst-footer .gloorst-footer__col--services {
		width: 50%;
	}

	.gloorst-footer .gloorst-footer__col--brand {
		margin-bottom: 30px;
	}

	.gloorst-footer .gloorst-footer__col--talk {
		margin-top: 20px;
	}

	.gloorst-footer .gloorst-footer__logo {
		text-align: start;
	}

	.gloorst-footer--ar .gloorst-footer__logo {
		text-align: end;
	}

	.gloorst-footer .gloorst-footer__logo-img {
		width: 60%;
	}

	.gloorst-footer .gloorst-footer__social {
		column-gap: 20px;
	}

	.gloorst-footer .gloorst-footer__link,
	.gloorst-footer .gloorst-footer__link:hover,
	.gloorst-footer .gloorst-footer__link:focus {
		font-size: 16px;
	}

	.gloorst-footer .gloorst-footer__talk--call,
	.gloorst-footer .gloorst-footer__talk--send,
	.gloorst-footer--en .gloorst-footer__talk--address {
		margin-top: 0;
	}

	.gloorst-footer--ar .gloorst-footer__talk:not(.gloorst-footer__talk--title) {
		margin-top: 32px;
	}
}
