/* Custom Styles for Hooshava Website */

/* Services Slider Styles */
.services-slider-wrapper {
	position: relative;
}

.services-slider .swiper-slide {
	height: auto;
}

.services-slider .service-block_two {
	height: 100%;
}

.services-slider-next,
.services-slider-prev {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	background-color: #97312a;
	border-radius: 50%;
	color: #ffffff !important;
	z-index: 10;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	transition: all 0.3s ease;
}

.services-slider-next:hover,
.services-slider-prev:hover {
	background-color: #7a2720;
	transform: translateY(-50%) scale(1.1);
}

.services-slider-next::after,
.services-slider-prev::after {
	font-size: 20px;
	font-weight: bold;
}

@media (max-width: 768px) {
	.services-slider-wrapper {
		padding: 0 50px !important;
	}

	.services-slider-next,
	.services-slider-prev {
		width: 40px;
		height: 40px;
		font-size: 16px;
	}
}

/* Services Tabs Styles */
.services-tabs-wrapper {
	margin-top: 30px;
	direction: rtl;
	text-align: right;
}

.services-tabs-buttons {
	display: flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
	gap: 15px;
	margin-bottom: 30px;
	border-bottom: 2px solid #666666;
}

.services-tab-btn {
	background: none;
	border: none;
	padding: 15px 25px;
	cursor: pointer;
	font-size: 20px;
	font-weight: 600;
	color: #666;
	position: relative;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	border-bottom: 4px solid transparent;
	margin-bottom: -2px;
}

.services-tab-btn:hover {
	color: #97312a;
}

.services-tab-btn.active {
	color: #97312a;
	border-bottom-color: #97312a;
}

.tab-icon {
	font-size: 20px;
}

.services-tab-content {
	display: none;
	animation: fadeIn 0.4s ease;
	text-align: right;
	direction: rtl;
}

.services-tab-content.active {
	display: block;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.tab-content-header {
	margin-bottom: 25px;
	text-align: right;
}

.tab-content-header h3 {
	font-size: 24px;
	font-weight: 700;
	color: #97312a;
	margin-bottom: 8px;
	text-align: right;
}

.tab-content-header p {
	font-size: 16px;
	color: #666;
	line-height: 1.6;
	text-align: right;
}

.services-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.services-list li {
	margin-bottom: 20px;
}

.service-item {
	display: flex;
	flex-direction: row;
	direction: rtl;
	gap: 20px;
	align-items: center;
	padding: 20px;
	background: #fcf8eb;
	border-radius: 8px;
	transition: all 0.3s ease;
	text-align: right;
}

.service-item:hover {
	background: #fff;
	border: 2px solid #666666;
	box-shadow: 0 4px 15px rgba(151, 49, 42, 0.1);
	transform: translateY(-2px);
}

.service-item-number {
	flex-shrink: 0;
	width: 50px;
	height: 50px;
	background: #97312a;
	color: #fff;
	border-radius: 2px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 700;
	order: 1;
}

.service-item-number img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 2px;
}

.service-item-number:has(img) {
	background: transparent !important;
}

.service-item-content {
	flex: 1;
	text-align: right;
	order: 2;
}

.service-item-content h4 {
	font-size: 18px;
	font-weight: 700;
	color: #333;
	margin-bottom: 8px;
	text-align: right;
}

.service-item-content p {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
	margin: 0;
	text-align: right;
}

@media (max-width: 768px) {
	.services-tabs-buttons {
		flex-direction: column;
		gap: 10px;
	}

	.services-tab-btn {
		width: 100%;
		justify-content: center;
		padding: 12px 20px;
	}

	.service-item {
		flex-direction: column;
		text-align: center;
	}

	.service-item-number {
		margin: 0 auto;
	}

	.service-item-content {
		text-align: center;
	}

	.service-item-content h4,
	.service-item-content p {
		text-align: center;
	}
}

/* Service Block One Number - Always White */
.service-block_one-number {
	color: #ffffff !important;
}

/* Service Block One Hover Styles */
.service-block_one-inner:hover .service-block_one-heading a {
	color: #ffffff !important;
}

.service-block_one-inner:hover .service-block_one-text {
	color: #ffffff !important;
}

.service-block_one-inner:hover .service-block_one-more {
	color: #ffffff !important;
}

/* Service Block One Icon - No Background */
.service-block_one-icon.no-background {
	background-color: transparent !important;
	border: none !important;
	width: auto;
	height: auto;
	line-height: normal;
}

.service-block_one-icon.no-background:before {
	display: none !important;
}

.service-block_one-icon.no-background img {
	display: block;
	width: auto;
	height: auto;
	max-width: 20%;
	transition: all 500ms ease;
	-moz-transition: all 500ms ease;
	-webkit-transition: all 500ms ease;
	-ms-transition: all 500ms ease;
	-o-transition: all 500ms ease;
}

.service-block_one-inner:hover .service-block_one-icon.no-background {
	background-color: transparent !important;
	border: none !important;
	transform: none !important;
	-webkit-transform: none !important;
}

.service-block_one-inner:hover .service-block_one-icon.no-background img {
	transform: rotateY(180deg);
	-webkit-transform: rotateY(180deg);
}

/* Services Two - Equal Height */
.services-slider .swiper-wrapper {
	display: flex;
	align-items: stretch;
}

.services-slider .swiper-slide {
	display: flex;
	height: auto;
}

/* Services Two - Equal Spacing */
.service-block_two-text {
	margin-bottom: 0px !important;
}

/* Reduce padding and margins for value boxes */
.services-two .service-block_two-inner {
	padding: 25px 30px 20px 30px !important;
	transition: border 0.3s ease !important;
}

.services-two .service-block_two-heading {
	margin-top: 15px !important;
}

.services-two .service-block_two-subtitle {
	margin-top: 8px !important;
	margin-bottom: 8px !important;
}

.services-two .service-block_two-text {
	margin-top: 10px !important;
	margin-bottom: 0px !important;
}

/* Make hover background square with spacing */
.services-two .service-block_two-inner:before {
	border-radius: 4px !important;
	width: calc(100% - 20px) !important;
	height: calc(100% - 20px) !important;
	left: 10px !important;
	right: 10px !important;
	top: 10px !important;
	bottom: 10px !important;
	transform: none !important;
}

/* Add border on hover for value boxes */
.services-two .service-block_two-inner:hover {
	border: 2px solid #333333 !important;
	transition: border 0.3s ease !important;
}

/* About One Image Border */
.about-one_image img {
	border: 6px solid #333333;
	border-radius: 4px;
}

/* About Two Image Border */
.about-two_image img {
	border: 4px solid #333333;
	border-radius: 4px;
}

/* About Two List - Equal Size Boxes and Icon Position */
.about-two_list {
	display: flex !important;
	flex-wrap: wrap;
	gap: 15px;
	margin-top: 40px !important;
}

.about-two_list li {
	display: flex !important;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	width: calc(50% - 7.5px) !important;
	min-width: 0;
	flex: 0 0 calc(50% - 7.5px) !important;
	margin-bottom: 0 !important;
	box-sizing: border-box;
	padding: 14px 20px !important;
	height: auto;
}

.about-two_list li i {
	margin-right: 10px !important;
	margin-left: 0 !important;
	order: -1;
	flex-shrink: 0;
	position: relative;
	top: 0;
	line-height: 1em;
}

.about-two_list li i img {
	width: 20px;
	height: 20px;
	object-fit: contain;
	display: block;
}

@media (max-width: 768px) {
	.about-two_list li {
		width: 100% !important;
		flex: 1 1 100% !important;
	}
}

/* Growth Box Text Color - Cream */
.growth-box h3,
.growth-box .text {
	color: #fcf8eb !important;
}

/* Slider Two - Smaller Heading */
.swiper-slide:nth-child(2) .slider-one_heading {
	font-size: 68px;
	line-height: 1.3;
}

/* Slider Two - Image Position */
.swiper-slide:nth-child(2) .slider-one_image {
	margin-top: 30px;
}

/* FAQ Section - Margin Bottom */
.faq-one .sec-title {
	margin-bottom: 40px;
}

/* Service Block Two Icon - Remove Background Circle */
.service-block_two-icon {
	background-color: transparent !important;
}

.service-block_two-icon:before {
	display: none !important;
}

.service-block_two-icon img {
	width: 84px;
	height: 84px;
	object-fit: contain;
}

@media (max-width: 768px) {
	.swiper-slide:nth-child(2) .slider-one_heading {
		font-size: 56px;
	}
}

/* Logo Animation */
.logo-animation {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 50px;
	height: 50px;
}

.logo-circle {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #97312a;
	animation: logoPulse 1.4s ease-in-out infinite;
}

.logo-circle:nth-child(1) {
	animation-delay: 0s;
}

.logo-circle:nth-child(2) {
	animation-delay: 0.2s;
}

.logo-circle:nth-child(3) {
	animation-delay: 0.4s;
}

@keyframes logoPulse {
	0%, 100% {
		transform: scale(1);
		opacity: 1;
	}
	50% {
		transform: scale(1.5);
		opacity: 0.7;
	}
}

.main-header .logo-box .logo a {
	display: flex;
	align-items: center;
	justify-content: center;
}

.mobile-menu .nav-logo a {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Newsletter One - Mobile Center Alignment */
@media (max-width: 991px) {
	.newsletter-one .row {
		justify-content: center !important;
	}
	
	.newsletter-one_title-column {
		text-align: center !important;
		margin-bottom: 20px;
	}
	
	.newsletter-one_title-outer {
		text-align: center !important;
	}
	
	.newsletter-one_title {
		text-align: center !important;
	}
	
	.newsletter-one_heading {
		text-align: center !important;
	}
	
	.newsletter-one_form-column {
		display: flex;
		justify-content: center !important;
	}
	
	.newsletter-one_form-outer {
		justify-content: center !important;
		width: 100%;
	}
	
	.newsletter-one_form-outer .theme-btn {
		margin: 0 auto;
	}
}

