/********** Template CSS **********/
:root {
    /* --primary: #var(--secendry); #var(--primary) */
    --primary: rgb(236 108 51);
    --secendry: rgb(248 193 51);
    --light: #F8F8F8;
    --dark: #2e2923;
}
.bg-dark {
    background-color: var(--secendry) !important;
}
.bg-light {
    background-color: var(--light) !important;
}
.text-body {
    color: var(--light) !important;
}
@font-face {
    font-family: 'iransans';
    src: url('fonts/iransans.eot?#') format('eot'),
    url('fonts/iransans.woff') format('woff'),
    url('fonts/iransans.ttf') format('truetype');
    font-style:normal;
    font-weight:normal;
  }
  html,
  body {
    font-family:iransans ;
    /* text-align: right; */
    /* direction: rtl; */
     }

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
    text-align: right;
}
h1 {
    color: #fff;
}
h2{
    color: var(--secendry);
}
h3, .h3  {
    font-size: 1rem !important;
}
h5, .h5 {
    font-size: 0.8rem;
}
p {
    text-align: justify;
    direction: rtl;
    
  
    font-size: 16px;      
    line-height: 1.6;     
    /* text-justify: inter-word ; */
    margin-bottom: 1em; 
}
.jobtext{
    text-align: justify;
    direction: rtl;
    /* color: var(--secendry) !important; */
    font-size: 16px;      
    line-height: 1.6;     
    margin-bottom: 1em; 
}
.text-white{
    color: var(--light) !important;  
}
.text-dark{
    color: var(--dark) !important;  
}
.mb-2{
    text-align: right;
}
.text-start{
    padding-right: 0.5rem !important;
}
.mb-22{
    text-align: right !important;
    display: block;
  margin-left: auto;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
    color: var(--secendry);
    margin-right: 10px;
    text-align: right;
}
.text-light{
    text-align: right;
}
.jobdetails{
    direction: rtl;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
    /* color: var(--secendry); */
}
.iconjob{
    height: 60%; 
    width: 70px;   
}
.iconabout{
    height: 60%; 
    width: 40px;   
}
.img-news{
    max-width: 100%;
    max-height: 200px;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-outline-body {
    color: var(--primary);
    border-color: #777777;
}

.btn-outline-body:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}
.btn-job {
    color: var(--primary);
   
}

.btn-job:hover {
    color: var(--primary) !important;
   
    border-color: var(--primary);
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.navbar .dropdown-toggle.show::after {
    transform: rotate(-180deg);
}

.dropdown-item {
    text-align: right;
    font-size: 18px;
    padding: 12px 20px;
    transition: all 0.3s ease;
    position: relative;
    color: var(--dark);
}

.dropdown-item:hover {
    color: var(--primary);
    background-color: rgba(40, 142, 217, 0.1);
    padding-right: 25px;
}

.dropdown-item:hover::before {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background-color: var(--primary);
    border-radius: 50%;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 30px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
    font-size: 16px;
    position: relative;
    transition: all 0.3s ease;
}

.navbar .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: 25px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar.sticky-top {
    top: -100px;
    transition: top 0.9s ease, background-color 0.3s ease;
    direction: rtl;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar.sticky-top.scrolled {
    top: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(5px);
}
@media (max-width: 991.98px) {
    .navbar {
        padding: 10px 15px;
    }
    
    .navbar-collapse {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 85%;
        height: calc(100vh - 70px);
        background: white;
        transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        overflow-y: auto;
        z-index: 1000;
        padding: 25px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
    }
  
    .navbar-collapse.show {
        right: 0;
    }
  
    .navbar-nav {
        border-top: 1px solid #f1f5f9;
        padding-top: 0px;
        margin-bottom: 2px;
    }
    .navbar .navbar-nav .nav-link {
    padding: 15px;
    }
    .mb-5 {
    margin-bottom: 0rem !important;
}
    
    .navbar-nav .nav-item {
        border-bottom: 1px solid #f1f5f9;
    }
    
    .nav-link {
        padding: 16px 15px;
        font-size: 17px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .dropdown-toggle::after {
        float: left;
        margin-top: 10px;
        transform: rotate(-90deg);
        transition: transform 0.3s ease;
    }
    
    .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(0deg);
    }
    
    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding: 0;
        background-color: #f8fafc;
        border-radius: 12px;
        margin: 10px 0 15px;
    }
    
    .dropdown-item {
        font-size: 15.5px;
        padding: 14px 25px;
        color: #334155;
        border-bottom: 1px solid #f1f5f9;
        transition: all 0.2s ease;
    }
    
    .dropdown-item:last-child {
        border-bottom: none;
    }
    
    .dropdown-item:hover {
        background-color: #e2e8f0;
        color: #1a3a6c;
        padding-left: 30px;
    }
    
    
    .language-selector {
        /* margin-top: 25px;
        padding-top: 25px; */
        border-top: 1px solid #f1f5f9;
    }
    
    .language-selector .dropdown-toggle {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 15px 20px;
        background-color: #f8fafc;
        border-radius: 12px;
        font-weight: 600;
        color: #1a3a6c;
        transition: all 0.3s ease;
    }
    
    .language-selector .dropdown-toggle:hover {
        background-color: #e2e8f0;
    }
    
    .language-selector .dropdown-menu {
        position: static !important;
        transform: none !important;
        border: none !important;
        box-shadow: none !important;
        background-color: transparent !important;
        margin-top: 10px;
        padding: 0;
    }
    
    .language-selector .dropdown-item {
        padding: 14px 20px;
        display: flex;
        align-items: center;
        font-size: 15.5px;
        background-color: #f8fafc;
        border-radius: 10px;
        margin-bottom: 8px;
    }
    
    .language-selector .dropdown-item img {
        margin-left: 12px;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0;
        font-size: 28px;
        color: #1a3a6c;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }
    
    .close-menu-btn {
        position: absolute;
        top: 15px;
        left: 15px;
        font-size: 24px;
        color: #64748b;
        background: none;
        border: none;
        z-index: 1001;
    }
}

/* استایل‌های دسکتاپ */
@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 120%;
        transform: perspective(500px) rotateX(-15deg);
        transform-origin: top center;
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        opacity: 0;
        border: none;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        border-radius: 12px;
        padding: 10px 0;
        min-width: 240px;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: perspective(500px) rotateX(0deg);
        visibility: visible;
        opacity: 1;
        top: 100%;
    }

    .dropdown-menu.show {
        transform: perspective(500px) rotateX(0deg) !important;
        opacity: 1 !important;
        top: 100% !important;
    }
    
    .dropdown-item {
        padding: 12px 25px;
        font-size: 15px;
        transition: all 0.2s ease;
    }
    
    .dropdown-item:hover {
        background-color: #f1f5f9;
        padding-left: 30px;
    }
}

/* رفع مشکل hover در موبایل */
@media (hover: none) {
    .navbar .navbar-nav .nav-link:hover::after {
        width: 0 !important;
    }
}

/*** Header ***//* تغییرات جدید */
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: flex-end; /* تغییر از center به flex-end برای قرارگیری محتوا در پایین */
    justify-content: flex-end; /* قرارگیری محتوا در سمت راست */
   
    padding: 30px; /* فاصله از لبه ها */
}

.owl-carousel-inner .continer {
    width: 100%;
    max-width: 1200px;
}

.owl-carousel-inner .row {
    justify-content: flex-end !important; 
}

.owl-carousel-inner .col-10 {
   
    padding: 30px;
    border-radius: 5px;
    box-shadow:
    0 4px 12px rgba(236, 108, 51, 0.3),
    0 8px 24px rgba(248, 193, 51, 0.2);

transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}


.owl-carousel-inner h1{
    background: linear-gradient(to right, var(--primary), var(--secendry));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
     text-align: right;
 }
.owl-carousel-inner p {
  
    text-align: right;
}


@media (max-width: 768px) {
    .owl-carousel-inner {
        align-items: center; 
        justify-content: center;
        padding: 15px;
    }
    
    .owl-carousel-inner .col-10 {
        width: 100%;
        max-width: 100%;
        /* padding: 20px;
        margin-top: 40px; */
    }
    
    .owl-carousel-inner h1,
    .owl-carousel-inner p {
        text-align: center;
        font-size: 1rem !important;
    }
}

.display-1 {
    font-size: 3.5rem;
    color: #fff !important;
    line-height: 1.2;
    display: none;
  }
  
  @media (max-width: 768px) {
    .display-1 {
      font-size: 2.5rem;
      line-height: 1.3;
      display: none;
    }
    
    .display-5 {
      font-size: 2rem !important;
    }
    
    .fs-6 {
      font-size: 1rem !important;
    }
  }
  
  @media (max-width: 576px) {
    .display-1 {
      font-size: 1.8rem;
      line-height: 1.4;
    }
    
    .display-5 {
      font-size: 1.5rem !important;
    }
    
    .fs-6 {
      font-size: 0.9rem !important;
      line-height: 1.6;
    }
  }

.page-header {
    background:  url(../img/header.jpg) center center no-repeat;
    /* background-size: cover; */
}
.page-header p{
    color: #495057 !important;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.align-items-start{
    direction: rtl;
}

/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.5rem;
    text-align: center;
    text-transform: uppercase;
}

/*** Product Carousel ***/
#techno {
    padding: 5rem 0;
    position: relative;
}

#techno .section-title {
    color: var(--primary);
    font-size: 1.5rem;
    /* margin-bottom: 3rem; */
    position: relative;
    display: inline-block;
}

#techno .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 50%;
    height: 3px;
    background: var(--primary);
}

.owl-carousel.testimonial-carousel {
    padding: 20px 0;
}

.owl-carousel .item {
    transition: all 0.3s ease;
    padding: 10px;
}

.owl-carousel .fact-item {
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    height: 100%;
    padding: 30px 20px;
    background: white;
}

.owl-carousel .fact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(40, 142, 217, 0.2);
    border-color: var(--primary);
}

.fact-item .fact-icon2 {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    

    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    /* border: 2px solid var(--primary); */
    position: relative;
    z-index: 1;
}
.icon-blue {
    background: linear-gradient(to right, var(--primary), var(--secendry));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    transition: all 0.4s ease;
    position: relative;
    display: inline-block;
    text-shadow: 0 4px 8px rgba(255, 255, 255, 0.3);
  }
  
  .icon-blue:hover {
    transform: translateY(-5px) scale(1.1);
    color: var(--secendry);
    text-shadow: 0 4px 8px rgba(255, 255, 255, 0.3);
    animation: pulse 1.5s infinite;
  }

.fact-item .fact-icon2 img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.fact-item:hover .fact-icon2 {
    /* background: var(--primary); */
    transform: scale(1.1);
}

.fact-item:hover .fact-icon2 img {
    filter: brightness(0) invert(1);
}

.fact-item .fact-icon3 {
    width: 130px;
    height: 130px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    

    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    /* border: 2px solid var(--primary); */
    position: relative;
    z-index: 1;
}

  
  .icon-blue:hover {
    transform: translateY(-5px) scale(1.1);
    color: var(--secendry);
    text-shadow: 0 4px 8px rgba(255, 255, 255, 0.3);
    animation: pulse 1.5s infinite;
  }

.fact-item .fact-icon3 img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.fact-item:hover .fact-icon3 {
    /* background: var(--primary); */
    transform: scale(1.1);
}

.fact-item:hover .fact-icon3 img {
    filter: brightness(0) invert(1);
}

.fact-item h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 1.5rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    font-size: 1.1rem;
}

.fact-item .btn-outline-primary {
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-width: 2px;
    margin-top: 10px;
}

.fact-item .btn-outline-primary:hover {
    /* background: var(--primary); */
    color: white;
}

/* Navigation Arrows */
.owl-carousel .owl-nav {
    position: absolute;
    top: -70px;
    right: 0;
    display: flex;
}

.owl-carousel .owl-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    background: white !important;
    color: var(--primary) !important;
    border: 2px solid var(--primary) !important;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.owl-carousel .owl-nav button:hover {
    background: var(--primary) !important;
    color: white !important;
}

/* Dots */
.owl-carousel .owl-dots {
    margin-top: 30px;
    text-align: center;
}

.owl-carousel .owl-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd !important;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.owl-carousel .owl-dots button.active {
    background: var(--primary) !important;
    width: 30px;
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 768px) {
    #techno .section-title {
        font-size: 1.5rem;
    }
    
    .fact-item h3 {
        font-size: 1rem;
        min-height: 50px;
    }
    
    .owl-carousel .owl-nav {
        top: -60px;
    }
    
    .fact-item .fact-icon2 {
        width: 60px;
        height: 60px;
    }
    
    .fact-item .fact-icon2 img {
        width: 40px;
        height: 40px;
    }
}
/*** About Section ***/
.about-img {
    position: relative;
    width: 100%; 
    margin: 0 auto; 
    padding-bottom: 100%; 
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(136, 50, 75, 0.15),
                0 0 12px rgba(136, 50, 75, 0.2),
                0 0 20px rgba(136, 50, 75, 0.3);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
   
}

.about-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(136, 50, 75, 0.2),
                0 0 20px rgba(136, 50, 75, 0.3),
                0 0 30px rgba(136, 50, 75, 0.4);
}

.about-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about-img:hover img {
    transform: scale(1.05);
}

.section-title {
    position: relative;
    display: block;
    background: linear-gradient(to right, var(--primary), var(--secendry));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
    font-weight: 600;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
   
  
    padding-right: 15px;
 
}

.section-title::after {
    content: '';
    position: absolute;
    right: 15px;
    bottom: -8px;
    width: 50px;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.section-title:hover::after {
    width: 70px;
}

/* استایل بخش آمار */
.stats-container {
    margin-top: 20px; 
}

.d-flex.flex-shrink-0 {
    width: 100px; 
    height: 100px;
    border-radius: 50%;
    background: white;
    margin-right: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.d-flex.flex-shrink-0:hover {
    transform: scale(1.05);
}
.d-flex.flex-shrink-1 {
    width: 40px; 
    height: 40px;
    border-radius: 50%;
    background: white;
    margin-right: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.d-flex.flex-shrink-1:hover {
    transform: scale(1.05);
}

.d-flex.flex-shrink-0 h2 {
    color: var(--primary);
    font-weight: 700;
    font-size: 2rem;
}

.ps-4 h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    position: relative;
    padding-left: 1.2rem;
}

.ps-4 h3::before {
   
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.3rem;
}

.btn-primary {
    background: linear-gradient(to right, var(--primary), var(--secendry));
    color: #fff;
    padding: 0.6rem 1.8rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  

.btn-primary:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(136, 50, 75, 0.3);
}
.btn-outline-primary {
    background: transparent;
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 20px;
    cursor: pointer;
    border: 2px solid;
    border-image-slice: 1;
    border-width: 2px;

    border-image-source: linear-gradient(to right, var(--primary), var(--secendry));
  

    color: transparent;
    background-image: linear-gradient(to right, var(--primary), var(--secendry));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  
    transition: all 0.3s ease;
  }
  
  .btn-outline-primary:hover {

    border-image-source: linear-gradient(to right, var(--secendry), var(--primary));
    background-image: linear-gradient(to right, var(--secendry), var(--primary));
    
    transform: translateY(-3px);
    /* box-shadow: 0 8px 20px rgba(136, 50, 75, 0.3); */
  }
  
  

.btn-outline-primary i {
    transition: transform 0.3s ease;
}

.btn-outline-primary:hover i {
    transform: translateX(3px);
}

/* واکنش‌گرایی */
@media (max-width: 991.98px) {
    .about-img {
        width: 70%;
        padding-bottom: 70%;
        margin-top: 20px;
    }
    
    .section-title {
        margin-top: 30px;
    }
    
    .d-flex.flex-shrink-0 {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 767.98px) {
    .about-img {
        width: 90%;
        padding-bottom: 90%;
    }
    
    .section-title {
        margin-top: 25px;
        font-size: 1.1rem;
    }
    
    .d-flex.flex-shrink-0 {
        width: 80px;
        height: 80px;
        margin-right: 1rem;
    }
    
    .ps-4 h3 {
        font-size: 1rem;
        padding-left: 1rem;
    }
}



/*** Service ***/
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-item .service-text {
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, .7);
}

.service-item * {
    transition: .5;
    text-align: center;
}

.service-item:hover * {
    color: #FFFFFF;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 170px;
}

.m-0{
    margin-right: 20px !important;
}
/*** Project ***/


.project .nav .nav-link {
    background: var(--light);
    color: var(--dark);
    text-align: right;
    direction: rtl;
    border-radius: 12px;
    padding: 10px 20px;
    margin: 5px;
    font-weight: 500;
    transition: all 0.4s ease;
    box-shadow: 0 2px 5px rgba(136, 50, 75, 0.1);
}

.project .nav .nav-link:hover,
.project .nav .nav-link.active {
    background: #fff;
    color: var(--primary);
    transform: scale(1.03);
    box-shadow:
        0 4px 8px rgba(136, 50, 75, 0.15),
        0 0 12px rgba(136, 50, 75, 0.2),
        0 0 20px rgba(136, 50, 75, 0.3);
}



.project .nav .nav-link.active h3 {
    color: var(--primary) !important;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}
.team-item {
    position: relative;
    padding: 0.75rem;
    overflow: hidden;
    transition: transform 0.4s ease;
    border-radius: 12px;
    z-index: 1;
    background: #fff;
    box-shadow:
      0 2px 4px rgba(136, 50, 75, 0.05); /* سایه ملایم اولیه */
  }
  
  .team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: rgba(136, 50, 75, 0.05); /* رنگ خیلی ملایم زمینه */
    box-shadow:
      0 0 10px rgba(136, 50, 75, 0.15),
      0 0 25px rgba(136, 50, 75, 0.08);
    transition: height 0.5s ease, box-shadow 0.5s ease;
    z-index: -1;
    border-radius: 12px;
  }
  
  .team-item:hover {
    transform: scale(1.03);
    box-shadow:
      0 8px 16px rgba(136, 50, 75, 0.2),
      0 12px 32px rgba(136, 50, 75, 0.25); /* افکت افزایش عمق */
  }
  
  .team-item:hover::after {
    height: 100%;
    background: rgba(136, 50, 75, 0.08);
    box-shadow:
      0 0 15px rgba(136, 50, 75, 0.2),
      0 0 30px rgba(136, 50, 75, 0.15),
      0 0 50px rgba(136, 50, 75, 0.3);
  }
  

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: var(--primary);
    background: var(--light);
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}
.display-5{
    font-size: 1.2rem;
    text-align: right;
    line-height: 1.7;
}

/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column;
    /* max-width: 700px; */
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    /* height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px; */
    display: none;
}




.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}



/* Footer RTL Styles */
.footer-wrapper {
    direction: rtl;
    text-align: right;
}

.footer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secendry) 100%);
    color: white !important;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/img/pattern.png') repeat;
    opacity: 0.05;
    pointer-events: none;
}

.footer h3 {
    color: white !important;
    font-weight: 600;
    margin-bottom: 25px !important;
    position: relative;
    padding-bottom: 10px;
    font-size: 1.2rem;
}

.footer h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
}

/* Contact Section */
.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact i {
    margin-left: 10px;
    margin-right: 0 !important;
}

/* Links Section */
.footer-links .btn-link {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    padding: 0;
    text-align: right;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.footer-links .btn-link::before {
    content: "\f104";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: white;
    margin-left: 10px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links .btn-link:hover {
    color: white;
    transform: translateX(-5px);
    text-decoration: none;
}

.footer-links .btn-link:hover::before {
    margin-left: 15px;
}

/* About Section */
.footer-about {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}
.logo {
    max-height: 50px;
    margin-bottom: 20px;
   
}

.footer-logo {
    max-height: 60px;
    filter: brightness(0) invert(1);
    margin-bottom: 15px;
}

/* Social Icons */
.social-icons .btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    background-color: transparent;
    transition: all 0.3s ease;
    border-radius: 8px !important;
    margin-left: 8px;
    margin-right: 0 !important;
}

.social-icons .btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: white;
    border-color: white;
}

/* Copyright */
.copyright {
    padding: 20px 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.1);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    background: white;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .footer-links .col-md-6 {
        margin-bottom: 30px;
    }
    
    .footer-about {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .footer h3 {
        font-size: 1.1rem;
    }
    
    .footer-links .btn-link {
        font-size: 0.9rem;
    }
    
    .footer-about p {
        font-size: 0.9rem;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        left: 20px;
        bottom: 20px;
    }
    .btn-group, .btn-group-vertical {
        position: relative;
        display: inline !important;
        vertical-align: middle;
    }
}
/*** Job Listing ***/
.nav-pills .nav-item .active {
    border-bottom: 2px solid var(--primary);
}

.job-item {
    /* استایل پایه */
    position: relative;
    border: 1px solid rgba(136, 50, 75, 0.1); /* حاشیه نازک با رنگ primary و شفافیت */
    border-radius: 8px; /* گوشه‌های گردتر */
    background: #fff;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    
    /* سایه چندلایه با رنگ‌های اصلی */
    box-shadow: 
        0 2px 5px rgba(136, 50, 75, 0.1),
        0 5px 15px rgba(136, 50, 75, 0.2),
        0 10px 25px rgba(16, 30, 98, 0.15); /* ترکیب primary و secondary */
    
    /* افکت hover */
    &:hover {
        transform: translateY(-5px);
        box-shadow: 
            0 5px 10px rgba(136, 50, 75, 0.2),
            0 10px 20px rgba(136, 50, 75, 0.25),
            0 15px 30px rgba(16, 30, 98, 0.2);
        border-color: rgba(136, 50, 75, 0.3);
    }
    
    /* هایلایت بالای کارت */
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--secondary));
        opacity: 0.8;
        transition: all 0.4s ease;
    }
    
    &:hover::before {
        height: 6px;
        opacity: 1;
    }
    
    /* افکت برای حالت فعال */
    &.active {
        border: 1px solid var(--primary);
        box-shadow: 
            0 0 0 3px rgba(136, 50, 75, 0.15),
            0 8px 25px rgba(16, 30, 98, 0.2);
    }
}
.footer{
    /* background-image: url("banner.jpg")  ; */
    border-top: 1px solid var(--primary);
    background-size: cover; 
}
.text-light {
    color: var(--secendry) !important;
}

/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column;
    /* max-width: 700px; */
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    /* height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px; */
    display: none;
}





.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}


.st_overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    background: transparent url(../img/pattern.png) repeat-x bottom left;
    opacity: 0.1;
    z-index: 2;
}

.st_overlay2 {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent url(../img/pattern2.png) repeat top left;
    z-index: 2;
}
.display-1 {
    font-size: 2rem !important;
    color: #495057 !important;
    display: none;
   
}



.mb-3 {
    margin-bottom: 1rem !important;
    /* text-align: center; */
}
/* استایل‌های مربوط به کاتالوگ */
.catalog-item {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  }
  
  .catalog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  }
  
  .catalog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s;
  }
  
  .catalog-item:hover .catalog-overlay {
    opacity: 1;
  }
  
  .img-fluid {
    height: 200px;
    object-fit: cover;
  }

  /* استایل‌های گالری */
.gallery-item {
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
  }
  
  .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  .gallery-img {
    transition: transform 0.3s ease;
  }
  
  .gallery-item:hover .gallery-img {
    transform: scale(1.05);
  }
  
  .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
  }
  
  .gallery-item:hover .gallery-overlay {
    opacity: 1;
  }
  
  /* استایل‌های مدال اسلایدر */
  .slider-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .slider-content {
    width: 80%;
    max-width: 900px;
    position: relative;
  }
  
  .close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10000;
  }
  
  .slider-item {
    text-align: center;
  }
  
  .slider-item img {
    max-height: 70vh;
    margin: 0 auto;
  }
  
  .slider-caption {
    color: white;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    margin-top: 10px;
    border-radius: 5px;
  }
  

  .btn-outline-primary.active {
    background-color: var(--primary);
    color: white;
  }
  .btn-primary {
   
    background-color: var(--primary);
    border-color: var(--secendry);
}

  /* Container for Intro Section */
.intro-text {
    /* max-width: 900px; */
    margin: 1rem auto;
    padding: 1rem;
    text-align: center;
    position: relative;
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 1;
  }
  
  /* Decorative Elements */
  .intro-text::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), #1a6fc9);
  }
  
  .intro-text::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    /* background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="%23005B9F" opacity="0.05"><path d="M0,0 L100,0 L100,100 Z"/></svg>'); */
    background-size: contain;
    z-index: -1;
  }
  
  /* Slogan Styling */
  .intro-slogan {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    animation: fadeInUp 0.8s ease-out;
  }
  
  .intro-slogan::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    /* background: var(--primary); */
    border-radius: 2px;
  }
  
  /* Description Styling */
  .intro-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin: 0 auto;
    max-width: 700px;
    animation: fadeInUp 1s ease-out;
    position: relative;
  }
  
  /* Animation */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Hover Effects */
  .intro-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }
  
  /* Responsive Design */
  @media (max-width: 992px) {
    .intro-text {
      padding: 2.5rem;
      margin: 3rem auto;
    }
    
    .intro-slogan {
      font-size: 2rem;
    }
    
    .intro-description {
      font-size: 1.1rem;
    }
  }
  
  @media (max-width: 768px) {
    .intro-text {
      padding: 2rem 1.5rem;
      margin: 2rem auto;
      border-radius: 12px;
    }
    
    .intro-slogan {
      font-size: 1.8rem;
    }
    
    .intro-description {
      font-size: 1rem;
    }
  }
  
  .fact-wrapper {
    position: relative;
    padding-top: 30px; /* فضای بالا برای جا دادن آیکون */
  }
  
  .fact-icon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
   height: 80px;
   width: 80px;
    background-color: #fff;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .iconjob {
    height: 60%; 
    width: 70px;  
    object-fit: contain;
    border-radius: 50%;
  }
  
  .fact-item {
    position: relative;
    z-index: 1;
    border-radius: 12px;
    transition: all 0.3s ease;
    min-height: 140px;
    padding-top: 50px !important; 
  }
  
  .fact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  }
  
  .timeline-rtl {
    position: relative;
    padding-right: 40px;
    margin-right: 30px;
    border-right: 3px solid transparent;
  }
  
  .timeline-rtl::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), #ccc, var(--primary));
    animation: timelinePulse 2s infinite ease-in-out;
  }
  
  @keyframes timelinePulse {
    0%, 100% {
      box-shadow: 0 0 0 transparent;
    }
    50% {
      box-shadow: 0 0 10px var(--primary);
    }
  }
  
  .timeline-item-rtl {
    position: relative;
    margin-bottom: 40px;
    padding-right: 30px;
  }
  
  .timeline-icon {
    position: absolute;
    right: -33px;
    top: 0;
    width: 50px;
    height: 50px;
    background: #fff;
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  
  .timeline-icon img {
    width: 20px;
    height: 20px;
  }
  
  .timeline-content {
    background: #fefefe;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: right;
  }
  
  .timeline-content h5 {
    margin-bottom: 6px;
    color: var(--primary);
    font-weight: bold;
  }
  
  .timeline-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #444;
  }
  .form-control {
    /* استایل پایه */
    display: block;
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 6px;
    transition: all 0.3s ease;
    
    /* استایل فوکوس */
    &:focus {
        color: #495057;
        background-color: #fff;
        border-color: var(--primary);
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgba(136, 50, 75, 0.25); /* استفاده از رنگ primary با شفافیت */
    }
    
    /* استایل placeholder */
    &::placeholder {
        color: #6c757d;
        opacity: 1;
    }
}

/* استایل مخصوص برای حالت‌های مختلف */
.form-control-primary {
    border: 2px solid var(--primary);
    
    &:focus {
        box-shadow: 0 0 0 0.3rem rgba(136, 50, 75, 0.3);
    }
}

.form-control-secondary {
    border: 2px solid var(--secondary);
    
    &:focus {
        box-shadow: 0 0 0 0.3rem rgba(16, 30, 98, 0.3);
    }
}

/* استایل برای حالت disabled و readonly */
.form-control:disabled,
.form-control[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}

.form-select {
    /* استایل پایه */
    display: block;
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%2388324b' d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    
    /* استایل فوکوس */
    &:focus {
        border-color: var(--primary);
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgba(136, 50, 75, 0.25);
    }
    
    /* استایل برای حالت‌های مختلف */
    &.form-select-primary {
        border: 2px solid var(--primary);
        
        &:focus {
            box-shadow: 0 0 0 0.3rem rgba(136, 50, 75, 0.3);
        }
    }
    
    &.form-select-secondary {
        border: 2px solid var(--secondary);
        
        &:focus {
            box-shadow: 0 0 0 0.3rem rgba(16, 30, 98, 0.3);
        }
    }
    
    /* استایل برای حالت disabled */
    &:disabled {
        background-color: #e9ecef;
        opacity: 1;
        cursor: not-allowed;
    }
}

/* استایل برای options */
.form-select option {
    padding: 10px;
    background-color: #fff;
    color: #495057;
    
    &:hover {
        background-color: var(--primary);
        color: white;
    }
    
    &:checked {
        background-color: var(--primary);
        color: white;
    }
}

/* استایل‌های گالری */
.gallery-main-image {
    position: relative;
    transition: all 0.3s ease;
    border: 3px solid #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  }
  
  .gallery-main-image:hover {
    transform: scale(1.01);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  }
  
  .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: all 0.3s ease;
  }
  
  .gallery-overlay-small {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: all 0.3s ease;
  }
  
  .gallery-main-image:hover .gallery-overlay,
  .gallery-thumbnails img:hover + .gallery-overlay-small,
  .gallery-thumbnails div:hover .gallery-overlay-small {
    opacity: 1;
  }
  
  .gallery-thumbnails img {
    transition: all 0.3s ease;
    border: 2px solid transparent;
  }
  
  .gallery-thumbnails img:hover {
    transform: scale(1.05);
    border-color: var(--primary);
  }
  
  .gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 10;
    transition: all 0.3s ease;
  }
  
  .gallery-nav-btn:hover {
    background: var(--primary);
  }
  
  .prev-btn {
    left: 20px;
  }
  
  .next-btn {
    right: 20px;
  }
  
  .gallery-modal .modal-content {
    background: transparent;
    border: none;
  }
  
  .gallery-modal .modal-header {
    border-bottom: none;
  }
  
  .gallery-modal .modal-footer {
    border-top: none;
    justify-content: center;
  }
.border-bottom {
    border-bottom: 2px solid var(--primary) !important;
    padding: 0.2rem 0;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(136, 50, 75, 0.15), 0 0 2px rgba(136, 50, 75, 0.2), 0 0 10px rgba(136, 50, 75, 0.3);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.bg-primary {
    background: linear-gradient(to right, var(--primary), var(--secendry)) !important;
  }
  
/* i {
    margin-left: 10px;
} */
.mb-0 {
    text-align: center;
    text-align: justify;
}
.animate__animated{
    background-color: rgba(0, 0, 0, 0.03);
    
}
.card-body {
    background-color: rgba(0, 0, 0, 0.03);
}
.alert-light {
    color: var(--secendry) !important;
    background-color: rgba(0, 0, 0, 0.03) !important;
    border-color: var(--primary) !important;
}

.py-5 {
    padding-top: 5rem !important;
    padding-bottom: 3rem !important;
}
.card-body2 {
    flex: 1 1 auto;
    padding: 1rem 1rem;
}
.py-2 {
    /* padding-top: 2rem !important; */
    padding-bottom: 2rem !important;
}
.owl-carousel-item{
    max-height: 600px; overflow: hidden;
}
.video{
    width: 100%;
     height: auto;
}
.fa-3x{
    font-size: 2.5rem !important;
}

.hover-effect {
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.hover-effect:after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 45%, 
        rgba(248, 197, 51, 0.3) 50%, 
        transparent 55%);
    animation: borderFlow 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.hover-effect:hover:after {
    opacity: 1;
}

@keyframes borderFlow {
    0% { transform: rotate(0deg) translate(-50%, -50%); }
    100% { transform: rotate(360deg) translate(-50%, -50%); }
}

.section-title {
    position: relative;
    padding-bottom: 1rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary);
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #000 !important;
}

@media (max-width: 768px) {
    .fact-item {
        margin-bottom: 1.5rem;
    }
}

.stat-item {
    transition: all 0.3s ease;
    box-shadow: 0 5px 5px var(--secendry);
    /* border: 1px solid var(--primary); */
  
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    /* border-color: var(--primary); */
}

.border-hover-effect {
    position: relative;
    overflow: hidden;
}

.border-hover-effect:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 45%, 
        var(--secondary) 50%, 
        transparent 55%);
    animation: borderFlow 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-item:hover:before {
    opacity: 1;
}

@keyframes borderFlow {
    0% { transform: rotate(0deg) translate(-50%, -50%); }
    100% { transform: rotate(360deg) translate(-50%, -50%); }
}

.text-primary {
    color: rgb(47 41 36) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.section-title {
    color: var(--primary) !important;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary);
}

.stat-number {
    transition: all 0.3s ease;
    letter-spacing: -2px;
    text-align: center;
}

.stat-item:hover .stat-number {
    color: var(--secondary) !important;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .stat-item {
        margin-bottom: 1.5rem;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
}

.hover-shadow {
    transition: all 0.3s ease;
}
.hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    /* bottom: -10px;
    left: 25%; */
    background: linear-gradient(to right,var(--secendry), transparent);
}
.card-img-top {
    object-fit: contain;
    height: 200px;
    /* background-color: var(--secendry); */
    border-radius: 5px;
    transition: transform 0.3s ease;
    cursor: pointer;
}
.card-img-top:hover {
    transform: scale(1.03);
}
.card{
    direction:rtl;
}


/* slideshow */

/* Variables */
:root {
    
    --glass-bg: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.2);
 
    --blur-intensity: 12px;
  }
  
  /* Glass Effect */
  .glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-intensity));
    -webkit-backdrop-filter: blur(var(--blur-intensity));
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
  }
  
  /* Global Styles */
  .section-slider {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
    perspective: 1000px;
    background: #0a1929;
     padding-bottom: 2rem !important;
  }
  
  .unslider {
    height: 100%;
  }
  
  .slider-site {
    height: 100%;
    position: relative;
  }
  
  .unslider-wrap {
    height: 100%;
    list-style: none;
    position: relative;
  }
  
  .item-slider {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.33, 1, 0.68, 1);
    overflow: hidden;
  }
  
  .item-slider.unslider-active {
    opacity: 1;
    z-index: 2;
  }
  
  .item-slider video,
  .item-slider img {
    position: absolute;
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    z-index: 1;
    filter: brightness(0.6) contrast(1.1);
    transform: scale(1.05);
    transition: transform 8s ease-out;
  }
  
  .item-slider.unslider-active video,
  .item-slider.unslider-active img {
    transform: scale(1);
  }
  
  .gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
      ellipse at center,
      rgba(10, 25, 41, 0.2) 0%,
      rgba(10, 25, 41, 0.8) 70%,
      rgba(10, 25, 41, 1) 100%
    );
    z-index: 2;
  }
  
  .radial-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
      circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(0, 114, 255, 0.15) 0%,
      transparent 70%
    );
    z-index: 3;
    pointer-events: none;
    transition: background 0.3s ease;
  }
  
  .geometric-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
      radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px),
      radial-gradient(circle, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px, 80px 80px;
    background-position: 0 0, 20px 20px;
    z-index: 2;
    pointer-events: none;
  }
  
  .item-slider-content {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
  }
  
  .item-slider-holder {
    max-width: 1200px;
    width: 100%;
    padding: 0 50px;
    position: relative;
  }
  
  .text-content {
    position: relative;
    z-index: 5;
    margin-bottom: 30px;
  }
  
  .item-slider h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 30px;
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
  }
  
  .item-slider h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--glass-bg);
    margin: 25px auto 0;
    border-radius: 2px;
  }
  
  /* About Content */
  .about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin-top: 10px;
  }
  
  .values-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 600px;
    width: 100%;
   
  }
  
  .value-card {
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  .value-card:hover {
    transform: translateY(-5px);
  }
  
  .value-card p {
    color: #fff;
    font-size: 0.6rem;
    font-weight: 600;
    margin: 0;
  }
  
  .achievement-section {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 300px;
    width: 100%;
  }
  
  .achievement-box {
    padding: 30px;
    text-align: center;
  }
  
  .highlight {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    background: var(--glass-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .achievement-box p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
  }
  
  /* Navigation */
  .unslider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 80%;
    max-width: 700px;
  }
  
  .unslider-nav ol {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .unslider-nav li {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    width: 160px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.33, 1, 0.68, 1);
  }
  
  .unslider-nav li.unslider-active {
    color: #fff;
  }
  
  .unslider-nav li span {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px 15px;
  }
  
  .unslider-nav li i {
    font-style: normal;
    font-size: 1em;
    font-weight: 300;
    white-space: nowrap;
  }
  
  .unslider-nav li em {
    font-style: normal;
    font-weight: 300;
    font-size: 0.85em;
    opacity: 0.8;
  }
  
  .nav-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
  }
  
  .unslider-nav li.unslider-active .nav-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: var(--glass-bg);
    animation: progressBar 6s linear forwards;
  }
  
  @keyframes progressBar {
    0% { width: 0; }
    100% { width: 100%; }
  }
  
  /* Controls */
  .controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 5;
    transform: translateY(-50%);
  }
  
  .arrow-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .arrow-circle:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 114, 255, 0.4);
  }
  
  .arrow-circle i {
    font-size: 1rem;
    color: #fff;
  }
  
  /* Info Box */
  .info-box {
    padding: 30px;
    max-width: 600px;
    margin: 30px auto 0;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
  }
  
  .info-box p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
  }
  
 
  
  /* Particles */
  .particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
  }
  
  .particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: particleMove 4s linear infinite;
  }
  
  @keyframes particleMove {
    0% {
      transform: translate(0, 0);
      opacity: 0.4;
    }
    100% {
      transform: translate(var(--x-end), var(--y-end));
      opacity: 0;
    }
  }
  
  /* Logo Carousel */
  .glass-logo-horizontal {
    width: 90%;
    max-width: 800px;
    height: 180px;
    margin: 0 auto 60px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: visible;
    z-index: 5;
  }
  
  .logo-carousel {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  .logo-item {
    position: absolute;
    top: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform-origin: center;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
  }
  
  .logo-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 10px;
  }
  
  .square-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  
  .logo-glow {
    position: absolute;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,198,255,0.4) 0%, transparent 70%);
    z-index: -1;
    animation: pulseGlow 2s infinite alternate;
  }
  
  @keyframes pulseGlow {
    0% { opacity: 0.6; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1.1); }
  }
  
  /* Animations */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(40px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* Responsive */
  @media (max-width: 992px) {
    .item-slider h2 {
      font-size: 2.5rem;
    }
    
    .unslider-nav li {
      width: 130px;
      height: 50px;
      font-size: 0.9rem;
    }
    
    .glass-logo-horizontal {
      height: 150px;
      margin-bottom: 40px;
    }
    
    .logo-item {
      width: 70px;
      height: 70px;
    }
    
    .values-section {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 768px) {
    .item-slider h2 {
      font-size: 2rem;
    }
    
    .item-slider-holder {
      padding: 0 20px;
    }
    
    .unslider-nav {
      bottom: 30px;
    }
    
    .unslider-nav li {
      width: 100px;
      height: 40px;
      font-size: 0.8rem;
    }
    
    .info-box {
      padding: 20px;
    }
    
    .arrow-circle {
      width: 50px;
      height: 50px;
    }
    
    .about-content {
      flex-direction: column;
      align-items: center;
    }
    
    .achievement-section {
      flex-direction: row;
      max-width: 100%;
    }
  }
  
  @media (max-width: 576px) {
    .item-slider h2 {
      font-size: 1.7rem;
    }
    
    .unslider-nav ol {
      gap: 10px;
    }
    
    .unslider-nav li {
      width: 80px;
      height: 35px;
      font-size: 0.7rem;
    }
    
    .glass-logo-horizontal {
      height: 120px;
      margin-bottom: 30px;
    }
    
    .logo-item {
      width: 55px;
      height: 55px;
    }
    
    .info-box p {
      font-size: 1rem;
    }
    
   
    
    .values-section {
      grid-template-columns: 1fr;
    }
    
    .achievement-section {
      flex-direction: column;
    }
    
    .highlight {
      font-size: 2.8rem;
    }
  }