@font-face {
    font-family: IRANYekanWebLight;
    src: url(./font/IRANYekanWebLight.ttf);
  }
  @font-face {
    font-family: IRANYekanWebBold;
    src: url(./font/IRANYekanWebBold.ttf);
  }
  @font-face {
    font-family: IRANYekanWebExtraBlack;
    src: url(./font/IRANYekanWebExtraBlack.ttf);
  }
  @font-face {
    font-family: IRANYekanWebExtraBold;
    src: url(./font/IRANYekanWebExtraBold.ttf);
  }
  @font-face {
    font-family: IRANYekanWebMedium;
    src: url(./font/IRANYekanWebMedium.ttf);
  }
  @font-face {
   font-family: iranyekanwebregularfanum;
    src: url(./font/iranyekanwebregularfanum.ttf);
  }
    @font-face {
    font-family: 'نوت\ نستعلیق\ اردو';
    src: url(./font/nataliq.ttf);
  }

:root{
    --primary-color:hsl(160.88deg 43.96% 59.41%);
     --dark-bg: #1b1b1b;
     --text-light: #f8f9fa;
    --border-color: #333;
}

  body {
    margin: 0;
    padding: 0;
    font-family: IRANYekanWebMedium;
    direction: ltr;
    font-size: 14px;
  
}
a{
    text-decoration: none;
}
header{
  position: fixed;
  width: 100%;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1002;
}

.header-top img{
    height:68px;
    width:98px;
    animation: pulse 2s infinite ease-in-out;
}
    @keyframes pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.05); }
      100% { transform: scale(1); }
    }
.header-top span{
     font-family: 'نوت\ نستعلیق\ اردو';
    padding-right:12px;
    /*font-size:1.1em;*/
    text-shadow:0px 2px #707070;
}
  .container-fluid .row{
    max-width: 1678px;
    margin: 0px auto;
}

.main-nav {
    position: relative; 
    color: var(--text-color);
    /* padding: 0 20px;  */
    z-index: 1000;
}
/* منوی اصلی */
.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.main-nav ul li {
    margin-left: 20px;
    position: relative; 
}

.main-nav ul li {
    margin-left: 20px;
    position: relative; 
}

.main-nav .nav-item > a {
    color: #fff;
    text-decoration: none;
    padding: 15px 10px; 
    display: block;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.main-nav .nav-item > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #fff);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.main-nav .nav-item > a:hover,
.main-nav ul li.active-trigger a { 
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    color: var(--primary-color);
}

.main-nav .nav-item > a:hover::before {
    width: 80%;
}
/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    margin-right: auto;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.image-sub-menu {
    position: absolute;
    top: 100%;
    right: -30%;
    background: #fff;
    width: 500px;
    z-index: 10010;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s ease-in-out;
    pointer-events: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-top: 4px solid var(--primary-color);
}

.has-submenu:hover .image-sub-menu {
    max-height: 300px;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.sub-menu-content {
    padding: 0;
    display: flex;
    height: 250px;
}

.sub-menu-items {
    flex: 1;
    overflow-y: scroll;
    padding: 20px;
    background-color: #f8f9fa;
}

.sub-menu-item {
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.sub-menu-item:last-child {
    margin-bottom: 0;
}

.sub-menu-item a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sub-menu-item a::before {
    content: '';
    position: absolute;
    right: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: right 0.5s ease;
}

.sub-menu-item a:hover {
    background: linear-gradient(135deg, var(--primary-color), #45a29e);
    color: #fff;
    transform: translateX(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sub-menu-item a:hover::before {
    right: 100%;
}

.sub-menu-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.sub-menu-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 0, 0, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.image-sub-menu:hover .sub-menu-image::before {
    opacity: 1;
}

.sub-menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.image-sub-menu:hover .sub-menu-image img {
    transform: scale(1.1);
    filter: brightness(1.1) contrast(1.05);
}

/* Language submenu styles */
.lang {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang:hover {
    /* background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px; */
}

.lang-sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    width: 150px;
    z-index: 10010;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    pointer-events: none;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-top: 3px solid var(--primary-color);
}

.has-submenu:hover .lang-sub-menu {
    max-height: 120px;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.lang-item {
    padding: 12px 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #eee;
}

.lang-item:last-child {
    border-bottom: none;
}

.lang-item:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.lang-item img {
    width: 20px;
    height: 15px;
    margin-left: 10px;
    border-radius: 2px;
}

.lang-item span {
    font-size: 0.9em;
    color: #333;
    transition: color 0.3s ease;
}

.lang-item:hover span {
    color: #fff;
}
/* Search styles */
.search {
    position: relative;
}

.search-icon {
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.search-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.search-icon img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.search-dropdown {
    position: absolute;
    top: 100%;
    right: 0px;
    width: 400px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-top: 4px solid var(--primary-color);
    z-index: 10010;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.search-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.search-container {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 25px;
    padding: 5px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.search-container:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(126, 208, 195, 0.1);
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    color: #333;
    padding: 12px 15px;
    font-size: 0.9em;
    font-family: inherit;
    outline: none;
    border-radius: 20px;
}

.search-input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.search-btn {
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.search-btn:hover {
    background: #45a29e;
    transform: scale(1.05);
}

.search-btn img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.search-suggestions {
    padding: 15px 0;
}

.search-suggestion {
    padding: 12px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #555;
    font-size: 0.9em;
    border-right: 3px solid transparent;
}

.search-suggestion:hover {
    background-color: #f8f9fa;
    border-right-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateX(-5px);
}

.search-suggestion::before {
    content: '🔍';
    margin-left: 10px;
    opacity: 0.5;
}

/* Overlay for closing dropdown */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 10005;
    display: none;
}
  .header-bottom{
    background-color: #00000085;
    color: #fff;
    font-size: 15.4px;
  }
  .header-top{
    background-color:var(--primary-color);
    color:#fff;

    
    
  }
   .movie-section {
            position: relative;
            width: 100%;
            height: 100vh;
            overflow: hidden;
            background: #fff;
        }
        .baner-down{
            position: absolute;
            right: 0;
            bottom: 0;
            z-index: 1000;
            width: 100%;
        }
        .down-btn:hover img{
          transform: translateY(3px);
        }
        .baner-down img{
            width: 100%;
          
        }
        .down-btn{
            position: absolute;
            width: 50px;
            left: calc(50% - 50px);
            bottom: 0px;
            z-index: 1001;
            background-color: #ffffffa8;
            padding: 10px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 80px;
            height: 80px;
            cursor: pointer;
        }
        .down-btn img{
              background-color: var(--primary-color);
            padding: 25px 20px;
            border-radius: 50%;
        }
        .video-container {
            position: relative;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        .hero-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 2;
            opacity: 1;
            transition: opacity 2s ease-in-out;
        }

        .hero-video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 1;
            opacity: 0;
            transition: opacity 2s ease-in-out;
        }

        /* کلاس‌های برای تغییر وضعیت */
        .image-hidden {
            opacity: 0 !important;
        }

        .video-visible {
            opacity: 1 !important;
        }

        /* نشانگر بارگذاری */
        .loading-indicator {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
            z-index: 3;
            opacity: 1;
            transition: opacity 0.5s ease;
        }

        .loading-indicator.hidden {
            opacity: 0;
        }

        /* انیمیشن نقطه‌های بارگذاری */
        .loading-dots::after {
            content: '';
            animation: ellipsis 1.5s infinite;
        }

        @keyframes ellipsis {
            0% { content: ''; }
            25% { content: '.'; }
            50% { content: '..'; }
            75% { content: '...'; }
            100% { content: ''; }
        }

        /* تنظیمات موبایل */
        @media (max-width: 768px) {
            .movie-section {
                height: 60vh;
                min-height: 400px;
            }
        }

        /* اطمینان از عدم نمایش کنترل‌های پیش‌فرض ویدیو */
        .hero-video::-webkit-media-controls {
            display: none !important;
        }

        .hero-video::-webkit-media-controls-panel {
            display: none !important;
        }

        .hero-video::-webkit-media-controls-play-button {
            display: none !important;
        }

        .hero-video::-webkit-media-controls-timeline {
            display: none !important;
        }

        .hero-video::-webkit-media-controls-current-time-display {
            display: none !important;
        }

        .hero-video::-webkit-media-controls-time-remaining-display {
            display: none !important;
        }

        .hero-video::-webkit-media-controls-mute-button {
            display: none !important;
        }

        .hero-video::-webkit-media-controls-volume-slider {
            display: none !important;
        }

        .hero-video::-webkit-media-controls-fullscreen-button {
            display: none !important;
        }
        .read-more a{
          color: #000;
          cursor: pointer;
          font-size: 1.3em;
        }
  .read-more img{
    background-color: var(--primary-color);
    padding: 12px 14px;
    border-radius: 50%;
        transform: rotate(180deg);
  }
  .watch-video{
    background-color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 25px;
    color: #fff;
    cursor: pointer;
  }
  .watch-video img{
      background-color: #fff;
    padding:10px 12px;
    border-radius: 50%;
    text-align:center;
    transform: rotate(180deg);

  }
  .read-more a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.read-more a:hover img {
  background-color: #000;
  transition: background-color 0.3s ease;
}

.watch-video:hover {
  background-color: #000;
  color: var(--primary-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.watch-video:hover img {
  background-color: #fff;
  transition: background-color 0.3s ease;
    
}
.about-btns{
    justify-content:space-between;
}
  .about-sec li{
    padding: 10px 0px;
    font-size: 1.1em;
  }
    .abouts li span:first-child{
    font-weight: bold;
  }
  .about-img img, .activity-img img{
    width: 100%;
    height: 100%;
    object-fit: fill;
  }
  .services{

  }
.title-sec {
    position: relative;
    margin-bottom: 40px;
    padding: 5px 0px;
}

.title-sec h3 {
    margin-top: 0px;
    margin-bottom: 10px !important;
    color: #333;
    font-size: 1.8rem;
    font-weight: bold;
}

.title-sec::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 5;
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, #7ED0C3, #5CB3A5);
    border-radius: 2px;
}

/* نقطه کنار خط */
.title-sec::before {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 135px;
    width: 8px;
    height: 8px;
    background: #7ED0C3;
    border-radius: 50%;
    transform: translateX(-50%);
}

/* برای صفحات موبایل */
@media (max-width: 768px) {
    .title-sec h3 {
        font-size: 1.5rem;
    }
    
    
}
  .service-item{
     width: 25%; 
    text-align: center;
  }
  .service-item h4{
    margin-top: 20px;
    min-height: 40px;
  }
  .service-img{
    min-height: 200px;
 
  }
  .service-img img{
         border-radius:50%;
         
  }
  .service-img img{
    width:100%;
    height:100%;
    object-fit:cover
  }
  .service-item p{
    /* font-size: .9em; */
    color: #474747;
  }
  .percent-sec{
    background-attachment: fixed;
    background-image: url(./images/percent-back.png);
    height: 350px;
    /* background-position: center; */
    background-size: cover;
    background-repeat: no-repeat;
    font-size: 1.5em;
    color: #fff;
    
  }
 
  .percent-item {
    text-align: center;
  }
  .percent-item span{
    font-size: 2em;
  }
  .map-sec img{
    width: 100%;
    height: 100%;
    object-fit: fill;
  }
.map-container {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow:hidden;
   
}

.map-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* استایل نقاط نقشه - با حفظ انیمیشن */
.map-point {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #FFA500;
    border-radius: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3);
    z-index: 5; /* افزایش z-index برای قرار گرفتن روی نقشه */
}

/* هاله داخلی با انیمیشن - حفظ شده */
.map-point::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    border: 2px solid #FFA500;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.6;
    animation: pulse-inner 2s infinite ease-in-out;
}

/* هاله خارجی با انیمیشن - حفظ شده */
.map-point::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 1px solid #FFA500;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    animation: pulse-outer 3s infinite ease-in-out;
}

/* انیمیشن‌ها - حفظ شده */
@keyframes pulse-inner {
    0% { width: 16px; height: 16px; opacity: 0.8; }
    50% { width: 28px; height: 28px; opacity: 0.4; }
    100% { width: 16px; height: 16px; opacity: 0.8; }
}

@keyframes pulse-outer {
    0% { width: 28px; height: 28px; opacity: 0.4; }
    50% { width: 44px; height: 44px; opacity: 0.1; }
    100% { width: 28px; height: 28px; opacity: 0.4; }
}

/* تغییر افکت hover با حفظ انیمیشن */
.map-point:hover {
    background: #FF8C00;
    transform: translate(-50%, -50%) scale(1.3);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.5);
}

.map-point:hover::before {
    border-color: #FF8C00;
    animation-duration: 1s;
}

.map-point:hover::after {
    border-color: #FF8C00;
    animation-duration: 1.5s;
}


.point-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    width: max-content;
    max-width: 150px; /* محدودیت عرض */
}

/* نمایش tooltip */
.point-tooltip.show {
    opacity: 1;
    visibility: visible;
}

/* فلش tooltip */
.point-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border: 5px solid transparent;
    border-top-color: #333;
}

/* نام شهر در tooltip */
.point-tooltip strong {
    color: #FFA500;
    display: block;
    margin-bottom: 4px;
}

.map-container {
    position: relative;
    width: 100%;
    border-radius: 10px;
   
}

.sem{
  position: absolute;
  top:25%;
  right: 45%;

}
.teh{
  position: absolute;
  top:26%;
  right: 54%;

}
.zanjan{
    position: absolute;
  top:22%;
  right: 63%;
}
.hamedan{
    position: absolute;
  top:29%;
  right: 63%;
}
.lorestan{
    position: absolute;
  top:35%;
  right: 63%;
}
.kermanshah{
    position: absolute;
  top:31%;
  right: 69%;
}
.khozestan{
    position: absolute;
  top:42%;
  right: 61%;
}
.booshehr{
position: absolute;
  top:55%;
  right: 57%;
}
.booshehr-2{
position: absolute;
  top:61%;
  right: 55%;
}
.fars{
position: absolute;
  top:55%;
  right: 50%;
}
.hormoz{
position: absolute;
  top:65%;
  right: 40%;
}
.chabahar{
    position: absolute;
  top:73%;
  right: 23.5%;
}
.pakistan{
    position: absolute;
  top:58%;
  right: 15%;
}
.iraq{
position: absolute;
  top:50%;
  right: 72%;
}
.syria{
    position: absolute;
  top:23%;
  right: 87%;
}


.azarbayjan{
    position: absolute;
  top:14%;
  right: 69%;
}
.razavi{
     position: absolute;
  top:29%;
  right: 37%;
}
.khorasan{
    position: absolute;
  top:42%;
  right: 35%;
}
.yazd{
position: absolute;
  top:45%;
  right: 45%;
}
.esf{
    position: absolute;
  top:38%;
  right: 53%;
}
  .projects{
    background-color:hsl(0deg 0% 92.16%) ;
 
  }
 .news{
     /*width:100%;*/
  display: flex;
  flex-wrap: wrap;
 }
 .news-card{
  width: 50%;
 }
  .news-item img{
    width: 100%;
    height: 100%;
    object-fit: fill;
  }
  .news-item {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-height:350px;
    max-height:350px;
  }
  
  .news-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }
  
  .news-item img {
      position:absolute;
      top:0;
      right:0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.3s ease-in-out;
  }
  
  .news-item:hover img {
    transform: scale(1.05);
  }
  
  .news-txt {
    position: absolute;
    right: 0px;
    bottom: 10px;
    color: #fff;
    /* background-color: rgba(0, 0, 0, 0.7); */
    padding: 15px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease-in-out;
    opacity: 0.9;
    width:100%;
  }
  
  .news-item:hover .news-txt {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-5px);
  }
  
  .news-txt h3 {
    margin-bottom: 8px;
    font-size: 1.1em;
    transition: color 0.3s ease-in-out;
  }
  
  .news-item:hover .news-txt h3 {
    color: var(--primary-color);
  }
  
  .news-txt p {
    font-size: 0.9em;
    line-height: 1.4;
    opacity: 0.95;
  }
  .link-item{
    padding: 10px;
    border: 1px solid rgb(163, 163, 163);
    margin:0px 5px;
    height: 140px;
    min-height: 140px;
    max-height: 140px;
    border-radius: 15px;
     transform: translateY(3px);
    transition: transform 0.2s ease-in-out;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .link-item:hover{
   transform: translateY(-3px);
    border: 1px solid var(--primary-color);  
    box-shadow: 0px 0px 10px 2px rgba(128, 128, 128, 0.178);
}
.link-img{
  /*width: 100%;*/
  /*height: 100%;*/
}
 .link-img img{
   width: 100%;
   height: 100%;
   object-fit: fill;
   z-index: 1;
  }
  
.link-item::after{     
    content: '';    
    position: absolute; 
    width: 60%;     
    height:8px;     
    background-color: var(--primary-color);    
    right: 20%;     
    z-index: -2;
 }


 .link-item::after{     
    bottom: 0px;     
    border-radius:0px 0px 25px 25px;     
    transition: transform 0.2s ease;     
    z-index: -2;   
   
 }
.link-item:hover::after{ 
     transform: translateY(6px); 
     transition: transform 0.2s ease-in-out;
 }
 .link-back{
     width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 15px;
    z-index: -1;
 }
.loc-tel{
    align-items:center;
    justify-content:space-between;
}

   .footer {
      padding-top: 40px;
      background-color: #1b1b1b;
      border-top: 1px solid #333;
      color: #fff;
      position: relative;
    }
    .up{
      position: absolute;
      left: 10px;
      bottom: 50px;
      cursor: pointer;
    }
    .up:hover{
      transform: translateY(-5px);
      transition: transform .5s ease;
    }
    .footer a {
      color: #98f1d3;
      text-decoration: none;
    }
    .footer a:hover {
      text-decoration: underline;
    }
    .footer-nav a{
      color: #fff;
    }
     .footer-nav a:hover{
      color: var(--primary-color);
    }
    .location{
      min-width: 370px;
    }
    
    .footer .social-icons img {
      font-size: 24px;
      margin-left: 10px;
      color: #98f1d3;
    }
    .footer .footer-logo {
      color: #98f1d3;
    }
    .footer .footer-bottom {
      color: #aaa;
      /*font-size: 14px;*/
    }
    .footer .footer-right{
        background-color:#333;
        width:100%;
        padding:20px 0px;
    }
    .footer .footer-bottom span {
      color: #98f1d3;
    }

/* استایل مودال ویدیو */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal.show {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.video-modal.show .video-modal-content {
    transform: scale(1);
}

.video-modal-header {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10001;
    padding: 15px;
}

.video-modal-close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #333;
    transition: all 0.3s ease;
}

.video-modal-close:hover {
    background: #fff;
    transform: scale(1.1);
}

.video-modal-close::before {
    content: '×';
    font-weight: bold;
}

.video-modal-video {
    width: 100%;
    height: auto;
    min-height: 300px;
    max-height: 70vh;
    display: block;
    outline: none;
}

/* Loading spinner */
.video-modal-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
}

.video-modal-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #7ED0C3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.video-modal-loading-text {
    font-size: 14px;
    margin-top: 10px;
}

/* Error state */
.video-modal-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 10000;
}

.video-modal-error h4 {
    color: #ff6b6b;
    margin-bottom: 10px;
}

.video-modal-error p {
    margin-bottom: 20px;
    color: #ddd;
}

.video-modal-retry {
    padding: 10px 20px;
    background: #7ED0C3;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.video-modal-retry:hover {
    background: #5CB3A5;
}

/* موبایل */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .video-modal-video {
        max-height: 60vh;
    }
    
    .video-modal-header {
        padding: 10px;
    }
    
    .video-modal-close {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

body.modal-open {
    overflow: hidden;
}
.mobile-menu-toggle {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 40px;
            height: 40px;
            cursor: pointer;
            background: rgba(255,255,255,0.1);
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .mobile-menu-toggle:hover {
            background: rgba(255,255,255,0.2);
        }

        .mobile-menu-toggle span {
            display: block;
            width: 24px;
            height: 3px;
            background-color: white;
            margin: 2px 0;
            border-radius: 2px;
            transition: all 0.3s ease;
        }

        /* Animation for toggle button */
        .mobile-menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
        }

        .mobile-menu-toggle.active span:nth-child(2) {
            opacity: 0;
            transform: translateX(-20px);
        }

        .mobile-menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
        }

        /* Mobile Side Menu */
        .mobile-side-menu {
            position: fixed;
            top: 0;
            left: -100%;
            width: 320px;
            height: 100vh;
            background: linear-gradient(135deg, #1b1b1b, #2c2c2c);
            z-index: 2000;
            transition: right 0.4s ease;
            overflow-y: auto;
            box-shadow: -5px 0 20px rgba(0,0,0,0.3);
        }

        .mobile-side-menu.active {
            left: 0;
        }
          .header-bottom.header-up-lg ~ .mobile-side-menu,
body:has(.header-bottom.header-up-lg) .mobile-side-menu {
    top: 60px;
   
    
}

        /* Menu Header */
        .mobile-menu-header {
            padding: 20px 10px;
            background: linear-gradient(135deg, var(--primary-color), #45a29e);
            color: white;
            text-align: center;
        
        }

        .mobile-menu-close {
           
            background: rgba(255,255,255,0.2);
            border: none;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            color: white;
            font-size: 18px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .mobile-menu-close:hover {
            background: rgba(255,255,255,0.3);
            transform: rotate(90deg);
        }

        .mobile-menu-logo {
            width: 80px;
            height: 80px;
            margin: 0 auto 10px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }

        .mobile-menu-logo img {
            width: 60px;
            height: 60px;
            object-fit: contain;
        }

        .mobile-menu-title {
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 5px;
        }

        .mobile-menu-subtitle {
            font-size: 12px;
            opacity: 0.9;
        }

        /* Menu Navigation */
        .mobile-menu-nav {
            padding: 0;
        }

        .mobile-menu-item {
            border-bottom: 1px solid #333;
            position: relative;
        }

        .mobile-menu-item:last-child {
            border-bottom: none;
        }

        .mobile-menu-link {
            display: flex;
            align-items: center;
            padding: 18px 20px;
            color: var(--text-light);
            text-decoration: none;
            font-size: 15px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .mobile-menu-link::before {
            content: '';
            position: absolute;
            right: -100%;
            top: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(126, 208, 195, 0.1), transparent);
            transition: right 0.5s ease;
        }

        .mobile-menu-link:hover::before {
            right: 100%;
        }

        .mobile-menu-link:hover {
            background: linear-gradient(90deg, var(--primary-color), rgba(126, 208, 195, 0.8));
            color: white;
            padding-right: 30px;
            box-shadow: inset 5px 0 0 rgba(255,255,255,0.3);
        }

        .mobile-menu-icon {
            width: 20px;
            margin-right: 15px;
            text-align: center;
            color: var(--primary-color);
            transition: all 0.3s ease;
        }

        .mobile-menu-link:hover .mobile-menu-icon {
            color: white;
            transform: scale(1.2);
        }

        /* Submenu Styles */
        .mobile-submenu {
            max-height: 0;
            overflow: hidden;
            background: #2a2a2a;
            transition: max-height 0.4s ease;
        }

        .mobile-menu-item.has-submenu.active .mobile-submenu {
            max-height: 500px;
        }

        .mobile-submenu-item {
            padding: 12px 20px 12px 30px;
            color: #ccc;
            text-decoration: none;
            display: block;
            font-size: 14px;
            border-bottom: 1px solid #333;
            transition: all 0.3s ease;
            position: relative;
        }

        .mobile-submenu-item:last-child {
            border-bottom: none;
        }

        .mobile-submenu-item::before {
            content: '•';
            position: absolute;
            left: 5px;
            color: var(--primary-color);
            font-size: 18px;
        }

        .mobile-submenu-item:hover {
            background: var(--primary-color);
            color: white;
            padding-right: 70px;
        }

        /* Arrow for dropdown */
        .mobile-dropdown-arrow {
            margin-left: auto;
            transition: transform 0.3s ease;
            color: var(--primary-color);
        }

        .mobile-menu-item.has-submenu.active .mobile-dropdown-arrow {
            transform: rotate(180deg);
        }

        

        /* Language Selector in Mobile Menu */
        .mobile-language-selector {
            padding: 15px 20px;
            border-top: 1px solid #333;
            background: #2a2a2a;
        }

        .mobile-language-item {
            display: flex;
            align-items: center;
            padding: 10px 0;
            cursor: pointer;
            transition: all 0.3s ease;
            color: var(--text-light);
        }

        .mobile-language-item:hover {
            color: var(--primary-color);
        }

        .mobile-language-item img {
            width: 24px;
            height: 18px;
            margin-left: 10px;
            border-radius: 3px;
        }

        /* Mobile Search */
        .mobile-search {
            padding: 15px 20px;
            border-top: 1px solid #333;
        }

        .mobile-search-container {
            position: relative;
            display: flex;
            background: #3a3a3a;
            border-radius: 25px;
            overflow: hidden;
        }

        .mobile-search-input {
            flex: 1;
            padding: 12px 15px;
            border: none;
            background: transparent;
            color: white;
            font-size: 14px;
            outline: none;
        }

        .mobile-search-input::placeholder {
            color: #888;
        }

        .mobile-search-btn {
            background: var(--primary-color);
            border: none;
            padding: 12px 18px;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .mobile-search-btn:hover {
            background: #45a29e;
        }

        /* Demo Content */
        .demo-content {
            margin-top: 120px;
            padding: 40px 20px;
            text-align: center;
        }

        .demo-button {
            background: var(--primary-color);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 25px;
            cursor: pointer;
            font-size: 16px;
            transition: all 0.3s ease;
        }

        .demo-button:hover {
            background: #45a29e;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(126, 208, 195, 0.3);
        }

        /* Responsive */
        @media (min-width: 768px) {
            .mobile-menu-toggle,
            .mobile-side-menu,
            .mobile-menu-overlay {
                display: none;
            }
        }

        /* Scrollbar Styling */
        .mobile-side-menu::-webkit-scrollbar {
            width: 5px;
        }

        .mobile-side-menu::-webkit-scrollbar-track {
            background: #2c2c2c;
        }

        .mobile-side-menu::-webkit-scrollbar-thumb {
            background: var(--primary-color);
            border-radius: 5px;
        }

        .mobile-side-menu::-webkit-scrollbar-thumb:hover {
            background: #45a29e;
        }
        .mobile-logo{
          width: 70%;
        }
        .mobile-logo img{
          width: 100%;
        }

        .header-bottom.scrolled{
          background-color: #000;
        }
        .header-bottom {
    position: absolute;
    width: 100%;
 
    
    
}
.down-header .row{
    padding: 0px !important;
}


header.header-hidden {
    transform: translateY(-100%);
    transition: transform 1s ease;

}

.header-bottom.header-up-lg {
    /*z-index: 20001;*/
 
    /* position: fixed;
    top: 0; */
    /* transition: position 0.4s ease; */

}


/* Main Mega Menu Structure */
.has-megamenu {
    position: static;
}

.has-megamenu .nav-link {
    position: relative;
}

.has-megamenu .nav-link i {
    font-size: 12px;
    margin-right: 5px;
    transition: transform 0.3s ease;
}

.has-megamenu:hover .nav-link i {
    transform: rotate(-180deg);
}

.megamenu-container {
    position: absolute;
    top: 100%;
    width: 700px;
    left: 2.5%;
    background-color: #ffffff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: -1px;
    padding: 10px 0;
    /* max-height: 350px; */
       border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-top: 4px solid var(--primary-color);
    
}

.has-megamenu:hover .megamenu-container {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.megamenu-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.megamenu-column {
    flex: 1;
    min-width: 220px;
    padding: 0 15px;
}

.megamenu-title {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eaeaea;
    position: relative;
}

.megamenu-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

/* Categories Column */
.categories-column {
    flex: 0 0 250px;
    border-left: 1px solid #eaeaea;
    height: 350px;
    max-height: 350px;
    overflow: auto;
}

.megamenu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.megamenu-list li {
    margin-bottom: 12px;
}

.megamenu-list li a {
    color: #444;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0 5px 15px;
    position: relative;
    padding-right: 15px;
}

.megamenu-list li a::before {
    content: '\f105';
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    opacity: 0;
    transition: all 0.3s ease;
}

.megamenu-list li a:hover {
    color: var(--primary-color);
    padding-right: 20px;
}

.megamenu-list li a:hover::before {
    opacity: 1;
}

/* Dynamic Category Highlighting */
.category-item {
    position: relative;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.category-item:hover, 
.category-item.active {
    background-color: rgba(9, 132, 227, 0.08);
}

.category-item:hover a, 
.category-item.active a {
    color: var(--primary-color);
    font-weight: 500;
}

.category-item:hover a::before, 
.category-item.active a::before {
    opacity: 1;
}

.category-item.active::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -15px;
    width: 3px;
    background-color: var(--primary-color);
    border-radius: 0 2px 2px 0;
}

/* Subcategories Column */
.subcategories-column {
    flex: 1;
    min-width: 280px;
    height: 350px;
    max-height: 350px;
    overflow: auto;
}

.subcategory-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.subcategory-content.active {
    display: block;
}

.subcategory-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
}

.subcategory-list li a {
    padding: 8px 15px 8px 15px;
    font-size: 13px;
    border-radius: 5px;
}

.subcategory-list li a:hover {
    background-color: rgba(9, 132, 227, 0.05);
}

/* View All Link */
.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 500;
    margin-top: 15px;
    padding: 8px 0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.view-all-link:hover {
    color: #000;
}

.view-all-link:hover i {
    transform: translateX(5px);
}


#power-carousel img, #activity-carousel img{
    min-height: 425px;
    max-height: 425px;
    border-radius: 15px;
}