/* Homepage specific styling goes here. Excluded on all subpages */
/* For most builds, this stylesheet should be wiped and started fresh */

/* PRELOADER */
.preloader-outer {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 9;
	width: 100%;
	height: 100vh;
	background-color: white;
	transition: opacity 600ms ease-out;
}

.preloader-outer.active {
	visibility: visible !important;
}

.preloader-outer.preloader-remove {
	opacity: 0;
	pointer-events: none;
}

.preloader-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.preloader-inner p {
	margin-bottom: 15px;
}

.preloader-inner p:last-of-type {
	margin: 0;
}

.preloader-part {
	display: none;
	margin: 20px;
}

.preloader-part-left.active {
	display: block;
	-webkit-animation: fadeInRight 800ms ease-out;
	animation: fadeInRight 800ms ease-out;
}

.preloader-part-right.active {
	display: block;
	-webkit-animation: fadeInLeft 500ms ease-out;
	animation: fadeInLeft 500ms ease-out;
}

/* HOME HERO AND/OR SLIDER */
.home-hero-height-sync {
	height: 400px;
}

.home-hero,
.home-hero-inner {
	position: relative;
}

.home-hero-image-container {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
}

.home-hero-image-container img {
	-o-object-fit: cover;
	object-fit: cover;
	width: 100%;
	height: 100%;
	-o-object-position: 50%;
	object-position: 50%;
}

.home-hero-form-container {
	display: none;
}

.home-hero-form-row {
	display: flex;
	justify-content: flex-end;
}

@media screen and (min-width: 640px) {
	.home-hero-height-sync,
	.home-hero {
		height: 600px;
	}
}

@media screen and (min-width: 1025px) {
	.home-hero-inner {
		display: block;
	}

	.home-hero-height-sync {
		height: 750px;
	}

	.home-hero-form-container {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		display: block;
	}

	.home-hero-form-container,
	.home-hero-form-inner,
	.home-hero-form-container .row,
	.home-hero-form-container .columns {
		height: 100%;
	}

	.home-hero-form-inner {
		display: flex;
		justify-content: flex-end;
		align-items: center;
	}

	.home-hero-form .contact-form-heading {
		font-size: 1.5rem;
		margin-bottom: 15px;
	}

	.home-hero-form form button {
		width: 100%;
	}

	.home-hero-form {
		margin-top: 80px;
		min-width: 375px;
		padding: 0;
		background: var(--color-light-gray);
	}
}

@media screen and (max-height: 700px) and (min-width: 1025px) {
	.home-hero-form {
		margin: 0;
		position: absolute;
		bottom: 0;
		right: 0;
		padding: 30px;
	}

	.home-hero-form .contact-form-heading {
		display: none;
	}
}

.module-contact-block-a .flex-container {
	display: flex;
	gap: 40px;
	align-items: flex-start;
}

.module-contact-block-a-sidebar {
	flex: 0 0 35%;
}

.module-contact-block-a-offices {
	flex: 1;
    flex-direction: column;
    display: flex;
}

.office-block {
	flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0px;
	margin-bottom: 0px;
}

.office-item {
    padding: 24px;
}

.office-item,
.office-item-main {
    box-shadow: none !important;
}

/* Remove existing borders */
.office-item:nth-child(odd) {
    border-right: none;
    position: relative;
}

.office-item:nth-child(-n+2) {
    border-bottom: none;
    position: relative;
}

/* Vertical divider */
.office-item:nth-child(1)::after {
    content: "";
    position: absolute;
       top: 30px;
    bottom: -30px;
    right: 0;
    width: 1px;
    background: #000;
}

.office-item:nth-child(3)::after {
    content: "";
    position: absolute;
       top: 30px;
    bottom: 30px;
    right: 0;
    width: 1px;
    background: #000;
}

/* Horizontal divider */
.office-item:nth-child(1)::before,
.office-item:nth-child(2)::before {
    content: "";
    position: absolute;
    left: 0px;     /* डावीकडून gap */
    right: 0px;    /* उजवीकडून gap */
    bottom: 0;
    height: 1px;
    background: #000;
}

 .office-title{
	margin-bottom:5px;
}

.office-item-main {
	background: #fff;
	padding: 30px;
}

.office-item-secondary {
	background: none;
/* 	padding:24px; */
}

@media (max-width: 767px) {
	.module-contact-block-a .flex-container {
		display: block;
	}

	.module-contact-block-a-sidebar {
		margin-bottom: 30px;
	}

	.module-contact-block-a-offices {
		grid-template-columns: 1fr;
	}
	
	.office-block {
		grid-template-columns: repeat(1, 1fr);
	}
	
	.office-item:nth-child(odd) {
		border: none;
		border-bottom: 1px solid #000;
	}
	
	.office-item:nth-child(-n+2) {
		border: none;
		border-bottom: 1px solid #000;
	}
	
	/* Vertical divider */
	.office-item:nth-child(1)::after,
	.office-item:nth-child(3)::after {
		content: "";
		position: absolute;
		   top: 30px;
		bottom: -30px;
		right: 0;
		width: 1px;
		background: #000;
		display: none;
	}

	/* Horizontal divider */
	.office-item:nth-child(1)::before,
	.office-item:nth-child(2)::before {
		content: "";
		position: absolute;
		left: 0px;     /* डावीकडून gap */
		right: 0px;    /* उजवीकडून gap */
		bottom: 0;
		height: 1px;
		background: #000;
		display: none;
	}
}

.office-block-title h2 {
	margin-bottom: 20px;
}