@charset "UTF-8";
/* @import url(projects.css);*/

* {
	font-family: "Iranian-Sans";
}
.carousel-caption {
	position: absolute;
	right: 100px;
	bottom: 230px;
	text-align: right;
	align-items: center;
	justify-content: center;
}
.carousel-caption h2 {
	text-shadow: 2px 2px 2px rgb(0, 0, 0);
	font-size: 30px;
	margin-bottom: 15px;
}
.carousel-caption p {
	text-shadow: 2px 2px 2px rgb(0, 0, 0);
	font-size: 18px;
}
.carousel-caption button {
	font-family: "Vazir";
}
@media (max-width: 768px) {
	.carousel-caption {
		top: 150px;
		text-align: center;
		align-items: center;
		justify-content: center;
	}
	.carousel-caption h2 {
		text-shadow: 2px 2px 2px rgb(0, 0, 0);
		font-size: 20px;
		margin-bottom: 15px;
	}
	.carousel-caption p {
		text-shadow: 2px 2px 2px rgb(0, 0, 0);
		font-size: 15px;
	}
}
@media (max-width: 425px) {
	.carousel-caption {
		right: 50px;
		top: 80px;
		text-align: center;
		align-items: center;
		justify-content: center;
	}
	.carousel-caption h2 {
		text-shadow: 2px 2px 2px rgb(0, 0, 0);
		font-size: 20px;
		margin-bottom: 15px;
	}
	.carousel-caption p {
		text-shadow: 2px 2px 2px rgb(0, 0, 0);
		font-size: 15px;
	}
}

.carousel-control-prev {
	justify-content: start;
	margin-right: 5px;
	width: 10%;
}

.carousel-control-next {
	justify-content: end;
	margin-right: 280px;
	width: 10%;
}

@media (max-width: 768px) {
	.carousel-caption {
		bottom: 100px;
	}
}
.category_section .card {
	cursor: pointer;
	transition: transform 0.3s ease, z-index 0.3s;
	transform: translateZ(0); /* حالت عادی */
	gap: 0;
	margin: 0;
	padding: 0;
}

.category_section .card:hover {
	transform: translateY(-10px) scale(1.05);
	z-index: 5;
}
.category_section .card:hover {
	opacity: 1;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.category_section .card-img-top {
	height: 150px !important;
	object-fit: cover;
}

.cat-section {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
.cat-section .title_2 {
	position: relative;
	z-index: 1;
	padding: 0 1rem;
	font-size: 1.5rem;
	display: flex;
	align-items: center;
	gap: 1rem;
	width: 100%;
	font-family: "Shabnam" !important;
	font-weight: 500;
	color: #cfa92f; /* طلایی ملایم */
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
}
.cat-section .title_2::before,
.cat-section .title_2::after {
	content: "";
	flex: 1;
	border-top: 2px dotted #cfa92f;
	height: 0;
	position: relative;
	top: 50%;
}

.product_section {
	position: relative;
}
.product_section .card-title {
	color: #2f2f2f;
	font-family: "Vazir";
	font-size: 17px;
}
.product_section p {
	font-size: 14px;
	height: 80px;
	overflow: hidden;
}
.product_section .card-img-top {
	height: 250px !important;
	object-fit: cover;
}
.product_section .swiper-container {
	width: 100%;
	overflow: hidden;
	position: relative;
}
.product_section .swiper-wrapper {
  display: flex;  /* ضروری */
}


.product_section .swiper-slide {
  box-sizing: border-box;
     height: fit-content;
}

@media (max-width: 767px) {
  .product_section .swiper-slide {
    margin: 0 !important; /* اطمینان از صفر بودن مارجین */
    padding: 0 !important; /* اطمینان از صفر بودن padding */
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .product_section .swiper-slide {
    width: calc(33.33% - 10px) !important; /* مثلا 3 کارت با عرض بیشتر */
  }
}


.product_section .swiper-button-next,
.product_section .swiper-button-prev {
	color: white;
	background-color: rgba(0, 0, 0, 0.5);
	padding: 25px 25px;
	border-radius: 50%;
	position: absolute;
	top: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.product_section .swiper-button-next::after,
.product_section .swiper-button-prev::after {
	font-size: 20px;
}

@media (min-width: 992px) {
	.product_section .swiper-slide {
		width: 28.5714285714% !important;
	}
}
@media (min-width: 1200px) {
	.product_section .swiper-slide {
		width: 20% !important;
	}
}
.contact_sec {
	position: relative;
	background-image: url("../../images/banners/contact_banner.webp");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	width: 95%;
	height: fit-content;
	border-radius: 20px;
}
.contact_sec::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 20px;
	background: rgba(0, 0, 0, 0.4); /* تنظیم تیرگی */
}
.contact_sec .about-content {
	position: relative;
	text-align: center;
	color: white;
	font-family: "Vazir";
	z-index: 5;
}

.gallery_section {
	background-image: url(../../images/banners/about_banner_3.webp);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	position: relative;
}

.gallery_section::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5); /* عدد 0.5 میزان تیرگیه */
	z-index: 1;
	height: 100%;
}

.gallery_section > * {
	position: relative;
	z-index: 2;
}

.gallery_section .gallery-card {
	position: relative;
	overflow: hidden;
}
.gallery_section .gallery-card .card-img,
.gallery_section .gallery-card .carousel-inner img {
	object-fit: cover;
	width: 100%;
	height: 300px;
	transition: transform 0.3s ease;
}
.gallery_section .gallery-card .content-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	transition: opacity 0.4s ease-in-out;
}
.gallery_section .gallery-card:hover .content-overlay {
	opacity: 1;
}

.custom-card {
	border-radius: 20px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	background-color: #121212;
	color: #fff;
	position: relative;
}

.custom-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.card-img-top-container {
	overflow: hidden;
	max-height: 220px;
}

.card-img-top-container img {
	transition: transform 0.5s ease;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.custom-card:hover .card-img-top-container img {
	transform: scale(1.05);
}

.custom-card-body {
	position: relative;
	padding: 1.5rem;
	background-color: #1f1f1f;
	transition: background-color 0.4s ease, color 0.4s ease;
	overflow: hidden;
}

.custom-card:hover .corner-circle {
	-webkit-transform: scale(25);
	-ms-transform: scale(25);
	transform: scale(25);
}

.custom-card-title {
	font-size: 1rem;
	font-weight: bold;
	margin-bottom: 0.5rem;
	position: relative;
	z-index: 2;
}

.custom-card-date {
	font-size: 0.9rem;
	opacity: 0.9;
	position: relative;
	z-index: 2;
}

.custom-card-description {
	text-align: justify;
}

/* ربع دایره زرد در گوشه بالا-راست */
.corner-circle {
	position: absolute;
	top: 0;
	right: 0;
	width: 50px;
	height: 50px;
	background-color: #8b3a1a;
	border-bottom-left-radius: 100%;
	transition: opacity 0.3s ease, transform 0.3s ease;
	z-index: 1;
}

/* رنگ‌های مختلف برای corner و hover */
.card-theme-gold .custom-card-body {
	background-color: #1f1f1f;
}
.card-theme-gold .corner-circle {
	background-color: #c69c2f;
}
.card-theme-gold .custom-card:hover .custom-card-body {
	background-color: #c69c2f;
	color: #000;
}

.card-theme-orange .corner-circle {
	background-color: #ff6f00;
}
.card-theme-orange .custom-card:hover .custom-card-body {
	background-color: #ff6f00;
	color: #000;
}

.card-theme-green .corner-circle {
	background-color: #1b5e20;
}
.card-theme-green .custom-card:hover .custom-card-body {
	background-color: #1b5e20;
	color: #fff;
}

.card-theme-blue .corner-circle {
	background-color: #1565c0;
}
.card-theme-blue .custom-card:hover .custom-card-body {
	background-color: #1565c0;
	color: #fff;
}
.why-us_section {
	background-image: url(../../images/banners/about_banner_2.webp);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

.why-us_section .why-us {
	display: inline-grid;
	grid-template-columns: repeat(5, 0px);
	justify-content: center;
	gap: 0;
	transition: 300ms ease;
	height: 440px;
	width: 100%;
	padding: 75px 0 50px;
	position: relative;
	left: 70px;
}

.why-us_section .why-us_title {
	font-size: 22px;
	color: #fff;
	text-shadow: 0 0 15px #fff;
}

.why-us_section .why-us .why-us__card {
	width: 230px;
	height: fit-content;
	transform-origin: 50% 52%;
	transform: rotate(calc(var(--i) * 15deg - 60deg));
	border-radius: 1vmin;
	padding: 0.5vmin;
	border: rgba(0, 0, 0, 0.2980392157) 1px solid;
	background-color: #ffffff;
	transition: 300ms ease;
}
.why-us_section .why-us .why-us__card .why-us__caption {
	width: 100%;
	height: 250px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.why-us_section .why-us .why-us__card .why-us__caption img {
	width: 75px;
	height: 75px;
	object-fit: cover;
	display: none;
}
.why-us_section .why-us .why-us__card .why-us__caption h5 {
	font-size: 18px;
	margin: 10px 0;
	opacity: 0;
	transition: 0.3s ease-in-out all;
	display: none;
}
.why-us_section .why-us .why-us__card .why-us__caption p {
	width: 90%;
	margin: 0 auto;
	text-align: center;
	align-items: center;
	justify-content: center;
	opacity: 0;
	font-size: 14px;
	transition: 0.3s ease-in-out;
}

#textCard {
	opacity: 1;
}
@media (max-width: 992px) {
	.why-us_section .why-us {
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
		height: 700px;
		padding: 25px 0;
		left: 0;
	}
	.why-us_section .why-us .why-us__card {
		width: 100% !important;
		transform: rotate(0deg) !important;
		background-color: #ffffffb4;
	}

	.why-us_section .why-us .why-us__card .why-us__caption img {
		display: flex;
	}
	.why-us_section .why-us .why-us__card .why-us__caption h5 {
		opacity: 1;
		display: block;
	}
	.why-us_section .why-us .why-us__card .why-us__caption p {
		opacity: 1;
	}
}
@media (max-width: 768px) {
	.why-us_section .why-us {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
		height: 900px;
	}
}
@media (max-width: 576px) {
	.why-us_section .why-us {
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 25px 10px;
		height: fit-content;
	}

	.title {
		font-size: 20px;
	}
}
.why-us_section:hover .why-us {
	grid-template-columns: repeat(5, 200px);
	gap: 50px;
	left: 0;
}

.why-us_section:hover .why-us .why-us__card {
	background-color: #ffffffb4;
}

.why-us_section .why-us .why-us__card:hover {
	background-color: #fff;
}

.why-us_section:hover .why-us .why-us__card h5 {
	opacity: 1;
	display: block;
}
.why-us_section:hover .why-us .why-us__card img {
	display: flex;
}
.why-us_section:hover .why-us .why-us__card p {
	opacity: 1;
}
@media all and (max-width: 1200px) {
	.why-us_section:hover .why-us {
		grid-template-columns: repeat(5, 190px);
		gap: 0;
	}
	.why-us_section:hover .why-us .why-us__card {
		width: 180px;
	}
}
@media (max-width: 992px) {
	.why-us_section:hover .why-us {
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
		height: 700px;
		padding: 25px 0;
	}
	.why-us_section:hover .why-us .why-us__card {
		width: 100%;
	}
}
@media (max-width: 768px) {
	.why-us_section:hover .why-us {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
		height: 900px;
	}
}
@media (max-width: 576px) {
	.why-us_section:hover .why-us {
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 25px 10px;
		height: fit-content;
	}
}
.why-us_section:hover .why-us .why-us__card {
	transform: translateX(0) rotate(0);
} /*# sourceMappingURL=home.css.map */


.sub-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.sub-card p {
    height: 100px;
    overflow: hidden;
}


