	@font-face {
    font-family: 'Yekan'; /* نام فونت */
    src: url('fonts/yekan.woff') format('woff'); /* مسیر فایل فونت */
    font-weight: normal;
    font-style: normal;
}
a:hover{

}

#navbar{
    position: fixed;
    padding: 20px 40px;
    right: 0;
    left: 0;
    top:0;
    z-index: 100;
    transition-duration: 0.5s;
}

#logo a{
    color: white;
}

#toggler{
    position: absolute;
    left: 40px;
    top: 15px;
    color: white;
    cursor: pointer;
    font-size: 30px;
}

#nav{
    position: fixed;
    background-color: rgba(0 , 0 , 0 , 0.8);
    width: 150px;
    right: -240px;
    top: 0;
    bottom: 0;
    line-height: 2.5em;
    padding-top: 30px;
    transition-duration: 0.4s;
	  font-family: 'Yekan', sans-serif;
}

#nav a{
    color: white;
    font-weight: 500;
    padding: 0 8px;
}

#nav a:hover{
    color: #bdf;
}

#top-carousel .carousel-item{
    height: 120vh;
    min-height: 580px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#top-carousel .carousel-overlay{
    position: absolute;
    top:0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0 , 0 , 0 , 0.4);
    padding-top: 100px;
}

.carousel-overlay {
    position: absolute; /* موقعیت‌دهی محتویات روی تصویر */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
#top-carousel li{
    width: 25px;
    height: 25px;
    border-radius: 50%;
}

#top-carousel .carousel-content{
    color: white;
    max-width: 900px;
    margin: 10% auto;
    padding: 0 70px;
}

#top-carousel .carousel-title{
    margin-bottom: 50px;
    font-size: 26px;
}

#top-carousel .carousel-text{
    margin-bottom: 50px;
    font-weight: 300;
}

#top-carousel .carousel-btn{
    border-radius: 40px;
    padding: 10px 40px;
}



#about{
    background: url("../images/about/world.jpg") center / cover no-repeat fixed;
    padding: 60px 0;
    position: relative;
}
.about-item{
    height: 200px;
    object-fit: cover;
}

.section-header h3 {
    font-size: 32px;
    text-align: center;
    font-weight: 600;
    padding-bottom: 15px;
}

.section-header p {
    text-align: center;
    padding-bottom: 30px;
    max-width: 800px;
    margin: 30px auto;
}

#about::before{
    position: absolute;
    content: '';
    background-color: rgba(255 , 255 , 255 , 0.9);
    top:0;
    right: 0;
    width: 100%;
    height: 100%;
}

#about .container{
    position: relative;
}

#about .card-text{
    color:#444;
    font-size: 14px;
    text-align: justify;
}

#services{
    padding: 60px 0;
}

#services h4{
    margin-right: 55px;
    margin-bottom: 15px;
    font-weight: bold;
}

#services .description{
    margin: 0 55px 40px 20px;
    color: #555;
    font-size: 14px;
    text-align: justify;
}

#stats{
    background: url("../images/other/bg.jpg") center / cover no-repeat fixed;
    padding: 60px 0 10px 0;
    color: white;
}

#stats span{
    font-size: 56px;
    font-weight: 600;
    color:#05f8ed;
    font-family: yekanf;
}

#stats h5{
    font-size: 20px;
    font-family: yekan;
    margin-bottom: 60px;
}

#skills{
    padding: 60px 0;
}

#skills .progress {
    height: 35px;
    margin-bottom: 10px;
}

#skills .progress-bar{
    transition-duration: 1.5s;
    width: 0;
    font-size: 16px;
    padding-top: 3px;
}

#portfolio{
    padding: 60px 0;
    background-color: #f7f7f7;
}

#portfolio-filter{
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px 0;
}

#portfolio-filter li{
    flex-basis: 90px;
    text-align: center;
    background-color: white;
    border-radius: 5px;
    padding: 10px;
    margin: 10px;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0 , 0 , 0 , 0.1);
    transition-duration: 0.3s;
}

#portfolio-filter li:hover , #portfolio-filter .filter-active{
    background-color: #007bff;
    color: white;
}

#portfolio .card-img-overlay{
    padding: 0 30%;
    background-clip: content-box;
    transition-duration: 0.3s;
}

#portfolio .card-img-overlay:hover{
    background-color: rgba(0 , 0 , 0 , 0.5);
    padding: 0 0;
}

#portfolio .card-img-overlay a{
    display: inline-block;
    width: 36px;
    height: 36px;
    margin: 30% 8px;
    color: black;
    background-color: white;
    font-size: 18px;
    line-height: 2.1em;
    border-radius: 50%;
    transition-duration: 0.3s;
    opacity: 0;
}

#portfolio .card-img-overlay:hover a{
    opacity: 1;
}


#portfolio .card-img-overlay a:hover{
    background-color:#007bff;
}

#team{
    padding: 60px 0;
}

#team .card-img-overlay{
    background-color: rgba(0 , 0 , 0 , 0.3);
    text-align: center;
    padding-top: 30%;
    color: white;
    top: -50%;
    transition-duration: 0.4s;
    opacity: 0;
}

#team .card:hover .card-img-overlay{
    top: 0;
    opacity: 1;
}

#team .card{
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

#team .card-img-overlay h4{
    margin-bottom: 16px;
}

#team .card-img-overlay p{
    margin-bottom: 25px;
}

#team .card-img-overlay a{
    padding: 0 8px;
    color: white;
}

#team .card-img-overlay a:hover{
    color: #007bff;
}

#clients{
    padding: 60px 0;
    background-color: #f4f4f4;
}

#clients img{
    opacity: 0.5;
    padding: 15px;
    transition-duration: 0.4s;
}

#clients img:hover{
    opacity: 1;
}

#clients .owl-dot {
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    outline: 0;
    background-color: #ddd;
}

#clients .owl-dots{
    text-align: center;
}

#clients .owl-dot.active {
    background-color: #007bff;
}

#footer{
    background-color: #222;
    padding-top: 60px;
    font-weight: 300;
    font-size: 14px;
	    font-family: 'Yekan', sans-serif; /* استفاده از فونت yekan */
}

#footer h5{
    font-weight: 400;
    padding-bottom: 15px;
    border-bottom: 2px #555 solid;
    margin-bottom: 20px;
color:#478ddc;
}

#footer .col-lg-3{
    margin-bottom: 40px;
}

#footer li{
    padding: 6px 0;
    border-bottom: 1px solid #333;
}

#footer li:first-child{
    padding-top: 0;
}

#footer li a{
    color: #ddd;
    transition-duration: 0.3s;
}

#footer li a:hover{
    color: #2c6;
}

#footer li i{
    color: #ddd;
    padding-left: 8px;
}

#footer .links{
    margin-top: 60px;
}

#footer .links a{
    font-size: 18px;
    display: inline-block;
    width: 34px;
    height: 34px;
    background-color: #444;
    color: #eee;
    line-height: 2.1em;
    margin-left: 4px;
    border-radius: 50%;
    text-align: center;
    transition-duration: 0.3s;
}

#footer .links a:hover {
    background-color: #007bff;
    color: #fff;
}

#footer input {
    float: right;
    border: 0;
    padding: 4px;
    width: 70%;
}

#footer button{
    float: right;
    background-color: #0a4686;
    border: 0;
    width: 30%;
    padding: 4px;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

#footer button:hover{
    background-color: #007bff;
}

#go-to-top{
    position: fixed;
    bottom: 15px;
    left:15px;
    display: inline-block;
    width: 46px;
    height: 46px;
    background-color: rgba(0 , 0 , 0 , 0.3);
    color:white;
    font-weight: bold;
    border-radius: 50%;
    text-align: center;
    line-height: 2.8em;
    transition-duration: 0.5s;
}

#go-to-top:hover{
    background-color: rgba(100 , 200 , 100 , 0.8);
}


.logogal{
	
	position:absolute;
	top:-1px;
	right:150px;
}

@media (max-width: 768px) {
    .logogal {
        left: 100px;   /* فاصله از راست صفحه کم میشه */
        top: 10px;     /* بالا کمی فاصله */
    }
}

@media (min-width: 432px) {
    #top-carousel .carousel-title{
        font-size: 36px;
		width:50px;
		height:100px;
		
    }
    
   .custom-header{
 position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
        
    }
    
}

@media (min-width: 992px) {
    #toggler{
        display: none;
    }

    #nav{
        position: static;
        width: auto;
        background-color: transparent;
        padding-top: 1px;
		padding-right:800px;
		    font-family: 'Yekan', sans-serif; /* استفاده از فونت yekan */
    }

    #nav li{
        float: right;
    }

    #navbar{
        display: flex;
    }

    #logo{
        order: 1;
        margin-right: auto;
    }

    #logo h4{
        margin-top: 4px;
        margin-bottom: 0;
    }
}
/* کان  /*  ----------------------------------فرم تماس با ما و لوکیشن */
.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 20px;
    gap: 20px;
    flex-wrap: wrap; /* این ویژگی برای جلوگیری از بیرون رفتن فرم در صفحه نمایش کوچک‌تر است */
    height:auto;
}

/* استایل فرم تماس */
.contact-form {
    flex: 1;
    width: 80%; /* عرض فرم را 100% تنظیم می‌کند */
    max-width: 500px; /* حداکثر عرض فرم به 900px محدود می‌شود (می‌توانید این مقدار را تغییر دهید) */
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin: 70 auto; /* فرم را در وسط صفحه قرار می‌دهد */
}

/* استایل لوکیشن‌ها */
.locations {
    flex: 1;
    width: 100%;
    max-width: 1200px; /* حداکثر عرض لوکیشن‌ها به 400px محدود می‌شود */
    display: flex;
    flex-direction: column;
    gap: 20px;

}

/* کادر هر لوکیشن */
.location {
    background: #fffaf3;
    padding: 15px;
    border: 2px solid #ff7a59;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* استایل عنوان لوکیشن */
.location h3 {
    margin-bottom: 10px;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

/* استایل فرم */
.custom-form label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.custom-input, .custom-textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
}

.custom-btn {
    background-color: #ff7a59;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.custom-btn:hover {
    background-color: #ff5a32;
}
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* عناصر زیر هم قرار بگیرند */
        align-items: stretch; /* عناصر تمام عرض شوند */
    }

    .contact-form, .locations {
        flex: 1 1 100%; /* عرض کامل */
        max-width: 100%; /* عرض کامل */
        margin: 10px 0; /* فاصله بین بخش‌ها */
    }

    .locations iframe {
        height: 300px; /* کاهش ارتفاع در موبایل */
    }
}

@media (max-width: 480px) {
    .contact-form .form-control {
        font-size: 14px; /* کوچک‌تر کردن متن ورودی‌ها */
        padding: 8px;
    }

    .contact-form .page-btn {
        font-size: 14px;
        padding: 8px 15px;
    }

    .locations iframe {
        height: 250px; /* کاهش بیشتر ارتفاع در موبایل‌های کوچک‌تر */
    }
}

.news-detail-container2 {
    max-width: 100%; /* افزایش عرض کادر */
    margin: 120px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    direction:rtl;
 
}

.title-box {
    background-color: #1c4f88;
    border-radius: 8px;
    padding: 5px 10px; /* کاهش اندازه padding */
    text-align: center;
    transform: translateY(-50%); /* هم‌تراز شدن با خط کادر سفید */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 
    اضافه کردن سایه برای زیبایی */
    width:300px;
    height:30px;
    position:absolute;
    color:white;
}
.title-boxmain {
    background-color: #1c4f88;
    border-radius: 8px;

    text-align: center;
    transform: translateY(-50%); /* هم‌تراز شدن با خط کادر سفید */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 
    اضافه کردن سایه برای زیبایی */
    width:300px;
    height:30px;
    color:white;
}
.news-title {
    margin: 0;

    color: #000;
}
@media (max-width: 768px) {
    .locations {
        height: 400px; /* تنظیم ارتفاع برای موبایل */
        overflow-y: scroll; /* اسکرول بار عمودی فعال می‌شود */
    }

    .location iframe {
        height: 300px; /* ارتفاع iframe‌ها در موبایل */
    }
}

@media (max-width: 480px) {
    .locations {
        height: 350px; /* کاهش ارتفاع برای موبایل‌های خیلی کوچک */
    }

    .location iframe {
        height: 250px; /* کاهش ارتفاع iframe‌ها */
    }
}
  /*  ------------------------------------------------------------اسچارت سازمانی*/
   .custom-board-container {
            max-width: 1200px;
            margin: 50px auto;
            text-align: center;
        }

        .custom-board-title {
            font-size: 2em;
            color: #333;
            margin-bottom: 30px;
        }

        .custom-member-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            padding: 0 20px;
        }

        .custom-member-card {
            background-color: white;
            border-radius: 15px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            padding: 20px;
            text-align: center;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .custom-member-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        }

        .custom-member-image {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            margin-bottom: 15px;
            object-fit: cover;
            object-position: top;
        }

        .custom-member-name {
            font-size: 1.2em;
            color: #ff6600;
            margin: 10px 0 5px;
        }

        .custom-member-title {
            font-size: 0.9em;
            color: #777;
        }
        
        .chart-container {
    overflow-x: auto; /* اضافه کردن اسکرول افقی */
    text-align: center; /* متن و تصویر در مرکز */
}

.chart-container img {
    max-width: 100%; /* اطمینان از اینکه تصویر از عرض صفحه بیرون نمی‌زند */
    height: auto; /* حفظ تناسب تصویر */
    display: inline-block; /* نمایش تصویر در خط وسط */
}
  /*  ------------------------------------------------------------انیمیشن چشم انداز*/
.custom-content {
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            padding: 20px;
            width: 80%;
            margin: auto;
            overflow: hidden;
        }

        .section-title {
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #6b737c; /* آبی سرمه‌ای */
            color: white;
            padding: 30px;
            border-radius: 50%; /* دایره کامل */
            font-size: 1.5rem;
            margin-bottom: 20px;
            width: 200px; /* عرض ثابت برای دایره */
            height: 200px; /* ارتفاع ثابت برای دایره */
            text-align: center;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            margin-left: auto;
            margin-right: auto;
        }

        .section-content {
            font-size: 1.1rem;
            color: #555;
            margin-bottom: 20px;
            padding: 20px;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
            opacity: 0;
            animation: custom-fadeIn 2s forwards;
            text-align:justify;
        }

        .section-content:nth-child(odd) {
            animation-delay: 1s;
        }

        .section-content:nth-child(even) {
            animation-delay: 2s;
        }

        @keyframes custom-fadeIn {
            to {
                opacity: 1;
            }
        }

        .sub-title {
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #006F9B; /* رنگ زیبای آبی سرمه‌ای */
            color: white;
            padding: 15px;
            border-radius: 15px; /* مستطیل با گوشه‌های گرد */
            font-size: 1.2rem;
            margin-bottom: 15px;
            width: auto;
            text-align: center;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            margin-left: auto;
            margin-right: auto;
        }
  /*  ------------------------------------------------------------اسلاید تقدیر نامه ها   */
  
  .mySlides {
    display: none;
}

img {
    vertical-align: middle;
}

.academyit1 {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 1px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    margin-right:250px;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.academyit3 {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

.academyit2 {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.active, .dot:hover {
    background-color: #717171;
}

.fade {
    animation-name: fade;
    animation-duration: 10.5s;
}

@keyframes fade {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

@media only screen and (max-width: 300px) {
    .prev, .next, .academyit3 {
        font-size: 11px;
    }
}
  .about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    max-width: 1200px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
 
  }

  .about-image {
    flex: 1;
    text-align: center;
    padding: 10px;
  }

  .about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .about-text {
    flex: 2;
    padding: 20px;
    text-align: justify;
    line-height: 1.8;
      font-family:'Yekan';
  }

  .about-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
  }

   @media (max-width: 768px) {
        .carousel-item {
            height: 300px !important; /* ارتفاع را برای موبایل کاهش می‌دهیم */
            background-size:contain; /* تصویر در موبایل کشیده می‌شود */
        }
    }
/* اسلایدر دسکتاپ */
#slider .carousel-item {
    height: 800px;                 /* ارتفاع دسکتاپ */
    background-size: cover;         /* تصویر کل کادر را پر می‌کند */
    background-position: center;    /* وسط تصویر همواره وسط است */

    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    #slider .carousel-item {
        min-height: 300px;              /* موبایل */
        background-size: 100% 100%; /* Stretch موبایل */
        background-position: center;
    }
}



