/*===========================
  AutoMap Website Styles
===========================*/

/*==== Base & Typography ====*/
body.custom-body {
	font-family: "Source Sans Pro", sans-serif;
	background-color: #edeef0;
	font-weight: 100;
	color: #333;
	margin: 0;
	padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Bebas Neue", sans-serif;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 1rem;
}

html {
	scroll-behavior: smooth;
}

/*==== MARK:  Navbar ====*/

.logo-img {
	height: 52px;
	width: auto;
}

.custom-nav .container {
	max-width: 1200px;
	margin: 0 auto;
}

.custom-nav {
	background: linear-gradient(90deg, #1f158e 0%, #005aae 100%);
	box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
	position: sticky;
	top: 0;
	z-index: 999;
}

.navbar-brand {
	margin-right: auto;
}

.navbar-nav {
	margin-left: auto;
}
.navbar a:hover {
	color: #f57c00;
}
.nav-link {
	color: #ffffff;
	margin-right: 1rem;
	font-weight: 400;
	font-size: 1.2rem;
	font-family: "Source Sans Pro", sans-serif;
}

.navbar .navbar-nav .nav-link.active {
	color: #f57c00;
	font-weight: 900;
	font-size: 1.2rem;
	letter-spacing: 0.3px;
	font-family: "Source Sans Pro", sans-serif;
}

/*==== MARK: Buttons ====*/
.call-btn {
	background-color: #f17501;
	border: none;
	color: black;
	padding: 0.2rem 2rem;
	font-family: "Bebas Neue", sans-serif;
	font-size: 1.4rem;
	letter-spacing: 1px;
	border-radius: 20px;
	text-transform: uppercase;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	transition: all 0.3s ease;
}
.call-btn:hover {
	background-color: #d96600;
	transform: translateY(-2px);
}
.our-service-btn {
	background-color: transparent;
	border: 2px solid #f17501;
	color: black;
	padding: 0.2rem 2rem;
	font-family: "Bebas Neue", sans-serif;
	font-size: 1.4rem;
	letter-spacing: 1px;
	border-radius: 20px;
	text-transform: uppercase;
	transition: all 0.3s ease;
}
.our-service-btn:hover {
	background-color: #f17501;
	color: black;
	transform: translateY(-2px);
}

/*==== Hero Section ====*/

.hero-title {
	font-size: 3.8rem;
	line-height: 1.2;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.text-expert {
	color: #0254a0;
}

.hero-buttons {
	display: flex;
	justify-content: flex-start;
	flex-wrap: nowrap; /* Prevent stacking */
	gap: 1rem;
	align-items: center;
	flex-direction: row;
	flex-shrink: 1;
}
.call-btn,
.our-service-btn {
	white-space: nowrap; /* Keep text in one line */
	flex: 1 1 auto; /* Allow shrinking */
	max-width: 180px; /* Optional: prevent getting too wide */
	text-align: center;
}

.hero-subtext {
	font-size: 28px;
	font-weight: 400; /* Regular */
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); /* Drop shadow */
}

/*==== Image ====*/
.main-image {
	max-width: 80%;
	height: auto;
	border-radius: 0.5rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.main-image-wrapper {
	position: relative;
	display: inline-block;
}

.vector-dots {
	position: absolute;
	bottom: -85px;
	right: -20px;
	width: 480px; /* adjust size */
	z-index: 5; /* behind main photo */
	opacity: 0.8;
}

@media (max-width: 991px) {
	.vector-dots {
		bottom: -10px;
		right: 0;
		width: 260px;
	}
}

@media (max-width: 576px) {
	.vector-dots {
		position: absolute;
		bottom: -5px;
		right: -5px;
		width: 220px;
	}
}
.main-image {
	position: relative;
	z-index: 1;
}

/*==== Icons ====*/
.icon {
	width: 24px;
	height: 24px;
}
.icon1 {
	width: 24px;
	height: 44px;
}
.icon2 {
	width: 24px;
	height: 30px;
}

/* Contact box centered and icon fix */
.contact-box {
	max-width: 400px;
	margin: 0 auto;
	background-color: #e4e9f2;
	padding: 1rem 1.5rem;
	border-radius: 1rem;
	font-weight: 600;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-box .icon {
	width: 20px;
	height: 40px;
}

.contact-box a {
	transition: all 0.3s ease;
	line-height: 0.5;
}

.contact-box a:hover {
	font-weight: 600;
	font-size: 1.05rem;
	transform: scale(1.05);
	color: #0254a0;
}

/*==== Brand Logos ====*/
.brands-slider {
	background: linear-gradient(
		90deg,
		rgba(184, 209, 232, 0.88) 47.12%,
		rgba(244, 244, 244, 0.88) 99.04%
	);
	overflow: hidden;
	padding: 1rem 0;
	height: 100px;
	display: flex;
	align-items: center;
	width: 100vw;
	margin-left: calc(-50vw + 50%);
	position: relative;
}

.slider-track {
	display: flex;
	gap: 40px;
	animation: slideLeft 120s linear infinite;
	width: max-content;
}

.brand-logo {
	height: 40px;
	animation: floatY 3s ease-in-out infinite alternate;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/*==== Animations ====*/
@keyframes floatY {
	0% {
		transform: translateY(0);
	}
	100% {
		transform: translateY(0px);
	}
}

@keyframes slideLeft {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

/*==== MARK: AboutUs Section ====*/

.section-title {
	font-family: "Bebas Neue", sans-serif;
	font-size: 2.5rem;
	color: #0254a0;
	margin-bottom: 2rem;
	text-transform: uppercase;
}

.team-card {
	padding: 1rem;
}

.team-photo {
	border-radius: 0.5rem;
	margin-bottom: 1rem;
	max-height: 320px;
	object-fit: cover;
	width: 100%;
}

.team-name {
	font-weight: 700;
	color: #283756;
	font-size: 1.6rem;
	margin-bottom: 0.2rem;
}

.team-title {
	color: #f17501;
	font-weight: 600;
	margin-bottom: 1rem;
}

.team-text {
	font-size: 0.95rem;
	color: #444;
}

/* Vector background behind third person */
.about-vector {
	position: absolute;
	bottom: -20px;
	right: -10px;
	width: 300%;
	opacity: 0.2;
	z-index: 0;
	pointer-events: none;
}
/*==== MARK: Services Section ====*/

.services-section {
	background-color: #f9f9f9;
}

.service-card {
	border-radius: 1rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
	transition: all 0.3s ease-in-out;
	border: 2px solid transparent;
	opacity: 0;
	transform: translateY(30px);
}

.service-card.show {
	opacity: 1;
	transform: translateY(0);
	transition: all 0.6s ease-out;
}

.service-card:hover {
	transform: translateY(-5px) scale(1.02);
	border-color: #f17501;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Ensure all service cards are equal height */
.services-section .row {
	display: flex;
	flex-wrap: wrap;
}

.services-section .col-md-4 {
	display: flex;
}

.services-section .service-card {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.bg-100 {
	background-color: #cfd5de;
}

.bg-50 {
	background-color: rgba(207, 213, 222, 0.5);
}

.service-icon {
	height: 48px;
	width: auto;
	max-width: 64px;
	object-fit: contain;
	margin: 0 auto;
}

.service-title {
	font-family: "Bebas Neue", sans-serif;
	font-size: 1.25rem;
}

.service-desc {
	font-size: 0.95rem;
	color: #444;
	margin-top: 0.5rem;
}

.text-orange {
	color: #f17501;
}

.text-blue {
	color: #0254a0;
}

/* === MARK: Testimonials Section === */
.testimonials-section {
	padding: 60px 20px;
	background-color: #f1f2f4;
	text-align: center;
}

.section-subtitle {
	color: #f17501;
	font-weight: bold;
	font-size: 1.8rem;
	margin-bottom: 0.5rem;
}

.section-title {
	color: #0254a0;
	font-size: 2.5rem;
	font-weight: bold;
	margin-bottom: 3rem;
	text-transform: uppercase;
}

/*  Testimonials */
.testimonial-card {
	width: 300px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	transition: transform 0.4s ease, box-shadow 0.3s ease;
}

/* === Quote Box === */
.testimonial-content {
	position: relative;
	background-color: #fff;
	border: 3px solid #f17501;
	border-radius: 10px;
	padding: 30px 20px;
	text-align: left;
	min-height: 220px;
	box-sizing: border-box;
}

.testimonial-content.testimonial-blue {
	border-color: #0254a0;
}

.quote-icon {
	width: 24px;
	height: 24px;
	margin-bottom: 10px;
}
/* === Quote Bubble Arrow === */
.testimonial-content::after {
	content: "";
	position: absolute;
	bottom: -12px;
	left: 50%;
	transform: translateX(-50%);
	border-style: solid;
	border-width: 12px 12px 0 12px;
	border-color: #f17501 transparent transparent transparent;
}

/* === Quote Text === */
.testimonial-text {
	font-size: 1rem;
	line-height: 1.6;
	font-style: italic;
	color: #333;
	margin: 0;
}
.testimonial-orange .testimonial-content {
	border-color: #f17501;
}
.testimonial-orange .testimonial-content::after {
	border-color: #f17501 transparent transparent transparent;
}

.testimonial-blue .testimonial-content {
	border-color: #0254a0;
}
.testimonial-blue .testimonial-content::after {
	border-color: #0254a0 transparent transparent transparent;
}

/* === User Info === */
.testimonial-user {
	margin-top: 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.testimonial-user img {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid white;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	margin-bottom: 10px;
}

.user-name {
	font-weight: bold;
	font-size: 1rem;
	margin: 0;
}

.location {
	font-size: 0.9rem;
	color: #888;
	margin: 0;
}

/* === Arrow Buttons === */
.arrow {
	background: none;
	border: none;
	cursor: pointer;
	position: relative;
	z-index: 10;
}

.arrow img {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background-color: #c7ddf1;
	padding: 8px;
	transition: transform 0.2s ease;
}

.arrow:hover img {
	transform: scale(1.1);
}

/* === Responsive Styles === */
@media (max-width: 1024px) {
	.testimonial-carousel {
		gap: 20px;
	}

	.testimonial-card {
		width: 280px;
	}
}

@media (max-width: 768px) {
	.testimonial-card {
		width: 260px;
		scroll-snap-align: start;
	}

	.testimonial-user img {
		width: 60px;
		height: 60px;
	}
}

/*==== MARK: Video Blog ====*/
.video-intro {
	max-width: 600px;
	margin: 0 auto 1rem auto;
	display: block;
	font-size: 1.5rem;
	color: #f17501;
	font-weight: 700;
	font-family: "Bebas Neue", sans-serif;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-align: center;
}

#video-blog h2,
#blog h2 {
	font-weight: 700;
	color: rgba(0, 90, 174, 1);
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

#video-blog iframe,
#blog iframe {
	border-radius: 0.75rem;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

/*==== MARK: Contact Us Section ====*/
.text-orange {
	color: #f05a00;
}

.btn-warning {
	background-color: #f17501;
	border: none;
	color: black;
	padding: 0.4rem 6rem;
	font-family: "Bebas Neue", sans-serif;
	font-size: 1.4rem;
	letter-spacing: 1px;
	border-radius: 20px;
	text-transform: uppercase;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	transition: all 0.3s ease;
}

.btn-warning:hover {
	background-color: #d87e10;
}

a.text-decoration-none:hover {
	opacity: 0.8;
	transition: opacity 0.3s ease;
}
.custom-call-btn {
	width: 379px;
	height: 63px;
	background-color: #005aae;
	border: none;
	font-family: "Bebas Neue", sans-serif;
	font-size: 32px;
	font-style: normal;
	font-weight: 400;
	line-height: 63px;
	letter-spacing: 0.5px;
	color: #fff;
	border-radius: 20px;
	text-transform: uppercase;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	transition: all 0.3s ease;
	display: block;
	margin: 0 auto;
	text-align: center;
	padding: 0;
}
.custom-call-btn:hover {
	background-color: #004080;
	transform: translateY(-2px);
	color: #fff;
}
/* Contact Info color override */
#contact a.text-decoration-none.text-dark {
	color: #005aae !important;
}

#contact a.text-decoration-none.text-dark:hover {
	opacity: 0.8;
	color: #004080 !important;
}

.text-custom-blue {
	color: #005aae;
}

/*==== MARK: Footer ====*/
.footer-custom {
	background: linear-gradient(
		90deg,
		rgba(31, 21, 142, 1) 0%,
		rgba(0, 90, 174, 1) 100%
	);
	color: rgba(245, 245, 245, 1);
}

.footer-link {
	color: rgba(245, 245, 245, 1);
	text-decoration: none;
	font-weight: 600;
	transition: color 0.3s;
}

.footer-link:hover {
	color: #f7941d; /* Оранжевый акцент при наведении */
}

.footer-divider {
	border-top: 1px solid rgba(245, 245, 245, 0.5);
	margin: 1rem auto;
	width: 90%;
}

.footer-copy {
	font-size: 0.9rem;
}
@media (max-width: 576px) {
	.footer-custom .list-inline {
		display: flex;
		flex-direction: column;
		gap: 8px;
		padding: 0;
	}

	.footer-custom .list-inline-item {
		display: block;
		margin: 0;
		text-align: center;
	}
}

/*==== MARK: Responsive HERO ====*/

@media (max-width: 991px) {
	.hero-buttons {
		justify-content: center;
		padding-bottom: 20px;
	}
}

@media (max-width: 767px) {
	.hero-buttons {
		flex-direction: column;
		align-items: center;
		padding-bottom: 20px;
	}
}
