@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
body {
    font-family: 'Vazir', 'Roboto', 'Noto Sans Armenian', sans-serif;
}
/* راست چین */
[dir="rtl"] {
    text-align: right;
}
[dir="rtl"] .navbar-nav {
    margin-right: auto;
}
/* چپ چین */
[dir="ltr"] {
    text-align: left;
}
[dir="ltr"] .navbar-nav {
    margin-left: auto;
}
/* footer فوتر */
.footer{
background:linear-gradient(135deg,#111,#1c1c1c);
color:#eee;
padding:60px 0;
margin-top:80px;
}

.container{
width:90%;
max-width:1200px;
margin:auto;
}

.footer-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:40px;
}

.footer h3{
margin-bottom:15px;
font-size:18px;
}

.footer-links{
list-style:none;
padding:0;
}

.footer-links li{
margin-bottom:8px;
}

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

.footer-links a:hover{
color:white;
}

.social a{
color:white;
font-size:20px;
margin-right:12px;
transition:0.3s;
}

.social a:hover{
color:#4da3ff;
}

.footer-bottom{
text-align:center;
margin-top:40px;
border-top:1px solid #333;
padding-top:20px;
font-size:14px;
}

/* tablet */
@media (max-width:1024px){

.footer-grid{
grid-template-columns:repeat(2,1fr);
}

}
/* small tablet */
@media (max-width:768px){

.footer-grid{
grid-template-columns:1fr;
gap:30px;
}

.footer iframe{
height:170px;
}

}
/* mobile */
@media (max-width:480px){

.footer{
padding:40px 20px;
}

.footer h3{
font-size:16px;
}

.footer-bottom{
font-size:13px;
}

.social a{
font-size:18px;
}

}

/* برای صفحه blog و cartها */
.blog-card {
    height: 380px; /* ارتفاع کارت‌ها */
    display: flex;
    flex-direction: column;
}

.blog-card img {
    height: 180px; /* ارتفاع تصویر داخل کارت */
    object-fit: cover; /* برش تصویر به صورت حرفه‌ای */
    width: 100%;
}

.blog-card .card-body {
    flex: 1; /* محتوای متن ارتفاع منعطف دارد */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


/* دکمه های ai_tools */
.tool-box {
    background-color: #ffffff;       /* پس‌زمینه سفید */
    border-radius: 12px;            /* گوشه‌های گرد */
    padding: 25px 15px;             /* فاصله داخلی */
    text-align: center;             /* متن در وسط */
    font-weight: 600;               /* ضخیم و خوانا */
    color: #1a1a1a;                 /* رنگ متن */
    font-size: 16px;
    transition: all 0.3s ease;      /* انیمیشن روان */
    cursor: pointer;                /* دست روی hover */
    min-height: 120px;              /* ارتفاع یکسان */
    display: flex;                  /* برای مرکز کردن متن */
    align-items: center;            /* وسط عمودی */
    justify-content: center;        /* وسط افقی */
}

.tool-box:hover {
    background-color: #007bff;      /* رنگ پس‌زمینه روی هاور */
    color: white;                   /* رنگ متن سفید شود */
    transform: translateY(-5px);    /* کمی حرکت بالا */
    box-shadow: 0 8px 20px rgba(0,0,0,0.25); /* سایه جذاب */
}

/* pricing styles */
.pricing-card {
    border-radius: 15px;
    padding: 15px;
    transition: all 0.3s ease-in-out;
    
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.featured {border: 2px solid #ffc107;}
.pricing-subtitle {
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
    text-align: center;
}
.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}
.feature-list li {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}
.feature-list li span {
    width: 25px;
    font-weight: bold;
}
.yes { color: #28a745; }
.no { color: #dc3545; }
.btn-buy {
    margin-top: 10px;
    transition: 0.3s;
    
    transition: all 0.2s ease-in-out;
}
.btn-buy:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.pricing-card ul li {
    margin-bottom: 8px;
    font-size: 15px;
}
.card-header {
    font-weight: 600;
    font-size: 1.2rem;
}

/* دسترسی به سوالات و دانلود کد */
.locked-box {
    margin-top: 20px;
    padding: 25px;
    border-radius: 10px;
    border: 2px dashed #ccc;
    background: #f8f9fa;
    text-align: center;
}
.locked-box h4 {
    margin-bottom: 10px;
    color: #dc3545;
}
.locked {
    opacity: 0.6;
    cursor: not-allowed;
}
/* ارتقای پلن */
.action-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}
/* دکمه قفل */
.locked-btn {
    opacity: 0.6;
    cursor: not-allowed;
    position: relative;
}
.locked-btn i {
    color: #dc3545;
}
/* باکس ارتقا */
.upgrade-box {
    margin-top: 12px;
    padding: 12px;
    border-radius: 8px;
    background: #f8f9fa;
    text-align: center;
    border: 1px dashed #ddd;
}
.upgrade-box p {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}
/* دکمه upgrade */
.btn-upgrade {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 6px;
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: #000;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}
.btn-upgrade:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
/* change password */
.btn:hover {
    transform: translateY(-2px);
    transition: 0.2s;
}

/* choose time for consulting */
.time-slots {
    margin-top: 10px;
}
.time-btn:hover {
    background: #f0f0f0;
}
.time-slots label {
    display: block;
    margin-bottom: 10px;
}
.time-btn {
    margin: 5px;
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    background: #a0c4ff;
    cursor: pointer;
    color: #000;
}
.time-btn.active {
    background-color: #38b000;
    color: #fff;
    font-weight: bold;
}
.time-btn.disabled {
    background: #ffadad;
    color: #000;
    cursor: not-allowed;
}


/* برای ایکون های بوت استراپ، تبلیغ */
.service-card {
    border: none;
    border-radius: 18px;
    transition: all 0.35s ease;
    cursor: pointer;
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    background: linear-gradient(145deg, #ffffff, #f9fafb);
}
.icon-box {
    font-size: 42px;
    margin-bottom: 15px;
    color: #4f46e5;
}
/* subtle border */
.service-card {
    border: 1px solid #eef0f5;
}
/*----------------- Merge 2 PDFs --------------------*/
.columns-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}
/* ستون‌ها عمومی */
.pdf-column {
    flex: 1;
    min-width: 200px;
    min-height: 500px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    background: #f8f9fa;
    overflow-y: auto;
}
/* ستون وسط Final */
.pdf-column-middle {
    flex: 1;
    min-width: 200px;
    min-height: 500px; 
    border: 2px dashed #666;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
    overflow-y: auto;
}
.pdf-column h4 {
    text-align: center;
    margin-bottom: 15px;
}
.page-card {
    background: white;
    border-radius: 6px;
    padding: 5px;
    margin-bottom: 10px;
    text-align: center;
    cursor: grab;
    position: relative;
}
.page-card img {
    width: 100%;
    border-radius: 6px;
}
.page-label {
    font-size: 14px;
    margin-top: 5px;
    font-weight: bold;
}
.remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    cursor: pointer;
    font-size: 12px;
    display: none;
}
#final-column .remove-btn {
    display: block;
}
#loadingSpinner {
    display: none;
    margin-top: 15px;
    font-weight: bold;
    color: #dc3545;
}
button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    background: #dc3545;
    color: white;
    cursor: pointer;
}
button:hover {
    opacity: 0.9;
}
/* ریسپانسیو */
@media (max-width: 768px) {
    .columns-wrapper {
        flex-direction: column;
    }
}

/* برای شبکه های اجتماعی واتساپ و تلگرام و .... */
.social-link .fa-whatsapp {
    color: #25D366;
}
.social-link .fa-telegram {
    color: #0088CC;
}
.social-link .fa-instagram {
    color: #E1306C;
}
/* .social-link .fa-linkedin {
    color: #0077b5;
}
.social-link .fa-tweeter {
    color: #1da1f2;
}
.social-link .fa-facebook {
    color: #1877f2;
} */

/* برای بلاگ ها */
.blog-img {
    max-width: 700px;
    width: 100%;
    object-fit: cover;
}
.blog-content {
    margin-bottom: 18px;
    line-height: 1.9;
    text-align: justify;
    font-size: 16px;
    color: #333;
}
.blog-title {
    font-size: 26px;
    font-weight: 600;
}
/* for mobile */
@media (max-width: 768px){
    .blog-title{
        font-size: 22px;
    }
    .blog-content{
        font-size: 15px;
        line-height: 1.8;
    }
}
