/*
Theme Name: Hello Elementor Child
Author: Hello Elementor
Author URI: https://wordpress.com
Description: Child Theme for Hello Elementor
Template: hello-elementor
Version: 1
*/


*{padding:0;margin:0;}
*,*:after,*:before{box-sizing:inherit}
* {
  scrollbar-width: thin;
  scrollbar-color: #ccc #eee;
}
*::-webkit-scrollbar {
  width: 8px;
}
*::-webkit-scrollbar-track {
  background: #eee;
}
*::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 20px;
  border: 2px solid #eee;
}
html{box-sizing:border-box} 
html{font-size: 10px;}
input[type="tel"] {
	text-align: right;
}
b, strong {
	font-weight: 600;
}
ul, ol {
	list-style-position: inside;
}

.box-shdow {
	box-shadow: 0px 2px 7px 0px rgba(0, 0, 0, 0.2);
}
.box-shdow:hover {
	box-shadow: 0px 3px 12px 0px rgba(0, 0, 0, 0.25);
}

/*header*/
.icon-lang .elementor-icon-list-text {
	border-radius: 50%;
	width: 32px;
	height: 31px;
	align-items: center;
	justify-content: center;
	background-color: #fff;
	display: flex !important;
	transition: 0.5s all ease-in-out;
	padding-top: 3px;
}		
.rank-math-breadcrumb p {
	margin: 0;
}

/*main*/

.slider-container {
    position: relative;
    width: 100%;
    height: 80svh;
    overflow: hidden;
}

/* استایل اسلایدر اصلی */
.main-swiper {
    width: 100%;
    height: 100%;
}

.main-swiper .swiper-slide {
    position: relative;
    overflow: hidden;
}

/* استایل برای عکس */
.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    z-index: 1;
}

/* استایل برای ویدئو */
.slide-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* محتوای اسلاید با انیمیشن */
.slide-content {
    padding: 10px;
	text-align: right;
	max-width: 1140px;
	margin: 0 auto 50px;
	top: 150px;
	bottom: auto;
	
    position: absolute;
    left: 0;
    right: 0;
    color: white;
    z-index: 2;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.swiper-slide-active .slide-content {
    transform: scale(1);
    opacity: 1;
}

.slide-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.swiper-slide-active .slide-content h2 {
    transform: translateY(0);
    opacity: 1;
}

.slide-content p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

.swiper-slide-active .slide-content p {
    transform: translateY(0);
    opacity: 1;
}

/* overlay تیره برای بهتر دیده شدن متن */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 2;
    pointer-events: none;
}

/* ناوبری عنوانی - absolute روی اسلایدر */
.title-navigation {
	position: absolute;
	bottom: 30px;
	left: 0;
	right: 0;
	z-index: 10;
	padding: 0 10px;
	max-width: var(--content-width);
	width: 100%;
	margin: 0 auto;
}

.title-swiper {
    width: 100%;
    height: 120px;
}

.title-swiper .swiper-slide {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 0px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.title-swiper .swiper-slide:hover {
    background: rgba(255, 255, 255, 0.3);
    /*transform: translateY(-5px);*/
    border-color: rgba(255, 255, 255, 0.8);
}

.title-swiper .swiper-slide.active {
    background: var( --e-global-color-primary );  /* var( --e-global-color-accent ) */
    backdrop-filter: blur(15px);
    border-color: white;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

.title-swiper .slide-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.title-swiper .slide-subtitle {
    font-size: 14px;
    opacity: 0.9;
}

/* دکمه‌های ناوبری */
.swiper-button-next,
.swiper-button-prev {
    color: white;
    background: rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    z-index: 20;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 123, 255, 0.8);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.title-navigation .swiper-wrapper {
    justify-content: center;
}

/* pagination */
.swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #007bff;
    opacity: 1;
    transform: scale(1.2);
}

.bdt-slideshow {
    height: calc(100svh - 125px) !important;
}
.bdt-prime-slider li.bdt-flex-middle {
    align-items: flex-start !important;
}
.bdt-prime-slider-skin-general .bdt-prime-slider-wrapper {
	max-width: 1120px;
}
.bdt-prime-slider-skin-general .bdt-prime-slider-content {
    position: relative;
    width: 70%;
}

.full-img .elementor-widget-image , .full-img img {
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.tab-serv .e-n-tabs-heading {
  border-right: 1px solid #999;
  padding-right: 15px;
}
.tab-serv .e-n-tab-title {
  position: relative;
}
.tab-serv .e-n-tab-title[aria-selected="true"]::before {
	content: "";
	width: 2px;
	height: 100%;
	right: -15px;
	top: 0;
	bottom: 0;
	position: absolute;
	background-color: #333;
}

.over-slider {
  overflow: hidden;
}
.over-slider .swiper {
  width: 110% !important;
  padding-right: 30px;
}
.inner-slider .swiper-slide {
	padding: 0 10px;
}

.btn-line .elementor-button {
	position: relative;
}
.btn-line .elementor-button::before {
	content: "";
	width: 0;
	height: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: auto;
	z-index: 0;
	border-radius: 4px;
	background-color: var( --e-global-color-accent );
	transition: 0.5s all ease-in-out;
}
.btn-line .elementor-button:hover::before {
	width: 100%;
	left: 0;
}
.btn-line .elementor-button-content-wrapper {
  position: relative;
}


.title-swiper .swiper-slide {
	border: none !important;
}
.slide-content h2 {
	font-size: 33px !important;
}
.slide-content p {
  font-size: 16px !important; 
	margin: 0 !important;
}
.title-swiper .slide-title {
    position: relative;
}
.title-swiper .swiper-slide::before {
	content: "";
	width: 100%;
	height: 0;
	position: absolute;
	left: 0;
	bottom: 0;
	right: 0;
	top: auto;
	z-index: 0;
	border-radius: 4px;
	background-color: var( --e-global-color-accent );
	transition: 0.5s all ease-in-out;
}
.title-swiper .swiper-slide:hover::before {
	height: 100%;
	top: 0;
}

/* responsiveness */
@media (max-width: 768px) {
    .slide-content h2 {
        font-size: 22px !important;
    }
    
    .slide-content p {
        font-size: 16px !important;
    }
    
    .title-navigation {
        padding: 0 10px;
        bottom: 20px;
    }
    
    .title-swiper .slide-title {
        font-size: 14px;
    }
    
    .title-swiper .slide-subtitle {
        font-size: 12px;
    }
}


/*service*/
.full-text {
	max-width: 600px;
	padding: 40px;
}
.listicon .elementor-icon-box-icon {
	position: relative;
	top: 14px;
}

/*media*/
@media(max-width:767px){
	
.bdt-slideshow {
    height: auto !important;
}
	.bdt-prime-slider-skin-general .bdt-prime-slider-content {
    width: 100%;
}
	.bdt-prime-slider li.bdt-flex-middle {
    align-items: center !important;
}
	.over-slider .swiper {
  width: 100% !important;
  padding-right: 0;
}
}



/*table*/
.elementor-element.elementor-widget-text-editor table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0 0;
    width: 100%;
    font-size: 16px
}

.elementor-element.elementor-widget-text-editor table thead:first-child tr:first-child th {
    border-block-start:unset!important}

@media screen and (max-width: 767px) {
    .elementor-element.elementor-widget-text-editor table {
        border-spacing:0 5px;
        font-size: 14px
    }
}

.elementor-element.elementor-widget-text-editor th,.elementor-element.elementor-widget-text-editor td {
    border: none;
    padding: 15px 20px;
    line-height: 1.25em;
    text-align: left;
    vertical-align: top;
    background-clip: padding-box
}

@media screen and (max-width: 767px) {
    .elementor-element.elementor-widget-text-editor th,.elementor-element.elementor-widget-text-editor td {
        padding:10px 15px
    }
}

.elementor-element.elementor-widget-text-editor th {
    font-weight: 700;
    font-size: 18px
}

@media screen and (max-width: 767px) {
    .elementor-element.elementor-widget-text-editor th {
        font-size:16px
    }

    .elementor-element.elementor-widget-text-editor tbody tr td {
        hyphens: auto
    }
}

.elementor-element.elementor-widget-text-editor th:not(:last-child),.elementor-element.elementor-widget-text-editor td:not(:last-child) {
    border-right: 10px solid#fff;
    border-top: none
}

@media screen and (max-width: 767px) {
    .elementor-element.elementor-widget-text-editor th:not(:last-child),.elementor-element.elementor-widget-text-editor td:not(:last-child) {
        border:none
    }
}

.elementor-element.elementor-widget-text-editor th:first-child {
    background-color: var(--e-global-color-primary);
    color: var(--e-global-color-secondary)
}

.elementor-element.elementor-widget-text-editor th:not(:first-child) {
    background-color: var(--e-global-color-text);
    color:#fff
}

.elementor-element.elementor-widget-text-editor tbody tr:nth-child(even) td {
    background: #EDEDED
}

.elementor-element.elementor-widget-text-editor tbody tr:nth-child(odd) td {
    background:#fff
}

.elementor-element.elementor-widget-text-editor td strong,.elementor-element.elementor-widget-text-editor td b {
    font-weight: 700;
    color: var(--e-global-color-secondary)
}

.three-column-table .table-wrap {
    border: 1px solid var(--bd);
    border-radius: var(--radius);
    overflow: hidden
}

.three-column-table table {
    width: 100%;
    border-collapse: collapse
}

.three-column-table thead th {
    background: var(--th-bg);
    text-align: left;
    padding: 12px 14px;
    font-weight: 700;
    border-bottom: 1px solid var(--bd);
    letter-spacing: .2px
}

.three-column-table tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--bd);
    vertical-align: top
}

.three-column-table tbody tr:last-child td {
    border-bottom: 0
}

@media (max-width: 767px) {
    .three-column-table thead {
        display:none
    }

    .three-column-table table,.three-column-table tbody,.three-column-table tr,.three-column-table td {
        display: block;
        width: 100%
    }

    .three-column-table tbody tr {
        border-bottom: 1px solid var(--bd);
        padding: 10px 0
    }

    .three-column-table tbody tr:last-child {
        border-bottom: 0
    }

    .three-column-table tbody td {
        display: grid;
        grid-template-columns: 48% 52%;
        gap: var(--gap);
        padding: 8px 0;
        border-bottom: 0
    }

    .three-column-table tbody td::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--muted)
    }

    .three-column-table tbody tr td:first-child {
        background: var(--e-global-color-primary)!important
    }
}

.text-align .headline td {
    background: var(--e-global-color-text)!important;
    color: white!important
}

.text-align table th,.text-align table td {
    text-align: center!important
}

.text-align table th:first-child,.text-align table td:first-child {
    text-align: right!important
}