.elementor-5051 .elementor-element.elementor-element-f05eebe{--display:flex;}:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-0128365 */:root {
    --primary: #FFD700; /* زرد شارپ */
    --dark: #0F172A;    /* سرمه‌ای عمیق */
    --accent: #1E293B;
    --white: #ffffff;
    --success: #10b981;
}

/* استایل‌های کلی */
.gt-landing-wrapper {
    font-family: "IRANSansWeb_Medium", IRANSans;
    background-color: #f8fafc;
    color: var(--dark);
    line-height: 1.8;
    direction: rtl;
}

/* Hero Section */
.hero-container {
    background-color: var(--dark);
    color: var(--white);
    padding: 50px 20px;
    text-align: center;
    border-bottom: 6px solid var(--primary);
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}

.hero-text { flex: 1; min-width: 300px; padding: 20px; }
.hero-img-placeholder { 
    flex: 1; min-width: 300px; height: 250px; 
    background: #1e293b; border-radius: 20px; 
    display: flex; align-items: center; justify-content: center;
    border: 2px dashed var(--primary);
}

/* Description Box */
.promo-text {
    max-width: 900px;
    margin: 40px auto;
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-right: 8px solid var(--primary);
}

/* Grid Cards - استایل پایه */
.grid-container {
    display: grid;
    /* در دسکتاپ به صورت خودکار تنظیم می‌شود */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 20px;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.info-card {
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #e2e8f0;
}
.info-card h4 { color: #64748b; margin-bottom: 10px; font-size: 0.9rem; }
.info-card p { font-weight: bold; margin: 0; color: var(--dark); font-size: 1rem; }

/* تنظیمات مخصوص موبایل (دو ستونه + فونت کوچک) */
@media (max-width: 600px) {
    .grid-container {
        /* اجبار به نمایش ۲ ستون مساوی */
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important; /* فاصله بین کارت‌ها کمتر شود */
        padding: 0 10px;
    }

    .info-card {
        padding: 10px 5px !important; /* فضای خالی داخل کارت کمتر شود */
    }

    .info-card h4 {
        font-size: 0.75rem; /* فونت عنوان (مثل شهریه) کوچک شود */
        margin-bottom: 5px;
    }

    .info-card p {
        font-size: 0.8rem; /* فونت مقدار کوچک شود */
        line-height: 1.3;
    }
}

/* Benefits Section */
.benefits-container {
    max-width: 1000px;
    margin: 50px auto;
    padding: 40px 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background: #fdfdfd;
    border-radius: 10px;
}
.benefit-icon {
    background: var(--primary);
    width: 30px; height: 30px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-left: 15px; flex-shrink: 0; font-weight: bold;
}

/* Levels & Circles */
.levels-section { text-align: center; margin: 60px 0; }
.circles-wrap {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-top: 30px;
}
.circle {
    width: 110px; height: 110px; border: 2px solid var(--dark); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; font-size: 0.85rem; transition: 0.3s;
}

/* Table */
.table-box { max-width: 1000px; margin: 40px auto; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: white; border-radius: 15px; overflow: hidden; }
th { background: var(--dark); color: var(--primary); padding: 15px; }
td { padding: 15px; text-align: center; border-bottom: 1px solid #eee; }

/* Documents */
.docs-section {
    max-width: 1000px; margin: 50px auto; padding: 30px;
    background: var(--white); border-radius: 20px; border: 2px solid #e2e8f0;
}

/* استایل باکس کلی سوالات */
.faq-box {
    max-width: 1000px;
    margin: 50px auto;
    padding: 30px;
    background: #f1f5f9;
    border-radius: 20px;
}

/* استایل هر آیتم (تگ details) */
details.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

details.faq-item[open] {
    border-color: var(--primary); /* وقتی باز است بوردر زرد شود */
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* استایل تیتر سوال (تگ summary) */
summary.faq-trigger {
    padding: 15px 20px;
    cursor: pointer;
    font-weight: bold;
    color: var(--dark);
    list-style: none; /* حذف فلش پیش‌فرض مرورگر */
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

/* حذف فلش پیش‌فرض در کروم و سافاری */
summary.faq-trigger::-webkit-details-marker {
    display: none;
}

summary.faq-trigger:hover {
    background-color: #f8fafc;
}

/* ساخت آیکون + و - با CSS */
summary.faq-trigger::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary); /* رنگ آیکون */
    font-weight: bold;
    line-height: 1;
    margin-right: 15px; /* فاصله از متن */
    transition: transform 0.3s ease;
}

/* وقتی باز میشود آیکون بچرخد و تبدیل به ضربدر شود (یا با کانتنت منفی عوض شود) */
details[open] summary.faq-trigger::after {
    transform: rotate(45deg); /* برای حالت ضربدر */
    /* یا برای حالت منفی از این استفاده کنید: */
    /* content: '-'; transform: none; */
}

/* استایل محتوای جواب */
.faq-content {
    padding: 0 20px 20px 20px;
    color: #475569;
    line-height: 1.8;
    border-top: 1px solid #f1f5f9;
    margin-top: -10px; /* برای اتصال بهتر به بالا */
    padding-top: 15px;
    font-size: 0.95rem;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* =========================================
   Gravity Forms Styling (استایل‌های فرم)
   ========================================= */
.gt-form-container {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.1); /* پس‌زمینه محو برای هماهنگی */
    padding: 15px;
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* ورودی‌ها */
.gt-landing-wrapper .gform_wrapper input[type=text],
.gt-landing-wrapper .gform_wrapper input[type=email],
.gt-landing-wrapper .gform_wrapper input[type=tel],
.gt-landing-wrapper .gform_wrapper textarea,
.gt-landing-wrapper .gform_wrapper select {
    padding: 12px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    width: 100% !important;
    background: #fff !important;
    color: var(--dark) !important;
}

/* دکمه ارسال فرم - شبیه دکمه CTA قبلی */
.gt-landing-wrapper .gform_wrapper .gform_footer input[type=submit] {
    background: var(--primary) !important;
    color: var(--dark) !important;
    padding: 15px 40px !important;
    border-radius: 12px !important;
    font-weight: bold !important;
    font-size: 1.1rem !important;
    border: none !important;
    cursor: pointer !important;
    transition: 0.3s !important;
    width: 100%;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3) !important;
}

.gt-landing-wrapper .gform_wrapper .gform_footer input[type=submit]:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.5) !important;
}

/* لیبل‌ها */
.gt-landing-wrapper .gform_wrapper label.gfield_label {
    font-weight: bold;
    color: inherit; /* رنگ متن والد را میگیرد */
    margin-bottom: 5px;
}

/* تنظیم رنگ متن فرم در بخش هیرو */
.hero-container .gform_wrapper label.gfield_label { color: #fff; }
.hero-container .gform_heading { color: var(--primary); }

@media (max-width: 768px) { .hero-content { flex-direction: column-reverse; } }


.hero-text h2 {
    color: #ffffff !important;
    line-height: 50px;
}

.gform-theme--foundation .ginput_complex label
{
    display: none!important
    ;
}

.hfe-promo-notice.show {
    display: none!important;
}




/* --- اصلاح فرم شماره ۸ (مهاجرت تحصیلی) --- */

/* ۱. تنظیم چیدمان فیلدهای سابقه (4) و مدرک (6) برای قرارگیری در یک خط */
#gform_wrapper_8 #field_8_4, 
#gform_wrapper_8 #field_8_6 {
    float: right !important;     /* چینش از راست */
    clear: none !important;      /* جلوگیری از شکست خط */
    display: inline-block !important;
    margin-bottom: 15px !important;
}

/* ۲. ایجاد فاصله بین دو فیلد (فاصله سمت چپ برای فیلد اول) */
#gform_wrapper_8 #field_8_4 {
    margin-left: 4% !important;  
}

/* ۳. استایل‌دهی به باکس‌های انتخابی (Select) برای شباهت به فیلدهای متنی */
#gform_wrapper_8 #field_8_4 select, 
#gform_wrapper_8 #field_8_6 select {
    width: 100% !important;      /* عرض کامل باکس والد */
    height: 48px !important;     /* ارتفاع استاندارد فیلدها */
    padding: 0 12px !important;  /* فاصله داخلی متن */
    border: 1px solid #ccc !important; /* رنگ حاشیه یکسان با بقیه */
    border-radius: 4px !important;     /* گردی گوشه‌ها */
    background-color: #fff !important; /* پس‌زمینه سفید */
    font-family: "IRANSansWeb_Medium", IRANSans !important; /* فونت هماهنگ */
    color: #333 !important;      /* رنگ متن */
    outline: none !important;    /* حذف خط دور در حالت انتخاب */
    box-sizing: border-box !important;
}

/* ۴. تنظیم فونت گزینه‌های داخل لیست */
#gform_wrapper_8 option {
    font-family: "IRANSansWeb_Medium", IRANSans !important;
}

/* ۵. تنظیمات موبایل (ریسپانسیو: زیر هم قرار بگیرند) */
@media only screen and (max-width: 600px) {
    #gform_wrapper_8 #field_8_4, 
    #gform_wrapper_8 #field_8_6 {
        width: 100% !important;
        float: none !important;
        margin-left: 0 !important;
    }
}



/* ۳. استایل‌دهی کامل به باکس سلکت و افزودن آیکون */
#gform_wrapper_8 #field_8_4 select, 
#gform_wrapper_8 #field_8_6 select {
    width: 100% !important;
    height: 48px !important;
    padding: 0 12px 0 30px !important; /* پدینگ چپ بیشتر برای جلوگیری از تداخل متن با آیکون */
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    background-color: #fff !important;
    font-family: "IRANSansWeb_Medium", IRANSans !important;
    color: #333 !important;
    outline: none !important;
    box-sizing: border-box !important;
    
    /* --- تنظیمات آیکون فلش --- */
    appearance: none !important;        /* حذف آیکون پیش‌فرض مرورگر */
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    
    /* تصویر آیکون فلش (همان آیکون گرویتی فرم) */
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.292893 0.292893C0.683417 -0.097631 1.31658 -0.097631 1.70711 0.292893L5 3.58579L8.29289 0.292893C8.68342 -0.0976311 9.31658 -0.0976311 9.70711 0.292893C10.0976 0.683417 10.0976 1.31658 9.70711 1.70711L5.70711 5.70711C5.31658 6.09763 4.68342 6.09763 4.29289 5.70711L0.292893 1.70711C-0.0976311 1.31658 -0.0976311 0.683418 0.292893 0.292893Z' fill='%23555'/%3E%3C/svg%3E") !important;
    
    background-repeat: no-repeat !important;
    background-position: left 15px center !important; /* قرارگیری آیکون در سمت چپ (چون سایت راست‌چین است) */
    background-size: 10px 6px !important;
}/* End custom CSS */