/* #region markup content */

main {
	min-height: calc(100vh - (var(--header-height) + var(--top-header-height) + 14rem));
}

.markup-content {
	font-size: 1rem;
	clear: right;
	line-height: 1.3rem;
	font-family: "Poppins", sans-serif;
	font-weight: 300;
	font-style: normal;
}

.markup-content p {
	margin-bottom: 1em;
}

.career-modal-heading {
	font-size: 2rem;
}

.markup-content a {
	color: var(--theme-primary);
	text-decoration: underline;
}

.markup-content h1 {
	font-size: 2em;
	margin-bottom: 0.6em;
}

.markup-content h2 {
	font-size: 1.5em;
	margin-bottom: 0.8em;
}

.markup-content h3 {
	font-size: 1.17em;
	margin-bottom: 1em;
}

.markup-content h4 {
	font-size: 1.1em;
	margin-bottom: 1em;
}

.markup-content strong {
	font-weight: 600;
}

.markup-content em {
	font-style: italic;
}

.markup-content hr {
	margin-top: 1.2rem;
	margin-bottom: 1.2rem;
	border-bottom: 0;
}

.markup-content .marker {
	background-color: Yellow;
}

.markup-content ul,
.markup-content ul {
	padding-left: 1.5em;
	margin-bottom: 1em;
	/* list-style-position: inside; */
}

.markup-content li {
	margin-bottom: 0.5em;
}

.markup-content ul {
	list-style-type: disc;
}

.markup-content ol {
	list-style: decimal;
	padding-left: 1.3em;
}

@media (max-width: 768px) {}

/* #endregion markup content */

/* #region services */

.service-page-banner {
	margin-bottom: var(--section-gap);
	border-radius: 1rem;
	overflow: hidden;
}

.service-page-banner::before {
	padding-top: 25%;
}

.service-page-header-row {
	display: flex;
	align-items: flex-start;
	gap: 2rem;
}

.service-page-header-img {
	flex: 1 1 45%;
}

.service-page-header-img img {
	border-radius: 0.5rem;
}

.service-page-header-content {
	/* padding-block: 1rem; */
	flex: 1 1 55%;
}

.service-page-header-title {
	font-size: 2rem;
	margin-bottom: 0.5rem;
	color: var(--theme-primary);
	font-weight: 300;
}

.service-page-header-desc {
	font-size: 1.1rem;
	max-width: 75%;
}

.service-page-header-link {
	margin-top: 1.5rem;
}

.service-page-gallery {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	margin-top: 2rem;
	justify-content: center;
}

.service-page-gallery-item {
	background-color: #fff;
	box-shadow: 1px 1px 0.8rem rgba(0, 0, 0, 0.1);
	border-radius: 0.5rem;
	overflow: hidden;
	width: 25rem;
	max-width: 100%;
}

.service-page-gallery-img {
	/* height: 10rem; */
}

.service-page-gallery-img img {
	/* height: 100%;
	width: auto; */
}

.service-page-gallery-img::before {
	padding-top: 65%;
}

.service-page-gallery-content {
	padding: 0.5rem;
	text-align: center;
	font-size: 1.3rem;
	line-height: 1.3;
	font-weight: 600;
}

.service-page-gallery-content:empty {
	display: none;
}

.service-page-sections-row {
	display: flex;
	gap: 2rem;
	flex-wrap: wrap;
	align-items: flex-start;
	padding: 1rem;
	border-radius: 1.5rem;
	background-color: #fff;
	box-shadow: 1px 1px 0.8rem rgba(0, 0, 0, 0.1);
}

.service-page-section-img {
	flex: 1 1 35%;
}

.service-page-section-img img {
	border-radius: 0.5rem;
}

.service-page-section-content {
	flex: 1 1 65%;
}

.service-page-section-title {
	font-size: 1.3rem;
	margin-bottom: 0.5rem;
}

.service-page-section-desc {
	line-height: 1.5;
}

.service-page-sections-row+.service-page-sections-row {
	margin-top: 2rem;
}

.service-page-contact-form {
	margin-top: 2rem;
}

.service-page-contact-form .home-contact-form-field {
	margin-bottom: 0;
}

.service-page-contact-form .contact-form-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
	gap: 1rem 2rem;
}

.service-page-contact-form .field-lg,
.home-contact-form-action {
	grid-column: 1 / -1;
}

.home-contact-form-action {
	text-align: center;
}

@media (min-width: 761px) {
	.service-page-sections-row:nth-child(even) {
		/* flex-direction: row-reverse; */
	}
}

@media (max-width: 768px) {
	.service-page-header-row {
		flex-wrap: wrap;
	}

	.service-page-header-desc {
		max-width: 100%;
	}
}

/* #endregion services */

/* #region careers */

.careers-page-grid {
	display: grid;
	grid-template-columns: 15rem 1fr;
	align-items: start;
	gap: 1.5rem;
}

.career-categories-col {
	/* background-color: #f3f3f3; */
	background-color: #fff;
	border-radius: 0.7rem;
	position: sticky;
	top: calc(var(--header-height) + 2rem);
	/* box-shadow: 0.2rem 0.2rem 0.8rem rgb(0 0 0 / 15%); */
	border: 1px solid #eaeaea;
	overflow: hidden;
}

.career-category-header {
	padding: 0.8rem;
	font-size: 1.2rem;
	font-weight: normal;
	background-color: #dadada;
}

.career-category-form {
	/* display: contents; */
	border-top: 1px solid #eaeaea;
}

.career-category-items {
	padding: 0.8rem;
	display: grid;
	gap: 1rem;
}

.career-category {
	display: grid;
	grid-template-columns: 1.5rem auto;
	gap: 0.5rem;
	position: relative;
	align-items: center;
}

.career-category-checkbox {
	opacity: 0;
	height: 1.5rem;
}

.career-category-label {
	line-height: 1.2;
	user-select: none;
	cursor: pointer;
}

.career-category-label::before,
.career-category-label::after {
	position: absolute;
	top: 0;
	left: 0;
	width: 1.3rem;
	height: 1.3rem;
	border-radius: 0.3rem;
}

.career-category-label::before {
	content: "";
	transition: ease 0.3s;
	border: 1px solid #c5c5c5;
}

.career-category-label::after {
	content: "\2713";
	text-align: center;
	font-weight: 600;
	color: transparent;
	display: grid;
	place-content: center;
	font-size: 1.2rem;
	font-family: monospace;
	pointer-events: none;
}

.career-category-checkbox:checked+.career-category-label::before {
	background-color: var(--theme-primary);
	border-color: var(--theme-primary);
}

.career-category-checkbox:checked+.career-category-label::after {
	color: var(--theme-primary-alt);
}

.career-categories-actions {
	border-top: 1px solid #eaeaea;
	padding: 0.5rem;
	display: flex;
	gap: 0.5rem;
	justify-content: center;
}

.career-category-btn {
	padding: 0.4rem 1rem;
	border-radius: 0.3rem;
	/* border: 2px solid; */
	transition: ease 0.3s;
	font-weight: 400;
}

.career-category-submit-btn {
	background-color: var(--theme-primary);
	color: var(--theme-primary-alt);
	border-color: var(--theme-primary);
}

.career-category-submit-btn:hover {
	background-color: var(--theme-primary-dark);
	/* color: var(--theme-primary); */
}

.career-category-clear-btn {
	background-color: var(--theme-secondary);
	color: var(--theme-secondary-alt);
	border-color: var(--theme-secondary);
}

.career-category-clear-btn:hover {
	background-color: var(--theme-secondary-dark);
	/* color: var(--theme-secondary); */
}

.career-listings {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
}

.career-option {
	padding: 1rem;
	/* box-shadow: 0.2rem 0.2rem 0.8rem rgb(0 0 0 / 15%); */
	border: 1px solid #eaeaea;
	border-radius: 0.5rem;
	background-color: #fff;
}

.career-option-title {
	font-size: 1.2rem;
	line-height: 1.5rem;
	font-weight: 500;
	/* margin-bottom: 0.5rem; */
}

.career-option-subtitle {
	font-size: 1.1rem;
	font-weight: 300;
	margin-top: 0.5rem;
}

.career-option-category {
	margin-top: 0.3rem;
	font-weight: 600;
	color: var(--theme-primary);
}

.career-option-desc {
	line-height: 1.5;
	font-weight: 300;
}

.career-option-actions {
	margin-top: 1rem;
}

.career-select-btn {
	--content-width: 6.5rem;
}

.career-modal .career-modal-body {
	width: 60rem;
	height: 40rem;
	display: flex;
	flex-direction: column;
}

.career-modal-header {
	margin-bottom: 1rem;
}

.career-modal-container {
	display: flex;
	gap: 1.5rem;
	height: 100%;
	flex: 1 1 0%;
	height: 0;
}

.career-modal-info {
	padding-right: 1.5rem;
}

.career-modal-title {
	margin-bottom: 0.5rem;
	font-weight: 500;
}

.contact-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.8rem;
	margin-bottom: 0.8rem;
}

.contact-form-wide-col {
	grid-column: 1 / -1;
}

.contact-form-label {
	font-weight: 500;
	font-size: 0.9rem;
}

.contact-form-input {
	border: 1px solid #dadada;
	border-radius: 0.3rem;
	padding: 0.4rem 0.8rem;
}

textarea.contact-form-input {
	resize: vertical;
}

.contact-form-btn {
	--content-width: 4rem;
}

@media (max-width: 768px) {
	.careers-page-grid {
		grid-template-columns: 1fr;
	}

	.career-modal-container {
		flex-direction: column;
		overflow: auto;
	}

	.career-modal .career-modal-body {
		height: 100%;
	}

	.career-modal-info,
	.career-modal-form {
		width: 100%;
		height: auto;
	}

	.contact-form-row {
		grid-template-columns: 1fr;
	}

	.career-categories-col {
		box-shadow: 0.2rem 0.2rem 0.8rem rgb(0 0 0 / 5%);
	}

	.career-category-form {
		display: none;
	}

	.career-category-header {
		position: relative;
		z-index: 1;
	}

	.career-category-header::after {
		content: "\f107";
		font: var(--icon-font);
		position: absolute;
		top: 50%;
		right: 0;
		transform: translate(-50%, -50%);
	}
}

/* #endregion careers */

/* #region blogs list page */

.blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 2rem;
	margin-block: 2rem;
}

.blog-grid-item {
	/* box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.2); */
	/* border-radius: 0.5rem; */
	overflow: hidden;
	background-color: #fff;
}

.blog-grid-img {
	position: relative;
	display: block;
	overflow: hidden;
}

.blog-grid-item:hover .blog-grid-img img {
	transform: scale(1.05);
}

.blog-grid-img::before {
	content: "";
	padding-top: 62.5%;
	display: block;
}

.blog-grid-img img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 0.3s;
}

.blog-grid-content {
	padding: 1rem;
}

.blog-grid-title {
	font-size: 1.3rem;
	margin-bottom: 0.3em;
	line-height: 1.3;
	font-family: var(--font-faimly-alt);
}

.blog-grid-title a:hover {
	color: var(--theme-primary);
}

.blog-grid-meta {
	margin-bottom: 0.5rem;
	font-size: 0.85rem;
	color: #555;
	font-weight: 500;
}

.blog-grid-desc {
	line-height: 1.3;
	font-size: 0.95rem;
}

/* #endregion blogs list page */

/* #region blog view page */

.blog-page {
	display: flex;
	gap: 2rem;
	line-height: 1.3;
	margin-block: 2rem;
}

.blog-main {
	position: relative;
	width: 70%;
}

.blog-main .blog-content::before {
	content: none;
}

.blog-extra {
	width: 30%;
	position: sticky;
	top: calc(var(--header-height) + 1rem);
	height: 100%;
}

.blog-tags {
	font-size: 0.9rem;
	color: var(--theme-secondary);
	margin-bottom: 0.5rem;
}

.blog-title {
	font-size: 20px;
	font-weight: 500;
	margin-bottom: 0.5rem;
}

.blog-meta {
	color: var(--theme-secondary);
	font-weight: 500;
}

.blog-content {
	margin-top: 1.3rem;
	position: relative;
	padding: 1.2rem;
	box-shadow: 0 0 1rem rgb(0 0 0 / 15%);
	border-radius: 0.5rem;
}

.blog-content::after {
	content: "";
	display: block;
	clear: both;
}

.blog-main-img {
	/* width: 40%; */
	/* width: 500px; */
	/* float: left; */
	/* margin-right: 1.7rem; */
	margin-bottom: 1.5rem;
	min-width: 50%;
	max-width: 100%;
}

.blog-main-img img {
	width: 100%;
}

.blog-share-title {
	font-weight: 500;
	font-size: 1.4rem;
}

.blog-share-list {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
	margin-top: 0.5rem;
}

.blog-share-link {
	width: 2.2rem;
	height: 2.2rem;
	display: grid;
	place-items: center;
	background-color: var(--theme-primary);
	color: #fff;
	border-radius: 5rem;
	border: 2px solid var(--theme-primary);
	font-size: 1.3rem;
}

.blog-share-link:hover {
	background-color: #fff;
	color: var(--theme-primary);
}

.blog-list-banner-title {
	/* text-align: center; */
	font-weight: 500;
	font-size: 1.6rem;
	margin-bottom: 0.7rem;
}

.blog-list {
	display: grid;
	/* grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); */
	gap: 1.2rem;
	/* margin-bottom: 2rem; */
	padding: 1.2rem;
	box-shadow: 0 0 1rem rgb(0 0 0 / 15%);
	border-radius: 0.5rem;
}

.blog-list .blog-grid-item {
	display: flex;
}

.blog-list .blog-grid-img {
	flex: 0 0 30%;
}

.blog-list .blog-grid-content {
	flex: 1;
	padding: 0.5rem 0.75rem;
}

.blog-list .blog-grid-title {
	font-size: 1rem;
	/* line-clamp: 2; */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.blog-list .blog-grid-meta {
	margin-bottom: 0;
}

@media (max-width: 760px) {
	.blog-page {
		flex-direction: column;
	}

	.blog-main,
	.blog-extra {
		width: 100%;
	}
}

@media print {
	.blog-content {
		padding: 0;
		box-shadow: none;
	}

	.blog-extra,
	.header-banner,
	.brand-header,
	.main-header {
		display: none !important;
	}
}

.header-banner {
	position: relative;
}

.header-banner::before,
.header-banner::after {
	content: '';
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-repeat: no-repeat;
}

.header-banner::before {
	background-image: url('../images/bg/circles.png');
	background-size: 250px 500px;
	background-position: left 0px top -250px;

}

.header-banner::after {
	background-image: url('../images/bg/circles.png');
	background-size: 250px 500px;
	transform: rotateY(180deg);
	background-position: left 0 top -250px;
}

/* #endregion blog view page */

/* #region about */

.about-row {
	/* display: flex; */
	/* gap: 3rem; */
	clear: both;
}

.about-row::after {
	content: "";
	display: block;
	clear: both;
}

.about-col-content {
	/* flex: 1 1 50%; */
	/* float: revert; */
}

.about-col-content .section-header {
	margin-bottom: 1rem;
	float: left;
	width: calc(100% - 500px - 1.5rem);
	clear: right;
}

.about-col-img {
	/* flex: 1 1 50%; */
	float: left;
	width: 500px;
	max-width: 100%;
	margin-right: 1.5rem;
	margin-bottom: 1rem;
	/* border-radius: 2rem; */
	overflow: hidden;
}

.about-col-img .big-figure {
	width: 80%;
	height: 350px;
}

.about-col-img .small-figure {
	width: 70%;
}

.about-mission-row {
	display: flex;
	gap: 2rem 6rem;
	align-items: flex-start;
}

.about-mission-row+.about-mission-row {
	margin-top: var(--section-gap);
}

.about-mission-img {
	flex: 1 0 40%;
	max-width: 360px;
	overflow: hidden;
	border-radius: 2rem;
}

.about-mission-img img {
	width: 100%;
	height: 450px;
	object-fit: cover;
}

.about-mission-content {
	flex: auto;
	margin: 0 auto;
	max-width: 380px;
}

.about-mission-content ul .section-subtitle {
	margin-bottom: 0;
}

.about-mission .section-header {
	margin-bottom: 1rem;
}

.about-mission-text ul {
	padding-left: 0;
}

.about-mission-text li {
	margin-bottom: 0;
	list-style-type: none;
	position: relative;
	padding-left: 2em;
}

.about-mission-text li::before {
	content: "\f058";
	position: absolute;
	top: 0;
	left: 0;
	color: var(--theme-primary);
	display: inline-block;
	font: var(--icon-font);
	line-height: 1.1;
	font-size: 1.5em;
}

.why-choose-desc {
	text-align: center;
}

.why-choose-list {
	display: flex;
	gap: 1rem 2rem;
	flex-wrap: wrap;
	padding: 0;
	margin: 0;
	justify-content: center;
}

.why-choose-list li {
	list-style-type: none;
	padding: 0.5rem 2.5rem;
	border-radius: 5rem;
	background-color: var(--theme-primary);
	color: var(--theme-primary-alt);
}

.why-choose-list i {
	font-size: 3em;
	line-height: 1.2;
}

.why-choose-list p {
	margin-bottom: 0.5rem;
}

.team-grid {
	text-align: center;
	grid-template-columns: repeat(4, 1fr);
}

.team-grid .blog-grid-img {
	width: 100%;
	aspect-ratio: 1 / 1.2;
	overflow: hidden;
}

.team-grid .blog-grid-img::before {
	content: unset;
}

.team-grid .blog-grid-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: static;
}

.team-grid-name {
	font-size: 1.5rem;
	line-height: 1.8rem;
	font-weight: 500;
	color: var(--theme-primary);
	margin-bottom: 0.5rem;
}

.team-grid .blog-grid-item {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	/* box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.08); */
	border: 1px solid #ccc;
	transition: 0.5s;
}

.team-grid .blog-grid-item article {
	line-height: 24px;
}

@media (min-width: 768px) {
	.about-mission .about-mission-row:nth-child(odd) {
		flex-direction: row-reverse;
	}
}

@media (max-width: 768px) {
	.about-mission-row {
		flex-direction: column;
		grid-template-columns: repeat(1, 1fr) !important;
	}
}

/* #endregion about */

/* #region form */

.contact-form-container {
	padding: 2.5rem;
	background-color: #fff;
	border-radius: 1rem;
	/* box-shadow: 0.2rem 0.3rem 1rem rgb(0 0 0 / 10%); */
	border: 1px solid #dadada;
	margin-top: 1rem;
}

.home-contact-form-field {
	margin-bottom: 1.5rem;
	position: relative;
}

.home-contact-form-input {
	padding-block: 1rem 0.3rem;
	border-bottom: 1px solid #eaeaea;
	font-size: 1rem;
	transition: ease 0.25s;
	transition-property: color, border-color;
}

.home-contact-form-input::placeholder {
	color: transparent;
	opacity: 0;
}

.header-banner .section-header .section-title {
	color: #fff;
}

.home-contact-form-label {
	position: absolute;
	top: 1rem;
	left: 0.75rem;
	font-size: 0.9rem;
	/* pointer-events: none; */
	transition: ease 0.25s;
	transform-origin: left;
	opacity: 0.8;
	font-weight: 500;
}

.home-services-swiper .swiper-wrapper {
	padding: 1.5rem 0 0;
}

.home-contact-form-input:focus,
.home-contact-form-input[required]:valid,
.home-contact-form-input:not([required]):not(:placeholder-shown) {
	border-color: var(--theme-primary);
}

.home-contact-form-input:invalid:not(:placeholder-shown):not(:focus) {
	border-color: red;
}

.home-contact-form-input:focus~.home-contact-form-label,
.home-contact-form-input:not(:placeholder-shown)~.home-contact-form-label {
	transform: translateY(-1rem) scale(0.8);
	opacity: 1;
}

@media (max-width: 768px) {}

/* #endregion form */

/* #region gallery */

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 30px;
	/* align-items: start; */
	margin-top: var(--section-gap);
}

.gallery-grid-sm {
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 20px;
}

.gallery-card {
	padding: 10px;
	box-shadow: 0 0 30px rgb(0 0 0 / 10%);
	border-radius: 6px;
	transition: 0.3s;
	background-color: #fff;
}

.gallery-card:hover {
	background-color: var(--theme-primary);
}

.gallery-card:hover .gallery-caption {
	color: #fff
}

.gallery-card:hover img,
.gallery-card:hover iframe {
	transform: scale(1.1);
}

.gallery-card-img {
	position: relative;
	overflow: hidden;
}

.gallery-media-img {
	/* margin-bottom: 0; */
}

.gallery-card-img::before {
	content: "";
	display: block;
	width: 100%;
	padding-top: 75%;
}

.gallery-card-img img,
.gallery-card-img iframe {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 0.3s;
}

.gallery-caption {
	font-weight: 500;
	text-align: center;
	font-size: 1rem;
	line-height: 1.5;
	/* line clamp 3 */
	margin-top: 0.5rem;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.gallery-caption:empty {
	display: none;
}

.sl-overlay {
	background-color: #000;
}

.sl-wrapper .sl-close {
	font-size: 2.8em;
	top: 15px;
	right: 15px;
}

.sl-wrapper .sl-navigation button,
.sl-wrapper .sl-counter,
.sl-wrapper .sl-close {
	color: var(--theme-fore-color);
}

.sl-wrapper .sl-image .sl-caption {
	text-align: center;
}

.sl-wrapper .sl-image {
	position: relative;
	transform: translateX(0);
}

@media (max-width: 768px) {}

/* #endregion gallery */

/* #region infrastructure */

.infrastructure-page {
	background-color: #f9f9f9;
}

.infra-section {
	background-size: cover;
	background-position: bottom center;
}

.infrastructure-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 2rem;
}

.infrastructure-item {
	position: relative;
	box-shadow: 0 0 0.5rem rgb(0 0 0 / 10%);
	text-align: center;
	background-color: #fff;
}

.infrastructure-img::before {
	padding-top: 65%;
}

.infrastructure-item-content {
	padding: 1rem;
}

.infrastructure-item-title {
	font-size: 1.3rem;
	font-weight: 500;
	margin-bottom: 0.5rem;
}

.infrastructure-item-text {
	line-height: 1.3;
}

@media (max-width: 768px) {
	.infrastructure-grid {
		grid-template-columns: 1fr;
	}

	.infrastructure-item-title {
		font-size: 1.1rem;
		font-weight: 600;
	}

	.infrastructure-item-text {
		font-size: 0.9rem;
	}
}

@media only screen and (min-width: 320px) and (max-width: 576px) {
	.about-col-content .section-header {
		width: 100%;
	}
}

/* #endregion infrastructure */

.products-grid {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.product-card {
	position: relative;
	display: block;
	background-color: #fff;
	border: 1px solid #dadada;
	border-radius: 0.5rem;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.product-img {
	width: 100%;
	aspect-ratio: 1.5 / 1;
	overflow: hidden;
}

.product-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.product-card:hover .product-img img {
	transform: scale(1.1);
}

.product-content {
	padding: 1rem;
}

.product-title {
	font-size: 1.2rem;
	line-height: 1.5rem;
	font-weight: 600;
	color: var(--theme-primary);
	margin-bottom: 0.5rem;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	text-overflow: ellipsis;
	min-height: 2lh;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.product-page .product-title {
	font-size: 2rem;
	line-height: 2.3rem;
	display: block;
	min-height: unset;
	text-overflow: initial;
	margin-bottom: 1rem;
}

.product-desc {
	font-size: 1rem;
	line-height: 1.3rem;
	color: #666;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	text-overflow: ellipsis;
	min-height: 3lh;
	-webkit-line-clamp: 3;
	overflow: hidden;
	margin-bottom: 0.5rem;
}

.gallery-figure {
	width: 100%;
	aspect-ratio: 1.25 / 1;
	overflow: hidden;
	position: relative;
	box-shadow: 0px 0px 88px 16px rgba(0, 0, 0, 0.08);
	background-color: #fff;
	border-radius: 0.5rem;
}

.gallery-figure figcaption {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 0.5rem 1rem;
	background-color: #001170a9;
	color: #fff;
	text-align: center;
	font-size: 1.3rem;
	line-height: 1.5rem;
	text-overflow: ellipsis;
	overflow: hidden;
	text-transform: capitalize;
}

.gallery-figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.enquiry-form {
	padding: 2rem;
	border: 1px solid #dadada;
	border-radius: 0.5rem;
	background-color: #fff;
}

.product-page .product-desc {
	font-size: 1.2rem;
	line-height: 1.5rem;
	display: block;
	min-height: unset;
	text-overflow: initial;
	margin-bottom: 1rem;
}

.volunteer-content {
	padding: 10px 15px;
}

.volunteer-content .title {
	font-size: 1rem;
	text-transform: capitalize;
	text-align: center;
}

.service-portfolio-title {
	margin: 15px 0px 5px;
}

.portfolio-figure {
	aspect-ratio: 2 / 1;
}

@keyframes splash-loaded {
	to {
		opacity: 0;
	}
}

.splash-img {
	position: absolute;
	top: 50%;
	left: 50%;
	height: auto;
	max-height: 180px;
	max-width: 100%;
	padding: 2rem;
	animation: splash 0.6s forwards;
}

@keyframes splash {
	from {
		opacity: 0;
		transform: translate(-50%, -30%);
	}

	to {
		opacity: 1;
		transform: translate(-50%, -50%);
	}
}

.loaded .splash-img {
	animation: splash-img-loaded 0.6s forwards;
}

@keyframes splash-img-loaded {
	from {
		opacity: 1;
		transform: translate(-50%, -50%);
	}

	to {
		opacity: 0;
		transform: translate(-50%, -30%);
	}
}

/* Testimonials Pagination */
.testimonials-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.testimonials-pagination .swiper-pagination-bullet {
	position: relative;
	border: 2px solid #d8d8d8;
	background: #fff;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	opacity: 1;
	transition: border-color 0.3s ease;
}

.testimonials-pagination .swiper-pagination-bullet-active {
	border-color: var(--theme-secondary);
}

.testimonials-pagination .swiper-pagination-bullet::after {
	content: "";
	position: absolute;
	width: 8px;
	height: 8px;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background-color: var(--theme-secondary);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.testimonials-pagination .swiper-pagination-bullet-active::after {
	opacity: 1;
}

.testimonials-pagination .swiper-pagination-bullet:not(:last-child)::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 100%;
	width: calc(100% + 10px);
	height: 2px;
	background-color: #d8d8d8;
	transform: translateY(-50%);
	z-index: -1;
}

.testimonials-pagination .swiper-pagination-bullet-active::before {
	background-color: var(--theme-secondary) !important;
}

#slider-nav .swiper-button-prev {
	width: 50px;
	height: auto;
	aspect-ratio: 1 / 2;
	overflow: hidden;
	border-radius: 0 0.5rem 0.5rem 0;
	left: 0;
	padding: 0;
}

#slider-nav .swiper-button-next {
	width: 50px;
	height: auto;
	aspect-ratio: 1 / 2;
	overflow: hidden;
	border-radius: 0.5rem 0 0 0.5rem;
	right: 0;
	padding: 0;
}

.other-products-section {
	position: relative;
}

/* .other-products-section::before,
.other-products-section::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-repeat: no-repeat;
}

.other-products-section::before {
	background-image: url('../images/bg/twirl.png');
	background-size: 100px 100px;
	background-position: right 100px top 50px;
}

.other-products-section::after {
	background-image: url('../images/bg/arrows.png');
	background-size: 100px 100px;
	background-position: left 100px bottom 50px;
} */

/* @media only screen and (min-width:320px) and (max-width:768px) {
	.other-products-section::before {
		background-image: url(../images/bg/twirl.png);
		background-size: 50px 50px;
		background-position: right 20px top 20px;
	}
} */

@media only screen and (min-width: 320px) and (max-width: 576px) {

	#productTabs {
		flex-direction: row !important;
	}

	#productTabs .nav-link {
		width: max-content;
	}
}