﻿
/*panels=============================================*/
.panel-header {
    text-align: right;
}
.panel-header i {
    font-size: small;
}

.panel-header span {
    font-size: small;
}

   /* ۲. اصلاح هدر: خط ظریف و قرارگیری صحیح «مشاهده همه» */
 .panel-header h4{
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.75rem;
    margin-bottom: 2rem !important;
}

 .panel-header h4 {
    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f2b5c;
}

 .panel-header h4 span a {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
	margin:10px;
}

/*========================================================*/
.top-slider .carousel-caption {
   
    text-align: right;
    padding: 5px;
    top: 10%;
}

    .top-slider .carousel-caption h5 {
        font-size: 3rem;
        font-weight: bold;
        color: #00103c;
        margin: .2em 0 1em 0;
    }
    .top-slider .carousel-caption p {
        font-size: 2rem;
        font-weight: bolder;
        color: #FFF;
        padding: 10px;
        text-align: right;
    }

/*carousel-effect====================================*/
.carousel-zoom .carousel-inner {
    position: relative;
}

.carousel-zoom .carousel-item {
    opacity: 0;
    transform: scale(1.2); /* ابتدا کمی بزرگ‌تر */
    transition: opacity 1.2s ease, transform 1.2s ease;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

    .carousel-zoom .carousel-item.active {
        opacity: 1;
        transform: scale(1); /* هنگام فعال شدن، اندازه واقعی */
        position: relative;
        z-index: 2;
    }

.carousel-blur-fade .carousel-inner {
    position: relative;
}

.carousel-blur-fade .carousel-item {
    opacity: 0;
    transition: opacity 1.2s ease, filter 1.2s ease;
    filter: blur(8px);
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

    .carousel-blur-fade .carousel-item.active {
        opacity: 1;
        filter: blur(0);
        position: relative;
        z-index: 2;
    }

.carousel-3d .carousel-inner {
    perspective: 1200px;
    position: relative;
}

.carousel-3d .carousel-item {
    transform-style: preserve-3d;
    backface-visibility: hidden;
    opacity: 0;
    transform: rotateY(90deg);
    transition: transform 1s ease, opacity 1s ease;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

    .carousel-3d .carousel-item.active {
        opacity: 1;
        transform: rotateY(0deg);
        position: relative;
        z-index: 2;
    }


/*coursetype==============================================*/
.course-type .row{
    padding: 1em 2em;
    border-radius: 2em;
    background: #FFF;

}

.course-type h3 {
    font-size: .9em;
}
    .course-type img {
        width: 30%;
    }
.course-type a{
	text-align:center;
}


/*courses====================================================*/
.course .card {
    height: 100%;
    max-height: 100%;
}
.course .item {
    height: 650px;
    max-height: 650px;
}

.hr-course .card {
    height: 100%;
    max-height: 100%;
}
.hr-course img {
    -webkit-box-shadow: 0px 0px 43px -2px rgba(179,214,245,1);
    -moz-box-shadow: 0px 0px 43px -2px rgba(179,214,245,1);
    box-shadow: 0px 0px 43px -2px rgba(179,214,245,1);
}
/*category==============================================*/
.course-cat .row{
    padding: 1em 2em;
    border-radius: 2em;
    background: #FFF;
}

.course-cat h3 {
    font-size: .9em;
}

.course-cat img {
    width: 30%;
}

.course-cat a {
    text-align: center;
}
/*panelTeacher===============================*/

/*blogs=======================================*/
.blog .card {
    height: 100%;
    max-height: 100%;
}
.blog .item {
    height: 650px;
    max-height: 650px;
}

.hr-blog .card {
    height: 100%;
    max-height: 100%;
	background:#FFF;
}
/*main-menu=====================================================*/
.main-menu li a {
    color: #12121d;
    font-size: small;
}
.main-menu li a i{
    color: #000;
    font-size:xx-small;
}
/*Vertical SubMenu================================================*/
.vertical-nav .dropdown-submenu {
    position: relative;
}


.vertical-nav .nav .nav-link a {
    color: #bababa;
}

.vertical-nav .nav .nav-link {
    color: #bababa;
}

/*.vertical-nav .nav .nav-link a:hover {
    color: black;
}*/
.vertical-nav .dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.vertical-nav .dropdown-toggle::after {
    display: none !important;
}

.vertical-nav ul.dropdown-menu {
    text-align: right;
    font-size: 12px;
    top: 0;
    right: 50%;
    margin-top: 0px;
    margin-left: 0px;
    background-color: #f3f3f3;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.vertical-nav .dropdown.open .dropdown-menu {
    max-height: 500px;
    opacity: 1;
}

.vertical-nav ul.dropdown-menu > li {
    padding: 8px 0;
}

    .vertical-nav ul.dropdown-menu > li > a {
        color: #000 !important;
    }

        .vertical-nav ul.dropdown-menu > li > a:hover {
            color: #8b0000 !important;
        }

.navbar-nav .dropdown-toggle::after {
    display: none !important;
}

/*stat===============================================*/
.stat {
    color: #FFF;
}

.stat h3 {
    color: #FFF !important;
}

.stat i {
    font-size: 3em;
}

.stat p {
    font-size: 1em;
}

.stat .number-count {
    font-size: 2em;
}
/*--------------------------------------------------------*/

.teacher .item {
    background-color: #ffff;
    border-radius: 5px !important;
    background: #fff;
    margin-top: 1rem;
    border-top-right-radius: 10px;
    overflow: hidden;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: all 0.3s ease-out;
    text-decoration: none;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px !important;
}



.teacher img {
    transition: transform .2s;
    border-radius: 50% !important;
    width: 80% !important;
    padding: 2%;
    margin-bottom: 5% !important;
    z-index: 10000;
    transform: translateZ(0);
}




/*
.teacher .item::before {
    content: "";
    width: 100%;
    height: 70%;
    background-color: #c94169;
    background-image: url("img/f11.png");
    position: absolute;
    bottom: 135%;
    right: 0;
    left: 0;
    opacity: 0.9;
    transform: scale(3);
    transition: all 0.5s linear 0s;
}

*/


/*=====================img login========================*/

.img-box {
    background: url('https://asset.armannet.ir/ptc-login.webp'), radial-gradient(circle,rgba(174, 227, 238, 1) 0%, rgba(0, 96, 100, 1) 100%);
    background-size: cover;
    background-position: center center;
    min-height: 85vh;
}

.tab-login {
    padding-top: 5rem;
}

.cardmg {
    background-color: antiquewhite;
}


.nav {
    display: flex;
    justify-content: center;
} 
/* ==========================================================
   1. Academic Offset Image Frame
   ========================================================== */
.academic-offset-image {
    position: relative;
    padding: 25px 25px 15px 15px; /* فضا برای بیرون‌زدگی قاب آفست */
}

.academic-offset-image .item {
    position: relative;
    display: inline-block;
    width: 100%;
}

/* ساخت قاب خطی پشت عکس */
.academic-offset-image .item::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;               /* در جهت چپ/بالا جابه‌جا می‌شود */
    width: 100%;
    height: 100%;
    border: 1.5px solid #0f2b5c; /* رنگ سرمه‌ای دانشگاهی */
    z-index: 1;
    pointer-events: none;
    transition: transform 0.3s ease;
}

/* تصویر اصلی */
.academic-offset-image .item img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    box-shadow: 0 10px 30px rgba(15, 43, 92, 0.08); /* سایه بسیار ملایم برای جداسازی */
}


/* تنظیمات ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .academic-offset-image {
        padding: 15px 10px 10px 10px;
    }
    .academic-offset-image .item::before {
        top: -10px;
        left: -10px;
    }
}
/* ==========================================================
   2. Academic Editorial Text Styling
   ========================================================== */
.academic-editorial-content {
    text-align: right;
    direction: rtl;
}

/* پیش‌عنوان و خط افقی کوچک */
.academic-editorial-content .subtitle-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.5px;
}

.academic-editorial-content .subtitle-badge .dash {
    display: inline-block;
    width: 24px;
    height: 2px;
    background-color: #0f2b5c;
}

/* تیتر بزرگ و خوانا */
.academic-editorial-content .main-title {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.5;
    color: #0f2b5c;
}

/* متن پاراگراف */
.academic-editorial-content .lead-text {
    font-size: 1.05rem;
    line-height: 2.1;
    color: #475569;
    text-align: justify;
    margin-bottom: 0;
}
/* ==========================================================
   3. Academic Minimal Counters (No Cards, Thin Dividers)
   ========================================================== */
.academic-stats-panel {
    border-top: 1px solid #e2e8f0; /* خط مرزی ملایم بالای آمار */
    padding-top: 2.5rem;
    margin-top: 2rem;
}

.academic-stats-panel a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ساختار ستون و برعکس کردن ترتیب عدد و عنوان */
.academic-stats-panel .persian {
    display: flex;
    flex-direction: column-reverse; /* قرار گرفتن عدد در بالا و متن در پایین */
    align-items: center;
    justify-content: center;
}

/* استایل عدد شمارنده */
.academic-stats-panel .number-count {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f2b5c;
    line-height: 1.2;
    font-family: inherit;
    letter-spacing: -0.5px;
}

/* استایل عنوان آمار */
.academic-stats-panel .persian p {
    font-size: 0.95rem;
    font-weight: 500;
    color: #64748b;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* خطوط جداکننده عمودی نازک بین آیتم‌ها در حالت دسکتاپ */
@media (min-width: 768px) {
    /* در چیدمان راست‌به‌چپ، خط در سمت چپ هر ستون کشیده می‌شود به جز آخرین ستون */
    .academic-stats-panel .row > [class*="col-"]:not(:last-child) {
        border-left: 1px solid #e2e8f0;
    }
}

/* در موبایل */
@media (max-width: 767.98px) {
    .academic-stats-panel .row > [class*="col-"]:not(:last-child) {
        border-bottom: 1px solid #f1f5f9;
        padding-bottom: 1.25rem;
        margin-bottom: 0.5rem;
    }
}
/* ==========================================================
   استایل اختصاصی و مینیمال بخش وبلاگ / رویدادها
   ========================================================== */
/* ==========================================================
   رفع خطاهای چیدمان و استایل مدرن بخش رویدادها / وبلاگ
   ========================================================== */

/* ۱. محدودسازی عرض سکشن و مرکزچین کردن آن */
.blog {
  

}




/* ۳. تبدیل گرید بوت‌استرپ به CSS Grid قدرتمند (۳ ستونه خودکار و منظم) */
.blog .row {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 1.5rem !important;
    margin: 0 !important;
}

.blog .row > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    flex: none !important;
}

/* ۴. استایل کارت‌ها و تراز شدن ارتفاع */
.blog .card {
    background: #ffffff;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100% !important;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.blog .card:hover {
    border-color: #cbd5e1 !important;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(15, 43, 92, 0.08) !important;
}

/* اصلاح لینک کلی کارت */
.blog .card > a {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-decoration: none !important;
    color: inherit !important;
}

/* ۵. یکدست‌سازی ارتفاع تصاویر (حتی برای پوسترهای عمودی) */
.blog .card .card-img-top {
    width: 100% !important;
    height: 190px !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    display: block;
    background-color: #f8fafc;
}

/* ۶. بدنه متنی و کنترل خطوط */
.blog .card-body {
    padding: 1.25rem !important;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* تاریخ و بازدید */
.blog .card-body span.text-color-1 {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #0f2b5c !important;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.blog .card-body .text-color-2.persian {
    color: #94a3b8 !important;
    font-size: 0.75rem;
    margin: 0 0 0.75rem 0 !important;
}

/* عنوان (محدود به ۲ خط و با ارتفاع ثابت برای تراز بودن کارت‌ها) */
.blog .card-body h2 {
    font-size: 0.98rem !important;
    font-weight: 700;
    line-height: 1.65;
    color: #1e293b !important;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.2rem;
    transition: color 0.2s ease;
}

.blog .card:hover .card-body h2 {
    color: #0f2b5c !important;
}

/* متن خلاصه (محدود به ۲ خط) */
.blog .card-body p {
    color: #64748b !important;
    font-size: 0.85rem;
    line-height: 1.8;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ۷. دکمه لینک‌مانند «ادامه مطلب» با فلش متحرک */
.blog .card .mt-auto {
    padding: 0.5rem 1.25rem 1.25rem 1.25rem !important;
    background: transparent !important;
}

.blog .card .btn-color-2 {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    color: #0f2b5c !important;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    box-shadow: none !important;
    transition: all 0.2s ease;
}

.blog .card .btn-color-2::after {
    content: '←';
    font-weight: bold;
    font-size: 0.95rem;
    transition: transform 0.25s ease;
}

.blog .card .btn-color-2:hover {
    color: #1d4ed8 !important;
}

.blog .card .btn-color-2:hover::after {
    transform: translateX(-4px);
}
/* ==========================================================
   بخش اختصاصی دسته‌بندی دوره‌ها (Course Categories Strip)
   کلاس کانتینر اصلی: .categories-strip-panel
   ========================================================== */



/* ۳. گرید ۴ ستونه کارت‌ها */
.categories-strip-panel .row {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.25rem !important;
    margin: 0 !important;
}

.categories-strip-panel .row > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

/* ۴. بدنه هر کارت */
.categories-strip-panel .item {
    height: 100%;
    background: #ffffff;
    border: 1.5px solid #edf2f7;
    border-radius: 14px;
    padding: 1.5rem 1rem;
    text-align: center;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.categories-strip-panel .item:hover {
    border-color: #eab308;
    box-shadow: 0 12px 24px -8px rgba(234, 179, 8, 0.25);
    transform: translateY(-4px);
}

/* ۵. ساختار داخلی لینک (چیدمان ستونی و منظم) */
.categories-strip-panel .item > a {
    text-decoration: none !important;
    color: inherit !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    gap: 0.75rem;
}

/* ۶. مهار اندازه آیکون / وکتور */
.categories-strip-panel .item img {
    width: auto;
    max-width: 110px;
    height: 110px;
    object-fit: contain;
    order: 1;
}

/* ۷. عنوان دسته‌بندی */
.categories-strip-panel .item h6,
.categories-strip-panel .item .title,
.categories-strip-panel .item a > span,
.categories-strip-panel .item a > div:not(:has(img)) {
    order: 2;
    font-weight: 700;
    font-size: 1rem;
    color: #0f2b5c;
    line-height: 1.8;
    text-align: center;
    margin: 0;
}

/* ۸. دکمه دایره‌ای زرد رنگ فلش‌دار در کف کارت */
.categories-strip-panel .item a::after {
    content: "←";
    order: 3;
    font-weight: 900;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background-color: #eab308;
    color: #ffffff;
    border-radius: 50%;
    margin-top: auto;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.categories-strip-panel .item:hover a::after {
    background-color: #ca8a04;
    transform: translateX(-4px);
}

/* ۹. ریسپانسیو برای تبلت و موبایل */
@media (max-width: 992px) {
    .categories-strip-panel {
        margin-top: 1rem !important;
        padding: 1.5rem 1rem;
    }
    .categories-strip-panel .row {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .categories-strip-panel .row {
        grid-template-columns: 1fr !important;
    }
    .categories-strip-panel .panel-header h4 {
        font-size: 1.2rem;
    }
}
