/* ===================== */
/* FONT */
/* ===================== */

@font-face{
font-family:'IRANYekan';
src:url('../fonts/iranyekan/IRANYekan-Regular.woff2') format('woff2'),
url('../fonts/iranyekan/IRANYekan-Regular.woff') format('woff');
font-weight:normal;
font-style:normal;
}

/* ===================== */
/* RESET */
/* ===================== */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'IRANYekan',tahoma;
direction:rtl;
background:#f5f7fb;
padding-top:90px;
}

/* ===================== */
/* CONTAINER */
/* ===================== */

.container{
width:90%;
max-width:1200px;
margin:auto;
}

/* ===================== */
/* HEADER */
/* ===================== */

.header{
position:fixed;
top:0;
right:0;
left:0;
background:white;
z-index:9999;
box-shadow:0 3px 15px rgba(0,0,0,0.08);
transition:0.3s;
}


.header-inner{
display:flex;
align-items:center;
justify-content:space-between;
height:90px;
gap:20px;
}

/* ===================== */
/* MENU */
/* ===================== */


.menu a{
position:relative;
text-decoration:none;
color:#333;
font-size:15px;
font-weight:500;
padding:5px 0;
transition:0.3s;
}

.menu a::after{
content:"";
position:absolute;
bottom:-6px;
right:0;
width:0;
height:2px;
background:#ff7a00;
transition:0.3s;
}

.menu a:hover{
color:#ff7a00;
}

.menu a:hover::after{
width:100%;
}

/* ===================== */
/* LOGO */
/* ===================== */

.logo{
text-align:center;
}

.logo img{
height:60px;
display:block;
margin:auto;
}

.logo-desktop{
display:none;
}

.logo-mobile{
display:none;
}

/* ===================== */
/* HAMBURGER */
/* ===================== */

.hamburger{
display:none;
flex-direction:column;
gap:5px;
cursor:pointer;
}

.hamburger span{
width:25px;
height:3px;
background:#333;
display:block;
}

/* ===================== */
/* MOBILE MENU */
/* ===================== */

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%; /* مخفی در حالت عادی */
    width: 280px;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999999;
    padding: 30px 20px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-weight: bold;
    color: #0d47a1;
}

.mobile-menu-header button {
    background: #ff7a00;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
}

.mobile-menu-list {
    list-style: none;
}

.mobile-menu-list > li > a {
    display: block;
    padding: 15px 10px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 500;
}

.submenu-mobile { 
    display: none; 
    padding-right: 20px; 
    background: #f0f0f0; 
}

.has-submenu-mobile.active > .submenu-mobile { 
    display: block !important; /* این مهم است که حتما نمایش داده شود */
}

.submenu-mobile li a {
    font-size: 13px;
    padding: 8px 0;
    color: #555 !important;
}

/* ===================== */
/* HERO */
/* ===================== */

.hero{
background:linear-gradient(135deg,#0d47a1,#f57c00);
color:white;
padding:120px 20px;
text-align:center;
}

.hero h1{
font-size:40px;
margin-bottom:10px;
}

.hero h2{
font-size:22px;
margin-bottom:20px;
}

.btn-main{
background:white;
color:#0d47a1;
padding:12px 25px;
text-decoration:none;
border-radius:5px;
font-weight:bold;
}

/* ===================== */
/* STATS */
/* ===================== */

.stats{
background:white;
padding:60px 0;
}

.stats .container{
display:flex;
justify-content:space-between;
gap:20px;
}

.statbox{
text-align:center;
background:#f9f9f9;
padding:30px;
border-radius:8px;
flex:1;
}

.statbox h3{
font-size:32px;
color:#f57c00;
}

/* ===================== */
/* ABOUT */
/* ===================== */

.about{
padding:70px 0;
text-align:center;
}

.about h2{
color:#0d47a1;
margin-bottom:20px;
}

/* ===================== */
/* HONORS */
/* ===================== */

.honors{
padding:80px 0;
background:white;
text-align:center;
}

.honorgrid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
margin-top:40px;
}

.honorcard{
background:#f5f7fb;
padding:30px;
border-radius:8px;
transition:0.3s;
}

.honorcard:hover{
transform:translateY(-10px);
box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

/* ===================== */
/* JOB NEED */
/* ===================== */

.jobneed{
background:white;
padding:20px;
margin:20px 0;
border-right:4px solid #f57c00;
box-shadow:0 3px 10px rgba(0,0,0,0.1);
}

/* ===================== */
/* CTA */
/* ===================== */

.cta{
background:#f57c00;
color:white;
text-align:center;
padding:60px;
}

.btn-register{
background:white;
color:#f57c00;
padding:15px 30px;
text-decoration:none;
font-size:18px;
border-radius:6px;
}

/* ===================== */
/* FOOTER */
/* ===================== */

.footer{
background:#0d47a1;
color:white;
padding:40px 0;
margin-top:60px;
}

.footergrid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:30px;
}

/* ===================== */
/* ANIMATION */
/* ===================== */

.fade-in{
opacity:0;
transform:translateY(20px);
animation:fadeIn 1s forwards;
}

@keyframes fadeIn{
to{
opacity:1;
transform:translateY(0);
}
}

/* ===================== */
/* MOBILE */
/* ===================== */

@media (max-width:900px){

body{
padding-top:70px;
}

.menu{
display:none;
}

.hamburger{
display:flex;
}

.logo img{
display:none;
}

.logo-mobile{
display:block;
font-size:16px;
font-weight:bold;
text-align:center;
}

.header-inner{
height:70px;
}

.stats .container{
flex-direction:column;
}

.honorgrid{
grid-template-columns:1fr;
}

.footergrid{
grid-template-columns:1fr;
}

}
.topbar{
background:#0d47a1;
color:white;
font-size:13px;
}

.topbar-inner{
display:flex;
justify-content:space-between;
padding:6px 0;
}
.btn-register-menu{

background:#ff7a00;
color:white !important;
padding:8px 16px;
border-radius:5px;
}

.btn-register-menu:hover{

background:#e66d00;

}
.menu a.active{

color:#ff7a00;
font-weight:bold;

}

.menu a.active::after{

width:100%;

}


.header.scrolled{

background:#0d47a1;
box-shadow:0 5px 20px rgba(0,0,0,0.2);

}

@media (min-width: 900px) {
    .header.scrolled .menu a {
        color:rgb(0, 6, 58);
    }
}


.header.scrolled .menu a:hover{

color:#ffb74d;

}


.mobile-menu.active{

right:0;

}
.announcement{

background:#ff7a00;
color:white;
overflow:hidden;
white-space:nowrap;
padding:8px 0;
font-size:14px;

}

.announcement-text{

display:inline-block;
padding-left:100%;
animation:announcementMove 15s linear infinite;

}

@keyframes announcementMove{

0%{
transform:translateX(0);
}

100%{
transform:translateX(-100%);
}

}

.header.glass{

background:rgba(255,255,255,0.6);
backdrop-filter:blur(10px);
-webkit-backdrop-filter:blur(10px);
border-bottom:1px solid rgba(255,255,255,0.3);

}
/* حالت اسکرول دسکتاپ و موبایل */

.header.scrolled .btn-register-menu{

background:#ff7a00;

}

/* باکس تماس */

.contact-box{

background:#0d47a1;
color:white;
padding:8px 14px;
border-radius:6px;
font-size:14px;

}

/* دکمه ها */

.header-buttons{

display:flex;
gap:10px;

}

.btn-coop{

background:#2196f3;
color:white;
padding:10px 16px;
border-radius:6px;
text-decoration:none;
font-size:14px;

}

.btn-coop:hover{

background:#1976d2;

}

.btn-register-big{

background:#ff7a00;
color:white;
padding:10px 18px;
border-radius:6px;
text-decoration:none;
font-weight:bold;
font-size:14px;

}

.btn-register-big:hover{

background:#e66d00;

}

/* منو */

.menu{
align-items:center;
display:flex;
gap:30px;
}

.logo-area{

display:flex;
align-items:center;
gap:10px;

}

.logo-area img{

height:55px;

}

.school-name {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.6;
    color: #0d47a1;
}
/* جلوگیری از نمایش دو نام در دسکتاپ */
.desktop-name { display: block; }
.mobile-name { display: none !important; }


.slider{
position:relative;
height:90vh;
overflow:hidden;
}

.slide{
position:absolute;
width:100%;
height:100%;
opacity:0;
transition:1s;
}

.slide.active{
opacity:1;
z-index:1;
}

.slider .slide img{
filter:brightness(60%);
}

.slider .slide img{
filter:brightness(60%);
}

.slide-content{
position:absolute;
top:50%;
right:10%;
transform:translateY(-50%);
color:white;
max-width:500px;
}

.slide-content h1{
font-size:40px;
margin-bottom:15px;
}

.btn-slider{
background:#ff7a00;
color:white;
padding:12px 25px;
text-decoration:none;
border-radius:6px;
}
.about-home{
padding:80px 0;
text-align:center;
background:white;
}

.stats-modern{
background:#f5f7fb;
padding:70px 0;
}

.stats-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
text-align:center;
}

.stat-item{
background:white;
padding:30px;
border-radius:8px;
box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.stat-item h3{
font-size:32px;
color:#ff7a00;
}

.features-modern{
padding:80px 0;
background:white;
}

.feature-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
margin-top:40px;
}

.feature-box{
background:#f5f7fb;
padding:30px;
border-radius:8px;
transition:0.3s;
}

.feature-box:hover{
transform:translateY(-10px);
box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.cta-modern{
background:#0d47a1;
color:white;
text-align:center;
padding:80px 0;
}

.btn-cta-modern{
background:#ff7a00;
color:white;
padding:15px 35px;
text-decoration:none;
border-radius:6px;
font-size:18px;
}
.slider-btn{

position:absolute;
top:50%;
transform:translateY(-50%);
background:rgba(0,0,0,0.4);
color:white;
border:none;
font-size:30px;
width:45px;
height:45px;
cursor:pointer;
border-radius:50%;

}

.slider-btn.prev{
left:20px;
}

.slider-btn.next{
right:20px;
}

.slider-btn:hover{
background:#ff7a00;
}

/* dots */

.slider-dots{

position:absolute;
bottom:20px;
left:50%;
transform:translateX(-50%);
display:flex;
gap:8px;

}

.slider-dots span{

width:10px;
height:10px;
background:white;
border-radius:50%;
opacity:0.5;
cursor:pointer;

}

.slider-dots span.active{

opacity:1;
background:#ff7a00;

}
.feature-box{

background:white;
padding:35px;
border-radius:10px;
text-align:center;
transition:0.35s;
border-top:4px solid #ff7a00;

}

.feature-box:hover{

transform:translateY(-12px);
box-shadow:0 15px 35px rgba(0,0,0,0.12);

}
/* ===== TOP SECTION ===== */

.top-home{
margin-top:30px;
}

.top-grid{
display:grid;
grid-template-columns: 2fr 1fr;
gap:25px;
align-items:stretch;
}

/* ===== SLIDER ===== */

.home-slider{
background:#fff;
border-radius:12px;
overflow:hidden;
position:relative;
box-shadow:0 8px 25px rgba(0,0,0,0.08);
}

.slides{
position:relative;
height:420px;
}

/* slide */

.slide{
position:absolute;
width:100%;
height:100%;
opacity:0;
transition:opacity .6s ease;
}

.slide.active{
opacity:1;
z-index:2;
}

.slide img{
width:100%;
height:100%;
object-fit:cover;
display:block;
}

/* arrows */

.slider-btn{
position:absolute;
top:50%;
transform:translateY(-50%);
width:40px;
height:40px;
border:none;
background:rgba(0,0,0,.45);
color:#fff;
font-size:22px;
cursor:pointer;
border-radius:6px;
z-index:5;
}

.slider-btn:hover{
background:rgba(0,0,0,.7);
}

.prev{
left:12px;
}

.next{
right:12px;
}

/* ===== NEWS COLUMN ===== */
/* ===== NEWS BOX PROFESSIONAL ===== */
/* ===== NEWS BOX PROFESSIONAL ===== */

.home-news{
background:#fff;
border-radius:14px;
overflow:hidden;
box-shadow:0 12px 35px rgba(0,0,0,0.1);
display:flex;
flex-direction:column;
}

/* header */

.news-header{
background:#0d47a1;
color:white;
padding:14px 18px;
font-size:16px;
font-weight:bold;
}

/* list */

.news-list{
padding:5px 0;
}

/* item */

.news-mini{
display:flex;
gap:12px;
padding:14px 18px;
border-bottom:1px solid #eee;
opacity:0;
transform:translateX(30px);
animation:newsFade .6s forwards;
transition:.3s;
}

/* stagger */

.news-mini:nth-child(1){animation-delay:.05s}
.news-mini:nth-child(2){animation-delay:.15s}
.news-mini:nth-child(3){animation-delay:.25s}
.news-mini:nth-child(4){animation-delay:.35s}
.news-mini:nth-child(5){animation-delay:.45s}

/* hover */

.news-mini:hover{
background:#f2f6ff;
transform:translateX(-6px);
}

/* icon */

.news-icon{
font-size:18px;
margin-top:4px;
}

/* content */

.news-content{
flex:1;
}

.news-content h4{
font-size:14px;
margin-bottom:5px;
line-height:1.7;
}

.news-content h4 a{
color:#0d47a1;
text-decoration:none;
font-weight:600;
}

.news-content h4 a:hover{
color:#ff7a00;
}

/* meta */

.news-meta{
font-size:12px;
color:#888;
margin-bottom:4px;
}

/* badge */

.badge-new{
background:#ff3b3b;
color:white;
font-size:10px;
padding:2px 6px;
border-radius:4px;
margin-right:6px;
}

/* summary */

.news-content p{
font-size:13px;
color:#666;
line-height:1.7;
}

/* footer */

.news-footer{
text-align:center;
padding:12px;
background:#f5f7fb;
}

.news-more{
color:#0d47a1;
text-decoration:none;
font-size:14px;
font-weight:600;
}

.news-more:hover{
color:#ff7a00;
}

/* animation */

@keyframes newsFade{

from{
opacity:0;
transform:translateX(40px);
}

to{
opacity:1;
transform:translateX(0);
}

}
.news-slider-section{

padding:70px 0;
background:#f8fafc;

}

.news-slider-title{

text-align:center;
font-size:28px;
margin-bottom:40px;

}

.news-slider-wrapper{

position:relative;
display:flex;
align-items:center;

}

.news-slider{

display:flex;
gap:20px;
overflow:hidden;
scroll-behavior:smooth;

}

.news-slide-card{
min-width:200px;
background:white;
border-radius:10px;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
overflow:hidden;
transition:0.3s;
}


.news-slide-card:hover{

transform:translateY(-6px);

}

.news-slide-card img{

width:100%;
height:160px;
object-fit:cover;

}

.news-slide-card h3{

font-size:16px;
padding:12px;

}

.news-slide-card p{

font-size:13px;
padding:0 12px 15px;
color:#555;

}

.news-arrow{
    width:45px;
    height:45px;
    border-radius:50%;
    background:#fff;
    border:none;
    box-shadow:0 5px 20px rgba(0,0,0,0.1);
    font-size:22px;
    cursor:pointer;
    transition:.3s;
}

.news-arrow:hover{
    background:#0d6efd;
    color:#fff;
    transform:scale(1.1);
}


.prev-news{

right:-10px;

}

.next-news{

left:-10px;

}


.news-home{
padding:70px 0;
background:#f5f7fb;
}

.news-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
gap:30px;
margin-top:40px;
}

.news-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    transition:all .3s ease;
}

.news-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 45px rgba(13,110,253,0.18);
}


.news-image{
position:relative;
height:200px;
overflow:hidden;
}

.news-image img{
width:100%;
height:100%;
object-fit:cover;
transition:transform .4s;
}

.news-card:hover .news-image img{
transform:scale(1.08);
}

.news-overlay{
position:absolute;
inset:0;
background:linear-gradient(to top,rgba(0,0,0,.6),transparent);
}

.news-category{
position:absolute;
top:12px;
right:12px;
color:#fff;
font-size:12px;
padding:6px 14px;
border-radius:30px;
font-weight:600;
}

.news-content{
padding:22px;
display:flex;
flex-direction:column;
gap:12px;
}

.news-meta{
display:flex;
justify-content:space-between;
font-size:13px;
color:#777;
}

.news-btn{
    display:inline-block;
    margin-top:12px;
    padding:8px 18px;
    background:linear-gradient(90deg,#0d6efd,#4dabf7);
    color:#fff;
    border-radius:25px;
    font-size:14px;
    text-decoration:none;
    transition:.3s;
}

.news-btn:hover{
    background:linear-gradient(90deg,#0b5ed7,#339af0);
    transform:translateY(-2px);
}

.news-content h3{
font-size:18px;
line-height:1.8;
}

.news-content h3 a{
color:#222;
text-decoration:none;
}

.news-content h3 a:hover{
color:#0d6efd;
}

.news-content p{
font-size:14px;
line-height:1.9;
color:#555;
}
.news-slider-section{
    padding:70px 0;
    background: linear-gradient(135deg,#f8fbff,#eef5ff);
}

.news-slider-section .container{
    background:#ffffff;
    border-radius:20px;
    padding:40px 30px;
    box-shadow:0 20px 50px rgba(13,110,253,0.12);
    position:relative;
    overflow:hidden;
}
.news-slider-title{
    text-align:center;
    font-size:28px;
    font-weight:800;
    margin-bottom:35px;
    position:relative;
    display:inline-block;
    color:#0d1b2a;
}

.news-slider-title::after{
    content:"";
    width:60%;
    height:4px;
    background:linear-gradient(90deg,#0d6efd,#4dabf7);
    position:absolute;
    bottom:-10px;
    left:50%;
    transform:translateX(-50%);
    border-radius:10px;
}

.news-slider-title::before{
    content:"📰";
    margin-left:8px;
    font-size:22px;
}
/* تنظیم ۴ ستون برای بخش کادر */
.staff-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* ۴ ستون مساوی */
    gap: 20px;
    margin-top: 30px;
}

.staff-box {
    background: #fff;
    border-radius: 15px;
    padding: 30px 15px;
    text-align: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 1px solid #edf2f7;
}

.staff-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(13,110,253,0.15);
    border-color: #0d6efd;
}

.staff-icon {
    font-size: 35px;
    margin-bottom: 15px;
}

.staff-box h3 {
    font-size: 16px;
    margin: 0;
    font-weight: 600;
}

/* واکنش‌گرا برای موبایل (اگر ۴ ستون در موبایل زیاد بود) */
@media (max-width: 768px) {
    .staff-grid-4 {
        grid-template-columns: repeat(2, 1fr); /* در موبایل ۲ ستونی بشه */
    }
}
/* حذف نقاط لیست و تنظیم نمایش افقی */
.menu > ul {
    display: flex;
    list-style: none;
    gap: 15px;
    margin: 0;
    padding: 0;
}

/* تنظیم جایگاه زیرمنو */
.has-submenu {
    position: relative;
}

.submenu {
    display: none; /* مخفی در حالت عادی */
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 0;
    width: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    z-index: 999;
}

/* ظاهر شدن زیرمنو هنگام هاور */
.has-submenu:hover .submenu {
    display: block;
}

/* استایل لینک‌های زیرمنو */
.submenu li a {
    display: block;
    padding: 10px 20px;
    color: #444 !important;
    font-size: 14px;
    transition: 0.3s;
}

.submenu li a:hover {
    background: #f0f7ff;
    color: #0d6efd !important;
}
.vision-section {
    padding: 80px 0;
    background-color: #fcfdff;
}

.vision-grid {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.vision-content {
    flex: 1;
    min-width: 350px;
    text-align: right;
}

.vision-subtitle {
    color: #0d6efd;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.vision-main-title {
    font-size: 2rem;
    color: #222;
    margin-bottom: 25px;
    font-weight: 800;
}

.vision-text {
    line-height: 1.9;
    color: #555;
    font-size: 1.05rem;
    text-align: justify;
}

.motto-box {
    margin-top: 30px;
    padding: 15px 25px;
    background: linear-gradient(90deg, #f0f7ff, #ffffff);
    border-right: 5px solid #0d6efd;
    font-weight: bold;
    color: #0d6efd;
    border-radius: 5px;
}

/* استایل بخش آمار دایره‌ای */
.vision-stats {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 350px;
}

.stats-circle-bg {
    position: relative;
    width: 400px;
    height: 400px;
    background: url('images/circle-shape.png') no-repeat center; /* اگر عکس بک‌گراند گل‌مانند را داری */
    background-size: contain;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

/* اگر عکس بک‌گراند را نداری، این افکت سایه ملایم جایگزین شود */
.stats-circle-bg::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 320px; height: 320px;
    background: rgba(13, 110, 253, 0.03);
    border-radius: 50%;
    z-index: 0;
}

.stat-card {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    z-index: 1;
    transition: 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(13, 110, 253, 0.1);
}

.v-icon { font-size: 2rem; margin-bottom: 10px; }
.v-num { font-size: 1.5rem; font-weight: 900; color: #0d6efd; display: block; }
.v-label { font-size: 0.9rem; color: #777; }

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .vision-grid { flex-direction: column-reverse; }
    .stats-circle-bg { width: 300px; height: 300px; }
}
.managers-section {
    padding: 60px 0;
    text-align: center;
    background-color: #fff;
}

.managers-header p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.managers-title {
    font-size: 2.2rem;
    color: #0d6efd;
    margin-bottom: 50px;
    font-weight: 800;
    /* استایل توخالی کردن متن شبیه عکس */
    -webkit-text-stroke: 1px #0d6efd;
    color: transparent;
}

.managers-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* نمایش ۶ نفر در یک خط */
    gap: 20px;
}

.manager-card {
    transition: 0.3s;
}

.avatar-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    background: #eef2ff; /* پس‌زمینه ملایم بنفش/آبی */
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: 0.3s;
}

.avatar-wrapper img {
    width: 90%;
    height: auto;
}

.manager-card:hover .avatar-wrapper {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.2);
}

.manager-name {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: bold;
}

.manager-role {
    color: #888;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* برای ریسپانسیو شدن در موبایل (تبدیل به ۳ ستون یا ۲ ستون) */
@media (max-width: 992px) {
    .managers-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 576px) {
    .managers-grid { grid-template-columns: repeat(2, 1fr); }
    .avatar-wrapper { width: 120px; height: 120px; }
}
/* 🎓 ویژگی‌های آموزشی */
.features-section {
  background: linear-gradient(135deg, #f6f9ff, #ffffff);
  padding: 80px 0;
  text-align: center;
}

.features-title {
  font-size: 28px;
  font-weight: 800;
  color: #003366;
  margin-bottom: 10px;
  position: relative;
}

.features-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ff7b00, #007bff);
  margin: 12px auto 0;
  border-radius: 10px;
}

.features-subtitle {
  color: #555;
  font-size: 16px;
  max-width: 700px;
  margin: 15px auto 40px;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  justify-items: center;
}
.feature-card {
  background: #fff;
  border-radius: 15px;
  padding: 35px 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
  max-width: 320px;
  text-align: center;
  cursor: pointer;
}

/* حالت هاور کامل آبی */
.feature-card:hover {
  background: linear-gradient(135deg, #0052cc, #007bff);
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 82, 204, 0.25);
}

/* تغییر رنگ متن‌ها هنگام هاور */
.feature-card:hover h3,
.feature-card:hover p {
  color: #ffffff;
}

/* تغییر رنگ آیکون هنگام هاور */
.feature-card:hover .feature-icon {
  color: #ffcc00; /* کمی طلایی برای جلوه بهتر */
  transform: scale(1.15);
}


/* نسخه موبایل */
@media (max-width: 768px) {
  .features-title {
    font-size: 24px;
  }
  .feature-card {
    padding: 25px 20px;
  }
}
/* ===================================== */
/* VIP TOP STUDENTS - PREMIUM DESIGN */
/* ===================================== */

.students-section{
padding:90px 0;
background:linear-gradient(135deg,#f8fbff,#eef4ff);
}

.students-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
}

.students-box{
background:#ffffff;
border-radius:22px;
padding:35px;
box-shadow:0 25px 60px rgba(13,110,253,0.12);
height:480px;
display:flex;
flex-direction:column;
position:relative;
overflow:hidden;
}

/* عنوان لوکس */

.students-title{
font-size:26px;
font-weight:900;
text-align:center;
margin-bottom:30px;
color:#0d1b2a;
position:relative;
}

.students-title:after{
content:"";
width:70px;
height:4px;
background:linear-gradient(90deg,#ffd700,#0d6efd);
display:block;
margin:12px auto 0;
border-radius:20px;
}

/* لیست */

.students-list{

flex:1;

overflow-y:auto;

display:flex;
flex-direction:column;

gap:18px;

padding-left:5px;

}


/* کارت دانش آموز VIP */

.student-card-vip{
display:flex;
align-items:center;
gap:18px;
padding:20px;
border-radius:18px;
background:#f9fbff;
position:relative;
transition:all .4s ease;
border:1px solid #edf2ff;
overflow:hidden;
cursor:pointer;
flex-shrink:0;
}

/* افکت نور عبوری */

.student-card-vip::before{
content:"";
position:absolute;
top:0;
left:-120%;
width:100%;
height:100%;
background:linear-gradient(120deg,transparent,rgba(255,255,255,.7),transparent);
transition:.7s;
}

.student-card-vip:hover::before{
left:120%;
}

.student-card-vip:hover{
transform:translateY(-10px) scale(1.04);
background:#ffffff;
box-shadow:0 25px 50px rgba(13,110,253,0.25);
border-color:#0d6efd;
}

/* آواتار */

.vip-avatar{
width:80px;
height:80px;
border-radius:50%;
overflow:hidden;
border:4px solid #e6efff;
flex-shrink:0;
transition:.4s;
}

.student-card-vip:hover .vip-avatar{
border-color:#0d6efd;
transform:scale(1.05);
}

.vip-avatar img{
width:100%;
height:100%;
object-fit:cover;
}

/* محتوا */

.vip-content h4{
font-size:17px;
font-weight:900;
color:#1a2a44;
margin-bottom:6px;
}

.vip-meta{
display:flex;
flex-direction:column;
gap:4px;
}

.vip-class{
font-size:13px;
color:#0d6efd;
font-weight:600;
}

.vip-achievement{
font-size:13px;
color:#666;
}

/* مدال رتبه */

.vip-rank{
position:absolute;
top:-12px;
left:-12px;
width:40px;
height:40px;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
font-size:18px;
box-shadow:0 10px 25px rgba(0,0,0,0.2);
animation:vipGlow 2s infinite;
}

/* رنگ‌ها */

.vip-rank-1{
background:linear-gradient(135deg,#ffd700,#ffb300);
}

.vip-rank-2{
background:linear-gradient(135deg,#e0e0e0,#bdbdbd);
}

.vip-rank-3{
background:linear-gradient(135deg,#cd7f32,#a97142);
}

/* انیمیشن glow */

@keyframes vipGlow{
0%{box-shadow:0 0 10px rgba(255,193,7,.5)}
50%{box-shadow:0 0 25px rgba(255,193,7,.9)}
100%{box-shadow:0 0 10px rgba(255,193,7,.5)}
}

/* اسکرول سفارشی */

.students-list::-webkit-scrollbar{
width:6px;
}

.students-list::-webkit-scrollbar-thumb{
background:#0d6efd;
border-radius:10px;
}

/* موبایل */

@media(max-width:768px){
.students-grid{
grid-template-columns:1fr;
}
.students-box{
background:#ffffff;
border-radius:22px;
padding:35px;
box-shadow:0 25px 60px rgba(13,110,253,0.12);

height:480px;
display:flex;
flex-direction:column;

overflow:hidden;
}

}
/* --- APP SECTION STYLE --- */
.app-section {
    padding: 80px 0;
    background: #ffffff;
    overflow: hidden;
}

.app-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

.app-images {
    flex: 1;
    text-align: center;
}

.app-images img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
}

.app-content {
    flex: 1;
    text-align: right;
}

.app-subtitle {
    color: #0d6efd;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.app-title {
    font-size: 2.5rem;
    color: #0d1b2a;
    margin-bottom: 25px;
    font-weight: 900;
}

.app-text {
    line-height: 2;
    color: #555;
    margin-bottom: 30px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #0d47a1; /* رنگ آبی سازمانی شما */
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: 0.4s;
    
    /* استایل اختصاصی خط‌چین */
    border: 2px dashed #0d47a1; /* خط اصلی */
    outline: 2px solid #0d47a1; /* لایه بیرونی */
    outline-offset: 6px;       /* فاصله خط‌چین از دکمه */
}

.btn-download:hover {
    background: #ff7a00; /* تغییر رنگ به نارنجی در هاور */
    border-color: #ff7a00;
    outline-color: #ff7a00;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 122, 0, 0.3);
}

.btn-icon {
    font-size: 20px;
}


/* ریسپانسیو */
@media (max-width: 768px) {
    .app-grid { flex-direction: column; text-align: center; }
    .app-content { text-align: center; }
}
/* تنظیمات کلی فوتر شریف */
.sharif-footer {
    background: #fff;
    padding: 80px 0 30px 0;
    direction: rtl;
    font-family: 'IRANYekan', tahoma;
    border-top: 1px solid #eee;
}

.footer-wrapper {
    display: flex;
    gap: 50px;
    align-items: stretch;
}

/* --- بخش سمت راست (کارت آبی اطلاعات تماس) --- */
.footer-right-card {
    flex: 1;
    background: #5bd2f8; /* آبی مشابه تصویر همکلاسی */
    border-radius: 40px;
    padding: 40px 30px;
    color: white;
    min-width: 400px;
    box-shadow: 0 15px 35px rgba(91, 210, 248, 0.25);
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 22px;
}

.info-row:last-child { margin-bottom: 0; }

.info-label {
    display: block;
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 4px;
}

.info-text p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.phone-num {
    font-size: 18px !important;
    font-weight: bold;
    letter-spacing: 1px;
}

.info-icon {
    background: rgba(255,255,255,0.25);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

/* --- بخش سمت چپ --- */
.footer-left {
    flex: 1.8;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

.footer-nav a {
    text-decoration: none;
    color: #666;
    font-size: 15px;
    font-weight: 500;
    transition: 0.3s;
}

.footer-nav a:hover { color: #0d47a1; }

/* استایل ویژه دکمه پیش ثبت نام */
.nav-special {
    background: #ff7a00;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.3);
}

.nav-special:hover {
    background: #e66d00 !important;
    transform: translateY(-2px);
}

.footer-brand-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-text { text-align: left; }
.brand-text h2 { color: #555; font-size: 22px; margin: 0; }
.brand-text span { color: #999; font-size: 13px; }
.footer-logo-img { height: 65px; }

.footer-desc {
    margin-bottom: 35px;
    line-height: 2;
    color: #777;
    text-align: justify;
    font-size: 14.5px;
}

/* نوار شبکه‌های اجتماعی */
.social-bar {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.social-title {
    color: #4dbdfa;
    font-size: 16px;
    font-weight: bold;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

.social-item:hover { color: #0d47a1; }
.social-item img { width: 24px; height: 24px; }
.social-divider { color: #ddd; }

/* کپی رایت */
.footer-copyright {
    text-align: center;
    margin-top: 50px;
    color: #aaa;
    font-size: 13px;
    border-top: 1px solid #f5f5f5;
    padding-top: 25px;
}

/* ریسپانسیو موبایل */
@media (max-width: 1100px) {
    .footer-wrapper { flex-direction: column-reverse; }
    .footer-right-card { min-width: 100%; }
    .footer-top-row { flex-direction: column-reverse; gap: 30px; align-items: flex-start; }
    .footer-nav { flex-wrap: wrap; gap: 15px; }
    .social-bar { justify-content: center; flex-wrap: wrap; }
}
.social-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555; /* رنگ متن */
    font-size: 14px;
    text-decoration: none; /* حذف خط زیر لینک */
    transition: 0.3s;
    cursor: pointer;
}

.social-item:hover {
    color: #0d47a1; /* تغییر رنگ هنگام هاور */
    transform: translateY(-2px); /* حرکت کوچک به بالا */
}

.social-item img {
    width: 24px;
    height: 24px;
    transition: 0.3s;
}

.social-item:hover img {
    filter: brightness(0.8); /* کمی تیره شدن آیکون هنگام هاور */
}
.section-title{
text-align:center;
font-size:28px;
margin-bottom:40px;
color:#0d47a1;
}


/* hero */

.about-hero{
background:linear-gradient(120deg,#0d47a1,#5bd2f8);
color:white;
padding:120px 0;
text-align:center;
}

.about-hero h1{
font-size:40px;
margin-bottom:15px;
}

.about-hero p{
font-size:18px;
opacity:.9;
}



/* intro */

.intro-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
align-items:center;
padding:80px 0;
}

.intro-image img{
width:100%;
border-radius:20px;
}



/* features */

.features{
background:#f8f9fa;
padding:80px 0;
}

.feature-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
}

.feature-card{
background:white;
padding:30px;
border-radius:15px;
box-shadow:0 10px 25px rgba(0,0,0,0.05);
text-align:center;
transition:.3s;
}

.feature-card:hover{
transform:translateY(-5px);
}



/* timeline */

.timeline{
padding:80px 0;
}

.timeline-items{
border-right:3px solid #ff7a00;
padding-right:30px;
}

.timeline-item{
margin-bottom:40px;
}

.timeline-year{
color:#ff7a00;
font-weight:bold;
font-size:20px;
}

.timeline-content h3{
margin:5px 0;
}



/* stats */

.stats{
background:#0d47a1;
color:white;
padding:70px 0;
}

.stats-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
text-align:center;
}

.stat-box h3{
font-size:36px;
color:#ff7a00;
}



/* gallery */

.gallery{
padding:80px 0;
}

.gallery-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
}

.gallery-grid img{
width:100%;
border-radius:15px;
}



/* cta */

.cta{
background:#ff7a00;
color:white;
text-align:center;
padding:70px 0;
}

.cta-btn{
background:white;
color:#ff7a00;
padding:12px 30px;
border-radius:40px;
text-decoration:none;
font-weight:bold;
display:inline-block;
margin-top:20px;
}



/* responsive */

@media(max-width:900px){

.intro-grid{
grid-template-columns:1fr;
}

.feature-grid{
grid-template-columns:1fr 1fr;
}

.stats-grid{
grid-template-columns:1fr 1fr;
}

.gallery-grid{
grid-template-columns:1fr;
}

}
/* HERO */
.news-hero{
background:linear-gradient(120deg,#0d47a1,#5bd2f8);
color:white;
text-align:center;
padding:100px 0;
}

.news-hero h1{
font-size:36px;
margin-bottom:10px;
}

.news-hero p{
opacity:.9;
font-size:16px;
}



/* GRID */
.news-section{
padding:80px 0;
background:#f8f9fa;
}

.news-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
}



/* CARD */
.news-card{
background:white;
border-radius:20px;
overflow:hidden;
box-shadow:0 15px 35px rgba(0,0,0,0.05);
transition:.4s;
display:flex;
flex-direction:column;
}

.news-card:hover{
transform:translateY(-8px);
box-shadow:0 25px 50px rgba(0,0,0,0.1);
}



/* IMAGE */
.news-image{
position:relative;
height:220px;
overflow:hidden;
}

.news-image img{
width:100%;
height:100%;
object-fit:cover;
transition:.4s;
}

.news-card:hover img{
transform:scale(1.1);
}

.news-badge{
position:absolute;
top:15px;
right:15px;
background:#ff7a00;
color:white;
padding:6px 14px;
border-radius:30px;
font-size:12px;
}



/* CONTENT */
.news-content{
padding:25px;
display:flex;
flex-direction:column;
flex-grow:1;
}

.news-content h2{
font-size:18px;
margin-bottom:12px;
}

.news-content h2 a{
text-decoration:none;
color:#0d47a1;
transition:.3s;
}

.news-content h2 a:hover{
color:#ff7a00;
}

.news-summary{
color:#666;
font-size:14px;
line-height:1.8;
flex-grow:1;
}



/* READ MORE */
.read-more{
margin-top:15px;
color:#ff7a00;
font-weight:bold;
text-decoration:none;
transition:.3s;
}

.read-more:hover{
color:#0d47a1;
}



/* NO NEWS */
.no-news{
text-align:center;
padding:60px;
font-size:18px;
color:#777;
}



/* RESPONSIVE */
@media(max-width:1100px){
.news-grid{
grid-template-columns:repeat(2,1fr);
}
}

@media(max-width:768px){
.news-grid{
grid-template-columns:1fr;
}
}
/* تنظیمات ریسپانسیو برای موبایل */
@media (max-width: 992px) {
    /* ۱. مخفی کردن منوی اصلی دسکتاپ و نمایش همبرگری */
    .menu { display: none !important; }
    .hamburger { display: flex !important; }
    .desktop-name { display: none !important; }
    .mobile-name  { display: block !important; }
    /* ۲. مدیریت نمایش نام مدرسه */
    .desktop-name { 
        display: none !important; /* در موبایل مخفی */
    }

    .mobile-name { 
        display: block !important; /* در موبایل حتما نمایش داده شود */
        font-size: 14px; 
        font-weight: bold;
        white-space: nowrap; /* جلوگیری از شکست خط */
    }
    .menu { display: none !important; }

    /* ۳. اصلاح ساختار هدر */
    .header.glass {
        background: white !important;
        backdrop-filter: none !important;
    }
    .header-inner {
        flex-wrap: wrap;
        height: auto !important;
        padding: 10px 15px;
    }

    .logo-area {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .logo-area img { height: 40px; }

    .hamburger { display: flex !important; }


    .header-buttons {
        width: 100%;
        display: flex;
        gap: 8px;
        margin-top: 12px;
        order: 3;
    }
    
    .header-buttons a {
        flex: 1;
        text-align: center;
        font-size: 11px;
        padding: 8px 5px;
    }

    /* ۴. اصلاح فاصله بدنه */
    body { padding-top: 130px !important; }
}


.has-submenu-mobile.active > .submenu-mobile {
    display: block;
}
/* ============================= */
/* HOME SLIDER MOBILE FIX */
/* ============================= */

@media (max-width: 900px){

.top-grid{
grid-template-columns: 1fr; /* فقط یک ستون */
}

.home-news{
display:none; /* مخفی شدن باکس اخبار */
}

.home-slider{
width:100%;
}

.slides{
height:220px; /* ارتفاع مناسب موبایل */
}

.slide img{
height:220px;
object-fit:cover;
}

.slider-btn{
width:32px;
height:32px;
font-size:18px;
}
.header.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
}

.header.scrolled .school-name,
.header.scrolled .school-name span,
.header.scrolled .btn-coop,
.header.scrolled .btn-register-big,
.header.scrolled .hamburger span {
    color: #0d47a1 !important;
    background: none !important;
}
}
/* فقط در موبایل */
@media (max-width: 900px){
    .mobile-only-menu {
        display: block; /* فعال در موبایل */
        background: #fff;
        padding: 15px;
        border-top: 1px solid #eee;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        position: fixed;
        top: 90px; /* زیر هدر */
        right: 0;
        width: 100%;
        z-index: 9998;
    }
    .mobile-only-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .mobile-only-menu li {
        margin-bottom: 12px;
    }
    .has-submenu-mobile > a::after {
        content: " ▾";
        float: left;
        transition: transform 0.3s;
    }
    /* باز کردن زیرمنو */
    .has-submenu-mobile.active > .submenu-mobile {
        display: block;
        margin-top: 8px;
        padding-left: 15px;
    }
}
/* مخفی در دسکتاپ، فعال در موبایل */
@media (max-width: 900px){
    .mobile-only-menu {
        display: block; /* نمایش در موبایل */
    }
}
@media (min-width: 901px){
    .mobile-only-menu {
        display: none !important;
    }
}
   @media (min-width: 901px) {
       .mobile-menu { display: none !important; }
   }
/* ============================= */
/* SPECIAL SAMPLE CLASS DESIGN */
/* ============================= */

.class-list{
display:flex;
flex-direction:column;
gap:25px;
margin-top:10px;
}

/* کارت اصلی */

.special-class{
background:linear-gradient(135deg,#fff8e1,#ffffff);
border-radius:18px;
padding:30px 25px;
text-align:center;
position:relative;
border:2px solid #ffe082;
box-shadow:0 10px 30px rgba(255,193,7,0.2);
transition:all .4s ease;
overflow:hidden;
}

/* افکت نور */

.special-class::before{
content:"";
position:absolute;
top:0;
left:-120%;
width:100%;
height:100%;
background:linear-gradient(120deg,transparent,rgba(255,255,255,.7),transparent);
transition:.7s;
}

.special-class:hover::before{
left:120%;
}

.special-class:hover{
transform:translateY(-10px) scale(1.04);
box-shadow:0 25px 50px rgba(255,193,7,0.4);
}

/* ستاره بالا */

.class-star{
position:absolute;
top:-15px;
left:-15px;
background:linear-gradient(135deg,#ffd700,#ffb300);
width:50px;
height:50px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:22px;
box-shadow:0 10px 25px rgba(0,0,0,0.2);
animation:classGlow 2s infinite;
}

/* عنوان کلاس */

.class-title{
font-size:22px;
font-weight:900;
color:#0d47a1;
margin-bottom:10px;
}

/* توضیح */

.class-desc{
font-size:14px;
line-height:1.9;
color:#555;
margin-bottom:15px;
}

/* نشان */

.class-badge{
display:inline-block;
background:#0d47a1;
color:white;
font-size:13px;
padding:6px 14px;
border-radius:30px;
}

/* انیمیشن درخشش */

@keyframes classGlow{
0%{box-shadow:0 0 10px rgba(255,193,7,.4)}
50%{box-shadow:0 0 25px rgba(255,193,7,.9)}
100%{box-shadow:0 0 10px rgba(255,193,7,.4)}
}

.class-list{
display:flex;
flex-direction:column;
gap:25px;
margin-top:10px;
}

/* جعبه */

.sample-box{
background:#0d47a1;
border-radius:18px;
padding:30px;
position:relative;
overflow:hidden;
text-align:center;
box-shadow:0 15px 40px rgba(13,71,161,0.25);
}

/* داخل جعبه */

.sample-box-inner{
background:white;
border-radius:12px;
padding:25px;
position:relative;
overflow:hidden;
}

/* عنوان کلاس */

.sample-class-name{
font-size:24px;
font-weight:900;
color:#0d47a1;
position:relative;
transform:translateY(60px);
opacity:0;
animation:classReveal 1s forwards;
}

/* برچسب */

.sample-label{
position:absolute;
top:-12px;
right:20px;
background:#ff7a00;
color:white;
padding:6px 14px;
border-radius:20px;
font-size:12px;
font-weight:bold;
}

/* انیمیشن بیرون آمدن از جعبه */

@keyframes classReveal{

0%{
transform:translateY(60px);
opacity:0;
}

60%{
transform:translateY(-10px);
opacity:1;
}

100%{
transform:translateY(0);
opacity:1;
}

}

/* افکت هاور */

.sample-box:hover{
transform:translateY(-8px);
box-shadow:0 25px 60px rgba(13,71,161,0.35);
transition:.3s;
}

.sample-box:hover .sample-class-name{
color:#ff7a00;
}
/* تنظیمات پایه برای دسکتاپ */
.news-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
}

/* تنظیمات مخصوص موبایل */
@media (max-width: 768px) {
    .news-grid {
        display: block !important; /* تبدیل از حالت افقی به عمودی */
        width: 100% !important;
    }
    
    .news-slider {
        display: block;
        max-height: 450px; /* محدود کردن ارتفاع باکس اخبار در موبایل */
        overflow-y: auto;   /* فعال کردن اسکرول عمودی */
        padding: 10px;
        border: 1px solid #eee;
    }
    
    .news-card {
        width: 100% !important; /* تمام عرض در موبایل */
        margin-bottom: 15px;
    }
    
    .news-arrow {
        display: none; /* مخفی کردن دکمه‌ها در موبایل */
    }
}
/* اصلاح اسلایدر اخبار برای دسکتاپ */
@media (min-width: 769px) {
    .news-slider {
        display: block;
        overflow-x: hidden; /* مخفی کردن اسکرول‌بار مرورگر */
        width: 100%;
        position: relative;
    }

    .news-grid {
        display: flex !important; /* اجبار به قرارگیری کنار هم */
        flex-wrap: nowrap; /* جلوگیری از شکستن خط */
        gap: 20px;
        width: max-content; /* عرض بر اساس تعداد کارت‌ها */
        transition: transform 0.5s ease;
    }

    .news-card {
        width: 350px !important; /* عرض دقیق برای هر کارت */
        flex: 0 0 350px; /* جلوگیری از تغییر سایز کارت */
    }
}
/* پاکسازی کامل استایل‌های پیش‌فرض لیست برای منوی موبایل */
.mobile-menu-list, 
.mobile-menu-list ul, 
.mobile-menu-list li {
    list-style: none !important; /* حذف دایره‌ها */
    margin: 0;
    padding: 0;
}

/* استایل‌دهی به لینک‌های منو */
.mobile-menu-list a {
    text-decoration: none !important; /* حذف زیرخط */
    display: block;
    padding: 15px 20px;
    color: #333;
    border-bottom: 1px solid #eee; /* یک خط نازک ملایم */
}

/* حذف استایل‌های اضافه ساب‌منو */
.submenu-mobile {
    background-color: #f9f9f9;
    padding-right: 30px !important; /* فاصله از راست برای ساب‌منو */
}

.submenu-mobile a {
    font-size: 0.9em;
    color: #666;
    border-bottom: none !important; /* حذف خط زیر لینک‌های ساب‌منو */
}

/* حذف دایره‌های احتمالی در تگ‌های ul */
.mobile-menu-list ul {
    list-style-type: none !important;
}
