/******************************************************************
  Theme Name: Staging
  Description: Staging bootstrap tamplate
  Author: Colorib
  Author URI: https://www.colorib.com//
  Version: 1.0
  Created: Colorib
******************************************************************/

:root {
	--font-default: "Saira", sans-serif;
	--font-techno: "Aldrich", "Saira", sans-serif;

	/* Midnight Blue */
	--primary-color: #1E3A5F;
	/* Slate */
	--secondary-color: #4B5563;
	/* Cyan */

	--hover-color: #0891B2;

	/* Background */
	--background-color: #FFFFFF;
	--surface-color: #F8FAFC;
	--footer-background: #111827;

	/* Text */
	--text-color: #303030;
	--white-color: #f0f0f0;

	/* Borders */
	--border-color: #1E3A5F;
}

html {
	scroll-behavior: smooth;
}

html,
body {
	height: 100%;
	font-family: var(--font-default);
	-webkit-font-smoothing: antialiased;
	font-size: 18px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	color: var(--primary-color);
	font-weight: 400;
}

h1 {
	font-size: 70px;
}

h2 {
	font-size: 30px;
}

h3 {
	font-size: 24px;
}

h4 {
	font-size: 20px;
}

h5 {
	font-size: 18px;
}

h6 {
	font-size: 16px;
}

p {
	color: var(--text-color);
	margin-top: 6px;
	margin-bottom: 6px;
}

a {
	color: var(--primary-color);
	text-decoration: none;
}

a:hover {
	color: var(--hover-color);
}

input:focus,
select:focus,
button:focus,
textarea:focus {
	outline: none;
}

ul,
ol {
	padding: 0;
	margin: 0;
}

@media (max-width: 768px) {

	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		letter-spacing: -1px;
	}
}

/* HEADER */

.logo {
	font-size: 26px;
	margin-right: -5px;
}

.logo-primary {
	color: var(--primary-color);
}

.logo-secondary {
	color: var(--hover-color);
}

.brand-name {
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -1.2px;
	line-height: 1;
}

.brand-tagline {
	margin-top: 5px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.7px;
	line-height: 1.2;
	color: var(--text-muted);
	text-transform: uppercase;
}

.navbar-brand {
	line-height: 1;
	text-decoration: none;
}

#navigation {
	transition: padding 0.25s ease, box-shadow 0.25s ease;
}

#navigation.scrolled {
	padding-top: 0;
	padding-bottom: 0;
}

#navigation.scrolled .brand-tagline {
	display: none;
}

#navigation .navbar-brand img {
	max-height: 60px;
	transition: max-height 0.25s ease;
}

#navigation.scrolled .navbar-brand img {
	max-height: 40px;
}

#navigation .navbar-toggler {
	font-size: 16px;
	;
}

.nav-link {
	transition: color 0.2s;
	font-family: var(--font-techno);
	font-size: 18px;
	font-weight: 500;
}

.nav-link:hover {
	color: var(--hover-color);
}

/* COMMON */

.about-section,
.services-section,
.skills-section,
.callto-section,
.brands-section,
.contact-section {
	padding-top: 50px;
	padding-bottom: 50px;
}

.modal-section {
	padding-top: 20px;
	padding-bottom: 20px;
}

.section-title span {
	display: block;
	margin-bottom: 12px;
	color: var(--secondary-color);
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 16px;
	font-weight: bold;
}

.section-title h2 {
	line-height: 50px;
	/* text-transform: uppercase; */
	font-variant: small-caps;
}

.info-item {
	box-shadow: var(--bs-box-shadow-sm);
	transition: box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.info-item:hover {
	box-shadow: var(--bs-box-shadow) !important;
}

.button {
	border-color: var(--hover-color);
	background-color: var(--primary-color);
	color: var(--white-color);
	font-family: var(--font-default);
	border-radius: 9px;
	transition: background-color 0.3s ease, transform 0.3s ease;
	padding-left: 25px;
	padding-right: 25px;
}

.button:hover {
	background-color: var(--hover-color);
	color: var(--white-color);
}

@media (max-width: 768px) {
	.section-title h2 {
		line-height: 30px;
		font-size: 25px;
		/* letter-spacing: 0px; */
	}
}

/* HERO */

.hero {
	position: relative;
	width: 100%;
	padding-bottom: 0;
	margin-top: 60px;
}

.hero-scroll {
	display: flex;
	overflow-x: auto !important;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.hero-scroll::-webkit-scrollbar {
	height: 6px;
}

.hero-scroll::-webkit-scrollbar-thumb {
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.3);
}

.hero-item {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100vw;
	/* height: 50vh; */
	min-height: 320px;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	transition: transform 0.4s ease;
	text-align: center;
	scroll-snap-align: start;
}

.hero-item::before {
	position: absolute;
	z-index: 1;
	background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35));
	content: '';
	inset: 0;
}

.hero-text {
	position: relative;
	z-index: 2;
	color: #fff;
	font-size: 24px;
}

.hero-text h2 {
	margin-bottom: 1.5rem;
	color: var(--white-color);
	font-family: var(--font-default);
	font-size: 3rem;
	font-variant: small-caps;
	font-weight: 700;
}

.hero-text .btn {
	padding: 0.75rem 1.5rem;
	transition: background-color 0.3s ease, transform 0.3s ease;
	font-weight: 600;
}

.hero-arrow {
	position: absolute;
	z-index: 10;
	top: 50%;
	width: 48px;
	height: 48px;
	border: none;
	border-radius: 50%;
	color: white;
	background: rgba(0, 0, 0, 0.4);
	cursor: pointer;
	transition: background 0.3s ease;
	transform: translateY(-50%);
	font-size: 1.8rem;
}

.hero-arrow:hover {
	background-color: var(--text-color);
	color: var(--hover-color);
}

.hero-arrow.left {
	left: 20px;
}

.hero-arrow.right {
	right: 20px;
}

@media (max-width: 768px) {
	.hero-text h2 {
		margin-top: 10px;
		margin-bottom: 20px;
		margin-left: 5px;
		margin-right: 5px;
		font-size: 32px;
	}

	.hero-text p {
		font-size: 20px;
	}

	.hero-arrow {
		top: 0;
		bottom: 0;
		width: 40px;
		height: 100%;
		border-radius: 0;
		background: transparent;
		opacity: 0;
		transform: none;
		font-size: 25px;
		transition: opacity 0.25s ease;
		margin: 0;
		padding: 0;
	}

	.hero-arrow.left {
		left: 0;
	}

	.hero-arrow.right {
		right: 0;
	}

	.hero-arrow.left:hover,
	.hero-arrow.left:focus-visible {
		background: linear-gradient(to right,
				rgba(0, 0, 0, 0.5),
				transparent);
		opacity: 1;
		color: white;
	}

	.hero-arrow.right:hover,
	.hero-arrow.right:focus-visible {
		background: linear-gradient(to left,
				rgba(0, 0, 0, 0.5),
				transparent);
		opacity: 1;
		color: white;
	}
}

/* ABOUT */

.about-section .card .card-title {
	color: var(--primary-color);
}

@media (max-width: 768px) {
	.about-section .info-item {
		text-align: center;
	}
}

/* CALL-TO-ACTION */

.callto-section {
	width: 100%;
	position: relative;
	overflow: hidden;
}

.callto-section small i {
	font-size: 14px;
}

/* SERVICES */

.service-image i {
	color: var(--primary-color) !important;
	transition: transform 0.3s ease, color 0.3s ease;
	font-size: 7rem;
}

/* SKILLS */

.skill-image {
	width: 72px;
	height: 72px;
	flex: 0 0 72px;
	font-size: 2rem;
}

/* BRANDS */

.brands-section {
	overflow-x: hidden;
	background-color: #f8f9fa;
}

.brand-logo-wrapper {
	width: 100%;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.brand-logo {
	display: block;
	max-width: 100%;
	max-height: 48px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.brand-logo:hover {
	opacity: 1;
	/* filter: grayscale(0%); */
}

@media (max-width: 576px) {
	.brand-logo-wrapper {
		height: 56px;
	}

	.brand-logo {
		max-width: 85%;
		max-height: 40px;
	}
}

/* CONTACTS */

.map {
	height: 460px;
	margin-top: 40px;
	margin-bottom: 75px;
	-webkit-box-shadow: 0px 3px 15px rgba(0, 59, 85, 0.1);
	box-shadow: 0px 3px 15px rgba(0, 59, 85, 0.1);
}

.map iframe {
	width: 100%;
}

.contact-section .is-invalid {
	border-color: #dc3545;
}

.contact-section .invalid-feedback {
	font-size: 14px;
}

.map-container {
	min-height: 480px;
}

/* FOOTER */

.footer-section {
	padding-top: 30px;
	padding-bottom: 15px;
	background-image: url(/images/footer-bg.jpg);
}

.footer-section p {
	color: var(--white-color);
	font-size: 14px;
}

.footer-section .menulinks a,
.footer-section .menu-social a {
	display: inline;
	padding-right: 5px;
	color: var(--white-color);
	transition: color 0.3s ease;
}

.footer-section .menu-social a {
	font-size: 1.2rem;
}

.footer-section .menu-social a:hover {
	color: var(--hover-color);
}

.footer-section .copy p {
	color: var(--text-color);
}

@media (max-width: 768px) {
	.footer-section {
		text-align: center;
	}

	.footer-section .menu-social {
		float: none;
		margin-top: 10px;
	}
}

/* COOKIE BANNER */

.cookie-banner {
	z-index: 1050;
}

.cookie-banner-content {
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.cookie-banner-text {
	font-size: 0.875rem;
	line-height: 1.5;
	text-align: center;
	color: var(--white-color);
}

.cookie-banner-actions {
	display: flex;
	flex-direction: row;
	justify-content: center;
	gap: 10px;
}

.cookie-banner-actions .btn {
	min-width: 90px;
}

@media (min-width: 768px) {
	.cookie-banner-content {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		gap: 10px;
	}

	.cookie-banner-text {
		text-align: left;
		flex: 1;
	}

	.cookie-banner-actions {
		flex-shrink: 0;
	}
}

/* MODAL */

.legal-modal-backdrop {
	position: fixed;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.6);
	inset: 0;
}

.legal-modal-backdrop[hidden] {
	display: none;
}

.legal-modal-content {
	position: relative;
	overflow-y: auto;
	max-width: 90%;
	max-height: 90%;
	border-radius: 10px;
	background: var(--white-color);
}

.legal-modal-close {
	position: absolute;
	top: 5px;
	right: 15px;
	border: none;
	background: none;
	cursor: pointer;
	font-size: 2rem;
}

.legal-modal-close:hover {
	color: var(--primary-color);
}

@media (max-width: 576px) {
	.legal-modal-content {
		max-height: 90vh;
		padding: 0;
	}

	.legal-modal-content p,
	.legal-modal-content ul li {
		font-size: 16px;
	}
}