/**
 * Table of Contents
 * 1.0 - Fonts
 * 2.0 - Reset css
 * 3.0 - Home
 * 4.0 - Index
 * 5.0 - Faq
 * 6.0 - Services
 * 7.0 - ftth
 * 8.0 - Contact
 * 9.0 - Media Query
 */

/* ==========================================================================
   1.0 Fonts
   ========================================================================== */

/*Roboto font*/
@font-face {
    font-family: 'robotobold';
    src: url('../fonts/roboto/roboto-bold-webfont.eot');
    src: url('../fonts/roboto/roboto-bold-webfontd41d.eot?#iefix') format('embedded-opentype'),
        url('../fonts/roboto/roboto-bold-webfont.woff2') format('woff2'),
        url('../fonts/roboto/roboto-bold-webfont.woff') format('woff'),
        url('../fonts/roboto/roboto-bold-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

/*open sans font*/
@font-face {
    font-family: 'open_sansbold';
    src: url('../fonts/open-sans/opensans-bold-webfont.eot');
    src: url('../fonts/open-sans/opensans-bold-webfontd41d.eot?#iefix') format('embedded-opentype'),
        url('../fonts/open-sans/opensans-bold-webfont.woff2') format('woff2'),
        url('../fonts/open-sans/opensans-bold-webfont.woff') format('woff'),
        url('../fonts/open-sans/opensans-bold-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'open_sansregular';
    src: url('../fonts/open-sans/opensans-regular-webfont.eot');
    src: url('../fonts/open-sans/opensans-regular-webfontd41d.eot?#iefix') format('embedded-opentype'),
        url('../fonts/open-sans/opensans-regular-webfont.woff2') format('woff2'),
        url('../fonts/open-sans/opensans-regular-webfont.woff') format('woff'),
        url('../fonts/open-sans/opensans-regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'open_sanslight';
    src: url('../fonts/open-sans/opensans-light-webfont.eot');
    src: url('../fonts/open-sans/opensans-light-webfontd41d.eot?#iefix') format('embedded-opentype'),
        url('../fonts/open-sans/opensans-light-webfont.woff2') format('woff2'),
        url('../fonts/open-sans/opensans-light-webfont.woff') format('woff'),
        url('../fonts/open-sans/opensans-light-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

/* ==========================================================================
   2.0 Reset css
   ========================================================================== */
html,
body {
    overflow-x: hidden;
    height: 100%;
    font-family: 'open_sansregular';
    line-height: 20px;
    color: #959595;
    background: #f9f9f9;
    font-size: 13px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'robotobold';
    margin: 0px;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    padding: 0px;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    outline: 0;
}

.nav>li>a:link,
.nav>li>a:active .nav>li>a:focus,
.nav>li>a:hover {
    text-decoration: none;
    background-color: transparent;
    outline: 0;
    -moz-outline: 0;
}

a:hover,
a:focus {
    text-decoration: none;
    background-color: transparent;
    outline: 0;
    -moz-outline: 0;
}

section .section-text {
    padding: 0px 0px 70px 0px;
}

section .section-heading {
    font-family: 'robotobold';
    font-size: 24px;
    color: #362f2d;
    line-height: 36px;
    letter-spacing: 10px;
    text-transform: uppercase;
    padding-bottom: 20px;
}

.row-m-bttom {
    margin-bottom: 60px;
}

.li-margin {
    margin-bottom: 30px;
}

.pad-0 {
    padding: 0px;
}

.pad-ex {
    padding: 3px;
}

.npl {
    padding-left: 0px;
}

.npr {
    padding-right: 0px;
}


/* ==========================================================================
   3.0 Home-content Styling - REVISED (Main Profile)
   ========================================================================== */
.content {
    position: absolute;
    top: 50%;
    margin-top: -300px;
    width: 100%;
}

.content .side-menu {
    -webkit-box-shadow: 0px 1px 7px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 1px 7px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 1px 7px rgba(0, 0, 0, 0.1);
    background: #fff;
    width: 26%;
    float: left;
}

.content .nav-tabs>li {
    float: none;
}

.content .side-menu li a {
    display: block;
    text-align: center;
    cursor: pointer;
    padding: 30px 0;
    border-bottom: 1px solid #d7d7d7;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    margin-right: 0px;
    border-radius: 0px;
    line-height: 25px;
}

.content .side-menu li:last-child a {
    border-bottom: 0px;
}

.content .side-menu li a i {
    color: #265CDC;
}

.content .side-menu li a:hover {
    color: #265CDC;
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
}

.content .side-menu li a:hover>i,
.content .side-menu li a:hover>span {
    color: #265CDC;
}

.content .side-menu li.active a {
    background: #265CDC;
    color: #fff;
    border: 0px;
}

.content .side-menu li.active a>i,
.content .side-menu li.active a>span {
    color: #fff;
}

.content .side-menu li a i {
    font-size: 30px;
}

.content .side-menu li a span {
    color: #b7b7b7;
}

/* Main Profile Styling - REVISED */
.content .main-profile {
    width: 70%;
    -webkit-box-shadow: 0px 1px 7px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 1px 7px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 1px 7px rgba(0, 0, 0, 0.1);
    background: #fff;
    float: left;
    margin-left: 15px;
    text-align: center;
    padding: 20px 25px;
    /* پدینگ بیشتر برای فضای بهتر */
    height: 596px;
    display: flex;
    /* استفاده از فلکس‌باکس برای چیدمان عمودی */
    flex-direction: column;
    align-items: center;
    /* وسط چین افقی محتویات */
    justify-content: flex-start;
    /* شروع محتویات از بالا */
}

.content .main-profile .logo-img {
    /* height: 150px; */
    /* width: 150px; */
    /* border: 6px solid #e0e0e0; */
    margin-bottom: 15px;
    object-fit: cover;
    border-radius: 50%;
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); */
}

.content .main-profile .text-wrapper {
    padding: 0;
    /* حذف پدینگ اضافی */
    max-width: 85%;
    /* محدود کردن عرض متن */
    margin-bottom: 20px;
    /* فاصله از پایین (اگر چیزی بود) */
}

.content .main-profile .text-wrapper h3 {
    font-size: 38px;
    /* سایز بزرگتر برای نام */
    color: #000;
    margin-bottom: 10px;
    /* فاصله از عنوان زیرین */
    font-family: 'robotobold';
}

.content .main-profile .text-wrapper h4 {
    font-size: 22px;
    /* سایز بزرگتر برای عنوان */
    color: #898989;
    font-family: 'open_sansregular';
    padding: 0;
    margin-bottom: 25px;
    /* فاصله از پاراگراف */
}

.content .main-profile .text-wrapper p {
    font-size: 15px;
    /* سایز مناسب برای متن توضیحات */
    color: #555;
    /* رنگ تیره‌تر برای خوانایی بهتر */
    line-height: 1.8;
    text-align: justify;
    /* توجیه متن */
    margin-bottom: 0;
    /* حذف مارجین اضافی */
    font-family: 'open_sansregular';
}

/* Social Wrapper Styling */
.content .main-profile .social-wrapper {
    margin-top: 15px;
    /* فاصله از متن توضیحات */
    text-align: center;
    flex-shrink: 0;
    /* جلوگیری از کوچک شدن */
}

.content .main-profile .social-wrapper a {
    font-size: 24px;
    /* اندازه آیکون‌ها بزرگتر */
    color: #265CDC;
    /* رنگ اصلی */
    margin: 0 8px;
    /* فاصله بین آیکون‌ها */
    transition: all 0.3s ease;
    display: inline-block;
    /* برای اعمال transform */
}

.content .main-profile .social-wrapper a:hover {
    color: #0A3AAD;
    /* رنگ هاور */
    transform: translateY(-3px);
    /* افکت کوچک بالا آمدن */
}


/* Media Query Adjustments */
@media only screen and (min-width: 992px) {
    .content .side-menu {
        position: relative;
        right: 74%;
    }

    .content .main-profile {
        position: relative;
        left: 25%;
    }
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
    .res-m-bttm {
        margin-bottom: 35px;
    }

    .res-m-top {
        margin-top: 35px;
    }

    .pad-l-0 {
        padding-left: 0px;
    }

    .content .side-menu {
        width: 100%;
        height: auto;
    }

    .content .main-profile {
        width: 100%;
        height: auto;
        margin-left: 0px;
        margin-bottom: 30px;
        padding: 30px 20px;
        /* پدینگ برای حالت ریسپانسیو */
    }

    .content .side-menu li {
        display: inline-block;
        width: 19.6%
    }

    .content .side-menu li a {
        border-bottom: 0px;
    }

    .content {
        top: 3%;
        margin-top: 0;
    }

    .content .main-profile .pro-img {
        /* تنظیم سایز تصویر در ریسپانسیو */
        height: 120px;
        width: 120px;
    }
}

@media only screen and (min-width: 768px) and (max-width : 800px) {
    .container {
        width: 700px;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 767px) {
    body {
        font-size: 12px;
    }

    .container {
        margin: 0 25px;
    }

    .services .services-wrapper .services-item {
        height: 200px;
        width: 45%;
    }

    .content .side-menu {
        width: 100%;
        height: auto;
    }

    .content .side-menu li {
        width: 19.4%;
    }

    .content .side-menu li a {
        padding: 10px 0px;
    }

}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
    .container {
        margin: 0 30px;
    }

    .services .services-wrapper .services-item {
        width: 100%;
        height: 210px;
    }

    .content .side-menu li {
        width: 19%;
    }

    .content .side-menu li a i {
        font-size: 13px;
    }

    .content .side-menu li a span {
        font-size: 8px;
    }

    .services .services-wrapper .services-item .link-box .services-hover .services-hover-content .extra-ink {
        top: 35%;
    }

    .services .filters-menu li a {
        padding: 5px 5px;
        font-size: 11px;
    }

    .index .abt-focus .st-line {
        width: 100%;
    }

    .content .main-profile .text-wrapper h3 {
        /* تنظیم سایز فونت در موبایل */
        font-size: 30px;
    }

    .content .main-profile .text-wrapper h4 {
        /* تنظیم سایز فونت در موبایل */
        font-size: 16px;
    }

    .content .main-profile .text-wrapper p {
        /* تنظیم سایز فونت در موبایل */
        font-size: 13px;
    }
}

/* ==========================================================================
   4.0 Index Styling - FINAL REVISION (مرتب سازی متن و آیکون ها)
   ========================================================================== */

.details-wrapper .tab-pane {
    /* استایل کلی tab-pane */
    padding: 30px 25px;
    background: #fff;
    -webkit-box-shadow: 0px 1px 7px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 1px 7px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 1px 7px rgba(0, 0, 0, 0.1);
    height: 596px;
    overflow: auto;
    text-align: right;
    /* تراز پیش فرض برای محتوای تب */
}

/* استایل عنوان‌های بخش (Section Title) - استفاده از استایل سراسری .section-title */
.index .section-title {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
    /* عنوان همیشه وسط چین باشد */
    padding-bottom: 15px;
    font-family: 'robotobold';
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.index .section-title::after {
    content: '';
    display: block;
    width: 50%;
    height: 4px;
    background-color: #0A3AAD;
    position: absolute;
    bottom: 0;
    left: 25%;
    border-radius: 5px;
}

/* استایل عنوان‌های زیربخش (Sub-Section Title) */
.index .sub-section-title {
    font-size: 24px;
    color: #333;
    font-family: 'open_sansbold';
    text-align: center;
    /* زیر عنوان ها هم وسط چین باشند */
    margin-top: 50px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.index .sub-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #265CDC;
    margin: 5px auto 0;
    border-radius: 2px;
}

/* استایل متن معرفی صفحه نخست */
.index .home-intro-text {
    font-size: 1.15em;
    color: #444;
    line-height: 1.8;
    text-align: justify;
    /* متن اصلی Justify شود برای نظم بیشتر */
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'open_sansregular';
}

.index .home-intro-text .highlight-text {
    color: #265CDC;
    font-weight: bold;
    font-family: 'robotobold';
}

/* استایل لیست خدمات اصلی (Service Promo Cards) */
.index .main-services-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-bottom: 60px;
}

.index .service-promo-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    flex: 1 1 calc(33.333% - 50px/3);
    max-width: 320px;
    min-width: 280px;
    text-align: center;
    /* متن داخل کارت‌ها وسط چین باشد */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 992px) {
    .index .service-promo-card {
        flex: 1 1 calc(50% - 25px);
        max-width: 48%;
    }
}

@media (max-width: 767px) {
    .index .service-promo-card {
        flex: 1 1 90%;
        max-width: 90%;
        margin: 10px auto;
    }
}

.index .service-promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 12px 35px rgba(0, 0, 0, 0.15);
}

.index .service-promo-card i {
    font-size: 60px;
    color: #265CDC;
    margin-bottom: 25px;
    background-color: #e6efff;
    border-radius: 50%;
    padding: 20px;
    box-shadow: 0 0 10px rgba(38, 92, 220, 0.1);
    transition: all 0.3s ease;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.index .service-promo-card:hover i {
    background-color: #265CDC;
    color: #fff;
    box-shadow: 0 0 20px rgba(38, 92, 220, 0.5);
}

.index .service-promo-card h5 {
    font-size: 22px;
    color: #333;
    font-family: 'open_sansbold';
    margin-bottom: 15px;
}

.index .service-promo-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
    text-align: justify;
    /* متن داخل کارت‌ها هم Justify شود */
}

.index .service-promo-card .learn-more-btn {
    background-color: #265CDC;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.95em;
    font-family: 'open_sansbold';
    transition: all 0.3s ease;
    border: 1px solid #265CDC;
    margin-top: auto;
}

.index .service-promo-card .learn-more-btn:hover {
    background-color: #0A3AAD;
    border-color: #0A3AAD;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


/* استایل بخش چرا اپکس باکس (Why Us List) */
.index .why-us-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.index .why-us-item {
    background-color: #fff;
    /* پس زمینه سفید برای کارت ها */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    /* سایه واضح تر */
    flex: 1 1 calc(50% - 20px);
    /* 2 ستون در دسکتاپ */
    max-width: 450px;
    min-width: 300px;
    /* حداقل عرض بیشتر */
    display: flex;
    flex-direction: column;
    /* تغییر به چیدمان عمودی در داخل کارت */
    align-items: center;
    /* وسط چین افقی محتوا */
    text-align: center;
    /* متن هم وسط چین باشد */
    transition: all 0.3s ease;
}

@media (max-width: 767px) {
    .index .why-us-item {
        flex: 1 1 90%;
        /* 1 ستون در موبایل */
        max-width: 90%;
        margin: 10px auto;
        /* وسط چین در موبایل */
        flex-direction: column;
        /* مطمئن می شویم که عمودی بماند */
        align-items: center;
        text-align: center;
    }
}

.index .why-us-item:hover {
    transform: translateY(-5px);
    /* افکت هاور ملایم تر */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    /* سایه عمیق تر در هاور */
}

.index .why-us-item i {
    font-size: 40px;
    /* آیکون ها کمی بزرگتر شوند */
    color: #265CDC;
    margin-bottom: 15px;
    /* فاصله بیشتر از عنوان */
    flex-shrink: 0;
    margin-right: 0;
    /* حذف margin-left قبلی */
    margin-top: 0;
    /* حذف margin-top قبلی */
    background-color: #e6efff;
    /* پس زمینه دایره ای */
    border-radius: 50%;
    width: 64px;
    /* تعیین عرض ثابت */
    height: 64px;
    /* تعیین ارتفاع ثابت - برابر با عرض برای دایره کامل */
    line-height: 64px;
    /* برای وسط چین عمودی آیکون در دایره */
    text-align: center;
    /* برای وسط چین افقی آیکون */
    padding: 0;
    /* حذف پدینگ قبلی که ممکن است باعث کشیدگی شود */
    box-sizing: border-box;
    /* برای اطمینان از اینکه پدینگ و بوردر به عرض و ارتفاع اضافه نمی کنند */
    box-shadow: 0 0 10px rgba(38, 92, 220, 0.1);
}

.index .why-us-item:hover i {
    background-color: #265CDC;
    /* تغییر رنگ پس زمینه آیکون در هاور */
    color: #fff;
    box-shadow: 0 0 15px rgba(38, 92, 220, 0.3);
}


.index .why-us-item h6 {
    font-size: 19px;
    /* سایز عنوان را کمی بزرگتر می کنیم */
    color: #333;
    font-family: 'open_sansbold';
    margin-bottom: 8px;
    /* فاصله از پاراگراف */
    line-height: 1.3;
    /* لاین هیت برای عنوان */
}

.index .why-us-item p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: center;
    /* متن توضیحات وسط چین شود */
}

/* استایل بخش فراخوان به عمل (Call to Action) */
.index .call-to-action-section {
    background: linear-gradient(to right, #265CDC, #0A3AAD);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    margin-top: 50px;
}

.index .call-to-action-section h4 {
    font-size: 28px;
    color: #fff;
    font-family: 'robotobold';
    margin-bottom: 30px;
    line-height: 1.4;
}

.index .call-to-action-section .main-cta-btn {
    background-color: #fff;
    color: #265CDC;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1em;
    font-family: 'open_sansbold';
    transition: all 0.3s ease;
    border: 2px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.index .call-to-action-section .main-cta-btn:hover {
    background-color: transparent;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}


/* ==========================================================================
   5.0 Faq Styling - REVISED (Accordion Structure)
   ========================================================================== */

.faq .section-title {
    /* Using the consistent section title style */
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
    padding-bottom: 15px;
    font-family: 'robotobold';
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.faq .section-title::after {
    content: '';
    display: block;
    width: 50%;
    height: 4px;
    background-color: #0A3AAD;
    position: absolute;
    bottom: 0;
    left: 25%;
    border-radius: 5px;
}

.faq .faq-intro-text {
    font-size: 1.15em;
    color: #444;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'open_sansregular';
}

.faq .faq-categories {
    margin-top: 30px;
}

.faq .faq-category-title {
    font-size: 24px;
    color: #265CDC;
    /* Main blue color for category titles */
    font-family: 'robotobold';
    margin-bottom: 30px;
    margin-top: 50px;
    /* Space between categories */
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.faq .faq-category-title::after {
    /* Underline for category titles */
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #0A3AAD;
    margin: 5px auto 0;
    border-radius: 2px;
}


/* Accordion/Panel Styling */
.faq .panel-group {
    margin-bottom: 50px;
    /* Space after each accordion group */
}

.faq .faq-panel {
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    /* Space between each FAQ item */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    /* To ensure border-radius works */
}

.faq .faq-panel:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.faq .panel-heading {
    background-color: #fcfcfc;
    /* Light background for question header */
    padding: 0;
    /* Remove default padding */
    border-bottom: 1px solid #eee;
}

.faq .panel-title {
    font-size: 1.15em;
    /* Larger font for question */
    font-family: 'open_sansregular';
    margin: 0;
    /* Remove default margin */
}

.faq .panel-title a {
    display: block;
    padding: 18px 25px;
    /* Padding for clickable area */
    color: #333;
    /* Color of the question text */
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.faq .panel-title a:hover {
    color: #265CDC;
    /* Hover color for question text */
    background-color: #f0f5ff;
    /* Light blue background on hover */
}

.faq .panel-title a i {
    /* Icon next to question */
    color: #265CDC;
    font-size: 1.2em;
    margin-left: 15px;
    /* Space from text */
    transition: transform 0.3s ease;
}

.faq .panel-title a.collapsed i {
    /* Icon rotation for collapsed state */
    transform: rotate(0deg);
}

.faq .panel-title a[aria-expanded="true"] i {
    /* Icon rotation for expanded state */
    transform: rotate(90deg);
    /* You can change this to 180deg for up/down arrow */
    color: #0A3AAD;
}

.faq .panel-body {
    padding: 20px 25px;
    /* Padding for answer content */
    background-color: #fff;
    line-height: 1.8;
    color: #555;
    font-size: 1em;
    border-top: 1px solid #eee;
    /* Line above the answer */
}



/* ==========================================================================
   6.0 Services Styling - REVISED (انتخاب خدمات و محتوای جدید)
   ========================================================================== */

.services .section-title {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
    padding-bottom: 15px;
    font-family: 'robotobold';
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.services .section-title::after {
    content: '';
    display: block;
    width: 50%;
    height: 4px;
    background-color: #0A3AAD;
    position: absolute;
    bottom: 0;
    left: 25%;
    border-radius: 5px;
}

.services .services-request-title {
    margin-top: 60px;
    /* فاصله از بخش انتخاب خدمات */
}


.services .services-intro-text {
    font-size: 1.15em;
    color: #444;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'open_sansregular';
}

.services .sub-section-title {
    /* استایل برای عنوان "خدمات اصلی ما" */
    font-size: 22px;
    color: #333;
    font-family: 'open_sansbold';
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.services .sub-section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: #265CDC;
    margin: 5px auto 0;
    border-radius: 2px;
}


.services .services-selection-container {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    /* توزیع فضا بین چک‌باکس‌ها */
    gap: 15px;
    /* فاصله بین گروه‌های چک‌باکس */
}

.services .checkbox-group {
    display: flex;
    align-items: flex-start;
    /* برای تراز بهتر با متن چند خطی، به flex-start تغییر یافت */
    margin-bottom: 15px;
    background-color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    flex: 1 1 calc(50% - 20px);
    /* دو ستون در حالت دسکتاپ */
    max-width: calc(50% - 20px);
}

/* در تبلت و موبایل، آیتم‌ها را تک ستونی می‌کنیم */
@media (max-width: 992px) {

    /* ۱. پدینگ افقی کانتینر چک‌باکس‌ها را حذف می‌کنیم */
    .services .services-selection-container {
        padding-left: 0;
        padding-right: 0;
        background-color: transparent;
        /* پس‌زمینه را شفاف می‌کنیم */
        box-shadow: none;
        /* سایه را حذف می‌کنیم */
    }
}

@media (max-width: 767px) {
    .services .checkbox-group {
        flex: 1 1 100%;
        /* در موبایل یک ستون */
        max-width: 100%;
    }
}


.services .checkbox-group:hover {
    border-color: #265CDC;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.services .checkbox-group input[type="checkbox"] {
    appearance: none;
    /* حذف ظاهر پیش فرض مرورگر */
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
    margin-left: 10px;
    /* فاصله از متن */
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    /* برای جلوگیری از کوچک شدن چک‌باکس */
}

.services .checkbox-group input[type="checkbox"]:checked {
    background-color: #265CDC;
    border-color: #265CDC;
}

.services .checkbox-group input[type="checkbox"]:checked::before {
    content: '\f00c';
    /* آیکون تیک از FontAwesome */
    font-family: 'FontAwesome';
    color: #fff;
    font-size: 14px;
}

.services .checkbox-group label {
    font-size: 1.05em;
    color: #444;
    cursor: pointer;
    line-height: 1.5;
    margin-bottom: 0;
    /* حذف مارجین بوت‌استرپ */
    font-family: 'open_sansregular';
}

.services .service-request-form {
    /* استایل های خاص برای فرم درخواست خدمات */
    /* ... (این فرم از استایل های .modern-form در بخش contact استفاده خواهد کرد) ... */
}

.services .form-text {
    font-size: 0.9em;
    color: #777;
    margin-top: 5px;
    display: block;
    text-align: right;
    font-family: 'open_sansregular';
}


/* ==========================================================================
   7.0 Ftth Styling - REVISED
   ========================================================================== */

.ftth .section-title {
    /* استفاده از همان استایل عنوان بخش تماس */
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
    /* border-bottom: 2px solid #265CDC; */
    padding-bottom: 15px;
    font-family: 'robotobold';
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.ftth .section-title::after {
    content: '';
    display: block;
    width: 50%;
    height: 4px;
    background-color: #0A3AAD;
    position: absolute;
    bottom: 0;
    left: 25%;
    border-radius: 5px;
}

.ftth .ftth-intro-text {
    font-size: 1.15em;
    color: #444;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'open_sansregular';
}

.ftth .validation-requirements {
    background-color: #f9f9f9;
    /* پس زمینه روشن برای بخش الزامات */
    border: 1px dashed #ddd;
    /* بردر نقطه‌چین برای تاکید */
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 50px;
    /* فاصله از فرم */
    text-align: right;
    /* تراز راست */
}

.ftth .validation-requirements h4 {
    font-size: 22px;
    color: #265CDC;
    /* رنگ عنوان الزامات */
    margin-bottom: 25px;
    font-family: 'open_sansbold';
    text-align: center;
    position: relative;
}

.ftth .validation-requirements h4::after {
    /* یک خط کوچک زیر عنوان الزامات */
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #0A3AAD;
    margin: 10px auto 0;
    border-radius: 2px;
}


.ftth .validation-requirements ul {
    list-style: none;
    padding: 0;
}

.ftth .validation-requirements li {
    font-size: 1.1em;
    color: #444;
    margin-bottom: 15px;
    position: relative;
    padding-right: 35px;
    /* فضا برای آیکون */
    line-height: 1.6;
}

.ftth .validation-requirements li i {
    font-size: 24px;
    color: #265CDC;
    /* رنگ آیکون */
    position: absolute;
    right: 0;
    /* آیکون در سمت راست */
    top: 50%;
    transform: translateY(-50%);
}

.ftth .ftth-form {
    /* فرم اعتبار سنجی فیبر نوری */
    /* این کلاس مدرن فرم را از بخش تماس با ما به ارث می برد */
    /* اگر می خواهید استایل خاصی فقط برای این فرم اعمال کنید، اینجا اضافه کنید */
}

@media (max-width: 767px) {

    /* ۱. کاهش پدینگ کادر اصلی برای ایجاد فضای بیشتر */
    .ftth .validation-requirements {
        padding: 20px 15px;
    }

    /* ۲. استفاده از Flexbox برای چینش صحیح آیکون و متن */
    .ftth .validation-requirements li {
        display: flex;
        /* فعال کردن Flexbox */
        align-items: flex-start;
        /* تراز کردن آیتم‌ها از بالا */
        position: static;
        /* لغو کردن position قبلی */
        padding-right: 0;
        /* حذف پدینگ قبلی */
        margin-bottom: 25px;
        /* افزایش فاصله بین آیتم‌ها */
    }

    /* ۳. تنظیم استایل جدید برای آیکون‌ها */
    .ftth .validation-requirements li i {
        position: static;
        /* لغو کردن position قبلی */
        transform: none;
        /* لغو کردن transform قبلی */
        margin-left: 15px;
        /* ایجاد فاصله بین آیکون و متن */
        font-size: 22px;
        /* کمی کوچک‌تر کردن آیکون */
        width: 22px;
        /* تعیین یک عرض ثابت برای تراز بهتر */
        margin-top: 2px;
        /* تنظیم دقیق‌تر موقعیت عمودی آیکون */
    }
}

/* ==========================================================================
   8.0 Contact Styling - FINAL ADJUSTMENTS (رفع مشکلات عنوان و آیکون)
   ========================================================================== */

/* بهبود استایل عنوان اصلی */
.contact .section-title {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
    /* تراز میانی برای عنوان */
    /* border-bottom و ::after رو منتقل می کنیم به والد container تا با flow بهتر کار کنه */
    padding-bottom: 15px;
    font-family: 'robotobold';
    display: block;
    /* برای اینکه عرض کامل را بگیرد */
    width: fit-content;
    /* عرض به اندازه محتوا */
    margin-left: auto;
    /* وسط چین با margin auto */
    margin-right: auto;
    position: relative;
    /* برای خط زیرین */
}

.contact .section-title::after {
    content: '';
    display: block;
    width: 50%;
    /* خط زیرین کمی کوتاه تر */
    height: 4px;
    /* ضخامت کمتر */
    background-color: #265CDC;
    /* رنگ اصلی قالب */
    position: absolute;
    bottom: 0;
    /* چسبیده به پایین عنوان */
    left: 25%;
    /* وسط چین خط زیرین */
    border-radius: 5px;
}


.contact .contact-intro-text {
    font-size: 1.15em;
    color: #444;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'open_sansregular';
}

.contact .contact-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.contact .contact-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    flex: 1 1 calc(33.333% - 40px/3);
    max-width: 300px;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 992px) {
    .contact .contact-card {
        flex: 1 1 calc(50% - 30px/2);
        max-width: 45%;
    }

}

@media (max-width: 767px) {
    .contact .contact-card {
        flex: 1 1 90%;
        max-width: 90%;
    }

    .contact .modern-form {
        /* پدینگ چپ و راست را با اولویت بالا حذف می‌کنیم */
        padding-left: 0 !important;
        padding-right: 0 !important;

        /* برای اطمینان، سایه را که ممکن است فضا اشغال کند، حذف می‌کنیم */
        box-shadow: none !important;
    }
}

.contact .contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 12px 35px rgba(0, 0, 0, 0.15);
}

/* بهبود استایل آیکون‌ها */
.contact .contact-card .icon-wrapper {
    background-color: #e6efff;
    border-radius: 50%;
    padding: 10px;
    /* پدینگ کمتر برای دایره */
    margin-bottom: 15px;
    /* فاصله از عنوان */
    box-shadow: 0 0 10px rgba(38, 92, 220, 0.1);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    /* اندازه ثابت دایره کوچکتر */
    height: 60px;
    /* اندازه ثابت دایره کوچکتر */
    border: 2px solid #265CDC;
    /* اضافه کردن بردر به دایره */
}

.contact .contact-card:hover .icon-wrapper {
    background-color: #265CDC;
    box-shadow: 0 0 20px rgba(38, 92, 220, 0.5);
    border-color: #0A3AAD;
    /* تغییر رنگ بردر در هاور */
}

.contact .contact-card .icon-wrapper i {
    font-size: 28px;
    /* آیکون کمی کوچکتر */
    color: #265CDC;
    transition: all 0.3s ease;
}

.contact .contact-card:hover .icon-wrapper i {
    color: #fff;
}


.contact .contact-card h5 {
    color: #333;
    font-family: 'open_sansbold';
    padding: 0;
    margin-bottom: 8px;
    font-size: 19px;
}

.contact .contact-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 0;
}

.contact .contact-card p a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact .contact-card p a:hover {
    color: #265CDC;
}


/* Google Map Container (همینطور که قبلا خوب بود، با اصلاحات جزیی) */
.contact .map-container {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.08);
    margin-top: 40px;
    margin-bottom: 60px;
    overflow: hidden;
}

.contact .map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.contact .map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border: none;
    border-radius: 8px;
    transition: all 0.5s ease;
}

.contact .map-responsive iframe:hover {
    transform: scale(1.005);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}


/* Form Styling (بدون تغییر) */
.contact .modern-form {
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.08);
}

.contact .modern-form .form-group {
    margin-bottom: 25px;
}

.contact .modern-form .form-control {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fcfcfc;
    font-size: 16px;
    color: #333;
    font-family: 'open_sansregular';
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.contact .modern-form .form-control:focus {
    border-color: #265CDC;
    box-shadow: 0 0 0 0.2rem rgba(38, 92, 220, 0.25);
    outline: none;
    background-color: #fff;
}

.contact .modern-form textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

/* Button Styling (برای تمام فرم های با کلاس modern-form) */
.modern-form button {
    /* تغییر از .contact .modern-form button */
    background: linear-gradient(to right, #265CDC, #0A3AAD);
    font-size: 18px;
    color: #fff;
    width: 180px;
    padding: 15px 25px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 30px auto 0;
    box-shadow: 0 5px 15px rgba(38, 92, 220, 0.4);
}

.modern-form button:hover {
    /* تغییر از .contact .modern-form button:hover */
    background: linear-gradient(to left, #265CDC, #0A3AAD);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(38, 92, 220, 0.6);
}

/* ==========================================================================
	preloader
   ========================================================================== */
#preloader {
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    /* change if the mask should have another color then white */
    z-index: 10000;
    /* makes sure it stays on top */
}

#status {
    width: 200px;
    height: 200px;
    position: absolute;
    left: 50%;
    top: 50%;
    background-image: url(../image/loading.gif);
    background-repeat: no-repeat;
    background-position: center;
    margin: -100px 0 0 -100px;

}


/* ==========================================================================
   9.0 Media query
   ========================================================================== */

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
    .services .services-wrapper .services-item {
        height: 210px;
    }
}

@media only screen and (min-width: 992px) {
    .content .side-menu {
        position: relative;
        right: 74%;
    }

    .content .main-profile {
        position: relative;
        left: 25%;
    }
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
    .res-m-bttm {
        margin-bottom: 35px;
    }

    .res-m-top {
        margin-top: 35px;
    }

    .pad-l-0 {
        padding-left: 0px;
    }

    .content .side-menu {
        width: 100%;
        height: auto;
    }

    .content .main-profile {
        width: 100%;
        height: auto;
        margin-left: 0px;
        margin-bottom: 30px;
    }

    .content .side-menu li {
        display: inline-block;
        width: 19.6%
    }

    .content .side-menu li a {
        border-bottom: 0px;
    }

    .content {
        top: 3%;
        margin-top: 0;
    }


}

@media only screen and (min-width: 768px) and (max-width : 800px) {
    .container {
        width: 700px;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 767px) {
    body {
        font-size: 12px;
    }

    .container {
        margin: 0 25px;
    }

    .services .services-wrapper .services-item {
        height: 200px;
        width: 45%;
    }

    .content .side-menu li a {
        padding: 10px 0px;
    }

}

/* --- کد جدید برای حل مشکل منو در حالت موبایل --- */
@media only screen and (max-width : 992px) {

    /* ۱. کانتینر منو را به یک Flex Container تبدیل می‌کنیم */
    .content .side-menu {
        display: flex;
        justify-content: space-around;
        /* آیتم‌ها با فاصله یکنواخت پخش می‌شوند */
    }

    /* ۲. به هر آیتم منو سهم مساوی از فضا را می‌دهیم */
    .content .side-menu li {
        flex: 1;
        /* هر آیتم یک سهم مساوی از عرض را می‌گیرد */
        width: auto;
        /* عرض درصدی قبلی را لغو می‌کنیم */
    }
}

@media only screen and (max-width : 480px) {

    /* ۱. کاهش پدینگ کادر اصلی */
    .index .call-to-action-section {
        padding: 30px 20px;
    }

    /* ۲. کاهش اندازه فونت عنوان */
    .index .call-to-action-section h4 {
        font-size: 24px;
        line-height: 1.5;
    }

    /* ۳. کاهش پدینگ و اندازه فونت دکمه */
    .index .call-to-action-section .main-cta-btn {
        padding: 12px 30px;
        font-size: 1em;
    }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
    .container {
        margin: 0 30px;
    }

    .services .services-wrapper .services-item {
        width: 100%;
        height: 210px;
    }

    .content .side-menu li {
        width: 19%;
    }

    .content .side-menu li a i {
        font-size: 13px;
    }

    .content .side-menu li a span {
        font-size: 8px;
    }

    .services .services-wrapper .services-item .link-box .services-hover .services-hover-content .extra-ink {
        top: 35%;
    }

    .services .filters-menu li a {
        padding: 5px 5px;
        font-size: 11px;
    }

    .index .abt-focus .st-line {
        width: 100%;
    }
}

/* --- کد جدید برای اصلاح اندازه فونت عنوان‌ها در موبایل --- */
@media (max-width: 767px) {

    /* کوچک کردن تمام عنوان‌های اصلی بخش‌ها */
    .section-title {
        font-size: 18px !important;
        line-height: 1.6 !important;
    }

    /* کوچک کردن تمام عنوان‌های فرعی بخش‌ها */
    .sub-section-title,
    .faq-category-title,
    .contact-card h5,
    .service-promo-card h5 {
        font-size: 18px !important;
        line-height: 1.6 !important;

    }

    .index .service-promo-card p {
        text-align: center;
        /* تغییر از justify به center */
    }

}