
@font-face{font-display:swap;font-family:IRANSans;font-style:normal font-weight:400;src:url(/static/theme-school/font/IRANSansWeb_Medium.woff2) format('woff2');font-display:auto}@font-face{font-display:swap;font-family:IRANSans;font-style:normal;font-weight:300;src:url(/static/theme-school/font/IRANSansWeb_Light.woff2) format('woff2');font-display:auto}
.rtl {
  direction: rtl;
}
a {
  text-decoration: none;
}
body{margin:0;font-family:IRANSans;font-size: 14px;}






/* Start Header Desktop */
.header-desktop {
	margin-bottom: 24px;
}
.header-desktop .header-top {
	background: #5A5A5A;
	height: 52px;
	line-height: 52px;
}
.header-desktop .header-top > .container {
	display: flex;
	justify-content: space-between;
}
.header-desktop .header-top .logo {
	position: absolute;
	width: 177px;
	height: 118px;
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	border-radius: 0px 0px 20px 20px;
	background: linear-gradient(161.9deg, #ff6300 12.32%, #ff9803 95.74%);
	z-index: 2;
}
.header-desktop .header-top .logo a {
	line-height: 1;
}
.header-desktop .header-top .logo img {
	width:70px;
	height:70px;
}
.header-desktop .header-top .logo p {
	line-height: 1;
	color: #5CAF21;
	font-size: 12px;
	margin-top: 6px;
	padding: 7px 15px;
	background: #FFFFFF;
	border-radius: 12.5px 0px 12.5px 12.5px;
}
.header-desktop .header-top .nav-menu {
	margin-right: 185px;
	width: fit-content;
}
.header-desktop .header-top .nav-menu ul.menu li {
	display: inline-block;
}
.header-desktop .header-top .nav-menu ul.menu li a {
	color: #fff;
	font-size: 13px;
	border-left: 2px dashed #535353;
}

.header-desktop .header-top .nav-menu ul.menu li:last-child a {
	border: unset;
}
.header-desktop .header-top .support {
	display: flex;
}
.header-desktop .header-top .support a {
	display: flex;
	align-items: center;
	font-size: 14px;
	color:#fff;
}
.header-desktop .header-top .support p {
	font-weight: bold;
	color: #828282;
	font-size: 16px;
}
.header-desktop .header-top .support p span {
	color: #fff;
	margin-right: 8px;
	letter-spacing: 1px;
	font-weight: 500;
	font-size: 14px;
}
.header-desktop .header-top .support .icon {
	position: relative;
	width: 25px;
	height: 25px;
	background:#fff;
	border-radius: 10px;
	color: #fff;
	margin-right: 5px;
	padding: 3px;
}
.header-desktop .header-top .support .icon img {
	position: relative;
	z-index: 2;
}
.header-desktop .header-top .support:hover .icon .bg-gradiant {
	opacity: 1;
	box-shadow: 0px 6px 24px rgba(92, 175, 33, 0.24);
}
.header-desktop .header-bottom .container {
	height: 82px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 2px dashed #00000017;
}
.header-desktop .header-bottom .right {
	display: none;
}
.header-desktop .header-bottom .nav-menu {
	margin-right: 177px;
	width: fit-content;
}
.header-desktop .header-bottom .nav-menu ul.menu > li {
	display: inline-block;
}
.header-desktop .header-bottom .nav-menu ul.menu > li a {
	color: var(--color-black);
	display: inline-block;
	padding: 32px 16px;
	font-weight: 500;
}
.header-desktop .header-bottom .nav-menu ul.menu > li:first-child a {
    padding-right: 24px;
}
.header-desktop .header-bottom .nav-menu ul.menu li.menu-item-has-children {
	position: relative;
}

.header-desktop .header-bottom .nav-menu ul.menu li.menu-item-has-children > ul.sub-menu {
    right: 0;
    top: 60%;
    opacity: 0;
    width: 260px;
    z-index: 999;
    display: block;
    overflow: hidden;
    visibility: hidden;
    position: absolute;
    border-radius: 15px;
    transition: all .3s ease 0s;
    padding: 10px;
    box-shadow: 0px 6px 27px rgb(32 32 32 / 10%);
    background: #fff;
    font-size: 15px;
}
.header-desktop .header-bottom .nav-menu ul.menu li.menu-item-has-children:hover > ul.sub-menu {
    top: 85%;
    opacity: 1;
    visibility: visible;
}
.header-desktop .header-bottom .nav-menu ul.menu li.menu-item-has-children:hover > ul.sub-menu li {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}
.header-desktop .header-bottom .nav-menu ul.menu li.menu-item-has-children:hover > ul.sub-menu li:last-child {
    margin: 0;
}
.header-desktop .header-bottom .nav-menu ul.menu li.menu-item-has-children > ul.sub-menu li a {
    display: block;
    padding: 12px 15px;
}
.header-desktop .header-bottom .nav-menu ul.menu li.menu-item-has-children > ul.sub-menu li a:hover,.header-desktop .header-bottom .nav-menu ul.menu > li a:hover {
    background: var(--color-primary);
    color: #f35f00;
}
.header-desktop .header-bottom .left-button-menu {
	gap: 12px;
	display: flex;
	align-items: center;
}
.header-desktop .header-bottom .left-button-menu .icon-tool {
	background: #2020201f;
	display: flex;
	padding: 1.7em;
	border-radius: 12px;
	font-weight: bold;
}
.header-desktop .header-bottom .left-button-menu .icon-tool i {
	font-weight: bold;
}
.header-desktop .header-bottom .left-button-menu .btn-loreg ,.res-btn-account > a.btn-loreg {
	background: linear-gradient(161.9deg, #ff6300 12.32%, #ff9803 95.74%);
	border-radius: 12px;
	color: #fff;
	padding: 11.5px 20px;
	display: flex;
	align-items: center;
	gap: 8px;
}
/* End Header Desktop */

@media only screen and (max-width: 1080px) {
	.header-desktop .header-top > .container {
		height: 100%;
	}
	.header-desktop .header-top .nav-menu{width: 80%;margin-right:0}
	.header-desktop .header-top .logo, .header-desktop .header-bottom .nav-menu, .header-desktop .header-bottom .left-button-menu .btn-loreg span {
		display: none;
	}
	.header-desktop .header-bottom .right {
		display: block;
	}
	.header-desktop .header-bottom .left-button-menu .btn-loreg {
		padding: 11.5px;
	}
	.header-desktop .header-bottom .right {
		display: flex;
		align-items: center;
		gap: 8px;
	}
	.header-desktop .header-bottom .menu-responsive {
		position: fixed;
		right: 0;
		height: 100%;
		background: #fff;
		top: 0;
		text-align: center;
		padding: 20px 14px 50px 14px;
		width: 263px;
		z-index: 999;
		overflow-y: auto;
		transform: translateX(300px);
		transition: .3s all;
	}
	.header-desktop .header-bottom .menu-responsive .show-menu-btn {
		text-align: left;
		margin-bottom: 10px;
	}
	.header-desktop .header-bottom .menu-responsive .close-menu {
		width: 30px;
	}
	.header-desktop .header-bottom .menu-responsive ul {
		text-align: right;
	}
	.header-desktop .header-bottom .menu-responsive ul li {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
	}
	.header-desktop .header-bottom .menu-responsive ul li img {
    	padding: 0 10px;
    }
	.header-desktop .header-bottom .menu-responsive ul li a {
		color: #525353;
		font-weight: 700;
		line-height: 38px;
	}
	.header-desktop .header-bottom .menu-responsive ul.sub-menu {
		display: none;
		margin-right: 10px;
		width: 100%;
		background: #eceef3;
		padding: 5px 10px 5px 0;
	}
	.header-desktop .header-bottom .menu-responsive ul.sub-menu a {
		font-size: 14px;
	}
	.header-desktop .header-bottom .close-menu-responsive-full-page {
    	position: fixed;
    	right: 0;
    	top: 0;
    	width: 100vw;
    	height: 140vw;
    	z-index: 20;
    	background: rgba(0, 0, 0, 0.24);
    	transform: translateX(1400px);
        transition: .1s all;
    }
}
@media only screen and (max-width: 550px) {
	.header-desktop .header-top .nav-menu{width: 70%;margin-right:0}
}

.other-news{display: flex;}
.othernews-post-image{width: 200px;height:200px;}
.othernews-post-title{text-align:center;}
.othernews-post-title a{color:#2396f1;}




        /* -------------------- استایل کانتینر اصلی -------------------- */
        .carousel-container {
            max-width: 1000px; /* حداکثر عرض در دسکتاپ */
            position: relative;
            margin: 20px auto; /* کمی فاصله از بالا و پایین */
            overflow: hidden;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }

        .carousel-slide-wrapper {
            position: relative;
            width: 100%;
        }

        /* -------------------- استایل اسلایدها -------------------- */
        .carousel-slide {
            display: none; /* به طور پیش فرض همه مخفی هستند */
            text-align: center;
            position: relative;
        }

        .slide-image {
            width: 100%;
            height: 400px;
            object-fit: cover;
        }

        /* -------------------- کپشن (عنوان) -------------------- */
        .slide-caption {
            position: absolute;
            bottom: 0;
            background: rgb(10 3 3 / 47%);
            width: 100%;
            padding: 25px 10px;
            color: white;
            font-size: 1.2em;
            font-weight: bold;
            text-align: center;
            box-sizing: border-box; 
        }

        /* -------------------- نشانگرها (دایره های روی تصویر) -------------------- */
        .dot-indicators {
            position: absolute; 
            bottom: 0; /* فاصله از پایین تصویر */
            width: 100%;
            text-align: center;
            z-index: 10; 
        }

        .dot {
            cursor: pointer;
            height: 12px;
            width: 12px;
            margin: 0 4px;
            background-color: rgba(255, 255, 255, 0.5); /* رنگ سفید شفاف */
            border: 1px solid rgba(0, 0, 0, 0.2);
            border-radius: 50%;
            display: inline-block;
            transition: background-color 0.6s ease;
        }

        .active-dot, .dot:hover {
            background-color: #3498db; /* آبی پررنگ */
        }

        /* -------------------- انیمیشن محو شدن (Fade) -------------------- */
        .fadeane {
            animation-name: fade;
            animation-duration: 1.5s;
        }

        @keyframes fade {
            from {opacity: .4} 
            to {opacity: 1}
        }

        /* -------------------- واکنش‌گرایی (Responsive) -------------------- */
        @media only screen and (max-width: 600px) {
            .carousel-container{
                margin:20px 15px;
            }
            .slide-caption {
                font-size: 1em;
                padding: 30px 0;
            }
            .slide-image {
                height: 250px; 
                object-fit: cover;
            }
            .dot-indicators {
                bottom: 0; /* کاهش فاصله از پایین در موبایل */
            }
        }






        .features-section-container {
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 15px;
            direction: rtl;
            text-align: right;
        }

        .features-section-container h2 {
            text-align: center;
            color: #2c3e50;
            margin-bottom: 40px;
            font-size: 1.8em;
        }

        /* -------------------- تنظیمات شبکه (Grid) -------------------- */
        .features-grid {
            display: grid;
            /* چهار ستون مساوی در حالت دسکتاپ */
            grid-template-columns: repeat(4, 1fr); 
            gap:35px; /* فاصله بین آیتم&zwnj;ها */
            text-align: center;
        }

        /* -------------------- استایل هر آیتم -------------------- */
        .feature-item {
            background-color: #ffffff;
            border-radius: 12px;
            padding:10px;
            box-shadow: 0 4px 15px rgb(0 0 0 / 17%);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            height: 100%; 
            display: flex;
            flex-direction: column;
        }

        .feature-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        /* -------------------- آیکون / تصویر -------------------- */
        .feature-icon-wrapper {
            margin-bottom: 15px;
            height: 100px; 
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .feature-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            object-fit: cover; /* تضمین یک اندازه بودن همه تصاویر */
            border: 4px solid #f4f4f4;
            transition: all 0.3s ease;
        }

        .feature-item:hover .feature-icon {
            border-color: #3498db;
            transform: scale(1.05);
        }

        .feature-title {
            font-size: 1.1em;
            color: #34495e;
            font-weight: bold;
            margin-top: 5px;
            margin-bottom: 10px;
        }

        .feature-description {
            font-size: 0.9em;
            color: #7f8c8d;
            line-height: 2;
            flex-grow: 1; /* برای هم&zwnj;ارترازی کادرها */
        }

        .feature-link:hover {
            background-color: #2980b9;
        }

        /* -------------------- واکنش&zwnj;گرایی (Responsive) -------------------- */
        @media (max-width: 992px) {
            .features-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 35px;
            }
        }

        @media (max-width: 600px) {
            .features-grid {
                grid-template-columns: 1fr;
                gap: 35px;
            }
        }




fieldset {
    margin: 0
}

fieldset,legend {
    padding: 0
}

menu,ol,ul {
    list-style: none;
    margin: 0;
    padding: 0
}

textarea {
    resize: vertical
}

input::-moz-placeholder,textarea::-moz-placeholder {
    opacity: 1;
    color: #9ca3af
}

input::placeholder,textarea::placeholder {
    opacity: 1;
    color: #9ca3af
}

[role=button],button {
    cursor: pointer
}

:disabled {
    cursor: default
}

audio,canvas,embed,iframe,img,object,svg,video {
    display: block;
    vertical-align: middle
}

img,video {
    max-width: 100%;
    height: auto
}

[hidden] {
    display: none
}

.container {
    margin-right: auto;
    margin-left: auto;
    padding-right: 1em;
    padding-left: 1em;
}

@media (min-width: 576px) {
    .container {
        max-width:576px
    }
}

@media (min-width: 768px) {
    .container {
        max-width:768px
    }
}

@media (min-width: 992p) {
    .container {
        max-width:992p
    }
}

@media (min-width: 1128px) {
    .container {
        max-width:1128px
    }
}



/* -------------------- استایل عمومی -------------------- */
.news-section-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
    direction: rtl;
    text-align: right;
}

.news-section-container h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    border-bottom: 3px solid #3498db;
    display: inline-block;
    padding-bottom: 5px;
    width: 100%;
}

/* -------------------- تنظیمات شبکه (Grid) -------------------- */
.news-grid {
    display: grid;
    /* سه ستون مساوی در حالت دسکتاپ */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; /* فاصله بین آیتم‌ها */
}

/* -------------------- استایل هر آیتم خبری -------------------- */
.news-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* ضروری برای borderRadius و نگه داشتن تصویر */
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* -------------------- تنظیمات عکس (یکسان‌سازی ابعاد) -------------------- */
.news-image-wrapper {
    overflow: hidden;
    /* ارتفاع ثابت برای همه عکس‌ها */
    height: 400px; 
    width: 100%;
}

.news-thumbnail {
    width: 100%;
    height: 100%;
    /* تضمین می‌کند که عکس کل کادر 200 پیکسلی را پر کند و ابعاد اضافی Crop شوند */
    object-fit: cover; 
    transition: transform 0.5s ease;
}

.news-item:hover .news-thumbnail {
    transform: scale(1.05); /* زوم ملایم در هاور */
}

.news-content {
    padding: 15px;
}

.news-title {
    font-size: 1.2em;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 15px;
    /* محدود کردن عنوان به دو خط */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3em; /* ارتفاع تقریبی دو خط */
}

/* -------------------- بخش متا (نویسنده و ادامه مطلب) -------------------- */
.news-meta {
    display: flex;
    justify-content: space-between; /* فاصله دادن نویسنده و ادامه مطلب */
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #eee;
    font-size: 0.9em;
}

.news-author {
    color: #7f8c8d;
    font-weight: bold;
}

.read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #2980b9;
}

/* -------------------- واکنش‌گرایی (Responsive) -------------------- */
@media (max-width: 992px) {
    /* در تبلت‌ها، شبکه به دو ستون تبدیل می‌شود */
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 600px) {
    /* در موبایل، شبکه به یک ستون تبدیل می‌شود */
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-image-wrapper {
        /* کاهش ارتفاع عکس در موبایل */
        height: 180px; 
    }
    
    .news-title {
        font-size: 1.1em;
    }
}















/* -------------------- استایل کانتینر اصلی فوتر -------------------- */
.my-footer {
    background-color: #2c3e50; /* پس زمینه تیره و شیک */
    color: #ecf0f1; /* متن روشن */
    padding: 50px 20px 20px;
    direction: rtl;
}

.my-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    /* استفاده از CSS Grid برای ساختار 4 ستونه */
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr 1fr; /* ستون اول (توضیحات) فضای بیشتری می‌گیرد */
    gap: 30px; /* فاصله بین ستون‌ها */
    padding-bottom: 30px;
}

/* -------------------- استایل ستون‌ها -------------------- */
.my-footer-column {
    padding: 0;
}

/* -------------------- لوگو و برندینگ -------------------- */
.my-footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: #3498db; /* رنگ برجسته برای نام مدرسه */
    margin-bottom: 15px;
}

.my-footer-description {
    font-size: 14px;
    line-height: 1.7;
    color: #bdc3c7;
    margin-bottom: 15px;
}

/* -------------------- عناوین ستون‌ها -------------------- */
.my-footer-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ecf0f1;
    position: relative;
    padding-bottom: 5px;
}

/* خط زیر عنوان برای زیبایی */
.my-footer-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: #3498db; /* رنگ آبی برجسته */
    margin-top: 8px;
    position: absolute;
    right: 0;
    bottom: 0;
}

/* -------------------- لیست لینک‌ها و تماس با ما -------------------- */
.my-footer-links {
    list-style: none;
    padding: 0;
}

.my-footer-links li {
    margin-bottom: 12px;
    font-size: 15px;
    color: #bdc3c7;
    /* اگر آیکون‌های فونت آوسام (یا مشابه) داشتید، می‌توانید استایل‌های زیر را فعال کنید: */
    /* display: flex; 
    align-items: center; */
}

.my-footer-links a {
    text-decoration: none;
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.my-footer-links a:hover {
    color: #3498db;
}

/* -------------------- شبکه‌های اجتماعی -------------------- */
.my-footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.my-footer-socials img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.my-footer-socials img:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

/* -------------------- بخش دانلود اپلیکیشن -------------------- */
.my-footer-app-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: bold;
    background-color: #FFA92C; /* رنگ نارنجی برجسته */
    transition: background-color 0.3s ease;
}
.my-footer-app-links a:hover {
    background-color: #ff9900;
}

/* -------------------- بخش کپی رایت -------------------- */
.my-footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #34495e; /* خط جداکننده */
    font-size: 14px;
    color: #7f8c8d;
}

.my-footer-bottom a {
    color: #3498db;
    text-decoration: none;
}


/* -------------------- واکنش‌گرایی (Responsive) -------------------- */

@media (max-width: 992px) {
    /* در تبلت‌ها، ساختار به ۲ ستون تبدیل می‌شود */
    .my-footer-container {
        /* ستون اول (برندینگ) تمام عرض، دو ستون وسط، و ستون آخر دوباره تمام عرض */
        grid-template-columns: 1fr 1fr;
    }
    .my-footer-column:nth-child(1) { /* ستون برندینگ */
        grid-column: 1 / -1; /* تمام عرض را بگیرد */
    }
}

@media (max-width: 600px) {
    /* در موبایل، ساختار به ۱ ستون تبدیل می‌شود */
    .my-footer-container {
        grid-template-columns: 1fr; /* یک ستون تکی */
        gap: 25px;
    }
}